On Jun 27, 2007, at 2:21 AM, Chulaka Gunasekara wrote:
> Hi all,
>
> Can somebody tell me how to threshold a grayscale image in java. I'm
> new to image Processing and am stuck in a project. If you guys can
> help me with a source code or algorithm it would be wonderful....
>
Hello,
Please take a look at the online documentation for menu or macro
driven thresholding...
http://rsb.info.nih.gov/ij/docs/menus/image.html#adjustor if you want to really use Java then you'll need to dive into
ImageJ's source code - see ...
ImageProcessor.setThreshold() in
http://rsb.info.nih.gov/ij/developer/
api/index.html
Cheers,
Ben
Ben Tupper
Bigelow Laboratory for Ocean Science
180 McKown Point Road
POB 475
West Boothbay Harbor, ME 04575