<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "Accelerate",
  "identifier" : "/documentation/Accelerate/vImage_PerpsectiveTransform",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Accelerate"
    ],
    "preciseIdentifier" : "c:@S@vImage_PerpsectiveTransform"
  },
  "title" : "vImage_PerpsectiveTransform"
}
-->

# vImage_PerpsectiveTransform

A projective-transformation matrix.

```
struct vImage_PerpsectiveTransform
```

## Topics

### Creating a projective-transformation structure

[`init()`](/documentation/Accelerate/vImage_PerpsectiveTransform/init())

Creates a projective-transformation structure.

[`init(a:b:c:d:tx:ty:vx:vy:v:)`](/documentation/Accelerate/vImage_PerpsectiveTransform/init(a:b:c:d:tx:ty:vx:vy:v:))

Creates a projective-transformation structure from the specified single-precision values.

[`init(source:destination:)`](/documentation/Accelerate/vImage_PerpsectiveTransform/init(source:destination:))

Returns a projective-transformation structure that defines the mapping between a source quadrilateral and a destination quadrilateral.

### Inspecting a projective-transformation structure’s properties

[`a`](/documentation/Accelerate/vImage_PerpsectiveTransform/a)

The top-left cell in the 3 x 3 transformation matrix.

[`b`](/documentation/Accelerate/vImage_PerpsectiveTransform/b)

The top-middle cell in the 3 x 3 transformation matrix.

[`c`](/documentation/Accelerate/vImage_PerpsectiveTransform/c)

The middle-left cell in the 3 x 3 transformation matrix.

[`d`](/documentation/Accelerate/vImage_PerpsectiveTransform/d)

The middle-middle cell in the 3 x 3 transformation matrix.

[`tx`](/documentation/Accelerate/vImage_PerpsectiveTransform/tx)

The x-coordinate translation.

[`ty`](/documentation/Accelerate/vImage_PerpsectiveTransform/ty)

The y-coordinate translation.

[`vx`](/documentation/Accelerate/vImage_PerpsectiveTransform/vx)

The x-component of the projective vector.

[`vy`](/documentation/Accelerate/vImage_PerpsectiveTransform/vy)

The y-component of the projective vector.

[`v`](/documentation/Accelerate/vImage_PerpsectiveTransform/v)

The homogeneous scale factor.



---

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)