[Insight-users] How to create a LabelImage from RelabelComponentImageFilter

robert tamburo robert.tamburo at gmail.com
Mon Mar 28 10:45:08 EDT 2011


Hi Ella,

"Now i was trying to  use LabelImageToLabelMapFilter but i don't know how to
create this LabelImage."

To clear up any potential confusion, the LabelImage is a regular itkImage
with the expectation that objects within the LabelImage are uniquely
labeled. Correcting the typedef as Brad suggested should work since the
output image of RelabelComponentImageFilter satisfies this expectation.


On Mon, Mar 28, 2011 at 10:34 AM, David Doria <daviddoria at gmail.com> wrote:

> On Mon, Mar 28, 2011 at 10:20 AM, Bradley Lowekamp <blowekamp at mail.nih.gov
> > wrote:
>
>> Hello Ella,
>>
>> After a quick read, I suggest the following:
>>
>> typedef itk::LabelImageToLabelMapFilter< LabelImageType, LableMapType>
>> I2Type;
>>
>> hope this helps,
>> Brad
>>
>
> Ella,
>
> We don't have any examples of the LabelImage classes here:
> http://www.itk.org/Wiki/ITK/Examples
>
> <http://www.itk.org/Wiki/ITK/Examples>As you figure these things out, if
> you could add simple examples it would be tremendously helpful!
>
> Let me know if you have any trouble.
>
> 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/20110328/2e6184ed/attachment.htm>


More information about the Insight-users mailing list