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
evaluate_image_at_pixel_points()for evaluating the image at pixel points.image_points_to_pixel_points()for converting image points to pixel points.
Note
The
image_pointswill be converted tonumpy.float64type.- 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: