ITK
5.2.0
Insight Toolkit
|
#include <itkImageToSpatialObjectMetric.h>
Public Member Functions | |
virtual const char * | GetNameOfClass () const |
Public Member Functions inherited from itk::SingleValuedCostFunction | |
virtual void | GetDerivative (const ParametersType ¶meters, DerivativeType &derivative) const =0 |
virtual MeasureType | GetValue (const ParametersType ¶meters) const =0 |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) const |
unsigned long | AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const |
LightObject::Pointer | CreateAnother () const override |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary () |
const MetaDataDictionary & | GetMetaDataDictionary () const |
virtual ModifiedTimeType | GetMTime () const |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
void | Register () const override |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetReferenceCount (int) override |
void | UnRegister () const noexcept override |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
void | SetMetaDataDictionary (MetaDataDictionary &&rrhs) |
virtual void | SetObjectName (std::string _arg) |
virtual const std::string & | GetObjectName () const |
Public Member Functions inherited from itk::LightObject | |
Pointer | Clone () const |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
void | Print (std::ostream &os, Indent indent=0) const |
Additional Inherited Members | |
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 () |
Protected Member Functions inherited from itk::SingleValuedCostFunction | |
SingleValuedCostFunction ()=default | |
~SingleValuedCostFunction () override | |
Protected Member Functions inherited from itk::CostFunctionTemplate< TInternalComputationValueType > | |
CostFunctionTemplate ()=default | |
~CostFunctionTemplate () override=default | |
Protected Member Functions inherited from itk::Object | |
Object () | |
~Object () override | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
Protected Member Functions inherited from itk::LightObject | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount |
Computes similarity between a moving spatial object and an Image to be registered.
The ImageToSpatialObjectMetric is different from the rest of the registration framework in ITK regarding the interpretation of the Transform with respect to the Fixed and Moving objects. In most of the ITK registration framework, the Transform computed by the optimizer is the one that maps points from the space of the Fixed object into the space of the Moving object. This direction of the transform is the one that makes easier to resample the Moving object into the space of the Fixed object.
In the particular case of the ImageToSpatialObject registration, the Transform to be computed is the one mapping points from the SpatialObject into the Image, despite the fact that the SpatialObject is called the "Moving" object and the image is called the "Fixed" object. This change of reference system is the consequence of using this type of registration in applications that are based on Visualization. In the context of such visualizations it is simpler to think in terms of the Transform that can be used for displaying the SpatialObject in the appropriate position with respect to the image. Since this process does not involve resampling, but providing a Transform to a visualization routine, it is usually more natural to use the Transform that maps points from the SpatialObject space the image space.
A full discussion of the Transform directions in the ITK registration framework can be found in the ITK Software Guide.
Definition at line 61 of file itkImageToSpatialObjectMetric.h.
using itk::ImageToSpatialObjectMetric< TFixedImage, TMovingSpatialObject >::ConstPointer = SmartPointer<const Self> |
Definition at line 69 of file itkImageToSpatialObjectMetric.h.
using itk::ImageToSpatialObjectMetric< TFixedImage, TMovingSpatialObject >::CoordinateRepresentationType = Superclass::ParametersValueType |
Type used for representing point components
Definition at line 78 of file itkImageToSpatialObjectMetric.h.
using itk::ImageToSpatialObjectMetric< TFixedImage, TMovingSpatialObject >::DerivativeType = Superclass::DerivativeType |
Type of the derivative of the match measure
Definition at line 107 of file itkImageToSpatialObjectMetric.h.
using itk::ImageToSpatialObjectMetric< TFixedImage, TMovingSpatialObject >::FixedImageConstPointer = typename FixedImageType::ConstPointer |
Const pointer type for the FixedImage
Definition at line 116 of file itkImageToSpatialObjectMetric.h.
using itk::ImageToSpatialObjectMetric< TFixedImage, TMovingSpatialObject >::FixedImagePointer = typename FixedImageType::Pointer |
Pointer type for the FixedImage
Definition at line 110 of file itkImageToSpatialObjectMetric.h.
using itk::ImageToSpatialObjectMetric< TFixedImage, TMovingSpatialObject >::FixedImageType = TFixedImage |
Type of the fixed image
Definition at line 72 of file itkImageToSpatialObjectMetric.h.
using itk::ImageToSpatialObjectMetric< TFixedImage, TMovingSpatialObject >::InputPointType = typename TransformType::InputPointType |
Definition at line 90 of file itkImageToSpatialObjectMetric.h.
using itk::ImageToSpatialObjectMetric< TFixedImage, TMovingSpatialObject >::InterpolatorPointer = typename InterpolatorType::Pointer |
Definition at line 98 of file itkImageToSpatialObjectMetric.h.
using itk::ImageToSpatialObjectMetric< TFixedImage, TMovingSpatialObject >::InterpolatorType = LinearInterpolateImageFunction<TFixedImage, CoordinateRepresentationType> |
Type of the Interpolator Base class
Definition at line 96 of file itkImageToSpatialObjectMetric.h.
using itk::ImageToSpatialObjectMetric< TFixedImage, TMovingSpatialObject >::MeasureType = Superclass::MeasureType |
Type of the match measure
Definition at line 104 of file itkImageToSpatialObjectMetric.h.
using itk::ImageToSpatialObjectMetric< TFixedImage, TMovingSpatialObject >::MovingSpatialObjectConstPointer = typename MovingSpatialObjectType::ConstPointer |
Const pointer type for the MovingSpatialObject
Definition at line 119 of file itkImageToSpatialObjectMetric.h.
using itk::ImageToSpatialObjectMetric< TFixedImage, TMovingSpatialObject >::MovingSpatialObjectPointer = typename MovingSpatialObjectType::Pointer |
Pointer type for the MovingSpatialObject
Definition at line 113 of file itkImageToSpatialObjectMetric.h.
using itk::ImageToSpatialObjectMetric< TFixedImage, TMovingSpatialObject >::MovingSpatialObjectType = TMovingSpatialObject |
Type of the MovingSpatialObject
Definition at line 75 of file itkImageToSpatialObjectMetric.h.
using itk::ImageToSpatialObjectMetric< TFixedImage, TMovingSpatialObject >::OutputPointType = typename TransformType::OutputPointType |
Definition at line 91 of file itkImageToSpatialObjectMetric.h.
using itk::ImageToSpatialObjectMetric< TFixedImage, TMovingSpatialObject >::ParametersType = Superclass::ParametersType |
ParametersType type alias. It defines a position in the optimization search space.
Definition at line 123 of file itkImageToSpatialObjectMetric.h.
using itk::ImageToSpatialObjectMetric< TFixedImage, TMovingSpatialObject >::Pointer = SmartPointer<Self> |
Definition at line 68 of file itkImageToSpatialObjectMetric.h.
using itk::ImageToSpatialObjectMetric< TFixedImage, TMovingSpatialObject >::Self = ImageToSpatialObjectMetric |
Definition at line 66 of file itkImageToSpatialObjectMetric.h.
using itk::ImageToSpatialObjectMetric< TFixedImage, TMovingSpatialObject >::Superclass = SingleValuedCostFunction |
Definition at line 67 of file itkImageToSpatialObjectMetric.h.
using itk::ImageToSpatialObjectMetric< TFixedImage, TMovingSpatialObject >::TransformJacobianType = typename TransformType::JacobianType |
Definition at line 93 of file itkImageToSpatialObjectMetric.h.
using itk::ImageToSpatialObjectMetric< TFixedImage, TMovingSpatialObject >::TransformParametersType = typename TransformType::ParametersType |
Definition at line 92 of file itkImageToSpatialObjectMetric.h.
using itk::ImageToSpatialObjectMetric< TFixedImage, TMovingSpatialObject >::TransformPointer = typename TransformType::Pointer |
Definition at line 89 of file itkImageToSpatialObjectMetric.h.
using itk::ImageToSpatialObjectMetric< TFixedImage, TMovingSpatialObject >::TransformType = Transform<CoordinateRepresentationType, Self::ObjectDimension, Self::ImageDimension> |
Type of the Transform Base class
Definition at line 87 of file itkImageToSpatialObjectMetric.h.
using itk::ImageToSpatialObjectMetric< TFixedImage, TMovingSpatialObject >::VectorType = vnl_vector_fixed<double, Self::ObjectDimension> |
Typede of the vector type to return derivatives
Definition at line 101 of file itkImageToSpatialObjectMetric.h.
|
protected |
Get/Set the FixedImage.
|
overrideprotecteddefault |
Get/Set the FixedImage.
|
virtual |
Get/Set the FixedImage.
|
virtual |
Get/Set the FixedImage.
|
virtual |
Get the last transformation parameters visited by the optimizer. This function overload the superclass's one
|
virtual |
Get the Interpolator.
|
virtual |
Get/Set the FixedImage.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::SingleValuedCostFunction.
|
overridevirtual |
Return the number of parameters required by the Transform
Implements itk::CostFunctionTemplate< TInternalComputationValueType >.
|
overridepure virtual |
Get Value and Derivatives for MultipleValuedOptimizers
Reimplemented from itk::SingleValuedCostFunction.
|
virtual |
Initialize the metric
|
overrideprotectedvirtual |
Get/Set the FixedImage.
Reimplemented from itk::CostFunctionTemplate< TInternalComputationValueType >.
|
virtual |
Get/Set the FixedImage.
|
virtual |
Connect the Interpolator.
|
virtual |
Get/Set the MovingSpatialObject
|
virtual |
Set/Get the Transform.
|
staticconstexpr |
Image dimension enumeration.
Definition at line 81 of file itkImageToSpatialObjectMetric.h.
|
protected |
Get/Set the FixedImage.
Definition at line 178 of file itkImageToSpatialObjectMetric.h.
|
protected |
Get/Set the FixedImage.
Definition at line 175 of file itkImageToSpatialObjectMetric.h.
|
protected |
Get/Set the FixedImage.
Definition at line 179 of file itkImageToSpatialObjectMetric.h.
|
protected |
Get/Set the FixedImage.
Definition at line 172 of file itkImageToSpatialObjectMetric.h.
|
protected |
Get/Set the FixedImage.
Definition at line 173 of file itkImageToSpatialObjectMetric.h.
|
protected |
Get/Set the FixedImage.
Definition at line 177 of file itkImageToSpatialObjectMetric.h.
|
mutableprotected |
Get/Set the FixedImage.
Definition at line 174 of file itkImageToSpatialObjectMetric.h.
|
staticconstexpr |
Object dimension enumeration.
Definition at line 84 of file itkImageToSpatialObjectMetric.h.