额外继承的成员函数 | |
Public 成员函数 继承自 ILMatchResult | |
| void | Draw (HDC hdc, LPVPatDrawFlags drawFlags, double zoomX, double zoomY, double panX, double panY) |
| ILPoints * | GetFeature (int level) |
| ILRect * | GetRect () |
| LArray< ILPolygon * > | GetShape (int level) |
| void | Set (ILMatch *matchObject, double patX, double patY, double patAngle, double patScale, double patScore) |
Public 成员函数 继承自 ILObject | |
| ILObject * | Copy () |
| LPVErrorCode | Load (LString filename) |
| void | Reset () |
| LPVErrorCode | Save (LString filename) |
| BOOL | Valid () |
Public 成员函数 继承自 ILDrawable | |
| void | SetBrushColor (COLORREF brushColor) |
| void | SetDrawName (BOOL val) |
| void | SetDrawPoint (int size, LPVPointShape shape) |
| 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 成员函数 继承自 ILSortable | |
| double | GetPosX (LPVPositionMode posMode) |
| double | GetPosY (LPVPositionMode posMode) |
| double | GetScore () |
属性 继承自 ILMatchResult | |
| double | Angle [get] |
| 该结果的角度,在 (-180, 180) 范围内 | |
| ILPoint | Center [get] |
| 该结果的中心位置 | |
| double | GrayScore [get] |
| 该结果的灰度匹配分数。注意:当 GrayValueWeight 设置为 0 时,并不实际进行灰度匹配,因此灰度分数总为 0. | |
| double | Scale [get] |
| 该结果的缩放比例,在 (0.5, 1.5) 范围内表示相对与模板 50% ~ 150% 的缩放比例。 | |
| double | ScaleX [get] |
| 该结果在 x 方向的缩放比例,在 (0.5, 1.5) 范围内表示相对与模板 50% ~ 150% 的缩放比例。 对于等比例缩放,::ScaleX 与 ScaleY 数值相同。对于非等比缩放,::Scale 为 ScaleX 和 ScaleY 的均值。 | |
| double | ScaleY [get] |
| 该结果在 y 方向的缩放比例,在 (0.5, 1.5) 范围内表示相对与模板 50% ~ 150% 的缩放比例。 对于等比例缩放,::ScaleX 与 ScaleY 数值相同。对于非等比缩放,::Scale 为 ScaleX 和 ScaleY 的均值。 | |
| double | Score [get] |
| 该结果的分数 | |
| double | ShapeScore [get] |
| 该结果的形状匹配分数 | |
属性 继承自 ILObject | |
| LString | Name [get, set] |
| 对象的名称,默认为空。 大多数情况下,LPV 算法类并不使用这个名称。 若 ILDrawable::SetDrawName() 启用,该名称将被绘制在对象的附近 更多... | |
属性 继承自 ILSortable | |
| int | Index [get, set] |
| 索引 | |
该类实现了 ILMatchResult 接口, 用于创建模板匹配结果的实例