计算机科学 ›› 2010, Vol. 37 ›› Issue (10): 239-241.

• 图形图像 • 上一篇    下一篇

双光源环境下非真实感绘制色调获取方法研究

王相海,秦晓彬,辛玲   

  1. (辽宁师范大学计算机与信息技术学院 大连116029)(南京大学计算机软件新技术国家重点实验室 南京210093) (大连市委党校 大连116013)
  • 出版日期:2018-12-01 发布日期:2018-12-01
  • 基金资助:
    本文受辽宁省自然基金项目(20072156),辽宁百千万人才工程资助项目(2008921036),南京邮电学院图像处理与图像通信江苏省重点实验室开放基金(ZK207008)资助。

Method of Catching NPR Hue in Double Light Source Condition

WANG Xiang-hai,QIN Xia-bin,XIN Ling   

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

摘要: 非真实感绘制场景中客体明暗色调的合理性和协调性直接影响到最后生成画面的效果。对双光源环境下非真实感绘制场景中客体色调的获取方法进行研究,提出一种双光源下基于“小球法”的色调信息提取方法,该方法假设场景中的客体表面均匀覆盖了一层大小相同的小球,相邻的两个小球间保持近似相切状态,通过计算每一个小球在双光源状态下被其它小球遮档的程度来确定该小球中心位置的明暗信息,以及每一个小球在双光源环境下所在位置的近似镜面反射光亮度。在绘制阶段,可利用这些色调信息控制在相应位置绘制“笔触”的色调,从而保证所生成的非真实感画面场景整体色调的合理性。该方法可应用于双光源下各种非真实感绘制明暗信息的获取,并且具有结构简单、计算速度快和可方便实现对场景中局部信息的调整等特点。实验结果验证了提出的方法的有效性。

关键词: 非真实感,双光源,遮挡信息,笔触

Abstract: In NPR, a reasonable light and shade and coordination directly affect the effect of the last created menu. This paper discussed the methods of catching the tone of the object in Non-photorealistic rendering scene in double light source condition,and presented a method which can obtain hue information of the scene and objects based on small ball,this method supposes the surface of objects in scene is symmetrically covered with a layer of the same size balls, and two adjacent balls maintain a state of approximate tangent, by computing the ball's sheltered degree by other balls in double light source condition and the approximate mirror reflection information to confirm the hue information of the small ball in it's position. These hue informations can be used to control brushstroke's hue at the corresponding position in the process of painting,thereby ensures the rationality of the whole hue in the last created menu. This method can be applied to a variety of double light source non-photorcalistic rendering for obtaining light and shade information, and has simple structure,fast computation speed and facilitate the realization the adjustment of local information in scene. Simulation results show it is effective.

Key words: Non-photorealistic, Double light source, Hue information, Brushstroke

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!