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

Add downsampling methods #118

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

tischi
Copy link
Contributor

@tischi tischi commented Feb 7, 2021

@tpietzsch
I made the downsampling method for exporting resolution pyramids configurable and added a new method for downsampling, which picks the central pixel. This is useful for downsampling label mask images.

@tischi tischi changed the title Add central pixel downsampling method Add downsampling methods Feb 8, 2021
@tischi
Copy link
Contributor Author

tischi commented Feb 8, 2021

I added now also a downsampling method that picks the mode (i.e. the most frequently occuring) value in respective block of the upper resolution layer.

@K-Meech
Copy link

K-Meech commented Feb 18, 2021

@tpietzsch I would also be very interested in having a good downsampling method for label images. If you have time, this would be very useful for a project I'm currently working on. Thanks!

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

Successfully merging this pull request may close these issues.

2 participants