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,
153 itkSetMacro(OutputMinimum, OutputPixelType);
154 itkSetMacro(OutputMaximum, OutputPixelType);
155 itkGetConstReferenceMacro(OutputMinimum, OutputPixelType);
156 itkGetConstReferenceMacro(OutputMaximum, OutputPixelType);
161 itkSetMacro(WindowMinimum, InputPixelType);
162 itkSetMacro(WindowMaximum, InputPixelType);
163 itkGetConstReferenceMacro(WindowMinimum, InputPixelType);
164 itkGetConstReferenceMacro(WindowMaximum, InputPixelType);
171 void SetWindowLevel(
const InputPixelType & window,
172 const InputPixelType & level);
174 InputPixelType GetWindow()
const;
176 InputPixelType GetLevel()
const;
181 itkGetConstReferenceMacro(Scale, RealType);
182 itkGetConstReferenceMacro(Shift, RealType);
186 void BeforeThreadedGenerateData(
void) ITK_OVERRIDE;
189 void PrintSelf(
std::ostream & os,
Indent indent) const ITK_OVERRIDE;
191 #ifdef ITK_USE_CONCEPT_CHECKING 204 void operator=(
const Self &) ITK_DELETE_FUNCTION;
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
NumericTraits< InputPixelType >::RealType RealType
OutputPixelType m_OutputMinimum
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
SmartPointer< const Self > ConstPointer
TOutputImage::PixelType OutputPixelType
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
bool NotExactlyEquals(const TInput1 &x1, const TInput2 &x2)
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.
#define itkConceptMacro(name, concept)