Hi all,

I know that mitk::CastToItkImage cast mitk::Image to itk::Image.
Do you know how I can convert to itk::VectorImage?

I need the functionality that this code does but with other type of image.

ImageType::Pointer Itk_Image;
mitk::CastToItkImage(mitk_image, Itk_Image);
filter->SetInput(Itk_Image)
...

I tryed to simply use CastToItkImage but the linker returns this error:

Linking...
1>Filter.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) void __cdecl mitk::CastToItkImage<class
itk::VectorImage<double,3> >(class mitk::Image const *,class
itk::SmartPointer<class itk::VectorImage<double,3> > &)"
...

Best Regards,
Hila
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to