Cost estimation boundaries description updated
This commit is contained in:
parent
772d9689e9
commit
13858cd561
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user