converted part of ch12

pull/13383/head
Vadim Pisarevsky 14 years ago
parent 754a8c1b66
commit db19eb1586
  1. 1
      modules/calib3d/src/stereobm.cpp

@ -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…
Cancel
Save