This modification ensures that original (i.e. not rectified) image masks are taken into account during triangulation, so that pixels that have a valid disparity but are masked out in the original image domain for other reasons (e.g. user provided an input mask, or the pixel is too close to image borders) are not triangulated.
This modification ensures that original (i.e. not rectified) image masks are taken into account during triangulation, so that pixels that have a valid disparity but are masked out in the original image domain for other reasons (e.g. user provided an input mask, or the pixel is too close to image borders) are not triangulated.
A couple unrelated minor changes are included:
np.bool
(deprecated) withbool