# C:/AngioLocalizeNoAuto/MevisLabNoAutoReg/STUMevisApp/Angiolocalize/Sources/ML/STUChamferMatching/mlChamferMatching.cpp File Reference

The ML module class ChamferMatching. More...

`#include "mlChamferMatching.h"`

Go to the source code of this file.

## Functions
ML_START_NAMESPACE | ML_BASEOP_CLASS_SOURCE (ChamferMatching, BaseOp)
| Implements code for the runtime type system of the ML.
void | updateFunc (void *obj)
| updateFunc function that update GUI
double | cost (VecDoub &x, void *obj)
| cost function that calculates the cost
Doub | test (VecDoub &x)
| test function to test ameoba function
bool | isStopButtonPressed (void *obj)

## Detailed Description

The ML module class ChamferMatching.

Author:
  lina liu

Date:
  2008-08-28

The 2DChamferMatching module matches a contour given as a XMarkerList to a distance 2D image by iteratively minimizing the sum of the (interpolated) pixel values at the marker positions.

Definition in file mlChamferMatching.cpp.

## Function Documentation

void updateFunc | ( | void * | obj | ) |

updateFunc function that update GUI

this function is used in the test function to test the amoeba algorithm. this function is written as global because the signature of amoeba requires global function.

Definition at line 156 of file mlChamferMatching.cpp.

All Classes Namespaces Files Functions Variables Enumerator Friends