Manual

Table Of Contents
DobotVisionStudio User Guide
Issue V4.1.2 (2022-06-08) User Guide Copyright © Yuejiang Technology Co., Ltd.
188
- Opening operation means erosion first and then dilation.
- Closing operation means dilation first and then erosion.
Structuring Element: it is a common parameter, and it supports rect, ellipse and cross.
Iteration Times: the max. running times of the morphological operation algorithm, and it
only takes effect after setting dilation and erosion.
Element Width: it is the width of adjacent elements.
Element Height: it is the height of adjacent elements
Corrosion
Whenever a sub-image that is the same as the structural element is found in the target image, the
pixel position corresponding to the origin of the structural element in the sub-image is marked as 1,
and all such pixels marked on the target image are composed of is the result of the corrosion
calculation.
Expansion
Firstly, reflect the structure element about its origin to obtain the reflection set, and then translate
the reflection set on the target image, then those reflection sets after translation and the target image
have at least 1 non-zero common element when the corresponding reflection set's origin is
intersected. This is the result of the expansion operation.