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

How to stitch the images in ImagesForTest /8 #14

Open
scottcali opened this issue Jun 3, 2024 · 7 comments
Open

How to stitch the images in ImagesForTest /8 #14

scottcali opened this issue Jun 3, 2024 · 7 comments

Comments

@scottcali
Copy link

Hi,

How to stitch the images in ImagesForTest /8?

I got the error stitch fails.

Many thanks!

-Scott

@scottcali
Copy link
Author

Can't stitch images, error code = 1

@scottcali
Copy link
Author

It looks like how to find CircleParameter is the key that can stich those images.

@scottcali
Copy link
Author

To stitch the images in ImagesForTest /9, if I use the orginal size, the width stitched image = 35708 which is more than SHRT_MAX=2^(31)=32768, that fails: opencv 4.9.0 file - modules/imgproc/src/imwarp line 1744
CV_Assert( dst.cols < SHRT_MAX && dst.rows < SHRT_MAX && src.cols < SHRT_MAX && src.rows < SHRT_MAX );

Later if I resize the images in ImagesForTest /9 to 80% of original size, I got the same error "Can't stitch images, error code = 1"

I can stitch the images in ImagesForTest /1, which are smaller.

@scottcali
Copy link
Author

Later if I resize the images in ImagesForTest /9 to 50% of original size, it works. But the results is not looking right ...

@scottcali
Copy link
Author

corrected0
corrected1
corrected2
corrected3
panorama

@scottcali
Copy link
Author

Use these pamameters to stitch the images in ImagesForTest /9
N_slider_value = 5; thresholdValue_slider_value = 24;

@scottcali
Copy link
Author

Use these pamameters to stitch the images in ImagesForTest /8 with 50% resize:
N_slider_value = 15; thresholdValue_slider_value = 6;

Failed:

corrected0
corrected1
corrected2
corrected3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant