18 #ifndef itkLabelSetMorphBaseImageFilter_h 19 #define itkLabelSetMorphBaseImageFilter_h 26 #if ITK_VERSION_MAJOR < 4 45 template<
typename TInputImage,
bool doDilate,
46 typename TOutputImage = TInputImage >
89 void SetRadius(ScalarRealType scale);
91 itkSetMacro(Radius, RadiusType);
92 itkGetConstReferenceMacro(Radius, RadiusType);
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);
122 RegionIndexType SplitRequestedRegion(RegionIndexType i, RegionIndexType num,
123 OutputImageRegionType & splitRegion) ITK_OVERRIDE;
125 virtual void ThreadedGenerateData(
const OutputImageRegionType & outputRegionForThread,
126 ThreadIdType threadId) ITK_OVERRIDE;
128 void GenerateData(
void) ITK_OVERRIDE;
131 void EnlargeOutputRequestedRegion(
DataObject *output) ITK_OVERRIDE;
134 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
152 void operator=(
const Self &);
156 #ifndef ITK_MANUAL_INSTANTIATION 157 #include "itkLabelSetMorphBaseImageFilter.hxx" TInputImage::PixelType m_Extreme
TInputImage InputImageType
ImageToImageFilter< TInputImage, TOutputImage > Superclass
TInputImage::Pointer InputImagePointer
TOutputImage OutputImageType
SmartPointer< const Self > ConstPointer
LabelSetMorphBaseImageFilter Self
signed long IndexValueType
OutputImageType::IndexValueType OutputIndexValueType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
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
DistanceImageType::Pointer m_DistanceImage
unsigned int ThreadIdType
itk::FixedArray< ScalarRealType, TInputImage::ImageDimension > RadiusType
itk::Image< RealType, TInputImage::ImageDimension > DistanceImageType
OutputImageType::IndexType OutputIndexType
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.
NumericTraits< PixelType >::ScalarRealType ScalarRealType
Base class for all data objects in ITK.
Templated n-dimensional image class.