|
Bugzilla – Bug 931 |
Possible error when down-converting from 32- or 16-bit-depth images (to 16- or 8-bit). |
Last modified: 2014-09-18 09:55:44 CDT |
| ⚠ |
NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug. The Fiji project now uses GitHub Issues for issue tracking. Please file all new issues there. |
| Possible error when down-converting from 32- or 16-bit-depth images (to 16- o... | |
|
|
|
||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||
You can disable scaling when down-converting by unchecking "Scale when converting" in Edit>Options>Conversions. The example macro below outputs 'Scale when converting' checked 8: 8-248 32: 8-248 8: 0-255 'Scale when converting' not checked 8: 8-248 32: 8-248 8: 8-248 // test "Scale when converting" option setBatchMode(true); run("Conversions...", "scale"); print("'Scale when converting' checked"); run("Blobs (25K)"); printRange(); run("32-bit"); printRange(); run("8-bit"); printRange(); print("'Scale when converting' not checked"); run("Conversions...", " "); run("Blobs (25K)"); printRange(); run("32-bit"); printRange(); run("8-bit"); printRange(); function printRange() { getStatistics(area, mean, min, max); print(bitDepth+": "+min+"-"+max); }