Skip to content

Instantly share code, notes, and snippets.

@madebyjeffrey
Created December 27, 2010 20:17
Show Gist options
  • Save madebyjeffrey/756504 to your computer and use it in GitHub Desktop.
Save madebyjeffrey/756504 to your computer and use it in GitHub Desktop.
CIAdditionCompositing - Adds color components to achieve a brightening effect. This filter is typically used to add highlights and lens flare effects.
CIAffineClamp - Performs an affine transform on a source image and then clamps the pixels at the edge of the transformed image, extending them outwards. 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.
CIAffineTile - Applies an affine transform to an image and then tiles the transformed image.
CIAffineTransform - Applies an affine transform to an image. You can scale, translate, or rotate the input image. You can also apply a combination of these operations.
CIAreaAverage - Calculates the average color for the specified area in an image, returning the result in a pixel.
CIAreaHistogram - Calculates a histogram for the specified area in an image, returning the result in a 1D image.
CIAreaMaximum - Calculates the maximum component values for the specified area in an image, returning the result in a pixel.
CIAreaMaximumAlpha - Finds and returns the pixel with the maximum alpha value.
CIAreaMinimum - Calculates the minimum component values for the specified area in an image, returning the result in a pixel.
CIAreaMinimumAlpha - Finds and returns the pixel with the minimum alpha value.
CIBarsSwipeTransition - Transitions from one image to another by swiping rectangular portions of the foreground image to disclose the target image.
CIBlendWithMask - Uses values from a grayscale mask to interpolate between an image and the background. When a mask value is 0.0, the result is the background. When the mask value is 1.0, the result is the image.
CIBloom - Softens edges and applies a pleasant glow to an image.
CIBoxBlur - Smooths or sharpens an image using a box-shaped convolution kernel.
CIBumpDistortion - Creates a concave or convex bump that originates at a specified point in the image.
CIBumpDistortionLinear - Creates a bump that originates from a linear portion of the image.
CICMYKHalftone - Creates a color, halftoned rendition of the source image, using cyan, magenta, yellow, and black inks over a white page.
CICheckerboardGenerator - Generates a checkerboard pattern. You can specify the checkerboard size and colors, and the sharpness of the pattern.
CICircleSplashDistortion - Distorts the pixels starting at the circumference of a circle and emanating outward.
CICircularScreen - Simulates a circular-shaped halftone screen.
CICircularWrap - Wraps an image around a transparent circle. The distortion of the image increases with the distance from the center of the circle.
CIColorBlendMode - Uses the luminance values of the background with the hue and saturation values of the source image. This mode preserves the gray levels in the image.
CIColorBurnBlendMode - Darkens the background image samples to reflect the source image samples. Source image sample values that specify white do not produce a change.
CIColorControls - Adjusts saturation, brightness, and contrast values.
CIColorCube - Uses a three-dimensional color table to transform the source image pixels. The color table must be composed of floating-point RGBA cells that use premultiplied alpha. The cells are organized in a standard ordering. The columns and rows of the data are indexed by red and green, respectively. Each data plane is followed by the next higher plane in the data, with planes indexed by blue.
CIColorDodgeBlendMode - Brightens the background image samples to reflect the source image samples. Source image sample values that specify black do not produce a change.
CIColorInvert - Inverts the colors in an image.
CIColorMap - Performs a nonlinear transformation of source color values using mapping values provided in a table.
CIColorMatrix - Multiplies source color values and adds a bias factor to each color component.
CIColorMonochrome - Remaps colors so they fall within shades of a single color.
CIColorPosterize - Remaps red, green, and blue color components to the number of brightness values you specify for each color component. This filter flattens colors to achieve a look similar to that of a silk-screened poster.
CIColumnAverage - Calculates the average color for each column of the specified area in an image, returning the result in a 1D image.
CIComicEffect - Simulates a comic book drawing by outlining edges and applying a color halftone effect.
CIConstantColorGenerator - Generates a solid color. You typically use the output of this filter as the input to another filter.
CICopyMachineTransition - Transitions from one image to another by simulating the effect of a copy machine.
CICrop - Applies a crop to an image. The size and shape of the cropped image depend on the rectangle you specify.
CICrystallize - Creates polygon-shaped color blocks by aggregating source pixel-color values.
CIDarkenBlendMode - Creates composite image samples by choosing the darker samples (from either the source image or the background). 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.
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. Source image sample values that are black produce no change; white inverts the background color values.
CIDiscBlur - Smooths or sharpens an image using a disc-shaped convolution kernel.
CIDisintegrateWithMaskTransition - Transitions from one image to another using the shape defined by a mask.
CIDisplacementDistortion - Applies the grayscale values of the second image to the first image. The output image has a texture defined by the grayscale values.
CIDissolveTransition - Uses a dissolve to transition from one image to another.
CIDotScreen - Simulates the dot patterns of a halftone screen.
CIEdgeWork - Produces a stylized black-and-white rendition of an image that looks similar to a woodblock cutout.
CIEdges - Finds all edges in an image and displays them in color.
CIEightfoldReflectedTile - Produces a tiled image from a source image by applying an 8-way reflected symmetry.
CIExclusionBlendMode - Produces an effect similar to that produced by the CIDifferenceBlendMode filter but with lower contrast. Source image sample values that are black do not produce a change; white inverts the background color values.
CIExposureAdjust - Adjusts the exposure setting for an image similar to the way you control exposure for a camera when you change the F-stop.
CIFalseColor - Maps luminance to a color ramp of two colors. False color is often used to process astronomical and other scientific data, such as ultraviolet and x-ray images.
CIFlashTransition - Transitions from one image to another by creating a flash. 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.
CIFourfoldReflectedTile - Produces a tiled image from a source image by applying a 4-way reflected symmetry.
CIFourfoldRotatedTile - Produces a tiled image from a source image by rotating the source at increments of 90 degrees.
CIFourfoldTranslatedTile - Produces a tiled image from a source image by applying 4 translation operations.
CIGammaAdjust - Adjusts midtone brightness. 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.
CIGaussianBlur - Spreads source pixels by an amount specified by a Gaussian distribution.
CIGaussianGradient - Generates a gradient that varies from one color to another using a Gaussian distribution.
CIGlassDistortion - Distorts an image by applying a glass-like texture. The raised portions of the output image are the result of applying a texture map.
CIGlassLozenge - Creates a lozenge-shaped lens and distorts the portion of the image over which the lens is placed.
CIGlideReflectedTile - Produces a tiled image from a source image by translating and smearing the image.
CIGloom - Dulls the highlights of an image.
CIHardLightBlendMode - Either multiplies or screens colors, depending on the source image sample color. 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.
CIHatchedScreen - Simulates the hatched pattern of a halftone screen.
CIHeightFieldFromMask - Produces a continuous three-dimensional, loft-shaped height field from a grayscale mask. 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.
CIHexagonalPixellate - Displays an image as colored hexagons whose color is an average of the pixels they replace.
CIHoleDistortion - Creates a circular area that pushes the image pixels outward, distorting those pixels closest to the circle the most.
CIHueAdjust - Changes the overall hue, or tint, of the source pixels.
CIHueBlendMode - Uses the luminance and saturation values of the background with the hue of the source image.
CIKaleidoscope - Produces a kaleidoscopic image from a source image by applying 12-way symmetry.
CILanczosScaleTransform - Produces a high-quality, scaled version of a source image. You typically use this filter to scale down an image.
CILenticularHaloGenerator - Simulates a halo that is generated by the diffraction associated with the spread of a lens. This filter is typically applied to another image to simulate lens flares and similar effects.
CILightenBlendMode - Creates composite image samples by choosing the lighter samples (either from the source image or the background). 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.
CILineOverlay - Creates a sketch that outlines the edges of an image in black, leaving the non-outlined portions of the image transparent. The result has alpha and is rendered in black, so it won't look like much until you render it over another image using source over compositing.
CILineScreen - Simulates the line pattern of a halftone screen.
CILinearGradient - Generates a gradient that varies along a linear axis between two defined endpoints.
CILuminosityBlendMode - Uses the hue and saturation of the background with the luminance of the source image. This mode creates an effect that is inverse to the effect created by the CIColorBlendMode filter.
CIMaskToAlpha - Converts a grayscale image to a white image that is masked by alpha. The white values from the source image produce the inside of the mask; the black values become completely transparent.
CIMaximumComponent - Converts an image to grayscale using the maximum of the three color components.
CIMaximumCompositing - Computes the maximum value, by color component, of two input images and creates an output image using the maximum values. This is similar to dodging.
CIMedianFilter - Computes the median value for a group of neighboring pixels and replaces each pixel value with the median. The effect is to reduce noise.
CIMinimumComponent - Converts an image to grayscale using the minimum of the three color components.
CIMinimumCompositing - Computes the minimum value, by color component, of two input images and creates an output image using the minimum values. This is similar to burning.
CIModTransition - Transitions from one image to another by revealing the target image through irregularly shaped holes.
CIMotionBlur - Blurs an image to simulate the effect of using a camera that moves a specified angle and distance while capturing the image.
CIMultiplyBlendMode - Multiplies the source image samples with the background image samples. This results in colors that are at least as dark as either of the two contributing sample colors.
CIMultiplyCompositing - Multiplies the color component of two input images and creates an output image using the multiplied values. This filter is typically used to add a spotlight or similar lighting effect to an image.
CINoiseReduction - Reduces noise using a threshold value to define what is considered noise. 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.
CIOpTile - Segments an image, applying any specified scaling and rotation, and then assembles the image again to give an op art appearance.
CIOverlayBlendMode - Either multiplies or screens the source image samples with the background image samples, depending on the background color. 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.
CIPageCurlTransition - Transitions from one image to another by simulating a curling page, revealing the new image as the page curls.
CIParallelogramTile - Warps an image by reflecting it in a parallelogram, and then tiles the result.
CIPerspectiveTile - Applies a perspective transform to an image and then tiles the result.
CIPerspectiveTransform - Alters the geometry of an image to simulate the observer changing viewing position. You can use the perspective filter to skew an image.
CIPinchDistortion - Creates a rectangular-shaped area that pinches source pixels inward, distorting those pixels closest to the rectangle the most.
CIPixellate - Makes an image blocky.
CIPointillize - Renders the source image in a pointillistic style.
CIRadialGradient - Generates a gradient that varies radially between two circles having the same center. It is valid for one of the two circles to have a radius of 0.
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.
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.
CIRowAverage - Calculates the average color for each row of the specified area in an image, returning the result in a 1D image.
CISaturationBlendMode - Uses the luminance and hue values of the background with the saturation of the source image. Areas of the background that have no saturation (that is, pure gray areas) do not produce a change.
CIScreenBlendMode - Multiplies the inverse of the source image samples with the inverse of the background image samples. This results in colors that are at least as light as either of the two contributing sample colors.
CISepiaTone - Maps the colors of an image to various shades of brown.
CIShadedMaterial - Produces a shaded image from a height field. 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.
CISharpenLuminance - Increases image detail by sharpening. It operates on the luminance of the image; the chrominance of the pixels remains unaffected.
CISixfoldReflectedTile - Produces a tiled image from a source image by applying a 6-way reflected symmetry.
CISixfoldRotatedTile - Produces a tiled image from a source image by rotating the source at increments of 60 degrees.
CISoftLightBlendMode - Either darkens or lightens colors, depending on the source image sample color. 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.
CISourceAtopCompositing - Places the source image over the background image, then uses the luminance of the background image to determine what to show. The composite shows the background image and only those portions of the source image that are over visible parts of the background.
CISourceInCompositing - Uses the second image to define what to leave in the source image, effectively cropping the image.
CISourceOutCompositing - Uses the second image to define what to take out of the first image.
CISourceOverCompositing - Places the second image over the first.
CISpotColor - Replaces one ore more color ranges with spot colors.
CISpotLight - Applies a directional spotlight effect to an image.
CIStarShineGenerator - Generates a starburst pattern. The output image is typically used as input to another filter
CIStripesGenerator - Generates a stripe pattern. You can control the color of the stripes, the spacing, and the contrast.
CISunbeamsGenerator - Generates a sun effect. You typically use the output of the sunbeams filter as input to a composite filter.
CISwipeTransition - Transitions from one image to another by simulating a swiping action.
CITorusLensDistortion - Creates a torus-shaped lens and distorts the portion of the image over which the lens is placed.
CITriangleTile - Maps a triangular portion of image to a triangular area and then tiles the result.
CITwelvefoldReflectedTile - Produces a tiled image from a source image by applying a 12-way reflected symmetry.
CITwirlDistortion - Rotates pixels around a point to give a twirling effect. You can specify the number of rotations as well as the center and radius of the effect.
CIUnsharpMask - Increases the contrast of the edges between pixels of different colors in an image.
CIVortexDistortion - Rotates pixels around a point to simulate a vortex. You can specify the number of rotations as well the center and radius of the effect.
CIWhitePointAdjust - Adjusts the reference white point for an image and maps all colors in the source using the new reference.
CIZoomBlur - Simulates the effect of zooming the camera while capturing the image.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment