ITK  4.2.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes
itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage > Class Template Reference

#include <itkMaskedFFTNormalizedCorrelationImageFilter.h>

+ Inheritance diagram for itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >:
+ Collaboration diagram for itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef FFTImageType::Pointer FFTImagePointer
typedef Image< std::complex
< RealPixelType >
, ImageDimension
FFTImageType
typedef
InputImageType::ConstPointer 
InputImageConstPointer
typedef InputImageType::Pointer InputImagePointer
typedef TInputImage InputImageType
typedef InputImageType::RegionType InputRegionType
typedef InputImageType::SizeType InputSizeType
typedef OutputImageType::Pointer OutputImagePointer
typedef TOutputImage OutputImageType
typedef OutputImageType::PixelType OutputPixelType
typedef SmartPointer< SelfPointer
typedef RealImageType::Pointer RealImagePointer
typedef Image< RealPixelType,
ImageDimension
RealImageType
typedef RealImageType::IndexType RealIndexType
typedef OutputPixelType RealPixelType
typedef RealImageType::RegionType RealRegionType
typedef RealImageType::SizeType RealSizeType
typedef
MaskedFFTNormalizedCorrelationImageFilter 
Self
typedef ImageToImageFilter
< TInputImage, TOutputImage > 
Superclass
- Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
typedef InputImageType::PixelType InputImagePixelType
typedef InputImageType::RegionType InputImageRegionType
typedef
Superclass::OutputImagePixelType 
OutputImagePixelType
typedef
Superclass::OutputImageRegionType 
OutputImageRegionType
- Public Types inherited from itk::ImageSource< TOutputImage >
typedef
Superclass::DataObjectIdentifierType 
DataObjectIdentifierType
typedef DataObject::Pointer DataObjectPointer
typedef
Superclass::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
- Public Types inherited from itk::ProcessObject
typedef std::vector
< DataObjectPointer
DataObjectPointerArray
typedef std::vector
< DataObjectIdentifierType
NameArray
- Public Types inherited from itk::Object
- Public Types inherited from itk::LightObject

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const char * GetNameOfClass () const
 typedef (Concept::IsFloatingPoint< OutputPixelType >) OutputPixelTypeIsFloatingPointCheck
void SetFixedImage (const InputImageType *input)
InputImageTypeGetFixedImage ()
void SetMovingImage (const InputImageType *input)
InputImageTypeGetMovingImage ()
void SetFixedImageMask (const InputImageType *input)
InputImageTypeGetFixedImageMask ()
void SetMovingImageMask (const InputImageType *input)
InputImageTypeGetMovingImageMask ()
virtual void SetRequiredNumberOfOverlappingPixels (SizeValueType _arg)
virtual SizeValueType GetRequiredNumberOfOverlappingPixels ()
- Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
const InputImageTypeGetInput (void) const
const InputImageTypeGetInput (unsigned int idx) const
virtual void PopBackInput ()
virtual void PopFrontInput ()
virtual void PushBackInput (const InputImageType *image)
virtual void PushFrontInput (const InputImageType *image)
virtual void SetInput (const InputImageType *image)
virtual void SetInput (unsigned int, const TInputImage *image)
- Public Member Functions inherited from itk::ImageSource< TOutputImage >
OutputImageTypeGetOutput (unsigned int idx)
virtual void GraftNthOutput (unsigned int idx, DataObject *output)
virtual void GraftOutput (DataObject *output)
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *output)
OutputImageTypeGetOutput (void)
const OutputImageTypeGetOutput (void) const
virtual
ProcessObject::DataObjectPointer 
MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx)
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
virtual void AbortGenerateDataOn ()
virtual void EnlargeOutputRequestedRegion (DataObject *)
virtual const bool & GetAbortGenerateData ()
NameArray GetInputNames () const
MultiThreader * GetMultiThreader () const
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
DataObjectPointerArraySizeType GetNumberOfInputs () const
DataObjectPointerArraySizeType GetNumberOfOutputs () const
virtual
DataObjectPointerArraySizeType 
GetNumberOfValidRequiredInputs () const
NameArray GetOutputNames () const
virtual const float & GetProgress ()
NameArray GetRequiredInputNames () const
bool HasInput (const DataObjectIdentifierType &key) const
bool HasOutput (const DataObjectIdentifierType &key) const
virtual DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
virtual void PrepareOutputs ()
virtual void PropagateRequestedRegion (DataObject *output)
virtual void ResetPipeline ()
virtual void SetAbortGenerateData (bool _arg)
virtual void SetProgress (float _arg)
virtual void Update ()
virtual void UpdateLargestPossibleRegion ()
virtual void UpdateOutputData (DataObject *output)
virtual void UpdateOutputInformation ()
void UpdateProgress (float amount)
DataObjectPointerArray GetInputs ()
DataObjectPointerArray GetOutputs ()
DataObjectPointerArray GetIndexedInputs ()
DataObjectPointerArray GetIndexedOutputs ()
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
virtual void SetReleaseDataFlag (bool flag)
virtual bool GetReleaseDataFlag () const
void ReleaseDataFlagOn ()
void ReleaseDataFlagOff ()
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
virtual const bool & GetReleaseDataBeforeUpdateFlag ()
virtual void ReleaseDataBeforeUpdateFlagOn ()
virtual void ReleaseDataBeforeUpdateFlagOff ()
virtual void SetNumberOfThreads (ThreadIdType _arg)
virtual const ThreadIdTypeGetNumberOfThreads ()
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
unsigned long AddObserver (const EventObject &event, Command *) const
virtual void DebugOff () const
virtual void DebugOn () const
CommandGetCommand (unsigned long tag)
bool GetDebug () const
MetaDataDictionaryGetMetaDataDictionary (void)
const MetaDataDictionaryGetMetaDataDictionary (void) const
virtual unsigned long GetMTime () const
virtual const TimeStampGetTimeStamp () const
bool HasObserver (const EventObject &event) const
void InvokeEvent (const EventObject &)
void InvokeEvent (const EventObject &) const
virtual void Modified () const
virtual void Register () const
void RemoveAllObservers ()
void RemoveObserver (unsigned long tag)
void SetDebug (bool debugFlag) const
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
virtual void SetReferenceCount (int)
virtual void UnRegister () const
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
virtual int GetReferenceCount () const
 itkCloneMacro (Self)
