Add an option to select registration resolution (in MPx) for the stitching algorithm. The images are downscaled to this size for finding matches between images.
The default value is 0.6MPx and that could be an issue e.g. if stitching two photos with electrical wires spanning over both of them.
Howto
- add a
registration_resolution in:
|
struct StitchUserOptions { |
- call
SetRegistrationResolution in
|
StitchResult Stitch(const std::vector<cv::Mat>& images, |
- Add a a widget in the gui for selecting the value (maybe ImGui::SliderFloat):
|
Action DrawStitchOptionsMenu(pipeline::StitchAlgorithmOptions* stitch_options, |
Stretch goal
Find / take some pictures where this effect can be demonstrated and add them to the PR.
Add an option to select registration resolution (in MPx) for the stitching algorithm. The images are downscaled to this size for finding matches between images.
The default value is 0.6MPx and that could be an issue e.g. if stitching two photos with electrical wires spanning over both of them.
Howto
registration_resolutionin:xpano/xpano/algorithm/options.h
Line 82 in dee2e45
SetRegistrationResolutioninxpano/xpano/algorithm/algorithm.cc
Line 232 in dee2e45
xpano/xpano/gui/panels/sidebar.cc
Line 301 in dee2e45
Stretch goal
Find / take some pictures where this effect can be demonstrated and add them to the PR.