CN101082992A - Drawing of real time high dynamic range image and display process - Google Patents

Drawing of real time high dynamic range image and display process Download PDF

Info

Publication number
CN101082992A
CN101082992A CNA2007100699251A CN200710069925A CN101082992A CN 101082992 A CN101082992 A CN 101082992A CN A2007100699251 A CNA2007100699251 A CN A2007100699251A CN 200710069925 A CN200710069925 A CN 200710069925A CN 101082992 A CN101082992 A CN 101082992A
Authority
CN
China
Prior art keywords
image
dynamic range
brightness
high dynamic
pixel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CNA2007100699251A
Other languages
Chinese (zh)
Inventor
潘志庚
杨皓然
何高奇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang University ZJU
Original Assignee
Zhejiang University ZJU
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang University ZJU filed Critical Zhejiang University ZJU
Priority to CNA2007100699251A priority Critical patent/CN101082992A/en
Publication of CN101082992A publication Critical patent/CN101082992A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)

Abstract

本发明公开了一种实时绘制并显示高动态范围图像的方法。其步骤为:1)在绘制场景时保留高动态范围信息;2)实现辉光效果:首先计算图像的平均亮度,然后依据设定的阙值对图像进行亮度过滤,生成只包含过滤出的高亮度的区域的新图像,对新图像进行二维高斯模糊,产生出辉光效果;3)对原来包含高动态范围信息的图像进行色调映射,使得高动态范围的图像能在低动态范围里显示出来并保持尽可能多的细节;4)将进行了色调映射的图像和模糊后的图像进行alpha混合生成最终图像。本发明采用了对图像进行后处理的方法,计算量小,能够满足实时绘制的要求,具有很好的实用价值。The invention discloses a method for real-time drawing and displaying high dynamic range images. The steps are: 1) retain the high dynamic range information when drawing the scene; 2) realize the glow effect: first calculate the average brightness of the image, and then filter the brightness of the image according to the set threshold to generate only the filtered high For the new image in the brightness area, two-dimensional Gaussian blur is performed on the new image to produce a glow effect; 3) Tone mapping is performed on the original image containing high dynamic range information, so that the high dynamic range image can be displayed in the low dynamic range Come out and keep as much detail as possible; 4) Alpha blend the tone mapped image and the blurred image to generate the final image. The invention adopts the method of post-processing the image, has small calculation amount, can meet the requirement of real-time drawing, and has very good practical value.

Description

