寄存器概述

<< 点击显示目录 >>

主页  mappVision帮助助手 > 机器视觉帮助 > mapp Vision  > 编程 > 视觉功能 > 像素计数器 >

寄存器概述

参数

类型

数值范围

说明

循环

非循环

启用

BOOL

0 或 1

启用/禁用功能

W

 

最大搜索次数

USINT

0 至 255

搜索结果的最大数量。

W

 

增强像素计数器信息

BOOL

0 或 1

启用/禁用附加信息的传输。

对视觉功能的处理时间有影响。

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

 

结果数

USINT

0 至 255

找到的结果数

R

 

函数处理时间

UINT

0 至 65535

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

R

 

模型编号(n)

USINT

0 至 255

找到的结果的型号

R

 

像素数(n)

UDINT

0 至 4294967295

模型中配置对应的像素数

R

 

最小灰度(n)

USINT

0 至 255

结果中的最低灰度值

R

 

最大灰度值(n)

USINT

0 至 255

结果中的最高灰度值

R

 

平均灰度值(n)

UINT

0 至 2550

结果灰度值的算术平均值

R

 

灰度偏差(n)

UINT

0 至 2550

结果灰度值的标准偏差

R

 

灰度中值(n)

USINT

0 至 255

结果灰度值的中值

R

 

模型面积(n)

UDINT

0 至 4294967295

模型的大小(面积),以像素为单位

R

 

连接组件数(n)

UINT

0 至 65535

结果中不连续区域的数量

R

 

位置 X(n)

DINT

-2622400 至 2622400

图像中的 X 位置(中心点),增量为 1/100 像素

R

 

位置 Y(n)

数字

-2622400 至 2622400

图像中的 Y 位置(中心点),增量为 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 results to be searched for.

W

 

EnhancedPixelCounterInformation

BOOL

0 or 1

Enables/Disables transfer of additional information.

Has an influence on the processing time of the vision function.

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 regions 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

 

NumResults

USINT

0 to 255

Number of results found

R

 

FunctionProcessingTime

UINT

0 to 65535

Processing time of the vision function in microseconds

R

 

ModelNumber(n)

USINT

0 to 255

Model number of the result found

R

 

NumPixels(n)

UDINT

0 to 4294967295

Number of pixels that correspond to the configuration in the model

R

 

MinGray(n)

USINT

0 to 255

Lowest grayscale value in the result

R

 

MaxGray(n)

USINT

0 to 255

Highest grayscale value in the result

R

 

MeanGray(n)

UINT

0 to 2550

Arithmetic mean value of the grayscale values of the result

R

 

DeviationGray(n)

UINT

0 to 2550

Standard deviation of the grayscale values of the result

R

 

MedianGray(n)

USINT

0 to 255

Median of the grayscale values of the result

R

 

ModelArea(n)

UDINT

0 to 4294967295

Size (area) of the model in pixels

R

 

NumConnectedComponents(n)

UINT

0 to 65535

Number of non-contiguous areas of the result

R

 

PositionX(n)

DINT

-2622400 to 2622400

X-position (center point) in the image in increments of 1/100 pixel

R

 

PositionY(n)

DINT

-2622400 to 2622400

Y-position (center point) in the image in increments of 1/100 pixel

R

 

Parameter group

Type

Range of values

Description

Cyclic

Acyclic

Pixel Counter 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