Re: Digitization errors in small circles
Thanks Juan. Ya I had read that, sorry to make you post the source link. I guess I just wanted to confirm that what I was seeing made sense and was a product of the drawing routine rather than some sort of error or misinterpretation. On Monday, February 17, 2014 9:32:20 PM UTC-5, Juan Nunez-Iglesias wrote:
Adam,
On Tue, Feb 18, 2014 at 12:40 PM, Adam Hughes <hughes...@gmail.com<javascript:>
wrote:
would you know which *perimeter* of the methods you listed would be returned by region_props?
The region_props documentation describes it pretty well:
**perimeter** : float Perimeter of object which approximates the contour as a line through the centers of border pixels using a 4-connectivity.
Nothing is more precise than code though:
https://github.com/scikit-image/scikit-image/blob/master/skimage/measure/_re...
Maybe this is not the right way to do it. As you mentioned, circularity should probably converge to 1.
Juan.
On Thu, Feb 20, 2014 at 4:42 AM, Adam Hughes <hughesadam87@gmail.com> wrote:
Thanks Juan. Ya I had read that, sorry to make you post the source link. I guess I just wanted to confirm that what I was seeing made sense and was a product of the drawing routine rather than some sort of error or misinterpretation.
No worries. I'd like to be more help but this is not my code so I'm as familiar with it as you are. If you figure out a better approximation, a pull request would be very welcome! =) Juan.
participants (2)
-
Adam Hughes
-
Juan Nunez-Iglesias