<< 点击显示目录 >> 主页 mappVision帮助助手 > 机器视觉帮助 > mapp Vision > 编程 > 视觉功能 > Blob > Blob 参数(循环写入) |
本节指定的参数是硬件模块 I/O 映射的一部分,可通过 AS 软件访问。
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 |
|
|
DINT |
-2622400 至 2622400 |
旋转中心在 X 方向上的偏移量,以 1/100 像素为增量。 |
W |
|
|
DINT |
-2622400 至 2622400 |
旋转中心在 Y 方向上的偏移量,以 1/100 像素为增量。 |
W |
|
|
BOOL |
0 或 1 |
显示采集图像中发现的 Blob。 通过 mapp Vision HMI 应用程序进行操作。 |
W |
|
该值不应大于可查找对象的实际数量,否则将不必要地延长图像处理例程的运行时间。
信息:
该值不必与配置变量 NumResultsMax 相同,因为它只是 POWERLINK 框架的占位符。
信息:
理论上也可以设置 "NumSearchMax = 0"(不单独检查),这样在执行视觉功能时就会触发搜索,搜索结果为 0。
用于启用几何排除程序的参数。在用户教学过程中,会有专门的操作员在后台检查几何形状的参数模型。
例如,在对圆形球体进行示教过程中,不会检测到灰度级和区域值相似的其他几何形状。
将对圆形、矩形和异形进行检查。
激活的 RegionFeatures 会增加执行时间。
如果禁用 EnhancedBlobInformation,则只有参数 PositionX、PositionY 和 Orientation 会循环填充数据。但是,如果定义的输出与上述输出不一致,则这些输出将被填充为 0。
启用该参数会增加 POWERLINK 帧的大小,因为额外的参数也会循环传输。
易变参数:
更改此参数会导致内部参数更改,从而延长后续首次运行视觉函数时的处理时间。
在对齐(1 或 2)期间,NumResultsMax 会自动设置为 1(内部)。对齐参考数据存储在视觉功能数据中。但只有当参数 Alignment 设置为 1 至 2 时才会这样做。当然,对齐时只能教导 1 个模型(作为参考)。
有关对齐功能的更多信息,请参阅视觉功能 - 对齐。
感兴趣区域(ROI)的方向偏移。方向以 1/100 度的增量指定。
对于 -179.99° 至 +180.00° 的角度范围,可使用的数值范围为 -17999 至 18000。超出此值范围的值将被解释为 +180°。
易失性参数:
更改该参数会导致内部参数变化,从而延长视觉功能首次运行的处理时间。
该参数用于执行 Blob 搜索,并在 mapp Vision HMI 应用程序中显示找到的区域(找到的 Blob 的面积)。
信息:
该参数在 I/O 映射中不可见。操作通过 mapp Vision HMI 应用程序进行。
The parameters specified in this section are part of the I/O mapping of the hardware module that can be accessed via Automation Studio.
BOOL |
0 or 1 |
Enables/Disables the function |
W |
|
|
USINT |
0 to 255 |
Maximum number of blobs to be searched for |
W |
|
|
BOOL |
0 or 1 |
Enables the geometric exclusion procedure |
W |
|
|
BOOL |
0 or 1 |
0 = Additional information is transferred (default). 1 = Additional information is not transferred. Means an increase of FunctionProcessingTime |
W |
|
|
USINT |
0 to 2 |
0 = "None" 1 = "SetReference" 2 = "GenerateAlignmentData" |
W |
|
|
DINT |
-2622400 to 2622400 |
Offset of the ROI in the x-direction in 1/100 pixel increments. |
W |
|
|
DINT |
-2622400 to 2622400 |
Offset of the ROI in the y-direction in increments of 1/100 pixel. |
W |
|
|
INT |
-17999 to 18000 |
Offset to orient the ROI from -179.99° to +180° in 1/100 degree steps |
W |
|
|
DINT |
-2622400 to 2622400 |
Offset of the center of rotation in the x-direction in 1/100 pixel increments. |
W |
|
|
DINT |
-2622400 to 2622400 |
Offset of the rotation center in the y-direction in increments of 1/100 pixel. |
W |
|
|
BOOL |
0 or 1 |
Displays blobs found in the acquired image. Operation takes place via the mapp Vision HMI application. |
W |
|
Enables/Disables the vision function.
Values |
Information |
|
---|---|---|
BOOL |
0 |
Image processing disabled (default value). |
1 |
Image processing function enabled. |
Parameter for the maximum number of objects to be found.
The value should not be greater than the actual number of findable objects; otherwise, the runtime of the image processing routine will be unnecessarily extended.
Information:
This value does not have to be identical to configuration variable NumResultsMax since it only serves as a placeholder for the POWERLINK frame.
Information:
Theoretically, "NumSearchMax = 0" can also be set (it is not checked separately), which triggers a search for 0 results when the vision function is executed.
Parameter for enabling the geometric exclusion procedure. During teach-in by the user, a special operator checks the parameter models for a geometric shape in the background.
During the teach-in process for circular blobs, for example, other geometric shapes that have similar gray levels and area values are not detected.
Circularity, rectangularity and anisometry are checked.
An active RegionFeatures increases the execution time.
If EnhancedBlobInformation is disabled, only parameters PositionX, PositionY and Orientation are cyclically filled with data. If outputs are defined that do not correspond to those described above, however, then these are filled with 0.
Enabling this parameter increases the size of the POWERLINK frame since additional parameters are also transferred cyclically.
Values |
Information |
|
---|---|---|
BOOL |
0 |
EnhancedBlobInformation disabled (default value) |
1 |
Execute EnhancedBlobInformation. This increases FunctionProcessingTime. |
Volatile parameter:
Changing this parameter results in an internal parameter change, which results in longer processing time during the first subsequent run of the vision function.
NumResultsMax is automatically set to 1 (internally) during Alignment (1 or 2). Alignment reference data is stored in the vision function data. Only if parameter Alignment is set from 1 to 2, however. Of course, only 1 model (as reference) can be taught for Alignment.
For additional information about function Alignment, see Vision functions - Alignment.
Offset of the region of interest (ROI) within the image area in the x-direction.
Values |
Information |
|
---|---|---|
DINT |
-2622400 to 2622400 |
Offset of the ROI in the x-direction in 1/100 pixel increments. A position from -26224.00 to 26224.00 pixels can therefore be selected. |
Offset of the region of interest (ROI) within the image area in the y-direction.
Values |
Information |
|
---|---|---|
DINT |
-2622400 to 2622400 |
Offset of the ROI in the y-direction in increments of 1/100 pixel. A position from -26224.00 to 26224.00 pixels can therefore be selected. |
Offset to the orientation of the region of interest (ROI). The orientation is specified in increments of 1/100 degrees.
For the angle range of -179.99° to +180.00°, this results in a usable range of values of -17999 to 18000. Values outside this range of values are interpreted as +180°.
Values |
Information |
|
---|---|---|
DINT |
-2622400 to 2622400 |
Offset of the center of rotation in the x-direction in 1/100 pixel increments. A position from -26224.00 to 26224.00 pixels can therefore be selected. |
Values |
Information |
|
---|---|---|
DINT |
-2622400 to 2622400 |
Offset of the rotation center in the y-direction in increments of 1/100 pixel. A position from -26224.00 to 26224.00 pixels can therefore be selected. |
Volatile parameter:
Changing this parameter results in an internal parameter change, which results in longer processing time during the first subsequent run of the vision function.
The parameter performs a blob search and displays the found regions (area of the found blobs) in the mapp Vision HMI application.
Information:
This parameter is not visible in the I/O mapping. Operation takes place via the mapp Vision HMI application.