/*========================================================================= Program: vv http://www.creatis.insa-lyon.fr/rio/vv Authors belong to: - University of LYON http://www.universite-lyon.fr/ - Léon Bérard cancer center http://www.centreleonberard.fr - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the copyright notices for more information. It is distributed under dual licence - BSD See included LICENSE.txt file - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html ===========================================================================**/ #ifndef clitkLevelSetSegmentationGenericFilter_h #define clitkLevelSetSegmentationGenericFilter_h /* ================================================= * @file clitkLevelSetSegmentationGenericFilter.h * @author Jef Vandemeulebroucke * @date * * @brief * ===================================================*/ // clitk include #include "clitkIO.h" #include "clitkCommon.h" #include "clitkImageCommon.h" #include "clitkLevelSetSegmentation_ggo.h" //itk include #include "itkLightObject.h" #include "itkGeodesicActiveContourLevelSetImageFilter.h" #include "itkBinaryThresholdImageFilter.h" #include "itkCurvatureAnisotropicDiffusionImageFilter.h" #include "itkGradientMagnitudeRecursiveGaussianImageFilter.h" #include "itkGradientMagnitudeImageFilter.h" #include "itkSigmoidImageFilter.h" namespace clitk { class ITK_EXPORT LevelSetSegmentationGenericFilter : public itk::LightObject { public: //---------------------------------------- // ITK //---------------------------------------- typedef LevelSetSegmentationGenericFilter Self; typedef itk::LightObject Superclass; typedef itk::SmartPointer Pointer; typedef itk::SmartPointer ConstPointer; // Method for creation through the object factory itkNewMacro(Self); // Run-time type information (and related methods) itkTypeMacro( LevelSetSegmentationGenericFilter, LightObject ); //---------------------------------------- // Typedefs //---------------------------------------- //---------------------------------------- // Set & Get //---------------------------------------- void SetArgsInfo(args_info_clitkLevelSetSegmentation a) { m_ArgsInfo=a; m_Verbose=m_ArgsInfo.verbose_flag; } //---------------------------------------- // Update //---------------------------------------- void Update(); protected: //---------------------------------------- // Constructor & Destructor //---------------------------------------- LevelSetSegmentationGenericFilter(); ~LevelSetSegmentationGenericFilter() {}; //---------------------------------------- // Templated members //---------------------------------------- template void UpdateWithDim(std::string PixelType); template void UpdateWithDimAndPixelType(); //---------------------------------------- // Data members //---------------------------------------- bool m_Verbose; args_info_clitkLevelSetSegmentation m_ArgsInfo; }; } // end namespace clitk #ifndef ITK_MANUAL_INSTANTIATION #include "clitkLevelSetSegmentationGenericFilter.txx" #endif #endif // #define clitkLevelSetSegmentationGenericFilter_h