首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到20条相似文献,搜索用时 156 毫秒
1.
实时全局重光照算法   总被引:2,自引:0,他引:2  
吴向阳  彭群生  张宏鑫  陈为  刘钢 《软件学报》2004,15(Z1):252-258
提出了一个实时全局重光照算法.算法利用重建的几何模型和沿不同光照方向的预采样图像恢复材料的反射属性,通过这些属性得到了面片在不同采样图像上的间接光照和环境光照.并用低价基函数将它们拟合.重光照绘制时,将恢复的材料属性应用于光照明模型计算出直接光照分量问接光照和环境光照分量由低阶基函数获得.物体表面细节则通过求解表面法向和材料属性的扰动量重建.实验结果表明,算法有效地重建了全局光照明效果和表面细节,生成的阴影边缘清晰,且绘制速度迭到实时.  相似文献   

2.
变化光照的对象图像合成   总被引:3,自引:0,他引:3  
徐丹  王平安 《软件学报》2002,13(4):501-509
光照是真实感图形绘制和许多图像应用中的一个非常重要的因素.提出了一种完全基于图像的方法来反映光照变化在绘制对图像时的影响.所提出的方法不是直接去估计对象反射模型中的参数,或是去拟合BRDF函数,而是用奇异值分解(SVD)来拟合Lambertian 对象在光照和几何朝向变化情况下的所有图像集合.其中,光线方向的解析表达可以由样本图像、基图像以及已知类对象的图像集导出,对象在新的光线方向下的图像可通过适当地线性组合基图像而有效地绘出.另外,利用对SVD系数的线性插值可以生成反映对象几何朝向和光线变化的连续变形  相似文献   

3.
一种基于图像的室外场景天气模拟技术框架   总被引:2,自引:0,他引:2  
文中给出了一个基于图像的室外场景的天气模拟技术框架,该方法仅需要少量的参考图像,结合一定的光照模型模拟生成同一时刻,同一视点,不同天气条件下的室外场景图像,其中不需要场景中物体的几何形状和表面反射特性的信息,给出了模拟生成的结果,说明了该方法的有效性。  相似文献   

4.
提出了一种结合图像绘制和逆向光线跟踪的绘制算法来生成水面反射场景。首先,采用逆向光线跟踪方法获得视点所见水面反射场景点;然后在反射光线与场景相交点求解时,采用场景图像平面搜索,并将搜索到的图像平面象素点反向投影到观察坐标系求取光线与场景物体相交点以获取反射物颜色;最后按照Fresnel公式计算获得视点所见的水面上某点的颜色,通过对整个图像平面进行遍历,获得水面反射场景。使用该方法绘制的水面反射场景能够物理真实地模拟水面反射效果。对于波动水面附近或漂浮于水面上物体的反射场景,该方法较其它方法能够更好地获得物理真实的绘制结果。  相似文献   

5.
基于图像的光照是计算机图形学中一个新的研究领域。本文研究了一种基于球面调和函数理论的快速光照技术,此方法采用三阶球面调和函数近似估计理想漫反射物体表面的光亮度,以此实现物体表面光亮度的计算。实验结果表明,本算法能够实现真实感图像的实时绘制。  相似文献   

6.
通过源图像与目标图像的类比关系,提取源图像中的物体在不同光照条件下生成的图像中的明暗知识,并将其作用于目标图像以完成明暗描绘.在目标图像与源图像上的绘制对象是理想漫反射物体且具有可类比性的情况下,绘制结果是合理的.该方法具有原始数据量小、计算速度快、便于显示效果的控制和交互等特点.  相似文献   

