NiVO / BY TECHNOGISGermany · Indonesia
Geospatial

Apply a planar homography with homogeneous-coordinate normalisation — Open rectangular block

Apply a planar homography with homogeneous-coordinate normalisation — a worked case for open rectangular block, with explicit data, a sensitivity comparison and an independent evidence.

Apply a planar homography with homogeneous-coordinate normalisation — Open rectangular block

The measurement question

A homography maps points between two planes using a matrix followed by division by the third coordinate. Take the illustrative matrix rows [2,0,10], [0,2,20], and [0.001,0,1]. Input image point (100,50) becomes homogeneous coordinates (210,120,1.1), so the mapped position is approximately (190.909,109.091). Omitting the final division creates a wrong result despite otherwise correct matrix multiplication. Homographies are useful for rectifying an approximately planar inspection surface or registering planar views. They do not remove the different displacements of objects at different depths in a general aerial scene, and should not replace terrain-aware orthorectification where relief is significant.

This is an educational case with constructed input data. It is not a report of a completed NiVO project, a flight authorization, a product performance guarantee, or evidence that the photographed location was surveyed for this example.

Case conditions and evidence

The block has clear edges and an accessible perimeter. The initial dataset is deliberately simple so that a discrepancy can be traced to one input rather than hidden by complex geometry. Place the independent reference outside the adjustment set and record whether the reference represents bare ground or the visible surface.

Use a complete boundary walk and a small independently measured patch to test the assumptions. A neat rectangular footprint is not evidence that every part of the block has usable observations.

Laptop used for an OpenStreetMap editing session in JOSM
Laptop used for an OpenStreetMap editing session in JOSM.Source: Alejandro Escamilla · CC0

Reproduce the numerical check

Illustrative input data: Matrix coefficient h11 (h11) = 2 dimensionless; Matrix coefficient h12 (h12) = 0 dimensionless; Matrix coefficient h13 (h13) = 10 target units; Matrix coefficient h31 (h31) = 0.001 1/source unit; Matrix coefficient h32 (h32) = 0 1/source unit; Matrix coefficient h33 (h33) = 1 dimensionless; Source horizontal coordinate (x) = 100 source units; Source vertical coordinate (y) = 50 source units.

Calculation: (h11*x+h12*y+h13)/(h31*x+h32*y+h33).

Homography-mapped horizontal coordinate = 190.90909 target coordinate units.

The calculation below checks one part of the evidence chain. Keep the stated units and assumptions. The output does not replace field observations, the equipment manual, or an independent assessment of the complete deliverable.

Change one assumption

Increase only source horizontal coordinate (x) from 100 to 110 source units. Re-evaluating the same equation gives homography-mapped horizontal coordinate = 207.20721 target coordinate units. The arithmetic difference from the baseline is 16.298116 target coordinate units.

For the comparison, only the explicitly listed input changes. All other quantities stay fixed. This isolates the mathematical response; weather, image texture, viewing geometry and equipment behaviour can change together in a real mission, so do not interpret the comparison as a flight test.

Interpret the result

Use planar rectification for a surface that satisfies its geometric assumptions and retain the original image. Choose terrain-aware processing when relief matters, and validate the transformation across the intended surface rather than only at fitted points.

A homography cannot generally rectify multiple depths simultaneously. Lens distortion, nonplanar objects, insufficiently spread control, and extrapolation outside the fitted region can produce large errors; a near-zero homogeneous denominator indicates a numerically unstable mapping location.

Separate an arithmetic result from a verified measurement. A precise number can still be based on an uncertain input. Test the assumption with an independent observation before applying the result to an acceptance decision; retain the original value when the independent check disagrees.

Independent checks and delivery

Transform several known points manually and with an independent implementation, including the homogeneous division. Check inverse mapping, withheld control residuals, and edges of the intended region, then inspect relief objects for displaced or stretched geometry.

Retain a boundary mask, a reference-point inventory and a list of excluded areas. The recipient needs to distinguish an observed surface from an interpolation beyond the measured edge.

Deliver the original observations, the calculation inputs, their units, the processing settings and an exception log alongside the interpreted output. A reviewer should be able to repeat the arithmetic and identify which observations support the conclusion. Preserve rejected observations with reasons instead of silently removing them.

Technical references

  1. OpenCV Basic concepts of the homography ↗
  2. NiVO technical workflow and supporting documentation ↗
← All articles

Related articles

All articles ↗
LET’S TAKE FLIGHT

Your next mission
starts with a conversation.

Talk to our team