Leaper Vision Toolkit
中文 / English 2.x
Data Structures | Enumerations
LPVPatLib Module Reference

LPV Pattern Library, provides functionality for pattern matching. More...

Data Structures

interface  ILMatch
 This interface provide functionalities of pattern matching. More...
 
interface  ILMatchResult
 This interface holds a single pattern matching result and is used to access its properties. More...
 
interface  ILMatchResults
 This interface holds a collection of pattern matching results. More...
 
class  LMatch
 
class  LMatchResult
 
class  LMatchResults
 

Enumerations

enum  LPVPatCenterMode { LPVPatImageCenter = 0 , LPVPatTrainedCenter = 1 , LPVPatCustomCenter = 2 }
 This enumeration represents the mode of the pattern template center. More...
 
enum  LPVPatDrawFlags {
  LPVPatDrawBoundingRect = 1 , LPVPatDrawCenter = 2 , LPVPatDrawFeature = 4 , LPVPatDrawIndex = 8 ,
  LPVPatDrawDefault = LPVPatDrawCenter , LPVPatDrawAll = 0xff
}
 This enumeration represents the flags to control the pattern drawing behavior. More...
 

Detailed Description

LPV Pattern Library, provides functionality for pattern matching.

This library provides functionality for pattern matching. To include the definitions of the library's classes, use the following directive:

Example Code

Enumeration Type Documentation

◆ LPVPatCenterMode

This enumeration represents the mode of the pattern template center.

Enumerator
LPVPatImageCenter 

Use the template image center as pattern center, and the angle is 0.

LPVPatTrainedCenter 

Use the trained center as pattern center, and use the angle of pattern features' rotated bounding rectangle as 0 degree.

LPVPatCustomCenter 

Use user-specified position as pattern center, and user-specified angle as 0 degree.

◆ LPVPatDrawFlags

This enumeration represents the flags to control the pattern drawing behavior.

Enumerator
LPVPatDrawBoundingRect 

Draw the bounding rectangle of the pattern

LPVPatDrawCenter 

Draw the center point of the pattern

LPVPatDrawFeature 

Draw the features of the pattern

LPVPatDrawIndex 

Draw the index of the pattern right to its center

LPVPatDrawDefault 

Default draw flags, which draws only the center point

LPVPatDrawAll 

Draw a pattern with all components