[Insight-users] Why ConvertLabelMapFilter doesn't convert nothing?
Chr. Rossmanith
cr at neuro.ma.uni-heidelberg.de
Wed Oct 9 07:19:52 EDT 2013
Hi Antonio,
I guess a little more information would be useful to be able to help
you: complete code, what does "it doesn't work" mean precisely.
Christina
Am 03.10.2013 18:25, schrieb Antonio Calabrese:
> Hi to everyone,
> I must to convert an unsigned char labelmap in an unsigned long LabelMap.
> I supposed to use the ConvertLabelMapFilter class, but this Class doesn't
> work.
> It does a simple copy of the each labeloblject, so if I declare two
> different types for the Input and Output, it doesn't work.
> A little example:
>
> typedef itk::ConvertLabelMapFilter<UCharLabelMapType,ULongLabelMapType>
> Convert;
> Convert::Pointer convert = Convert::New();
> convert->SetInput(labelmap->GetOutput());
> convert->Update();
>
> What am I doing wrong?
>
>
>
>
>
>
>
> --
> View this message in context: http://itk-users.7.n7.nabble.com/Why-ConvertLabelMapFilter-doesn-t-convert-nothing-tp32484.html
> Sent from the ITK - Users mailing list archive at Nabble.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
More information about the Insight-users
mailing list