18 #ifndef __itkParabolicErodeDilateImageFilter_h 19 #define __itkParabolicErodeDilateImageFilter_h 21 #include "itkImageToImageFilter.h" 22 #include "itkNumericTraits.h" 23 #include "itkProgressReporter.h" 61 template<
typename TInputImage,
63 typename TOutputImage = TInputImage >
65 public ImageToImageFilter< TInputImage, TOutputImage >
72 typedef ImageToImageFilter< TInputImage, TOutputImage >
Superclass;
86 typedef typename NumericTraits< PixelType >::RealType
RealType;
97 typedef typename itk::FixedArray< ScalarRealType, TInputImage::ImageDimension >
RadiusType;
101 TInputImage::ImageDimension );
103 TOutputImage::ImageDimension );
105 TInputImage::ImageDimension );
116 void SetScale( ScalarRealType scale );
118 itkSetMacro( Scale, RadiusType );
119 itkGetConstReferenceMacro( Scale, RadiusType );
125 itkSetMacro( UseImageSpacing,
bool );
126 itkGetConstReferenceMacro( UseImageSpacing,
bool );
127 itkBooleanMacro( UseImageSpacing );
130 #ifdef ITK_USE_CONCEPT_CHECKING 132 itkConceptMacro( SameDimension,
133 ( Concept::SameDimension< itkGetStaticConstMacro( InputImageDimension ), itkGetStaticConstMacro( OutputImageDimension ) > ) );
135 itkConceptMacro( Comparable,
136 ( Concept::Comparable< PixelType > ) );
145 void PrintSelf( std::ostream & os, Indent indent )
const;
174 #ifndef ITK_MANUAL_INSTANTIATION 175 #include "itkParabolicErodeDilateImageFilter.hxx" NumericTraits< PixelType >::ScalarRealType ScalarRealType
void PrintSelf(std::ostream &os, Indent indent) const
Parent class for morphological operations with parabolic structuring elements.
virtual ~ParabolicErodeDilateImageFilter()
TInputImage InputImageType
TInputImage::PixelType PixelType
TInputImage::ConstPointer InputImageConstPointer
OutputImageType::RegionType OutputImageRegionType
void ThreadedGenerateData(const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
void SetScale(ScalarRealType scale)
TOutputImage OutputImageType
int SplitRequestedRegion(int i, int num, OutputImageRegionType &splitRegion)
TInputImage::PixelType m_Extreme
itkStaticConstMacro(ImageDimension, unsigned int, TInputImage::ImageDimension)
NumericTraits< PixelType >::FloatType InternalRealType
ImageToImageFilter< TInputImage, TOutputImage > Superclass
void EnlargeOutputRequestedRegion(DataObject *output)
SmartPointer< const Self > ConstPointer
void operator=(const Self &)
ParabolicErodeDilateImageFilter()
TOutputImage::SizeType OutputSizeType
NumericTraits< PixelType >::RealType RealType
SmartPointer< Self > Pointer
ParabolicErodeDilateImageFilter Self
itk::FixedArray< ScalarRealType, TInputImage::ImageDimension > RadiusType
TInputImage::SizeType InputSizeType
TOutputImage::PixelType OutputPixelType
TInputImage::Pointer InputImagePointer