计算机科学 ›› 2017, Vol. 44 ›› Issue (Z11): 184-188.doi: 10.11896/j.issn.1002-137X.2017.11A.038

• 模式识别与图像处理 • 上一篇    下一篇

基于笔画容差带的手绘草图间断多笔画判定与拟合方法

周晶,方贵盛   

  1. 浙江大学机械工程学院 杭州310027,浙江水利水电学院机械与汽车工程学院 杭州310018
  • 出版日期:2018-12-01 发布日期:2018-12-01
  • 基金资助:
    本文受浙江省自然科学基金项目(LY13F020032)资助

Judging and Fitting Method for Fractured Freehand Multi-stroke Based on Tolerance Zone

ZHOU Jing and FANG Gui-sheng   

  • Online:2018-12-01 Published:2018-12-01

摘要: 在手绘草图的过程中经常会出现单一线元间断绘制的问题,为了将间断的笔画修整为单一线元以获得规范的设计图,提出了一种基于笔画容差带的手绘草图间断多笔画判定与拟合方法。该方法对输入的笔画进行折线化处理,得到笔画逼近折线段的折点序列,并判断笔画类型;根据笔画走势,绘制假想笔画以及扩展的笔画容差带,判定两笔画是否属于间断多笔画;聚类间断绘制多笔画,将笔画序列转换成子草图序列,并对子草图逐一进行拟合,从而得到规范的几何线元,这为实现由草图到规范设计图的识别提供了基础。

关键词: 间断绘制多笔画,笔画容差带,假想笔画,笔画聚类,曲线拟合

Abstract: In freehand sketches,a single primitive would often be fractured.To obtain standard sketches and turn fractured strokes into standard primitives,this paper presented a judging and fitting method for fractured freehand multi-stroke based on tolerance zone.The preprocessing of the sketch is to transform all strokes into approximate polylines and to obtain all strokes categorized by type.And the turning points of approximate polylines are stored for further use.This method uses the trend of freehand strokes to construct imaginary strokes.And tolerance zone is established based on the stored turning points of freehand strokes and imaginary ones.The number of the sampling points of the strokes with smaller minimum bounding rectangle,which fall into the tolerance zone of the other stroke and the imaginary one,is counted,and it’s used to judge whether two strokes are fractured multi-strokes or not.Multi-strokes are clustered together,and as a result,the sketch is divided into a set of stroke group. According to the stroke classification of each stroke group,stroke groups are fitted with geometric primitives .The examples shown in this paper validates the feasibility of this method.It lays the foundation for further sketch recognition.

Key words: Fractured multi-stroke,Tolerance zone,Imaginary stroke,Stroke clustering,Curve fitting

[1] 孙正兴,冯桂焕,周若鸿.基于草图的人机交互技术研究进展[J].计算机辅助设计与图形学学报,2005,17(9):1889-1899.
[2] 宋保华,叶军,于明玖,等.笔输入草图的分层识别[J].计算机辅助设计与图形学学报,2004,16(6):753-758.
[3] 谢强,冯桂焕,孙正兴.基于上下文的在线草图识别[J].计算机科学,2007,34(3):216-219.
[4] 李路,周良,丁秋林.基于贝叶斯网络的草图符号识别研究[J].计算机科学,2011,38(6):262-265.
[5] 马嵩华,田凌.捕捉设计意图的二维草图识别技术[J].计算机辅助设计与图形学学报,2012,24(10):1337-1345.
[6] PETERSON E J,STAHOVICH T F,DOI E,et al.GroupingStrokes into Shapes in Hand-Drawn Diagrams[C]∥Proceedings of the Twenty-Fourth AAAI Conference on Artificial Intelligence (AAAI-10).Association for the Advancement of Artificial Intelligence,2010:974-979.
[7] KU D C,QIN S F,WRIGHT D K.Interpretation of Overtracing Freehand Sketching for Geometric Shapes[C]∥Proceedings of the 14th International Conference in Central Europe on ComputerGraphics.Aire-la-Ville:Eurographics Association Press,2006:263-270.
[8] 王淑侠,高满屯,齐乐华.基于二次曲线的在线手绘图识别[J].西北工业大学学报,2007,25(1):37-41.
[9] WANG S X,GAO M T,QI L H.Online Freehand Sketching Recognition Using Fuzzy Theory[J].Pattern Recognition and Artificial Intelligence,2008,21(3):317-325.
[10] 王淑侠,王关峰,高满屯,等.基于时空关系的在线多笔画手绘折线段曲线识别[J].计算机科学,2012,39(9):269-274.
[11] WANG S X,WANG G F,GAO M T,et al.Recognition of online multi-stroke freehand conic sections based on time-space relationship[J].Pattern Recognition and Artificial Intelligence,2011,24(1):82-89.
[12] WANG S X,QIN S F,GAO M T.New grouping and fittingmethods for interactive overtraced sketches[J].The Visual Computer,2014,30(3):285-297.
[13] 王淑侠,王守霞,王关峰,等.基于几何特征的在线手绘草图分割[J].计算机辅助设计与图形学学报,2015,27(9):1686-1693.
[14] 王淑侠,王守霞,王关峰,等.在线多笔画重复绘制草图的判定与聚类[J].计算机辅助设计与图形学学报,2015,27(10):1980-1987.

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!