gen_struct_elements🔗
Short description🔗
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( out region StructElements, string Type, point.y Row, point.x 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🔗
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.
Combinations with other operators🔗
Combinations
Possible successors
fitting, hit_or_miss, opening, closing, erosion2, dilation2
See also
Module🔗
Foundation