zxhproj v 2.2
zxhproj

zxhMetricPhaseLocalMatrixConstDiscretePath Class Reference

forward save test images and local regions in larm transformation More...

#include <zxhMetricPhaseLocalMatrixConstDiscretePath.h>

Inheritance diagram for zxhMetricPhaseLocalMatrixConstDiscretePath:
zxhMetricPhaseLocalAffinesConstDiscretePath zxhMetricPhaseLocalAffines zxhMetricConstDiscretePathBase zxhMetricLocalAffinesBase zxhMetricPhase zxhMetricBase

List of all members.

Public Member Functions

 zxhMetricPhaseLocalMatrixConstDiscretePath (void)
 constructor
 ~zxhMetricPhaseLocalMatrixConstDiscretePath (void)
virtual std::string GetMetricType ()
virtual zxhMetricBaseClone (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

zxhImageDatam_pImageTestOrigin [ZXH_CONSTDISCRETEPATH_NUMREFIMAGE]
zxhImageData m_imgTestUpdated [ZXH_CONSTDISCRETEPATH_NUMREFIMAGE]
 updated image image [0] and image mask imge [1], else backup
zxhImageDatam_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]

Detailed Description

forward save test images and local regions in larm transformation


Constructor & Destructor Documentation

zxhMetricPhaseLocalMatrixConstDiscretePath::~zxhMetricPhaseLocalMatrixConstDiscretePath ( void  )
Returns:

Member Function Documentation

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

Reimplemented from zxhMetricPhaseLocalAffinesConstDiscretePath.

virtual bool zxhMetricPhaseLocalMatrixConstDiscretePath::SetMaskImage ( zxhImageData pMaskTest,
zxhImageData pMaskRef 
) [inline, virtual]
Returns:
resize mask image to test and ref coordinate

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.


Member Data Documentation

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


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