[Insight-users] Get label boundaries
Nicholas Tustison
ntustison at gmail.com
Tue Feb 25 10:51:56 EST 2014
No, it doesn’t create an RGB image. I use it all the time
and it works great.
On Feb 25, 2014, at 10:40 AM, Martijn Steenwijk <martijnsteenwijk at gmail.com> wrote:
> LabelContourImageFilter constructs an RGB image with a contour, if i understood correctly. so not quite what I am looking for (just boundary voxels with label id's ).
>
> Best,
> Martijn
>
>
> On Tue, Feb 25, 2014 at 4:38 PM, Dženan Zukić <dzenanz at gmail.com> wrote:
> I suggested that as a way to compute the required contour while being unaware that such a filter, probably computationally fairly efficient, already exists.
>
>
> On Tue, Feb 25, 2014 at 4:35 PM, Martijn Steenwijk <martijnsteenwijk at gmail.com> wrote:
> 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
>
>
> _____________________________________
> 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/4539995a/attachment-0001.html>
More information about the Insight-users
mailing list