7.
在介绍虚拟现实系统位置关联、时间关联、焦距关联和虚化关联的基础上,研究了基于图像的多关联性虚拟现实系统的设计。针对虚拟场景焦距关联的需要,在考虑场景真实性和实时性的基础上,采用基于熵变分分辨率增强和线性插值相结合的方法生成任意焦距下场景对应图像;对于时间关联,采用基于颜色传输的光照变化图像生成方法,实现不同光照条件下场景图像的生成;针对场景虚化关联的需要,结合非真实感绘制技术,采用真实感全景图像和波动感虚化特效图像相结合的方法,实现超越现实时空的场景虚化关联。在此基础上,给出了多关联性虚拟现实系统的构建框架。  相似文献   

8.
辐照度环境纹理图是绘制任意光照环境下漫反射物体表面的一种有效的方法。为了实现动态光照环境下辐照度环境纹理图的实时绘制,基于当前的通用图形硬件,提出了一种采用顶点着色器快速计算辐照度环境纹理图的方法。该方法从分析球面调和函数入手,首先得出环境贴图的二次多项式表达形式;然后用顶点着色程序对多项式系数和球面调和函数进行加速计算,以快速生成辐照度环境纹理图;最后对于动态光照环境,则通过对环境纹理图的分级细化来加快光照系数的计算,进而实现了动态光照环境下辐照度环境纹理图的重新绘制。实验表明,在动态光照条件下,采用该方法在获取真实感光照效果的同时,其运算速度也能满足交互系统的需求。  相似文献   

9.
顾耀林  朱丽华  王华 《计算机应用》2007,27(7):1626-1628
对虚拟图像场景绘制算法进行研究,提出了一种基于低维线性子空间的球面谐波光照表示算法。从物体模型得到子空间,并抽取其中的低维线性空间,利用球面谐波函数将朗伯反射作为一个卷积处理,来近似表示朗伯反射,同时添加了漫反射阴影交互转移。实验结果表明该算法逼近程度好,绘制质量高,具有一定的实用价值。  相似文献   

10.
王莉莉  杨峥  马志强  赵沁平 《软件学报》2011,22(10):2454-2466
针对带有微结构表面的几何模型全局光照计算复杂、难以达到实时性要求的问题,提出一种基于高度梯度图分析的全局光照实时绘制方法.首先,定义微结构高度梯度图,并据此构建可见点的局部最高点集合.其次,给出面向微结构表面对象实时绘制的全局光照计算模型,将光照计算近似分解为环境光入射、光源直接光照和一次交互漫反射这3种分量的计算.在环境光计算过程中,提出一种自适应环境光遮挡计算,借助局部最高点集合计算遮挡角.在直接光照中,给出一种微结构阴影的修正方法,搜索入射光方向的最近局部最高点剖面;通过比较剖面内光线投影与局部最高点的遮挡角,近似确定由微结构造成的阴影区域.最后,根据可见点的局部最高点集合确定一次交互漫反射的采样范围,进行渗色处理.整个全局光照计算方法在图像空间完成,较好地利用了延迟着色的思想和GPU并行计算的特点.算法可以在使用低精度几何模型时表现出带有微结构表面的高精度模型的全局光照效果,且适用于动态场景和可变形物体的全局光照计算.  相似文献   

11.
基于图象的室内虚拟漫游系统   总被引:6,自引:0,他引:6       下载免费PDF全文
基于图象的绘制(Image Based Rendering)作为一种全新的图形绘制方式,以其相对于传统几何绘制而言,具有高效实用的优点,近年来得到了研究人员越来越多的关注,但IBR技术仍存在一些主要难点,如图象的无缝拼接和实时漫游。针对此问题,开发了一个基于部分球面模型的室内虚拟漫游系统。该系统采用自动匹配和人机交互相结合的方法,可以无缝地将多幅照片拼接成一张全景图,同时采用一种改进的基于查找表的算法,实现了固定视点的实时漫游。  相似文献   

