[Insight-users] "Geodesic" distance on a binary image?
wanlin
wanlinzhu at gmail.com
Tue Feb 15 07:56:28 EST 2011
Hi, David,
What about a itkFastMarchingImageFilter with mask image(removing
background). Define one pixel in white as the initial trial point. The level
set value of another pixel is the geodesic distance?
regards
wanlin
On Tue, Feb 15, 2011 at 11:26 PM, David Doria <daviddoria at gmail.com> wrote:
> I have an image consisting of a black background and white foreground
> pixels. I want to know the shortest distance from one white pixel to another
> white pixel on a path constrained to only touch white pixels.
>
> As an example, if the image is of the outline of a circle, the distance
> from a point on the circle to a point directly across the diameter should be
> half of the circumference, rather than the diameter.
>
> Is there something built in to do this?
>
> Thanks,
>
> David
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110215/4069cff8/attachment-0001.htm>
More information about the Insight-users
mailing list