bigdataviewer / bigdataviewer-core

ImgLib2-based viewer for registered SPIM stacks and more
BSD 2-Clause "Simplified" License
33 stars 35 forks source link

Add downsampling methods #118

Open tischi opened 3 years ago

tischi commented 3 years ago

@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 commented 3 years ago

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 commented 3 years ago

@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!