12.
We present a method for rendering approximate soft shadows and diffuse indirect illumination in dynamic scenes. The proposed method approximates the original scene geometry with a set of tightly fitting spheres. In previous work, such spheres have been used to dynamically evaluate the visibility function to render soft shadows. In this paper, each sphere also acts as a low‐frequency secondary light source, thereby providing diffuse one‐bounce indirect illumination. The method is completely dynamic and proceeds in two passes: In a first pass, the light intensity distribution on each sphere is updated based on sample points on the corresponding object surface and converted into the spherical harmonics basis. In a second pass, this radiance information and the visibility are accumulated to shade final image pixels. The sphere approximation allows us to compute visibility and diffuse reflections of an object at interactive frame rates of over 20 fps for moderately complex scenes.  相似文献   

13.
Two‐dimensional (2D) parametric colour functions are widely used in Image‐Based Rendering and Image Relighting. They make it possible to express the colour of a point depending on a continuous directional parameter: the viewing or the incident light direction. Producing such functions from acquired data is promising but difficult. Indeed, an intensive acquisition process resulting in dense and uniform sampling is not always possible. Conversely, a simpler acquisition process results in sparse, scattered and noisy data on which parametric functions can hardly be fitted without introducing artefacts. Within this context, we present two contributions. The first one is a robust least‐squares‐based method for fitting 2D parametric colour functions on sparse and scattered data. Our method works for any amount and distribution of acquired data, as well as for any function expressed as a linear combination of basis functions. We tested our fitting for both image‐based rendering (surface light fields) and image relighting using polynomials and spherical harmonics. The second one is a statistical analysis to measure the robustness of any fitting method. This measure assesses a trade‐off between precision of the fitting and stability with respect to input sampling conditions. This analysis along with visual results confirm that our fitting method is robust and reduces reconstruction artefacts for poorly sampled data while preserving the precision for a dense and uniform sampling.  相似文献   

14.
An illumination adjustable image (IAI) contains a large number of prerecorded images under various light directions. Relighting a scene under complicated lighting conditions can be achieved from the IAI. Using the radial basis function (RBF) approach to represent an IAI is proven to be more efficient than using the spherical harmonic approach. However, to represent high-frequency lighting effects, we need to use many RBFs. Hence, the relighting speed could be very slow. This brief investigates a partial reconstruction scheme for relighting an IAI based on the locality of RBFs. Compared with the conventional RBF and spherical harmonics (SH) approaches, the proposed scheme has a much faster relighting speed under the similar distortion performance.   相似文献   

