[Insight-users] Region extraction from watershed segmentation output
Luis Ibanez
luis.ibanez at kitware.com
Sun Oct 17 07:40:57 EDT 2010
Hi Sebastien,
1) Yes, you could simply use the
itkBinaryThresholdImageFilter
and set the threshold values to match
the label that you want to extract.
2) Once you extract that label,
you could generate a surface by
converting the image to vtkImageData
and using the vtkContourFilter.
See examples in
InsightApplications/Auxiliary/vtk/
ExtractIsoSurface.cxx
Regards,
Luis
---------------------------------------------------------
2010/10/7 Sébastien Wilfart <swilfart at gmail.com>
> Hi!
>
> I would like to extract a specific region from the ouput of a watershed
> segmentation. The output of the segmentation filter is a labeled image where
> each pixel is assigned an unsigned long integer label that groups it within
> a connected region.
>
> 1) Is it possible to get the label corresponding to a specific region (for
> example, by specifiying a pixel belonging to the region of interest) ?
>
> 2) Is it possible to extract the surface corresponding to a specific region
> (for example, by specifying the region's label) ?
>
> Thanks for your help
>
> _____________________________________
> 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/20101017/75de631a/attachment.htm>
More information about the Insight-users
mailing list