void Print (std::ostream &os, Indent indent=0) const

Static Public Member Functions

static Pointer New ()

Static Public Attributes

static const unsigned int ImageDimension = TOutputImage::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 >

Protected Member Functions

template<class LocalInputImageType , class LocalOutputImageType >
LocalOutputImageType::Pointer CalculateForwardFFT (LocalInputImageType *inputImage, InputSizeType &FFTImageSize)
template<class LocalInputImageType , class LocalOutputImageType >
LocalOutputImageType::Pointer CalculateInverseFFT (LocalInputImageType *inputImage, RealSizeType &combinedImageSize)
template<class LocalInputImageType >
double CalculatePrecisionTolerance (LocalInputImageType *inputImage)
template<class LocalInputImageType >
LocalInputImageType::Pointer ElementPositive (LocalInputImageType *inputImage)
template<class LocalInputImageType , class LocalOutputImageType >
LocalOutputImageType::Pointer ElementProduct (LocalInputImageType *inputImage1, LocalInputImageType *inputImage2)
template<class LocalInputImageType >
LocalInputImageType::Pointer ElementQuotient (LocalInputImageType *inputImage1, LocalInputImageType *inputImage2)
template<class LocalInputImageType , class LocalOutputImageType >
LocalOutputImageType::Pointer ElementRound (LocalInputImageType *inputImage)
template<class LocalInputImageType >
LocalInputImageType::Pointer ElementSubtraction (LocalInputImageType *inputImage1, LocalInputImageType *inputImage2)
int FactorizeNumber (int n)
int FindClosestValidDimension (int n)
void GenerateData ()
virtual void GenerateInputRequestedRegion ()
void GenerateOutputInformation ()
 MaskedFFTNormalizedCorrelationImageFilter ()
template<class LocalInputImageType >
LocalInputImageType::Pointer PreProcessImage (const LocalInputImageType *inputImage, LocalInputImageType *inputMask)
template<class LocalInputImageType >
LocalInputImageType::Pointer PreProcessMask (const LocalInputImageType *inputImage, const LocalInputImageType *inputMask)
void PrintSelf (std::ostream &os, Indent indent) const
TInputImage::Pointer RotateImage (InputImageType *inputImage)
void VerifyInputInformation ()
virtual ~MaskedFFTNormalizedCorrelationImageFilter ()
- Protected Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
virtual void CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
virtual void CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
 ImageToImageFilter ()
 ~ImageToImageFilter ()
