Login  Register

Re: Save XY Coordinates... - override background colour selection

Posted by Wayne Rasband on Aug 06, 2008; 9:25pm
URL: http://imagej.273.s1.nabble.com/Save-XY-Coordinates-override-background-colour-selection-tp3695445p3695446.html

On Aug 6, 2008, at 3:56 PM, Justin Walker wrote:

> Is there any way to override the background colour selected for the
> 'Save XY Coordinates...' command?  Frequently there is an object of
> interest in the top left hand corner of my image, and that causes the
> function to select that as the background colour, making it ignore all
> of my objects of interest and outputting a massive file filled with
> the coordinates of all the 'true' background pixels.  My true
> background is always white (greyscale 0).  Alternatively, can I simply
> set the value of the top-left pixel to a greyscale of zero?  I'd lose
> one pixel from my object, but at least it would force the background
> colour to be zero.

In the v1.41j daily build, with grayscale images, you can specify the
background value in the Analyze>Tools>Save XY Coordinates dialog box.

-wayne