diff --git a/src/main/resources/scripts/Plugins/NoiSee/NoiSee_Bead_Analysis.ijm b/src/main/resources/scripts/Plugins/NoiSee/NoiSee_Bead_Analysis.ijm index d325357589d5b2c54b3e9da859954ae7825a5a64..48611a49bc85b4c88bad6ae0263c9a8301832582 100644 --- a/src/main/resources/scripts/Plugins/NoiSee/NoiSee_Bead_Analysis.ijm +++ b/src/main/resources/scripts/Plugins/NoiSee/NoiSee_Bead_Analysis.ijm @@ -548,8 +548,9 @@ function process_beads() { exit_show(); } - if (bitDepth() == 32) { - print("Floating point images are not supported!"); + // neither floating point nor RGB images make sense for this, so check: + if (bitDepth() != 8 && bitDepth() != 16) { + print("Only images with a bit depth of 8 or 16 are supported!"); exit_show(); }