Merge pull request #1228 from vkocheganov:bug_3191
This commit is contained in:
commit
04c86f28b1
@ -76,7 +76,7 @@ typedef struct _CvRightImData
|
|||||||
uchar min_val, max_val;
|
uchar min_val, max_val;
|
||||||
} _CvRightImData;
|
} _CvRightImData;
|
||||||
|
|
||||||
#define CV_IMAX3(a,b,c) ((temp3 = (a) >= (b) ? (a) : (b)),(temp3 >= (c) ? temp3 : (c)))
|
#define CV_IMAX3(a,b,c) ((temp2 = (a) >= (b) ? (a) : (b)),(temp2 >= (c) ? temp2 : (c)))
|
||||||
#define CV_IMIN3(a,b,c) ((temp3 = (a) <= (b) ? (a) : (b)),(temp3 <= (c) ? temp3 : (c)))
|
#define CV_IMIN3(a,b,c) ((temp3 = (a) <= (b) ? (a) : (b)),(temp3 <= (c) ? temp3 : (c)))
|
||||||
|
|
||||||
static void icvFindStereoCorrespondenceByBirchfieldDP( uchar* src1, uchar* src2,
|
static void icvFindStereoCorrespondenceByBirchfieldDP( uchar* src1, uchar* src2,
|
||||||
@ -87,7 +87,7 @@ static void icvFindStereoCorrespondenceByBirchfieldDP( uchar* src1, uchar* src2,
|
|||||||
float _param3, float _param4,
|
float _param3, float _param4,
|
||||||
float _param5 )
|
float _param5 )
|
||||||
{
|
{
|
||||||
int x, y, i, j, temp3;
|
int x, y, i, j, temp2, temp3;
|
||||||
int d, s;
|
int d, s;
|
||||||
int dispH = maxDisparity + 3;
|
int dispH = maxDisparity + 3;
|
||||||
uchar *dispdata;
|
uchar *dispdata;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user