How To Alter Selected Values in an Image

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How To Alter Selected Values in an Image

Zwick, Ari A.
Dear ImageJ Community,

 

This may or may not be a difficult problem to solve; we'll see.  I have
a semi-band thresholded image eg: 0-120 = 0 | 120-160 = As is | 160-255
= 255.  I'm am then performing adaptive thresholding (considers values
of nearest neighbors) on that image, however 255-160 =/= 120-0 = bias.
I'd like to eliminate this bias by setting all values = 0 to 25.  The
problem is that I can only do this for the selected values, and not the
whole image, for which I would just divide the inverted 0 values and
then invert again if that was the case.  I hope this isn't a big deal,
but can someone suggest how to set my selected values to different
values?  

 

Thanks in advance for your help.

 

Ari Zwick