hit_or_miss_seq hit_or_miss_seq HitOrMissSeq HitOrMissSeq hit_or_miss_seq (Operator)
Name
hit_or_miss_seq hit_or_miss_seq HitOrMissSeq HitOrMissSeq hit_or_miss_seq
— Hit-or-miss operation for regions using the Golay alphabet (sequential).
Warning
hit_or_miss_seq hit_or_miss_seq HitOrMissSeq HitOrMissSeq hit_or_miss_seq
is obsolete and is only provided for
reasons of backward compatibility.
Signature
Description
hit_or_miss_golay hit_or_miss_golay HitOrMissGolay HitOrMissGolay hit_or_miss_golay
performs the
hit-or-miss-transformation for the input regions Region Region Region region region
using all rotations of a structuring element from the Golay
alphabet. The result of the operator is the union of all
intermediate results of the respective rotations. The following
structuring elements are available:
'l', 'm', 'd', 'c', 'e', 'i', 'f', 'f2', 'h', 'k'.
The Golay elements, together with all possible rotations, are
described with the operator golay_elements golay_elements 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
(input_object) region(-array) →
object HRegion HObject HObject Hobject
Regions to be processed.
RegionHitMiss RegionHitMiss RegionHitMiss regionHitMiss region_hit_miss
(output_object) region(-array) →
object HRegion HObject HObject Hobject *
Result of the hit-or-miss operation.
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"
List of values:
'c' "c" "c" "c" "c" , 'd' "d" "d" "d" "d" , 'e' "e" "e" "e" "e" , 'f' "f" "f" "f" "f" , 'f2' "f2" "f2" "f2" "f2" , 'h' "h" "h" "h" "h" , 'i' "i" "i" "i" "i" , 'k' "k" "k" "k" "k" , 'l' "l" "l" "l" "l" , 'm' "m" "m" "m" "m"
Complexity
Let F be the area of an input region, and R be the number of
rotations. Then the runtime complexity for one region is:
Result
hit_or_miss_seq hit_or_miss_seq HitOrMissSeq HitOrMissSeq hit_or_miss_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>) 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>) set_system("empty_region_result",<RegionResult>)
Otherwise, an exception is raised.
Possible Predecessors
threshold threshold Threshold Threshold threshold
,
regiongrowing regiongrowing Regiongrowing Regiongrowing regiongrowing
,
connection connection Connection Connection connection
,
union1 union1 Union1 Union1 union1
,
watersheds watersheds Watersheds Watersheds watersheds
,
class_ndim_norm class_ndim_norm ClassNdimNorm ClassNdimNorm class_ndim_norm
Possible Successors
reduce_domain reduce_domain ReduceDomain ReduceDomain reduce_domain
,
select_shape select_shape SelectShape SelectShape select_shape
,
area_center area_center AreaCenter AreaCenter area_center
,
connection connection Connection Connection connection
Alternatives
hit_or_miss_golay hit_or_miss_golay HitOrMissGolay HitOrMissGolay hit_or_miss_golay
,
hit_or_miss hit_or_miss HitOrMiss HitOrMiss hit_or_miss
See also
thinning_seq thinning_seq ThinningSeq ThinningSeq thinning_seq
,
thickening_seq thickening_seq ThickeningSeq ThickeningSeq thickening_seq
Module
Foundation