Have a look at the changeValues macro command. It might be what you are
looking for. The affected region is restricted to the active selection area.
Hope this helps.
*changeValues(v1, v2, v3)*
Changes pixels in the image or selection that have a value in the
range/v1/-/v2/to/v3/. For example,/changeValues(0,5,5)/changes all
pixels less than 5 to 5,
and/changeValues(0x0000ff,0x0000ff,0xff0000)/changes all blue pixels in
an RGB image to red.
On 17/07/2014 21:03, jdif wrote:
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html