Coverity: uninitialized fields in Stitcher
This commit is contained in:
parent
715887fcd5
commit
f814218640
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user