Merge pull request #11576 from alalek:avoid_copyTo_with_getMat

pull/11607/head
Alexander Alekhin 7 years ago
commit 4384036108
  1. 2
      modules/photo/src/merge.cpp

@ -259,7 +259,7 @@ public:
res_pyr[lvl - 1] += up;
}
dst.create(size, CV_32FCC);
res_pyr[0].copyTo(dst.getMat());
res_pyr[0].copyTo(dst);
}
float getContrastWeight() const CV_OVERRIDE { return wcon; }

Loading…
Cancel
Save