Commit 13858cd5 authored by Vitaly Tuzov's avatar Vitaly Tuzov

Cost estimation boundaries description updated

parent 772d9689
...@@ -99,7 +99,7 @@ StereoSGBM::~StereoSGBM() ...@@ -99,7 +99,7 @@ StereoSGBM::~StereoSGBM()
} }
/* /*
For each pixel row1[x], max(-maxD, 0) <= minX <= x < maxX <= width - max(0, -minD), For each pixel row1[x], max(-maxD, 0) <= minX <= x < maxX <= width - max(0, minD),
and for each disparity minD<=d<maxD the function and for each disparity minD<=d<maxD the function
computes the cost (cost[(x-minX)*(maxD - minD) + (d - minD)]), depending on the difference between computes the cost (cost[(x-minX)*(maxD - minD) + (d - minD)]), depending on the difference between
row1[x] and row2[x-d]. The subpixel algorithm from row1[x] and row2[x-d]. The subpixel algorithm from
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment