Merge remote-tracking branch 'upstream/3.4' into merge-3.4

pull/1725/head
Alexander Alekhin 7 years ago
commit dc6af711a7
  1. 4
      modules/stereo/src/descriptor.cpp

@ -226,8 +226,8 @@ namespace cv
//integral image computation used in the Mean Variation Census Transform
void imageMeanKernelSize(const Mat &image, int windowSize, Mat &cost)
{
CV_Assert(image.size > 0);
CV_Assert(cost.size > 0);
CV_Assert(!image.empty());
CV_Assert(!cost.empty());
CV_Assert(windowSize % 2 != 0);
int win = windowSize / 2;
float scalling = ((float) 1) / (windowSize * windowSize);

Loading…
Cancel
Save