scalableminds / webknossos-libs

Python API and CLI tools for working with WEBKNOSSOS datasets, annotations and server interactions. Includes converter to OME-Zarr.
https://docs.webknossos.org/webknossos-py/index.html
23 stars 12 forks source link

Don’t Include Data Outside of Bounding Box in Downsampling Interpolation #210

Open fm3 opened 4 years ago

fm3 commented 4 years ago

When downsampling data with interpolation, it would be helpful to have an option to exclude data outside of the dataset bounding box. In case of very thin datasets (my example was 15827 × 20271 × 4 vx³) the real data gets mixed with a lot of black data, so downsampled versions become very dark.

~Edit: my bounding box wasn’t set correctly, so I can’t say for sure that this isn’t already the case.~

philippotto commented 1 year ago

Are we sure this works? I think, this DS suggests that the original issue still exists: https://scm.slack.com/archives/CMBMU5684/p1691943185180399

The bounding box is set correctly.