This class is templated over the type of the PointSet and the Image to be registered. A generic Transform is used by this class. That allows to select at run time the particular type of transformation that is to be applied for registering the images.

This class uses a generic Metric in order to compare the PointSet and the Image. The final goal of the registration method is to find the set of parameters of the Transformation that optimizes the metric.

The registration method also supports a generic optimizer that can be selected at run-time. The only restriction for the optimizer is that it should be able to operate in single-valued cost functions given that the metrics used to compare PointSet with Images provide a single value as output.

The terms FixedPointSet and MovingImage are used in this class to indicate that the image is being mapped by the transform.

This class uses the coordinate system of the Fixed PointSet as a reference and searches for a Transform that will map points from the space of the Fixed PointSet to the space of the Moving image.

For doing so, a Metric will be continuously applied to compare the Fixed image with the Transformed Moving image. This process also requires to interpolate values from the Moving image.

This class requires the Transform, the Interpolator, the Metric, and the Optimizer to be explicitly set.

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.