18 #ifndef __itkObjectByObjectLabelMapFilter_h
19 #define __itkObjectByObjectLabelMapFilter_h
72 template<
class TInputImage,
class TOutputImage=TInputImage,
73 class TInputFilter=ImageToImageFilter<
74 Image< unsigned char, TInputImage::ImageDimension >,
75 Image< unsigned char, TOutputImage::ImageDimension > >,
76 class TOutputFilter=
typename TInputFilter::Superclass,
77 class TInternalInputImage=
typename TInputFilter::InputImageType,
78 class TInternalOutputImage=
typename TOutputFilter::OutputImageType >
100 typedef typename OutputImageType::SizeType
SizeType;
118 itkStaticConstMacro(InputImageDimension,
unsigned int,
119 TInputImage::ImageDimension);
120 itkStaticConstMacro(OutputImageDimension,
unsigned int,
121 TOutputImage::ImageDimension);
122 itkStaticConstMacro(ImageDimension,
unsigned int,
123 TOutputImage::ImageDimension);
144 return this->m_InputFilter;
149 return this->m_InputFilter;
152 void SetInputFilter( InputFilterType * filter );
153 itkGetObjectMacro( InputFilter, InputFilterType );
155 void SetOutputFilter( OutputFilterType * filter );
156 itkGetObjectMacro( OutputFilter, OutputFilterType );
166 itkSetMacro(KeepLabels,
bool);
167 itkGetMacro(KeepLabels,
bool);
168 itkBooleanMacro(KeepLabels);
174 itkSetMacro(PadSize, SizeType);
175 itkGetMacro(PadSize, SizeType);
182 itkSetMacro(ConstrainPaddingToImage,
bool);
183 itkGetMacro(ConstrainPaddingToImage,
bool);
184 itkBooleanMacro(ConstrainPaddingToImage);
192 itkSetMacro(BinaryInternalOutput,
bool);
193 itkGetMacro(BinaryInternalOutput,
bool);
194 itkBooleanMacro(BinaryInternalOutput);
201 itkSetMacro(InternalForegroundValue, InternalOutputPixelType);
202 itkGetMacro(InternalForegroundValue, InternalOutputPixelType);
209 itkGetMacro(Label, InputImagePixelType);
214 void PrintSelf(std::ostream& os,
Indent indent)
const;
216 virtual void GenerateData();
220 void operator=(
const Self&);
247 #ifndef ITK_MANUAL_INSTANTIATION
248 #include "itkObjectByObjectLabelMapFilter.hxx"