您的位置:首页 > 其它

junctions_skeleton——通过该算子获取骨架的交点和端点,可判断前景的几何简单性(二次分割定位)

2014-06-09 14:23 281 查看
junctions_skeleton
(Operator)
Name
junctions_skeleton — Find junctions and end points in a skeleton.
Signature
junctions_skeleton(Region
: EndPoints,
JuncPoints
: : )
Description
junctions_skeleton detects junctions and end points in a skeleton (see
skeleton). The junctions in the
input region Region
are output as a region in JuncPoints,
while the end points are output as a region in EndPoints.

To obtain reasonable results with
junctions_skeleton the input region
Region must
not contain lines which are more than one pixel wide. Regions obtained by
skeleton meet this condition, while
regions obtained by morph_skeleton
do not meet this condition in general.
Parallelization

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 (input_object)
region(-array) → object

Input skeletons.

EndPoints
(output_object) region(-array) → object

Extracted end points.
Number of elements:
EndPoints == Region

JuncPoints
(output_object) region(-array) → object

Extracted junctions.
Number of elements:
JuncPoints == Region
Example
(HDevelop)
* non-connected branches of a skeleton

skeleton(Region,Skeleton)

junctions_skeleton(Skeleton,EPoints,JPoints)

difference(S,JPoints,Rows)

set_system('heighbourhood',4)

connection(Rows,Parts)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