pandora.cpp.criteria_cpp

Functions

partially_missing_variable_ranges(→ numpy.ndarray)

Returns a mask of the pixels with a partially missing variable range in the right image.

Module Contents

pandora.cpp.criteria_cpp.partially_missing_variable_ranges(disps: numpy.ndarray, img_mask: numpy.ndarray) numpy.ndarray[source]

Returns a mask of the pixels with a partially missing variable range in the right image.

Parameters:
  • disps (np.ndarray(float)) – Disparity range, np.ndarray of shape (2, width, height)

  • img_mask (np.ndarray(bool)) – Mask of valid pixels in the right image, np.ndarray of shape (width, height)