|
|
| CurrentsDistance (const char *="", double=1.0) |
| | Constructor.
|
| |
|
| CurrentsDistance (const CurrentsDistance &) |
| | Copy constructor.
|
| |
|
virtual void | Initialize () |
| | Initialize distance measure after input and parameters were set.
|
| |
|
CurrentsDistance & | operator= (const CurrentsDistance &) |
| | Assignment operator.
|
| |
|
virtual ParameterList | Parameter () const |
| | Get parameter key/value as string map.
|
| |
|
virtual void | Reinitialize () |
| | Reinitialize distance measure after input topology changed.
|
| |
|
virtual void | Update (bool) |
| | Update moving input points and internal state of distance measure.
|
| |
|
virtual void | WriteDataSets (const char *, const char *, bool=true) const |
| | Write input of data fidelity term.
|
| |
|
virtual | ~CurrentsDistance () |
| | Destructor.
|
| |
|
virtual void | WriteGradient (const char *, const char *) const |
| | Write gradient of data fidelity term w.r.t each transformed input.
|
| |
|
virtual | ~PointSetDistance () |
| | Destructor.
|
| |
|
virtual | ~DataFidelity () |
| | Destructor.
|
| |
|
virtual enum EnergyMeasure | EnergyMeasure () const =0 |
| | Energy measure implemented by this term.
|
| |
| void | Gradient (double *gradient, double step) |
| |
| virtual void | GradientStep (const double *gradient, double &min, double &max) const |
| |
|
double | InitialValue () |
| | Returns initial value of energy term.
|
| |
| void | NormalizedGradient (double *gradient, double step) |
| |
|
string | Prefix (const char *=NULL) const |
| | Prefix to be used for debug output files.
|
| |
|
virtual void | Print (Indent=0) const |
| | Print debug information.
|
| |
| virtual double | RawValue (double) const |
| |
| double | RawValue () |
| |
|
void | ResetInitialValue () |
| | Reset initial value of energy term.
|
| |
|
void | ResetValue () |
| | Reset cached value of energy term.
|
| |
|
virtual bool | Upgrade () |
| | Update energy term after convergence.
|
| |
|
double | Value () |
| | Evaluate energy term.
|
| |
|
virtual | ~EnergyTerm () |
| | Destructor.
|
| |
| string | DefaultName () const |
| |
|
virtual bool | Set (const char *, const char *) |
| | Set parameter value from string.
|
| |
|
virtual | ~Configurable () |
| | Destructor.
|
| |
|
void | AddObserver (Observer &) |
| | Add observer.
|
| |
|
void | Broadcast (Event, const void *=NULL) |
| | Broadcast event to observers.
|
| |
|
void | ClearObservers () |
| | Delete all observers.
|
| |
|
void | DeleteObserver (Observer &) |
| | Delete observer.
|
| |
|
void | NotifyObservers (Event, const void *=NULL) |
| | Notify all observers about given event if this object has changed.
|
| |
|
int | NumberOfObservers () const |
| | Number of current observers.
|
| |
|
virtual | ~Observable () |
| | Destructor.
|
| |
|
virtual const char * | NameOfClass () const =0 |
| | Get name of class, which this object is an instance of.
|
| |
|
bool | Parameter (const ParameterList &) |
| | Set parameters from name/value pairs.
|
| |
|
virtual | ~Object () |
| | Destructor.
|
| |
|
|
virtual double | Evaluate () |
| | Evaluate unweighted energy term.
|
| |
|
void | Init () |
| | Common (re-)initialization code of this class (must be non-virtual function!)
|
| |
| virtual void | NonParametricGradient (const RegisteredPointSet *target, GradientType *gradient) |
| |
|
virtual bool | SetWithoutPrefix (const char *, const char *) |
| | Set parameter value from string.
|
| |
|
virtual bool | SetWithPrefix (const char *, const char *) |
| | Set parameter value from string.
|
| |
|
void | AllocateGradientWrtSource (int) |
| | Allocate memory for (non-parametric) gradient w.r.t points of source.
|
| |
|
void | AllocateGradientWrtTarget (int) |
| | Allocate memory for (non-parametric) gradient w.r.t points of target.
|
| |
|
void | CopyAttributes (const PointSetDistance &, int=-1, int=-1) |
| | Copy attributes from other point set distance measure.
|
| |
| virtual void | EvaluateGradient (double *gradient, double step, double weight) |
| |
|
void | Initialize (int, int) |
| | Initialize distance measure once input and parameters have been set.
|
| |
|
| mirtkAttributeMacro (bool, InitialUpdate) |
| | Whether Update has not been called since initialization.
|
| |
|
| mirtkComponentMacro (GradientType, GradientWrtTarget) |
| | Memory for (non-parametric) gradient w.r.t points of target.
|
| |
|
| mirtkComponentMacro (GradientType, GradientWrtSource) |
| | Memory for (non-parametric) gradient w.r.t points of source.
|
| |
|
| mirtkPublicAggregateMacro (RegisteredPointSet, Target) |
| | First point set.
|
| |
|
| mirtkPublicAggregateMacro (RegisteredPointSet, Source) |
| | Second point set.
|
| |
|
PointSetDistance & | operator= (const PointSetDistance &) |
| | Assignment operator.
|
| |
| virtual void | ParametricGradient (const RegisteredPointSet *target, const GradientType *np_gradient, double *gradient, double weight) |
| |
|
| PointSetDistance (const char *="", double=1.0) |
| | Constructor.
|
| |
|
| PointSetDistance (const PointSetDistance &, int=-1, int=-1) |
| | Copy constructor.
|
| |
| void | Reinitialize (int, int) |
| |
|
virtual void | WriteGradient (const char *, const RegisteredPointSet *, const GradientType *, const Array< int > *=NULL) const |
| | Write gradient of data fidelity term w.r.t each transformed input.
|
| |
|
| DataFidelity (const char *="", double=1.0) |
| | Constructor.
|
| |
|
| DataFidelity (const DataFidelity &) |
| | Copy constructor.
|
| |
|
DataFidelity & | operator= (const DataFidelity &) |
| | Assignment operator.
|
| |
|
| EnergyTerm (const char *="", double=1.0) |
| | Constructor.
|
| |
|
| EnergyTerm (const EnergyTerm &) |
| | Copy constructor.
|
| |
|
EnergyTerm & | operator= (const EnergyTerm &) |
| | Assignment operator.
|
| |
|
| Configurable (const char *="") |
| | Constructor.
|
| |
|
| Configurable (const Configurable &) |
| | Copy constructor.
|
| |
|
string | DefaultPrefix () const |
| | Get default object name prefix (if any)
|
| |
|
bool | HasName () const |
| | Whether this object has an explicit name.
|
| |
|
bool | HasPrefix () const |
| | Whether this object has either an explicit name or default prefix.
|
| |
|
template<class T > |
| bool | InsertWithPrefix (ParameterList &, string, T) const |
| | Insert parameter into name/value list with object name prefix.
|
| |
|
bool | InsertWithPrefix (ParameterList &, const ParameterList &) const |
| | Insert parameters into name/value list with object name prefix.
|
| |
|
Configurable & | operator= (const Configurable &) |
| | Assignment operator.
|
| |
|
string | ParameterNameWithoutPrefix (const char *) const |
| | Get name of parameter without object name prefix.
|
| |
|
string | ParameterNameWithPrefix (const string &) const |
| | Get name of parameter with default object name prefix.
|
| |
|
string | ParameterNameWithPrefix (const char *) const |
| | Get name of parameter with default object name prefix.
|
| |
|
| Observable () |
| | Default constructor.
|
| |
|
| Observable (const Observable &) |
| | Copy constructor.
|
| |
|
Observable & | operator= (const Observable &) |
| | Assignment operator.
|
| |
| template<typename... Args> |
| void | Throw (ErrorType err, const char *func, Args... args) const |
| |
Currents distance measure of points (0-currents), curves (1-currents), or surfaces (2-currents)
This implementation is based on the currents distance similarity computations of the Deformetrica registration software package.
- See also
- http://www.deformetrica.org/
Definition at line 42 of file CurrentsDistance.h.