Hi All,
I have some questions:
1. The example of template on web (awesomeFilter) gets the image type as is
by typename
templaye<*typename TPixel*, unsigned int VImageDimension>
void AddFilter(itk::Image<*TPixel*, VImageDimension>* image,
mitk::Image::Pointer outputImage)
{...}
,thus if I want to change the image type, I need to use the filter:
itk::castingFilter. How can I get the image as any type that *I want* and
avoid the casting afterwards? My intuition is telling me that it should be
something like that:
typename<*float TPixel*, unsigned int VImageDimension>
but that returns errors...
2. It's really necessary to add the cpp files in the cmake file:
moduls\MyModuleLib\files.cmake like that:
set (CPP_FILES
myCppFile1.cpp
myCppFile2.cpp)
...
I think that when I don't add that, it doesn't matter the result.
Thanks!
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users