18 #ifndef itkMorphologicalSharpeningImageFilter_h
19 #define itkMorphologicalSharpeningImageFilter_h
66 template<
typename TInputImage,
typename TOutputImage = TInputImage >
97 itkStaticConstMacro(OutputImageDimension,
unsigned int,
98 TOutputImage::ImageDimension);
99 itkStaticConstMacro(InputImageDimension,
unsigned int,
100 TInputImage::ImageDimension);
101 itkStaticConstMacro(ImageDimension,
unsigned int,
102 TInputImage::ImageDimension);
108 itkSetMacro(Iterations,
int);
109 itkGetConstReferenceMacro(Iterations,
int);
113 m_Erode->SetScale(scale);
114 m_Dilate->SetScale(scale);
119 m_Erode->SetScale(scale);
120 m_Dilate->SetScale(scale);
125 m_Erode->SetUseImageSpacing(uis);
126 m_Dilate->SetUseImageSpacing(uis);
132 return m_Erode->GetScale();
137 return m_Erode->GetUseImageSpacing();
140 #ifdef ITK_USE_CONCEPT_CHECKING
144 itkGetStaticConstMacro(OutputImageDimension) > ) );
154 void PrintSelf(std::ostream & os,
Indent indent)
const;
158 void GenerateData(
void);
169 void operator=(
const Self &);
179 #ifndef ITK_MANUAL_INSTANTIATION
180 #include "itkMorphologicalSharpeningImageFilter.hxx"
itk::FixedArray< ScalarRealType, TInputImage::ImageDimension > RadiusType
Implements the sharpening operation. The inputs are the dilated, eroded and original images...
ImageToImageFilter< TInputImage, TOutputImage > Superclass
Image sharpening using methods based on parabolic structuring elements.
SmartPointer< Self > Pointer
SmartPointer< const Self > ConstPointer
itk::ParabolicDilateImageFilter< OutputImageType, OutputImageType > DilateType
DilateType::Pointer m_Dilate
const RadiusType & GetScale()
void SetScale(RadiusType scale)
TOutputImage OutputImageType
Class for morphological erosion operations with parabolic structuring elements.
Base class for all process objects that output image data.
MorphologicalSharpeningImageFilter Self
NumericTraits< InputPixelType >::ScalarRealType ScalarRealType
itk::CastImageFilter< InputImageType, OutputImageType > CastType
ErodeType::Pointer m_Erode
void SetScale(ScalarRealType scale)
void SetUseImageSpacing(bool uis)
virtual ~MorphologicalSharpeningImageFilter()
Class for morphological dilation operations with parabolic structuring elements.
itk::SharpenOpImageFilter< OutputImageType, OutputImageType, OutputImageType, OutputImageType > SharpenOpType
const bool & GetUseImageSpacing()
TInputImage::PixelType InputPixelType
SharpenOpType::Pointer m_SharpenOp
TInputImage::ConstPointer InputImageConstPointer
itk::ParabolicErodeImageFilter< OutputImageType, OutputImageType > ErodeType
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
Define additional traits for native types such as int or float.
TOutputImage OutputImageType
TInputImage InputImageType
#define itkConceptMacro(name, concept)
TOutputImage::PixelType OutputPixelType
Casts input pixels to output pixel type.
NumericTraits< InputPixelType >::RealType RealType
TInputImage::Pointer InputImagePointer