Login  Register

Re: Help: use of makeOval

Posted by Xuan Yang on Aug 01, 2005; 8:23pm
URL: http://imagej.273.s1.nabble.com/Help-use-of-makeOval-tp3705113p3705118.html

Thanks for your reply. Yes, you are right. Finally I got what I want by
converting those double values of diameters to integers.

Xuan

----------------------------------------------
Xuan Yang
Graduate Research Assistant
School of Civil and Environmental Engineering
Georgia Institute of Technology
Atlanta, GA 30332-0355
Phone: (404) 385-0058
Fax: (404) 894-2281

-----Original Message-----
From: ImageJ Interest Group [mailto:[hidden email]]On Behalf Of Gabriel
Landini
Sent: Sunday, July 31, 2005 7:02 AM
To: [hidden email]
Subject: Re: Help: use of makeOval

On Sunday 31 July 2005 04:04, Xuan Yang wrote:
> It seems that shifting of the center is not because of the way to draw the
> circle... I used the center-based method, still got the shifting (one
> pixel) sometimes...

Isn't this because the polygons are drawn from the top left corner of a
pixel?

Cheers,

Gabriel