Core Image Filter Reference
| Framework | |
| Companion guide |
Overview
This reference describes the built-in filters available through the Core Image API. You can also find out about the built-in filters on a system by using the Core Image API. See Core Image Programming Guide.
Filters by Task
CICategoryBlur
CICategoryColorAdjustment
-
CIColorControls -
CIColorMatrix -
CIExposureAdjust -
CIGammaAdjust -
CIHueAdjust -
CITemperatureAndTint -
CIToneCurve -
CIVibrance -
CIWhitePointAdjust
CICategoryColorEffect
-
CIColorCube -
CIColorInvert -
CIColorMap -
CIColorMonochrome -
CIColorPosterize -
CIFalseColor -
CIMaskToAlpha -
CIMaximumComponent -
CIMinimumComponent -
CISepiaTone -
CIVignette
CICategoryCompositeOperation
-
CIAdditionCompositing -
CIColorBlendMode -
CIColorBurnBlendMode -
CIColorDodgeBlendMode -
CIDarkenBlendMode -
CIDifferenceBlendMode -
CIExclusionBlendMode -
CIHardLightBlendMode -
CIHueBlendMode -
CILightenBlendMode -
CILuminosityBlendMode -
CIMaximumCompositing -
CIMinimumCompositing -
CIMultiplyBlendMode -
CIMultiplyCompositing -
CIOverlayBlendMode -
CISaturationBlendMode -
CIScreenBlendMode -
CISoftLightBlendMode -
CISourceAtopCompositing -
CISourceInCompositing -
CISourceOutCompositing -
CISourceOverCompositing
CICategoryDistortionEffect
-
CIBumpDistortion -
CIBumpDistortionLinear -
CICircleSplashDistortion -
CICircularWrap -
CIDroste -
CIDisplacementDistortion -
CIGlassDistortion -
CIGlassLozenge -
CIHoleDistortion -
CILightTunnel -
CIPinchDistortion -
CIStretchCrop -
CITorusLensDistortion -
CITwirlDistortion -
CIVortexDistortion
CICategoryGenerator
-
CICheckerboardGenerator -
CIConstantColorGenerator -
CILenticularHaloGenerator -
CIRandomGenerator -
CIStarShineGenerator -
CIStripesGenerator -
CISunbeamsGenerator
CICategoryGeometryAdjustment
-
CIAffineTransform -
CICrop -
CILanczosScaleTransform -
CIPerspectiveTransform -
CIPerspectiveTransformWithExtent -
CIStraightenFilter
CICategoryGradient
CICategoryHalftoneEffect
CICategoryReduction
-
CIAreaAverage -
CIAreaHistogram -
CIRowAverage -
CIColumnAverage -
CIAreaMaximum -
CIAreaMinimum -
CIAreaMaximumAlpha -
CIAreaMinimumAlpha
CICategorySharpen
CICategoryStylize
-
CIBlendWithMask -
CIBloom -
CIComicEffect -
CICrystallize -
CIDepthOfField -
CIEdges -
CIEdgeWork -
CIGloom -
CIHeightFieldFromMask -
CIHexagonalPixellate -
CIHighlightShadowAdjust -
CILineOverlay -
CIPixellate -
CIPointillize -
CIShadedMaterial -
CISpotColor -
CISpotLight
CICategoryTileEffect
-
CIAffineClamp -
CIAffineTile -
CIEightfoldReflectedTile -
CIFourfoldReflectedTile -
CIFourfoldRotatedTile -
CIFourfoldTranslatedTile -
CIGlideReflectedTile -
CIKaleidoscope -
CIOpTile -
CIParallelogramTile -
CIPerspectiveTile -
CISixfoldReflectedTile -
CISixfoldRotatedTile -
CITriangleKaleidoscope -
CITriangleTile -
CITwelvefoldReflectedTile
CICategoryTransition
Filters
CIAdditionCompositing
Adds color components to achieve a brightening effect.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputBackgroundImage
A
CIImageobject whose display name is Background Image.
Discussion
This filter is typically used to add highlights and lens flare effects. The formula used to create this filter is described in Thomas Porter and Tom Duff. 1984. Compositing Digital Images. Computer Graphics, 18 (3): 253-259.
Member of
CICategoryBuiltIn, CICategoryHighDynamicRange, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryStillImage, CICategoryVideo, CICategoryCompositeOperationLocalized Display Name
Addition
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIAffineClamp
Performs an affine transform on a source image and then clamps the pixels at the edge of the transformed image, extending them outwards.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputTransform
On iOS, an
NSValueobject whose attribute type isCIAttributeTypeTransform. You must pass the transform asNSDatausing a statement similar to the following, wherexformis an affine transform:[myFilter setValue:[NSValue valueWithBytes:&xform
objCType:@encode(CGAffineTransform)]
forKey:@"inputTransform"];
On OSX, an
NSAffineTransformobject whose attribute type isCIAttributeTypeTransform.
Discussion
This filter performs similarly to the CIAffineTransform filter except that it produces an image with infinite extent. You can use this filter when you need to blur an image but you want to avoid a soft, black fringe along the edges.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryTileEffectLocalized Display Name
Affine Clamp
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIAffineTile
Applies an affine transform to an image and then tiles the transformed image.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputTransform
On iOS, an
NSValueobject whose attribute type isCIAttributeTypeTransform. You must pass the transform asNSDatausing a statement similar to the following, wherexformis an affine transform:[myFilter setValue:[NSValue valueWithBytes:&xform
objCType:@encode(CGAffineTransform)]
forKey:@"inputTransform"];
On OSX, an
NSAffineTransformobject whose attribute type isCIAttributeTypeTransform.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryTileEffectLocalized Display Name
Affine Tile
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIAffineTransform
Applies an affine transform to an image.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputTransform
On iOS, an
NSValueobject whose attribute type isCIAttributeTypeTransform. You must pass the transform asNSDatausing a statement similar to the following, wherexformis an affine transform:[myFilter setValue:[NSValue valueWithBytes:&xform
objCType:@encode(CGAffineTransform)]
forKey:@"inputTransform"];
On OSX, an
NSAffineTransformobject whose attribute type isCIAttributeTypeTransform.
Discussion
You can scale, translate, or rotate the input image. You can also apply a combination of these operations.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryGeometryAdjustmentLocalized Display Name
Affine Transform
Availability
- Available in OS X v10.4 and later and in iOS 5.0 and later.
CIAreaAverage
Returns a single-pixel image that contains the average color for the region of interest.
Parameters
- inputImage
A
CIImageobject whose display name is Image. This is the image data you want to process.- inputExtent
The rectangular region of interest.
Member of
CICategoryReduction, CICategoryStillImage, CICategoryVideo, CICategoryBuiltInLocalized Display Name
Area AverageAvailability
- Available in OS X v10.5 and later.
CIAreaHistogram
Returns a 1D image (inputCount wide by one pixel high) that contains the component-wise histogram computed for the specified rectangular area.
Parameters
- inputImage
A
CIImageobject whose display name is Image. This is the image data you want to process.- inputExtent
The rectangular region of interest.
- inputCount
The number of “buckets” for the histogram.
- inputScale
A scaling factor. Core Image scales the histogram by dividing the scale by the area of the
inputExtentrectangle.
Member of
CICategoryReduction, CICategoryStillImage, CICategoryVideo, CICategoryBuiltInLocalized Display Name
Area HistogramAvailability
- Available in OS X v10.5 and later.
CIAreaMaximum
Returns a single-pixel image that contains the maximum color components for the region of interest.
Parameters
- inputImage
A
CIImageobject whose display name is Image. This is the image data you want to process.- inputExtent
The rectangular region of interest.
Discussion
Image component values should range from 0.0 to 1.0, inclusive.
Member of
CICategoryReduction, CICategoryStillImage, CICategoryVideo, CICategoryBuiltInLocalized Display Name
Area MaximumAvailability
- Available in OS X v10.5 and later.
CIAreaMaximumAlpha
Returns a single-pixel image that contains the color vector with the maximum alpha value for the region of interest.
Parameters
- inputImage
A
CIImageobject whose display name is Image. This is the image data you want to process.- inputExtent
The rectangular region of interest.
Discussion
If more than one pixel exists with the maximum alpha value, Core Image returns the vector that has the lowest x and y coordinate. Image component values should range from 0.0 to 1.0, inclusive.
Member of
CICategoryReduction, CICategoryStillImage, CICategoryVideo, CICategoryBuiltInLocalized Display Name
Area Maximum AlphaAvailability
- Available in OS X v10.5 and later.
CIAreaMinimum
Returns a single-pixel image that contains the minimum color components for the region of interest.
Parameters
- inputImage
A
CIImageobject whose display name is Image. This is the image data you want to process.- inputExtent
The rectangular region of interest.
Discussion
Image component values should range from 0.0 to 1.0, inclusive.
Member of
CICategoryReduction, CICategoryStillImage, CICategoryVideo, CICategoryBuiltInLocalized Display Name
Area MinimumAvailability
- Available in OS X v10.5 and later.
CIAreaMinimumAlpha
Returns a single-pixel image that contains the color vector with the minimum alpha value for the region of interest.
Parameters
- inputImage
A
CIImageobject whose display name is Image. This is the image data you want to process.- inputExtent
The rectangular region of interest.
Discussion
If more than one pixel exists with the minimum alpha value, Core Image returns the vector that has the lowest x and y coordinate. Image component values should range from 0.0 to 1.0, inclusive.
Member of
CICategoryReduction, CICategoryStillImage, CICategoryVideo, CICategoryBuiltInLocalized Display Name
Area Minimum AlphaAvailability
- Available in OS X v10.5 and later.
CIBarsSwipeTransition
Transitions from one image to another by passing a bar over the source image.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputTargetImage
A
CIImageobject whose display name is Target Image.- inputAngle
An
NSNumberobject whose attribute type isCIAttributeTypeAngleand whose display name is Angle.Default value: 3.14
- inputWidth
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Width.Default value: 30.00
- inputBarOffset
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Bar Offset.Default value: 10.00
- inputTime
An
NSNumberobject whose attribute type isCIAttributeTypeTimeand whose display name is Time.Default value: 0.00
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryTransitionLocalized Display Name
CIBarsSwipeTransition

