寄存器概览

<< 点击显示目录 >>

主页  mappVision帮助助手 > 机器视觉帮助 > mapp Vision  > 编程 > 视觉功能 > 匹配 >

寄存器概览

参数

类型

数值范围

说明

循环

非循环

启用

BOOL

0 或 1

启用/禁用功能

W

 

最大搜索次数

USINT

0 至 255

要搜索的最大匹配次数

W

 

超时

UINT

0 至 65535

以 1 ms 为增量的搜索时间限制

W

 

最小分数

USINT

0 至 100

以百分比为单位的最低分数,用于判定是否将找到的对象视为匹配对象。

W

 

最大重叠

USINT

0 至 100

允许找到的对象的最大重叠度(百分比)。

W

 

对齐

USINT

0 至 2

0 = "无

1 = "设置参照

2 = "GenerateAlignmentData" (生成对齐数据

W

 

偏移量

DINT

-2622400 至 2622400

ROI 在 x 方向上的偏移量,以 1/100 像素为增量。

W

 

偏移量

数字

-2622400 至 2622400

ROI 在 Y 方向上的偏移量,以 1/100 像素为增量。

W

 

偏移方向

INT

-17999至18000

从 -179.99° 到 +180° 的 ROI 方向偏移,以 1/100 度为单位。

W

 

偏移 ROIRotCenterX

DINT

-2622400 至 2622400

旋转中心在 X 方向上的偏移量,以 1/100 像素为增量。

W

 

偏移ROIRotCenterY

DINT

-2622400 至 2622400

旋转中心在 Y 方向上的偏移量,以 1/100 像素为增量。

W

 

测试执行

BOOL

0 或 1

显示采集图像中找到的匹配图像。

通过 mapp Vision HMI 应用程序进行操作。

W

 

图像处理错误

UINT

0 至 65535

错误类别寄存器

R

 

图像处理激活

BOOL

0 或 1

图像处理执行状态

R

 

图像定时

DINT

-2,147,483,648 至 2,147,483,647

以 1 μs 为单位的净时间

R

 

结果数

USINT

0 至 255

找到的匹配次数

R

 

函数处理时间

UINT

0 至 65535

视觉功能的处理时间(微秒

R

 

模型编号(n)

USINT

0 至 255

学习到的模型(与命中匹配)的 ID/编号

R

 

得分(n)

USINT

0 至 100

匹配结果相对于模型的等级(质量分数),取值范围为 0.0 至 1.0。

R

 

比例(n)

USINT

1 至 255

用于基于形状的匹配。缩放因子从 0.01 到 2.55,增量为 0.01。

R

 

位置 X(n)

数字

-2622400 至 2622400

图像中(找到的对象)的 X 位置,以 1/100 像素为增量

R

 

位置 Y(n)

数字

-2622400 至 2622400

图像中(找到的对象)的 Y 位置,增量为 1/100 像素

R

 

方向(n)

INT

-17999 至 18000

-179.99°到+180°,增量为 1/100 度

R

 

旋转中心 X

DINT

-2622400 至 2622400

此处输出偏离指定的教导对齐模型的值。以 1/100 像素为单位。

R

 

旋转中心 Y

DINT

-2622400 至 2622400

此处输出偏离指定的教导对齐模型的值。以 1/100 像素为单位。

R

 

参数组

类型

数值范围

说明

循环

非循环

匹配配置(非循环写入)

各种

各种

本节包含 HALCON 机器视觉软件库中的参数。

这些参数可直接在 mapp Vision HMI 应用程序中更改。

 

R/W


Parameters

Type

Range of values

Description

Cyclic

Acyclic

Enable

BOOL

0 or 1

Enables/Disables the function

W

 

NumSearchMax

USINT

0 to 255

Maximum number of matches to be searched for

W

 

Timeout

UINT

0 to 65535

Time limit for the search time in increments of 1 ms

W

 

MinScore

USINT

0 to 100

Minimum grade in percent as to whether a found object is accepted as a match.

W

 

MaxOverlap

USINT

0 to 100

Maximum degree of overlap in percent that found objects are permitted to have.

W

 

Alignment

USINT

0 to 2

0 = "None"

1 = "SetReference"

2 = "GenerateAlignmentData"

W

 

OffsetROIX

DINT

-2622400 to 2622400

Offset of the ROI in the x-direction in 1/100 pixel increments.

W

 

OffsetROIY

DINT

-2622400 to 2622400

Offset of the ROI in the y-direction in increments of 1/100 pixel.

W

 

OffsetROIOrientation

INT

-17999 to 18000

Offset to orient the ROI from -179.99° to +180° in 1/100 degree steps

W

 

OffsetROIRotCenterX

DINT

-2622400 to 2622400

Offset of the center of rotation in the x-direction in 1/100 pixel increments.

W

 

OffsetROIRotCenterY

DINT

-2622400 to 2622400

Offset of the rotation center in the y-direction in increments of 1/100 pixel.

W

 

TestExecute

BOOL

0 or 1

Displays matches found in the acquired image.

Operation takes place via the mapp Vision HMI application.

W

 

ImageProcessingError

UINT

0 to 65535

Register of error classes

R

 

ImageProcessingActive

BOOL

0 or 1

Status of image processing execution

R

 

ImageNettime

DINT

-2,147,483,648 to 2,147,483,647

NetTime in 1 μs steps

R

 

NumResults

USINT

0 to 255

Number of matches found

R

 

FunctionProcessingTime

UINT

0 to 65535

Processing time of the vision function in microseconds

R

 

ModelNumber(n)

USINT

0 to 255

ID/Number of the learned model (which matches the hit)

R

 

Score(n)

USINT

0 to 100

Grade (quality score) of the Matching result with respect to the model in the range of values from 0.0 to 1.0.

R

 

Scale(n)

USINT

1 to 255

For shape-based Matching. Scaling factor from 0.01 to 2.55 in increments of 0.01.

R

 

PositionX(n)

DINT

-2622400 to 2622400

X-position (of the found object) in the image in increments of 1/100 pixel

R

 

PositionY(n)

DINT

-2622400 to 2622400

Y-position (of the found object) in the image in increments of 1/100 pixel

R

 

Orientation(n)

INT

-17999 to 18000

-179.99° to +180° in increments of 1/100 degree

R

 

RotCenterX

DINT

-2622400 to 2622400

The value deviating from the specified taught-in Alignment model is output here. In 1/100 pixel steps.

R

 

RotCenterY

DINT

-2622400 to 2622400

The value deviating from the specified taught-in Alignment model is output here. In 1/100 pixel steps.

R

 

Parameter group

Type

Range of values

Description

Cyclic

Acyclic

Matching configuration (acyclic write)

Various

Various

This section contains the included parameters from the HALCON machine vision software library.

These parameters can be changed directly in the mapp Vision HMI application.

 

R/W