Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <itkMultiMetricMultiResolutionImageRegistrationMethod.h>
Base class for multi-resolution image registration methods.
This class is an extension of the itk class MultiResolutionImageRegistrationMethod. It allows the use of multiple metrics, which are summed, multiple images, multiple interpolators, and/or multiple image pyramids.
Make sure the following is true:
nrofmetrics >= nrofinterpolators >= nrofmovingpyramids >= nrofmovingimages
nrofmetrics >= nroffixedpyramids >= nroffixedimages
nroffixedregions == nroffixedimages
nrofinterpolators == nrofmetrics OR nrofinterpolators == 1
nroffixedimages == nrofmetrics OR nroffixedimages == 1
etc...
You may also set an interpolator/fixedimage/etc to NULL, if you happen to know that the corresponding metric is not an ImageToImageMetric, but a regularizer for example (which does not need an image.
Definition at line 83 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::MultiResolutionImageRegistrationMethod2< TFixedImage, TMovingImage > | |
static Pointer | New () |
Protected Types | |
typedef std::vector< FixedImageRegionType > | FixedImageRegionPyramidType |
Protected Member Functions | |
virtual void | CheckOnInitialize (void) |
virtual void | CheckPyramids (void) |
void | GenerateData (void) override |
void | Initialize (void) override |
MultiMetricMultiResolutionImageRegistrationMethod () | |
virtual void | PrepareAllPyramids (void) |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~MultiMetricMultiResolutionImageRegistrationMethod () override | |
Protected Member Functions inherited from itk::MultiResolutionImageRegistrationMethod2< TFixedImage, TMovingImage > | |
void | GenerateData (void) override |
virtual void | Initialize () |
MultiResolutionImageRegistrationMethod2 () | |
virtual void | PreparePyramids (void) |
void | PrintSelf (std::ostream &os, Indent indent) const override |
virtual void | SetCurrentLevel (unsigned long _arg) |
~MultiResolutionImageRegistrationMethod2 () override | |
Protected Attributes | |
CombinationMetricPointer | m_CombinationMetric |
std::vector< FixedImagePyramidPointer > | m_FixedImagePyramids |
std::vector< FixedImageRegionPyramidType > | m_FixedImageRegionPyramids |
std::vector< FixedImageRegionType > | m_FixedImageRegions |
std::vector< FixedImageConstPointer > | m_FixedImages |
std::vector< InterpolatorPointer > | m_Interpolators |
ParametersType | m_LastTransformParameters |
std::vector< MovingImagePyramidPointer > | m_MovingImagePyramids |
std::vector< MovingImageConstPointer > | m_MovingImages |
FixedImageRegionType | m_NullFixedImageRegion |
bool | m_Stop |
Protected Attributes inherited from itk::MultiResolutionImageRegistrationMethod2< TFixedImage, TMovingImage > | |
ParametersType | m_LastTransformParameters |
bool | m_Stop |
Private Member Functions | |
MultiMetricMultiResolutionImageRegistrationMethod (const Self &) | |
void | operator= (const Self &) |
typedef CombinationMetricType::Pointer itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::CombinationMetricPointer |
Definition at line 134 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
typedef CombinationImageToImageMetric< FixedImageType, MovingImageType > itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::CombinationMetricType |
Extra typedefs
Definition at line 133 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
typedef SmartPointer< const Self > itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::ConstPointer |
Definition at line 93 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
typedef Superclass::DataObjectPointer itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::DataObjectPointer |
Definition at line 129 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
typedef Superclass::FixedImageConstPointer itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::FixedImageConstPointer |
Definition at line 104 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
typedef Superclass::FixedImagePyramidPointer itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::FixedImagePyramidPointer |
Definition at line 118 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
typedef Superclass::FixedImagePyramidType itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::FixedImagePyramidType |
Definition at line 117 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
|
protected |
Definition at line 262 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
typedef Superclass::FixedImageRegionType itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::FixedImageRegionType |
Definition at line 105 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
typedef Superclass::FixedImageType itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::FixedImageType |
Superclass types
Definition at line 103 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
typedef Superclass::InterpolatorPointer itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::InterpolatorPointer |
Definition at line 114 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
typedef Superclass::InterpolatorType itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::InterpolatorType |
Definition at line 113 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
typedef Superclass::MetricPointer itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::MetricPointer |
Definition at line 110 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
typedef Superclass::MetricType itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::MetricType |
Definition at line 109 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
typedef Superclass::MovingImageConstPointer itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::MovingImageConstPointer |
Definition at line 107 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
typedef Superclass::MovingImagePyramidPointer itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::MovingImagePyramidPointer |
Definition at line 121 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
typedef Superclass::MovingImagePyramidType itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::MovingImagePyramidType |
Definition at line 119 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
typedef Superclass::MovingImageType itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::MovingImageType |
Definition at line 106 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
typedef OptimizerType::Pointer itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::OptimizerPointer |
Definition at line 116 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
typedef Superclass::OptimizerType itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::OptimizerType |
Definition at line 115 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
typedef Superclass::ParametersType itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::ParametersType |
Definition at line 128 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
typedef SmartPointer< Self > itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::Pointer |
Definition at line 92 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
typedef MultiMetricMultiResolutionImageRegistrationMethod itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::Self |
Standard class typedefs.
Definition at line 89 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
typedef MultiResolutionImageRegistrationMethod2< TFixedImage, TMovingImage > itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::Superclass |
Definition at line 91 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
typedef Superclass::TransformOutputConstPointer itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::TransformOutputConstPointer |
Definition at line 126 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
typedef Superclass::TransformOutputPointer itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::TransformOutputPointer |
Definition at line 124 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
typedef Superclass::TransformOutputType itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::TransformOutputType |
Definition at line 123 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
typedef Superclass::TransformPointer itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::TransformPointer |
Definition at line 112 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
typedef Superclass::TransformType itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::TransformType |
Definition at line 111 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
|
protected |
|
inlineoverrideprotected |
Definition at line 259 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
|
private |
|
protectedvirtual |
Function called by Initialize, which checks if the user input is ok. Called by Initialize().
|
protectedvirtual |
Function called by PrepareAllPyramids, which checks if the user input regarding the image pyramids is ok.
itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::elxOverrideSimpleSetMacro | ( | FixedImage | , |
const FixedImageType * | |||
) |
itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::elxOverrideSimpleSetMacro | ( | FixedImagePyramid | , |
FixedImagePyramidType * | |||
) |
itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::elxOverrideSimpleSetMacro | ( | FixedImageRegion | , |
const | FixedImageRegionType | ||
) |
itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::elxOverrideSimpleSetMacro | ( | Interpolator | , |
InterpolatorType * | |||
) |
itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::elxOverrideSimpleSetMacro | ( | MovingImage | , |
const MovingImageType * | |||
) |
itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::elxOverrideSimpleSetMacro | ( | MovingImagePyramid | , |
MovingImagePyramidType * | |||
) |
|
overrideprotected |
Method invoked by the pipeline in order to trigger the computation of the registration.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::MultiResolutionImageRegistrationMethod2< TFixedImage, TMovingImage >.
Reimplemented in elastix::MultiMetricMultiResolutionRegistration< TElastix >.
|
inlinevirtual |
Get the metric as a pointer to a combination metric type. Use this method to setup the combination metric (set weights, nrofmetrics, submetrics, etc.
Definition at line 158 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
|
virtual |
|
inlineoverridevirtual |
Reimplemented from itk::MultiResolutionImageRegistrationMethod2< TFixedImage, TMovingImage >.
Definition at line 176 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
|
virtual |
|
inlineoverride |
Definition at line 224 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
|
virtual |
|
inlineoverridevirtual |
Reimplemented from itk::MultiResolutionImageRegistrationMethod2< TFixedImage, TMovingImage >.
Definition at line 202 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
|
virtual |
|
inlineoverride |
Definition at line 213 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
|
inlineoverridevirtual |
Get the last transformation parameters visited by the optimizer. Return the member variable declared in this class, and not that of the superclass (which is declared private).
Reimplemented from itk::MultiResolutionImageRegistrationMethod2< TFixedImage, TMovingImage >.
Definition at line 250 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
|
virtual |
|
inlineoverridevirtual |
Reimplemented from itk::MultiResolutionImageRegistrationMethod2< TFixedImage, TMovingImage >.
Definition at line 191 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
|
virtual |
|
inlineoverride |
Definition at line 235 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
|
override |
Method to return the latest modified time of this object or any of its cached ivars.
|
overrideprotectedvirtual |
Initialize by setting the interconnects between the components. This method is executed at every level of the pyramid with the values corresponding to this resolution.
Reimplemented from itk::MultiResolutionImageRegistrationMethod2< TFixedImage, TMovingImage >.
itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::itkGetNumberOfMacro | ( | FixedImage | ) |
itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::itkGetNumberOfMacro | ( | FixedImagePyramid | ) |
itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::itkGetNumberOfMacro | ( | FixedImageRegion | ) |
itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::itkGetNumberOfMacro | ( | Interpolator | ) |
itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::itkGetNumberOfMacro | ( | MovingImage | ) |
itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::itkGetNumberOfMacro | ( | MovingImagePyramid | ) |
itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::itkSetNumberOfMacro | ( | FixedImage | ) |
itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::itkSetNumberOfMacro | ( | FixedImagePyramid | ) |
itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::itkSetNumberOfMacro | ( | FixedImageRegion | ) |
itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::itkSetNumberOfMacro | ( | Interpolator | ) |
itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::itkSetNumberOfMacro | ( | MovingImage | ) |
itk::MultiMetricMultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >::itkSetNumberOfMacro | ( | MovingImagePyramid | ) |
|
static |
Method for creation through the object factory.
|
private |
|
protectedvirtual |
Compute the size of the fixed region for each level of the pyramid. Actually we would like to override PreparePyramids, but this function is not virtual...
|
overrideprotected |
|
virtual |
The following methods all have a similar pattern. The SetFixedImage() just calls SetFixedImage(0). SetFixedImage(0) also calls the Superclass::SetFixedImage(). This is defined by the elxOverrideSimpleSetMacro. GetFixedImage() just returns GetFixedImage(0) == Superclass::m_FixedImage. Set/Get the fixed image.
|
virtual |
Set/Get the FixedImagePyramid.
|
virtual |
Set/Get the fixed image region.
|
virtual |
Set/Get the interpolator.
|
overridevirtual |
Set the Metric. Reimplement this method to check if the metric is a combination metric. GetMetric returns the combination metric. By default, a combination metric is already set on constructing this class.
Reimplemented from itk::MultiResolutionImageRegistrationMethod2< TFixedImage, TMovingImage >.
|
virtual |
Set/Get the moving image.
|
virtual |
Set/Get the MovingImagePyramid.
|
inlinevirtual |
Unfortunately the StopRegistration method is not virtual and the m_Stop member is private in the superclass. That's why we provide the following function to interrupt registration.
Definition at line 140 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
|
protected |
A shortcut to m_Metric of type CombinationMetricPointer.
Definition at line 296 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
|
protected |
Definition at line 302 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
|
protected |
This vector is filled by the PrepareAllPyramids function.
Definition at line 307 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
|
protected |
Definition at line 301 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
|
protected |
Containers for the pointers supplied by the user.
Definition at line 299 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
|
protected |
Definition at line 304 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
|
protected |
Definition at line 293 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
|
protected |
Definition at line 303 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
|
protected |
Definition at line 300 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
|
protected |
Dummy image region.
Definition at line 310 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
|
protected |
Variables already defined in the superclass, but as private...
Definition at line 292 of file itkMultiMetricMultiResolutionImageRegistrationMethod.h.
Generated on 1667476801 for elastix by 1.9.4 |