18#ifndef itkInvertIntensityImageFilter_h
19#define itkInvertIntensityImageFilter_h
32template <
typename TInput,
typename TOutput>
59 auto result =
static_cast<TOutput
>(m_Maximum - x);
89template <
typename TInputImage,
typename TOutputImage = TInputImage>
94 Functor::InvertIntensityTransform<typename TInputImage::PixelType, typename TOutputImage::PixelType>>
130#ifdef ITK_USE_CONCEPT_CHECKING
145#ifndef ITK_MANUAL_INSTANTIATION
146# include "itkInvertIntensityImageFilter.hxx"
Control indentation during Print() invocation.
Invert the intensity of an image.
typename TInputImage::PixelType InputPixelType
~InvertIntensityImageFilter() override=default
typename NumericTraits< InputPixelType >::RealType RealType
void BeforeThreadedGenerateData() override
typename TOutputImage::PixelType OutputPixelType
InvertIntensityImageFilter()
void PrintSelf(std::ostream &os, Indent indent) const override
Light weight base class for most itk classes.
Define additional traits for native types such as int or float.
static constexpr T max(const T &)
Implements pixel-wise generic operation on one image.
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....