---
title: "Transform Coordinates"
method: POST
path: "/images/transform-coordinates"
tags: ["images"]
---

# Transform Coordinates

`POST /images/transform-coordinates`

Transform image coordinates to real-world coordinates using a transformation matrix.

Args:
    intrinsic_matrix: 3x3 transformation matrix
    coordinates: List of [x, y] coordinates in image space

Returns:
    real_coordinates: List of [x, y] coordinates in real-world space

## Request body

- TransformCoordinatesRequest
  - `intrinsic_matrix` array[], required
    - number[]
  - `coordinates` array[], required
    - number[]
  - `invert_intrinsic_matrix` boolean, required

## Response `200`

Successful Response

- TransformCoordinatesResponse
  - `real_coordinates` array[], required
    - number[]

## Other responses

- `404` — Not found
- `422` — Validation Error

---

[API](https://skmtc.dev/rmfg/apis/fastapi.md) · [All operations](https://skmtc.dev/rmfg/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rmfg/fastapi/revisions/17a4ad42a016/schema)
