18 #ifndef __itkIntensityWindowingImageFilter_h
19 #define __itkIntensityWindowingImageFilter_h
30 template<
typename TInput,
typename TOutput >
53 return !( *
this != other );
73 const TOutput result =
static_cast< TOutput
>( value );
114 template<
typename TInputImage,
typename TOutputImage = TInputImage >
118 Functor::IntensityWindowingTransform<
119 typename TInputImage::PixelType,
120 typename TOutputImage::PixelType > >
126 TInputImage, TOutputImage,
128 typename TInputImage::PixelType,
175 itkGetConstReferenceMacro(Scale,
RealType);
176 itkGetConstReferenceMacro(Shift,
RealType);
185 #ifdef ITK_USE_CONCEPT_CHECKING
211 #ifndef ITK_MANUAL_INSTANTIATION
212 #include "itkIntensityWindowingImageFilter.hxx"
InputPixelType m_WindowMinimum
IntensityWindowingImageFilter Self
UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::IntensityWindowingTransform< typename TInputImage::PixelType, typename TOutputImage::PixelType > > Superclass
void BeforeThreadedGenerateData(void)
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.
void PrintSelf(std::ostream &os, Indent indent) const
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)
InputPixelType GetWindow() const
InputPixelType GetLevel() const