carta
mrcal-reproject-points(1)

mrcal-reproject-points1

Reprojects pixel observations from one model to another

Usage

mrcal-reproject-points

from.cameramodel to.cameramodel

Overview

This tool takes a set of pixel observations of points captured by one camera model, and transforms them into observations of the same points captured by another model. This is similar to mrcal-reproject-image, but acts on discrete points, rather than on whole images. The two sets of intrinsics are always used. The translation component of the extrinsics is always ignored; the rotation is ignored as well if --intrinsics-only.

This allows one to combine multiple image-processing techniques that expect different projections. For instance, planes projected using a pinhole projection have some nice properties, and we can use those after running this tool.

The input data comes in on standard input, and the output data is written to standard output. Both are vnlog data: human-readable text with 2 columns: x and y pixel coords. Comments are allowed, and start with the '#' character.

Options

Positional arguments

  model-from         Camera model for the input points.
  model-to           Camera model for the output points.

Optional arguments

  -h, --help         show this help message and exit
  --intrinsics-only  By default, the relative camera rotation is used in the
                     transformation. If we want to use the intrinsics ONLY,
                     pass --intrinsics-only. Note that relative translation is
                     ALWAYS ignored

Repository

<https://www.github.com/dkogan/mrcal>

History

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

Author

Dima Kogan, "<[email protected]>"

From mrcal 2.4.1-4+b2 in Debian 13 (Trixie). Parsed by carta from the page's man source.