The drafting of real time high dynamic range image and display packing
Technical field
The present invention relates to a kind of drafting and display packing of real time high dynamic range image.
Background technology
The ratio of the maximal value of piece image intensity level and minimum value is called as dynamic range.By the automatic adjusting of eye pupil, the dynamic range of the brightness that human eyes can be experienced is 1000000000: 1.Even in the image that computing machine generates, the dynamic range of the image that employing global illumination algorithm generates is the highest also to reach 30000: 1.In classic method, each color of pixel is that wherein each passage of red, green, blue three looks takies 8, adds 8 alpha passage sometimes by 24 binary digit storages, 32 altogether.The color that renders at last is between 0.0-1.0, and the bright contrast that can show is 256: 1.So classic method is difficult to the real scene of expression high-contrast and high dynamic range.Recent years is because the growth at full speed of computer computation ability can realize real-time high dynamic range drafting at the graphic hardware of consumer level.
When drawing high dynamic range images, need to preserve high dynamic range information.It is directly to preserve with the buffer memory of high precision floating-point format that one class methods are arranged, and supports the buffer memory of A16B16G16R16F and A32B32G32R32F form such as current up-to-date video card.These class methods need consume the more buffer memory of multicapacity, and can't be applied on the old hardware device.The present invention has adopted the coded format of RGBE8, preserves high dynamic range information by information is encoded.This method need not the extra support of hardware, and it is few to consume video memory, can be with the colouring information of different precision compression different range by parameter adjustment.
The indication range of current display device all belongs to low-dynamic range usually, and high dynamic range images can not directly show on common display device, otherwise the high dynamic range information that can lose image causes under-exposure or overexposure.The image of high dynamic range need be mapped to low-dynamic range with colouring information from high dynamic range through tone map, could correctly show on display device.Tone mapping method is divided into overall operator and local operator usually.The basic thought of overall situation operator is that all pixels on the piece image are shone upon with same mapping function.Overall situation operator framework is simple, and efficient is higher, but for brighter and darker zone distortion easily.In local operator method, each pixel is no longer handled by unified mapping function, but decides the result of mapping according to its neighbor.Local operator has improved the problem of details distortion, can obtain than the better effect of overall operator usually.But the common more complicated of algorithm, efficient is not high, generally is applied in the non real-time field of drawing.The present invention is directed to the field of real-time rendering, therefore adopted overall operator method, designed new global map function, when guaranteeing real-time, obtained the better image quality.
There is a kind of like this phenomenon in the true environment:, be referred to as the aura effect because the scattering of light in atmosphere or human eye has one deck halation around the Ming Liang object especially.Still there is very bright part in high dynamic range images through after the tone map, seems not nature if directly show.Therefore need simulation aura effect to obtain more real image.The aura effect need be carried out Fuzzy Processing with former scene, and this generally finishes by the 2-d gaussian filters function.Adopt the quality of this kind method image to depend critically upon the number of sampled point, but sampled point can make that too much calculated amount increases greatly, can't guarantee real-time.The present invention has adopted the method for secondary convolution to carry out Gaussian Blur, makes to n 2Individual sampled point only needs 2n calculating, and this method is simply quick, also can obtain the better image quality simultaneously.
Summary of the invention
The method that the purpose of this invention is to provide a kind of real-time rendering and demonstration high dynamic range images.
Real-time rendering also shows that the method for high dynamic range images comprises the steps:
1) when drawing image, adopts the RGBE8 form, preserve high dynamic range information; This form is with color vector R, G, B, E four representation in components of image pixel, and wherein E is an exponential component, is shared by R, G, three components of B; Each component size is 1 byte, and four components take 4 byte spaces altogether;
2) geometrical mean of the brightness of calculating high dynamic range information image, the image of having preserved high dynamic range information is carried out brightness to be filtered, generate a width of cloth new images, new images only comprises the pixel of original image brightness greater than certain fault value, new images is carried out two-dimentional Gaussian Blur, generate the image of aura effect;
3) adopt overall compression function that the image that has comprised high dynamic range information is carried out tone map, make high dynamic range information be compressed to low-dynamic range;
4) image of image that has carried out tone map and aura effect is carried out alpha and mix, realize final effect.
The described RGBE8 form that when drawing image, adopts, the step of preserving high dynamic range information is:
1) establishing p is image pixel, and its color vector is represented that by four-tuple r, b, b, a wherein r, g, b, a represent red, green, blue, alpha component respectively, calculates the maximal value m of the red, green, blue color component of p;
2) calculate index e = log base m , To be stored in the alpha component of pixel p p after the e skew compression a=clamp ((e+128)/256,0,1);
3) by the color value coding of formula 1 with image, by formula 2 decodings,
p rgb = p rgb log base m Formula 1
P rgb = P rgb × base P a × 256 - 128 Formula 2
Wherein base is the truth of a matter of logarithm operation, is set by the user.When base increased, the scope of compression increased, and compression accuracy reduces; When base reduced, compression zone reduced, and compression accuracy increases.
The computing method of described brightness of image L are: establishing P is a pixel of image,
L=R * 0.2126+G * 0.7152+B * 0.0722 formula 3
Wherein, R, G, B are respectively the values of the red, green, blue component of pixel P color.
The brightness filter method of described high dynamic range images comprises the steps:
1) according to the mean flow rate of image convergent-divergent is carried out in the brightness of each pixel of image;
2) set fault value t, brightness will be filtered out greater than the pixel of t;
3) with the luminance compression of the pixel that filters out in interval [0,1].
Described new images is carried out two-dimentional Gaussian Blur: at first image is carried out the one dimension Gaussian Blur, generate intermediate result image along X-direction; Then middle result images is carried out the one dimension Gaussian Blur one time again along Y direction, realize the effect of two-dimentional Gaussian Blur by the one dimension Gaussian Blur on orthogonal directions of twice substep.
Described high dynamic range images is carried out tone map: behind the brightness convergent-divergent of mean flow rate according to image with pixel P, according to formula 4 with the luminance compression of pixel P in interval [0,1],
L color = L scaled 1 + L scaled Formula 4
Wherein, L ScaledBe the brightness of the pixel P behind the convergent-divergent, L ColorBe the brightness of carrying out the pixel P after the tone map.
Described handle has carried out the image of tone map and the image of aura effect carries out the alpha mixing: establish P RgbBe through the arbitrary color of pixel vector of image after the tone map, B RgbBe the color vector of the respective pixel of aura effect image, the two carries out the alpha mixing according to formula 5,
P Rgb=P Rgb+ α * B RgbFormula 5
Wherein α is the coefficient of control mixed effect.
Described will being stored in the alpha component of pixel after the e skew compression: p a=clamp ((e+128)/256,0,1), wherein function y=clamp (x, 0,1) is that value with x is truncated in the interval [0,1], promptly when x≤0, y=0; When 0<x≤1, y=x; When x>1, y=1.
Described setting fault value t, brightness will be filtered out greater than the pixel of t: at first carry out convergent-divergent according to the brightness of 6 pairs of each pixels of image of formula;
L scaled = a L w L - w Formula 6
Wherein a is a zoom factor, specify by the user,
Figure A20071006992500081
Be the mean flow rate of image, L ScaledBe through the brightness behind the convergent-divergent.Given then fault value t, according to formula 7, brightness will be retained greater than the pixel of t, and brightness will be changed to 0 less than the pixel of t,
L Bright=max (L Scaled-t, 0) formula 7
L wherein BrightBe the brightness of the pixel that filters out.
Described luminance compression with the pixel that filters out is in interval [0,1]: establish L BrightBe the brightness that filters out, designated parameter o is according to 8 couples of L of formula BrightCompress the brightness L ' after guaranteeing to compress BrightBe positioned in [0,1] interval,
L bright ′ = L bright o + L bright Formula 8.
The present invention preserves high dynamic range information by the RGBE8 form, can preserve large-scale information simultaneously at the less video memory capacity of consumption, and this method is low to hardware requirement, can extensively operate on the different hardware platforms, has good portability.When carrying out gaussian filtering, the present invention is divided into two one dimension gaussian filterings on orthogonal directions with 2-d gaussian filters, makes to n 2The Gaussian Blur of individual sampled point only needs 2n calculating just can finish, and has improved efficient greatly.The present invention has adopted the global map function that high dynamic range images is carried out tone map, and the simple efficient height of this method principle can satisfy real-time requirement, obtains the better image quality simultaneously.
Description of drawings
Fig. 1 is real-time rendering and the process flow diagram that shows high dynamic range images;
Fig. 2 a is that the present invention is used for the former figure that brightness is filtered;
Fig. 2 b is that to get the fault value be to carry out the brightness filtering result at 0.5 o'clock in the present invention;
Fig. 2 c is that to get the fault value be to carry out the brightness filtering result at 0.8 o'clock in the present invention;
Fig. 3 is the synoptic diagram that the present invention carries out Gaussian Blur;
Fig. 4 is the effect example 1 that high dynamic range images of the present invention is drawn and shown;
Fig. 5 is the effect example 2 that high dynamic range images of the present invention is drawn and shown;
Embodiment
The principle of real-time rendering and demonstration high dynamic range images method is: in the drawing process of image, keep high dynamic range information, generate high dynamic range images.Realize the aura effect by high dynamic range images being carried out Gaussian Blur, by tone map high dynamic range images is mapped to low-dynamic range and and aura effect image mixing generation final image at last.This method at first when drawing image, adopts the high dynamic range information of high precision floating number memory image, and high dynamic range images is stored in the frame buffering with the RGBE8 form, when taking out view data from the frame buffering, decodes earlier.Filter out brightness from original image then and carry out Gaussian Blur, generate the image of a width of cloth aura effect greater than the pixel of certain fault value.Next high dynamic range image tone is mapped to low-dynamic range, carries out alpha with the aura effect image again and mix, generate the final effect image.The step of this method is as shown in Figure 1:
1) with RGBE8 form storage high dynamic range images, this form is made up of R, G, four passages of B, E, and wherein E is the index passage.Each passage is 8 bit byte data types, and 4 passages come to 32 bits.The steps include:
(1) maximal value of each pixel color component of computed image.The RGBE8 coded format is preserved color of pixel with exponential form, three components of the red, green, blue of color vector are shared same index, therefore need find out the maximal value m of color component, calculates index with this.
(2) according to maximal value m, calculate index e = log base m , Wherein base is specified by the user, and the value of base has determined compressible range of information.Along with the base value increase can information compressed scope also increase, but the precision of compression also reduces accordingly, Mach band effect can occur.Therefore we need weigh compression zone and precision, in our system, and base=1.02, this value can be compressed information in a big way, guarantees the better image quality simultaneously.Because e will be stored in the alpha component of pixel, and the alpha component is the byte data of big or small 8 bits, its span is [0,1] interval, therefore need be with e through type p a=clamp ((e+128)/256,0,1) is offset compression, and wherein function y=clamp (x, 0,1) is that value with x is truncated in the interval [0,1], promptly when x≤0, and y=0; When 0<x≤1, y=x; When x>1, y=1.
(3), recomputate the value P of the red, green, blue component in its color vector according to formula 1 to each pixel of image Rgb, it is preserved with exponential form.
p rgb = p rgb log base m Formula 1
(4) in the time will using, earlier by 2 pairs of data decodings of formula through RGBE8 form coded data.
P rgb = P rgb × base p a × 256 - 128 Formula 2
2) realize the aura effect.There is a kind of like this phenomenon in the true environment:, be referred to as the aura effect because the scattering of light in atmosphere or human eye has one deck halation around the Ming Liang object especially.Still there is very bright part in high dynamic range images through after the tone map, seems not nature if directly show.Therefore need simulation aura effect to obtain more real image.The steps include:
(1) geometrical mean of the brightness of calculating high dynamic range images.Before the mean flow rate of computed image, at first according to the brightness of each pixel of formula 3 computed image, we have adopted the YUV colour model that each color of pixel value of image is converted to brightness, the vision that this model can more accurate anthropomorphic dummy,
L=R * 0.2126+G * 0.7152+B * 0.0722 formula 3
Wherein R, G, B are respectively the red, green, blue color components of image pixel.
Obtain the geometric average luminance of image then.Compare with arithmetic mean, what geometrical mean can be avoided a few pixels brightness then calculates the ratio of the brightness of each pixel with respect to mean flow rate according to formula 6, judges the relative bright-dark degree of each pixel with this.
L scaled = a L w L - w Formula 6
Wherein a is a zoom factor, is specified by the user, and contrast is not violent especially image for the brightness light and shade, and a value generally gets 0.18.For the very big zone of brightness of image, the desirable less relatively value of a; For the very little zone of brightness of image, the desirable relatively large value of a.
Figure A20071006992500102
Be the mean flow rate of image, L ScaledBe through the brightness behind the convergent-divergent.
(2) high dynamic range images being carried out brightness filters.We can calculate the ratio L of the relative mean picture brightness of each pixel according to formula 6 Scaled, setting fault value t, can come out brightness greater than the pixel extraction of t according to formula 7, generate the new image of a width of cloth.
L Bright=max (L Scaled-t, 0) formula 7
This image has only kept the brightness of brightness greater than the pixel of t, and brightness is changed to 0 less than the brightness of the pixel of t.Filtering the brightness value that extracts through brightness may be greater than 1, and we need compress it.Setup parameter o, according to formula 8, we arrive the luminance compression of each pixel in [0,1] interval.
L bright ′ = L bright o + L bright Formula 8
Wherein parameter o has determined the brightness of the bright areas that is separated.Usually the image o value value that contrast is high more is big more.
(3) new image is carried out Gaussian Blur.Gaussian Blur is used to realize dim halation result.We have adopted the 2-d gaussian filters function to realize Gaussian Blur.When adopting the gaussian filtering function to blur, the quality of the image of generation depends critically upon the number of sampled point, but sampled point too much can cause calculated amount to increase greatly, can't satisfy real-time requirement.The gaussian filtering function has the linear separability characteristic, promptly to the calculating of 2-d gaussian filters function can break two independently the one-dimensional space carry out respectively.Based on this characteristic, we are divided into two one dimension gaussian filterings to 2-d gaussian filters along orthogonal directions.For the first time image is carried out the one dimension gaussian filtering along X-direction, generate an intermediate result image.For the second time middle result images is carried out the one dimension gaussian filtering one time again along Y direction.After this method of sampling, to n 2The calculating of individual sampled point only needs the 2n step just can finish, and greatly reduces computation complexity and has guaranteed picture quality simultaneously.
3) image that has comprised high dynamic range information is carried out tone map.Current display device can only show the information of low-dynamic range usually, and high dynamic range images can not directly show, otherwise can cause under-exposed or over-exposed.Therefore high dynamic range images need be mapped to low-dynamic range with high dynamic range information through tone map, and keeps information completely as far as possible.In order to guarantee real-time, to each pixel of high dynamic range images, we have adopted unified non-linear compression function.Non-linear compression function is as follows:
L color = L scaled 1 + L scaled Formula 4
This equation guarantees that the brightness of all pixels all is compressed to [0,1] interval.If L ScaledWhen big, the zoom factor of this equation is approximately 1/L, works as L ScaledHour, zoom factor is approximately 1.
4) image of image that has carried out tone map and aura effect is carried out alpha and mix, realize final effect.Mix by two width of cloth images being carried out alpha, the aura effect is dissolved in the original image.If P RgbBe through the arbitrary color of pixel vector of image after the tone map, B RgbIt is the color vector of the respective pixel of aura effect image.Set hybrid parameter α, the two carries out blend of colors, and account form is as follows:
P Rgb=P Rgb+ α * B RgbFormula 5
Here provided the example that some high dynamic range images are drawn and shown.From example, as can be seen, no matter be indoor light conditions (Fig. 4), or outdoor light conditions (Fig. 5), the algorithm of this chapter is energy real-time rendering and the high dynamic range images that shows under the various environment all, and the efficiency of algorithm height is effective.

