pycvcam.NoIntrinsic._inverse_transform#
- NoIntrinsic._inverse_transform(image_points, *, dx=False, dp=False)[source]#
Apply the inverse of the identity intrinsic transformation.
This method maps image coordinates directly back to distorted normalized camera coordinates without modification.
Let \(\vec{x}_i = (x_i, y_i)\) be a point in image coordinates. The corresponding distorted normalized camera point \(\vec{x}_d\) is defined as
\[\vec{x}_d = \vec{x}_i\]meaning that the image coordinates are returned unchanged.
Since this model has no intrinsic parameters:
the Jacobian with respect to the input points is the identity matrix,
the Jacobian with respect to the parameters is empty.
Warning
This method is intended for internal use. It should normally be accessed through
pycvcam.core.Transform.inverse_transform().- Parameters:
image_points (numpy.ndarray) – Image coordinates. Shape
(n_points, 2).dx (bool, optional) – If
True, compute the Jacobian with respect to the input points.dp (bool, optional) – If
True, compute the Jacobian with respect to the parameters.
- Returns:
distorted_points (numpy.ndarray) – Distorted normalized camera coordinates identical to the input points. Shape
(n_points, 2).jacobian_dx (Optional[numpy.ndarray]) – Jacobian of the output points with respect to the input points. Shape
(n_points, 2, 2)ifdx=True, otherwiseNone.jacobian_dp (Optional[numpy.ndarray]) – Jacobian of the output points with respect to the parameters. Shape
(n_points, 2, 0)ifdp=True, otherwiseNone.
- Return type: