18 #ifndef itkLabelSetMorphBaseImageFilter_h
19 #define itkLabelSetMorphBaseImageFilter_h
26 #if ITK_VERSION_MAJOR < 4
45 template<
typename TInputImage,
bool doDilate,
46 typename TOutputImage = TInputImage >
98 itkSetMacro(UseImageSpacing,
bool);
99 itkGetConstReferenceMacro(UseImageSpacing,
bool);
100 itkBooleanMacro(UseImageSpacing);
104 itkStaticConstMacro(ImageDimension,
unsigned int,
105 TInputImage::ImageDimension);
106 itkStaticConstMacro(OutputImageDimension,
unsigned int,
107 TOutputImage::ImageDimension);
108 itkStaticConstMacro(InputImageDimension,
unsigned int,
109 TInputImage::ImageDimension);
116 void writeDist(std::string fname);
123 OutputImageRegionType & splitRegion) ITK_OVERRIDE;
125 virtual void ThreadedGenerateData(
const OutputImageRegionType & outputRegionForThread,
128 void GenerateData(
void) ITK_OVERRIDE;
131 void EnlargeOutputRequestedRegion(
DataObject *output) ITK_OVERRIDE;
133 bool m_UseImageSpacing;
134 void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
141 typename DistanceImageType::
Pointer m_DistanceImage;
144 int m_CurrentDimension;
145 bool m_FirstPassDone;
149 RealType m_BaseSigma;
152 void operator=(const Self &);
156 #ifndef ITK_MANUAL_INSTANTIATION
157 #include "itkLabelSetMorphBaseImageFilter.hxx"
TInputImage InputImageType
ImageToImageFilter< TInputImage, TOutputImage > Superclass
TInputImage::Pointer InputImagePointer
TOutputImage OutputImageType
SmartPointer< const Self > ConstPointer
LabelSetMorphBaseImageFilter Self
signed long IndexValueType
OutputImageType::IndexValueType OutputIndexValueType
Base class for all process objects that output image data.
TOutputImage::PixelType OutputPixelType
TOutputImage::SizeType OutputSizeType
OutputImageType::RegionType OutputImageRegionType
TInputImage::PixelType PixelType
Base class for binary morphological erosion of label images.
NumericTraits< PixelType >::FloatType RealType
TInputImage::SizeType InputSizeType
SmartPointer< Self > Pointer
virtual ~LabelSetMorphBaseImageFilter()
TInputImage::ConstPointer InputImageConstPointer
unsigned int ThreadIdType
itk::FixedArray< ScalarRealType, TInputImage::ImageDimension > RadiusType
OutputImageType::IndexType OutputIndexType
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
ImageBaseType::SizeType SizeType
Define additional traits for native types such as int or float.
NumericTraits< PixelType >::ScalarRealType ScalarRealType
Base class for all data objects in ITK.
Templated n-dimensional image class.
ImageBaseType::IndexType IndexType