void PushBackInput (const DataObject *input)
void PushFrontInput (const DataObject *input)
- Protected Member Functions inherited from itk::ImageSource< TOutputImage >
virtual void AfterThreadedGenerateData ()
virtual void AllocateOutputs ()
virtual void BeforeThreadedGenerateData ()
 ImageSource ()
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int num, OutputImageRegionType &splitRegion)
virtual void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
virtual ~ImageSource ()
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
virtual void AddOutput (DataObject *output)
bool AddRequiredInputName (const DataObjectIdentifierType &)
virtual void CacheInputReleaseDataFlags ()
virtual void GenerateOutputRequestedRegion (DataObject *output)
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredInputs ()
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs ()
bool IsIndexedName (const DataObjectIdentifierType &) const
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 itkLegacyMacro (virtual void RemoveInput(DataObject *input))
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
DataObjectPointerArraySizeType MakeIndexFromName (const DataObjectIdentifierType &) const
DataObjectIdentifierType MakeNameFromIndex (DataObjectPointerArraySizeType) const
 ProcessObject ()
virtual void PropagateResetPipeline ()
virtual void ReleaseInputs ()
virtual void RemoveInput (const DataObjectIdentifierType &key)
virtual void RemoveInput (DataObjectPointerArraySizeType)
virtual void RemoveOutput (const DataObjectIdentifierType &key)
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
virtual void RestoreInputReleaseDataFlags ()
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
virtual void SetNthInput (DataObjectPointerArraySizeType num, DataObject *input)
virtual void SetNthOutput (DataObjectPointerArraySizeType num, DataObject *output)
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
virtual void SetOutput (const DataObjectIdentifierType &key, DataObject *output)
virtual void SetPrimaryInput (DataObject *input)
virtual void SetPrimaryOutput (DataObject *output)
void SetRequiredInputNames (const NameArray &)
virtual void VerifyPreconditions ()
 ~ProcessObject ()
DataObjectGetInput (const DataObjectIdentifierType &key)
const DataObjectGetInput (const DataObjectIdentifierType &key) const
DataObjectGetInput (DataObjectPointerArraySizeType)
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
DataObjectGetPrimaryInput ()
const DataObjectGetPrimaryInput () const
DataObjectGetOutput (const DataObjectIdentifierType &key)
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
DataObjectGetOutput (DataObjectPointerArraySizeType idx)
const DataObjectGetOutput (DataObjectPointerArraySizeType idx) const
DataObjectGetPrimaryOutput ()
const DataObjectGetPrimaryOutput () const
- Protected Member Functions inherited from itk::Object
 Object ()
bool PrintObservers (std::ostream &os, Indent indent) const
virtual void SetTimeStamp (const TimeStamp &time)
virtual ~Object ()
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 LightObject ()
virtual void PrintHeader (std::ostream &os, Indent indent) const
virtual void PrintTrailer (std::ostream &os, Indent indent) const
virtual ~LightObject ()

Private Member Functions

 MaskedFFTNormalizedCorrelationImageFilter (const Self &)
void operator= (const Self &)

Private Attributes

SizeValueType m_RequiredNumberOfOverlappingPixels

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

Detailed Description

template<class TInputImage, class TOutputImage>
class itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >

Calculate masked normalized cross correlation using FFTs.

This filter calculates the masked normalized cross correlation (NCC) of two images under masks using FFTs instead of spatial correlation. It is much faster than spatial correlation for reasonably large structuring elements. This filter is not equivalent to simply masking the images first and then correlating them; the latter approach yields incorrect results because the zeros in the images still affect the metric in the correlation process. This filter implements the masked NCC correctly so that the masked-out regions are completely ignored. The fundamental difference is described in detail in the references below. If the masks are set to images of all ones, the result of this filter is the same as standard NCC.

Inputs: Two images are required as inputs, fixedImage and movingImage, and two are optional, fixedMask and movingMask. In the context of correlation, inputs are often defined as: "image" and "template". In this filter, the fixedImage plays the role of the image, and the movingImage plays the role of the template. However, this filter is capable of correlating any two images and is not restricted to small movingImages (templates). In the fixedMask and movingMask, non-zero positive values indicate locations of useful information in the corresponding image, whereas zero and negative values indicate locations that should be masked out (ignored). Internally, the masks are converted to have values of only 0 and 1. For each optional mask that is not set, the filter internally creates an image of ones, which is equivalent to not masking the image. Thus, if both masks are not set, the result will be equivalent to unmasked NCC. For example, if only a mask for the fixed image is needed, the movingMask can either not be set or can be set to an image of ones.