Claims (10)

1.一种实时绘制并显示高动态范围图像的方法,其特征在于包括如下步骤:1. A method for real-time drawing and displaying a high dynamic range image, characterized in that it may further comprise the steps: 1)在绘制图像时采用RGBE8格式,保存高动态范围信息;该格式将图像像素的颜色向量用R、G、B、E四分量表示,其中E为指数分量,由R、G、B三个分量共享;每一分量大小为1字节,四个分量共占用4字节空间,其所包括的动态范围的大小大约是从10-38cd/m2到1038cd/m21) RGBE8 format is used to save high dynamic range information when drawing an image; this format represents the color vector of an image pixel with four components of R, G, B, and E, where E is an exponential component, composed of three components R, G, and B Component sharing; the size of each component is 1 byte, and the four components occupy a total of 4 bytes of space, and the size of the dynamic range included is approximately from 10 -38 cd/m 2 to 10 38 cd/m 2 ; 2)计算高动态范围信息图像的亮度的几何平均值,对保存了高动态范围信息的图像进行亮度过滤,生成一幅新图像,新图像只包含原图像亮度大于一定阙值的像素,对新图像进行二维高斯模糊,生成辉光效果的图像;2) Calculate the geometric mean value of the brightness of the image with high dynamic range information, and filter the brightness of the image with high dynamic range information to generate a new image. The new image only contains pixels whose brightness is greater than a certain threshold in the original image. The image is subjected to two-dimensional Gaussian blurring to generate an image with a glow effect; 3)采用全局压缩函数对包含了高动态范围信息的图像进行色调映射,使得高动态范围信息被压缩到低动态范围;3) A global compression function is used to perform tone mapping on images containing high dynamic range information, so that high dynamic range information is compressed to low dynamic range; 4)把进行了色调映射的图像和辉光效果的图像进行alpha混合,实时绘制并显示高动态范围图像。4) Alpha blend the tone-mapped image and the glow-effect image, draw and display the high dynamic range image in real time. 2.根据权利要求1所述的一种实时绘制并显示高动态范围图像的方法,其特征在于所述的在绘制图像时采用RGBE8格式,保存高动态范围信息的步骤为:2. a kind of real-time drawing according to claim 1 and display method for high dynamic range image, it is characterized in that described adopt RGBE8 format when drawing image, the step of preserving high dynamic range information is: 1)设p为图像像素,其颜色向量由四元组r、g、b、a表示,其中r、g、b、a分别代表红、绿、蓝、alpha分量,计算p的红、绿、蓝颜色分量的最大值m;1) Let p be an image pixel, and its color vector is represented by a quadruple r, g, b, a, where r, g, b, a represent red, green, blue, and alpha components respectively, and calculate the red, green, and alpha components of p. The maximum value m of the blue color component; 2)计算出指数 e = log base m , 将e偏移压缩后存放到像素p的alpha分量中,Pa=clamp((e+128)/256,0,1);2) Calculate the index e = log base m , Compress the e offset and store it in the alpha component of pixel p, P a = clamp((e+128)/256, 0, 1); 3)通过公式1将图像的颜色值编码,通过公式2解码,3) Encode the color value of the image by formula 1, and decode it by formula 2, p rgb = p rgb log base m 公式1 p rgb = p rgb log base m Formula 1 P rgb = P rgb &times; base p a &times; 256 - 128 公式2 P rgb = P rgb &times; base p a &times; 256 - 128 Formula 2 其中base是对数运算的底数,由用户设定,当base增加时,压缩的范围增大,压缩精度降低;当base减小时,压缩范围减小,压缩精度增加。Among them, base is the base number of logarithm operation, which is set by the user. When the base increases, the compression range increases and the compression accuracy decreases; when the base decreases, the compression range decreases and the compression accuracy increases. 3.根据权利要求1所述的一种实时绘制并显示高动态范围图像的方法,其特征在于所述的图像亮度L的计算方法为:设P为图像的一个像素,3. A method for drawing and displaying high dynamic range images in real time according to claim 1, characterized in that the calculation method of the image brightness L is as follows: let P be a pixel of the image, L=R×0.2126+G×0.7152+B×0.0722    公式3L=R×0.2126+G×0.7152+B×0.0722 Formula 3 其中,R、G、B分别是像素P颜色的红、绿、蓝分量的值。Among them, R, G, and B are the values of the red, green, and blue components of the color of the pixel P, respectively. 4.根据权利要求1所述的一种实时绘制并显示高动态范围图像的方法,其特征在于所述的高动态范围图像的亮度过滤方法包括如下步骤:4. A method for real-time drawing and displaying a high dynamic range image according to claim 1, wherein the brightness filtering method of the high dynamic range image comprises the following steps: 1)根据图像的平均亮度对图像各像素的亮度进行缩放;1) scaling the brightness of each pixel of the image according to the average brightness of the image; 2)设定阙值t,亮度大于t的像素将被过滤出来;2) Set the threshold t, and the pixels whose brightness is greater than t will be filtered out; 3)将过滤出来的像素的亮度压缩到区间[0,1]中。3) Compress the brightness of the filtered pixels into the interval [0, 1]. 5.根据权利要求1所述的一种实时绘制并显示高动态范围图像的方法,其特征在于所述的对新图像进行二维高斯模糊:首先沿X轴方向对图像进行一维高斯模糊,生成中间结果图像;然后对中间结果图像沿Y轴方向再进行一次一维高斯模糊,通过两次分步的在正交方向上的一维高斯模糊来实现二维高斯模糊的效果。5. A method of real-time drawing and displaying a high dynamic range image according to claim 1, wherein said two-dimensional Gaussian blurring is performed on the new image: first, one-dimensional Gaussian blurring is performed on the image along the X-axis direction, Generate an intermediate result image; then perform a one-dimensional Gaussian blur on the intermediate result image along the Y-axis direction, and realize the effect of a two-dimensional Gaussian blur through two step-by-step one-dimensional Gaussian blurs in the orthogonal direction. 6.根据权利要求1所述的一种实时绘制并显示高动态范围图像的方法,其特征在于所述的对高动态范围图像进行色调映射:根据图像的平均亮度将像素P的亮度缩放后,依据公式4将像素P的亮度压缩到区间[0,1]中,6. A method for real-time drawing and displaying a high dynamic range image according to claim 1, wherein the tone mapping is performed on the high dynamic range image: after scaling the brightness of the pixel P according to the average brightness of the image, Compress the brightness of the pixel P into the interval [0, 1] according to formula 4, L color = L scaled 1 + L scaled 公式4 L color = L scaled 1 + L scaled Formula 4 其中,Lscaled是缩放后的像素P的亮度,Lcolor是进行色调映射后的像素P的亮度。Wherein, L scaled is the brightness of the pixel P after scaling, and L color is the brightness of the pixel P after tone mapping. 7.根据权利要求1所述的一种实时绘制并显示高动态范围图像的方法,其特征在于所述的把进行了色调映射的图像和辉光效果的图像进行alpha混合:设Prgb是经过色调映射后的图像任一像素的颜色向量,Brgb是辉光效果图像的对应像素的颜色向量,二者依据公式5进行alpha混合,7. A method for drawing and displaying high dynamic range images in real time according to claim 1, characterized in that the image that has been tone-mapped and the image of the glow effect are alpha-blended: Let P rgb be passed through The color vector of any pixel of the image after tone mapping, B rgb is the color vector of the corresponding pixel of the glow effect image, and the two are alpha mixed according to formula 5, Prgb=Prgb+α×Prgb    公式5P rgb =P rgb +α×P rgb Formula 5 其中α是控制混合效果的系数。where α is a coefficient controlling the effect of mixing. 8.根据权利要求2所述的一种实时绘制并显示高动态范围图像的方法,其特征在于所述的将e偏移压缩后存放到像素的alpha分量中:8. a kind of real-time drawing according to claim 2 and display the method for high dynamic range image, it is characterized in that described e offset is stored in the alpha component of pixel after being compressed: Pa=clamp((e+128)/256,0,1),其中函数y=clamp(x,0,1)是将x的值截取到区间[0,1]内,即当x≤0时,y=0;当0<x≤1时,y=x;当x>1时,y=1。P a =clamp((e+128)/256,0,1), where the function y=clamp(x,0,1) intercepts the value of x to the interval [0,1], that is, when x≤0 When , y=0; when 0<x≤1, y=x; when x>1, y=1. 9.根据权利要求4所述的一种实时绘制并显示高动态范围图像的方法,其特征在于所述的设定阙值t,亮度大于t的像素将被过滤出来:首先根据公式6对图像各像素的亮度进行缩放;9. A method of real-time drawing and displaying a high dynamic range image according to claim 4, characterized in that in the set threshold t, pixels whose brightness is greater than t will be filtered out: first, according to formula 6, image The brightness of each pixel is scaled; L scaled = a L w L - w 公式6 L scaled = a L w L - w Formula 6 其中a为缩放系数,由用户指定,
Figure A2007100699250004C2
是图像的平均亮度,Lscaled是经过缩放后的亮度。然后给定阙值t,依据公式7,亮度大于t的像素将被保留,亮度小于t的像素将被置为0,
where a is the scaling factor, specified by the user,
Figure A2007100699250004C2
is the average brightness of the image, and L scaled is the scaled brightness. Then given the threshold t, according to formula 7, the pixels whose brightness is greater than t will be retained, and the pixels whose brightness is less than t will be set to 0,
Lbright=max(Lscaled-t,0)    公式7L bright = max(L scaled -t, 0) Formula 7 其中Lbright是过滤出的像素的亮度。where Lbright is the brightness of the filtered pixel.
10.根据权利要求4所述的一种实时绘制并显示高动态范围图像的方法,其特征在于所述的将过滤出来的像素的亮度压缩到区间[0,1]中:设Lbright是过滤出来的亮度,指定参数o,依据公式8对Lbright进行压缩,确保压缩后的亮度L′bright位于[0,1]区间内,10. A method for drawing and displaying high dynamic range images in real time according to claim 4, characterized in that the brightness of the filtered pixels is compressed into the interval [0, 1]: let L bright be the filtered The output brightness, specify the parameter o, compress L bright according to formula 8, and ensure that the compressed brightness L' bright is in the interval [0, 1], L bright &prime; = L bright o + L bright 公式8。 L bright &prime; = L bright o + L bright Formula 8.
CNA2007100699251A 2007-07-06 2007-07-06 Drawing of real time high dynamic range image and display process Pending CN101082992A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007100699251A CN101082992A (en) 2007-07-06 2007-07-06 Drawing of real time high dynamic range image and display process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007100699251A CN101082992A (en) 2007-07-06 2007-07-06 Drawing of real time high dynamic range image and display process

