Transforming with a gamma function
Use gamma functions to apply color transformations to images.
Overview
Gamma correction functions correct the brightness profile of an image by applying an exponent to each pixel in an image. The piecewise gamma correction functions allow you to add a linear transformation to pixels below a certain boundary. You can use gamma correction functions to prepare an image to display or print on a particular device.
Topics
Applying a gamma function
vImageCreateGammaFunction(_:_:_:)Gamma function typesvImageGamma_Planar8toPlanarF(_:_:_:_:)vImageGamma_PlanarFtoPlanar8(_:_:_:_:)vImageGamma_PlanarF(_:_:_:_:)vImageDestroyGammaFunction(_:)Adjusting saturation and applying tone mapping
Applying a piecewise gamma function
Adjusting the brightness and contrast of an imagevImagePiecewiseGamma_Planar8(_:_:_:_:_:_:_:)vImagePiecewiseGamma_Planar8toPlanar16Q12(_:_:_:_:_:_:_:)vImagePiecewiseGamma_Planar8toPlanarF(_:_:_:_:_:_:_:)vImagePiecewiseGamma_Planar16Q12(_:_:_:_:_:_:_:)vImagePiecewiseGamma_Planar16Q12toPlanar8(_:_:_:_:_:_:_:)vImagePiecewiseGamma_PlanarF(_:_:_:_:_:_:_:)vImagePiecewiseGamma_PlanarFtoPlanar8(_:_:_:_:_:_:_:)