Optional parameters: The RequiredNumberOfOverlappingPixels enables the user to specify how many voxels of the two images must overlap; any location in the correlation map that results from fewer than this number of voxels will be set to zero. Larger values zero-out pixels on a larger border around the correlation image. Thus, larger values remove less stable computations but also limit the capture range. If RequiredNumberOfOverlappingPixels is set to 0, the default, no zeroing will take place.

Image size: fixedImage and movingImage need not be the same size, but fixedMask must be the same size as fixedImage, and movingMask must be the same size as movingImage. Furthermore, whereas some algorithms require that the "template" be smaller than the "image" because of errors in the regions where the two are not fully overlapping, this filter has no such restriction.

Image spacing: Since the computations are done in the pixel domain, all input images must have the same spacing.

Outputs; The output is an image of RealPixelType that is the masked NCC of the two images and its values range from -1.0 to 1.0. The size of this NCC image is, by definition, size(fixedImage) + size(movingImage) - 1.

Example filter usage:

FilterType::Pointer filter = FilterType::New();
filter->SetFixedImage( fixedImage );
filter->SetMovingImage( movingImage );
filter->SetFixedImageMask( fixedMask );
filter->SetMovingImageMask( movingMask );
filter->SetRequiredNumberOfOverlappingPixels(20);
filter->Update();
Warning:
The pixel type of the output image must be of real type (float or double). ConceptChecking is used to enforce the output pixel type. You will get a compilation error if the pixel type of the output image is not float or double.

References: 1) D. Padfield. "Masked object registration in the Fourier domain." Transactions on Image Processing. 2) D. Padfield. "Masked FFT registration". In Proc. Computer Vision and Pattern Recognition, 2010.

Author:
: Dirk Padfield, GE Global Research, padfi.nosp@m.eld@.nosp@m.resea.nosp@m.rch..nosp@m.ge.co.nosp@m.m

Definition at line 117 of file itkMaskedFFTNormalizedCorrelationImageFilter.h.


Member Typedef Documentation

template<class TInputImage , class TOutputImage >
typedef SmartPointer<const Self> itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::ConstPointer
template<class TInputImage , class TOutputImage >
typedef FFTImageType::Pointer itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::FFTImagePointer
template<class TInputImage , class TOutputImage >
typedef Image< std::complex<RealPixelType>, ImageDimension > itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::FFTImageType
template<class TInputImage , class TOutputImage >
typedef InputImageType::ConstPointer itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::InputImageConstPointer
template<class TInputImage , class TOutputImage >
typedef InputImageType::Pointer itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::InputImagePointer
template<class TInputImage , class TOutputImage >
typedef TInputImage itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::InputImageType

Extract some information from the image types.

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Reimplemented in itk::FFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >.

Definition at line 139 of file itkMaskedFFTNormalizedCorrelationImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef InputImageType::RegionType itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::InputRegionType
template<class TInputImage , class TOutputImage >
typedef InputImageType::SizeType itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::InputSizeType
template<class TInputImage , class TOutputImage >
typedef OutputImageType::Pointer itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::OutputImagePointer
template<class TInputImage , class TOutputImage >
typedef TOutputImage itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::OutputImageType
template<class TInputImage , class TOutputImage >
typedef OutputImageType::PixelType itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::OutputPixelType
template<class TInputImage , class TOutputImage >
typedef SmartPointer<Self> itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::Pointer
template<class TInputImage , class TOutputImage >
typedef RealImageType::Pointer itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::RealImagePointer
template<class TInputImage , class TOutputImage >
typedef Image< RealPixelType, ImageDimension> itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::RealImageType
template<class TInputImage , class TOutputImage >
typedef RealImageType::IndexType itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::RealIndexType
template<class TInputImage , class TOutputImage >
typedef OutputPixelType itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::RealPixelType
template<class TInputImage , class TOutputImage >
typedef RealImageType::RegionType itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::RealRegionType
template<class TInputImage , class TOutputImage >
typedef RealImageType::SizeType itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::RealSizeType
template<class TInputImage , class TOutputImage >
typedef MaskedFFTNormalizedCorrelationImageFilter itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::Self
template<class TInputImage , class TOutputImage >
typedef ImageToImageFilter< TInputImage, TOutputImage > itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::Superclass

