![]()  | 
  
    zxhproj v 2.2 
   zxhproj 
   | 
 
multiple images for registration using MIFFD2 More...
#include <zxhMetricMIFFD2MultiImage.h>
  
 Public Member Functions | |
| zxhMetricMIFFD2MultiImage (void) | |
| constructor  | |
| ~zxhMetricMIFFD2MultiImage (void) | |
| virtual std::string | GetMetricType () | 
| virtual zxhMetricBase * | Clone (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  | |
multiple images for registration using MIFFD2
| zxhMetricMIFFD2MultiImage::~zxhMetricMIFFD2MultiImage | ( | void | ) | 
| zxhMetricBase * zxhMetricMIFFD2MultiImage::Clone | ( | zxhMetricBase *& | pRet | ) |  [virtual] | 
        
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] | 
        
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] | 
        
Reimplemented from zxhMetricBase.
| virtual bool zxhMetricMIFFD2MultiImage::SetTransform | ( | zxhTransformBase * | pTr | ) |  [inline, virtual] | 
        
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.