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 itkGetModifiableObjectMacro(InputFilter, InputFilterType );
155 void SetOutputFilter( OutputFilterType * filter );
156 itkGetModifiableObjectMacro(OutputFilter, OutputFilterType );
165 itkSetMacro(KeepLabels,
bool);
166 itkGetMacro(KeepLabels,
bool);
167 itkBooleanMacro(KeepLabels);
173 itkSetMacro(PadSize, SizeType);
174 itkGetMacro(PadSize, SizeType);
181 itkSetMacro(ConstrainPaddingToImage,
bool);
182 itkGetMacro(ConstrainPaddingToImage,
bool);
183 itkBooleanMacro(ConstrainPaddingToImage);
191 itkSetMacro(BinaryInternalOutput,
bool);
192 itkGetMacro(BinaryInternalOutput,
bool);
193 itkBooleanMacro(BinaryInternalOutput);
200 itkSetMacro(InternalForegroundValue, InternalOutputPixelType);
201 itkGetMacro(InternalForegroundValue, InternalOutputPixelType);
208 itkGetMacro(Label, InputImagePixelType);
213 void PrintSelf(std::ostream& os,
Indent indent)
const;
215 virtual void GenerateData();
219 void operator=(
const Self&);
246 #ifndef ITK_MANUAL_INSTANTIATION
247 #include "itkObjectByObjectLabelMapFilter.hxx"