ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#include <itkTwoProjectionImageRegistrationMethod.h>
Base class for Image Registration Methods.
This Class define the generic interface for a registration method.
This class is templated over the type of the two image to be registered. A generic Transform is used by this class. That allows to select at run time the particular type of transformation that is to be applied for registering the images.
This method use a generic Metric in order to compare the two images. the final goal of the registration method is to find the set of parameters of the Transformation that optimizes the metric.
The registration method also support a generic optimizer that can be selected at run-time. The only restriction for the optimizer is that it should be able to operate in single-valued cost functions given that the metrics used to compare images provide a single value as output.
The terms : Fixed image and Moving image are used in this class to indicate what image is being mapped by the transform.
This class uses the coordinate system of the Fixed image as a reference and searchs for a Transform that will map points from the space of the Fixed image to the space of the Moving image.
For doing so, a Metric will be continously applied to compare the Fixed image with the Transformed Moving image. This process also requires to interpolate values from the Moving image.
Definition at line 65 of file itkTwoProjectionImageRegistrationMethod.h.
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Additional Inherited Members | |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount |
using itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 74 of file itkTwoProjectionImageRegistrationMethod.h.
using itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::DataObjectPointer = typename DataObject::Pointer |
Smart Pointer type to a DataObject.
Definition at line 118 of file itkTwoProjectionImageRegistrationMethod.h.
using itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::FixedImageConstPointer = typename FixedImageType::ConstPointer |
Definition at line 84 of file itkTwoProjectionImageRegistrationMethod.h.
using itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::FixedImageRegionType = typename MetricType::FixedImageRegionType |
Definition at line 94 of file itkTwoProjectionImageRegistrationMethod.h.
using itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::FixedImageType = TFixedImage |
Type of the Fixed image.
Definition at line 83 of file itkTwoProjectionImageRegistrationMethod.h.
using itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::InterpolatorPointer = typename InterpolatorType::Pointer |
Definition at line 108 of file itkTwoProjectionImageRegistrationMethod.h.
using itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::InterpolatorType = typename MetricType::InterpolatorType |
Type of the Interpolator.
Definition at line 107 of file itkTwoProjectionImageRegistrationMethod.h.
using itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::MetricPointer = typename MetricType::Pointer |
Definition at line 93 of file itkTwoProjectionImageRegistrationMethod.h.
using itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::MetricType = TwoImageToOneImageMetric< FixedImageType, MovingImageType > |
Type of the metric.
Definition at line 92 of file itkTwoProjectionImageRegistrationMethod.h.
using itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::MovingImageConstPointer = typename MovingImageType::ConstPointer |
Definition at line 88 of file itkTwoProjectionImageRegistrationMethod.h.
using itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::MovingImageType = TMovingImage |
Type of the Moving image.
Definition at line 87 of file itkTwoProjectionImageRegistrationMethod.h.
using itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::OptimizerType = SingleValuedNonLinearOptimizer |
Type of the optimizer.
Definition at line 111 of file itkTwoProjectionImageRegistrationMethod.h.
using itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::ParametersType = typename MetricType::TransformParametersType |
Type of the Transformation parameters This is the same type used to represent the search space of the optimization algorithm
Definition at line 115 of file itkTwoProjectionImageRegistrationMethod.h.
using itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::Pointer = SmartPointer<Self> |
Definition at line 73 of file itkTwoProjectionImageRegistrationMethod.h.
using itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::Self = TwoProjectionImageRegistrationMethod |
Standard class type alias.
Definition at line 71 of file itkTwoProjectionImageRegistrationMethod.h.
using itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::Superclass = ProcessObject |
Definition at line 72 of file itkTwoProjectionImageRegistrationMethod.h.
using itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::TransformOutputConstPointer = typename TransformOutputType::ConstPointer |
Definition at line 104 of file itkTwoProjectionImageRegistrationMethod.h.
using itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::TransformOutputPointer = typename TransformOutputType::Pointer |
Definition at line 103 of file itkTwoProjectionImageRegistrationMethod.h.
using itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::TransformOutputType = DataObjectDecorator< TransformType > |
Type for the output: Using Decorator pattern for enabling the Transform to be passed in the data pipeline
Definition at line 102 of file itkTwoProjectionImageRegistrationMethod.h.
using itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::TransformPointer = typename TransformType::Pointer |
Definition at line 98 of file itkTwoProjectionImageRegistrationMethod.h.
using itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::TransformType = typename MetricType::TransformType |
Type of the Transform .
Definition at line 97 of file itkTwoProjectionImageRegistrationMethod.h.
|
protected |
|
inlineoverrideprotected |
Definition at line 219 of file itkTwoProjectionImageRegistrationMethod.h.
|
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.
|
overrideprotectedvirtual |
Method invoked by the pipeline in order to trigger the computation of the registration.
Reimplemented from itk::ProcessObject.
|
virtual |
Set/Get the Fixed images.
|
virtual |
Set/Get the Fixed images.
|
virtual |
Get the region of the fixed image to be considered as region of interest during the registration. This region will be passed to the ImageMetric in order to restrict the metric computation to consider only this region.
|
virtual |
|
virtual |
True if a region has been defined for the fixed image to which the ImageMetric will limit its computation
|
virtual |
|
virtual |
Set/Get the initial transformation parameters.
|
virtual |
Set/Get the Interpolators.
|
virtual |
Set/Get the Interpolators.
|
virtual |
Get the last transformation parameters visited by the optimizer.
|
virtual |
Set/Get the Metric.
|
virtual |
Set/Get the Moving image.
|
overridevirtual |
Method to return the latest modified time of this object or any of its cached ivars
Reimplemented from itk::Object.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ProcessObject.
|
virtual |
Set/Get the Optimizer.
const TransformOutputType* itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::GetOutput | ( | ) | const |
Returns the transform resulting from the registration process
|
virtual |
Set/Get the Transfrom.
|
virtual |
Initialize by setting the interconnects between the components.
|
overridevirtual |
Make a DataObject of the correct type to used as the specified output.
Every ProcessObject subclass must be able to create a DataObject that can be used as a specified output. This method is automatically called when DataObject::DisconnectPipeline() is called. DataObject::DisconnectPipeline, disconnects a data object from being an output of its current source. When the data object is disconnected, the ProcessObject needs to construct a replacement output data object so that the ProcessObject is in a valid state. So DataObject::DisconnectPipeline eventually calls ProcessObject::MakeOutput. Note that MakeOutput always returns a itkSmartPointer to a DataObject. ImageSource and MeshSource override this method to create the correct type of image and mesh respectively. If a filter has multiple outputs of different types, then that filter must provide an implementation of MakeOutput().
Reimplemented from itk::ProcessObject.
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
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::ProcessObject.
void itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::SetFixedImage1 | ( | const FixedImageType * | fixedImage1 | ) |
Set/Get the Fixed images.
void itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::SetFixedImage2 | ( | const FixedImageType * | fixedImage2 | ) |
Set/Get the Fixed images.
void itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::SetFixedImageRegion1 | ( | const FixedImageRegionType & | region1 | ) |
Set the region of the fixed image to be considered as region of interest during the registration. This region will be passed to the ImageMetric in order to restrict the metric computation to consider only this region.
void itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::SetFixedImageRegion2 | ( | const FixedImageRegionType & | region2 | ) |
|
virtual |
Turn on/off the use of a fixed image region to which the ImageMetric will limit its computation.
|
virtual |
Turn on/off the use of a fixed image region to which the ImageMetric will limit its computation.
|
virtual |
Set/Get the initial transformation parameters.
|
virtual |
Set/Get the Interpolators.
|
virtual |
Set/Get the Interpolators.
|
protectedvirtual |
Provides derived classes with the ability to set this private var
|
virtual |
Set/Get the Metric.
void itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::SetMovingImage | ( | const MovingImageType * | movingImage | ) |
Set/Get the Moving image.
|
virtual |
Set/Get the Optimizer.
|
virtual |
Set/Get the Transfrom.
void itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::StartOptimization | ( | void | ) |
Method that initiates the optimization process.
void itk::TwoProjectionImageRegistrationMethod< TFixedImage, TMovingImage >::StartRegistration | ( | void | ) |
Method that initiates the registration. This will Initialize and ensure that all inputs the registration needs are in place, via a call to Initialize() will then start the optimization process via a call to StartOptimization()
|
private |
Definition at line 235 of file itkTwoProjectionImageRegistrationMethod.h.
|
private |
Definition at line 236 of file itkTwoProjectionImageRegistrationMethod.h.
|
private |
Definition at line 247 of file itkTwoProjectionImageRegistrationMethod.h.
|
private |
Definition at line 248 of file itkTwoProjectionImageRegistrationMethod.h.
|
private |
Definition at line 245 of file itkTwoProjectionImageRegistrationMethod.h.
|
private |
Definition at line 246 of file itkTwoProjectionImageRegistrationMethod.h.
|
private |
Definition at line 242 of file itkTwoProjectionImageRegistrationMethod.h.
|
private |
Definition at line 239 of file itkTwoProjectionImageRegistrationMethod.h.
|
private |
Definition at line 240 of file itkTwoProjectionImageRegistrationMethod.h.
|
private |
Definition at line 243 of file itkTwoProjectionImageRegistrationMethod.h.
|
private |
Definition at line 227 of file itkTwoProjectionImageRegistrationMethod.h.
|
private |
Definition at line 234 of file itkTwoProjectionImageRegistrationMethod.h.
|
private |
Definition at line 232 of file itkTwoProjectionImageRegistrationMethod.h.
|
private |
Definition at line 238 of file itkTwoProjectionImageRegistrationMethod.h.