Availability
- Available in OS X v10.5 and later and in iOS 6.0 and later.
CIBlendWithMask
Uses values from a grayscale mask to interpolate between an image and the background.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputBackgroundImage
A
CIImageobject whose display name is Background Image.- inputMaskImage
A
CIImageobject whose display name is Mask Image.
Discussion
When a mask value is 0.0, the result is the background. When the mask value is 1.0, the result is the image.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryStylizeLocalized Display Name
Blend With Mask
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIBloom
Softens edges and applies a pleasant glow to an image.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputRadius
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Radius.Default value: 10.00
- inputIntensity
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Intensity.Default value: 1.00
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryStylizeLocalized Display Name
Bloom
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIBoxBlur
Blurs an image using a box-shaped convolution kernel.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputRadius
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Radius.Default value: 10.00
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryBlurLocalized Display Name
CIBoxBlur
Availability
- Available in OS X v10.5 and later.
CIBumpDistortion
Creates a bump that originates at a specified point in the image.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputCenter
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [150 150]
- inputRadius
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Radius.Default value: 300.00
- inputScale
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Scale.Default value: 0.50
Discussion
The bump can be concave or convex.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryDistortionEffectLocalized Display Name
Bump Distortion
Availability
- Available in OS X v10.4 and later.
CIBumpDistortionLinear
Creates a concave or convex distortion that originates from a line in the image.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputCenter
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [300 300]
- inputRadius
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Radius.Default value: 300.00
- inputAngle
An
NSNumberobject whose attribute type isCIAttributeTypeAngleand whose display name is Angle.Default value: 0.00
- inputScale
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Scale.Default value: 0.50
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryDistortionEffectLocalized Display Name
CIBumpDistortionLinear
Availability
- Available in OS X v10.5 and later.
CICheckerboardGenerator
Generates a checkerboard pattern.
Parameters
- inputCenter
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [150 150]
- inputColor0
A
CIColorobject whose display name is Color 1.- inputColor1
A
CIColorobject whose display name is Color 2.- inputWidth
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Width.Default value: 80.00
- inputSharpness
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Sharpness.Default value: 1.00
Discussion
You can specify the checkerboard size and colors, and the sharpness of the pattern.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryGeneratorLocalized Display Name
Checkerboard
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CICircleSplashDistortion
Distorts the pixels starting at the circumference of a circle and emanating outward.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputCenter
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [150 150]
- inputRadius
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Radius.Default value: 150.00
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryDistortionEffectLocalized Display Name
Circle Splash Distortion
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CICircularScreen
Simulates a circular-shaped halftone screen.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputCenter
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [150 150]
- inputWidth
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Width.Default value: 6.00
- inputSharpness
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Sharpness.Default value: 0.70
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryHalftoneEffectLocalized Display Name
Circular Screen
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CICircularWrap
Wraps an image around a transparent circle.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputCenter
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [150 150]
- inputRadius
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Radius.Default value: 150.00
- inputAngle
An
NSNumberobject whose attribute type isCIAttributeTypeAngleand whose display name is Angle.Default value: 0.00
Discussion
The distortion of the image increases with the distance from the center of the circle.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryDistortionEffectLocalized Display Name
Circular Wrap Distortion
Availability
- Available in OS X v10.4 and later.
CICMYKHalftone
Creates a color, halftoned rendition of the source image, using cyan, magenta, yellow, and black inks over a white page.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputCenter
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [150 150]
- inputWidth
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Width.Default value: 6.00
- inputAngle
An
NSNumberobject whose attribute type isCIAttributeTypeAngleand whose display name is Angle.Default value: 0.00
- inputSharpness
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Sharpness.Default value: 0.70
- inputGCR
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Gray Component Replacement.Default value: 1.00
- inputUCR
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Under Color Removal.Default value: 0.50
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryHalftoneEffectLocalized Display Name
CMYK Halftone
Availability
- Available in OS X v10.4 and later.
CIColorBlendMode
Uses the luminance values of the background with the hue and saturation values of the source image.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputBackgroundImage
A
CIImageobject whose display name is Background Image.
Discussion
This mode preserves the gray levels in the image. The formula used to create this filter is described in the PDF specification, which is available online from the Adobe Developer Center. See PDF Reference and Adobe Extensions to the PDF Specification.
Member of
CICategoryBuiltIn, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryStillImage, CICategoryVideo, CICategoryCompositeOperationLocalized Display Name
Color Blend Mode
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIColorBurnBlendMode
Darkens the background image samples to reflect the source image samples.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputBackgroundImage
A
CIImageobject whose display name is Background Image.
Discussion
Source image sample values that specify white do not produce a change. The formula used to create this filter is described in the PDF specification, which is available online from the Adobe Developer Center. See PDF Reference and Adobe Extensions to the PDF Specification.
Member of
CICategoryBuiltIn, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryStillImage, CICategoryVideo, CICategoryCompositeOperationLocalized Display Name
Color Burn Blend Mode
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIColorControls
Adjusts saturation, brightness, and contrast values.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputSaturation
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Saturation.Default value: 1.00
- inputBrightness
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Brightness.- inputContrast
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Contrast.Default value: 1.00
Discussion
To calculate saturation, this filter linearly interpolates between a grayscale image (saturation = 0.0) and the original image (saturation = 1.0). The filter supports extrapolation: For values large than 1.0, it increases saturation.
To calculate contrast, this filter uses the following formula:
(color.rgb - vec3(0.5)) * contrast + vec3(0.5)
This filter calculates brightness by adding a bias value:
color.rgb + vec3(brightness)
Member of
CICategoryBuiltIn, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryStillImage, CICategoryVideo, CICategoryColorAdjustmentLocalized Display Name
Color Controls
Availability
- Available in OS X v10.4 and later and in iOS 5.0 and later.
CIColorCube
Uses a three-dimensional color table to transform the source image pixels.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputCubeDimension
An
NSNumberobject whose attribute type isCIAttributeTypeCountand whose display name is Cube Dimension.Default value: 2.00
- inputCubeData
An
NSDataobject whose display name is Cube Data.
Discussion
This filter applies a mapping from RGB space to new color values that are defined in inputCubeData. For each RGBA pixel in inputImage the filter uses the R,G and B values to index into a thee dimensional texture represented by inputCubeData. inputCubeData contains floating point RGBA cells that contain linear premultiplied values. The data is organized into inputCubeDimension number of xy planes, with each plane of size inputCubeDimension by inputCubeDimension. Input pixel components R and G are used to index the data in x and y respectively, and B is used to index in z. In inputCubeData the R component varies fastest, followed by G, then B.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryVideo, CICategoryColorEffectLocalized Display Name
Color Cube

Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIColorDodgeBlendMode
Brightens the background image samples to reflect the source image samples.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputBackgroundImage
A
CIImageobject whose display name is Background Image.
Discussion
Source image sample values that specify black do not produce a change. The formula used to create this filter is described in the PDF specification, which is available online from the Adobe Developer Center. See PDF Reference and Adobe Extensions to the PDF Specification.
Member of
CICategoryBuiltIn, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryStillImage, CICategoryVideo, CICategoryCompositeOperationLocalized Display Name
Color Dodge Blend Mode
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIColorInvert
Inverts the colors in an image.
Parameters
- inputImage
A
CIImageobject whose display name is Image.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryVideo, CICategoryColorEffectLocalized Display Name
Color Invert
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIColorMap
Performs a nonlinear transformation of source color values using mapping values provided in a table.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputGradientImage
A
CIImageobject whose attribute type isCIAttributeTypeGradientand whose display name is Gradient Image.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryVideo, CICategoryColorEffectLocalized Display Name
Color Map
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIColorMatrix
Multiplies source color values and adds a bias factor to each color component.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputRVector
A
CIVectorobject whose display name is Red Vector.Default value: [1 0 0 0]
- inputGVector
A
CIVectorobject whose display name is Green Vector.Default value: [0 1 0 0]
- inputBVector
A
CIVectorobject whose display name is Blue Vector.Default value: [0 0 1 0]
- inputAVector
A
CIVectorobject whose display name is Alpha Vector.Default value: [0 0 0 1]
- inputBiasVector
A
CIVectorobject whose display name is Bias Vector.Default value: [0 0 0 0]
Discussion
This filter performs a matrix multiplication, as follows, to transform the color vector:
s.r = dot(s, redVector) |
s.g = dot(s, greenVector) |
s.b = dot(s, blueVector) |
s.a = dot(s, alphaVector) |
s = s + bias |
Member of
CICategoryBuiltIn, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryStillImage, CICategoryVideo, CICategoryColorAdjustmentLocalized Display Name
Color Matrix
Availability
- Available in OS X v10.4 and later and in iOS 5.0 and later.
CIColorMonochrome
Remaps colors so they fall within shades of a single color.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputColor
A
CIColorobject whose attribute type isCIAttributeTypeOpaqueColorand whose display name is Color.- inputIntensity
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Intensity.Default value: 1.00
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryVideo, CICategoryColorEffectLocalized Display Name
Color Monochrome
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIColorPosterize
Remaps red, green, and blue color components to the number of brightness values you specify for each color component.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputLevels
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Levels.Default value: 6.00
Discussion
This filter flattens colors to achieve a look similar to that of a silk-screened poster.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryVideo, CICategoryColorEffectLocalized Display Name
Color Posterize
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIColumnAverage
Returns a 1-pixel high image that contains the average color for each scan column.
Parameters
- inputImage
A
CIImageobject whose display name is Image. This is the image data you want to process.- inputExtent
The rectangular region of interest.
Member of
CICategoryReduction, CICategoryStillImage, CICategoryVideo, CICategoryBuiltInLocalized Display Name
Column AverageAvailability
- Available in OS X v10.5 and later.
CIComicEffect
Simulates a comic book drawing by outlining edges and applying a color halftone effect.
Parameters
- inputImage
A
CIImageobject whose display name is Image.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryStylizeLocalized Display Name
Comic Effect
Availability
- Available in OS X v10.5 and later.
CIConstantColorGenerator
Generates a solid color.
Parameters
- inputColor
A
CIColorobject whose display name is Color.
Discussion
You typically use the output of this filter as the input to another filter.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryGeneratorLocalized Display Name
Constant Color
Availability
- Available in OS X v10.4 and later and in iOS 5.0 and later.
CICopyMachineTransition
Transitions from one image to another by simulating the effect of a copy machine.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputTargetImage
A
CIImageobject whose display name is Target Image.- inputExtent
A
CIVectorobject whose attribute type isCIAttributeTypeRectangleand whose display name is Extent.Default value: [0 0 300 300]
- inputColor
A
CIColorobject whose attribute type isCIAttributeTypeOpaqueColorand whose display name is Color.- inputTime
An
NSNumberobject whose attribute type isCIAttributeTypeTimeand whose display name is Time.Default value: 0.00
- inputAngle
An
NSNumberobject whose attribute type isCIAttributeTypeAngleand whose display name is Angle.Default value: 0.00
- inputWidth
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Width.Default value: 200.00
- inputOpacity
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Opacity.Default value: 1.30
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryTransitionLocalized Display Name
Copy Machine
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CICrop
Applies a crop to an image.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputRectangle
A
CIVectorobject whose attribute type isCIAttributeTypeRectangleand whose display name is Rectangle.Default value: [0 0 300 300]
Discussion
The size and shape of the cropped image depend on the rectangle you specify.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryGeometryAdjustmentLocalized Display Name
Crop
Availability
- Available in OS X v10.4 and later and in iOS 5.0 and later.
CICrystallize
Creates polygon-shaped color blocks by aggregating source pixel-color values.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputRadius
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Radius.Default value: 20.00
- inputCenter
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [150 150]
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryStylizeLocalized Display Name
Crystallize
Availability
- Available in OS X v10.4 and later.
CIDarkenBlendMode
Creates composite image samples by choosing the darker samples (from either the source image or the background).
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputBackgroundImage
A
CIImageobject whose display name is Background Image.
Discussion
The result is that the background image samples are replaced by any source image samples that are darker. Otherwise, the background image samples are left unchanged. The formula used to create this filter is described in the PDF specification, which is available online from the Adobe Developer Center. See PDF Reference and Adobe Extensions to the PDF Specification.
Member of
CICategoryBuiltIn, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryStillImage, CICategoryVideo, CICategoryCompositeOperationLocalized Display Name
Darken Blend Mode
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIDepthOfField
Simulates a depth of field effect.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputPoint1
The focused region of the image stretches in a line between
inputPoint1andinputPoint2of the image. ACIVectorobject whose attribute type isCIAttributeTypePosition.- inputPoint2
A
CIVectorobject whose attribute type isCIAttributeTypePosition.- inputSaturation
A saturation effect applied to the in-focus regions of the image. An
NSNumberobject whose attribute type isCIAttributeTypeScalar. This value indications the amount to adjust the saturation on the in-focus portion of the image.- inputUnsharpMaskRadius
Specifies the radius of the unsharp mask effect applied to the in-focus area. An
NSNumberobject whose attribute type isCIAttributeTypeScalar.- inputUnsharpMaskIntensity
Specifies the intensity of the unsharp mask effect applied to the in-focus area. An
NSNumberobject whose attribute type isCIAttributeTypeScalar.- inputRadius
Controls how much the out-of-focus regions are blurred. An
NSNumberobject whose attribute type isCIAttributeTypeScalar. This value specifies the distance from the center of the effect.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryStylizeLocalized Display Name
Depth of Field
Availability
- Available in OS X v10.6 and later.
CIDifferenceBlendMode
Subtracts either the source image sample color from the background image sample color, or the reverse, depending on which sample has the greater brightness value.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputBackgroundImage
A
CIImageobject whose display name is Background Image.
Discussion
Source image sample values that are black produce no change; white inverts the background color values. The formula used to create this filter is described in the PDF specification, which is available online from the Adobe Developer Center. See PDF Reference and Adobe Extensions to the PDF Specification.
Member of
CICategoryBuiltIn, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryStillImage, CICategoryVideo, CICategoryCompositeOperationLocalized Display Name
Difference Blend Mode
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIDiscBlur
Blurs an image using a disc-shaped convolution kernel.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputRadius
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Radius.Default value: 8.00
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryBlurLocalized Display Name
CIDiscBlur
Availability
- Available in OS X v10.5 and later.
CIDisintegrateWithMaskTransition
Transitions from one image to another using the shape defined by a mask.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputTargetImage
A
CIImageobject whose display name is Target Image.- inputMaskImage
A
CIImageobject whose display name is Mask Image.- inputTime
An
NSNumberobject whose attribute type isCIAttributeTypeTimeand whose display name is Time.Default value: 0.00
- inputShadowRadius
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Shadow Radius.Default value: 8.00
- inputShadowDensity
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Shadow Density.Default value: 0.65
- inputShadowOffset
A
CIVectorobject whose attribute type isCIAttributeTypeOffsetand whose display name is Shadow Offset.Default value: [0 -10]
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryTransitionLocalized Display Name
Disintegrate with Mask
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIDisplacementDistortion
Applies the grayscale values of the second image to the first image.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputDisplacementImage
A
CIImageobject whose display name is Displacement Image.- inputScale
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Scale.Default value: 50.00
Discussion
The output image has a texture defined by the grayscale values.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryDistortionEffectLocalized Display Name
Displacement Distortion
Availability
- Available in OS X v10.4 and later.
CIDissolveTransition
Uses a dissolve to transition from one image to another.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputTargetImage
A
CIImageobject whose display name is Target Image.- inputTime
An
NSNumberobject whose attribute type isCIAttributeTypeTimeand whose display name is Time.Default value: 0.00
Member of
CICategoryBuiltIn, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryStillImage, CICategoryVideo, CICategoryTransitionLocalized Display Name
Dissolve
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIDotScreen
Simulates the dot patterns of a halftone screen.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputCenter
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [150 150]
- inputAngle
An
NSNumberobject whose attribute type isCIAttributeTypeAngleand whose display name is Angle.Default value: 0.00
- inputWidth
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Width.Default value: 6.00
- inputSharpness
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Sharpness.Default value: 0.70
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryHalftoneEffectLocalized Display Name
Dot Screen
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIDroste
Recursively draws a portion of an image in imitation of an M. C. Escher drawing.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputInsetPoint0
A
CIVectorobject whose attribute type isCIAttributeTypePosition.Default value: [200 200 ]
- inputInsetPoint1
A
CIVectorobject whose attribute type isCIAttributeTypePosition.Default value: [400 400 ]
- inputStrands
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Radius.Default value: 1
- inputPeriodicity
An
NSNumberobject whose attribute type isCIAttributeTypeDistance.Default value: 1
- inputRotation
An
NSNumberobject whose attribute type isCIAttributeTypeDistance.Default value: 0.00
- inputZoom
An
NSNumberobject whose attribute type isCIAttributeTypeScalar.Default value: 1
Member of
CICategoryBuiltIn, CICategoryStillImage, ToneCuCICategoryVideo, CICategoryDistortionEffectLocalized Display Name
Droste
Availability
- Available in OS X v10.6 and later.
CIEdges
Finds all edges in an image and displays them in color.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputIntensity
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Intensity.Default value: 1.00
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryStylizeLocalized Display Name
Edges
Availability
- Available in OS X v10.4 and later.
CIEdgeWork
Produces a stylized black-and-white rendition of an image that looks similar to a woodblock cutout.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputRadius
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Radius.Default value: 3.00
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryStylizeLocalized Display Name
Edge Work
Availability
- Available in OS X v10.4 and later.
CIEightfoldReflectedTile
Produces a tiled image from a source image by applying an 8-way reflected symmetry.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputCenter
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [150 150]
- inputAngle
An
NSNumberobject whose attribute type isCIAttributeTypeAngleand whose display name is Angle.Default value: 0.00
- inputWidth
The width, along with the
inputCenterparameter, defines the portion of the image to tile. AnNSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Width.Default value: 100.00
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryTileEffectLocalized Display Name
CIEightfoldReflectedTile
Availability
- Available in OS X v10.5 and later and in iOS 6.0 and later.
CIExclusionBlendMode
Produces an effect similar to that produced by the CIDifferenceBlendMode filter but with lower contrast.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputBackgroundImage
A
CIImageobject whose display name is Background Image.
Discussion
Source image sample values that are black do not produce a change; white inverts the background color values. The formula used to create this filter is described in the PDF specification, which is available online from the Adobe Developer Center. See PDF Reference and Adobe Extensions to the PDF Specification.
Member of
CICategoryBuiltIn, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryStillImage, CICategoryVideo, CICategoryCompositeOperationLocalized Display Name
Exclusion Blend Mode
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIExposureAdjust
Adjusts the exposure setting for an image similar to the way you control exposure for a camera when you change the F-stop.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputEV
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is EV.Default value: 0.50
Discussion
This filter multiplies the color values, as follows, to simulate exposure change by the specified F-stops:
s.rgb * pow(2.0, ev)
Member of
CICategoryBuiltIn, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryStillImage, CICategoryVideo, CICategoryColorAdjustmentLocalized Display Name
Exposure Adjust
Availability
- Available in OS X v10.4 and later and in iOS 5.0 and later.
CIFalseColor
Maps luminance to a color ramp of two colors.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputColor0
A
CIColorobject whose display name is Color 1.- inputColor1
A
CIColorobject whose display name is Color 2.
Discussion
False color is often used to process astronomical and other scientific data, such as ultraviolet and x-ray images.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryVideo, CICategoryColorEffectLocalized Display Name
False Color
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIFlashTransition
Transitions from one image to another by creating a flash.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputTargetImage
A
CIImageobject whose display name is Target Image.- inputCenter
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [150 150]
- inputExtent
A
CIVectorobject whose attribute type isCIAttributeTypeRectangleand whose display name is Extent.Default value: [0 0 300 300]
- inputColor
A
CIColorobject whose attribute type isCIAttributeTypeOpaqueColorand whose display name is Color.- inputTime
An
NSNumberobject whose attribute type isCIAttributeTypeTimeand whose display name is Time.Default value: 0.00
- inputMaxStriationRadius
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Maximum Striation Radius.Default value: 2.58
- inputStriationStrength
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Striation Strength.Default value: 0.50
- inputStriationContrast
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Striation Contrast.Default value: 1.38
- inputFadeThreshold
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Fade Threshold.Default value: 0.85
Discussion
The flash originates from a point you specify. Small at first, it rapidly expands until the image frame is completely filled with the flash color. As the color fades, the target image begins to appear.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryTransitionLocalized Display Name
Flash
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIFourfoldReflectedTile
Produces a tiled image from a source image by applying a 4-way reflected symmetry.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputCenter
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [150 150]
- inputAngle
An
NSNumberobject whose attribute type isCIAttributeTypeAngleand whose display name is Angle.Default value: 0.00
- inputAcuteAngle
An
NSNumberobject whose attribute type isCIAttributeTypeAngleand whose display name is Acute Angle.Default value: 1.57
- inputWidth
The width, along with the
inputCenterparameter, defines the portion of the image to tile. AnNSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Width.Default value: 100.00
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryTileEffectLocalized Display Name
CIFourfoldReflectedTile
Availability
- Available in OS X v10.5 and later and in iOS 6.0 and later.
CIFourfoldRotatedTile
Produces a tiled image from a source image by rotating the source image at increments of 90 degrees.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputCenter
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [150 150]
- inputAngle
An
NSNumberobject whose attribute type isCIAttributeTypeAngleand whose display name is Angle.Default value: 0.00
- inputWidth
The width, along with the
inputCenterparameter, defines the portion of the image to tile. AnNSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Width.Default value: 100.00
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryTileEffectLocalized Display Name
CIFourfoldRotatedTile
Availability
- Available in OS X v10.5 and later and in iOS 6.0 and later.
CIFourfoldTranslatedTile
Produces a tiled image from a source image by applying 4 translation operations.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputCenter
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [150 150]
- inputAngle
An
NSNumberobject whose attribute type isCIAttributeTypeAngleand whose display name is Angle.Default value: 0.00
- inputAcuteAngle
An
NSNumberobject whose attribute type isCIAttributeTypeAngleand whose display name is Acute Angle.Default value: 1.57
- inputWidth
The width, along with the
inputCenterparameter, defines the portion of the image to tile. AnNSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Width.Default value: 100.00
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryTileEffectLocalized Display Name
CIFourfoldTranslatedTile
Availability
- Available in OS X v10.5 and later and in iOS 6.0 and later.
CIGammaAdjust
Adjusts midtone brightness.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputPower
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Power.Default value: 0.75
Discussion
This filter is typically used to compensate for nonlinear effects of displays. Adjusting the gamma effectively changes the slope of the transition between black and white. It uses the following formula:
pow(s.rgb, vec3(power))
Member of
CICategoryBuiltIn, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryStillImage, CICategoryVideo, CICategoryColorAdjustmentLocalized Display Name
Gamma Adjust
Availability
- Available in OS X v10.4 and later and in iOS 5.0 and later.
CIGaussianBlur
Spreads source pixels by an amount specified by a Gaussian distribution.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputRadius
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Radius.Default value: 10.00
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryBlurLocalized Display Name
Gaussian Blur
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIGaussianGradient
Generates a gradient that varies from one color to another using a Gaussian distribution.
Parameters
- inputCenter
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [150 150] Identity: (null)
- inputColor0
A
CIColorobject whose display name is Color 1.- inputColor1
A
CIColorobject whose display name is Color 2.- inputRadius
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Radius.Default value: 300.00
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryGradientLocalized Display Name
Gaussian Gradient
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIGlassDistortion
Distorts an image by applying a glass-like texture.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputTexture
A
CIImageobject whose display name is Texture.- inputCenter
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [150 150] Identity: (null)
- inputScale
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Scale.Default value: 200.00
Discussion
The raised portions of the output image are the result of applying a texture map.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryDistortionEffectLocalized Display Name
Glass Distortion
Availability
- Available in OS X v10.4 and later.
CIGlassLozenge
Creates a lozenge-shaped lens and distorts the portion of the image over which the lens is placed.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputPoint0
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Point 1.Default value: [150 150]
- inputPoint1
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Point 2.Default value: [350 150]
- inputRadius
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Radius.Default value: 100.00
- inputRefraction
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Refraction.Default value: 1.70
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryDistortionEffectLocalized Display Name
Glass Lozenge
Availability
- Available in OS X v10.4 and later.
CIGlideReflectedTile
Produces a tiled image from a source image by translating and smearing the image.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputCenter
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [150 150]
- inputAngle
An
NSNumberobject whose attribute type isCIAttributeTypeAngleand whose display name is Angle.Default value: 0.00
- inputWidth
The width, along with the
inputCenterparameter, defines the portion of the image to tile. AnNSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Width.Default value: 100.00
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryTileEffectLocalized Display Name
CIGlideReflectedTile
Availability
- Available in OS X v10.5 and later and in iOS 6.0 and later.
CIGloom
Dulls the highlights of an image.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputRadius
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Radius.Default value: 10.00
- inputIntensity
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Intensity.Default value: 1.00
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryStylizeLocalized Display Name
Gloom
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIHardLightBlendMode
Either multiplies or screens colors, depending on the source image sample color.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputBackgroundImage
A
CIImageobject whose display name is Background Image.
Discussion
If the source image sample color is lighter than 50% gray, the background is lightened, similar to screening. If the source image sample color is darker than 50% gray, the background is darkened, similar to multiplying. If the source image sample color is equal to 50% gray, the source image is not changed. Image samples that are equal to pure black or pure white result in pure black or white. The overall effect is similar to what you would achieve by shining a harsh spotlight on the source image. The formula used to create this filter is described in the PDF specification, which is available online from the Adobe Developer Center. See PDF Reference and Adobe Extensions to the PDF Specification.
Member of
CICategoryBuiltIn, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryStillImage, CICategoryVideo, CICategoryCompositeOperationLocalized Display Name
Hard Light Blend Mode
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIHatchedScreen
Simulates the hatched pattern of a halftone screen.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputCenter
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [150 150]
- inputAngle
An
NSNumberobject whose attribute type isCIAttributeTypeAngleand whose display name is Angle.Default value: 0.00
- inputWidth
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Width.Default value: 6.00
- inputSharpness
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Sharpness.Default value: 0.70
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryHalftoneEffectLocalized Display Name
Hatched Screen
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIHeightFieldFromMask
Produces a continuous three-dimensional, loft-shaped height field from a grayscale mask.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputRadius
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Radius.Default value: 10.00
Discussion
The white values of the mask define those pixels that are inside the height field while the black values define those pixels that are outside. The field varies smoothly and continuously inside the mask, reaching the value 0 at the edge of the mask. You can use this filter with the CIShadedMaterial filter to produce extremely realistic shaded objects.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryStylizeLocalized Display Name
Height Field From Mask
Availability
- Available in OS X v10.4 and later.
CIHexagonalPixellate
Maps an image to colored hexagons whose color is defined by the replaced pixels.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputCenter
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [150 150]
- inputScale
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Scale.Default value: 8.00
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryStylizeLocalized Display Name
CIHexagonalPixellate
Availability
- Available in OS X v10.5 and later.
CIHighlightShadowAdjust
Adjust the tonal mapping of an image while preserving spatial detail.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputHighlightAmount
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Highlight Amount.Default value: 1.00
- inputShadowAmount
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Shadow Amount.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryStylizeLocalized Display Name
Highlight and Shadows
Availability
- Available in OS X v10.7 and later and in iOS 5.0 and later.
CIHoleDistortion
Creates a circular area that pushes the image pixels outward, distorting those pixels closest to the circle the most.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputCenter
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [150 150]
- inputRadius
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Radius.Default value: 150.00
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryDistortionEffectLocalized Display Name
Hole Distortion
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIHueAdjust
Changes the overall hue, or tint, of the source pixels.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputAngle
An
NSNumberobject whose attribute type isCIAttributeTypeAngleand whose display name is Angle.Default value: 0.00
Discussion
This filter essentially rotates the color cube around the neutral axis.
Member of
CICategoryBuiltIn, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryStillImage, CICategoryVideo, CICategoryColorAdjustmentLocalized Display Name
Hue Adjust
Availability
- Available in OS X v10.4 and later and in iOS 5.0 and later.
CIHueBlendMode
Uses the luminance and saturation values of the background image with the hue of the input image.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputBackgroundImage
A
CIImageobject whose display name is Background Image.
Discussion
The formula used to create this filter is described in the PDF specification, which is available online from the Adobe Developer Center. See PDF Reference and Adobe Extensions to the PDF Specification.
Member of
CICategoryBuiltIn, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryStillImage, CICategoryVideo, CICategoryCompositeOperationLocalized Display Name
Hue Blend Mode
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIKaleidoscope
Produces a kaleidoscopic image from a source image by applying 12-way symmetry.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputCount
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Count.Default value: 6.00
- inputCenter
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [150 150]
- inputAngle
An
NSNumberobject whose attribute type isCIAttributeTypeAngleand whose display name is Angle.Default value: 0.00
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryTileEffectLocalized Display Name
Kaleidoscope
Availability
- Available in OS X v10.4 and later.
CILanczosScaleTransform
Produces a high-quality, scaled version of a source image.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputScale
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Scale.Default value: 1.00
- inputAspectRatio
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Aspect Ratio.Default value: 1.00
Discussion
You typically use this filter to scale down an image.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryGeometryAdjustmentLocalized Display Name
Lanczos Scale Transform
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CILenticularHaloGenerator
Simulates a lens flare.
Parameters
- inputCenter
The center of the lens flare. A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [150 150]
- inputColor
Controls the proportion of red, green, and blue halos. A
CIColorobject whose display name is Color.- inputHaloRadius
Controls the size of the lens flare. An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Halo Radius.Default value: 70.00
- inputHaloWidth
Controls the width of the lens flare, that is, the distance between the inner flare and the outer flare. An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Halo Width.Default value: 87.00
- inputHaloOverlap
Controls how much the red, green, and blue halos overlap. A value of
0means no overlap (a lot of separation). A value of1means full overlap (white halos). AnNSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Halo Overlap.Default value: 0.77
- inputStriationStrength
Controls the brightness of the rainbow-colored halo area. An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Striation Strength.Default value: 0.50
- inputStriationContrast
Controls the contrast of the rainbow-colored halo area. An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Striation Contrast.Default value: 1.00
- inputTime
Adds a randomness to the lens flare; it causes the flare to "sparkle" as it changes through various time values. An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Time.Default value: 0.00
Discussion
This filter is typically applied to another image to simulate lens flares and similar effects.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryGeneratorLocalized Display Name
Lenticular Halo
Availability
- Available in OS X v10.4 and later.
CILightenBlendMode
Creates composite image samples by choosing the lighter samples (either from the source image or the background).
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputBackgroundImage
A
CIImageobject whose display name is Background Image.
Discussion
The result is that the background image samples are replaced by any source image samples that are lighter. Otherwise, the background image samples are left unchanged. The formula used to create this filter is described in the PDF specification, which is available online from the Adobe Developer Center. See PDF Reference and Adobe Extensions to the PDF Specification.
Member of
CICategoryBuiltIn, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryStillImage, CICategoryVideo, CICategoryCompositeOperationLocalized Display Name
Lighten Blend Mode
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CILightTunnel
Rotates a portion of the input image specified by the center and radius parameters to give a tunneling effect.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputCenter
A
CIVectorobject whose attribute type isCIAttributeTypePosition.Default value: [150 150]
- inputRotation
An
NSNumberobject whose attribute type isCIAttributeTypeAngle.Default value: 0.00
- inputRadius
An
NSNumberobject whose attribute type isCIAttributeTypeAngle.Default value: 0.00
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryDistortionEffectLocalized Display Name
Light Tunnel
Availability
- Available in iOS 6.0 and later.
CILinearGradient
Generates a gradient that varies along a linear axis between two defined endpoints.
Parameters
- inputPoint0
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Point 1.Default value: [0 0]
- inputPoint1
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Point 2.Default value: [200 200]
- inputColor0
A
CIColorobject whose display name is Color 1.- inputColor1
A
CIColorobject whose display name is Color 2.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryGradientLocalized Display Name
Linear Gradient
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CILineOverlay
Creates a sketch that outlines the edges of an image in black.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputNRNoiseLevel
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is NR Noise Level.Default value: 0.07
- inputNRSharpness
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is NR Sharpness.Default value: 0.71
- inputEdgeIntensity
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Edge Intensity.Default value: 1.00
- inputThreshold
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Threshold.Default value: 0.10 Minimum: 0.00 Maximum: 0.00 Slider minimum: 0.00 Slider maximum: 1.00 Identity: 0.00
- inputContrast
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Contrast.Default value: 50.00
Discussion
The portions of the image that are not outlined are transparent.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryStylizeLocalized Display Name
Line Overlay
Availability
- Available in OS X v10.5 and later.
CILineScreen
Simulates the line pattern of a halftone screen.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputCenter
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [150 150]
- inputAngle
An
NSNumberobject whose attribute type isCIAttributeTypeAngleand whose display name is Angle.- inputWidth
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Width.Default value: 6.00
- inputSharpness
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Sharpness.Default value: 0.70
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryHalftoneEffectLocalized Display Name
Line Screen
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CILuminosityBlendMode
Uses the hue and saturation of the background image with the luminance of the input image.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputBackgroundImage
A
CIImageobject whose display name is Background Image.
Discussion
This mode creates an effect that is inverse to the effect created by the CIColorBlendMode filter. The formula used to create this filter is described in the PDF specification, which is available online from the Adobe Developer Center. See PDF Reference and Adobe Extensions to the PDF Specification.
Member of
CICategoryBuiltIn, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryStillImage, CICategoryVideo, CICategoryCompositeOperationLocalized Display Name
Luminosity Blend Mode
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIMaskToAlpha
Converts a grayscale image to a white image that is masked by alpha.
Parameters
- inputImage
A
CIImageobject whose display name is Image.
Discussion
The white values from the source image produce the inside of the mask; the black values become completely transparent.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryVideo, CICategoryColorEffectLocalized Display Name
Mask To Alpha
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIMaximumComponent
Returns a grayscale image from max(r,g,b).
Parameters
- inputImage
A
CIImageobject whose display name is Image. This is the image data you want to process.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryVideo, CICategoryColorEffectLocalized Display Name
Maximum ComponentAvailability
- Available in OS X v10.5 and later and in iOS 6.0 and later.
CIMaximumCompositing
Computes the maximum value, by color component, of two input images and creates an output image using the maximum values.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputBackgroundImage
A
CIImageobject whose display name is Background Image.
Discussion
This is similar to dodging. The formula used to create this filter is described in Thomas Porter and Tom Duff. 1984. Compositing Digital Images. Computer Graphics, 18 (3): 253-259.
Member of
CICategoryBuiltIn, CICategoryHighDynamicRange, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryStillImage, CICategoryVideo, CICategoryCompositeOperationLocalized Display Name
Maximum
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIMedianFilter
Computes the median value for a group of neighboring pixels and replaces each pixel value with the median.
Parameters
- inputImage
A
CIImageobject whose display name is Image.
Discussion
The effect is to reduce noise.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryBlurLocalized Display Name
Median
Availability
- Available in OS X v10.4 and later.
CIMinimumComponent
Returns a grayscale image from min(r,g,b).
Parameters
- inputImage
A
CIImageobject whose display name is Image. This is the image data you want to process.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryVideo, CICategoryColorEffectLocalized Display Name
Minimum ComponentAvailability
- Available in OS X v10.5 and later and in iOS 6.0 and later.
CIMinimumCompositing
Computes the minimum value, by color component, of two input images and creates an output image using the minimum values.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputBackgroundImage
A
CIImageobject whose display name is Background Image.
Discussion
This is similar to burning. The formula used to create this filter is described in Thomas Porter and Tom Duff. 1984. Compositing Digital Images. Computer Graphics, 18 (3): 253-259.
Member of
CICategoryBuiltIn, CICategoryHighDynamicRange, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryStillImage, CICategoryVideo, CICategoryCompositeOperationLocalized Display Name
Minimum
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIModTransition
Transitions from one image to another by revealing the target image through irregularly shaped holes.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputTargetImage
A
CIImageobject whose display name is Target Image.- inputCenter
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [150 150]
- inputTime
An
NSNumberobject whose attribute type isCIAttributeTypeTimeand whose display name is Time.Default value: 0.00
- inputAngle
An
NSNumberobject whose attribute type isCIAttributeTypeAngleand whose display name is Angle.Default value: 2.00
- inputRadius
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Radius.Default value: 150.00
- inputCompression
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Compression.Default value: 300.00
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryTransitionLocalized Display Name
Mod
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIMotionBlur
Blurs an image to simulate the effect of using a camera that moves a specified angle and distance while capturing the image.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputRadius
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Radius.Default value: 20.00
- inputAngle
An
NSNumberobject whose attribute type isCIAttributeTypeAngleand whose display name is Angle.Default value: 0.00
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryBlurLocalized Display Name
Motion Blur
Availability
- Available in OS X v10.4 and later.
CIMultiplyBlendMode
Multiplies the input image samples with the background image samples.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputBackgroundImage
A
CIImageobject whose display name is Background Image.
Discussion
This results in colors that are at least as dark as either of the two contributing sample colors. The formula used to create this filter is described in the PDF specification, which is available online from the Adobe Developer Center. See PDF Reference and Adobe Extensions to the PDF Specification.
Member of
CICategoryBuiltIn, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryStillImage, CICategoryVideo, CICategoryCompositeOperationLocalized Display Name
Multiply Blend Mode
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIMultiplyCompositing
Multiplies the color component of two input images and creates an output image using the multiplied values.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputBackgroundImage
A
CIImageobject whose display name is Background Image.
Discussion
This filter is typically used to add a spotlight or similar lighting effect to an image. The formula used to create this filter is described in Thomas Porter and Tom Duff. 1984. Compositing Digital Images. Computer Graphics, 18 (3): 253-259.
Member of
CICategoryBuiltIn, CICategoryHighDynamicRange, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryStillImage, CICategoryVideo, CICategoryCompositeOperationLocalized Display Name
Multiply
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CINoiseReduction
Reduces noise using a threshold value to define what is considered noise.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputNoiseLevel
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Noise Level.Default value: 0.02
- inputSharpness
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Sharpness.Default value: 0.40
Discussion
Small changes in luminance below that value are considered noise and get a noise reduction treatment, which is a local blur. Changes above the threshold value are considered edges, so they are sharpened.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryBlurLocalized Display Name
Noise Reduction
Availability
- Available in OS X v10.4 and later.
CIOpTile
Segments an image, applying any specified scaling and rotation, and then assembles the image again to give an op art appearance.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputCenter
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [150 150]
- inputScale
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Scale.Default value: 2.80
- inputAngle
An
NSNumberobject whose attribute type isCIAttributeTypeAngleand whose display name is Angle.Default value: 0.00
- inputWidth
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Width.Default value: 65.00
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryTileEffectLocalized Display Name
Op Tile
Availability
- Available in OS X v10.4 and later.
CIOverlayBlendMode
Either multiplies or screens the input image samples with the background image samples, depending on the background color.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputBackgroundImage
A
CIImageobject whose display name is Background Image.
Discussion
The result is to overlay the existing image samples while preserving the highlights and shadows of the background. The background color mixes with the source image to reflect the lightness or darkness of the background. The formula used to create this filter is described in the PDF specification, which is available online from the Adobe Developer Center. See PDF Reference and Adobe Extensions to the PDF Specification.
Member of
CICategoryBuiltIn, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryStillImage, CICategoryVideo, CICategoryCompositeOperationLocalized Display Name
Overlay Blend Mode
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIPageCurlTransition
Transitions from one image to another by simulating a curling page, revealing the new image as the page curls.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputTargetImage
A
CIImageobject whose display name is Target Image.- inputBacksideImage
A
CIImageobject whose display name is Backside Image.- inputShadingImage
A
CIImageobject whose display name is Shading Image.- inputExtent
A
CIVectorobject whose attribute type isCIAttributeTypeRectangleand whose display name is Extent.Default value: [0 0 300 300]
- inputTime
An
NSNumberobject whose attribute type isCIAttributeTypeTimeand whose display name is Time.Default value: 0.00
- inputAngle
An
NSNumberobject whose attribute type isCIAttributeTypeAngleand whose display name is Angle.Default value: 0.00
- inputRadius
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Radius.Default value: 100.00
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryTransitionLocalized Display Name
Page Curl
Availability
- Available in OS X v10.4 and later.
CIParallelogramTile
Warps an image by reflecting it in a parallelogram, and then tiles the result.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputCenter
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [150 150]
- inputAngle
An
NSNumberobject whose attribute type isCIAttributeTypeAngleand whose display name is Angle.Default value: 0.00
- inputAcuteAngle
An
NSNumberobject whose attribute type isCIAttributeTypeAngleand whose display name is Acute Angle.Default value: 1.57
- inputWidth
The width, along with the
inputCenterparameter, defines the portion of the image to tile. AnNSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Width.Default value: 100.00
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryTileEffectLocalized Display Name
Parallelogram Tile
Availability
- Available in OS X v10.4 and later.
CIPerspectiveTile
Applies a perspective transform to an image and then tiles the result.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputTopLeft
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Top Left.Default value: [118 484]
- inputTopRight
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Top Right.Default value: [646 507]
- inputBottomRight
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Bottom Right.Default value: [548 140]
- inputBottomLeft
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Bottom Left.Default value: [155 153]
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryTileEffectLocalized Display Name
Perspective Tile
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIPerspectiveTransform
Alters the geometry of an image to simulate the observer changing viewing position.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputTopLeft
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Top Left.Default value: [118 484]
- inputTopRight
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Top Right.Default value: [646 507]
- inputBottomRight
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Bottom Right.Default value: [548 140]
- inputBottomLeft
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Bottom Left.Default value: [155 153]
Discussion
You can use the perspective filter to skew an image.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryGeometryAdjustmentLocalized Display Name
Perspective Transform
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIPerspectiveTransformWithExtent
Alters the geometry of a portion of an image to simulate the observer changing viewing position.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputExtent
A
CIVectorobject whose whose attribute type isCIAttributeTypeRectangle. If you pass [image extent] you’ll get the same result as using theCIPerspectiveTransformfilter.- inputTopLeft
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Top Left.Default value: [118 484]
- inputTopRight
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Top Right.Default value: [646 507]
- inputBottomRight
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Bottom Right.Default value: [548 140]
- inputBottomLeft
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Bottom Left.Default value: [155 153]
Discussion
You can use the perspective filter to skew an the portion of the image defined by extent. See CIPerspectiveTransform for an example of the output of this filter when you supply the input image size as the extent.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryGeometryAdjustmentLocalized Display Name
Perspective Transform With ExtentAvailability
- Available in iOS 6.0 and later.
CIPinchDistortion
Creates a rectangular-shaped area that pinches source pixels inward, distorting those pixels closest to the rectangle the most.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputCenter
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [150 150]
- inputRadius
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Radius.Default value: 300.00
- inputScale
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Scale.Default value: 0.50
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryDistortionEffectLocalized Display Name
Pinch Distortion
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIPixellate
Makes an image blocky by mapping the image to colored squares whose color is defined by the replaced pixels.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputCenter
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [150 150]
- inputScale
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Scale.Default value: 8.00
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryStylizeLocalized Display Name
Pixellate
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIPointillize
Renders the source image in a pointillistic style.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputRadius
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Radius.Default value: 20.00
- inputCenter
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [150 150]
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryStylizeLocalized Display Name
Pointillize
Availability
- Available in OS X v10.4 and later.
CIRadialGradient
Generates a gradient that varies radially between two circles having the same center.
Parameters
- inputCenter
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [150 150]
- inputRadius0
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Radius 1.Default value: 5.00
- inputRadius1
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Radius 2.Default value: 100.00
- inputColor0
A
CIColorobject whose display name is Color 1.- inputColor1
A
CIColorobject whose display name is Color 2.
Discussion
It is valid for one of the two circles to have a radius of 0.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryGradientLocalized Display Name
Radial Gradient
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIRandomGenerator
Generates an image of infinite extent whose pixel values are made up of four independent, uniformly-distributed random numbers in the 0 to 1 range.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryGeneratorLocalized Display Name
Random Generator
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIRippleTransition
Transitions from one image to another by creating a circular wave that expands from the center point, revealing the new image in the wake of the wave.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputTargetImage
A
CIImageobject whose display name is Target Image.- inputShadingImage
A
CIImageobject whose display name is Shading Image.- inputCenter
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [150 150]
- inputExtent
A
CIVectorobject whose attribute type isCIAttributeTypeRectangleand whose display name is Extent.Default value: [0 0 300 300]
- inputTime
An
NSNumberobject whose attribute type isCIAttributeTypeTimeand whose display name is Time.Default value: 0.00
- inputWidth
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Width.Default value: 100.00
- inputScale
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Scale.Default value: 50.00
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryTransitionLocalized Display Name
Ripple
Availability
- Available in OS X v10.4 and later.
CIRowAverage
Returns a 1-pixel high image that contains the average color for each scan row.
Parameters
- inputImage
A
CIImageobject whose display name is Image. This is the image data you want to process.- inputExtent
The rectangular region of interest.
Member of
CICategoryReduction, CICategoryStillImage, CICategoryVideo, CICategoryBuiltInLocalized Display Name
Row AverageAvailability
- Available in OS X v10.5 and later.
CISaturationBlendMode
Uses the luminance and hue values of the background image with the saturation of the input image.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputBackgroundImage
A
CIImageobject whose display name is Background Image.
Discussion
Areas of the background that have no saturation (that is, pure gray areas) do not produce a change. The formula used to create this filter is described in the PDF specification, which is available online from the Adobe Developer Center. See PDF Reference and Adobe Extensions to the PDF Specification.
Member of
CICategoryBuiltIn, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryStillImage, CICategoryVideo, CICategoryCompositeOperationLocalized Display Name
Saturation Blend Mode
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIScreenBlendMode
Multiplies the inverse of the input image samples with the inverse of the background image samples.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputBackgroundImage
A
CIImageobject whose display name is Background Image.
Discussion
This results in colors that are at least as light as either of the two contributing sample colors. The formula used to create this filter is described in the PDF specification, which is available online from the Adobe Developer Center. See PDF Reference and Adobe Extensions to the PDF Specification.
Member of
CICategoryBuiltIn, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryStillImage, CICategoryVideo, CICategoryCompositeOperationLocalized Display Name
Screen Blend Mode
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CISepiaTone
Maps the colors of an image to various shades of brown.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputIntensity
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Intensity.Default value: 1.00
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryVideo, CICategoryColorEffectLocalized Display Name
Sepia Tone
Availability
- Available in OS X v10.4 and later and in iOS 5.0 and later.
CIShadedMaterial
Produces a shaded image from a height field.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputShadingImage
A
CIImageobject whose display name is Shading Image.- inputScale
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Scale.Default value: 10.00
Discussion
The height field is defined to have greater heights with lighter shades, and lesser heights (lower areas) with darker shades. You can combine this filter with the CIHeightFieldFromMask filter to produce quick shadings of masks, such as text.
This filter sets the input image as a height-field (multiplied by the scale parameter), and computes a normal vector for each pixel. It then uses that normal vector to look up the reflected color for that direction in the input shading image.
The input shading image contains the picture of a hemisphere, which defines the way the surface is shaded. The look-up coordinate for a normal vector is:
(normal.xy + 1.0) * 0.5 * vec2(shadingImageWidth, shadingImageHeight)
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryStylizeLocalized Display Name
Shaded Material
Availability
- Available in OS X v10.4 and later.
CISharpenLuminance
Increases image detail by sharpening.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputSharpness
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Sharpness.Default value: 0.40
Discussion
It operates on the luminance of the image; the chrominance of the pixels remains unaffected.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategorySharpenLocalized Display Name
Sharpen Luminance
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CISixfoldReflectedTile
Produces a tiled image from a source image by applying a 6-way reflected symmetry.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputCenter
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [150 150]
- inputAngle
An
NSNumberobject whose attribute type isCIAttributeTypeAngleand whose display name is Angle.Default value: 0.00
- inputWidth
The width, along with the
inputCenterparameter, defines the portion of the image to tile. AnNSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Width.Default value: 100.00
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryTileEffectLocalized Display Name
CISixfoldReflectedTile
Availability
- Available in OS X v10.5 and later and in iOS 6.0 and later.
CISixfoldRotatedTile
Produces a tiled image from a source image by rotating the source image at increments of 60 degrees.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputCenter
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [150 150]
- inputAngle
An
NSNumberobject whose attribute type isCIAttributeTypeAngleand whose display name is Angle.Default value: 0.00
- inputWidth
The width, along with the
inputCenterparameter, defines the portion of the image to tile. AnNSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Width.Default value: 100.00
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryTileEffectLocalized Display Name
CISixfoldRotatedTile
Availability
- Available in OS X v10.5 and later and in iOS 6.0 and later.
CISoftLightBlendMode
Either darkens or lightens colors, depending on the input image sample color.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputBackgroundImage
A
CIImageobject whose display name is Background Image.
Discussion
If the source image sample color is lighter than 50% gray, the background is lightened, similar to dodging. If the source image sample color is darker than 50% gray, the background is darkened, similar to burning. If the source image sample color is equal to 50% gray, the background is not changed. Image samples that are equal to pure black or pure white produce darker or lighter areas, but do not result in pure black or white. The overall effect is similar to what you would achieve by shining a diffuse spotlight on the source image. The formula used to create this filter is described in the PDF specification, which is available online from the Adobe Developer Center. See PDF Reference and Adobe Extensions to the PDF Specification.
Member of
CICategoryBuiltIn, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryStillImage, CICategoryVideo, CICategoryCompositeOperationLocalized Display Name
Soft Light Blend Mode
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CISourceAtopCompositing
Places the input image over the background image, then uses the luminance of the background image to determine what to show.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputBackgroundImage
A
CIImageobject whose display name is Background Image.
Discussion
The composite shows the background image and only those portions of the source image that are over visible parts of the background. The formula used to create this filter is described in Thomas Porter and Tom Duff. 1984. Compositing Digital Images. Computer Graphics, 18 (3): 253-259.
Member of
CICategoryBuiltIn, CICategoryHighDynamicRange, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryStillImage, CICategoryVideo, CICategoryCompositeOperationLocalized Display Name
Source Atop
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CISourceInCompositing
Uses the background image to define what to leave in the input image, effectively cropping the input image.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputBackgroundImage
A
CIImageobject whose display name is Background Image.
Discussion
The formula used to create this filter is described in Thomas Porter and Tom Duff. 1984. Compositing Digital Images. Computer Graphics, 18 (3): 253-259.
Member of
CICategoryBuiltIn, CICategoryHighDynamicRange, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryStillImage, CICategoryVideo, CICategoryCompositeOperationLocalized Display Name
Source In
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CISourceOutCompositing
Uses the background image to define what to take out of the input image.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputBackgroundImage
A
CIImageobject whose display name is Background Image.
Discussion
The formula used to create this filter is described in Thomas Porter and Tom Duff. 1984. Compositing Digital Images. Computer Graphics, 18 (3): 253-259.
Member of
CICategoryBuiltIn, CICategoryHighDynamicRange, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryStillImage, CICategoryVideo, CICategoryCompositeOperationLocalized Display Name
Source Out
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CISourceOverCompositing
Places the input image over the input background image.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputBackgroundImage
A
CIImageobject whose display name is Background Image.
Discussion
The formula used to create this filter is described in Thomas Porter and Tom Duff. 1984. Compositing Digital Images. Computer Graphics, 18 (3): 253-259.
Member of
CICategoryBuiltIn, CICategoryHighDynamicRange, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryStillImage, CICategoryVideo, CICategoryCompositeOperationLocalized Display Name
Source Over
Availability
- Available in OS X v10.4 and later and in iOS 5.0 and later.
CISpotColor
Replaces one or more color ranges with spot colors.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputCenterColor1
A
CIColorobject whose display name is Center Color 1.- inputReplacementColor1
A
CIColorobject whose display name is Replacement Color 1.- inputCloseness1
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Closeness1.Default value: 0.22
- inputContrast1
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Contrast 1.Default value: 0.98
- inputCenterColor2
A
CIColorobject whose display name is Center Color 2.- inputReplacementColor2
A
CIColorobject whose display name is Replacement Color 2.- inputCloseness2
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Closeness 2.Default value: 0.15
- inputContrast2
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Contrast 2.Default value: 0.98
- inputCenterColor3
A
CIColorobject whose display name is Center Color 3.- inputReplacementColor3
A
CIColorobject whose display name is Replacement Color 3.- inputCloseness3
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Closeness 3.Default value: 0.50
- inputContrast3
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Contrast 3.Default value: 0.99
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryStylizeLocalized Display Name
Spot Color
Availability
- Available in OS X v10.5 and later.
CISpotLight
Applies a directional spotlight effect to an image.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputLightPosition
A
CIVectorobject whose attribute type isCIAttributeTypePosition3and whose display name is Light Position.Default value: [400 600 150]
- inputLightPointsAt
A
CIVectorobject whose attribute type isCIAttributeTypePosition3and whose display name is Light Points At.Default value: [200 200 0]
- inputBrightness
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Brightness.Default value: 3.00
- inputConcentration
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Concentration.Default value: 0.10
- inputColor
A
CIColorobject whose attribute type isCIAttributeTypeOpaqueColorand whose display name is Color.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryStylizeLocalized Display Name
Spot Light
Availability
- Available in OS X v10.4 and later.
CIStarShineGenerator
Generates a starburst pattern that is similar to a supernova; can be used to simulate a lens flare.
Parameters
- inputCenter
The center of the flare. A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [150 150]
- inputColor
The color of the flare. A
CIColorobject whose display name is Color.- inputRadius
Controls the size of the flare. An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Radius.Default value: 50.00
- inputCrossScale
Controls the ratio of the cross flare size relative to the round central flare. An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Cross Scale.Default value: 15.00
- inputCrossAngle
Controls the angle of the flare. An
NSNumberobject whose attribute type isCIAttributeTypeAngleand whose display name is Cross Angle.Default value: 0.60
- inputCrossOpacity
Controls the thickness of the cross flare. An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Cross Opacity.Default value: -2.00
- inputCrossWidth
Has the same overall effect as the
inputCrossOpacityparameter. AnNSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Cross Width.Default value: 2.50
- inputEpsilon
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Epsilon.Default value: -2.00
Discussion
The output image is typically used as input to another filter.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryGeneratorLocalized Display Name
Star Shine
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIStraightenFilter
Rotates the source image by the specified angle in radians.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputAngle
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Angle.Default value: 0.00
Discussion
The image is scaled and cropped so that the rotated image fits the extent of the input image.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryGeometryAdjustment Localized Display Name
Straighten
Availability
- Available in OS X v10.7 and later and in iOS 5.0 and later.
CIStretchCrop
Distorts an image by stretching and or cropping it to fit a target size.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputSize
A
CIVectorobject whose display name is Size. This value specifies the size of the output image in pixels.- inputCropAmount
An
NSNumberobject whose display name is CropAmount. This value determines if, and how much, cropping should be used to achieve the target size. If the value is 0, the image is stretched but not cropped. If the value is 1, the image is cropped but not stretched. Values in-between use stretching and cropping proportionally.- inputCenterStretchAmount
An
NSNumberobject whose display name is CenterStretchAmount. This value determines how much stretching to apply to the center of the image, if stretching is indicated by theinputCropAmountvalue. A value of 0 causes the center of the image to maintain its original aspect ratio. A value of 0 causes the image to be stretched uniformly.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryDistortionEffectLocalized Display Name
CIStretchCrop
Availability
- Available in OS X v10.6 and later.
CIStripesGenerator
Generates a stripe pattern.
Parameters
- inputCenter
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [150 150]
- inputColor0
A
CIColorobject whose display name is Color 1.- inputColor1
A
CIColorobject whose display name is Color 2.- inputWidth
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Width.Default value: 80.00
- inputSharpness
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Sharpness.Default value: 1.00
Discussion
You can control the color of the stripes, the spacing, and the contrast.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryGeneratorLocalized Display Name
Stripes
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CISunbeamsGenerator
Generates a sun effect.
Parameters
- inputCenter
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [150 150]
- inputColor
A
CIColorobject whose display name is Color.- inputSunRadius
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Sun Radius.Default value: 40.00
- inputMaxStriationRadius
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Maximum Striation Radius.Default value: 2.58
- inputStriationStrength
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Striation Strength.Default value: 0.50
- inputStriationContrast
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Striation Contrast.Default value: 1.38
- inputTime
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Time.Default value: 0.00
Discussion
You typically use the output of the sunbeams filter as input to a composite filter.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryGeneratorLocalized Display Name
Sunbeams
Availability
- Available in OS X v10.4 and later.
CISwipeTransition
Transitions from one image to another by simulating a swiping action.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputTargetImage
A
CIImageobject whose display name is Target Image.- inputExtent
A
CIVectorobject whose attribute type isCIAttributeTypeRectangleand whose display name is Extent.Default value: [0 0 300 300]
- inputColor
A
CIColorobject whose attribute type isCIAttributeTypeOpaqueColorand whose display name is Color.- inputTime
An
NSNumberobject whose attribute type isCIAttributeTypeTimeand whose display name is Time.Default value: 0.00
- inputAngle
An
NSNumberobject whose attribute type isCIAttributeTypeAngleand whose display name is Angle.Default value: 0.00
- inputWidth
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Width.Default value: 300.00
- inputOpacity
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Opacity.Default value: 0.00
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryTransitionLocalized Display Name
Swipe
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CITemperatureAndTint
Adapts the reference white point for an image.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputNeutral
A
CIVectorobject whose attribute type isCIAttributeTypeOffsetand whose display name is Neutral.Default value: [6500, 0]
- inputTargetNeutral
A
CIVectorobject whose attribute type isCIAttributeTypeOffsetand whose display name is TargetNeutralDefault value: [6500, 0]
Member of
CICategoryBuiltIn, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryStillImage, CICategoryVideo, CICategoryColorAdjustmentLocalized Display Name
Temperature and Tint
Availability
- Available in OS X v10.7 and later and in iOS 5.0 and later.
CIToneCurve
Adjusts tone response of the R, G, and B channels of an image.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputPoint0
A
CIVectorobject whose attribute type isCIAttributeTypeOffset.Default value: [0, 0]
- inputPoint1
A
CIVectorobject whose attribute type isCIAttributeTypeOffset.Default value: [0.25, 0.25]
- inputPoint2
A
CIVectorobject whose attribute type isCIAttributeTypeOffset.Default value: [0.5, 0.5]
- inputPoint3
A
CIVectorobject whose attribute type isCIAttributeTypeOffset.Default value: [0.75, 0.75]
- inputPoint4
A
CIVectorobject whose attribute type isCIAttributeTypeOffset.Default value: [1, 1]
Discussion
The input points are five x,y values that are interpolated using a spline curve. The curve is applied in a perceptual (gamma 2) version of the working space.
Member of
CICategoryBuiltIn, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryStillImage, CICategoryVideo, CICategoryColorAdjustmentLocalized Display Name
Tone Curve
Availability
- Available in OS X v10.7 and later and in iOS 5.0 and later.
CITorusLensDistortion
Creates a torus-shaped lens and distorts the portion of the image over which the lens is placed.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputCenter
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [150 150]
- inputRadius
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Radius.Default value: 160.00
- inputWidth
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Width.Default value: 80.00
- inputRefraction
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Refraction.Default value: 1.70
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryDistortionEffectLocalized Display Name
Torus Lens Distortion
Availability
- Available in OS X v10.4 and later.
CITriangleKaleidoscope
Maps a triangular portion of an input image to create a kaleidoscope effect.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputPoint
A
CIVectorobject whose attribute type isCIAttributeTypePosition.Default value: [150 150]
- inputSize
A
NSNumberobject whose attribute type isCIAttributeTypeScalar.Default value: 700.00
- inputRotation
An
NSNumberobject whose attribute type isCIAttributeTypeAngle.Default value: –0.36
- inputDecay
An
NSNumberobject whose attribute type isCIAttributeTypeScalar.Default: 0.85
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryTileEffectLocalized Display Name
Triangle Kaleidoscope
Availability
- Available in iOS 6.0 and later.
CITriangleTile
Maps a triangular portion of image to a triangular area and then tiles the result.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputCenter
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [150 150]
- inputAngle
An
NSNumberobject whose attribute type isCIAttributeTypeAngleand whose display name is Angle.Default value: 0.00
- inputWidth
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Width.Default value: 100.00
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryTileEffectLocalized Display Name
Triangle Tile
Availability
- Available in OS X v10.4.
CITwelvefoldReflectedTile
Produces a tiled image from a source image by rotating the source image at increments of 30 degrees.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputCenter
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [150 150]
- inputAngle
An
NSNumberobject whose attribute type isCIAttributeTypeAngleand whose display name is Angle.Default value: 0.00
- inputWidth
The width, along with the
inputCenterparameter, defines the portion of the image to tile. AnNSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Width.Default value: 100.00
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryTileEffectLocalized Display Name
CITwelvefoldReflectedTile
Availability
- Available in OS X v10.5 and later and in iOS 6.0 and later.
CITwirlDistortion
Rotates pixels around a point to give a twirling effect.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputCenter
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [150 150]
- inputRadius
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Radius.Default value: 300.00
- inputAngle
An
NSNumberobject whose attribute type isCIAttributeTypeAngleand whose display name is Angle.Default value: 3.14
Discussion
You can specify the number of rotations as well as the center and radius of the effect.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryDistortionEffectLocalized Display Name
Twirl Distortion
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIUnsharpMask
Increases the contrast of the edges between pixels of different colors in an image.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputRadius
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Radius.Default value: 2.50
- inputIntensity
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Intensity.Default value: 0.50
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategorySharpenLocalized Display Name
Unsharp Mask
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIVibrance
Adjusts the saturation of an image while keeping pleasing skin tones.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputAmount
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Amount.
Member of
CICategoryBuiltIn, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryStillImage, CICategoryVideo, CICategoryColorAdjustmentLocalized Display Name
Vibrance
Availability
- Available in OS X v10.7 and later and in iOS 5.0 and later.
CIVignette
Reduces the brightness of an image at the periphery.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputRadius
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Radius.Default value: 1.00
- inputIntensity
An
NSNumberobject whose attribute type isCIAttributeTypeScalarand whose display name is Intensity.Default value: 0.0
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryVideo, CICategoryColorEffectLocalized Display Name
Vignette
Availability
- Available in OS 5.0 and later.
CIVortexDistortion
Rotates pixels around a point to simulate a vortex.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputCenter
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [150 150]
- inputRadius
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Radius.Default value: 300.00
- inputAngle
An
NSNumberobject whose attribute type isCIAttributeTypeAngleand whose display name is Angle.Default value: 56.55
Discussion
You can specify the number of rotations as well the center and radius of the effect.
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryDistortionEffectLocalized Display Name
Vortex Distortion
Availability
- Available in OS X v10.4 and later and in iOS 6.0 and later.
CIWhitePointAdjust
Adjusts the reference white point for an image and maps all colors in the source using the new reference.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputColor
A
CIColorobject whose display name is Color.
Member of
CICategoryBuiltIn, CICategoryNonSquarePixels, CICategoryInterlaced, CICategoryStillImage, CICategoryVideo, CICategoryColorAdjustmentLocalized Display Name
White Point Adjust
Availability
- Available in OS X v10.4 and later and in iOS 5.0 and later.
CIZoomBlur
Simulates the effect of zooming the camera while capturing the image.
Parameters
- inputImage
A
CIImageobject whose display name is Image.- inputCenter
A
CIVectorobject whose attribute type isCIAttributeTypePositionand whose display name is Center.Default value: [150 150]
- inputAmount
An
NSNumberobject whose attribute type isCIAttributeTypeDistanceand whose display name is Amount.Default value: 20.00
Member of
CICategoryBuiltIn, CICategoryStillImage, CICategoryVideo, CICategoryBlurLocalized Display Name
Zoom Blur
Availability
- Available in OS X v10.4 and later.
© 2012 Apple Inc. All Rights Reserved. (Last updated: 2012-12-13)