pysdic.Camera.pixel_points_to_image_points#

Camera.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)\).

Parameters:

pixel_points (numpy.ndarray) – 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