Class

CIImageAccumulator

An object that manages feedback-based image processing for tasks such as painting or fluid simulation.

Declaration

@interface CIImageAccumulator : NSObject

Overview

The CIImageAccumulator class enables feedback-based image processing for such things as iterative painting operations or fluid dynamics simulations. You use CIImageAccumulator objects in conjunction with other Core Image classes, such as CIFilter, CIImage, CIVector, and CIContext, to take advantage of the built-in Core Image filters when processing images.

Topics

Creating an Image Accumulator

+ imageAccumulatorWithExtent:format:

Creates an image accumulator with the specified extent and pixel format.

+ imageAccumulatorWithExtent:format:colorSpace:

Creates an image accumulator with the specified extent, pixel format, and color space.

Initializing an Image Accumulator

- initWithExtent:format:

Initializes an image accumulator with the specified extent and pixel format.

- initWithExtent:format:colorSpace:

Initializes an image accumulator with the specified extent, pixel format, and color space.

Setting an Image

- setImage:

Sets the contents of the image accumulator to the contents of the specified image object.

- setImage:dirtyRect:

Updates an image accumulator with a subregion of an image object.

Obtaining Data From an Image Accumulator

extent

The extent of the image associated with the image accumulator.

format

The pixel format of the image accumulator.

- image

Returns the current contents of the image accumulator.

Resetting an Accumulator

- clear

Resets the accumulator, discarding any pending updates and the current content.

Relationships

Inherits From

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software