centreborelli / s2p

Satellite Stereo Pipeline
GNU Affero General Public License v3.0
209 stars 67 forks source link

[bugfix] Don't triangulate points that are masked in original image domain #101

Closed carlodef closed 3 years ago

carlodef commented 3 years ago

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: