pysdic.Image.pixel_points_to_image_points#

Image.pixel_points_to_image_points(pixel_points)[source]#

Convert pixel points to image points.

Only swap the \(x\) and \(y\) coordinates of the pixel points to convert them to image points.

Note

  • The image points are defined in the image coordinate system \((x, y)\).

  • The pixel points are defined in the pixel coordinate system \((u, v)\).

Note

The pixel_points will be converted to numpy.float64 type.

Parameters:

pixel_points (ArrayLike) – A 2D array of shape (…, 2) representing the pixel points in pixel coordinate system (rows, columns).

Returns:

A 2D array of shape (…, 2) representing the image points in image coordinate system (\(x\), \(y\)).

Return type:

numpy.ndarray