1 | initial version |
I think algorithm in stereoBM is
looks for pixel (xr,y) best matches pixel(xl,y) in left image with xl ranging to xr+minDisparity and xr+minDisparity +numOfdisparities.
Hence if [xr+minDisparity ,xr+minDisparity +numOfdisparities] is outside of images don't try to match pixel because you cannot find the best with given constraint.
2 | No.2 Revision |
I think algorithm in stereoBM is
looks for pixel (xr,y) best matches pixel(xl,y) in left image with xl ranging to xr+minDisparity and xr+minDisparity +numOfdisparities.
Hence if [xr+minDisparity ,xr+minDisparity +numOfdisparities] is outside of images don't try to match pixel because you cannot find the best with given constraint.
3 | No.3 Revision |
I think algorithm in stereoBM is
looks for pixel (xr,y) best matches pixel(xl,y) in left image with xl ranging to xr+minDisparity and xr+minDisparity +numOfdisparities.
Hence if [xr+minDisparity ,xr+minDisparity +numOfdisparities] is outside of images don't try to match pixel because you cannot find the best with given constraint.