ITK
6.0.0
Insight 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 56 of file itkNormalizedCorrelationImageFilter.h.
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, typename TOutputImage::PixelType > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static double | GetGlobalDefaultCoordinateTolerance () |
static double | GetGlobalDefaultDirectionTolerance () |
static void | SetGlobalDefaultCoordinateTolerance (double) |
static void | SetGlobalDefaultDirectionTolerance (double) |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | ImageDimension = TOutputImage::ImageDimension |
static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | MaskImageDimension = TMaskImage::ImageDimension |
Static Public Attributes inherited from itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, typename TOutputImage::PixelType > | |
static constexpr unsigned int | ImageDimension |
static constexpr unsigned int | InputImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
using itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::ConstPointer = SmartPointer<const Self> |
Definition at line 67 of file itkNormalizedCorrelationImageFilter.h.
using itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::ImageBoundaryConditionPointerType = ImageBoundaryCondition<OutputImageType> * |
Typedef for generic boundary condition pointer.
Definition at line 98 of file itkNormalizedCorrelationImageFilter.h.
using itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::InputImagePointer = typename InputImageType::Pointer |
Definition at line 94 of file itkNormalizedCorrelationImageFilter.h.
using itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::InputImageType = TInputImage |
Image type alias support
Definition at line 91 of file itkNormalizedCorrelationImageFilter.h.
using itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::InputInternalPixelType = typename TInputImage::InternalPixelType |
Definition at line 80 of file itkNormalizedCorrelationImageFilter.h.
using itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::InputPixelType = typename TInputImage::PixelType |
Definition at line 79 of file itkNormalizedCorrelationImageFilter.h.
using itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::MaskImagePointer = typename MaskImageType::Pointer |
Definition at line 95 of file itkNormalizedCorrelationImageFilter.h.
using itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::MaskImageType = TMaskImage |
Definition at line 92 of file itkNormalizedCorrelationImageFilter.h.
using itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::MaskInternalPixelType = typename TMaskImage::InternalPixelType |
Definition at line 82 of file itkNormalizedCorrelationImageFilter.h.
using itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::MaskPixelType = typename TMaskImage::PixelType |
Definition at line 81 of file itkNormalizedCorrelationImageFilter.h.
using itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::OutputImageType = TOutputImage |
Definition at line 93 of file itkNormalizedCorrelationImageFilter.h.
using itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::OutputInternalPixelType = typename TOutputImage::InternalPixelType |
Definition at line 78 of file itkNormalizedCorrelationImageFilter.h.
using itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::OutputPixelType = typename TOutputImage::PixelType |
Extract some information from the image types. Dimensionality of the two images is assumed to be the same.
Definition at line 77 of file itkNormalizedCorrelationImageFilter.h.
using itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::Pointer = SmartPointer<Self> |
Definition at line 66 of file itkNormalizedCorrelationImageFilter.h.
using itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::Self = NormalizedCorrelationImageFilter |
Standard "Self" & Superclass type alias.
Definition at line 63 of file itkNormalizedCorrelationImageFilter.h.
using itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::Superclass = NeighborhoodOperatorImageFilter<TInputImage, TOutputImage, TOperatorValueType> |
Definition at line 64 of file itkNormalizedCorrelationImageFilter.h.
|
protecteddefault |
|
overrideprotecteddefault |
|
overrideprotectedvirtual |
NormalizedCorrelationImageFilter can be implemented as a multithreaded filter. Therefore, this implementation provides a DynamicThreadedGenerateData() routine which is called for each processing thread. The output image data is allocated automatically by the superclass prior to calling DynamicThreadedGenerateData(). DynamicThreadedGenerateData can only write to the portion of the output image specified by the parameter "outputRegionForThread"
Reimplemented from itk::ImageSource< TOutputImage >.
|
overrideprotectedvirtual |
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::ImageToImageFilter< TInputImage, TOutputImage >.
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.
|
overridevirtual |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
static |
Method for creation through the object factory.
|
inlineoverrideprotectedvirtual |
Standard PrintSelf method
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 166 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 123 of file itkNormalizedCorrelationImageFilter.h.
|
staticconstexpr |
Definition at line 87 of file itkNormalizedCorrelationImageFilter.h.
|
staticconstexpr |
Extract some information from the image types. Dimensionality of the two images is assumed to be the same.
Definition at line 86 of file itkNormalizedCorrelationImageFilter.h.
|
staticconstexpr |
Definition at line 88 of file itkNormalizedCorrelationImageFilter.h.