ITK
6.0.0
Insight 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 117 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 val) |
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 | |
static void | MakeOutputTransform (SmartPointer< InitialTransformType > &ptr) |
template<typename TTransform > | |
static void | MakeOutputTransform (SmartPointer< TTransform > &ptr) |
Private Attributes | |
bool | m_InitializeCenterOfLinearOutputTransform {} |
bool | m_InPlace {} |
Additional Inherited Members | |
Static Protected Member Functions inherited from itk::ProcessObject | |
template<typename TSourceObject > | |
static void | MakeRequiredOutputs (TSourceObject &sourceObject, const DataObjectPointerArraySizeType numberOfRequiredOutputs) |
static constexpr float | progressFixedToFloat (uint32_t fixed) |
static uint32_t | progressFloatToFixed (float f) |
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::CompositeTransformPointer = typename CompositeTransformType::Pointer |
Definition at line 162 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::CompositeTransformType = CompositeTransform<RealType, ImageDimension> |
Definition at line 161 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::ConstPointer = SmartPointer<const Self> |
Definition at line 126 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 453 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::DecoratedInitialTransformPointer = typename DecoratedInitialTransformType::Pointer |
Definition at line 192 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::DecoratedInitialTransformType = DataObjectDecorator<InitialTransformType> |
Definition at line 191 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::DecoratedOutputTransformPointer = typename DecoratedOutputTransformType::Pointer |
Definition at line 190 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 189 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::DerivativeType = typename OutputTransformType::DerivativeType |
Definition at line 155 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::DerivativeValueType = typename DerivativeType::ValueType |
Definition at line 156 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::FixedImageConstPointer = typename FixedImageType::ConstPointer |
Definition at line 140 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::FixedImageMaskConstPointer = typename FixedImageMaskType::ConstPointer |
Definition at line 179 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::FixedImageMasksContainerType = std::vector<FixedImageMaskConstPointer> |
Definition at line 180 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::FixedImageMaskType = typename ImageMetricType::FixedImageMaskType |
Definition at line 178 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::FixedImagePointer = typename FixedImageType::Pointer |
Definition at line 139 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::FixedImagesContainerType = std::vector<FixedImageConstPointer> |
Definition at line 141 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 138 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::ImageMetricType = ImageToImageMetricv4<FixedImageType, MovingImageType, VirtualImageType, RealType> |
Definition at line 175 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::InitialTransformPointer = typename InitialTransformType::Pointer |
Definition at line 159 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::InitialTransformType = Transform<RealType, ImageDimension, ImageDimension> |
Definition at line 158 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::MetricPointer = typename MetricType::Pointer |
Definition at line 165 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::MetricSamplePointSetType = typename ImageMetricType::FixedSampledPointSetType |
Definition at line 224 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::MetricSamplingPercentageArrayType = Array<RealType> |
Definition at line 200 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::MetricSamplingStrategyEnum = ImageRegistrationMethodv4Enums::MetricSamplingStrategy |
Definition at line 214 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::MetricType = ObjectToObjectMetricBaseTemplate<RealType> |
Definition at line 164 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::MovingImageConstPointer = typename MovingImageType::ConstPointer |
Definition at line 144 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::MovingImageMaskConstPointer = typename MovingImageMaskType::ConstPointer |
Definition at line 182 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::MovingImageMasksContainerType = std::vector<MovingImageMaskConstPointer> |
Definition at line 183 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::MovingImageMaskType = typename ImageMetricType::MovingImageMaskType |
Definition at line 181 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::MovingImagePointer = typename MovingImageType::Pointer |
Definition at line 143 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::MovingImagesContainerType = std::vector<MovingImageConstPointer> |
Definition at line 145 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::MovingImageType = TMovingImage |
Definition at line 142 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::MultiMetricType = ObjectToObjectMultiMetricv4<ImageDimension, ImageDimension, VirtualImageType, RealType> |
Definition at line 174 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::OptimizerPointer = typename OptimizerType::Pointer |
Definition at line 209 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::OptimizerType = ObjectToObjectOptimizerBaseTemplate<RealType> |
Type of the optimizer.
Definition at line 208 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::OptimizerWeightsType = typename OptimizerType::ScalesType |
Weights type for the optimizer.
Definition at line 212 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::OutputTransformPointer = typename OutputTransformType::Pointer |
Definition at line 153 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::OutputTransformType = TOutputTransform |
Metric and transform type alias
Definition at line 152 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::Pointer = SmartPointer<Self> |
Definition at line 125 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::PointSetConstPointer = typename PointSetType::ConstPointer |
Definition at line 148 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::PointSetMetricType = PointSetToPointSetMetricWithIndexv4<PointSetType, PointSetType, RealType> |
Definition at line 176 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::PointSetsContainerType = std::vector<PointSetConstPointer> |
Definition at line 149 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::PointSetType = TPointSet |
Definition at line 147 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::RealType = typename OutputTransformType::ScalarType |
Definition at line 154 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::Self = ImageRegistrationMethodv4 |
Standard class type aliases.
Definition at line 123 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::ShrinkFactorsArrayType = Array<SizeValueType> |
Definition at line 197 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::ShrinkFactorsPerDimensionContainerType = typename ShrinkFilterType::ShrinkFactorsType |
Definition at line 195 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::ShrinkFilterType = ShrinkImageFilter<FixedImageType, VirtualImageType> |
Definition at line 194 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::SmoothingSigmasArrayType = Array<RealType> |
Definition at line 199 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::Superclass = ProcessObject |
Definition at line 124 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::TransformParametersAdaptorPointer = typename TransformParametersAdaptorType::Pointer |
Definition at line 204 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::TransformParametersAdaptorsContainerType = std::vector<TransformParametersAdaptorPointer> |
Definition at line 205 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::TransformParametersAdaptorType = TransformParametersAdaptorBase<InitialTransformType> |
Transform adaptor type alias
Definition at line 203 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::VectorType = Vector<RealType, ImageDimension> |
Definition at line 167 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::VirtualImageBaseConstPointer = typename VirtualImageBaseType::ConstPointer |
Definition at line 172 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::VirtualImageBaseType = ImageBase<ImageDimension> |
Definition at line 171 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::VirtualImagePointer = typename VirtualImageType::Pointer |
Definition at line 170 of file itkImageRegistrationMethodv4.h.
using itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >::VirtualImageType = TVirtualImage |
Definition at line 169 of file itkImageRegistrationMethodv4.h.
|
protected |
|
overrideprotecteddefault |
|
protectedvirtual |
|
overrideprotectedvirtual |
Perform the registration.
Reimplemented from itk::ProcessObject.
|
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 233 of file itkImageRegistrationMethodv4.h.
|
virtual |
Set/get the fixed images.
|
inlinevirtual |
Set/get the fixed point sets.
Definition at line 265 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 |
Request that the InitialTransform be grafted onto the output, there by not creating a copy.
|
virtual |
Get the current convergence state per level. This is a helper function for reporting observations.
|
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 249 of file itkImageRegistrationMethodv4.h.
|
virtual |
Set the moving images.
|
inlinevirtual |
Set the moving point sets.
Definition at line 281 of file itkImageRegistrationMethodv4.h.
|
virtual |
Set the moving point sets.
|
overridevirtual |
Reimplemented from itk::ProcessObject.
|
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 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 optimization 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 |
Return the transform resulting from the registration process.
|
virtual |
Return the transform resulting from the registration process.
|
inline |
Get the shrink factors for a specific level.
Definition at line 409 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 465 of file itkImageRegistrationMethodv4.h.
|
inlinevirtual |
Definition at line 470 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.
|
protectedvirtual |
Initialize by setting the interconnects between the components.
Reimplemented in itk::BSplineSyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >, itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform, TVirtualImage, TPointSet >, and itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, BSplineSmoothingOnUpdateDisplacementFieldTransform< double, TFixedImage::ImageDimension >, TFixedImage, PointSet< unsigned int, TFixedImage::ImageDimension > >.
|
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 611 of file itkImageRegistrationMethodv4.h.
References itk::SmartPointer< TObjectType >::GetPointer(), and itk::IdentityTransform< TParametersValueType, VDimension >::New().
|
inlinestaticprivate |
Definition at line 605 of file itkImageRegistrationMethodv4.h.
References 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 MetricSamplingReinitializeSeed() without arguments will use the wall clock in order to have pseudo-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 MetricSamplingReinitializeSeed() without arguments will use the wall clock in order to have pseudo-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.
|
inlinevirtual |
Set/get the fixed images.
Definition at line 228 of file itkImageRegistrationMethodv4.h.
|
virtual |
Set/get the fixed images.
|
virtual |
Set/Get the initial fixed transform.
|
inlinevirtual |
Set/get the fixed point sets.
Definition at line 260 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 |
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 |
Set/Get the metric.
|
protectedvirtual |
Set the metric sample points.
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 244 of file itkImageRegistrationMethodv4.h.
|
virtual |
Set the moving images.
|
virtual |
Set/Get the initial moving transform.
|
inlinevirtual |
Set the moving point sets.
Definition at line 276 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 optimization 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 423 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 395 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.
|
staticconstexpr |
ImageDimension constants
Definition at line 132 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 590 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 557 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 555 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 553 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 556 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 585 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 578 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 562 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 565 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 560 of file itkImageRegistrationMethodv4.h.
|
private |
Definition at line 600 of file itkImageRegistrationMethodv4.h.
|
private |
Definition at line 598 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 558 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 574 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 576 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 575 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 563 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 566 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 561 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 567 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 554 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 577 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 568 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 570 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 571 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 572 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 594 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 584 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 583 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 579 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 581 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 580 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 588 of file itkImageRegistrationMethodv4.h.
|
protected |
Definition at line 564 of file itkImageRegistrationMethodv4.h.