diff --git a/Modules/ImageDenoising/mitkBilateralFilter.h b/Modules/ImageDenoising/mitkBilateralFilter.h index d566cb9935..010c4c1d12 100644 --- a/Modules/ImageDenoising/mitkBilateralFilter.h +++ b/Modules/ImageDenoising/mitkBilateralFilter.h @@ -1,78 +1,79 @@ /*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See LICENSE.txt or http://www.mitk.org for details. ===================================================================*/ #ifndef __mitkBilateralFilter_h #define __mitkBilateralFilter_h +#include "ImageDenoisingExports.h" + //MITK #include #include "mitkImageToImageFilter.h" - #include namespace mitk { - class MITK_CORE_EXPORT BilateralFilter : public ImageToImageFilter + class ImageDenoising_EXPORT BilateralFilter : public ImageToImageFilter { public: mitkClassMacro( BilateralFilter , ImageToImageFilter ); itkFactorylessNewMacro(Self) itkCloneMacro(Self) itkSetMacro(DomainSigma,float); itkSetMacro(RangeSigma,float); itkSetMacro(AutoKernel,bool); itkSetMacro(KernelRadius,unsigned int); itkGetMacro(DomainSigma,float); itkGetMacro(RangeSigma,float); itkGetMacro(AutoKernel,bool); itkGetMacro(KernelRadius,unsigned int); protected: /*! \brief standard constructor */ BilateralFilter(); /*! \brief standard destructor */ ~BilateralFilter(); /*! \brief Method generating the output information of this filter (e.g. image dimension, image type, etc.). The interface ImageToImageFilter requires this implementation. Everything is taken from the input image. */ virtual void GenerateOutputInformation(); /*! \brief Method generating the output of this filter. Called in the updated process of the pipeline. This method generates the smoothed output image. */ virtual void GenerateData(); /*! \brief Internal templated method calling the ITK bilteral filter. Here the actual filtering is performed. */ template void ItkImageProcessing( itk::Image* itkImage ); float m_DomainSigma; ///Sigma of the gaussian kernel. See ITK docu float m_RangeSigma; ///Sigma of the range mask kernel. See ITK docu bool m_AutoKernel; //true: kernel size is calculated from DomainSigma. See ITK Doc; false: set by m_KernelRadius unsigned int m_KernelRadius; //use in combination with m_AutoKernel = true }; } //END mitk namespace #endif