misalignment in the reprojected 3d is now fixed
Rewrote function checkDisp in a better way and changed the name to dispValid. Also fixed a mistake n calc_param in the last condition where p2=const1/10
The comparison in minimum function for finding the minimum of 3 numbers was wrong. It's fixed now. Boundary conditions in scanline also changed according to subregions. Assignment of final aggregated cost to path volumes in finalSum function is also modified now
no significant change. Played a bit with the boundary conditions and subRegion values.