fitting fitting Fitting Fitting fitting (算子名称)
名称
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.
参数签名
描述
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.
运行信息
Multithreading type: reentrant (runs in parallel with non-exclusive operators).
Multithreading scope: global (may be called from any thread).
Processed without parallelization.
参数表
区域 区域 区域 区域 区域 区域
(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.
结果
fitting fitting Fitting Fitting Fitting fitting
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.
可能的前置算子
gen_struct_elements gen_struct_elements GenStructElements GenStructElements GenStructElements gen_struct_elements
,
gen_region_points gen_region_points GenRegionPoints GenRegionPoints GenRegionPoints gen_region_points
可能的后置算子
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
可替代算子
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
模块
Foundation