基于光照方向的图像浮雕生成算法  

Image relief generation algorithm based on lighting direction

在线阅读下载全文

作  者:霍文英 丰洪才 凌晶 HUO Wenying;FENG Hongcai;Ling Jing(School of Mathematics & Computer Science,Wuhan Polytechnic University,Wuhan 430023,China)

机构地区:[1]武汉轻工大学数学与计算机学院,湖北武汉430023

出  处:《武汉轻工大学学报》2017年第4期54-58,共5页Journal of Wuhan Polytechnic University

摘  要:针对传统浮雕生成算法中存在的图像轮廓模糊、细节特征不清晰这一问题,为了生成具有立体感的清晰浮雕图像,提出了一种基于光照方向的浮雕图像生成算法。首先利用Prewitt梯度算子对灰度图像进行边缘提取并反色处理,得到轮廓清晰的梯度图像;然后设置照明光源的位置分别为左侧,上侧以及左上侧以求得不同光照方向下浮雕图像的显示效果;最后将不同光照方向下的浮雕图像进行合并,从而生成立体感强,层次鲜明的浮雕图像。实验结果表明,该方法依据光源照射方向与成像之间的关系对图像进行的二次处理,可以更好的显示出图像的细节特征以及边缘轮廓,与传统的单一采用主对角线光源的浮雕生成算法相比,更加清晰有效。Aiming at the problem of how to make the relief more stereoscopic and esthetic,a new method based on lighting direction is proposed.The relief image represents a three-dimensional effect of sculpture and the direction of the light is related to its effect,in order to obtain a clear gradient image based on the relationship between the direction of light and the imaging,this paper uses the Prewitt operator to extract the gray image and reverse its color.And then the position of light source is set to the left side,the upper side,and the upper left side respectively to obtain the display in different light directions.Finally,the relief images in different lighting directions are merged to produce a relief image with strong stereo sense and distinct levels.Experimental results show that the relief effect of the above method is better than the traditional method.For a given input image,it can effectively generate a relief image with artistic style.

关 键 词:图像浮雕 光照方向 Prewitt梯度算子 卷积 

分 类 号:TP391.9[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象