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

# Transform Coordinates

`POST /images/transform-coordinates`

## Request

- Base URL: `https://api.rmfg.com`
- URL: `https://api.rmfg.com/images/transform-coordinates`
- Auth: none declared

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/rmfg-manufacturing-api.md) - [All operations](https://skmtc.dev/rmfg/apis/rmfg-manufacturing-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rmfg/apis/rmfg-manufacturing-api/revisions/078f984358b9?raw)
