NoExtrinsic Class#

Overview#

class NoExtrinsic(parameters=None, constants=None)[source]#

Identity extrinsic model.

This class represents a degenerate extrinsic transformation where no extrinsic projection is applied. World coordinates are returned unchanged as camera coordinates.

Note

This transformation corresponds to the last stage of the camera projection pipeline:

world_points → camera_points → normalized_points → distorted_points → image_points

In this model, the extrinsic transformation is simply the identity mapping.

Let \(\vec{X}_w = (X_w, Y_w, Z_w)\) be a point in world coordinates. The corresponding normalized point is given by \(\vec{x}_n = (X_w, Y_w)\), simply ignoring the z-coordinate, which is always set to 1 for the normalization plane.

This model therefore has:

  • 0 parameters

  • 0 constants

Parameters:
  • parameters (None)

  • constants (None)

Performing Projections#

Use the transform and inverse_transform methods from pycvcam.Transform to perform extrinsic projections:

  • transform: maps world_points → normalized_points.

  • inverse_transform: maps normalized_points → world_points.

Jacobians with respect to the input points and extrinsic parameters can be computed by enabling the dx and dp flags:

  • dx=True: compute ∂normalized_points / ∂world_points

  • dp=True: compute ∂normalized_points / ∂extrinsic_parameters

NoExtrinsic._transform(world_points, *[, dx, dp])

Apply the identity extrinsic transformation.

NoExtrinsic._inverse_transform(...[, dx, dp])

Apply the inverse of the identity extrinsic transformation.