Coverity: uninitialized fields in Stitcher

This commit is contained in:
Maksim Shabunin 2015-12-08 15:36:00 +03:00
parent 715887fcd5
commit f814218640

View File

@ -82,6 +82,11 @@ Stitcher Stitcher::createDefault(bool try_use_gpu)
stitcher.setExposureCompensator(makePtr<detail::BlocksGainCompensator>()); stitcher.setExposureCompensator(makePtr<detail::BlocksGainCompensator>());
stitcher.setBlender(makePtr<detail::MultiBandBlender>(try_use_gpu)); 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; return stitcher;
} }