18#ifndef itkReplaceNonFiniteImageFilter_h
19#define itkReplaceNonFiniteImageFilter_h
33template <
typename TInput,
typename TOutput>
63 return !(*
this != other);
69 if (Math::isfinite(input))
92template <
typename TInputImage,
typename TOutputImage = TInputImage>
97 Functor::ReplaceNonFinite<typename TInputImage::PixelType, typename TOutputImage::PixelType>>
Replaces a non-finite value with a finite one.
OutputType m_ReplacementValue
bool operator==(const ReplaceNonFinite &other) const
const OutputType & GetReplacementValue() const
ReplaceNonFinite()=default
bool operator!=(const ReplaceNonFinite &other) const
~ReplaceNonFinite()=default
void SetReplacementValue(const OutputType &value)
OutputType operator()(const InputType &input) const
UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::ReplaceNonFinite< typename TInputImage::PixelType, typename TOutputImage::PixelType > > Superclass
SmartPointer< Self > Pointer
ReplaceNonFiniteImageFilter Self
SmartPointer< const Self > ConstPointer
~ReplaceNonFiniteImageFilter() override=default
ReplaceNonFiniteImageFilter()=default
Implements transparent reference counting.
UnaryFunctorImageFilter()
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....