Re: negative centroid values
Posted by
Wayne Rasband on
Mar 05, 2008; 4:00pm
URL: http://imagej.273.s1.nabble.com/negative-centroid-values-tp3697001p3697002.html
> I'm running ImageJ 1.39t on Mac OSX v.10.5.2. I'm working with a 29MB,
> 8-bit, 5558x5558 pixel jpg image. When I calculate the centroid of a
> polygon (fairly circular, ~2800 pixels diameter) in the center of the
> image,
> I get negative values for the centroid. Is there a way to correct
> this?
>
> I had this problem once before in 2006 with an old version of ImageJ.
> At
> the time, the solution was to upgrade to the latest version, but I have
> checked and am now running a current version. I would appreciate any
> suggestions for dealing with this problem. Thanks.
This bug is fixed in ImageJ 1.39u. You can upgrade by running the
ImageJ_Updater plugin
(
http://rsb.info.nih.gov/ij/plugins/imagej-updater.html) and selecting
"daily build" from the drop down menu.
-wayne