Constructor & Destructor Documentation

template<class TInputImage , class TOutputImage >
itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::MaskedFFTNormalizedCorrelationImageFilter ( )
inlineprotected

End concept checking

Definition at line 216 of file itkMaskedFFTNormalizedCorrelationImageFilter.h.

template<class TInputImage , class TOutputImage >
virtual itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::~MaskedFFTNormalizedCorrelationImageFilter ( )
inlineprotectedvirtual
template<class TInputImage , class TOutputImage >
itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::MaskedFFTNormalizedCorrelationImageFilter ( const Self )
private

Member Function Documentation

template<class TInputImage , class TOutputImage >
template<class LocalInputImageType , class LocalOutputImageType >
LocalOutputImageType::Pointer itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::CalculateForwardFFT ( LocalInputImageType *  inputImage,
InputSizeType FFTImageSize 
)
protected
template<class TInputImage , class TOutputImage >
template<class LocalInputImageType , class LocalOutputImageType >
LocalOutputImageType::Pointer itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::CalculateInverseFFT ( LocalInputImageType *  inputImage,
RealSizeType combinedImageSize 
)
protected
template<class TInputImage , class TOutputImage >
template<class LocalInputImageType >
double itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::CalculatePrecisionTolerance ( LocalInputImageType *  inputImage)
protected
template<class TInputImage , class TOutputImage >
virtual::itk::LightObject::Pointer itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::CreateAnother ( void  ) const
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.

Reimplemented in itk::FFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >.

template<class TInputImage , class TOutputImage >
template<class LocalInputImageType >
LocalInputImageType::Pointer itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::ElementPositive ( LocalInputImageType *  inputImage)
protected
template<class TInputImage , class TOutputImage >
template<class LocalInputImageType , class LocalOutputImageType >
LocalOutputImageType::Pointer itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::ElementProduct ( LocalInputImageType *  inputImage1,
LocalInputImageType *  inputImage2 
)
protected
template<class TInputImage , class TOutputImage >
template<class LocalInputImageType >
LocalInputImageType::Pointer itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::ElementQuotient ( LocalInputImageType *  inputImage1,
LocalInputImageType *  inputImage2 
)
protected
template<class TInputImage , class TOutputImage >
template<class LocalInputImageType , class LocalOutputImageType >
LocalOutputImageType::Pointer itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::ElementRound ( LocalInputImageType *  inputImage)
protected
template<class TInputImage , class TOutputImage >
template<class LocalInputImageType >
LocalInputImageType::Pointer itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::ElementSubtraction ( LocalInputImageType *  inputImage1,
LocalInputImageType *  inputImage2 
)
protected
template<class TInputImage , class TOutputImage >
int itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::FactorizeNumber ( int  n)
protected
template<class TInputImage , class TOutputImage >
int itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::FindClosestValidDimension ( int  n)
protected
template<class TInputImage , class TOutputImage >
void itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::GenerateData ( )
protectedvirtual
template<class TInputImage , class TOutputImage >
virtual void itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::GenerateInputRequestedRegion ( )
protectedvirtual

This filter needs a different input requested region than the output requested region. As such, it needs to provide an implementation for GenerateInputRequestedRegion() in order to inform the pipeline execution model.

See also:
ProcessObject::GenerateInputRequestedRegion()

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

template<class TInputImage , class TOutputImage >
void itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::GenerateOutputInformation ( )
protectedvirtual

Since the output of this filter is a different size than the input, it must provide an implementation of GenerateOutputInformation.

See also:
ProcessObject::GenerateOutputRequestedRegion()

Reimplemented from itk::ProcessObject.

template<class TInputImage , class TOutputImage >
InputImageType* itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::GetFixedImage ( )
inline

Set and get the fixed image

Definition at line 163 of file itkMaskedFFTNormalizedCorrelationImageFilter.h.

References itk::ProcessObject::GetInput().

template<class TInputImage , class TOutputImage >
InputImageType* itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::GetFixedImageMask ( )
inline

Set and get the fixed mask

Definition at line 185 of file itkMaskedFFTNormalizedCorrelationImageFilter.h.

References itk::ProcessObject::GetInput().

template<class TInputImage , class TOutputImage >
InputImageType* itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::GetMovingImage ( )
inline