15.
We propose a novel approach to simulate the illumination of augmented outdoor scene based on a legacy photograph. Unlike previous works which only take surface radiosity or lighting related prior information as the basis of illumination estimation, our method integrates both of these two items. By adopting spherical harmonics, we deduce a linear model with only six illumination parameters. The illumination of an outdoor scene is finally calculated by solving a linear least square problem with the color constraint of the sunlight and the skylight. A high quality environment map is then set up, leading to realistic rendering results. We also explore the problem of shadow casting between real and virtual objects without knowing the geometry of objects which cast shadows. An efficient method is proposed to project complex shadows (such as tree's shadows) on the ground of the real scene to the surface of the virtual object with texture mapping. Finally, we present an unified scheme for image composition of a real outdoor scene with virtual objects ensuring their illumination consistency and shadow consistency. Experiments demonstrate the effectiveness and flexibility of our method.  相似文献   

16.
基于图像的光照模型研究综述   总被引:9,自引:1,他引:8  
沈沉  沈向洋  马颂德 《计算机学报》2000,23(12):1261-1269
从传统图形学的绘制技术与基于图像的绘制技术相结合的角度出发,以全光函数这个基于图像的绘制技术的理论基础为核心,概括性地提出基于图像的光照研究的基本任务实际上是对全光函数的采样、重建、合成和重采样的过程,并进一步地指出,基于图像的光照研究的重要意义在于扩展了原有基于图像的绘制技术中只能改变视点位置和视线方向的限制,使之可以通过改变场景本身的组成成分产生出更加丰富的光照效果。同时,该文综述性地分析了近期内有关基于图像的光照问题的部分研究工作,并从如何改变场景光照条件的角度出发,按照所使用的光照模型的不同,将这些方法分成三大类,即利用传统光照模型的方法、利用基于图像的光照模型的方法以及无需光照模型的方法。并从这个分类框架出发,进一步分析指出,利用基于图像的光照模型的方法将是未来研究的重点,并沿着这一方向尝试性地提出了一种新的模型。  相似文献   

17.
In this paper, we present a new SH operation, called spherical harmonics scaling, to shrink or expand a spherical function in the frequency domain. We show that this problem can be elegantly formulated as a linear transformation of SH projections, which is efficient to compute and easy to implement on a GPU. Spherical harmonics scaling is particularly useful for extrapolating visibility and radiance functions at a sample point to points closer to or farther from an occluder or light source. With SH scaling, we present applications to low-frequency shadowing for general deformable object, and to efficient approximation of spherical irradiance functions within a mid-range illumination environment.  相似文献   

18.
Image based relighting (IBL) solves the illumination control problem in the image-based modelling and rendering. However, it trades a drastic increase of storage requirement caused by the tremendous reference images pre-captured under various illumination conditions. In this paper, we propose a spherical wavelet transform and wavelet transform (SWT–WLT) based approach to compress the huge IBL dataset. Two major steps are involved. First, the spherical wavelet transform (SWT) is used to reduce the correlation between different reference images. Second, wavelet transform (WLT) is applied to compress those SW transformed images (SWT images). Due to the locality of SWT and WLT, the proposed method inherits an advantage of low memory requirement, hence, it is suitable for compressing arbitrarily large dataset. Using its integer format implementation this method can be further sped up with the help of bit shift operation. Simulations are given to evaluate its good features.  相似文献   

19.
We present a novel technique for capturing spatially or temporally resolved light probe sequences, and using them for image based lighting. For this purpose we have designed and built a real-time light probe, a catadioptric imaging system that can capture the full dynamic range of the lighting incident at each point in space at video frame rates, while being moved through a scene. The real-time light probe uses a digital imaging system which we have programmed to capture high quality, photometrically accurate color images of 512×512 pixels with a dynamic range of 10000000:1 at 25 frames per second. By tracking the position and orientation of the light probe, it is possible to transform each light probe into a common frame of reference in world coordinates, and map each point and direction in space along the path of motion to a particular frame and pixel in the light probe sequence. We demonstrate our technique by rendering synthetic objects illuminated by complex real world lighting, first by using traditional image based lighting methods and temporally varying light probe illumination, and second an extension to handle spatially varying lighting conditions across large objects and object motion along an extended path.  相似文献   

20.
In this paper, we propose two novel methods for face recognition under arbitrary unknown lighting by using spherical harmonics illumination representation, which require only one training image per subject and no 3D shape information. Our methods are based on the result which demonstrated that the set of images of a convex Lambertian object obtained under a wide variety of lighting conditions can be approximated accurately by a low-dimensional linear subspace. We provide two methods to estimate the spherical harmonic basis images spanning this space from just one image. Our first method builds the statistical model based on a collection of 2D basis images. We demonstrate that, by using the learned statistics, we can estimate the spherical harmonic basis images from just one image taken under arbitrary illumination conditions if there is no pose variation. Compared to the first method, the second method builds the statistical models directly in 3D spaces by combining the spherical harmonic illumination representation and a 3D morphable model of human faces to recover basis images from images across both poses and illuminations. After estimating the basis images, we use the same recognition scheme for both methods: we recognize the face for which there exists a weighted combination of basis images that is the closest to the test face image. We provide a series of experiments that achieve high recognition rates, under a wide range of illumination conditions, including multiple sources of illumination. Our methods achieve comparable levels of accuracy with methods that have much more onerous training data requirements. Comparison of the two methods is also provided.  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号