18 #ifndef itkIntensityWindowingImageFilter_h
19 #define itkIntensityWindowingImageFilter_h
30 template<
typename TInput,
typename TOutput >
59 return !( *
this != other );
79 const TOutput result =
static_cast< TOutput
>( value );
120 template<
typename TInputImage,
typename TOutputImage = TInputImage >
124 Functor::IntensityWindowingTransform<
125 typename TInputImage::PixelType,
126 typename TOutputImage::PixelType > >
132 TInputImage, TOutputImage,
134 typename TInputImage::PixelType,
181 itkGetConstReferenceMacro(Scale,
RealType);
182 itkGetConstReferenceMacro(Shift,
RealType);
191 #ifdef ITK_USE_CONCEPT_CHECKING
217 #ifndef ITK_MANUAL_INSTANTIATION
218 #include "itkIntensityWindowingImageFilter.hxx"
InputPixelType m_WindowMinimum
void PrintSelf(std::ostream &os, Indent indent) const override
IntensityWindowingImageFilter Self
UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::IntensityWindowingTransform< typename TInputImage::PixelType, typename TOutputImage::PixelType > > Superclass
NumericTraits< InputPixelType >::RealType RealType
OutputPixelType m_OutputMinimum
void operator=(const Self &)
SmartPointer< const Self > ConstPointer
TOutputImage::PixelType OutputPixelType
Base class for all process objects that output image data.
IntensityWindowingImageFilter()
virtual ~IntensityWindowingImageFilter()
Applies a linear transformation to the intensity levels of the input Image that are inside a user-def...
TInputImage::PixelType InputPixelType
OutputPixelType m_OutputMaximum
InputPixelType m_WindowMaximum
Implements pixel-wise generic operation on one image.
SmartPointer< Self > Pointer
Control indentation during Print() invocation.
Define additional traits for native types such as int or float.
void SetWindowLevel(const InputPixelType &window, const InputPixelType &level)
#define itkConceptMacro(name, concept)
void BeforeThreadedGenerateData(void) override
InputPixelType GetWindow() const
InputPixelType GetLevel() const