#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 Pointer | New () |
![]() | |
static double | GetGlobalDefaultCoordinateTolerance () |
static double | GetGlobalDefaultDirectionTolerance () |
static void | SetGlobalDefaultCoordinateTolerance (double) |
static void | SetGlobalDefaultDirectionTolerance (double) |
![]() | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
![]() | |
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 constexpr unsigned int | ImageDimension |
static constexpr unsigned int | InputImageDimension |
![]() | |
static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
![]() | |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Additional Inherited Members | |
![]() | |
using | InputToOutputRegionCopierType |
using | OutputToInputRegionCopierType |
![]() | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION | ThreaderCallback (void *arg) |
![]() | |
template<typename TSourceObject> | |
static void | MakeRequiredOutputs (TSourceObject &sourceObject, const DataObjectPointerArraySizeType numberOfRequiredOutputs) |
static constexpr float | progressFixedToFloat (uint32_t fixed) |
static uint32_t | progressFloatToFixed (float f) |
![]() | |
bool | m_DynamicMultiThreading { true } |
![]() | |
TimeStamp | m_OutputInformationMTime {} |
bool | m_Updating {} |
![]() | |
std::atomic< int > | m_ReferenceCount {} |
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::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::OperatorValueType |
Definition at line 74 of file itkNeighborhoodOperatorImageFilter.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::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::OutputNeighborhoodType |
Neighborhood types
Definition at line 99 of file itkNeighborhoodOperatorImageFilter.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 |
Referenced by GetNameOfClass().
|
overrideprotecteddefault |
|
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, typename TOutputImage::PixelType >.
|
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::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, typename TOutputImage::PixelType >.
|
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::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, typename TOutputImage::PixelType >.
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::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, typename TOutputImage::PixelType >.
References NormalizedCorrelationImageFilter().
|
static |
Method for creation through the object factory.
|
inlineoverrideprotectedvirtual |
Standard PrintSelf method
Reimplemented from itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, typename TOutputImage::PixelType >.
Definition at line 162 of file itkNormalizedCorrelationImageFilter.h.
References itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >::PrintSelf().
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.