Leaper Vision Toolkit
中文 / English 2.x
结构体 | 枚举
LPVLocateXLib 模块参考手册

LPV 高级定位模块,提供用于复杂目标或边缘的定位算法。 更多...

结构体

interface  ILContourDetector
 该接口提供轮廓定位的功能。 更多...
 
interface  ILContourResult
 该接口表示单个轮廓检测结果,可获取其具体属性。 更多...
 
interface  ILContourResults
 该接口提供一个轮廓检测结果集合,包含一个或多个轮廓检测结果。 更多...
 
interface  ILCrossMarkDetector
 该接口提供亚像素十字标记定位的功能。 更多...
 
interface  ILCrossMarkResult
 该接口表示单个十字标记检测结果,可获取其具体属性。 更多...
 
interface  ILCrossMarkResults
 该接口提供一个十字标记检测结果集合,包含一个或多个十字标记检测结果。 更多...
 
interface  ILPathDetector
 该接口提供路径定位的功能。 更多...
 
interface  ILPathResult
 该接口表示单个路径检测结果,可获取其具体属性。 更多...
 
interface  ILPathResults
 该接口提供一个路径检测结果集合,包含一个或多个路径检测结果。 更多...
 
class  LContourDetector
 
class  LContourResult
 
class  LContourResults
 
class  LCrossMarkDetector
 
class  LCrossMarkResult
 
class  LCrossMarkResults
 
class  LPathDetector
 
class  LPathResult
 
class  LPathResults
 

枚举

enum  LPVContourDrawFlags {
  LPVContourDrawContour = 1 , LPVContourDrawBoundingRect = 2 , LPVContourCenter = 4 , LPVContourDrawIndex = 8 ,
  LPVContourDrawDefault = LPVContourDrawContour , LPVContourDrawAll = 0xff
}
 该枚举用于控制轮廓检测结果绘制的行为 更多...
 
enum  LPVContourFeatures {
  LPVContourPositionX = 0 , LPVContourPositionY = 1 , LPVContourAvgMag = 2 , LPVContourSumMag = 3 ,
  LPVContourLength = 4 , LPVContourArea = 5
}
 该枚举表示轮廓的数值类型的属性特征 更多...
 
enum  LPVCrossMarkDrawFlags {
  LPVCrossMarkDrawCenter = 1 , LPVCrossMarkDrawBoundingRect = 2 , LPVCrossMarkDrawMidLines = 4 , LPVCrossMarkDrawIndex = 8 ,
  LPVCrossMarkDrawDefault = LPVCrossMarkDrawCenter , LPVCrossMarkDrawAll = 0xff
}
 该枚举用于控制十字标记检测结果绘制的行为 更多...
 
enum  LPVPathDrawFlags {
  LPVPathDrawPath = 1 , LPVPathDrawEndPoints = 2 , LPVPathDrawIndex = 4 , LPVPathDrawDefault = LPVPathDrawPath ,
  LPVPathDrawAll = 0xff
}
 该枚举用于控制路径检测结果绘制的行为 更多...
 

详细描述

LPV 高级定位模块,提供用于复杂目标或边缘的定位算法。

该模块提供一些算法类,用于目标或边缘定位的复杂任务。使用该模块中的类和算法,需按照以下方式引用该模块:

示例代码

枚举类型说明

◆ LPVContourDrawFlags

该枚举用于控制轮廓检测结果绘制的行为

枚举值
LPVContourDrawContour 

绘制轮廓

LPVContourDrawBoundingRect 

绘制轮廓的包围矩形

LPVContourCenter 

绘制轮廓的中心点

LPVContourDrawIndex 

绘制轮廓的索引,在其中心点附近

LPVContourDrawDefault 

默认值,只绘制轮廓

LPVContourDrawAll 

绘制所有部分

◆ LPVContourFeatures

该枚举表示轮廓的数值类型的属性特征

枚举值
LPVContourPositionX 

轮廓的 x 方向位置

LPVContourPositionY 

轮廓的 y 方向位置

LPVContourAvgMag 

轮廓的平均梯度强度

LPVContourSumMag 

轮廓的梯度强度总和,通常平均梯度强度越大,轮廓越长,梯度强度总和越大

LPVContourLength 

轮廓的长度

LPVContourArea 

轮廓的面积。对于非闭合轮廓,面积计算基于两个端点相连后的形状计算

◆ LPVCrossMarkDrawFlags

该枚举用于控制十字标记检测结果绘制的行为

枚举值
LPVCrossMarkDrawCenter 

绘制十字标记中心点

LPVCrossMarkDrawBoundingRect 

绘制十字标记的包围矩形

LPVCrossMarkDrawMidLines 

绘制十字标记的两条交叉中线

LPVCrossMarkDrawIndex 

绘制十字标记的索引,在其中心点附近

LPVCrossMarkDrawDefault 

默认值,只绘制中心点

LPVCrossMarkDrawAll 

绘制所有部分

◆ LPVPathDrawFlags

该枚举用于控制路径检测结果绘制的行为

枚举值
LPVPathDrawPath 

绘制路径

LPVPathDrawEndPoints 

绘制路径的两个端点

LPVPathDrawIndex 

绘制路径的索引,在其起点的右侧

LPVPathDrawDefault 

默认值,只绘制圆

LPVPathDrawAll 

绘制所有部分