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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user