JacobBumgarner / VesselVio

An open-source application for the analysis and visualization of segmented vasculature datasets
https://jacobbumgarner.github.io/VesselVio/
GNU General Public License v3.0
100 stars 22 forks source link

Coords for volume filtering aren't stored as integers, causing crash during original volume visualization #26

Closed JacobBumgarner closed 2 years ago

JacobBumgarner commented 2 years ago

Describe the bug When users load images that aren't pre-binarized, this can lead to the app crashing. Two recent users reported this issue to me.

To Reproduce Load any multi-channel image or a non-segmented image into the app.

Additional context To resolve this problem, I will need to halt the analysis/visualization of non-binary images and throw warnings to the user to alert them that their images aren't compatible.

JacobBumgarner commented 2 years ago

This problem was actually unrelated to loading non-binary images, and instead was related to the dtype of the vertex coordinate locations that were being used to slice the labeled_volume array.