Skip to content
Snippets Groups Projects
Commit b0e2c0d7 authored by Kai Schleicher's avatar Kai Schleicher
Browse files

do not rescale to 8 bit

parent 0aec3cb2
No related branches found
No related tags found
No related merge requests found
......@@ -674,11 +674,12 @@ function process_beads() {
exit_show();
}
if (bitDepth() == 16) {
print("16 bit image type detected, converting to 8 bit...");
valueRange = detectValueRange();
divisor = mapTo8bitPreservingSaturation(valueRange[0]);
}
// if (bitDepth() == 16) {
// print("16 bit image type detected, converting to 8 bit...");
// valueRange = detectValueRange();
// divisor = mapTo8bitPreservingSaturation(valueRange[0]);
// }
divisor = 1.0;
// remove the scaling so all units (measurements, coordinates, ...) are pixel-based:
run("Set Scale...", "pixel=1 unit=pixel");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment