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

[Feature Request]: Add loading warning when RGB images are loaded. #47

Open JacobBumgarner opened 2 years ago

JacobBumgarner commented 2 years ago

Describe the feature you would like to be added.

This was an unexpected problem related to an image that a user was trying to load. The image appeared as an 8-bit grayscale and only had two unique values, but was producing curiously different results upon analysis.

After a quick inspection, it was found that the image was actually in an RGB format, yet was still being analyzed. A warning should be added if any images are loaded that are not in grayscale.

Pseudocode or Screenshots

No response

Code of Conduct