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

Fail to process large images (>10000 x 10000 pixels)? #16

Open
lauraset opened this issue Aug 11, 2023 · 3 comments
Open

Fail to process large images (>10000 x 10000 pixels)? #16

lauraset opened this issue Aug 11, 2023 · 3 comments

Comments

@lauraset
Copy link

Hi, @gfacciol . When I process large images, the log file shows that:
image

and the terminal shows that:
Running bundle adjustment for RPC model refinement ... Path to log file: tests/confighk_output/bundle_adjust.log Killed
Do you know what happens? Thank you.

@gfacciol
Copy link
Member

I guess that keypoint matching cannot handle arbitrarily large images, it probably ran out of memory in your system.
The best is to cut your images in overlapping sub-images of a manageable size. For instance for a 10000x10000 image
you can make a 3x3 grid of images of size 5000x5000 with a safe overlap of 50% (0-5000; 2500-7500; 5000-10000)

@lauraset
Copy link
Author

lauraset commented Aug 11, 2023

I guess that keypoint matching cannot handle arbitrarily large images, it probably ran out of memory in your system. The best is to cut your images in overlapping sub-images of a manageable size. For instance for a 10000x10000 image you can make a 3x3 grid of images of size 5000x5000 with a safe overlap of 50% (0-5000; 2500-7500; 5000-10000)

Yes. Thank you very much.

@lyf6
Copy link

lyf6 commented Sep 27, 2023

@lauraset have you solved this problem?

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

3 participants