apply(source:destination:interpolation:)
Transforms a multiple plane pixel buffer using the multidimensional lookup table.
Declaration
func apply<SrcFormat, DestFormat>(source: vImage.PixelBuffer<SrcFormat>, destination: vImage.PixelBuffer<DestFormat>, interpolation: vImage.MultidimensionalLookupTable.InterpolationMethod) where SrcFormat : MultiplePlanePixelFormat, DestFormat : MultiplePlanePixelFormat, SrcFormat.ComponentType == Float, DestFormat.ComponentType == FloatParameters
- source:
A multiple plane Pixel_f pixel buffer that contains Sourcechannelcount planes.
- destination:
A multiple plane Pixel_f pixel buffer that contains Destinationchannelcount planes.
- interpolation:
An enumeration that specifies how the operation computes output color values that don’t have an explicit entry in the table.