zxhproj v 2.2
zxhproj

zxhMetricMIFFD2MultiImage Class Reference

multiple images for registration using MIFFD2 More...

#include <zxhMetricMIFFD2MultiImage.h>

Inheritance diagram for zxhMetricMIFFD2MultiImage:
zxhMetricMIFFD2 zxhMetricMultiImageBase zxhMetricMIConstraint zxhMetricFFD2Base zxhMetricMI zxhMetricFFDBase zxhMetricBase

List of all members.

Public Member Functions

 zxhMetricMIFFD2MultiImage (void)
 constructor
 ~zxhMetricMIFFD2MultiImage (void)
virtual std::string GetMetricType ()
virtual zxhMetricBaseClone (zxhMetricBase *&pRet)
virtual int GetValue (zxhlfloat &fvalue)
virtual int ComputeConstanceForFFDGradient ()
 compute all constance and sumup from all metric
virtual bool SetImage (zxhImageData *pImageTest, zxhImageData *pImageRef)
 need to update NeedToUpdateOtherImageMetric
virtual bool SetMaskImage (zxhImageData *pMaskTest, zxhImageData *pMaskRef)
virtual bool SetTransform (zxhTransformBase *ptrans)
virtual void SetSamplingPhysical (float x, float y=1.0f, float z=1.0f, float t=1.0f)

Protected Member Functions

virtual bool UpdateOtherImageMetric (bool bupdate)
virtual void SetMultiMetricBase ()
virtual bool SumupDrivingForceFromAllMetric ()
 sum up all force in metric3d/2d

Detailed Description

multiple images for registration using MIFFD2


Constructor & Destructor Documentation

zxhMetricMIFFD2MultiImage::~zxhMetricMIFFD2MultiImage ( void  )
Returns:

Member Function Documentation

zxhMetricBase * zxhMetricMIFFD2MultiImage::Clone ( zxhMetricBase *&  pRet) [virtual]
Returns:

Reimplemented from zxhMetricMIFFD2.

int zxhMetricMIFFD2MultiImage::ComputeConstanceForFFDGradient ( ) [virtual]

compute all constance and sumup from all metric

compute all constant and sum up from all metric

Reimplemented from zxhMetricMIFFD2.

int zxhMetricMIFFD2MultiImage::GetValue ( zxhlfloat &  fValue) [virtual]
Returns:
similarity and number of computed pixel pair

Reimplemented from zxhMetricMIFFD2.

virtual void zxhMetricMIFFD2MultiImage::SetMultiMetricBase ( ) [inline, protected, virtual]

this function is to remind of setting m_pMImgMetricBase and m_pMImgMetricType in derived class {m_pMImgMetricBase=this; m_pMimgMetricType=new Metric;}

Implements zxhMetricMultiImageBase.

virtual void zxhMetricMIFFD2MultiImage::SetSamplingPhysical ( float  x,
float  y = 1.0f,
float  z = 1.0f,
float  t = 1.0f 
) [inline, virtual]
Returns:
DoNOT allowed sampling virtual void SetSamplingInterval(float x,float y=1.0f,float z=1.0f,float t=1.0f);
sampling

Reimplemented from zxhMetricBase.

virtual bool zxhMetricMIFFD2MultiImage::SetTransform ( zxhTransformBase pTr) [inline, virtual]
Returns:

Reimplemented from zxhMetricBase.

bool zxhMetricMIFFD2MultiImage::UpdateOtherImageMetric ( bool  bupdate) [protected, virtual]

check resample test according to sampling physical then use basic including, clone metric and set test and ref image ; update m_bNeedToUpdateOtherImageMetric return whether updated

Reimplemented from zxhMetricMultiImageBase.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs