ITK
4.12.0
Insight Segmentation and Registration Toolkit
|
#include <itkIntensityWindowingImageFilter.h>
Applies a linear transformation to the intensity levels of the input Image that are inside a user-defined interval. Values below this interval are mapped to a constant. Values over the interval are mapped to another constant.
IntensityWindowingImageFilter applies pixel-wise a linear transformation to the intensity values of input image pixels. The linear transformation is defined by the user in terms of the minimum and maximum values that the output image should have and the lower and upper limits of the intensity window of the input image. This operation is very common in visualization, and can also be applied as a convenient preprocessing operation for image segmentation.
All computations are performed in the precison of the input pixel's RealType. Before assigning the computed value to the output pixel.
Definition at line 121 of file itkIntensityWindowingImageFilter.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef TInputImage::PixelType | InputPixelType |
typedef TOutputImage::PixelType | OutputPixelType |
typedef SmartPointer< Self > | Pointer |
typedef NumericTraits < InputPixelType >::RealType | RealType |
typedef IntensityWindowingImageFilter | Self |
typedef UnaryFunctorImageFilter < TInputImage, TOutputImage, Functor::IntensityWindowingTransform < typename TInputImage::PixelType, typename TOutputImage::PixelType > > | Superclass |
Public Types inherited from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::IntensityWindowingTransform< TInputImage::PixelType, TOutputImage::PixelType > > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Functor::IntensityWindowingTransform < TInputImage::PixelType, TOutputImage::PixelType > | FunctorType |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::ConstPointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TInputImage | InputImageType |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef UnaryFunctorImageFilter | Self |
typedef InPlaceImageFilter < TInputImage, TOutputImage > | Superclass |
Public Types inherited from itk::InPlaceImageFilter< TInputImage, TOutputImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TInputImage | InputImageType |
typedef Superclass::OutputImagePixelType | OutputImagePixelType |
typedef Superclass::OutputImagePointer | OutputImagePointer |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef Superclass::OutputImageType | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef InPlaceImageFilter | Self |
typedef ImageToImageFilter < TInputImage, TOutputImage > | Superclass |
Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TInputImage | InputImageType |
typedef Superclass::OutputImagePixelType | OutputImagePixelType |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef SmartPointer< Self > | Pointer |
typedef ImageToImageFilter | Self |
typedef ImageSource< TOutputImage > | Superclass |
Public Types inherited from itk::ImageSource< TOutputImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef Superclass::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef ImageSource | Self |
typedef ProcessObject | Superclass |
Public Types inherited from itk::ProcessObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef DataObject::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef std::vector < DataObjectPointer > | DataObjectPointerArray |
typedef DataObjectPointerArray::size_type | DataObjectPointerArraySizeType |
typedef std::vector < DataObjectIdentifierType > | NameArray |
typedef SmartPointer< Self > | Pointer |
typedef ProcessObject | Self |
typedef Object | Superclass |
Public Types inherited from itk::Object | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Object | Self |
typedef LightObject | Superclass |
Public Types inherited from itk::LightObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightObject | Self |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::IntensityWindowingTransform< TInputImage::PixelType, TOutputImage::PixelType > > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Private Attributes | |
OutputPixelType | m_OutputMaximum |
OutputPixelType | m_OutputMinimum |
RealType | m_Scale |
RealType | m_Shift |
InputPixelType | m_WindowMaximum |
InputPixelType | m_WindowMinimum |
Additional Inherited Members | |
Static Public Attributes inherited from itk::InPlaceImageFilter< TInputImage, TOutputImage > | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension) > | InputToOutputRegionCopierType |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension) > | OutputToInputRegionCopierType |
Static Protected Member Functions inherited from itk::ImageSource< TOutputImage > | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
Protected Attributes inherited from itk::LightObject | |
AtomicInt< int > | m_ReferenceCount |
typedef SmartPointer< const Self > itk::IntensityWindowingImageFilter< TInputImage, TOutputImage >::ConstPointer |
Definition at line 138 of file itkIntensityWindowingImageFilter.h.
typedef TInputImage::PixelType itk::IntensityWindowingImageFilter< TInputImage, TOutputImage >::InputPixelType |
Definition at line 141 of file itkIntensityWindowingImageFilter.h.
typedef TOutputImage::PixelType itk::IntensityWindowingImageFilter< TInputImage, TOutputImage >::OutputPixelType |
Definition at line 140 of file itkIntensityWindowingImageFilter.h.
typedef SmartPointer< Self > itk::IntensityWindowingImageFilter< TInputImage, TOutputImage >::Pointer |
Definition at line 137 of file itkIntensityWindowingImageFilter.h.
typedef NumericTraits< InputPixelType >::RealType itk::IntensityWindowingImageFilter< TInputImage, TOutputImage >::RealType |
Definition at line 142 of file itkIntensityWindowingImageFilter.h.
typedef IntensityWindowingImageFilter itk::IntensityWindowingImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Definition at line 130 of file itkIntensityWindowingImageFilter.h.
typedef UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::IntensityWindowingTransform< typename TInputImage::PixelType, typename TOutputImage::PixelType > > itk::IntensityWindowingImageFilter< TInputImage, TOutputImage >::Superclass |
Definition at line 135 of file itkIntensityWindowingImageFilter.h.
|
protected |
|
inlineprotectedvirtual |
Definition at line 199 of file itkIntensityWindowingImageFilter.h.
|
overridevirtual |
Process to execute before entering the multithreaded section.
Reimplemented from itk::ImageSource< TOutputImage >.
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
InputPixelType itk::IntensityWindowingImageFilter< TInputImage, TOutputImage >::GetLevel | ( | ) | const |
|
virtual |
Runtime information support.
Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::IntensityWindowingTransform< TInputImage::PixelType, TOutputImage::PixelType > >.
|
virtual |
Set/Get the values of the maximum and minimum intensities of the output image.
|
virtual |
Set/Get the values of the maximum and minimum intensities of the output image.
|
virtual |
Get the Scale and Shift used for the linear transformation of gray level values.
|
virtual |
Get the Scale and Shift used for the linear transformation of gray level values.
InputPixelType itk::IntensityWindowingImageFilter< TInputImage, TOutputImage >::GetWindow | ( | ) | const |
|
virtual |
Set/Get the values of the maximum and minimum intensities of the input intensity window.
|
virtual |
Set/Get the values of the maximum and minimum intensities of the input intensity window.
|
static |
Method for creation through the object factory.
|
overridevirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
|
virtual |
Set/Get the values of the maximum and minimum intensities of the output image.
|
virtual |
Set/Get the values of the maximum and minimum intensities of the output image.
void itk::IntensityWindowingImageFilter< TInputImage, TOutputImage >::SetWindowLevel | ( | const InputPixelType & | window, |
const InputPixelType & | level | ||
) |
Set/Get the window width and level. This is an alternative API to using the SetWindowMinimum()/SetWindowMaximum(). The window minimum and maximum are set as [level-window/2, level+window/2].
|
virtual |
Set/Get the values of the maximum and minimum intensities of the input intensity window.
|
virtual |
Set/Get the values of the maximum and minimum intensities of the input intensity window.
|
private |
Definition at line 211 of file itkIntensityWindowingImageFilter.h.
|
private |
Definition at line 210 of file itkIntensityWindowingImageFilter.h.
|
private |
Definition at line 202 of file itkIntensityWindowingImageFilter.h.
|
private |
Definition at line 205 of file itkIntensityWindowingImageFilter.h.
|
private |
Definition at line 208 of file itkIntensityWindowingImageFilter.h.
|
private |
Definition at line 207 of file itkIntensityWindowingImageFilter.h.