|
ITK
6.0.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkInvertIntensityImageFilter_h
19 #define itkInvertIntensityImageFilter_h
32 template <
typename TInput,
typename TOutput>
59 auto result = static_cast<TOutput>(m_Maximum - x);
89 template <
typename TInputImage,
typename TOutputImage = TInputImage>
94 Functor::InvertIntensityTransform<typename TInputImage::PixelType, typename TOutputImage::PixelType>>
124 PrintSelf(std::ostream & os,
Indent indent)
const override;
128 BeforeThreadedGenerateData()
override;
130 #ifdef ITK_USE_CONCEPT_CHECKING
145 #ifndef ITK_MANUAL_INSTANTIATION
146 # include "itkInvertIntensityImageFilter.hxx"
Invert the intensity of an image.
Implements pixel-wise generic operation on one image.
Control indentation during Print() invocation.
Base class for all process objects that output image data.
typename NumericTraits< InputPixelType >::RealType RealType
Define additional traits for native types such as int or float.
static constexpr T max(const T &)
typename TOutputImage::PixelType OutputPixelType
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
typename TInputImage::PixelType InputPixelType