ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkImageRegistrationMethodv4.h>
Interface method for the current registration framework.
This interface method class encapsulates typical registration usage by incorporating all the necessary elements for performing a simple image registration between two images. This method also allows for multistage registration whereby each stage is characterize by possibly different transforms of and different image metrics. For example, many users will want to perform a linear registration followed by deformable registration where both stages are performed in multiple levels. Each level can be characterized by:
Multiple stages are handled by linking multiple instantiations of this class where the output transform is added to the optional composite transform input.
Transform adaptors: To accommodate new changes to the current ITK registration framework, we introduced the concept of transform adaptors. Whereas each stage is associated with a moving and, possibly, fixed transform, each level of each stage is defined by a transform adaptor which describes how to adapt the transform to the current level. For example, if one were to use the B-spline transform during a deformable registration stage, common practice is to increase the resolution of the B-spline mesh (or, analogously, the control point grid size) at each level. At each level, one would define the parameters of the B-spline transform adaptor at that level which increases the resolution from the previous level. For many transforms, such as affine, this concept of an adaptor may be nonsensical. For this reason, the base transform adaptor class does not do anything to the transform but merely passes it through. Each level of each stage must define a transform adaptor but, by default, the base adaptor class is assigned which, again, does not do anything to the transform. A special mention should be made of the transform adaptor at level 0 of any stage. Most likely, the user will not want to do anything to the transform as it enters into the given stage so typical use will be to assign the base adaptor class to level 0 of all stages but we leave that open to the user.
Output: The output is the updated transform.
Definition at line 94 of file itkImageRegistrationMethodv4.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 () |
Static Public Attributes | |
static const unsigned int | ImageDimension = TFixedImage::ImageDimension |
Static Private Member Functions | |
template<typename TTransform > | |
static void | MakeOutputTransform (SmartPointer< TTransform > &ptr) |
static void | MakeOutputTransform (SmartPointer< InitialTransformType > &ptr) |
Private Attributes | |
bool | m_InitializeCenterOfLinearOutputTransform |
bool | m_InPlace |
typedef CompositeTransformType::Pointer itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::CompositeTransformPointer |
Definition at line 136 of file itkImageRegistrationMethodv4.h.
typedef CompositeTransform<RealType, ImageDimension> itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::CompositeTransformType |
Definition at line 135 of file itkImageRegistrationMethodv4.h.
typedef SmartPointer<const Self> itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::ConstPointer |
Definition at line 102 of file itkImageRegistrationMethodv4.h.
typedef ProcessObject::DataObjectPointerArraySizeType itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::DataObjectPointerArraySizeType |
Make a DataObject of the correct type to be used as the specified output.
Definition at line 394 of file itkImageRegistrationMethodv4.h.
typedef DecoratedInitialTransformType::Pointer itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::DecoratedInitialTransformPointer |
Definition at line 166 of file itkImageRegistrationMethodv4.h.
typedef DataObjectDecorator<InitialTransformType> itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::DecoratedInitialTransformType |
Definition at line 165 of file itkImageRegistrationMethodv4.h.
typedef DecoratedOutputTransformType::Pointer itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::DecoratedOutputTransformPointer |
Definition at line 164 of file itkImageRegistrationMethodv4.h.
typedef DataObjectDecorator<OutputTransformType> itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::DecoratedOutputTransformType |
Type for the output: Using Decorator pattern for enabling the transform to be passed in the data pipeline
Definition at line 163 of file itkImageRegistrationMethodv4.h.
typedef OutputTransformType::DerivativeType itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::DerivativeType |
Definition at line 129 of file itkImageRegistrationMethodv4.h.
typedef DerivativeType::ValueType itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::DerivativeValueType |
Definition at line 130 of file itkImageRegistrationMethodv4.h.
typedef FixedImageMaskType::ConstPointer itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::FixedImageMaskConstPointer |
Definition at line 153 of file itkImageRegistrationMethodv4.h.
typedef std::vector<FixedImageMaskConstPointer> itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::FixedImageMasksContainerType |
Definition at line 154 of file itkImageRegistrationMethodv4.h.
typedef ImageMetricType::FixedImageMaskType itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::FixedImageMaskType |
Definition at line 152 of file itkImageRegistrationMethodv4.h.
typedef FixedImageType::Pointer itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::FixedImagePointer |
Definition at line 115 of file itkImageRegistrationMethodv4.h.
typedef std::vector<FixedImagePointer> itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::FixedImagesContainerType |
Definition at line 116 of file itkImageRegistrationMethodv4.h.
typedef TFixedImage itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::FixedImageType |
Input typedefs for the images and transforms.
Definition at line 111 of file itkImageRegistrationMethodv4.h.
typedef ImageToImageMetricv4<FixedImageType, MovingImageType, VirtualImageType, RealType> itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::ImageMetricType |
Definition at line 149 of file itkImageRegistrationMethodv4.h.
typedef InitialTransformType::Pointer itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::InitialTransformPointer |
Definition at line 133 of file itkImageRegistrationMethodv4.h.
typedef Transform<RealType, ImageDimension, ImageDimension> itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::InitialTransformType |
Definition at line 132 of file itkImageRegistrationMethodv4.h.
typedef MetricType::Pointer itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::MetricPointer |
Definition at line 139 of file itkImageRegistrationMethodv4.h.
typedef ImageMetricType::FixedSampledPointSetType itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::MetricSamplePointSetType |
Definition at line 191 of file itkImageRegistrationMethodv4.h.
typedef Array<RealType> itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::MetricSamplingPercentageArrayType |
Definition at line 174 of file itkImageRegistrationMethodv4.h.
typedef ObjectToObjectMetricBaseTemplate<RealType> itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::MetricType |
Definition at line 138 of file itkImageRegistrationMethodv4.h.
typedef MovingImageMaskType::ConstPointer itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::MovingImageMaskConstPointer |
Definition at line 156 of file itkImageRegistrationMethodv4.h.
typedef std::vector<MovingImageMaskConstPointer> itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::MovingImageMasksContainerType |
Definition at line 157 of file itkImageRegistrationMethodv4.h.
typedef ImageMetricType::MovingImageMaskType itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::MovingImageMaskType |
Definition at line 155 of file itkImageRegistrationMethodv4.h.
typedef MovingImageType::Pointer itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::MovingImagePointer |
Definition at line 118 of file itkImageRegistrationMethodv4.h.
typedef std::vector<MovingImagePointer> itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::MovingImagesContainerType |
Definition at line 119 of file itkImageRegistrationMethodv4.h.
typedef TMovingImage itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::MovingImageType |
Definition at line 117 of file itkImageRegistrationMethodv4.h.
typedef ObjectToObjectMultiMetricv4<ImageDimension, ImageDimension, VirtualImageType, RealType> itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::MultiMetricType |
Definition at line 148 of file itkImageRegistrationMethodv4.h.
typedef OptimizerType::Pointer itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::OptimizerPointer |
Definition at line 183 of file itkImageRegistrationMethodv4.h.
typedef ObjectToObjectOptimizerBaseTemplate<RealType> itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::OptimizerType |
Type of the optimizer.
Definition at line 182 of file itkImageRegistrationMethodv4.h.
typedef OptimizerType::ScalesType itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::OptimizerWeightsType |
Weights type for the optimizer.
Definition at line 186 of file itkImageRegistrationMethodv4.h.
typedef OutputTransformType::Pointer itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::OutputTransformPointer |
Definition at line 127 of file itkImageRegistrationMethodv4.h.
typedef TOutputTransform itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::OutputTransformType |
Metric and transform typedefs
Definition at line 126 of file itkImageRegistrationMethodv4.h.
typedef SmartPointer<Self> itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::Pointer |
Definition at line 101 of file itkImageRegistrationMethodv4.h.
typedef PointSetType::ConstPointer itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::PointSetConstPointer |
Definition at line 122 of file itkImageRegistrationMethodv4.h.
typedef PointSetToPointSetMetricv4<PointSetType, PointSetType, RealType> itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::PointSetMetricType |
Definition at line 150 of file itkImageRegistrationMethodv4.h.
typedef std::vector<PointSetConstPointer> itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::PointSetsContainerType |
Definition at line 123 of file itkImageRegistrationMethodv4.h.
typedef TPointSet itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::PointSetType |
Definition at line 121 of file itkImageRegistrationMethodv4.h.
typedef OutputTransformType::ScalarType itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::RealType |
Definition at line 128 of file itkImageRegistrationMethodv4.h.
typedef ImageRegistrationMethodv4 itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::Self |
Standard class typedefs.
Definition at line 99 of file itkImageRegistrationMethodv4.h.
typedef Array<SizeValueType> itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::ShrinkFactorsArrayType |
Definition at line 171 of file itkImageRegistrationMethodv4.h.
typedef ShrinkFilterType::ShrinkFactorsType itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::ShrinkFactorsPerDimensionContainerType |
Definition at line 169 of file itkImageRegistrationMethodv4.h.
typedef ShrinkImageFilter<FixedImageType, VirtualImageType> itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::ShrinkFilterType |
Definition at line 168 of file itkImageRegistrationMethodv4.h.
typedef Array<RealType> itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::SmoothingSigmasArrayType |
Definition at line 173 of file itkImageRegistrationMethodv4.h.
typedef ProcessObject itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::Superclass |
Definition at line 100 of file itkImageRegistrationMethodv4.h.
typedef TransformParametersAdaptorType::Pointer itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::TransformParametersAdaptorPointer |
Definition at line 178 of file itkImageRegistrationMethodv4.h.
typedef std::vector<TransformParametersAdaptorPointer> itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::TransformParametersAdaptorsContainerType |
Definition at line 179 of file itkImageRegistrationMethodv4.h.
typedef TransformParametersAdaptorBase<InitialTransformType> itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::TransformParametersAdaptorType |
Transform adaptor typedefs
Definition at line 177 of file itkImageRegistrationMethodv4.h.
typedef Vector<RealType, ImageDimension> itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::VectorType |
Definition at line 141 of file itkImageRegistrationMethodv4.h.
typedef VirtualImageBaseType::ConstPointer itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::VirtualImageBaseConstPointer |
Definition at line 146 of file itkImageRegistrationMethodv4.h.
typedef ImageBase<ImageDimension> itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::VirtualImageBaseType |
Definition at line 145 of file itkImageRegistrationMethodv4.h.
typedef VirtualImageType::Pointer itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::VirtualImagePointer |
Definition at line 144 of file itkImageRegistrationMethodv4.h.
typedef TVirtualImage itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::VirtualImageType |
Definition at line 143 of file itkImageRegistrationMethodv4.h.
enum itk::ImageRegistrationMethodv4::MetricSamplingStrategyType |
enum type for metric sampling strategy
Enumerator | |
---|---|
NONE | |
REGULAR | |
RANDOM |
Definition at line 189 of file itkImageRegistrationMethodv4.h.
|
protected |
|
overrideprotectedvirtual |
|
protectedvirtual |
|
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::TimeVaryingBSplineVelocityFieldImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >, itk::TimeVaryingVelocityFieldImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >, and itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >.
|
overrideprotectedvirtual |
Perform the registration.
Reimplemented from itk::ProcessObject.
Reimplemented in itk::TimeVaryingBSplineVelocityFieldImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >, itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >, and itk::TimeVaryingVelocityFieldImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >.
|
virtual |
Get the current convergence value. This is a helper function for reporting observations.
|
virtual |
Get the current iteration. This is a helper function for reporting observations.
|
virtual |
Get the current level. This is a helper function for reporting observations.
|
protectedvirtual |
Get the virtual domain image from the metric(s)
|
virtual |
|
inlinevirtual |
Set/get the fixed images.
Definition at line 198 of file itkImageRegistrationMethodv4.h.
|
virtual |
Set/get the fixed images.
|
virtual |
|
virtual |
|
virtual |
|
inlinevirtual |
Set/get the fixed point sets.
Definition at line 224 of file itkImageRegistrationMethodv4.h.
|
virtual |
Set/get the fixed point sets.
|
virtual |
Initialize the current linear transform to be optimized with the center of the previous transform in the queue. This provides a much better initialization than the default origin.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Request that the InitialTransform be grafted onto the output, there by not creating a copy.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Get the current convergence state per level. This is a helper function for reporting observations.
|
virtual |
Set/Get the metric.
|
virtual |
Set the metric sampling percentage. Valid values are in (0.0,1.0].
|
virtual |
Set/Get the metric sampling strategy.
|
virtual |
Set/Get the metric.
|
virtual |
Set/Get the optimizer.
|
virtual |
|
inlinevirtual |
Set the moving images.
Definition at line 211 of file itkImageRegistrationMethodv4.h.
|
virtual |
Set the moving images.
|
virtual |
|
virtual |
|
virtual |
|
inlinevirtual |
Set the moving point sets.
Definition at line 237 of file itkImageRegistrationMethodv4.h.
|
virtual |
Set the moving point sets.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ProcessObject.
Reimplemented in itk::TimeVaryingBSplineVelocityFieldImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >, itk::TimeVaryingVelocityFieldImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >, itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >, and itk::BSplineSyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >.
|
virtual |
Set/Get the number of multi-resolution levels. In setting the number of levels we need to set the following for each level:
|
virtual |
Set/Get the optimizer.
|
virtual |
Set/Get the optimizer weights. Allows setting of a per-local-parameter weighting array. If unset, the weights are treated as identity. Weights are used to mask out a particular parameter during optimzation to hold it constant. Or they may be used to apply another kind of prior knowledge. The size of the weights must be equal to the number of the local transformation parameters.
|
virtual |
Returns the transform resulting from the registration process
|
virtual |
Returns the transform resulting from the registration process
|
inline |
Get the shrink factors for a specific level.
Definition at line 355 of file itkImageRegistrationMethodv4.h.
|
virtual |
Set/Get whether to specify the smoothing sigmas for each level in physical units (default) or in terms of voxels.
|
virtual |
Set/Get the smoothing sigmas for each level. At each resolution level, a gaussian smoothing filter (specifically, the itkDiscreteGaussianImageFilter
) is applied. Sigma values are specified according to the option m_SmoothingSigmasAreSpecifiedInPhysicalUnits
.
|
virtual |
|
inlinevirtual |
Definition at line 407 of file itkImageRegistrationMethodv4.h.
|
inlinevirtual |
Definition at line 408 of file itkImageRegistrationMethodv4.h.
const TransformParametersAdaptorsContainerType& itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::GetTransformParametersAdaptorsPerLevel | ( | ) | const |
Set/Get the transform adaptors.
void itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::InitializeCenterOfLinearOutputTransform | ( | ) |
We try to initialize the center of a linear transform (specifically those derived from itk::MatrixOffsetTransformBase). There are a number of checks that we need to make to account for all possible scenarios: 1) we check to make sure the m_OutputTransform is of the appropriate type such that it makes sense to try to center the transform. Local transforms such as SyN and B-spline do not need to be "centered", 2) we check to make sure the composite transform (to which we'll add the m_OutputTransform) is not empty, 3) we look for the first previous transform which has a center parameter, (which, presumably, been optimized beforehand), and
|
virtual |
Initialize the current linear transform to be optimized with the center of the previous transform in the queue. This provides a much better initialization than the default origin.
|
virtual |
Initialize the current linear transform to be optimized with the center of the previous transform in the queue. This provides a much better initialization than the default origin.
|
protectedvirtual |
Initialize by setting the interconnects between the components.
Reimplemented in itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >, and itk::BSplineSyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >.
|
virtual |
Request that the InitialTransform be grafted onto the output, there by not creating a copy.
|
virtual |
Request that the InitialTransform be grafted onto the output, there by not creating a copy.
|
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.
|
inlinestaticprivate |
Definition at line 551 of file itkImageRegistrationMethodv4.h.
|
inlinestaticprivate |
Definition at line 556 of file itkImageRegistrationMethodv4.h.
References itk::SmartPointer< TObjectType >::GetPointer(), and itk::IdentityTransform< TParametersValueType, NDimensions >::New().
void itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::MetricSamplingReinitializeSeed | ( | ) |
Reinitialize the seed for the random number generators that select the samples for some metric sampling strategies.
By initializing the random number generator seed to a value the same deterministic sampling will be used each Update execution. On the other hand, calling the method ReinitializeSeed() without arguments will use the wall clock in order to have psuedo-random initialization of the seeds. This will indeed increase the non-deterministic behavior of the metric.
void itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::MetricSamplingReinitializeSeed | ( | int | seed | ) |
Reinitialize the seed for the random number generators that select the samples for some metric sampling strategies.
By initializing the random number generator seed to a value the same deterministic sampling will be used each Update execution. On the other hand, calling the method ReinitializeSeed() without arguments will use the wall clock in order to have psuedo-random initialization of the seeds. This will indeed increase the non-deterministic behavior of the metric.
|
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.
Reimplemented in itk::TimeVaryingBSplineVelocityFieldImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >, itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >, and itk::TimeVaryingVelocityFieldImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >.
|
inlinevirtual |
Set/get the fixed images.
Definition at line 194 of file itkImageRegistrationMethodv4.h.
|
virtual |
Set/get the fixed images.
|
virtual |
|
virtual |
Set/Get the initial fixed transform.
|
inlinevirtual |
Set/get the fixed point sets.
Definition at line 220 of file itkImageRegistrationMethodv4.h.
|
virtual |
Set/get the fixed point sets.
|
virtual |
Initialize the current linear transform to be optimized with the center of the previous transform in the queue. This provides a much better initialization than the default origin.
|
virtual |
|
virtual |
Set/Get the initial transform to be optimized
This transform is composed with the MovingInitialTransform to specify the initial transformation from the moving image to the virtual image. It is used for the default parameters, and can be use to specify the transform type.
If the filter has "InPlace" set then this transform will be the output transform object or "grafted" to the output. Otherwise, this InitialTransform will be deep copied or "cloned" to the output.
If this parameter is not set then a default constructed output transform is used.
|
virtual |
Request that the InitialTransform be grafted onto the output, there by not creating a copy.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Set/Get the metric.
|
protectedvirtual |
Get metric samples.
void itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::SetMetricSamplingPercentage | ( | const RealType | ) |
Set the metric sampling percentage. Valid values are in (0.0, 1.0]
|
virtual |
Set the metric sampling percentage. Valid values are in (0.0,1.0].
|
virtual |
Set/Get the metric sampling strategy.
|
inlinevirtual |
Set the moving images.
Definition at line 207 of file itkImageRegistrationMethodv4.h.
|
virtual |
Set the moving images.
|
virtual |
|
virtual |
Set/Get the initial moving transform.
|
inlinevirtual |
Set the moving point sets.
Definition at line 233 of file itkImageRegistrationMethodv4.h.
|
virtual |
Set the moving point sets.
void itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::SetNumberOfLevels | ( | const SizeValueType | ) |
Set/Get the number of multi-resolution levels. In setting the number of levels we need to set the following for each level:
|
virtual |
Set/Get the optimizer.
void itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::SetOptimizerWeights | ( | OptimizerWeightsType & | ) |
Set/Get the optimizer weights. Allows setting of a per-local-parameter weighting array. If unset, the weights are treated as identity. Weights are used to mask out a particular parameter during optimzation to hold it constant. Or they may be used to apply another kind of prior knowledge. The size of the weights must be equal to the number of the local transformation parameters.
|
inline |
Set the shrink factors for a specific level for each dimension.
Definition at line 368 of file itkImageRegistrationMethodv4.h.
|
inline |
Set the shrink factors for each level where each level has a constant shrink factor for each dimension. For example, input to the function of factors = [4,2,1] will shrink the image in every dimension by 4 the first level, then by 2 at the second level, then the original resolution for the final level (uses the itkShrinkImageFilter
).
Definition at line 341 of file itkImageRegistrationMethodv4.h.
References itk::FixedArray< TValue, VLength >::Fill(), and itk::Array< TValue >::Size().
|
virtual |
Set/Get whether to specify the smoothing sigmas for each level in physical units (default) or in terms of voxels.
|
virtual |
Set/Get the smoothing sigmas for each level. At each resolution level, a gaussian smoothing filter (specifically, the itkDiscreteGaussianImageFilter
) is applied. Sigma values are specified according to the option m_SmoothingSigmasAreSpecifiedInPhysicalUnits
.
void itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::SetTransformParametersAdaptorsPerLevel | ( | TransformParametersAdaptorsContainerType & | ) |
Set/Get the transform adaptors.
|
virtual |
Set/Get whether to specify the smoothing sigmas for each level in physical units (default) or in terms of voxels.
|
virtual |
Set/Get whether to specify the smoothing sigmas for each level in physical units (default) or in terms of voxels.
|
static |
ImageDimension constants
Definition at line 108 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 535 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 502 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 500 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 498 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 501 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 530 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 523 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 507 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 510 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 505 of file itkImageRegistrationMethodv4.h.
|
private |
Definition at line 547 of file itkImageRegistrationMethodv4.h.
|
private |
Definition at line 543 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 503 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 519 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 521 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 520 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 508 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 511 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 506 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 512 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 499 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 522 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 513 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 515 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 516 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 517 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 539 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 529 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 528 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 524 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 526 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 525 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 533 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 509 of file itkImageRegistrationMethodv4.h.