converted part of ch12

This commit is contained in:
Vadim Pisarevsky 2011-07-28 20:51:05 +00:00
parent 754a8c1b66
commit db19eb1586

View File

@ -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