1 /*=========================================================================
2 Program: vv http://www.creatis.insa-lyon.fr/rio/vv
5 - University of LYON http://www.universite-lyon.fr/
6 - Léon Bérard cancer center http://www.centreleonberard.fr
7 - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr
9 This software is distributed WITHOUT ANY WARRANTY; without even
10 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11 PURPOSE. See the copyright notices for more information.
13 It is distributed under dual licence
15 - BSD See included LICENSE.txt file
16 - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
17 ===========================================================================**/
19 #ifndef CLITKIMAGETOIMAGEGENERICFILTER_H
20 #define CLITKIMAGETOIMAGEGENERICFILTER_H
22 #include "clitkImageToImageGenericFilterBase.h"
26 //--------------------------------------------------------------------
27 template<class FilterType>
28 class ImageToImageGenericFilter: public ImageToImageGenericFilterBase {
32 typedef ImageToImageGenericFilter<FilterType> Self;
34 // constructor - destructor
35 ImageToImageGenericFilter(std::string filterName);
37 // Main function to call for using the filter.
38 virtual bool Update();
39 virtual bool CheckImageType(unsigned int dim,unsigned int ncomp, std::string pixeltype);
40 virtual bool CheckImageType();
41 virtual std::string GetAvailableImageTypes();
44 // Object that will manage the list of templatized function for
46 ImageTypesManager<FilterType> mImageTypesManager;
48 }; // end class clitk::ImageToImageGenericFilter
50 #include "clitkImageToImageGenericFilter.txx"
54 #endif /* end #define CLITKIMAGETOIMAGEGENERICFILTER_H */