针对数学形态学骨架化算法可能出现的多像素宽度情况,定义了端点、节点、尾支和毛刺等概念,在此基础上设计了一种分级毛刺去除算法。
Aimed at the appearance of multi-pixels width of skeleton, this paper gave the definition of tip, node, tail and burr, and a design of an algorithm for iteration burr.
大概的公式为:初始周框会根据画笔宽度膨胀,而这个结果是乘以斜接限制,加上某些要考虑端点的额外边界。
The approximate formula is: the initial bounding rectangle is inflated by pen width, and this result is multiplied by the miter limit, plus some additional margin to allow for end caps.
传回的周框大小受端点、笔触宽度和笔触斜接限制所影响,因此会产生界限路径的「宽松符合」。
The size of the returned bounding rectangle is influenced by the type of end caps, pen width, and pen miter limit, and therefore produces a "loose fit" to the bounded path.
应用推荐