[Insight-users] Get label boundaries

Nicholas Tustison ntustison at gmail.com
Tue Feb 25 07:15:23 EST 2014


Perhaps this is what is needed:

http://www.itk.org/Doxygen/html/classitk_1_1LabelContourImageFilter.html



On Feb 25, 2014, at 7:02 AM, Dženan Zukić <dzenanz at gmail.com> wrote:

> I believe he is referring to contours of labels.
> 
> Maybe you can calculate distance map, and then zero out the pixels/voxels which are more than 1 pixel away from the boundaries?
> 
> 
> On Mon, Feb 24, 2014 at 2:46 PM, Bradley Lowekamp <blowekamp at mail.nih.gov> wrote:
> Hello,
> 
> What do you mean by boundaries? An axis aligned bounding box? A oriented bounding box? Or A contour of label?
> 
> Brad
> 
> On Feb 24, 2014, at 7:44 AM, Martijn Steenwijk <martijnsteenwijk at gmail.com> wrote:
> 
> > Hi all,
> >
> > Is there any way to easily obtain the (inner and/or outer) boundaries of a set of labels (preserving label id's), in order to compute some statistics at the label boundaries, for example with itkLabelStatisticsImageFilter?
> >
> > Thanks for ideas in advance,
> > Martijn
> > _____________________________________
> > 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.php
> >
> > 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
> 
> _____________________________________
> 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.php
> 
> 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
> 
> _____________________________________
> 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.php
> 
> 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/20140225/579ccd2e/attachment.html>


More information about the Insight-users mailing list