1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

minor memory optimization in opencv_stitching

This commit is contained in:
Alexey Spizhevoy
2011-05-23 12:20:12 +00:00
parent 4827fbf326
commit 5bf8109dbc
2 changed files with 5 additions and 4 deletions
+1 -2
View File
@@ -160,8 +160,7 @@ void MultiBandBlender::prepare(Rect dst_roi)
Blender::prepare(dst_roi);
dst_pyr_laplace_.resize(num_bands_ + 1);
dst_pyr_laplace_[0].create(dst_roi.size(), CV_32FC3);
dst_pyr_laplace_[0].setTo(Scalar::all(0));
dst_pyr_laplace_[0] = dst_;
dst_band_weights_.resize(num_bands_ + 1);
dst_band_weights_[0].create(dst_roi.size(), CV_32F);