ITK
4.4.0
Insight Segmentation and Registration Toolkit
|
#include <itkNormalizeImageFilter.h>
Normalize an image by setting its mean to zero and variance to one.
NormalizeImageFilter shifts and scales an image so that the pixels in the image have a zero mean and unit variance. This filter uses StatisticsImageFilter to compute the mean and variance of the input and then applies ShiftScaleImageFilter to shift and scale the pixels.
NB: since this filter normalizes the data to lie within -1 to 1, integral types will produce an image that DOES NOT HAVE a unit variance.
Definition at line 49 of file itkNormalizeImageFilter.h.
Static Public Member Functions | |
static Pointer | New () |
Private Member Functions | |
NormalizeImageFilter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
ShiftScaleImageFilter < TInputImage, TOutputImage > ::Pointer | m_ShiftScaleFilter |
StatisticsImageFilter < TInputImage >::Pointer | m_StatisticsFilter |
typedef SmartPointer< const Self > itk::NormalizeImageFilter< TInputImage, TOutputImage >::ConstPointer |
Definition at line 57 of file itkNormalizeImageFilter.h.
typedef TInputImage::Pointer itk::NormalizeImageFilter< TInputImage, TOutputImage >::InputImagePointer |
Image related typedefs.
Definition at line 63 of file itkNormalizeImageFilter.h.
typedef TOutputImage::Pointer itk::NormalizeImageFilter< TInputImage, TOutputImage >::OutputImagePointer |
Definition at line 67 of file itkNormalizeImageFilter.h.
typedef SmartPointer< Self > itk::NormalizeImageFilter< TInputImage, TOutputImage >::Pointer |
Definition at line 56 of file itkNormalizeImageFilter.h.
typedef NormalizeImageFilter itk::NormalizeImageFilter< TInputImage, TOutputImage >::Self |
Standard Self typedef
Definition at line 54 of file itkNormalizeImageFilter.h.
typedef ImageToImageFilter< TInputImage, TOutputImage > itk::NormalizeImageFilter< TInputImage, TOutputImage >::Superclass |
Definition at line 55 of file itkNormalizeImageFilter.h.
|
protected |
|
private |
|
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.
|
protectedvirtual |
GenerateData.
Reimplemented from itk::ImageSource< TOutputImage >.
|
protectedvirtual |
What is the input requested region that is required to produce the output requested region? The base assumption for image processing filters is that the input requested region can be set to match the output requested region. If a filter requires more input (for instance a filter that uses neighborhoods needs more input than output to avoid introducing artificial boundary conditions) or less input (for instance a magnify filter) will have to override this method. In doing so, it should call its superclass' implementation as its first step. Note that imaging filters operate differently than the classes to this point in the class hierarchy. Up till now, the base assumption has been that the largest possible region will be requested of the input.
This implementation of GenerateInputRequestedRegion() only processes the inputs that are a subclass of the ImageBase<InputImageDimension>. If an input is another type of DataObject (including an Image of a different dimension), they are skipped by this method. The subclasses of ImageToImageFilter are responsible for providing an implementation of GenerateInputRequestedRegion() when there are multiple inputs of different types.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
virtual |
Runtime information support.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
virtual |
NormalizeImageFilter must call modified on its internal filters
Reimplemented from itk::Object.
|
static |
Method for creation through the object factory.
|
private |
|
private |
Definition at line 87 of file itkNormalizeImageFilter.h.
|
private |
Definition at line 85 of file itkNormalizeImageFilter.h.