Operator Reference
gen_struct_elements (Operator)
gen_struct_elements
— Generate standard structuring elements.
Warning
gen_struct_elements
is obsolete and is only provided for
reasons of backward compatibility.
Signature
gen_struct_elements( : StructElements : Type, Row, Column : )
Description
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
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
StructElements
(output_object) region(-array) →
object
Generated structuring elements.
Type
(input_control) string →
(string)
Type of structuring element to generate.
Default: 'noise'
List of values: 'noise'
Row
(input_control) point.y →
(integer)
Row coordinate of the reference point.
Default: 1
Suggested values: 0, 1, 10, 50, 100, 200, 300, 400
Value range:
Row
(lin)
Column
(input_control) point.x →
(integer)
Column coordinate of the reference point.
Default: 1
Suggested values: 0, 1, 10, 50, 100, 200, 300, 400
Value range:
Column
(lin)
Result
gen_struct_elements
returns 2 (
H_MSG_TRUE)
if all parameters are correct.
Otherwise, an exception is raised.
Possible Successors
fitting
,
hit_or_miss
,
opening
,
closing
,
erosion2
,
dilation2
See also
Module
Foundation