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.

Bug 396 - Apply Threshold does not work on virtual stacks
Apply Threshold does not work on virtual stacks
Status: RESOLVED FIXED
Product: Fiji
Classification: Unclassified
Component: Other
unspecified
Macintosh Mac OS
: P2 normal
Assigned To: ImageJ Bugs Mailing List
Depends on:
Blocks:
 
Reported: 2012-01-17 10:36 CST by Jan Eglinger
Modified: 2012-01-17 17:53 CST
0 users

See Also:

Description Jan Eglinger 2012-01-17 10:36:59 CST
- Open a virtual stack (e.g. by importing an image sequence)
- Adjust Threshold [Shift-T]
- Click 'Apply' (alternatively, choose 'Process>Binary>Convert to mask')
- Scroll through the stack: the LUT might be inverted depending on the state of 'Black background', but the data are unchanged.

With a real (non-virtual) stack, the same procedure results in a binary image as expected.

ij.plugin.Thresholder should issue a warning that it doesn't work on virtual stacks, or, even better, convert the virtual stack to a real stack upon applying the threshold.

Cheers,
Jan
Comment 1 Wayne Rasband 2012-01-17 17:53:19 CST
The ImageJ 1.46e daily build displays an error message when you attempt to apply a threshold to a virtual stack, with a suggestion to use the Image>Duplicate command to convert to a normal stack.