Coverity: uninitialized fields in Stitcher

pull/5774/head
Maksim Shabunin 9 years ago
parent 715887fcd5
commit f814218640
  1. 5
      modules/stitching/src/stitcher.cpp

@ -82,6 +82,11 @@ Stitcher Stitcher::createDefault(bool try_use_gpu)
stitcher.setExposureCompensator(makePtr<detail::BlocksGainCompensator>());
stitcher.setBlender(makePtr<detail::MultiBandBlender>(try_use_gpu));
stitcher.work_scale_ = 1;
stitcher.seam_scale_ = 1;
stitcher.seam_work_aspect_ = 1;
stitcher.warped_image_scale_ = 1;
return stitcher;
}

Loading…
Cancel
Save