Image Shearing

Shear images horizontally and vertically.


Single-Precision Horizontal Shearing

Double-Precision Horizontal Shearing

Single-Precision Vertical Shearing

Double-Precision Vertical Shearing

Resampling Filters

func vImageNewResamplingFilter(Float, vImage_Flags) -> ResamplingFilter!

Creates a resampling filter object that corresponds to the default kernel supplied by the vImage framework.

func vImageGetResamplingFilterExtent(ResamplingFilter, vImage_Flags) -> vImagePixelCount

Returns the maximum sampling radius for a resampling filter.

func vImageGetResamplingFilterSize(Float, ((UnsafePointer<Float>?, UnsafeMutablePointer<Float>?, UInt, UnsafeMutableRawPointer?) -> Void)!, Float, vImage_Flags) -> Int

Returns the minimum size, in bytes, for the buffer needed by the function vImageNewResamplingFilterForFunctionUsingBuffer.

func vImageDestroyResamplingFilter(ResamplingFilter!)

Disposes of a resampling filter object.

See Also


Resampling in vImage

Learn how vImage resamples image data during geometric operations.

Affine Transforms

Translate, rotate, and scale images.

Image Reflection

Reflect images horizontally and vertically.

Image Rotation

Rotate images by arbitrary angles or by multiples of 90 degrees.

Image Scaling

Scale interlaced and planar images.