• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2014, Vol. 36 ›› Issue (11): 2196-2202.

• 论文 • Previous Articles     Next Articles

A novel rendering method for Chinese painting
style based on piecewise function          

CHEN Chen,DU Xiaorong,CHEN Qiwen   

  1. (Institute of Power Electronic and Control Technology,Sun YatSen University,Zhuhai 519082,China)
  • Received:2013-04-09 Revised:2013-07-05 Online:2014-11-25 Published:2014-11-25

Abstract:

By combining the ideas of random concentration in physical simulation and the piecewise approach,the random process of diffusion density of the middle-long distance segment is performed,then a novel subparagraph ink spread function is proposed for simulating the ink diffusion effect.A novel rendering method of Chinese painting style based on piecewise function is proposed.According to the design key points,the overall framework of the proposed method is designed.Firstly,the mean filter is used for smoothing preprocessing of the image.Secondly,the Kmeans clustering algorithm is adopted for image segmentation so as to simulate the tonal gradation effect expressed by ink shades in Chinese painting.Thirdly,the morphological method is used to detect the edge points.Fourthly,the self-defined piecewise function is applied to the detected edge points to simulate the effect of the diffusion of ink edges,thus obtaining the rendered image of Chinese painting style.Finally,HTML5 is used to implement the proposal. The proposed algorithm can generate a more realistic effect for ink simulation and ink diffusion of Chinese painting style.     

Key words: non-photorealistic rendering;Chinese painting;HTML5;segmented function;K-means clustering algorithm