18 #ifndef itkRobustAutomaticThresholdImageFilter_h
19 #define itkRobustAutomaticThresholdImageFilter_h
50 template<
typename TInputImage,
typename TGradientImage = TInputImage,
typename TOutputImage = TInputImage >
92 itkStaticConstMacro(InputImageDimension,
unsigned int,
93 TInputImage::ImageDimension);
94 itkStaticConstMacro(OutputImageDimension,
unsigned int,
95 TOutputImage::ImageDimension);
115 itkSetMacro(Pow,
double);
116 itkGetConstMacro(Pow,
double);
118 #ifdef ITK_USE_CONCEPT_CHECKING
131 this->SetNthInput( 1, const_cast< GradientImageType * >( input ) );
143 this->SetInput(input);
149 this->SetGradientImage(input);
155 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
157 void GenerateInputRequestedRegion() ITK_OVERRIDE;
159 void GenerateData() ITK_OVERRIDE;
171 #ifndef ITK_MANUAL_INSTANTIATION
172 #include "itkRobustAutomaticThresholdImageFilter.hxx"
TGradientImage GradientImageType
TInputImage InputImageType
ImageToImageFilter< TInputImage, TOutputImage > Superclass
TInputImage::PixelType InputPixelType
TInputImage::RegionType InputImageRegionType
Compute the robust automatic threshold.
TInputImage::IndexType InputIndexType
Base class for all process objects that output image data.
~RobustAutomaticThresholdImageFilter() override
void SetInput1(TInputImage *input)
void SetInput2(GradientImageType *input)
TOutputImage::IndexType OutputIndexType
SmartPointer< const Self > ConstPointer
TOutputImage::PixelType OutputPixelType
TGradientImage::PixelType GradientPixelType
TOutputImage::RegionType OutputImageRegionType
TGradientImage::Pointer GradientImagePointer
Threshold an image using robust automatic threshold selection (RATS) method.
TOutputImage::Pointer OutputImagePointer
SmartPointer< Self > Pointer
TOutputImage::SizeType OutputSizeType
DataObject * GetInput(const DataObjectIdentifierType &key)
Return an input.
RobustAutomaticThresholdImageFilter Self
TInputImage::Pointer InputImagePointer
void SetGradientImage(GradientImageType *input)
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
TInputImage::SizeType InputSizeType
GradientImageType * GetGradientImage()
ImageBaseType::SizeType SizeType
#define itkConceptMacro(name, concept)
Base class for all data objects in ITK.
ImageBaseType::IndexType IndexType
RobustAutomaticThresholdCalculator< TInputImage, TGradientImage > CalculatorType