ITK
4.3.0
Insight Segmentation and Registration Toolkit
|
#include <itkNormalizedCorrelationImageFilter.h>
Computes the normalized correlation of an image and a template.
This filter calculates the normalized correlation between an image and the template. Normalized correlation is frequently use in feature detection because it is invariant to local changes in contrast.
The filter can be given a mask. When presented with an input image and a mask, the normalized correlation is only calculated at those pixels under the mask.
Definition at line 51 of file itkNormalizedCorrelationImageFilter.h.
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType > | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | ImageDimension = TOutputImage::ImageDimension |
static const unsigned int | MaskImageDimension = TMaskImage::ImageDimension |
Static Public Attributes inherited from itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType > | |
static const unsigned int | ImageDimension = TOutputImage::ImageDimension |
static const unsigned int | InputImageDimension = TInputImage::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 |
Private Member Functions | |
NormalizedCorrelationImageFilter (const Self &) | |
void | operator= (const Self &) |
Additional Inherited Members | |
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 ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
typedef SmartPointer< const Self > itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::ConstPointer |
Definition at line 61 of file itkNormalizedCorrelationImageFilter.h.
typedef ImageBoundaryCondition< OutputImageType >* itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::ImageBoundaryConditionPointerType |
Typedef for generic boundary condition pointer.
Definition at line 96 of file itkNormalizedCorrelationImageFilter.h.
typedef InputImageType::Pointer itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::InputImagePointer |
Definition at line 92 of file itkNormalizedCorrelationImageFilter.h.
typedef TInputImage itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::InputImageType |
Image typedef support.
Definition at line 89 of file itkNormalizedCorrelationImageFilter.h.
typedef TInputImage::InternalPixelType itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::InputInternalPixelType |
Definition at line 74 of file itkNormalizedCorrelationImageFilter.h.
typedef TInputImage::PixelType itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::InputPixelType |
Definition at line 73 of file itkNormalizedCorrelationImageFilter.h.
typedef MaskImageType::Pointer itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::MaskImagePointer |
Definition at line 93 of file itkNormalizedCorrelationImageFilter.h.
typedef TMaskImage itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::MaskImageType |
Definition at line 90 of file itkNormalizedCorrelationImageFilter.h.
typedef TMaskImage::InternalPixelType itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::MaskInternalPixelType |
Definition at line 76 of file itkNormalizedCorrelationImageFilter.h.
typedef TMaskImage::PixelType itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::MaskPixelType |
Definition at line 75 of file itkNormalizedCorrelationImageFilter.h.
typedef Superclass::OperatorValueType itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::OperatorValueType |
Definition at line 100 of file itkNormalizedCorrelationImageFilter.h.
typedef Superclass::OutputImageRegionType itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::OutputImageRegionType |
Superclass typedefs.
Definition at line 99 of file itkNormalizedCorrelationImageFilter.h.
typedef TOutputImage itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::OutputImageType |
Definition at line 91 of file itkNormalizedCorrelationImageFilter.h.
typedef TOutputImage::InternalPixelType itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::OutputInternalPixelType |
Definition at line 72 of file itkNormalizedCorrelationImageFilter.h.
typedef Superclass::OutputNeighborhoodType itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::OutputNeighborhoodType |
Neighborhood types
Definition at line 103 of file itkNormalizedCorrelationImageFilter.h.
typedef TOutputImage::PixelType itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::OutputPixelType |
Extract some information from the image types. Dimensionality of the two images is assumed to be the same.
Definition at line 67 of file itkNormalizedCorrelationImageFilter.h.
typedef SmartPointer< Self > itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::Pointer |
Definition at line 60 of file itkNormalizedCorrelationImageFilter.h.
typedef NormalizedCorrelationImageFilter itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::Self |
Standard "Self" & Superclass typedef.
Definition at line 56 of file itkNormalizedCorrelationImageFilter.h.
typedef NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType > itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::Superclass |
Definition at line 58 of file itkNormalizedCorrelationImageFilter.h.
|
inlineprotected |
End concept checking
Definition at line 139 of file itkNormalizedCorrelationImageFilter.h.
|
inlineprotectedvirtual |
Definition at line 140 of file itkNormalizedCorrelationImageFilter.h.
|
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::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >.
|
protectedvirtual |
NormalizedCorrelationImageFilter needs to request enough of an input image to account for template size. The input requested region is expanded by the radius of the template. If the request extends past the LargestPossibleRegion for the input, the request is cropped by the LargestPossibleRegion.
Reimplemented from itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >.
const TMaskImage* itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::GetMaskImage | ( | ) | const |
Get the mask image. Using a mask is optional. When a mask is specified, the normalized correlation is only calculated for those pixels under the mask.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >.
|
static |
Method for creation through the object factory.
|
private |
|
inlineprotectedvirtual |
Standard PrintSelf method
Reimplemented from itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >.
Definition at line 165 of file itkNormalizedCorrelationImageFilter.h.
void itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::SetMaskImage | ( | const TMaskImage * | mask | ) |
Set the mask image. Using a mask is optional. When a mask is specified, the normalized correlation is only calculated for those pixels under the mask.
|
inline |
Set the template used in the calculation of the normalized correlation. The elements of the template must be set prior to calling SetTemplate().
Definition at line 118 of file itkNormalizedCorrelationImageFilter.h.
|
protectedvirtual |
NormalizedCorrelationImageFilter can be implemented as a multithreaded filter. Therefore, this implementation provides a ThreadedGenerateData() routine which is called for each processing thread. The output image data is allocated automatically by the superclass prior to calling ThreadedGenerateData(). ThreadedGenerateData can only write to the portion of the output image specified by the parameter "outputRegionForThread"
Reimplemented from itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >.
itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::typedef | ( | Concept::SameDimension< InputImageDimension, MaskImageDimension > | ) |
Begin concept checking This class requires SameDimensionCheck in the form of ( Concept::SameDimension< InputImageDimension, MaskImageDimension > )
itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::typedef | ( | Concept::HasNumericTraits< OutputPixelType > | ) |
This class requires OutputHasNumericTraitsCheck in the form of ( Concept::HasNumericTraits< OutputPixelType > )
itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::typedef | ( | Concept::HasNumericTraits< OperatorValueType > | ) |
This class requires OperatorHasNumericTraitsCheck in the form of ( Concept::HasNumericTraits< OperatorValueType > )
itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::typedef | ( | Concept::Signed< OutputPixelType > | ) |
This class requires SignedOutputPixelType in the form of ( Concept::Signed< OutputPixelType > )
|
static |
Extract some information from the image types. Dimensionality of the two images is assumed to be the same.
Definition at line 83 of file itkNormalizedCorrelationImageFilter.h.
|
static |
Extract some information from the image types. Dimensionality of the two images is assumed to be the same.
Definition at line 81 of file itkNormalizedCorrelationImageFilter.h.
|
static |
Extract some information from the image types. Dimensionality of the two images is assumed to be the same.
Definition at line 85 of file itkNormalizedCorrelationImageFilter.h.