gen_struct_elements
— Generate standard structuring elements.
gen_struct_elements
is obsolete and is only provided for
reasons of backward compatibility.
gen_struct_elements( : StructElements : Type, Row, Column : )
gen_struct_elements
serves to generate eight structuring
elements normally used in the operator fitting
. The
default value 'noise' of the parameter Type
generates elements especially suited for the elimination of noise.
o o o o * o o o * * o o o o o o o o o * o o * o
* * * o * o o * o o * o * * o o * * * * o o * *
o o o o * o * o o o o * o * o o * o o o o o o o
M1 M2 M3 M4 M5 M6 M7 M8
StructElements
(output_object) region(-array) →
object
Generated structuring elements.
Type
(input_control) string →
(string)
Type of structuring element to generate.
Default value: 'noise'
List of values: 'noise'
Row
(input_control) point.y →
(integer)
Row coordinate of the reference point.
Default value: 1
Suggested values: 0, 1, 10, 50, 100, 200, 300, 400
Typical range of values:
Row
(lin)
Column
(input_control) point.x →
(integer)
Column coordinate of the reference point.
Default value: 1
Suggested values: 0, 1, 10, 50, 100, 200, 300, 400
Typical range of values:
Column
(lin)
gen_struct_elements
returns TRUE if all parameters are correct.
Otherwise, an exception is raised.
fitting
,
hit_or_miss
,
opening
,
closing
,
erosion2
,
dilation2
Foundation