Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stitching scans #106

Open
krupkat opened this issue Jul 10, 2023 · 0 comments
Open

Stitching scans #106

krupkat opened this issue Jul 10, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@krupkat
Copy link
Owner

krupkat commented Jul 10, 2023

Add support for stitching scans (https://docs.opencv.org/4.x/d2/d8d/classcv_1_1Stitcher.html#a114713924ec05a0309f4df7e918c0324ac706a6a118a4a648fef8b2fca5950e2a):

Howto

The value is selected here:

auto stitcher = stitcher::Stitcher::Create(cv::Stitcher::PANORAMA);

Extend stitching user options with a new enum (panorama / scans):

struct StitchUserOptions {

  • the new enum will need a Label function and a constant array with all values, please check the other examples

Add a widget to select the value in gui (use utils::imgui::ComboBox for selecting an enum value):

Action DrawStitchOptionsMenu(pipeline::StitchAlgorithmOptions* stitch_options,

If Scans mode is selected

  • disable projection types widget + wave correction in the gui
  • add an if statement in the Stitch function when setting up stitcher and set the values according to stitcher.cc

Stretch goal

Test on real scans, compare the two modes and add the images to the PR.

@krupkat krupkat added enhancement New feature or request good first issue Good for newcomers labels Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant