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

Sliding window processing of large images #92

Open
mzur opened this issue Jan 20, 2022 · 1 comment
Open

Sliding window processing of large images #92

mzur opened this issue Jan 20, 2022 · 1 comment

Comments

@mzur
Copy link
Member

mzur commented Jan 20, 2022

MAIA disallows processing of images that are too large to fit into GPU memory. We could implement processing in a sliding window fashion (on smaller image crops, e.g. 4096x4096) if the image is too large. This could allow processing of tiled images or otherwise too large images and make #91 unnecessary.

Ideally, the sliding window should have an overlap so objects are not cut in half and missed. How to merge the detections in the overlap regions? Maybe a greedy method where any two detections with more than 25% (50%?) overlap are merged. In case of many overlapping annotations, those with the largest overlap are preferred.

This could be implemented entirely in Python, using pyvips to cut the images.

@mzur mzur added the student label Jan 20, 2022
@mzur
Copy link
Member Author

mzur commented Jan 20, 2022

Could novelty detection be performed in a sliding window fashion, too? Otherwise, disable novelty detection if the volume contains too large images (see #91).

@mzur mzur removed the student label Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant