Re: applying a binary as a selection
Posted by Gabriel Landini on Apr 09, 2006; 6:13pm
URL: http://imagej.273.s1.nabble.com/applying-a-binary-as-a-selection-tp3703129p3703136.html
Joachim Wesner wrote:
> 1) Generate a ROI mask from a binary image (this two-level image created
> from any input image, using any algorithm that might create a two level
> result)
One can already generate ROIs from binary objects (setting a threshold and
using the wand, or by extracting -with a macro- the starts of all the binary
objects and "wand" them in a loop).
The only problem is that for those ROIs, any holes will be processed as part
of the image. That is why I suggested to ignore one of the extremes of the
histogram.
I just tested, and the autothreshold procedure in IJ acts on ROIs if these
exist. The problem would be to make sure that all other thresholding plugins
do the same.
Cheers,
G.