<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 18.0.0 -",
    "visionOS: 2.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Vision",
  "identifier" : "/documentation/Vision/TrackTranslationalImageRegistrationRequest",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Vision"
    ],
    "preciseIdentifier" : "s:6Vision42TrackTranslationalImageRegistrationRequestC"
  },
  "title" : "TrackTranslationalImageRegistrationRequest"
}
-->

# TrackTranslationalImageRegistrationRequest

An image-analysis request that you track over time to determine the affine transform necessary to align the content of two images.

```
final class TrackTranslationalImageRegistrationRequest
```

## Overview

This request generates an [`ImageTranslationAlignmentObservation`](/documentation/Vision/ImageTranslationAlignmentObservation) object that describes the transform data the request detects.

## Topics

### Creating a request

[`init(TrackTranslationalImageRegistrationRequest.Revision?, frameAnalysisSpacing: CMTime?)`](/documentation/Vision/TrackTranslationalImageRegistrationRequest/init(_:frameAnalysisSpacing:))

Creates an image-alignment tracking request to determine the affine transform.

### Performing a request

[`func perform(on: URL, orientation: CGImagePropertyOrientation?) async throws -> Self.Result`](/documentation/Vision/ImageProcessingRequest/perform(on:orientation:)-80bya)

Performs the request on an image URL and produces observations.

[`func perform(on: Data, orientation: CGImagePropertyOrientation?) async throws -> Self.Result`](/documentation/Vision/ImageProcessingRequest/perform(on:orientation:)-3f3f1)

Performs the request on image data and produces observations.

[`func perform(on: CGImage, orientation: CGImagePropertyOrientation?) async throws -> Self.Result`](/documentation/Vision/ImageProcessingRequest/perform(on:orientation:)-qxxx)

Performs the request on a Core Graphics image and produces observations.

[`func perform(on: CVPixelBuffer, orientation: CGImagePropertyOrientation?) async throws -> Self.Result`](/documentation/Vision/ImageProcessingRequest/perform(on:orientation:)-xspx)

Performs the request on a pixel buffer and produces observations.

[`func perform(on: CMSampleBuffer, orientation: CGImagePropertyOrientation?) async throws -> Self.Result`](/documentation/Vision/ImageProcessingRequest/perform(on:orientation:)-3hddl)

Performs the request on a Core Media buffer and produces observations.

[`func perform(on: CIImage, orientation: CGImagePropertyOrientation?) async throws -> Self.Result`](/documentation/Vision/ImageProcessingRequest/perform(on:orientation:)-85ex1)

Performs the request on a Core Image image and produces observations.

### Understanding the result

[`struct ImageTranslationAlignmentObservation`](/documentation/Vision/ImageTranslationAlignmentObservation)

Affine transform information that an image-alignment request produces.

### Configuring a request

[`enum ComputeStage`](/documentation/Vision/ComputeStage)

Types that represent the compute stage.

### Getting the revision

[`let revision: TrackTranslationalImageRegistrationRequest.Revision`](/documentation/Vision/TrackTranslationalImageRegistrationRequest/revision-swift.property)

The algorithm or implementation the request uses.

[`static let supportedRevisions: [TrackTranslationalImageRegistrationRequest.Revision]`](/documentation/Vision/TrackTranslationalImageRegistrationRequest/supportedRevisions)

The collection of revisions the request supports.

[`enum Revision`](/documentation/Vision/TrackTranslationalImageRegistrationRequest/Revision-swift.enum)

A type that describes the algorithm or implementation that the request performs.

## Relationships

### Conforms To

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`VisionRequest`](/documentation/Vision/VisionRequest)

[`Hashable`](/documentation/Swift/Hashable)

[`StatefulRequest`](/documentation/Vision/StatefulRequest)

[`TargetedRequest`](/documentation/Vision/TargetedRequest)

[`ImageProcessingRequest`](/documentation/Vision/ImageProcessingRequest)

[`Sendable`](/documentation/Swift/Sendable)

---

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)