Image Thresholding for Binary workflow

Posted by Rainer M. Engel on
URL: http://imagej.273.s1.nabble.com/Image-Thresholding-for-Binary-workflow-tp5007850.html

Hello together,

I'm looking for way to threshold an image and in the same process making
it binary.

Process > Binary > Make Binary
sometimes caused plausible black/white dominance switches.

Process > Math > Macro
works better for my purposes (i.e.| if (v<=25) v=0; else v=255)

The later Expression is very slow compared even to an Gaussian Blur or
similar. Are there other, hopefully faster ways (for high resolution) to
threshold and make binary (8bit)?

I tried ..
setMinAndMax(173, 173);
.. but this does no clamping like I thought it might..

Any help is much appreciated.

Best regards,
Rainer


--
Rainer M. Engel, Dipl. Digital Artist
scientific|Media GbR
Pichelsdorfer Str. 143
13595 Berlin

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html