fitting fitting Fitting Fitting fitting (Operator)
Name
fitting fitting Fitting Fitting fitting
— Perform a closing after an opening with multiple structuring elements.
Warning
fitting fitting Fitting Fitting Fitting fitting
is obsolete and is only provided for
reasons of backward compatibility.
Signature
Description
fitting fitting Fitting Fitting Fitting fitting
performs an opening opening Opening Opening Opening opening
and a
closing closing Closing Closing Closing closing
successively on the input regions. The eight
structuring elements normally used for this operation can be
generated with the operator gen_struct_elements gen_struct_elements GenStructElements GenStructElements GenStructElements gen_struct_elements
. However,
other user-defined structuring elements can also be used. Let
R be the input region(s) and let
denote the
structuring elements. Furthermore, let P be the result of the
opening and Q be the final result. Then the operator can be
formalized as follows:
Regions larger than the structuring elements are preserved, while
small gaps are closed.
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
Region Region Region Region region region
(input_object) region(-array) →
object HRegion HObject HRegion Hobject
Regions to be processed.
StructElements StructElements StructElements StructElements structElements struct_elements
(input_object) region(-array) →
object HRegion HObject HRegion Hobject
Structuring elements.
RegionFitted RegionFitted RegionFitted RegionFitted regionFitted region_fitted
(output_object) region(-array) →
object HRegion HObject HRegion Hobject *
Fitted regions.
Result
fitting fitting Fitting Fitting Fitting fitting
returns 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
gen_struct_elements gen_struct_elements GenStructElements GenStructElements GenStructElements gen_struct_elements
,
gen_region_points gen_region_points GenRegionPoints GenRegionPoints GenRegionPoints gen_region_points
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
opening opening Opening Opening Opening opening
,
closing closing Closing Closing Closing closing
,
connection connection Connection Connection Connection connection
,
select_shape select_shape SelectShape SelectShape SelectShape select_shape
Module
Foundation