Leaper Vision Toolkit
中文 / English 2.x
LMatchResult Class Reference
Inheritance diagram for LMatchResult:
ILMatchResult ILDrawable ILSortable ILObject

Additional Inherited Members

- Public Member Functions inherited from ILMatchResult
void Draw (HDC hdc, LPVPatDrawFlags drawFlags, double zoomX, double zoomY, double panX, double panY)
 
ILPointsGetFeature (int level)
 
ILRectGetRect ()
 
LArray< ILPolygon * > GetShape (int level)
 
void Set (ILMatch *matchObject, double patX, double patY, double patAngle, double patScale, double patScore)
 
- Public Member Functions inherited from ILObject
ILObjectCopy ()
 
LPVErrorCode Load (LString filename)
 
void Reset ()
 
LPVErrorCode Save (LString filename)
 
BOOL Valid ()
 
- Public Member Functions inherited from ILDrawable
void SetBrushColor (COLORREF brushColor)
 
void SetFont (LString fontFamily, int fontHeight, COLORREF fontColor, BOOL bold, BOOL italic, BOOL underline, BOOL strikeOut)
 
void SetFontColor (COLORREF fontColor)
 
void SetFontFamily (LString fontFamily)
 
void SetFontHeight (int fontHeight)
 
void SetPen (LPVPenStyle penStyle, int penWidth, COLORREF penColor)
 
void SetPenColor (COLORREF penColor)
 
void SetPenStyle (LPVPenStyle penStyle)
 
void SetPenWidth (int penWidth)
 
- Public Member Functions inherited from ILSortable
double GetPosX (LPVPositionMode posMode)
 
double GetPosY (LPVPositionMode posMode)
 
double GetScore ()
 
- Properties inherited from ILMatchResult
double Angle [get]
 The angle of the result, in range of (-180, 180)
 
ILPoint Center [get]
 The center point of the result.
 
double GrayScore [get]
 The gray score of the result. Note: The gray score is always 0 when GrayValueWeight is set to 0.
 
double Scale [get]
 The scale of the result, in range of (0.5, 1.5) means 50% ~ 150% scaled based on the template.
 
double ScaleX [get]
 The x-coordinate scale of the result, in range of (0.5, 1.5) means 50% ~ 150% scaled based on the template.
For isotropic scaling, ScaleX and ScaleY are the same. For anisotropic scaling, Scale is the averaging of ScaleX and ScaleY.
 
double ScaleY [get]
 The y-coordinate scale of the result, in range of (0.5, 1.5) means 50% ~ 150% scaled based on the template.
For isotropic scaling, ScaleX and ScaleY are the same. For anisotropic scaling, Scale is the averaging of ScaleX and ScaleY.
 
double Score [get]
 The score of the result.
 
double ShapeScore [get]
 The shape score of the result.
 
- Properties inherited from ILSortable
int Index [get, set]
 

Detailed Description

This class implements the interface ILMatchResult, and is used to create an instance of pattern matching result.