18 #ifndef itkInvertIntensityImageFilter_h
19 #define itkInvertIntensityImageFilter_h
32 template<
typename TInput,
typename TOutput >
54 return !( *
this != other );
59 TOutput result =
static_cast< TOutput
>( m_Maximum - x );
89 template<
typename TInputImage,
typename TOutputImage = TInputImage >
93 Functor::InvertIntensityTransform<
94 typename TInputImage::PixelType,
95 typename TOutputImage::PixelType > >
102 typename TInputImage::PixelType,
123 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
126 void BeforeThreadedGenerateData() ITK_OVERRIDE;
128 #ifdef ITK_USE_CONCEPT_CHECKING
146 #ifndef ITK_MANUAL_INSTANTIATION
147 #include "itkInvertIntensityImageFilter.hxx"
SmartPointer< Self > Pointer
InvertIntensityImageFilter Self
Base class for all process objects that output image data.
UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::InvertIntensityTransform< typename TInputImage::PixelType, typename TOutputImage::PixelType > > Superclass
static ITK_CONSTEXPR_FUNC T max(const T &)
TInputImage::PixelType InputPixelType
SmartPointer< const Self > ConstPointer
virtual ~InvertIntensityImageFilter() override
TOutputImage::PixelType OutputPixelType
Implements pixel-wise generic operation on one image.
Control indentation during Print() invocation.
Define additional traits for native types such as int or float.
#define itkConceptMacro(name, concept)
Invert the intensity of an image.
NumericTraits< InputPixelType >::RealType RealType