Rectification

This module provides functions to project an image onto a real-world coordinate system using ground control points. The module is largely based on the OpenCV Camera Calibration and 3D Reconstruction workflow and works nicely together with the argus2 toolbox for coastal image analysis.

A typical workflow consists of determining ground control points by measuring the real-world coordinates of object visible in the image and the image coordinates of these very same objects. Also the camera matrix and lens distortion parameters should be determined.

Subsequently, a homography can be determined using the rectification.rectification.find_homography() function and a projection of the image can be plotted using the accompanying rectification.plot module.

Rectification

Visualization