pysdic.Image.evaluate_image_at_image_points#

Image.evaluate_image_at_image_points(image_points)[source]#

Evaluate the image at given image points.

This is a convenience method that converts image points to pixel points and then evaluates the image at those pixel points.

See also

Note

The image_points will be converted to numpy.float64 type.

Parameters:

image_points (ArrayLike) – The image points at which to evaluate the image. The shape should be (\(N_p\), 2) where \(N_p\) is the number of points and each point is represented by its (\(x\), \(y\)) coordinates.

Returns:

The evaluated pixel values with shape (\(N_p\),) or (\(N_p\), \(C\)) if color image in float64 dtype. If a pixel point is out of bounds, the corresponding value will be set to numpy.nan.

Return type:

numpy.ndarray