pysdic.Image.image_points_to_pixel_points#

static Image.image_points_to_pixel_points(image_points)[source]#

Convert image points \((x, y)\) to pixel points \((u, v)\) by swapping the two coordinates.

Parameters:

image_points (ArrayLike) – An array of shape (…, 2) representing the image points \((x, y)\).

Returns:

An array of shape (…, 2) representing the pixel points (rows, columns) in float64 dtype.

Return type:

numpy.ndarray