pysdic.Camera.image_points_to_pixel_points#
- Camera.image_points_to_pixel_points(image_points)[source]#
Convert image points to pixel points.
Only swap the \(x\) and \(y\) coordinates of the image points to convert them to pixel 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:
image_points (
numpy.ndarray) – A 2D array of shape (…, 2) representing the image points in image coordinate system \((x, y)\).- Returns:
A 2D array of shape (…, 2) representing the pixel points in pixel coordinate system (rows, columns).
- Return type: