罗莎. 基于边缘融合的图像非真实感特效渲染算法[J]. 微电子学与计算机, 2012, 29(10): 185-189.
引用本文: 罗莎. 基于边缘融合的图像非真实感特效渲染算法[J]. 微电子学与计算机, 2012, 29(10): 185-189.
LUO Sha. Research of Color Image Rendering with NPR Style Based on Edge Fusion[J]. Microelectronics & Computer, 2012, 29(10): 185-189.
Citation: LUO Sha. Research of Color Image Rendering with NPR Style Based on Edge Fusion[J]. Microelectronics & Computer, 2012, 29(10): 185-189.

基于边缘融合的图像非真实感特效渲染算法

Research of Color Image Rendering with NPR Style Based on Edge Fusion

  • 摘要: 针对传统的图像非真实感渲染制作受场所、设备的限制以及依赖人工绘制的周期长、效率低的不足,研究了彩色图像的非真实感渲染方法.提出了一种基于边缘融合的彩色图像非真实感渲染方法.根据非真实感图像的特殊性质,在进行渲染时必须考虑边缘和颜色两个重要因素.方法首先将RGB彩色图像转换为Lab彩色图像,并对L通道进行梯度滤波,获取边缘梯度图.然后对L通道进行灰度量化,并合并量化后的L、a、b三个通道,将其转换为RGB图像,最后将边缘梯度图和量化后的RGB图像融合,得到非真实感渲染后的图像.实验结果表明,与前人提出的基于扫描线的非真实感渲染算法相比,方法能克服扫描出现的颜色突兀跳变与虚假条纹,有一定的实用意义.

     

    Abstract: As to the problem of the traditional cartoon painting suffered from not only the place and device, but also the long develop period and low efficiency, the method of color image rendering with cartoon style based on edge fusion was proposed.Taking account of the special properties of cartoon painting, the two factors which must be regarded were edge and color.Firstly, the RGB image should be converted to Lab image and the L channel was processed by edge filter.Then the L channel was quantified which can be combined to whole RGB image.Finally, the RGB image and edge image can be integrated to the cartoon painting.The experimental results demonstrated that this method has the superiority of overcoming the color skip and stripe compared with the method of scanning line.

     

/

返回文章
返回