zxhproj v 2.2
zxhproj
|
(normalized) mutual information based on histogram or parzen window default is normalised mi and histogram, only constraint computed on test space be considered NOTICE: resample test image More...
#include <zxhMetricMILocalAffines.h>
Public Member Functions | |
zxhMetricMILocalAffines (void) | |
constructor | |
~zxhMetricMILocalAffines (void) | |
virtual std::string | GetMetricType () |
virtual zxhMetricBase * | Clone (zxhMetricBase *&pRet) |
virtual bool | ComputeLocAffGradientCrumIPMI (zxhTransformLocalAffines *pGradient) |
virtual int | ComputeConstanceForLocalAffineGradient () |
will be deleted, currently compute all parameters including global and local affines | |
virtual int | ComputeLocalAffinesDiff (zxhTransformBase *, zxhTransformBase *) |
only compute the local affines only NOT global affine | |
Protected Member Functions | |
virtual int | ComputeLocalAffinesDiffMMI (zxhTransformBase *pGradient, zxhTransformBase *pDifferential) |
(normalized) mutual information based on histogram or parzen window default is normalised mi and histogram, only constraint computed on test space be considered NOTICE: resample test image
zxhMetricMILocalAffines::~zxhMetricMILocalAffines | ( | void | ) |
zxhMetricBase * zxhMetricMILocalAffines::Clone | ( | zxhMetricBase *& | pRet | ) | [virtual] |
Reimplemented from zxhMetricMIConstraint.
virtual int zxhMetricMILocalAffines::ComputeConstanceForLocalAffineGradient | ( | ) | [inline, virtual] |
will be deleted, currently compute all parameters including global and local affines
constraint on preserving relative positions between local regions add non-parametric penalty term using skeleton points distance of all local regions. weighted( PenaltyTerm)= (1-NGaussin(mean(distance changes))* PT PT_region_i = mean(distance changes of points in region_i to points of all other regions) return the weighting value pre compute:
Implements zxhMetricLocalAffinesBase.
bool zxhMetricMILocalAffines::ComputeLocAffGradientCrumIPMI | ( | zxhTransformLocalAffines * | pGradient | ) | [virtual] |
Use Crum et al. IPMI 2003 method to estimate the movement trend of each pixel to estimate the driving force on each pixel. There is no guarantee they represent the real forces, but can be used to estimate the driving forces of local affine registration, NOT implement, USELESS