Publications (1)

Publication Number Publication Date
CN101082992A true CN101082992A (en) 2007-12-05

Family

ID=38912547

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007100699251A Pending CN101082992A (en) 2007-07-06 2007-07-06 Drawing of real time high dynamic range image and display process

Country Status (1)

Country Link
CN (1) CN101082992A (en)

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101707666A (en) * 2009-11-26 2010-05-12 北京中星微电子有限公司 Adjusting method and device with high dynamic range
CN101901475A (en) * 2010-06-12 2010-12-01 北京理工大学 Tone Mapping Method for High Dynamic Range Image Based on Adaptive Retina Model
CN101763627B (en) * 2008-12-12 2011-12-28 新奥特(北京)视频技术有限公司 Method and device for realizing Gaussian blur
CN102473295A (en) * 2009-06-29 2012-05-23 汤姆森特许公司 Zone-based tone mapping
CN102547301A (en) * 2010-09-30 2012-07-04 苹果公司 System and method for processing image data using an image signal processor
CN102567976A (en) * 2010-12-31 2012-07-11 微软公司 Tone mapping of very large aerial image mosaic
CN101919254B (en) * 2008-01-21 2013-01-23 艾利森电话股份有限公司 Prediction-based image processing
CN101588436B (en) * 2008-05-20 2013-03-27 株式会社理光 Method, device and digital camera for compressing dynamic range of original image
CN103597812A (en) * 2011-06-14 2014-02-19 皇家飞利浦有限公司 Graphics processing for high dynamic range video
CN103824250A (en) * 2014-01-24 2014-05-28 浙江大学 GPU-based image tone mapping method
CN104463794A (en) * 2014-11-13 2015-03-25 河南理工大学 Image processing method based on partitions
CN105430298A (en) * 2015-12-08 2016-03-23 天津大学 Method for Synthesizing HDR Images by Simultaneous Exposure of Stereo Camera System
CN105704349A (en) * 2016-04-01 2016-06-22 成都振芯科技股份有限公司 Single frame width dynamic enhancing method based on individual adjustment of clear zone and dark zone
CN105872397A (en) * 2016-04-01 2016-08-17 成都振芯科技股份有限公司 Single frame wide dynamic enhancement method and system capable of automatically identifying bright area and dark area
CN106162131A (en) * 2015-04-28 2016-11-23 艾韬 A kind of real time image processing
CN106997608A (en) * 2016-01-22 2017-08-01 五八同城信息技术有限公司 A kind of method and device for generating halation result figure
CN107209929A (en) * 2015-02-06 2017-09-26 汤姆逊许可公司 Method and apparatus for being handled high dynamic range images
CN107257452A (en) * 2017-07-21 2017-10-17 浙江大华技术股份有限公司 A kind of image processing method, device and computing device
WO2018000126A1 (en) * 2016-06-27 2018-01-04 Intel Corporation Method and system of multi-dynamic range multi-layer video blending with alpha channel sideband for video playback
WO2018023545A1 (en) * 2016-08-04 2018-02-08 Intel Corporation Tone-mapping high dynamic range images
WO2018040599A1 (en) * 2016-08-31 2018-03-08 深圳市中兴微电子技术有限公司 Method and device for processing video frame, and computer-readable storage medium
CN107872662A (en) * 2016-09-22 2018-04-03 三星显示有限公司 display screen
CN108431886A (en) * 2015-12-21 2018-08-21 皇家飞利浦有限公司 Optimize high dynamic range images for particular display
CN108734676A (en) * 2018-05-21 2018-11-02 Oppo广东移动通信有限公司 Image processing method and device, electronic equipment, computer readable storage medium
CN109300108A (en) * 2018-07-27 2019-02-01 昆明理工大学 A Statistical and Multi-Gaussian Method for Analyzing Solar Surface Brightness
CN109788340A (en) * 2017-11-15 2019-05-21 三星电子株式会社 Content providing, the control method of content providing and its recording medium
CN110009587A (en) * 2019-04-09 2019-07-12 Oppo广东移动通信有限公司 Image processing method, image processing device, storage medium and electronic equipment
CN110248098A (en) * 2019-06-28 2019-09-17 Oppo广东移动通信有限公司 Image processing method, image processing device, storage medium and electronic equipment
CN110445986A (en) * 2019-07-30 2019-11-12 Oppo广东移动通信有限公司 Image processing method, device, storage medium and electronic device
CN112188179A (en) * 2020-08-28 2021-01-05 北京小米移动软件有限公司 Image thumbnail display method, image thumbnail display device, and storage medium

