carta
mrgingham-rotate-corners(1)

mrgingham-rotate-corners1

Adjust mrgingham corner detections from rotated cameras

Usage

mrgingham --gridn N \

mrgingham-rotate-corners --gridn N \ --90 cameraB --180 'camera [CD] '

Overview

The mrgingham chessboard detector finds a chessboard in an image, but it has no way to know whether the detected chessboard was upside-down or otherwise rotated: the chessboard itself has no detectable marking to make this clear. In the usual case, the cameras as all mounted in the same orientation, so they all detect the same orientation of the chessboard, and there is no problem. However, if some cameras are mounted sideways or upside-down, the sequence of corners will correspond to different corners between the cameras with different orientations. This can be addressed by this tool. This tool ingests mrgingham detections, and outputs them after correcting the chessboard observations produced by rotated cameras.

Each rotation option is an awk regular expression used to select images from specific cameras. The regular expression is tested against the image filenames. Each rotation option may be given multiple times. Any files not matched by any rotation option are passed through unrotated.

Repository

<https://github.com/dkogan/mrgingham>

History

  • Debian 13 (Trixie): the text shown here
  • Debian 12 (Bookworm)

Author

Dima Kogan, "<[email protected]>"

From mrgingham 1.26-1+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.