On Friday 19 February 2010, you wrote:
> I use imagej quite often, but I'm not really a code writer. Anyway, I
> just found out that when I use clear outside command on a 16 bit image,
> it clears the outside area and makes the intensity to the highest value
> in the histogram and not to 65535.
If you read the documentation, you would not be asking this question.
http://rsbweb.nih.gov/ij/docs/menus/edit.html#outsideG.