Zum Inhalt
HALOWERK

Medienwerk

oss opencv paired point triangulate

Triangulates 3D positions from corresponding points in two calibrated views using the supplied projection matrices. Degenerate cases are reported honestly: a correspondence whose rays are near-parallel has no finite intersection, and it comes back as null with its position in the finite mask, instead of as an enormous coordinate that silently poisons whatever consumes it. That makes the result safe to feed into a fitting step without a sanity filter of your own.

POST https://medien.halowerk.com/v1/oss-opencv-paired-point-triangulate

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
left_pointsarrayJa
right_pointsarrayJa
left_projectionarrayJa
right_projectionarrayJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "left_points": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "number",
          "minimum": -1000000000,
          "maximum": 1000000000
        },
        "minItems": 2,
        "maxItems": 2
      },
      "minItems": 1,
      "maxItems": 2048
    },
    "right_points": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "number",
          "minimum": -1000000000,
          "maximum": 1000000000
        },
        "minItems": 2,
        "maxItems": 2
      },
      "minItems": 1,
      "maxItems": 2048
    },
    "left_projection": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "number",
          "minimum": -1000000000,
          "maximum": 1000000000
        },
        "minItems": 4,
        "maxItems": 4
      },
      "minItems": 3,
      "maxItems": 3
    },
    "right_projection": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "number",
          "minimum": -1000000000,
          "maximum": 1000000000
        },
        "minItems": 4,
        "maxItems": 4
      },
      "minItems": 3,
      "maxItems": 3
    }
  },
  "required": [
    "left_points",
    "right_points",
    "left_projection",
    "right_projection"
  ],
  "additionalProperties": false,
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "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."
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "left_points": [
    [
      260,
      302
    ],
    [
      380,
      209
    ],
    [
      360,
      322.6666666666667
    ],
    [
      280,
      219.33333333333334
    ]
  ],
  "right_points": [
    [
      188,
      302
    ],
    [
      344,
      209
    ],
    [
      312,
      322.6666666666667
    ],
    [
      256,
      219.33333333333334
    ]
  ],
  "left_projection": [
    [
      600,
      0,
      320,
      0
    ],
    [
      0,
      620,
      240,
      0
    ],
    [
      0,
      0,
      1,
      0
    ]
  ],
  "right_projection": [
    [
      600,
      0,
      320,
      -72
    ],
    [
      0,
      620,
      240,
      0
    ],
    [
      0,
      0,
      1,
      0
    ]
  ]
}

Ergebnis & Dokumentation

Veröffentlichtes Ergebnisschema anzeigen
{
  "$ref": "https://medien.halowerk.com/v1/oss-opencv-paired-point-triangulate/schema#/outputSchema"
}

Veröffentlichtes Ergebnisbeispiel öffnen

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →