19 #ifndef __itkHistogramThresholdImageFilter_h
20 #define __itkHistogramThresholdImageFilter_h
59 template<
class TInputImage,
class TOutputImage,
class TMaskImage=TOutputImage>
113 itkStaticConstMacro(InputImageDimension,
unsigned int,
114 InputImageType::ImageDimension );
115 itkStaticConstMacro(OutputImageDimension,
unsigned int,
116 OutputImageType::ImageDimension );
117 itkStaticConstMacro(MaskImageDimension,
unsigned int,
118 MaskImageType::ImageDimension );
124 void SetMaskImage(
const TMaskImage *input)
127 this->SetNthInput( 1, const_cast< TMaskImage * >( input ) );
133 return itkDynamicCastInDebugMode< MaskImageType * >
138 void SetInput1(
const TInputImage *input)
140 this->SetInput(input);
144 void SetInput2(
const TMaskImage *input)
146 this->SetMaskImage(input);
151 itkSetMacro(OutsideValue,OutputPixelType);
154 itkGetConstMacro(OutsideValue,OutputPixelType);
158 itkSetMacro(InsideValue,OutputPixelType);
161 itkGetConstMacro(InsideValue,OutputPixelType);
164 itkSetMacro(NumberOfHistogramBins,
unsigned int);
165 itkGetConstMacro(NumberOfHistogramBins,
unsigned int);
170 itkSetMacro(AutoMinimumMaximum,
bool);
171 itkGetConstMacro(AutoMinimumMaximum,
bool);
172 itkBooleanMacro(AutoMinimumMaximum);
178 itkSetMacro(MaskOutput,
bool);
179 itkGetConstMacro(MaskOutput,
bool);
180 itkBooleanMacro(MaskOutput);
186 itkSetMacro(MaskValue, MaskPixelType);
187 itkGetConstMacro(MaskValue, MaskPixelType);
191 itkGetConstMacro(Threshold,InputPixelType);
194 itkSetObjectMacro(Calculator, CalculatorType);
195 itkGetModifiableObjectMacro(Calculator, CalculatorType);
198 #ifdef ITK_USE_CONCEPT_CHECKING
213 void PrintSelf(std::ostream& os,
Indent indent)
const;
215 void GenerateInputRequestedRegion();
216 void GenerateData ();
229 void operator=(
const Self&);
235 #ifndef ITK_MANUAL_INSTANTIATION
236 #include "itkHistogramThresholdImageFilter.hxx"