<< 点击显示目录 >> 主页 mappVision帮助助手 > 机器视觉帮助 > mapp Vision > 编程 > 视觉功能 > 图像采集 > 预处理配置(非循环写入) |
信息:
本节中指定的参数是硬件模块配置的一部分,可通过 Automation Studio 访问。
信息:
决定 POWERLINK 帧长度的单个配置参数只能在 Automation Studio 配置过程中更改(即循环更改)。因此,这些参数只能在运行时读取,并标识为常量。
USINT |
0 to 255 |
选择预处理滤波器 |
|
W |
|
SINT |
-128 to 127 |
用户自定义滤波器的 3x3 滤波器矩阵的滤波器系数值。+ 每个用户滤波器应用 9 次。 |
|
W |
|
SINT |
-128 to 127 |
3x3 滤波计算出的像素值的偏移值。 为每个用户滤波器应用。 |
|
W |
|
UINT |
0 to 65535 |
3x3 滤波计算像素值的乘数。 应用于每个用户滤波器。 |
|
W |
有关最常用线性滤镜的说明和设计,请参阅预处理(线性滤镜)。
信息:
如果使用 2 个用户滤波器,则首先使用滤波器 1 进行完整的预处理(依次设置用户滤波器 Filter(n) 11-33、用户滤波器 "Filter(n) "偏移和用户滤波器 Filter(n) 增益),然后使用滤波器 2 的设置对生成的(中间)图像进行预处理。
参数适用于 3x3 滤波矩阵中的一个系数,矩阵索引的计数方向定义如下:
这九个参数共同构成了用户自定义滤波器的滤波核心。
信息:
该参数要么不出现,要么出现一次或两次(指数为 1 或 2),具体取决于参数 Filter 的设置值。
信息:
该参数要么不出现,要么出现一次或两次(指数为 1 或 2),具体取决于参数 Filter 的设置值。
通常使用滤波系数绝对值之和的倒数(例如,对于系数全部为 1 的平滑滤波器,使用 1/9)。
信息:
该参数要么不出现,要么出现一次或两次(指数为 1 或 2),具体取决于参数 Filter 的设置值。
The parameters specified in this section are part of the hardware module configuration that can be accessed via Automation Studio.
Individual configuration parameters that determine the length of a POWERLINK frame can only be changed during configuration in Automation Studio (i.e. acyclically). These parameters can therefore only be read at runtime and are identified as constants.
USINT |
0 to 255 |
Selects the preprocessing filter |
|
W |
|
SINT |
-128 to 127 |
Value of a filter coefficient of the 3x3 filter matrix of a user-defined filter. Applied 9 times for each user filter. |
|
W |
|
SINT |
-128 to 127 |
Offset value for the calculated pixel values from the 3x3 filtering. Applied for each user filter. |
|
W |
|
UINT |
0 to 65535 |
Multiplier for the calculated pixel values from the 3x3 filtering. Applied for each user filter. |
|
W |
Selects whether to use preprocessing filters on the camera.
For illustration and design of the most common linear filters, see Preprocessing (linear filters).
Values |
Information |
|
---|---|---|
USINT |
0 |
Disabled |
1 |
Sobel filter |
|
2 |
User filter "filter 1" |
|
3 |
User filters "filter 1" and "filter 2" |
Information:
If 2 user filters are used, first the complete preprocessing is carried out with filter 1 (sequentially with the settings of User filter Filter(n) 11- 33, User filter "Filter(n)" offset and User filter Filter(n) gain), and then the resulting (intermediate) image is preprocessed with the settings of filter 2.
The parameter applies in each case to one coefficient of a 3x3 filter matrix, where the counting direction of the matrix indices is defined as follows:
All nine parameters together form the filter core of a user-defined filter.
Information:
This parameter either does not occur or occurs once or twice (with indices 1 or 2) depending on the set value of parameter Filter.
Offset value for the calculated grayscale values of the pixels from the 3x3 filtering.
Information:
This parameter either does not occur or occurs once or twice (with indices 1 or 2) depending on the set value of parameter Filter.
Multiplier for the calculated pixel values from the 3x3 filtering.
The reciprocal of the sum of the absolute values of the filter coefficients is usually used for this (e.g. 1/9 for a smoothing filter with all 1 coefficients).
Values |
Information |
|
---|---|---|
UINT |
0 to 65535 |
Default value: 32768. In 1/32768 increments. A 2-fold gain factor is therefore also possible. |
Information:
This parameter either does not occur or occurs once or twice (with indices 1 or 2) depending on the set value of parameter Filter.