ITK
5.0.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 constexpr 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 |
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::CompositeTransformPointer = typename CompositeTransformType::Pointer |
Definition at line 140 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::CompositeTransformType = CompositeTransform<RealType, ImageDimension> |
Definition at line 139 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::ConstPointer = SmartPointer<const Self> |
Definition at line 104 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::DataObjectPointerArraySizeType = ProcessObject::DataObjectPointerArraySizeType |
Make a DataObject of the correct type to be used as the specified output.
Definition at line 402 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::DecoratedInitialTransformPointer = typename DecoratedInitialTransformType::Pointer |
Definition at line 170 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::DecoratedInitialTransformType = DataObjectDecorator<InitialTransformType> |
Definition at line 169 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::DecoratedOutputTransformPointer = typename DecoratedOutputTransformType::Pointer |
Definition at line 168 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::DecoratedOutputTransformType = DataObjectDecorator<OutputTransformType> |
Type for the output: Using Decorator pattern for enabling the transform to be passed in the data pipeline
Definition at line 167 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::DerivativeType = typename OutputTransformType::DerivativeType |
Definition at line 133 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::DerivativeValueType = typename DerivativeType::ValueType |
Definition at line 134 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::FixedImageConstPointer = typename FixedImageType::ConstPointer |
Definition at line 118 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::FixedImageMaskConstPointer = typename FixedImageMaskType::ConstPointer |
Definition at line 157 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::FixedImageMasksContainerType = std::vector<FixedImageMaskConstPointer> |
Definition at line 158 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::FixedImageMaskType = typename ImageMetricType::FixedImageMaskType |
Definition at line 156 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::FixedImagePointer = typename FixedImageType::Pointer |
Definition at line 117 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::FixedImagesContainerType = std::vector<FixedImageConstPointer> |
Definition at line 119 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::FixedImageType = TFixedImage |
Input type alias for the images and transforms.
Definition at line 116 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::ImageMetricType = ImageToImageMetricv4<FixedImageType, MovingImageType, VirtualImageType, RealType> |
Definition at line 153 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::InitialTransformPointer = typename InitialTransformType::Pointer |
Definition at line 137 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::InitialTransformType = Transform<RealType, ImageDimension, ImageDimension> |
Definition at line 136 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::MetricPointer = typename MetricType::Pointer |
Definition at line 143 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::MetricSamplePointSetType = typename ImageMetricType::FixedSampledPointSetType |
Definition at line 195 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::MetricSamplingPercentageArrayType = Array<RealType> |
Definition at line 178 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::MetricType = ObjectToObjectMetricBaseTemplate<RealType> |
Definition at line 142 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::MovingImageConstPointer = typename MovingImageType::ConstPointer |
Definition at line 122 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::MovingImageMaskConstPointer = typename MovingImageMaskType::ConstPointer |
Definition at line 160 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::MovingImageMasksContainerType = std::vector<MovingImageMaskConstPointer> |
Definition at line 161 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::MovingImageMaskType = typename ImageMetricType::MovingImageMaskType |
Definition at line 159 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::MovingImagePointer = typename MovingImageType::Pointer |
Definition at line 121 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::MovingImagesContainerType = std::vector<MovingImageConstPointer> |
Definition at line 123 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::MovingImageType = TMovingImage |
Definition at line 120 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::MultiMetricType = ObjectToObjectMultiMetricv4<ImageDimension, ImageDimension, VirtualImageType, RealType> |
Definition at line 152 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::OptimizerPointer = typename OptimizerType::Pointer |
Definition at line 187 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::OptimizerType = ObjectToObjectOptimizerBaseTemplate<RealType> |
Type of the optimizer.
Definition at line 186 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::OptimizerWeightsType = typename OptimizerType::ScalesType |
Weights type for the optimizer.
Definition at line 190 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::OutputTransformPointer = typename OutputTransformType::Pointer |
Definition at line 131 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::OutputTransformType = TOutputTransform |
Metric and transform type alias
Definition at line 130 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::Pointer = SmartPointer<Self> |
Definition at line 103 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::PointSetConstPointer = typename PointSetType::ConstPointer |
Definition at line 126 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::PointSetMetricType = PointSetToPointSetMetricv4<PointSetType, PointSetType, RealType> |
Definition at line 154 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::PointSetsContainerType = std::vector<PointSetConstPointer> |
Definition at line 127 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::PointSetType = TPointSet |
Definition at line 125 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::RealType = typename OutputTransformType::ScalarType |
Definition at line 132 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::Self = ImageRegistrationMethodv4 |
Standard class type aliases.
Definition at line 101 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::ShrinkFactorsArrayType = Array<SizeValueType> |
Definition at line 175 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::ShrinkFactorsPerDimensionContainerType = typename ShrinkFilterType::ShrinkFactorsType |
Definition at line 173 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::ShrinkFilterType = ShrinkImageFilter<FixedImageType, VirtualImageType> |
Definition at line 172 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::SmoothingSigmasArrayType = Array<RealType> |
Definition at line 177 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::Superclass = ProcessObject |
Definition at line 102 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::TransformParametersAdaptorPointer = typename TransformParametersAdaptorType::Pointer |
Definition at line 182 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::TransformParametersAdaptorsContainerType = std::vector<TransformParametersAdaptorPointer> |
Definition at line 183 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::TransformParametersAdaptorType = TransformParametersAdaptorBase<InitialTransformType> |
Transform adaptor type alias
Definition at line 181 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::VectorType = Vector<RealType, ImageDimension> |
Definition at line 145 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::VirtualImageBaseConstPointer = typename VirtualImageBaseType::ConstPointer |
Definition at line 150 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::VirtualImageBaseType = ImageBase<ImageDimension> |
Definition at line 149 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::VirtualImagePointer = typename VirtualImageType::Pointer |
Definition at line 148 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::VirtualImageType = TVirtualImage |
Definition at line 147 of file itkImageRegistrationMethodv4.h.
enum itk::ImageRegistrationMethodv4::MetricSamplingStrategyType |
enum type for metric sampling strategy
Enumerator | |
---|---|
NONE | |
REGULAR | |
RANDOM |
Definition at line 193 of file itkImageRegistrationMethodv4.h.
|
protected |
|
overrideprotecteddefault |
|
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 202 of file itkImageRegistrationMethodv4.h.
|
virtual |
Set/get the fixed images.
|
virtual |
|
virtual |
|
virtual |
|
inlinevirtual |
Set/get the fixed point sets.
Definition at line 228 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 215 of file itkImageRegistrationMethodv4.h.
|
virtual |
Set the moving images.
|
virtual |
|
virtual |
|
virtual |
|
inlinevirtual |
Set the moving point sets.
Definition at line 241 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 359 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 411 of file itkImageRegistrationMethodv4.h.
|
inlinevirtual |
Definition at line 412 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 534 of file itkImageRegistrationMethodv4.h.
|
inlinestaticprivate |
Definition at line 539 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 198 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 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 |
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 211 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 237 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 372 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 345 of file itkImageRegistrationMethodv4.h.
References 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 110 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 520 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 487 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 485 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 483 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 486 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 515 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 508 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 492 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 495 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 490 of file itkImageRegistrationMethodv4.h.
|
private |
Definition at line 530 of file itkImageRegistrationMethodv4.h.
|
private |
Definition at line 528 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 488 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 504 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 506 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 505 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 493 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 496 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 491 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 497 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 484 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 507 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 498 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 500 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 501 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 502 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 524 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 514 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 513 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 509 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 511 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 510 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 518 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 494 of file itkImageRegistrationMethodv4.h.