Set and get the moving image

Definition at line 174 of file itkMaskedFFTNormalizedCorrelationImageFilter.h.

References itk::ProcessObject::GetInput().

template<class TInputImage , class TOutputImage >
InputImageType* itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::GetMovingImageMask ( )
inline

Set and get the moving mask

Definition at line 196 of file itkMaskedFFTNormalizedCorrelationImageFilter.h.

References itk::ProcessObject::GetInput().

template<class TInputImage , class TOutputImage >
virtual const char* itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Reimplemented in itk::FFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >.

template<class TInputImage , class TOutputImage >
virtual SizeValueType itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::GetRequiredNumberOfOverlappingPixels ( )
virtual

Set and get the required percentage of overlapping pixels

template<class TInputImage , class TOutputImage >
static Pointer itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::New ( )
static

Method for creation through the object factory.

Reimplemented from itk::Object.

Reimplemented in itk::FFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >.

template<class TInputImage , class TOutputImage >
void itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::operator= ( const Self )
private

PushBackInput(), PushFronInput() in the public section force the input to be the type expected by an ImageToImageFilter. However, these methods end of "hiding" the versions from the superclass (ProcessObject) whose arguments are DataObjects. Here, we re-expose the versions from ProcessObject to avoid warnings about hiding methods from the superclass.

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Reimplemented in itk::FFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >.

template<class TInputImage , class TOutputImage >
template<class LocalInputImageType >
LocalInputImageType::Pointer itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::PreProcessImage ( const LocalInputImageType *  inputImage,
LocalInputImageType *  inputMask 
)
protected
template<class TInputImage , class TOutputImage >
template<class LocalInputImageType >
LocalInputImageType::Pointer itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::PreProcessMask ( const LocalInputImageType *  inputImage,
const LocalInputImageType *  inputMask 
)
protected
template<class TInputImage , class TOutputImage >
void itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Reimplemented in itk::FFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >.

template<class TInputImage , class TOutputImage >
TInputImage::Pointer itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::RotateImage ( InputImageType inputImage)
protected
template<class TInputImage , class TOutputImage >
void itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::SetFixedImage ( const InputImageType input)
inline

Set and get the fixed image

Definition at line 159 of file itkMaskedFFTNormalizedCorrelationImageFilter.h.

template<class TInputImage , class TOutputImage >
void itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::SetFixedImageMask ( const InputImageType input)
inline

Set and get the fixed mask

Definition at line 181 of file itkMaskedFFTNormalizedCorrelationImageFilter.h.

template<class TInputImage , class TOutputImage >
void itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::SetMovingImage ( const InputImageType input)
inline

Set and get the moving image

Definition at line 170 of file itkMaskedFFTNormalizedCorrelationImageFilter.h.

template<class TInputImage , class TOutputImage >
void itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::SetMovingImageMask ( const InputImageType input)
inline

Set and get the moving mask

Definition at line 192 of file itkMaskedFFTNormalizedCorrelationImageFilter.h.

template<class TInputImage , class TOutputImage >
virtual void itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::SetRequiredNumberOfOverlappingPixels ( SizeValueType  _arg)
virtual

Set and get the required percentage of overlapping pixels

template<class TInputImage , class TOutputImage >
itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::typedef ( Concept::IsFloatingPoint< OutputPixelType )

Begin concept checking This class requires OutputPixelTypeIsFloatingPointCheck in the form of ( Concept::IsFloatingPoint< OutputPixelType > )

template<class TInputImage , class TOutputImage >
void itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::VerifyInputInformation ( )
protectedvirtual

Overlap the VerifyInputInformation method

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.


Member Data Documentation

template<class TInputImage , class TOutputImage >
const unsigned int itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::ImageDimension = TOutputImage::ImageDimension
static

Extract some information from the image types. Dimensionality of the two images is assumed to be the same.

Reimplemented in itk::FFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >.

Definition at line 136 of file itkMaskedFFTNormalizedCorrelationImageFilter.h.

template<class TInputImage , class TOutputImage >
SizeValueType itk::MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >::m_RequiredNumberOfOverlappingPixels
private

Larger values zero-out pixels on a larger border around the correlation image. Thus, larger values remove less stable computations but also limit the capture range. The default is set to 0.

Definition at line 292 of file itkMaskedFFTNormalizedCorrelationImageFilter.h.


The documentation for this class was generated from the following file: