![]() |
zxhproj v 2.2
zxhproj
|
forward save test images and local regions in larm transformation More...
#include <zxhMetricPhaseLocalMatrixConstDiscretePath.h>
Public Member Functions | |
zxhMetricPhaseLocalMatrixConstDiscretePath (void) | |
constructor | |
~zxhMetricPhaseLocalMatrixConstDiscretePath (void) | |
virtual std::string | GetMetricType () |
virtual zxhMetricBase * | Clone (zxhMetricBase *&pRet) |
virtual bool | SetImage (zxhImageData *pImageTest, zxhImageData *pImageRef) |
1) set image ; 2) set dimension; 3) set sampling to be consistent | |
virtual bool | SetMaskImage (zxhImageData *pMaskTest, zxhImageData *pMaskRef) |
Protected Member Functions | |
virtual void | SetConstDiscretePathMetricBase () |
this function is to remind of this setting in derived class | |
virtual bool | UpdateImage () |
virtual void | SetUpdatedImages () |
reset feature ref and set ref images | |
Protected Attributes | |
zxhImageData * | m_pImageTestOrigin [ZXH_CONSTDISCRETEPATH_NUMREFIMAGE] |
zxhImageData | m_imgTestUpdated [ZXH_CONSTDISCRETEPATH_NUMREFIMAGE] |
updated image image [0] and image mask imge [1], else backup | |
zxhImageData * | m_pImageLocalRegionAndGD [2][ZXH_LocalAffineMaxNumber] |
pointer to local region images [0], GD[1] | |
zxhImageData | m_imgLocalRegionAndGDUpdated [2][ZXH_LocalAffineMaxNumber] |
updated local region images [0], GD[1] |
forward save test images and local regions in larm transformation
zxhMetricPhaseLocalMatrixConstDiscretePath::~zxhMetricPhaseLocalMatrixConstDiscretePath | ( | void | ) |
zxhMetricBase * zxhMetricPhaseLocalMatrixConstDiscretePath::Clone | ( | zxhMetricBase *& | pRet | ) | [virtual] |
Reimplemented from zxhMetricPhaseLocalAffinesConstDiscretePath.
virtual bool zxhMetricPhaseLocalMatrixConstDiscretePath::SetMaskImage | ( | zxhImageData * | pMaskTest, |
zxhImageData * | pMaskRef | ||
) | [inline, virtual] |
Reimplemented from zxhMetricBase.
void zxhMetricPhaseLocalMatrixConstDiscretePath::SetUpdatedImages | ( | ) | [protected, virtual] |
reset feature ref and set ref images
set images to metricbase and larm transformation reset feature ref and set ref images
Reimplemented from zxhMetricPhaseLocalAffinesConstDiscretePath.
bool zxhMetricPhaseLocalMatrixConstDiscretePath::UpdateImage | ( | ) | [protected, virtual] |
return whether update (need called in NeedUpdateImage) 1. update test image/ local regions/ GD;
Reimplemented from zxhMetricConstDiscretePathBase.
zxhImageData* zxhMetricPhaseLocalMatrixConstDiscretePath::m_pImageTestOrigin[ZXH_CONSTDISCRETEPATH_NUMREFIMAGE] [protected] |
pointer to original test image [0] and mask image [1], else backup need to reimplement SetImage and SetMaskImage in derived class