converted part of ch12
This commit is contained in:
parent
754a8c1b66
commit
db19eb1586
@ -871,7 +871,6 @@ static void findStereoCorrespondenceBM( const Mat& left0, const Mat& right0, Mat
|
||||
double N0 = 8000000 / (useShorts ? 1 : 4); // approx tbb's min number instructions reasonable for one thread
|
||||
double maxStripeSize = min(max(N0 / (width * ndisp), (wsz-1) * SAD_overhead_coeff), (double)height);
|
||||
int nstripes = cvCeil(height / maxStripeSize);
|
||||
printf("nstripes=%d\n", nstripes);
|
||||
#else
|
||||
const int nstripes = 1;
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user