Cited By (44)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101919254B (en) * 2008-01-21 2013-01-23 艾利森电话股份有限公司 Prediction-based image processing
CN101588436B (en) * 2008-05-20 2013-03-27 株式会社理光 Method, device and digital camera for compressing dynamic range of original image
CN101763627B (en) * 2008-12-12 2011-12-28 新奥特(北京)视频技术有限公司 Method and device for realizing Gaussian blur
US9087382B2 (en) 2009-06-29 2015-07-21 Thomson Licensing Zone-based tone mapping
CN102473295A (en) * 2009-06-29 2012-05-23 汤姆森特许公司 Zone-based tone mapping
CN102473295B (en) * 2009-06-29 2016-05-04 汤姆森特许公司 Based on the tone mapping in district
CN101707666A (en) * 2009-11-26 2010-05-12 北京中星微电子有限公司 Adjusting method and device with high dynamic range
CN101901475A (en) * 2010-06-12 2010-12-01 北京理工大学 Tone Mapping Method for High Dynamic Range Image Based on Adaptive Retina Model
CN101901475B (en) * 2010-06-12 2011-10-05 北京理工大学 Tone Mapping Method for High Dynamic Range Image Based on Adaptive Retina Model
CN102547301A (en) * 2010-09-30 2012-07-04 苹果公司 System and method for processing image data using an image signal processor
CN102547301B (en) * 2010-09-30 2015-11-25 苹果公司 Use the system and method for image-signal processor image data processing
CN102567976A (en) * 2010-12-31 2012-07-11 微软公司 Tone mapping of very large aerial image mosaic
CN103597812A (en) * 2011-06-14 2014-02-19 皇家飞利浦有限公司 Graphics processing for high dynamic range video
CN103824250A (en) * 2014-01-24 2014-05-28 浙江大学 GPU-based image tone mapping method
CN103824250B (en) * 2014-01-24 2016-09-07 浙江大学 image tone mapping method based on GPU
CN104463794A (en) * 2014-11-13 2015-03-25 河南理工大学 Image processing method based on partitions
CN107209929A (en) * 2015-02-06 2017-09-26 汤姆逊许可公司 Method and apparatus for being handled high dynamic range images
CN106162131A (en) * 2015-04-28 2016-11-23 艾韬 A kind of real time image processing
CN105430298A (en) * 2015-12-08 2016-03-23 天津大学 Method for Synthesizing HDR Images by Simultaneous Exposure of Stereo Camera System
CN108431886B (en) * 2015-12-21 2021-07-20 皇家飞利浦有限公司 Optimizing high dynamic range images for specific displays
CN108431886A (en) * 2015-12-21 2018-08-21 皇家飞利浦有限公司 Optimize high dynamic range images for particular display
CN106997608A (en) * 2016-01-22 2017-08-01 五八同城信息技术有限公司 A kind of method and device for generating halation result figure
CN105704349A (en) * 2016-04-01 2016-06-22 成都振芯科技股份有限公司 Single frame width dynamic enhancing method based on individual adjustment of clear zone and dark zone
CN105872397A (en) * 2016-04-01 2016-08-17 成都振芯科技股份有限公司 Single frame wide dynamic enhancement method and system capable of automatically identifying bright area and dark area
CN105704349B (en) * 2016-04-01 2019-03-15 成都振芯科技股份有限公司 A kind of wide dynamic Enhancement Method of single frames adjusted separately based on clear zone and dark space
WO2018000126A1 (en) * 2016-06-27 2018-01-04 Intel Corporation Method and system of multi-dynamic range multi-layer video blending with alpha channel sideband for video playback
US10638105B2 (en) 2016-06-27 2020-04-28 Intel Corporation Method and system of multi-dynamic range multi-layer video blending with alpha channel sideband for video playback
WO2018023545A1 (en) * 2016-08-04 2018-02-08 Intel Corporation Tone-mapping high dynamic range images
US10943336B2 (en) 2016-08-04 2021-03-09 Intel Corporation Tone-mapping high dynamic range images
WO2018040599A1 (en) * 2016-08-31 2018-03-08 深圳市中兴微电子技术有限公司 Method and device for processing video frame, and computer-readable storage medium
CN107872662A (en) * 2016-09-22 2018-04-03 三星显示有限公司 display screen
CN107872662B (en) * 2016-09-22 2022-08-05 三星显示有限公司 Display device
CN107257452A (en) * 2017-07-21 2017-10-17 浙江大华技术股份有限公司 A kind of image processing method, device and computing device
CN107257452B (en) * 2017-07-21 2019-03-26 浙江大华技术股份有限公司 A kind of image processing method, device and calculate equipment
CN109788340A (en) * 2017-11-15 2019-05-21 三星电子株式会社 Content providing, the control method of content providing and its recording medium
US10863215B2 (en) 2017-11-15 2020-12-08 Samsung Electronics Co., Ltd. Content providing apparatus, method of controlling the same, and recording medium thereof
CN108734676A (en) * 2018-05-21 2018-11-02 Oppo广东移动通信有限公司 Image processing method and device, electronic equipment, computer readable storage medium
CN109300108A (en) * 2018-07-27 2019-02-01 昆明理工大学 A Statistical and Multi-Gaussian Method for Analyzing Solar Surface Brightness
CN110009587A (en) * 2019-04-09 2019-07-12 Oppo广东移动通信有限公司 Image processing method, image processing device, storage medium and electronic equipment
CN110009587B (en) * 2019-04-09 2021-03-02 Oppo广东移动通信有限公司 Image processing method, device, storage medium and electronic device
CN110248098A (en) * 2019-06-28 2019-09-17 Oppo广东移动通信有限公司 Image processing method, image processing device, storage medium and electronic equipment
CN110445986A (en) * 2019-07-30 2019-11-12 Oppo广东移动通信有限公司 Image processing method, device, storage medium and electronic device
CN110445986B (en) * 2019-07-30 2021-03-23 Oppo广东移动通信有限公司 Image processing method, image processing device, storage medium and electronic equipment
CN112188179A (en) * 2020-08-28 2021-01-05 北京小米移动软件有限公司 Image thumbnail display method, image thumbnail display device, and storage medium

