pysdic.Camera.get_camera_normalized_points#
- Camera.get_camera_normalized_points(mask=None)[source]#
Get the
normalized_pointsof the camera by computing the inverse intrinsic and distortion transformations on the pixel points.If a mask is provided, it filters the normalized points based on the mask.
The first time this method is called after an update, the computing
normalized_pointswill be saved in the camera object to reduce processing time for subsequent calls. The not already computed normalized points are saved as nan values in the array.To reset the cached normalized points, you can call the method
camera.update().
- Parameters:
mask (Optional[
numpy.ndarray], optional) – A boolean mask to filter the normalized points. If None, all normalized points are returned. Default is None. Shape (\(H \times W\),) or (\(H\), \(W\)) where \(H\) is the height and \(W\) is the width of the camera sensor.- Returns:
A 2D array of shape (\(N_p\), 2) representing the normalized points in normalized coordinate system.
- Return type: