[ITK Community] [Insight-users] Get label boundaries
Martijn Steenwijk
martijnsteenwijk at gmail.com
Tue Feb 25 10:35:34 EST 2014
Sorry for the late response. I refer to a contour (so in fact what the
LabelContourImageFilter is highlighting), not a bounding box. I appreciate
the suggestion of using a distance map; however, that would be quite
computation intensitive for images in which I have a few thousand labels?
Best,
Martijn
On Tue, Feb 25, 2014 at 1:32 PM, Bill Lorensen <bill.lorensen at gmail.com>wrote:
> And here is an example:
> http://itk.org/Wiki/ITK/Examples/ImageSegmentation/LabelContourImageFilter
>
> Bill
>
>
> On Tue, Feb 25, 2014 at 7:15 AM, Nicholas Tustison <ntustison at gmail.com>
> wrote:
> > 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
> >
> >
> >
> > _____________________________________
> > 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
> >
>
>
>
> --
> Unpaid intern in BillsBasement at noware dot com
> _____________________________________
> 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://public.kitware.com/pipermail/community/attachments/20140225/fdde2a0c/attachment-0002.html>
-------------- next part --------------
_____________________________________
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
More information about the Community
mailing list