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
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