Similar Documents

Publication Publication Date Title
CN101082992A (en) Drawing of real time high dynamic range image and display process
US8766999B2 (en) Systems and methods for local tone mapping of high dynamic range images
CN104408752B (en) A kind of high dynamic range images compression method based on mixed shades mapping algorithm
CN109934776B (en) Model generation method, video enhancement method, device and computer-readable storage medium
CN103353982B (en) A kind of tone mapping method based on histogram equalization
US20200143230A1 (en) Image lighting methods and apparatuses, electronic devices, and storage media
CN105574918B (en) A kind of material adding method, device and the terminal of 3D models
Boitard et al. Temporal coherency for video tone mapping
US10937130B1 (en) Image color enhancement method and device
CN108022223B (en) A Tone Mapping Method Based on Logarithmic Mapping Function Block Processing and Fusion
CN104618700B (en) Enhanced display method for color high dynamic range image
Vonikakis et al. Multi-exposure image fusion based on illumination estimation
CN103440674B (en) A kind of rapid generation of digital picture wax crayon specially good effect
CN103400342A (en) Mixed color gradation mapping and compression coefficient-based high dynamic range image reconstruction method
CN109817170B (en) Pixel compensation method and device and terminal equipment
RU2697928C1 (en) Superresolution of an image imitating high detail based on an optical system, performed on a mobile device having limited resources, and a mobile device which implements
CN106097279A (en) A kind of high-dynamics image Enhancement Method
CN107862672A (en) The method and device of image defogging
CN103702116B (en) A kind of dynamic range compression method and apparatus of image
CN111489322A (en) Method and device for adding sky filter to static picture
CN108898564A (en) High dynamic range image tone mapping method based on human visual model and W L S filter
CN106997608A (en) A kind of method and device for generating halation result figure
CN116109483A (en) GPU-based super-resolution and high dynamic range processing method and storage medium
CN103295205B (en) A kind of low-light-level image quick enhancement method based on Retinex and device
CN113870099B (en) Picture color conversion method, device, equipment and readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication