高级检索
杨猛, 贺晓宇, 胡成, 王天雪, 杨刚. 交互式沙画模拟算法[J]. 计算机辅助设计与图形学学报, 2016, 28(7): 1084-1093.
引用本文: 杨猛, 贺晓宇, 胡成, 王天雪, 杨刚. 交互式沙画模拟算法[J]. 计算机辅助设计与图形学学报, 2016, 28(7): 1084-1093.
Yang Meng, He Xiaoyu, Hu Cheng, Wang Tianxue, Yang Gang. Algorithm for Interactive Simulation of Sand Painting[J]. Journal of Computer-Aided Design & Computer Graphics, 2016, 28(7): 1084-1093.
Citation: Yang Meng, He Xiaoyu, Hu Cheng, Wang Tianxue, Yang Gang. Algorithm for Interactive Simulation of Sand Painting[J]. Journal of Computer-Aided Design & Computer Graphics, 2016, 28(7): 1084-1093.

交互式沙画模拟算法

Algorithm for Interactive Simulation of Sand Painting

  • 摘要: 为了向普通用户和艺术家提供一种简单且超现实的新兴沙画交互方式,提出一种基于Kinect的交互式真实感沙画实时模拟系统与算法.该系统由预处理、用户交互信息获取、沙画实时处理与绘制3个子系统组成.预处理子系统包括真实沙画图像的采集、分析以及统计操作和沙画画笔样式定义操作,二者仅需要执行一次;用户交互信息获取子系统是沙画模拟算法的起始点,主要利用Kinect交互识别用户手势等动作信息,进而完成功能选择或者沙画不同手法的绘制操作;沙画实时处理与绘制子系统通过基于高度场的沙粒堆积算法与沙堆崩塌算法实现勾沙、铺沙、漏沙等沙画手法,进而将画布高度场转换回RGB图像并完成最终模拟效果的绘制操作.用户体验反馈与实验结果表明,文中系统与算法能够真实、有效、实时、交互地进行沙画艺术创作.

     

    Abstract: In order to provide a simple and surreal burgeoning approach of interactive sand painting to ordinary users and artists, this paper presented an interactive algorithm to realistically simulate sand painting based on Kinect in real-time. The simulation algorithm consists of three subsystems: a preprocessing subsystem, a user interaction information acquisition subsystem, and a processing and rendering subsystem in real-time. The preprocessing subsystem includes the collection, analysis and statistics for real sand painting image and the definition for various brush styles. Both of these two operations need to be implemented only once. The acquisition subsystem as the starting point of our simulation algorithm could interactively recognize user action information, such as user gestures, by using Kinect. Based on the action information, the acquisition subsystem could know the function selection of users, and could recognize the painting style and the stroke paths in users’ painting. The processing and rendering subsystem adopted height-filed-based sand accumulation algorithm and sandpile collapse algorithm to simulate various painting styles, such as hand/fingertip sweeping, sand pouring and sand leakage. Furthermore, the height field of sand canvas would be converted back into a RGB image for the final effects rendering. The experimental results and the user experience feedbacks reveal that the proposed system and algorithm in this paper can generate sand painting artistic creations realistically, effectively, interactively in real-time.

     

/

返回文章
返回