dilation_seq dilation_seq DilationSeq DilationSeq dilation_seq (Operator)
Name
dilation_seq dilation_seq DilationSeq DilationSeq dilation_seq
— Dilate a region sequentially.
Warning
dilation_seq dilation_seq DilationSeq DilationSeq DilationSeq dilation_seq
is obsolete and is only provided for
reasons of backward compatibility.
Signature
Description
dilation_seq dilation_seq DilationSeq DilationSeq DilationSeq dilation_seq
computes the sequential dilation of the
input region Region Region Region Region region region
with the selected structuring element
GolayElement GolayElement GolayElement GolayElement golayElement golay_element
from the Golay alphabet. This is done by
executing the operator dilation_golay dilation_golay DilationGolay DilationGolay DilationGolay dilation_golay
with all rotations
of the structuring element Iterations Iterations Iterations Iterations iterations iterations
times. The
following structuring elements can be selected:
'l', 'd', 'c', 'f', 'h', 'k'.
In order to compute the skeleton of a region, usually the elements
'l' and 'm' are used. Only the “foreground elements” (even
rotation numbers) are used. The elements 'i' and 'e' result in
unchanged output regions. The elements 'l', 'm' and 'f2' are
identical for the foreground. The Golay elements, together with all
possible rotations, are described with the operator
golay_elements golay_elements GolayElements GolayElements GolayElements golay_elements
.
Execution Information
Multithreading type: reentrant (runs in parallel with non-exclusive operators).
Multithreading scope: global (may be called from any thread).
Automatically parallelized on tuple level.
Parameters
Region Region Region Region region region
(input_object) region(-array) →
object HRegion HObject HRegion Hobject
Regions to be dilated.
RegionDilation RegionDilation RegionDilation RegionDilation regionDilation region_dilation
(output_object) region(-array) →
object HRegion HObject HRegion Hobject *
Dilated regions.
GolayElement GolayElement GolayElement GolayElement golayElement golay_element
(input_control) string →
HTuple str HTuple Htuple (string) (string ) (HString ) (char* )
Structuring element from the Golay alphabet.
Default:
'h'
"h"
"h"
"h"
"h"
"h"
List of values:
'c' "c" "c" "c" "c" "c" , 'd' "d" "d" "d" "d" "d" , 'f' "f" "f" "f" "f" "f" , 'h' "h" "h" "h" "h" "h" , 'k' "k" "k" "k" "k" "k" , 'l' "l" "l" "l" "l" "l"
Iterations Iterations Iterations Iterations iterations iterations
(input_control) integer →
HTuple int HTuple Htuple (integer) (int / long) (Hlong ) (Hlong )
Number of iterations.
Default:
1
Suggested values:
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 15, 17, 20, 30, 40, 50
Value range:
1
≤
Iterations
Iterations
Iterations
Iterations
iterations
iterations
(lin)
Minimum increment:
1
Recommended increment:
1
Complexity
Let F be the area of an input region. Then the runtime complexity for one
region is:
Result
dilation_seq dilation_seq DilationSeq DilationSeq DilationSeq dilation_seq
returns 2 (
H_MSG_TRUE )
if all parameters are
correct. The behavior in case of empty or no input region can be
set via:
no region:
set_system('no_object_result',<RegionResult>) set_system("no_object_result",<RegionResult>) SetSystem("no_object_result",<RegionResult>) SetSystem("no_object_result",<RegionResult>) SetSystem("no_object_result",<RegionResult>) set_system("no_object_result",<RegionResult>)
empty region:
set_system('empty_region_result',<RegionResult>) set_system("empty_region_result",<RegionResult>) SetSystem("empty_region_result",<RegionResult>) SetSystem("empty_region_result",<RegionResult>) SetSystem("empty_region_result",<RegionResult>) set_system("empty_region_result",<RegionResult>)
Otherwise, an exception is raised.
Possible Predecessors
threshold threshold Threshold Threshold Threshold threshold
,
regiongrowing regiongrowing Regiongrowing Regiongrowing Regiongrowing regiongrowing
,
connection connection Connection Connection Connection connection
,
union1 union1 Union1 Union1 Union1 union1
,
watersheds watersheds Watersheds Watersheds Watersheds watersheds
,
class_ndim_norm class_ndim_norm ClassNdimNorm ClassNdimNorm ClassNdimNorm class_ndim_norm
Possible Successors
reduce_domain reduce_domain ReduceDomain ReduceDomain ReduceDomain reduce_domain
,
select_shape select_shape SelectShape SelectShape SelectShape select_shape
,
area_center area_center AreaCenter AreaCenter AreaCenter area_center
,
connection connection Connection Connection Connection connection
Alternatives
dilation1 dilation1 Dilation1 Dilation1 Dilation1 dilation1
,
dilation2 dilation2 Dilation2 Dilation2 Dilation2 dilation2
,
dilation_golay dilation_golay DilationGolay DilationGolay DilationGolay dilation_golay
See also
erosion_seq erosion_seq ErosionSeq ErosionSeq ErosionSeq erosion_seq
,
hit_or_miss_seq hit_or_miss_seq HitOrMissSeq HitOrMissSeq HitOrMissSeq hit_or_miss_seq
,
thinning_seq thinning_seq ThinningSeq ThinningSeq ThinningSeq thinning_seq
Module
Foundation