![]() |
ITK
5.0.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.
Public Types | |
using | ConstPointer = SmartPointer< const Self > |
using | ImageBoundaryConditionPointerType = ImageBoundaryCondition< OutputImageType > * |
using | InputImagePointer = typename InputImageType::Pointer |
using | InputImageType = TInputImage |
using | InputInternalPixelType = typename TInputImage::InternalPixelType |
using | InputPixelType = typename TInputImage::PixelType |
using | MaskImagePointer = typename MaskImageType::Pointer |
using | MaskImageType = TMaskImage |
using | MaskInternalPixelType = typename TMaskImage::InternalPixelType |
using | MaskPixelType = typename TMaskImage::PixelType |
using | OperatorValueType = typename Superclass::OperatorValueType |
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
using | OutputImageType = TOutputImage |
using | OutputInternalPixelType = typename TOutputImage::InternalPixelType |
using | OutputNeighborhoodType = typename Superclass::OutputNeighborhoodType |
using | OutputPixelType = typename TOutputImage::PixelType |
using | Pointer = SmartPointer< Self > |
using | Self = NormalizedCorrelationImageFilter |
using | Superclass = NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType > |
![]() | |
using | ComputingPixelType = typename NumericTraits< OutputPixelType >::RealType |
using | ConstPointer = SmartPointer< const Self > |
using | DefaultBoundaryCondition = ZeroFluxNeumannBoundaryCondition< InputImageType > |
using | ImageBoundaryConditionPointerType = ImageBoundaryCondition< InputImageType > * |
using | InputImagePointer = typename InputImageType::Pointer |
using | InputImageType = TInputImage |
using | InputInternalPixelType = typename TInputImage::InternalPixelType |
using | InputPixelType = typename TInputImage::PixelType |
using | InputPixelValueType = typename NumericTraits< InputPixelType >::ValueType |
using | OperatorValueType = TOperatorValueType |
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
using | OutputImageType = TOutputImage |
using | OutputInternalPixelType = typename TOutputImage::InternalPixelType |
using | OutputNeighborhoodType = Neighborhood< OperatorValueType, Self::ImageDimension > |
using | OutputPixelType = typename TOutputImage::PixelType |
using | Pointer = SmartPointer< Self > |
using | Self = NeighborhoodOperatorImageFilter |
using | Superclass = ImageToImageFilter< TInputImage, TOutputImage > |
![]() | |
using | ConstPointer = SmartPointer< const Self > |
using | InputImageConstPointer = typename InputImageType::ConstPointer |
using | InputImagePixelType = typename InputImageType::PixelType |
using | InputImagePointer = typename InputImageType::Pointer |
using | InputImageRegionType = typename InputImageType::RegionType |
using | InputImageType = TInputImage |
using | OutputImagePixelType = typename Superclass::OutputImagePixelType |
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
using | Pointer = SmartPointer< Self > |
using | Self = ImageToImageFilter |
using | Superclass = ImageSource< TOutputImage > |
![]() | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = Superclass::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArraySizeType = Superclass::DataObjectPointerArraySizeType |
using | OutputImagePixelType = typename OutputImageType::PixelType |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageRegionType = typename OutputImageType::RegionType |
using | OutputImageType = TOutputImage |
using | Pointer = SmartPointer< Self > |
using | Self = ImageSource |
using | Superclass = ProcessObject |
![]() | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = DataObject::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArray = std::vector< DataObjectPointer > |
using | DataObjectPointerArraySizeType = DataObjectPointerArray::size_type |
using | MultiThreaderType = MultiThreaderBase |
using | NameArray = std::vector< DataObjectIdentifierType > |
using | Pointer = SmartPointer< Self > |
using | Self = ProcessObject |
using | Superclass = Object |
![]() | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = Object |
using | Superclass = LightObject |
![]() | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightObject |
Static Public Member Functions | |
static Pointer | New () |
![]() | |
static Pointer | New () |
![]() | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
![]() | |
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 = TOutputImage::ImageDimension |
static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
![]() | |
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 = ImageToImageFilterDetail::ImageRegionCopier< Self::OutputImageDimension, Self::InputImageDimension > |
using | OutputToInputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::InputImageDimension, Self::OutputImageDimension > |
![]() | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION | ThreaderCallback (void *arg) |
![]() | |
bool | m_DynamicMultiThreading |
![]() | |
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 63 of file itkNormalizedCorrelationImageFilter.h.
using itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::ImageBoundaryConditionPointerType = ImageBoundaryCondition< OutputImageType > * |
Typedef for generic boundary condition pointer.
Definition at line 94 of file itkNormalizedCorrelationImageFilter.h.
using itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::InputImagePointer = typename InputImageType::Pointer |
Definition at line 90 of file itkNormalizedCorrelationImageFilter.h.
using itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::InputImageType = TInputImage |
Image type alias support
Definition at line 87 of file itkNormalizedCorrelationImageFilter.h.
using itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::InputInternalPixelType = typename TInputImage::InternalPixelType |
Definition at line 76 of file itkNormalizedCorrelationImageFilter.h.
using itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::InputPixelType = typename TInputImage::PixelType |
Definition at line 75 of file itkNormalizedCorrelationImageFilter.h.
using itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::MaskImagePointer = typename MaskImageType::Pointer |
Definition at line 91 of file itkNormalizedCorrelationImageFilter.h.
using itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::MaskImageType = TMaskImage |
Definition at line 88 of file itkNormalizedCorrelationImageFilter.h.
using itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::MaskInternalPixelType = typename TMaskImage::InternalPixelType |
Definition at line 78 of file itkNormalizedCorrelationImageFilter.h.
using itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::MaskPixelType = typename TMaskImage::PixelType |
Definition at line 77 of file itkNormalizedCorrelationImageFilter.h.
using itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::OperatorValueType = typename Superclass::OperatorValueType |
Definition at line 98 of file itkNormalizedCorrelationImageFilter.h.
using itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::OutputImageRegionType = typename Superclass::OutputImageRegionType |
Superclass type alias.
Definition at line 97 of file itkNormalizedCorrelationImageFilter.h.
using itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::OutputImageType = TOutputImage |
Definition at line 89 of file itkNormalizedCorrelationImageFilter.h.
using itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::OutputInternalPixelType = typename TOutputImage::InternalPixelType |
Definition at line 74 of file itkNormalizedCorrelationImageFilter.h.
using itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::OutputNeighborhoodType = typename Superclass::OutputNeighborhoodType |
Neighborhood types
Definition at line 101 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 73 of file itkNormalizedCorrelationImageFilter.h.
using itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::Pointer = SmartPointer< Self > |
Definition at line 62 of file itkNormalizedCorrelationImageFilter.h.
using itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::Self = NormalizedCorrelationImageFilter |
Standard "Self" & Superclass type alias.
Definition at line 58 of file itkNormalizedCorrelationImageFilter.h.
using itk::NormalizedCorrelationImageFilter< TInputImage, TMaskImage, TOutputImage, TOperatorValueType >::Superclass = NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType > |
Definition at line 60 of file itkNormalizedCorrelationImageFilter.h.
|
protecteddefault |
|
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, TOperatorValueType >.
|
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, TOperatorValueType >.
|
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, 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.
|
inlineoverrideprotectedvirtual |
Standard PrintSelf method
Reimplemented from itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType >.
Definition at line 160 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 116 of file itkNormalizedCorrelationImageFilter.h.
|
static |
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 82 of file itkNormalizedCorrelationImageFilter.h.
|
static |
Definition at line 84 of file itkNormalizedCorrelationImageFilter.h.