<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Accelerate",
  "identifier" : "/documentation/Accelerate/vImage",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Accelerate"
    ],
    "preciseIdentifier" : "s:10Accelerate6vImageO"
  },
  "title" : "vImage"
}
-->

# vImage

An enumeration that acts as a namespace for Swift overlays to vImage.

```
enum vImage
```

## Topics

### Type Aliases

[`vImage.StructuringElement`](/documentation/Accelerate/vImage/StructuringElement)

A 2D matrix that represents a morphology kernel.

[`vImage.ConvolutionKernel`](/documentation/Accelerate/vImage/ConvolutionKernel)

Constants that describe 1D convolution kernels.

[`vImage.ConvolutionKernel2D`](/documentation/Accelerate/vImage/ConvolutionKernel2D)

A 2D matrix that represents a convolution kernel.

[`vImage.DynamicPixelFormat`](/documentation/Accelerate/vImage/DynamicPixelFormat)

A buffer that contains pixels with a data type that’s unknown at compile time.

[`vImage.Interleaved16Fx2`](/documentation/Accelerate/vImage/Interleaved16Fx2)

A two-channel, 16-bit-per-channel, floating-point interleaved buffer.

[`vImage.Interleaved16Fx4`](/documentation/Accelerate/vImage/Interleaved16Fx4)

A four-channel, 16-bit-per-channel, floating-point interleaved buffer.

[`vImage.Interleaved16Ux2`](/documentation/Accelerate/vImage/Interleaved16Ux2)

A two-channel, 16-bit-per-channel, unsigned-integer interleaved buffer.

[`vImage.Interleaved16Ux4`](/documentation/Accelerate/vImage/Interleaved16Ux4)

A four-channel, 16-bit-per-channel, unsigned-integer interleaved buffer.

[`vImage.Interleaved8x2`](/documentation/Accelerate/vImage/Interleaved8x2)

A two-channel, 8-bit-per-channel interleaved buffer.

[`vImage.Interleaved8x3`](/documentation/Accelerate/vImage/Interleaved8x3)

A three-channel, 8-bit-per-channel interleaved buffer.

[`vImage.Interleaved8x4`](/documentation/Accelerate/vImage/Interleaved8x4)

A four-channel, 8-bit-per-channel interleaved buffer.

[`vImage.InterleavedFx2`](/documentation/Accelerate/vImage/InterleavedFx2)

A two-channel, 32-bit-per-channel, floating-point interleaved buffer.

[`vImage.InterleavedFx3`](/documentation/Accelerate/vImage/InterleavedFx3)

A three-channel, 32-bit-per-channel, floating-point interleaved buffer.

[`vImage.InterleavedFx4`](/documentation/Accelerate/vImage/InterleavedFx4)

A four-channel, 32-bit-per-channel, floating-point interleaved buffer.

[`vImage.MultidimensionalLookupTable`](/documentation/Accelerate/vImage/MultidimensionalLookupTable)

A multidimensional lookup table.

[`vImage.Options`](/documentation/Accelerate/vImage/Options)

Set flags on vImage operations to specify processing options.

[`vImage.PixelBuffer`](/documentation/Accelerate/vImage/PixelBuffer)

An image buffer that stores an image’s pixel data, dimensions, bit depth, and number of channels.

[`vImage.Planar16F`](/documentation/Accelerate/vImage/Planar16F)

A single-channel, 16-bit-per-channel, floating-point buffer.

[`vImage.Planar16U`](/documentation/Accelerate/vImage/Planar16U)

A single-channel, 16-bit-per-channel, unsigned-integer buffer.

[`vImage.Planar8`](/documentation/Accelerate/vImage/Planar8)

A single-channel, 8-bit-per-channel, unsigned-integer buffer.

[`vImage.Planar8x2`](/documentation/Accelerate/vImage/Planar8x2)

A pixel buffer that contains two homogeneous 8-bit planes, for example, CbCr.

[`vImage.Planar8x3`](/documentation/Accelerate/vImage/Planar8x3)

A pixel buffer that contains three homogeneous 8-bit planes, for example, RGB.

[`vImage.Planar8x4`](/documentation/Accelerate/vImage/Planar8x4)

A pixel buffer that contains four homogeneous 8-bit planes, for example, RGBA or CMYK.

[`vImage.PlanarF`](/documentation/Accelerate/vImage/PlanarF)

A single-channel, 32-bit-per-channel, floating-point buffer.

[`vImage.PlanarFx2`](/documentation/Accelerate/vImage/PlanarFx2)

A pixel buffer that contains two homogeneous 32-bit, floating-point planes, for example, CbCr.

[`vImage.PlanarFx3`](/documentation/Accelerate/vImage/PlanarFx3)

A pixel buffer that contains three homogeneous 32-bit, floating-point planes, for example, RGB.

[`vImage.PlanarFx4`](/documentation/Accelerate/vImage/PlanarFx4)

A pixel buffer that contains four homogeneous 32-bit, floating-point planes, for example, RGBA or CMYK.

[`vImage.Size`](/documentation/Accelerate/vImage/Size)

A structure that contains width and height values.

### Enumerations

[`vImage.BlendMode`](/documentation/Accelerate/vImage/BlendMode)

Constants that specify an alpha blending mode.

[`vImage.BufferType`](/documentation/Accelerate/vImage/BufferType)

Codes that represent vImage buffer types.

[`vImage.ChannelOrdering`](/documentation/Accelerate/vImage/ChannelOrdering)

Constants that specify the channel ordering of a pixel buffer.

[`vImage.CompositeMode`](/documentation/Accelerate/vImage/CompositeMode)

Constants that specify whether the format of layers is premultiplied or nonpremultiplied.

[`vImage.EdgeMode`](/documentation/Accelerate/vImage/EdgeMode)

Constants that specify edge modes for convolution operations.

[`vImage.Error`](/documentation/Accelerate/vImage/Error)

An error that occurs during a vImage operation.

[`vImage.FloodFillConnectivity`](/documentation/Accelerate/vImage/FloodFillConnectivity)

[`vImage.Gamma`](/documentation/Accelerate/vImage/Gamma)

Describes either a used-defined or constant gamma.

[`vImage.MorphologyOperation`](/documentation/Accelerate/vImage/MorphologyOperation)

Describes which morphology operation to perform.

[`vImage.ReflectionAxis`](/documentation/Accelerate/vImage/ReflectionAxis)

The axis to reflect an image.

[`vImage.Rotation`](/documentation/Accelerate/vImage/Rotation)

The angle to rotate an image.

[`vImage.ShearDirection`](/documentation/Accelerate/vImage/ShearDirection)

The shear direction.

### Protocols

[`InitializableFromCGImage`](/documentation/Accelerate/InitializableFromCGImage)

A pixel format that supports initialization from a Core Graphics image.

[`MultiplePlanePixelFormat`](/documentation/Accelerate/MultiplePlanePixelFormat)

A pixel format that contains multiple homogeneous planes represented by multiple underlying vImage buffers.

[`PixelFormat`](/documentation/Accelerate/PixelFormat)

A pixel buffer pixel format.

[`SinglePlanePixelFormat`](/documentation/Accelerate/SinglePlanePixelFormat)

A pixel format that contains a single underlying vImage buffer.

[`StaticPixelFormat`](/documentation/Accelerate/StaticPixelFormat)

A pixel format that’s known at compile time.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)