寄存器概述

<< 点击显示目录 >>

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

寄存器概述

参数

类型

数值范围

说明

循环

非循环

启用

BOOL

0 或 1

启用/禁用功能

W

 

最大搜索次数

USINT

0 至 255

要搜索的 Blob 的最大数量

W

 

区域特征

BOOL

0 或 1

启用几何排除程序

W

 

增强球状信息

BOOL

0 或 1

0 = 传输附加信息(默认值)。

1 = 不传输附加信息。

意味着函数处理时间增加

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

显示采集图像中发现的 Blob。

通过 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

找到的 Blob 数量

R

 

函数处理时间

UINT

0 至 65535

视觉函数的处理时间(微秒

R

 

模型编号(n)

USINT

0 至 255

找到的 Blob 的模型编号

R

 

平均灰度值(n)

USINT

0 至 255

图块灰度值的算术平均值

R

 

剪切(n)

BOOL

0 或 1

边缘接触检测

R

 

面积(n)

UDINT

0 至 4294967295

以像素为单位的大小(区域),增量为 1/100 像素

R

 

长度(n)

UDINT

0 至 2622400

找到的 Blob 的长度

R

 

宽度(n)

UDINT

0 至 2622400

找到的 Blob 的宽度

总是两边中较长的一边

R

 

Xmin(n)

UDINT

0 至 2622400

列方向上的极值

BLOB 区域的最小列位置

R

 

Xmax(n)

UDINT

0 至 2622400

列方向上的极值

BLOB 区域的最大列位置

R

 

Ymin(n)

UDINT

0 至 2622400

行方向上的极值

BLOB 区域的最小行位置

R

 

Ymax(n)

UDINT

0 至 2622400

行方向上的极值

BLOB 区域的最大行位置

R

 

圆周率(n)

USINT

0 至 100

找到的 Blob 的圆周率(%)。

R

 

矩形度(n)

USINT

0 至 100

找到的 Blob 的矩形度(%)。

R

 

剖面度(n)

UINT

0 至 57926 (sqrt(2)*4096.0)

找到的 Blob 的几何形状

R

 

InnerCirclePositionX(n)

二进制

-2622400 至 2622400

输出算法确定的找到的 Blob 内圆中心点的位置 X,单位为 1/100 像素。

R

 

内圆位置 Y(n)

数字

-2622400 至 2622400

输出算法确定的找到的 Blob 内圆中心点的位置 Y,单位为 1/100 像素。

R

 

内圆半径(n)

UDINT

0 至 2622400

输出算法确定的找到的 Blob 内圆的半径,单位为 1/100 像素。

R

 

位置 X(n)

二进制数

-2622400 至 2622400

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

R

 

位置 Y(n)

数字

-2622400 至 2622400

图像中(找到的 Blob 的)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

 

参数组

类型

数值范围

说明

循环

非循环

Blob 配置(非循环读/写)

各种

各种

本节包含 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 blobs to be searched for

W

 

RegionFeatures

BOOL

0 or 1

Enables the geometric exclusion procedure

W

 

EnhancedBlobInformation

BOOL

0 or 1

0 = Additional information is transferred (default).

1 = Additional information is not transferred.

Means an increase of FunctionProcessingTime

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 blobs 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 blobs found

R

 

FunctionProcessingTime

UINT

0 to 65535

Processing time of the vision function in microseconds

R

 

ModelNumber(n)

USINT

0 to 255

ModelNumber of the found blob

R

 

MeanGrayValue(n)

USINT

0 to 255

Arithmetic mean of grayscale values for the blob

R

 

Clipped(n)

BOOL

0 or 1

Edge contact detection

R

 

Area(n)

UDINT

0 to 4294967295

Size (area) in pixels in increments of 1/100 pixel

R

 

Length(n)

UDINT

0 to 2622400

Length of the found blob

R

 

Width(n)

UDINT

0 to 2622400

Width of the found blob

Is always the longer of the two sides

R

 

Xmin(n)

UDINT

0 to 2622400

Extreme value in the column direction

Minimum column position of the BLOB area

R

 

Xmax(n)

UDINT

0 to 2622400

Extreme value in the column direction

Maximum column position of the BLOB area

R

 

Ymin(n)

UDINT

0 to 2622400

Extreme value in the line direction

Minimum line position of the BLOB area

R

 

Ymax(n)

UDINT

0 to 2622400

Extreme value in the line direction

Maximum line position of the BLOB area

R

 

Circularity(n)

USINT

0 to 100

Circularity of the found blob in %

R

 

Rectangularity(n)

USINT

0 to 100

Rectangularity of the found blob in %

R

 

Anisometry(n)

UINT

0 to 57926 (sqrt(2)*4096.0)

Anisometry of the found blob

R

 

InnerCirclePositionX(n)

DINT

-2622400 to 2622400

Output of position X of the center point of inner circle of the found blob determined by the algorithm in 1/100 pixels.

R

 

InnerCirclePositionY(n)

DINT

-2622400 to 2622400

Output of position Y of the center point of the inner circle of the found blob determined by the algorithm in 1/100 pixels.

R

 

InnerCircleRadius(n)

UDINT

0 to 2622400

Output of the radius of the inner circle of the found blob determined by the algorithm in 1/100 pixels.

R

 

PositionX(n)

DINT

-2622400 to 2622400

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

R

 

PositionY(n)

DINT

-2622400 to 2622400

Y-position (of the found blob) 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

Blob configuration (acyclic read/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