ToolAssay

Resamples a grayscale image to remove radial and tangential lens distortion, usi

Resamples a grayscale image to remove radial and tangential lens distortion, using the camera matrix and five distortion coefficients you supply — typically from a planar calibration. Dimensions and camera matrix are preserved, so the corrected image drops into an existing pipeline without any change to geometry downstream. Because the output frame is unchanged, strongly distorted corners are pushed outside the image and are simply lost rather than being retained in a larger canvas.

Answeringour last check, 2026-10-25
1 of 1checks answered this week
1206 msmedian answer time
$0.002listed price per call
$0.002price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://medien.halowerk.com/v1/oss-opencv-calibrated-lens-undistort

CategoryImage and media
Provider hostmedien.halowerk.com
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days0 from 0 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-10-25 valid payment request 402$0.002 1206 ms

Example input (from the provider)

{
  "body": {
    "camera_matrix": [
      [
        45,
        0,
        7.5
      ],
      [
        0,
        45,
        7.5
      ],
      [
        0,
        0,
        1
      ]
    ],
    "distortion": [
      0.2,
      0.01,
      0,
      0,
      0
    ],
    "image": [
      [
        0,
        2,
        4,
        6,
        8,
        10,
        12,
        14,
        16,
        18,
        20,
        22,
        24,
        26,
        28,
        30
      ],
      [
        1,
        3,
        5,
        7,
        9,
        11,
        13,
        15,
        17,
        19,
        21,
        23,
        25,
        27,
        29,
        31
      ],
      [
        2,
        4,
        6,
        8,
        10,
        12,
        14,
        16,
        18,
        20,
        22,
        24,
        26,
        28,
        30,
        32
      ],
      [
        3,
        5,
        7,
        9,
        11,
        13,
        15,
        17,
        19,
        21,
        23,
        25,
        27,
        29,
        31,
        33
      ],
      [
        4,
        6,
        8,
        10,
        12,
        14,
        16,
        18,
        20,
        22,
        24,
        26,
        28,
        30,
        32,
        34
      ],
      [
        5,
        7,
        9,
        11,
        13,
        15,
        17,
        19,
        21,
        23,
        25,
        27,
        29,
        31,
        33,
        35
      ],
      [
        6,
        8,
        10,
        12,
        14,
        16,
        18,
        20,
        22,
        24,
        26,
        28,
        30,
        32,
        34,
        36
      ],
      [
        7,
        9,
        11,
        13,
        15,
        17,
        19,
        21,
        23,
        25,
        27,
        29,
        31,
        33,
        35,
        37
      ],
      [
        8,
        10,
        12,
        14,
        16,
        18,
        20,
        22,
        24,
        26,
        28,
        30,
        32,
        34,
        36,
        38
      ],
      [
        9,
        11,
        13,
        15,
        17,
        19,
        21,
        23,
        25,
        27,
        29,
        31,
        33,
        35,
        37,
        39
      ],
      [
        10,
        12,
        14,
        16,
        18,
        20,
        22,
        24,
        26,
        28,
        30,
        32,
        34,
        36,
        38,
        40
      ],
      [
        11,
        13,
        15,
        17,
        19,
        21,
        23,
        25,
        27,
        29,
        31,
        33,
        35,
        37,
        39,
        41
      ],
      [
        12,
        14,
        16,
        18,
        20,
        22,
        24,
        26,
        28,
        30,
        32,
        34,
        36,
        38,
        40,
        42
      ],
      [
        13,
        15,
        17,
        19,
        21,
        23,
        25,
        27,
        29,
        31,
        33,
        35,
        37,
        39,
        41,
        43
      ],
      [
        14,
        16,
        18,
        20,
        22,
        24,
        26,
        28,
        30,
        32,
        34,
        36,
        38,
        40,
        42,
        44
      ],
      [
        15,
        17,
        19,
        21,
        23,
        25,
        27,
        29,
        31,
        33,
        35,
        37,
        39,
        41,
        43,
        45
      ]
    ]
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "description": "Numeric JSON arrays only. Additionally enforce equal paired dimensions, nondegenerate geometry, maximum 32768 pixels/image, 131072 scalars/array, and 1048576 encoded bytes. No paths or network resources.",
          "properties": {
            "camera_matrix": {
              "items": {
                "items": {
                  "maximum": 1000000000,
                  "minimum": -1000000000,
                  "type": "number"
                },
                "maxItems": 3,
                "minItems": 3,
                "type": "array"
              },
              "maxItems": 3,
              "minItems": 3,
              "type": "array"
            },
            "distortion": {
              "items": {
                "maximum": 2,
                "minimum": -2,
                "type": "number"
              },
              "maxItems": 5,
              "minItems": 5,
              "type": "array"
            },
            "image": {
              "items": {
                "items": {
                  "maximum": 255,
                  "minimum": 0,
                  "type": "integer"
                },
                "maxItems": 256,
                "minItems": 16,
                "type": "array"
              },
              "maxItems": 256,
              "minItems": 16,
              "type": "array"
            }
          },
          "required": [
            "image",
            "camera_matrix",
            "distortion"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST",
            "PUT",
            "PATCH"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "additionalProperties": false,
          "properties": {
            "operation": {
              "const": "calibrated-lens-undistort"
            },
            "result": {
              "additionalProperties": false,
              "properties": {
                "height": {
                  "minimum": 0,
                  "type": "integer"
                },
                "image": {
                  "items": {
                    "items": {
                      "maximum": 255,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "maxItems": 256,
                    "minItems": 16,
                    "type": "array"
                  },
                  "maxItems": 256,
                  "minItems": 16,
                  "type": "array"
                },
                "warnings": {
                  "items": {
                    "maxLength": 1024,
                    "type": "string"
                  },
                  "maxItems": 8,
                  "minItems": 1,
                  "type": "array"
                },
                "width": {
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "required": [
                "image",
                "width",
                "height",
                "warnings"
              ],
              "type": "object"
            },
            "runtime_ms": {
              "minimum": 0,
              "type": "number"
            },
            "upstream": {
              "additionalProperties": false,
              "properties": {
                "binary_sha256": {
                  "const": "1fd4eb220f9986baa0ea0492cbcbedf85b868e792cbcac5f69e10d067a2f956c"
                },
                "components": {
                  "const": [
                    "undistort"
                  ]
                },
                "numpy_version": {
                  "const": "2.5.0"
                },
                "package_version": {
                  "const": "4.13.0.92"
                },
                "project": {
                  "const": "OpenCV"
                },
                "version": {
                  "const": "4.13.0"
                }
              },
              "required": [
                "project",
                "version",
                "package_version",
                "binary_sha256",
                "numpy_version",
                "components"
              ],
              "type": "object"
            }
          },
          "required": [
            "operation",
            "result",
            "upstream",
            "runtime_ms"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON