Function

vImageGamma_Planar8toPlanarF

Applies a gamma function to a Planar8 image to produce a PlanarF image.

Declaration

vImage_Error vImageGamma_Planar8toPlanarF(const vImage_Buffer *src, const vImage_Buffer *dest, const GammaFunction gamma, vImage_Flags flags);

Parameters

src

A pointer to a vImage buffer structure that contains the source image.

dest

A pointer to a vImage buffer data structure. You're responsible for filling out the height, width, and rowBytes fields of this structure, and for allocating a data buffer of the appropriate size. On return, the data buffer this structure points to contains the destination image data. When you no longer need the data buffer, you must deallocate the memory.

gamma

A gamma function object, created with by calling the function vImageCreateGammaFunction.

flags

Reserved for future use; pass 0.

Return Value

kvImageNoError; otherwise, one of the error codes described in Data Types and Constants.

See Also

Correcting Gamma

vImageCreateGammaFunction

Returns a gamma function object.

vImageDestroyGammaFunction

Destroys a gamma function object created.

vImageGamma_PlanarFtoPlanar8

Applies a gamma function to an image in PlanarF format to an image in Planar8 format.

vImageGamma_PlanarF

Applies a gamma function to a PlanarF image.

vImagePiecewiseGamma_Planar8

Applies a piecewise gamma function to a Planar8 image.

vImagePiecewiseGamma_Planar8toPlanar16Q12

Applies a piecewise gamma function to a Planar8 image to produce a Planar16Q12 image.

vImagePiecewiseGamma_Planar8toPlanarF

Applies a piecewise gamma function to a Planar8 image to produce a PlanarF image.

vImagePiecewiseGamma_Planar16Q12

Applies a piecewise gamma function to a Planar16Q12 image.

vImagePiecewiseGamma_Planar16Q12toPlanar8

Applies a piecewise gamma function to a Planar16Q12 image to produce a Planar8 image.

vImagePiecewiseGamma_PlanarF

Applies a piecewise gamma function to a PlanarF image.

vImagePiecewiseGamma_PlanarFtoPlanar8

Applies a piecewise gamma function to a PlanarF image to produce a Planar8 image.

vImageSymmetricPiecewiseGamma_Planar16Q12

Applies a symmetric piecewise gamma function to a Planar16Q12 image.

vImageSymmetricPiecewiseGamma_PlanarF

Applies a symmetric piecewise gamma function to a PlanarF image.