CN106056550A - Rendering method and device based on high dynamic range image - Google Patents

Rendering method and device based on high dynamic range image Download PDF

Info

Publication number
CN106056550A
CN106056550A CN201610357527.9A CN201610357527A CN106056550A CN 106056550 A CN106056550 A CN 106056550A CN 201610357527 A CN201610357527 A CN 201610357527A CN 106056550 A CN106056550 A CN 106056550A
Authority
CN
China
Prior art keywords
rendering
supporting surface
image
background image
hdr
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.)
Granted
Application number
CN201610357527.9A
Other languages
Chinese (zh)
Other versions
CN106056550B (en
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.)
Guangdong University of Technology
Original Assignee
Guangdong University of Technology
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 Guangdong University of Technology filed Critical Guangdong University of Technology
Priority to CN201610357527.9A priority Critical patent/CN106056550B/en
Publication of CN106056550A publication Critical patent/CN106056550A/en
Application granted granted Critical
Publication of CN106056550B publication Critical patent/CN106056550B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/90Dynamic range modification of images or parts thereof
    • G06T5/94Dynamic range modification of images or parts thereof based on local image properties, e.g. for local contrast enhancement
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20172Image enhancement details
    • G06T2207/20208High dynamic range [HDR] image processing

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Generation (AREA)

Abstract

An embodiment of the invention discloses a rendering method based on a high dynamic range image for solving the problems that an image after being processed by an existing rendering technology is lack of a brightness change and a shape change. The method of the embodiment comprises the following steps: constructing a hollow sphere the diameter of which is greater than the dimension of a computer synthesized body; enabling an HDR background image to cover an inner surface of the whole hollow sphere; completing first rendering; constructing a plane, as a support surface, for placing the computer synthesized body in the HDR background image; completing second rendering; performing subtraction on RGB values of two rendered images, cutting out a texture region from a result image after the subtraction, and enabling the texture region to repeatedly cover the support surface; and placing the computer synthesized body on the support surface, completing final rendering through adoption of rendering incident light, and outputting an obtained final image. An embodiment of the invention further provides a rendering device based on the high dynamic range image.

Description

A kind of rendering intent based on high dynamic range images and device
Technical field
The present invention relates to the field such as image procossing, virtual, the computer vision of scene, particularly relate to a kind of based on high dynamic range Enclose rendering intent and the device of image.
Background technology
In computer graphics, Rendering based on image has been increasingly becoming research field popular in recent years. This technology utilizes image record scene illumination information, structure dummy model simulation global illumination, renders computer compound body, Computer compound body is better blended in background image.Relatively advanced image-based lighting technology uses HDR (HDR) image can be recorded scene light intensity truly as light mapping, HDR image thus be illuminated scene.Based on image Rendering requires to provide concordance illumination condition, could realize preferable rendering effect, the research in this field and perfect Development for industries such as film, game and industrial designs has positive meaning.
Paul Debevec proposes the basic step of image-based lighting technology at first, including obtaining light mapping, and will Light mapping is mapped in Virtual Space, reapplies global illumination technology render scenes, and Paul Debevec is by HDR figure As being used for synthesizing rendering of scene as light mapping.Ablan, by technology such as physical shear coverings, synthesizes for computer in the scene Body structure shade, to improve the verity of scene, but through the image shortage brightness of physical treatment and change in shape, renders Image still seems stiff and does not have motility.
It is more lively in order to make to render image, it is necessary to provide a kind of Rendering can embody illumination consistency effect, Computer compound body and background image shadow effect each other can be shown again, to meet people to picture quality agilely Requirement.
Summary of the invention
Embodiments provide a kind of rendering intent based on high dynamic range images and device, it is possible to solve existing Image after Rendering processes lacks brightness and the problem of change in shape.
A kind of based on high dynamic range images the rendering intent that the embodiment of the present invention provides, including:
Structure diameter is more than the hollow ball of computer compound body size, and the inner surface of described hollow ball is high reflection spy Property;
HDR background image is covered the inner surface of whole described hollow ball;
From described HDR background image, extraction light source is as rendering incident illumination, uses light to chase after the described incident illumination that renders Track method, completes to render for the first time;
In described HDR background image, it is configured to place the plane of described computer compound body, as supporting surface, described The optical characteristics in support face is diffuse-reflectance;
Render incident illumination described in employing, render the HDR scene image including described HDR background image and described supporting surface, Complete second time to render;
The rgb value rendering image by twice subtracts each other, and cuts out texture region the result images after subtracting each other, and by described Texture region repeats to cover described supporting surface;
Described computer compound body is positioned on described supporting surface, renders incident illumination described in employing and complete final rendering, defeated Go out the final image obtained.
Alternatively, described supporting surface is high reflecting surface.
Alternatively, from described HDR background image, extract light source to specifically include as rendering incident illumination:
From described HDR background image, find when row pixel is cumulative and is equal to this row pixel summation half along X-direction Pixel is as the luminous point of light source;
From described HDR background image, find when row pixel is cumulative and is equal to this row pixel summation half along Y direction Pixel is as the luminous point of described light source.
Alternatively, described texture region is repeated to cover described supporting surface particularly as follows: along Y direction by described texture area Territory repeats to cover described supporting surface;
HDR background image is covered the inner surface of whole described hollow ball particularly as follows: along Y direction by HDR background Image tiles covers the inner surface of whole described hollow ball.
Alternatively, the rgb value of described supporting surface is respectively set to 220,220 and 220.
A kind of based on high dynamic range images the rendering device that the embodiment of the present invention provides, including:
Orbicular structure module, for constructing the diameter hollow ball more than computer compound body size, described hollow ball Inner surface is high reflection characteristic;
Background overlay module, for covering the inner surface of whole described hollow ball by HDR background image;
Rendering module for the first time, for from described HDR background image, extraction light source is as rendering incident illumination, to described wash with watercolours Dye incident illumination uses Image Synthesis by Ray Tracing, completes to render for the first time;
Supporting surface constructing module, is used for being configured to place the flat of described computer compound body in described HDR background image Face, as supporting surface, the optical characteristics of described supporting surface is diffuse-reflectance;
Rendering module for the second time, be used for using described in render incident illumination, render and include described HDR background image and described The HDR scene image in support face, completes second time and renders;
Texture mapping module, subtracts each other for rendering the rgb value of image by twice, cuts out the result images after subtracting each other Texture region, and repeat to cover described supporting surface by described texture region;
Final rendering module, for described computer compound body is positioned over described supporting surface, renders incidence described in employing Light completes final rendering, the final image that output obtains.
Alternatively, described supporting surface is high reflecting surface.
Alternatively, described first time rendering module includes:
Light source extraction unit, for extracting light source as rendering incident illumination from described HDR background image;
Rendering unit, for the described incident illumination that renders is used Image Synthesis by Ray Tracing, completes to render for the first time;
Described light source extraction unit specifically includes:
X-axis luminous point subelement, for from described HDR background image, along X-direction find when row pixel is cumulative and etc. In the pixel of this row pixel summation half as the luminous point of light source;
Y-axis luminous point subelement, for from described HDR background image, along Y direction find when row pixel is cumulative and etc. In the pixel of this row pixel summation half as the luminous point of described light source.
Alternatively, described Texture mapping module is subtracted each other specifically for the rgb value rendering image by twice, the knot after subtracting each other Image really cuts out texture region, and repeats to cover described supporting surface by described texture region along Y direction;
Described background overlay module is specifically for covering whole described hollow along Y direction by the tiling of HDR background image The inner surface of spheroid.
Alternatively, the rgb value of described supporting surface is respectively set to 220,220 and 220.
As can be seen from the above technical solutions, the embodiment of the present invention has the advantage that
In the embodiment of the present invention, first, structure diameter is more than the hollow ball of computer compound body size, described hollow ball Inner surface be high reflection characteristic;HDR background image is covered the inner surface of whole described hollow ball;Then, from described In HDR background image, extraction light source is as rendering incident illumination, the described incident illumination that renders is used Image Synthesis by Ray Tracing, completes for the first time Render;In described HDR background image, it is configured to place the plane of described computer compound body, as supporting surface, described support The optical characteristics in face is diffuse-reflectance;In addition, described in employing, render incident illumination, render and include described HDR background image and described The HDR scene image in support face, completes second time and renders;The rgb value rendering image by twice subtracts each other, the result images after subtracting each other In cut out texture region, and repeat to cover described supporting surface by described texture region;Finally, described computer compound body is put It is placed on described supporting surface, renders incident illumination described in employing and complete final rendering, the final image that output obtains.Real in the present invention Executing in example, a kind of rendering intent based on high dynamic range images is that computer compound body adds supporting surface so that compound body Global illumination environment, common simulated light line reflection and diffuse-reflectance effect so that the shade of compound body can is together participated in supporting surface To be incident upon in supporting surface, shade can do respective change according to photoenvironment difference simultaneously, improves the visual effect of image.
Accompanying drawing explanation
Fig. 1 is a kind of rendering intent the first embodiment flow process based on high dynamic range images in the embodiment of the present invention Figure;
Fig. 2 is a kind of rendering intent the second embodiment flow process based on high dynamic range images in the embodiment of the present invention Figure;
Fig. 3 be in the embodiment of the present invention a kind of rendering intent based on high dynamic range images under an application scenarios Job step flow chart;
Fig. 4 is a kind of one example structure figure of rendering device based on high dynamic range images in the embodiment of the present invention.
Detailed description of the invention
Embodiments provide a kind of rendering intent based on high dynamic range images and device, be used for solving existing Image after Rendering processes lacks brightness and the problem of change in shape.
For making the goal of the invention of the present invention, feature, the advantage can be the most obvious and understandable, below in conjunction with the present invention Accompanying drawing in embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention, it is clear that disclosed below Embodiment be only a part of embodiment of the present invention, and not all embodiment.Based on the embodiment in the present invention, this area All other embodiments that those of ordinary skill is obtained under not making creative work premise, broadly fall into present invention protection Scope.
Refer to Fig. 1, a kind of rendering intent the first embodiment based on high dynamic range images in the embodiment of the present invention Including:
101, structure diameter is more than the hollow ball of computer compound body size;
It is possible, firstly, to structure diameter is more than the hollow ball of computer compound body size, the inner surface of this hollow ball is high Reflection characteristic.
102, HDR background image is covered the inner surface of this hollow ball whole;
After the structure diameter hollow ball more than computer compound body size, HDR background image can be covered whole The inner surface of this hollow ball individual.
103, from this HDR background image, extraction light source, as rendering incident illumination, renders incident illumination to this and uses light to chase after Track method, completes to render for the first time;
After HDR background image is covered the inner surface of this hollow ball whole, can be from this HDR background image Extraction light source, as rendering incident illumination, renders incident illumination to this and uses Image Synthesis by Ray Tracing, completes to render for the first time.
104, in this HDR background image, it is configured to place the plane of this computer compound body, as supporting surface;
After completing to render for the first time, can be configured to place this computer compound body in this HDR background image Plane, as supporting surface, the optical characteristics of this supporting surface is diffuse-reflectance.
105, use this to render incident illumination, render the HDR scene image including this HDR background image and this supporting surface, complete Second time is become to render;
After being configured to place the plane of this computer compound body in this HDR background image, can use this render into Penetrate light, render the HDR scene image including this HDR background image and this supporting surface, complete second time and render.
106, the rgb value rendering image by twice subtracts each other, and cuts out texture region the result images after subtracting each other, and will This texture region repeats to cover this supporting surface;
After completing secondary rendering, the rgb value that can render image by twice subtracts each other, the result images after subtracting each other Cut out texture region, and repeat to cover this supporting surface by this texture region.
107, this computer compound body is positioned on this supporting surface, uses this to render incident illumination and complete final rendering, output The final image obtained.
After repeating to cover this supporting surface by this texture region, this computer compound body can be positioned over this supporting surface On, use this to render incident illumination and complete final rendering, the final image that output obtains.
In the present embodiment, first, structure diameter is more than the hollow ball of computer compound body size, the interior table of this hollow ball Face is high reflection characteristic;HDR background image is covered the inner surface of this hollow ball whole;Then, from this HDR background image Middle extraction light source, as rendering incident illumination, renders incident illumination to this and uses Image Synthesis by Ray Tracing, completes to render for the first time;At this HDR Being configured to place the plane of this computer compound body in background image, as supporting surface, the optical characteristics of this supporting surface is for unrestrained anti- Penetrate;In addition, use this to render incident illumination, render the HDR scene image including this HDR background image and this supporting surface, complete the Secondary rendering;The rgb value rendering image by twice subtracts each other, and cuts out texture region the result images after subtracting each other, and should Texture region repeats to cover this supporting surface;Finally, this computer compound body is positioned on this supporting surface, uses this to render incidence Light completes final rendering, the final image that output obtains.In the present embodiment, a kind of side of rendering based on high dynamic range images Method is that computer compound body adds supporting surface so that compound body and supporting surface together participate in global illumination environment, jointly simulate Light line reflection and diffuse-reflectance effect so that the shade of compound body can be incident upon in supporting surface, shade can be according to illumination ring simultaneously Border is different and does respective change, improves the visual effect of image.
For ease of understanding, below a kind of based on high dynamic range images the rendering intent in the embodiment of the present invention is carried out Describe in detail, refer to Fig. 2, a kind of rendering intent the second embodiment based on high dynamic range images in the embodiment of the present invention Including:
201, structure diameter is more than the hollow ball of computer compound body size;
It is possible, firstly, to structure diameter is more than the hollow ball of computer compound body size, the inner surface of this hollow ball is high Reflection characteristic.It is understood that sum up according to experiment experience, hollow ball diameter can be set to close for computer by the present embodiment 25 times of adult, the inner surface of hollow ball is high reflection characteristic, and reflectance is 100%.
202, along Y direction, the tiling of HDR background image is covered the inner surface of this hollow ball whole;
After the structure diameter hollow ball more than computer compound body size, can be along Y direction by HDR background image The inner surface of this hollow ball whole is covered in tiling, when an image is not enough to cover whole sphere, duplicating image until Cover complete, with this illumination simulation environment.
203, from this HDR background image, extraction light source, as rendering incident illumination, renders incident illumination to this and uses light to chase after Track method, completes to render for the first time;
After the inner surface this hollow ball whole being covered in the tiling of HDR background image along Y direction, can be from this In HDR background image, extraction light source is as rendering incident illumination, this is rendered incident illumination and uses Image Synthesis by Ray Tracing, complete wash with watercolours for the first time Dye.
The extraction of light source is specifically as follows: from this HDR background image, along X-direction find when row pixel is cumulative and etc. In the pixel of this row pixel summation half as the luminous point of light source;And, from this HDR background image, look for along Y direction To when row pixel is cumulative and is equal to the pixel luminous point as this light source of this row pixel summation half.Wherein, light intensity and light Automatically generate to by Lightwave software platform.After extracting light source, light source extraction obtained is as incident illumination, to entering Penetrate gloss Image Synthesis by Ray Tracing, simulated reflections and two kinds of situations of diffuse-reflectance, complete to render for the first time.
204, in this HDR background image, it is configured to place the plane of this computer compound body, as supporting surface;
After completing to render for the first time, can be configured to place this computer compound body in this HDR background image Plane, as supporting surface.The optical characteristics of this supporting surface is that the reflectance of diffuse-reflectance, such as this supporting surface can be set to 3%.
It should be noted that the area ratio computer compound body of told supporting surface is slightly larger, its rgb value can be respectively set to 220,220 and 220.
In addition, it is necessary to explanation, if this supporting surface is high reflecting surface, the present embodiment uses based on HDR figure The rendering intent of picture, it is also possible to reflect shape and the color of computer compound body, improves the visual effect of image further.
205, use this to render incident illumination, render the HDR scene image including this HDR background image and this supporting surface, complete Second time is become to render;
After being configured to place the plane of this computer compound body in this HDR background image, can use this render into Penetrate light, render the HDR scene image including this HDR background image and this supporting surface, complete second time and render.
206, the rgb value rendering image by twice subtracts each other, and cuts out texture region, and edge the result images after subtracting each other This texture region is repeated to cover this supporting surface by Y direction;
After completing second time and rendering, the rgb value that can render image by twice subtracts each other, the result images after subtracting each other In cut out texture region, and repeat to cover this supporting surface along Y direction by this texture region.
It is formulated as: ITexture=IBackground-IBackground+supporting surface, wherein, ITextureRepresent the texture image calculated, IBackgroundRepresent HDR Background image rendering result, IBackground+supporting surfaceIndicate the rendering result of the HDR background image of supporting surface.
207, this computer compound body is positioned on this supporting surface, uses this to render incident illumination and complete final rendering, output The final image obtained.
After repeating to cover this supporting surface by this texture region, this computer compound body can be positioned over this supporting surface On, utilize Image Synthesis by Ray Tracing, simulated reflections and two kinds of photo effect render scenes of diffuse-reflectance, use this to render incident illumination and complete finally Render, the final image that output obtains.Owing to supporting surface has had texture, naturally can be dissolved in background image, and project electricity Brain compound body shade.
Compared with prior art, the rendering intent based on high dynamic range images of the present invention is that computer compound body adds Supporting surface so that computer compound body and supporting surface together participate in global illumination environment, common simulated light line reflection and diffuse-reflectance effect Should so that the shade of computer compound body can be incident upon in supporting surface, shade can do corresponding according to photoenvironment difference simultaneously Change, if supporting surface is high reflecting surface simultaneously, it is also possible to reflect shape and the color of compound body, thus improve the vision of image Effect.
It should be noted that in the present invention job step of rendering intent based on high dynamic range images necessarily according to The description order of above-mentioned first embodiment or second embodiment performs.Refer to Fig. 3, based on high dynamic range in the present invention Enclose the rendering intent of the image job step under an application scenarios can not strictly be described as:
A, map before, first structure hollow ball and obtain HDR background image, then both are mapped;
After B, mapping, extract light source;
The light source that C, employing are extracted carries out rendering of HDR background image, and carries out the wash with watercolours of the scene comprising supporting surface Dye, wherein, needed first construct supporting surface and be positioned in HDR background image before rendering the scene comprising supporting surface;
D, rendered after, by subtracting each other with the result images that renders of second time for the first time, obtain texture image;
E, in texture image intercept texture region;
F, texture region is covered on supporting surface;
G, construct compound body the most on the support surface;
The light source extracted before H, finally employing carries out last scene rendering, obtains result images, namely finally schemes Picture.
A kind of rendering intent based on high dynamic range images of main description above, below will be to one based on high dynamic range The rendering device enclosing image is described in detail, and refers to Fig. 4, a kind of based on high dynamic range images in the embodiment of the present invention First embodiment of rendering device includes:
Orbicular structure module 401, for constructing the diameter hollow ball more than computer compound body size, this hollow ball Inner surface is high reflection characteristic;
Background overlay module 402, for covering the inner surface of this hollow ball whole by HDR background image;
Rendering module 403 for the first time, for from this HDR background image, extraction light source is as rendering incident illumination, to this wash with watercolours Dye incident illumination uses Image Synthesis by Ray Tracing, completes to render for the first time;
Supporting surface constructing module 404, is used for being configured to place the flat of this computer compound body in this HDR background image Face, as supporting surface, the optical characteristics of this supporting surface is diffuse-reflectance;
Rendering module 405 for the second time, are used for using this to render incident illumination, render and include this HDR background image and this support The HDR scene image in face, completes second time and renders;
Texture mapping module 406, subtracts each other for rendering the rgb value of image by twice, cuts out the result images after subtracting each other Cut texture region, and repeat to cover this supporting surface by this texture region;
Final rendering module 407, for this computer compound body is positioned over this supporting surface, uses this to render incident illumination complete Become final rendering, the final image that output obtains.
Preferably, in the present embodiment, this supporting surface can be high reflecting surface.
Preferably, in the present embodiment, this first time rendering module 403 may include that
Light source extraction unit, for extracting light source as rendering incident illumination from this HDR background image;
Rendering unit, uses Image Synthesis by Ray Tracing for this is rendered incident illumination, completes to render for the first time;
This light source extraction unit specifically includes:
X-axis luminous point subelement, for from this HDR background image, finds when row pixel is cumulative and is equal to along X-direction The pixel of this row pixel summation half is as the luminous point of light source;
Y-axis luminous point subelement, for from this HDR background image, finds when row pixel is cumulative and is equal to along Y direction The pixel of this row pixel summation half is as the luminous point of this light source.
Preferably, in the present embodiment, this Texture mapping module 406 can be specifically for rendering the rgb value of image by twice Subtract each other, the result images after subtracting each other cuts out texture region, and repeats to cover this by this texture region along Y direction Support face;
This background overlay module 402 can be specifically for covering this sky whole along Y direction by the tiling of HDR background image The inner surface of bulbus cordis body.
Preferably, in the present embodiment, the rgb value of this supporting surface can be respectively set to 220,220 and 220.
In the present embodiment, first, Orbicular structure module 401 constructs the diameter hollow ball more than computer compound body size, The inner surface of this hollow ball is high reflection characteristic;HDR background image is covered this hollow ball whole by background overlay module 402 The inner surface of body;Then, rendering module 403 extracts light source as rendering incident illumination from this HDR background image for the first time, to this Render incident illumination and use Image Synthesis by Ray Tracing, complete to render for the first time;Supporting surface constructing module 404 is structure in this HDR background image Making the plane for placing this computer compound body, as supporting surface, the optical characteristics of this supporting surface is diffuse-reflectance;Then, second Secondary rendering module 405 uses this to render incident illumination, renders the HDR scene image including this HDR background image and this supporting surface, complete Second time is become to render;Texture mapping module 406 renders twice the rgb value of image and subtracts each other, cuts out the result images after subtracting each other Cut texture region, and repeat to cover this supporting surface by this texture region;Finally, this computer is closed by final rendering module 407 Adult is positioned on this supporting surface, uses this to render incident illumination and completes final rendering, the final image that output obtains.In this enforcement In example, a kind of rendering intent based on high dynamic range images is that computer compound body adds supporting surface so that compound body with Supporting surface together participates in global illumination environment, common simulated light line reflection and diffuse-reflectance effect so that the shade of compound body is permissible Being incident upon in supporting surface, shade can do respective change according to photoenvironment difference simultaneously, improves the visual effect of image.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, and the system of foregoing description, The specific works process of device and unit, is referred to the corresponding process in preceding method embodiment, does not repeats them here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method are permissible Realize by another way.Such as, device embodiment described above is only schematically, such as, and described unit Dividing, be only a kind of logic function and divide, actual can have other dividing mode, the most multiple unit or assembly when realizing Can in conjunction with or be desirably integrated into another system, or some features can be ignored, or does not performs.Another point, shown or The coupling each other discussed or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit Close or communication connection, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme 's.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated list Unit both can realize to use the form of hardware, it would however also be possible to employ the form of SFU software functional unit realizes.
If described integrated unit realizes and as independent production marketing or use using the form of SFU software functional unit Time, can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part that in other words prior art contributed or this technical scheme completely or partially can be with the form of software product Embodying, this computer software product is stored in a storage medium, including some instructions with so that a computer Equipment (can be personal computer, server, or the network equipment etc.) performs the complete of method described in each embodiment of the present invention Portion or part steps.And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
The above, above example only in order to technical scheme to be described, is not intended to limit;Although with reference to front State embodiment the present invention has been described in detail, it will be understood by those within the art that: it still can be to front State the technical scheme described in each embodiment to modify, or wherein portion of techniques feature is carried out equivalent;And these Amendment or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

1. a rendering intent based on high dynamic range images, it is characterised in that including:
Structure diameter is more than the hollow ball of computer compound body size, and the inner surface of described hollow ball is high reflection characteristic;
HDR background image is covered the inner surface of whole described hollow ball;
From described HDR background image, extraction light source is as rendering incident illumination, and the described incident illumination that renders is used Image Synthesis by Ray Tracing, Complete to render for the first time;
In described HDR background image, it is configured to place the plane of described computer compound body, as supporting surface, described supporting surface Optical characteristics be diffuse-reflectance;
Render incident illumination described in employing, render the HDR scene image including described HDR background image and described supporting surface, complete Second time renders;
The rgb value rendering image by twice subtracts each other, and cuts out texture region the result images after subtracting each other, and by described texture Region repeats to cover described supporting surface;
Described computer compound body is positioned on described supporting surface, renders incident illumination described in employing and complete final rendering, export The final image arrived.
Rendering intent the most according to claim 1, it is characterised in that described supporting surface is high reflecting surface.
Rendering intent the most according to claim 1, it is characterised in that extract light source conduct from described HDR background image Render incident illumination to specifically include:
From described HDR background image, find cumulative when row pixel and equal to this row pixel summation half pixel along X-direction Point is as the luminous point of light source;
From described HDR background image, find cumulative when row pixel and equal to this row pixel summation half pixel along Y direction Point is as the luminous point of described light source.
Rendering intent the most according to any one of claim 1 to 3, it is characterised in that repeat to cover by described texture region Lid is to described supporting surface particularly as follows: repeat to cover described supporting surface along Y direction by described texture region;
HDR background image is covered the inner surface of whole described hollow ball particularly as follows: along Y direction by HDR background image The inner surface of whole described hollow ball is covered in tiling.
Rendering intent the most according to any one of claim 1 to 3, it is characterised in that the rgb value of described supporting surface is respectively It is set to 220,220 and 220.
6. a rendering device based on high dynamic range images, it is characterised in that including:
Orbicular structure module, for constructing the diameter hollow ball more than computer compound body size, the interior table of described hollow ball Face is high reflection characteristic;
Background overlay module, for covering the inner surface of whole described hollow ball by HDR background image;
Rendering module for the first time, for from described HDR background image extract light source as rendering incident illumination, to described render into Penetrate gloss Image Synthesis by Ray Tracing, complete to render for the first time;
Supporting surface constructing module, for being configured to the plane placing described computer compound body in described HDR background image, makees For supporting surface, the optical characteristics of described supporting surface is diffuse-reflectance;
Rendering module for the second time, be used for using described in render incident illumination, render and include described HDR background image and described supporting surface HDR scene image, complete second time render;
Texture mapping module, subtracts each other for rendering the rgb value of image by twice, cuts out texture the result images after subtracting each other Region, and repeat to cover described supporting surface by described texture region;
Final rendering module, for described computer compound body is positioned over described supporting surface, renders incident illumination described in employing complete Become final rendering, the final image that output obtains.
Rendering device the most according to claim 6, it is characterised in that described supporting surface is high reflecting surface.
Rendering device the most according to claim 6, it is characterised in that described first time rendering module includes:
Light source extraction unit, for extracting light source as rendering incident illumination from described HDR background image;
Rendering unit, for the described incident illumination that renders is used Image Synthesis by Ray Tracing, completes to render for the first time;
Described light source extraction unit specifically includes:
X-axis luminous point subelement, for from described HDR background image, finds when row pixel is cumulative and is equal to be somebody's turn to do along X-direction The pixel of row pixel summation half is as the luminous point of light source;
Y-axis luminous point subelement, for from described HDR background image, finds when row pixel is cumulative and is equal to be somebody's turn to do along Y direction The pixel of row pixel summation half is as the luminous point of described light source.
9. according to the rendering device according to any one of claim 6 to 8, it is characterised in that described Texture mapping module is concrete Subtract each other for twice being rendered the rgb value of image, the result images after subtracting each other cuts out texture region, and along Y direction Repeat to cover described supporting surface by described texture region;
Described background overlay module is specifically for covering whole described hollow ball along Y direction by the tiling of HDR background image Inner surface.
10. according to the rendering device according to any one of claim 6 to 8, it is characterised in that the rgb value of described supporting surface divides It is not set to 220,220 and 220.
CN201610357527.9A 2016-05-25 2016-05-25 A kind of rendering method and device based on high dynamic range images Active CN106056550B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610357527.9A CN106056550B (en) 2016-05-25 2016-05-25 A kind of rendering method and device based on high dynamic range images

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610357527.9A CN106056550B (en) 2016-05-25 2016-05-25 A kind of rendering method and device based on high dynamic range images

Publications (2)

Publication Number Publication Date
CN106056550A true CN106056550A (en) 2016-10-26
CN106056550B CN106056550B (en) 2019-02-22

Family

ID=57175201

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610357527.9A Active CN106056550B (en) 2016-05-25 2016-05-25 A kind of rendering method and device based on high dynamic range images

Country Status (1)

Country Link
CN (1) CN106056550B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110050468A (en) * 2017-11-14 2019-07-23 三星电子株式会社 Show equipment and its control method and recording medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101246600A (en) * 2008-03-03 2008-08-20 北京航空航天大学 Method for real-time generating reinforced reality surroundings by spherical surface panoramic camera
CN103606182A (en) * 2013-11-19 2014-02-26 华为技术有限公司 Method and device for image rendering
CN104077802A (en) * 2014-07-16 2014-10-01 四川蜜蜂科技有限公司 Method for improving displaying effect of real-time simulation image in virtual scene
US9015241B2 (en) * 2009-12-17 2015-04-21 At&T Intellectual Property I, L.P. Apparatus and method for video conferencing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101246600A (en) * 2008-03-03 2008-08-20 北京航空航天大学 Method for real-time generating reinforced reality surroundings by spherical surface panoramic camera
US9015241B2 (en) * 2009-12-17 2015-04-21 At&T Intellectual Property I, L.P. Apparatus and method for video conferencing
CN103606182A (en) * 2013-11-19 2014-02-26 华为技术有限公司 Method and device for image rendering
CN104077802A (en) * 2014-07-16 2014-10-01 四川蜜蜂科技有限公司 Method for improving displaying effect of real-time simulation image in virtual scene

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
PAUL DEBEVEC: "Rendering Synthetic Objects into Real Scenes:Bridging Traditional and Image-based Graphics with Global Illumination and High Dynamic Range Photography", 《PROCEEDING SIGGRAPH 98 PROCEEDINGS OF THE 25TH ANNUAL CONFERENCE ON COMPUTER GRAPHICS AND INTERACTIVE TECHNIQUES》 *
PAUL DEBEVEC等: "Image-Based Lighting", 《 IEEE COMPUTER GRAPHICS AND APPLICATIONS》 *
刘万奎等: "用于增强现实的光照估计研究综述", 《计算机辅助设计与图形学学报》 *
华顺刚等: "基于图像的光照", 《计算机工程与设计》 *
李华等: "基于高动态范围图像中光晕分析的光照方向测算算法", 《计算机应用》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110050468A (en) * 2017-11-14 2019-07-23 三星电子株式会社 Show equipment and its control method and recording medium
US11234042B2 (en) 2017-11-14 2022-01-25 Samsung Electronics Co., Ltd. Display device, control method therefor and recording medium

Also Published As

Publication number Publication date
CN106056550B (en) 2019-02-22

Similar Documents

Publication Publication Date Title
CN106534835B (en) A kind of image processing method and device
Jacobs et al. Classification of illumination methods for mixed reality
CN102982577B (en) Image processing apparatus and method
Georgoulis et al. What is around the camera?
CN108460414A (en) Generation method, device and the electronic equipment of training sample image
Li et al. Physically-based editing of indoor scene lighting from a single image
CN107452048A (en) The computational methods and device of global illumination
CN111145330B (en) Human model rendering method and device, electronic equipment and storage medium
CN107492139B (en) Floodlight information processing method and device, storage medium, processor and terminal
CN113658316B (en) Rendering method and device of three-dimensional model, storage medium and computer equipment
US7202867B1 (en) Generation of glow effect
CN111199573A (en) Virtual-real mutual reflection method, device, medium and equipment based on augmented reality
WO2023098344A1 (en) Graphic processing method and apparatus, computer device, and storage medium
CN114119848B (en) Model rendering method and device, computer equipment and storage medium
CN105976423B (en) A kind of generation method and device of Lens Flare
CN113610955A (en) Object rendering method and device and shader
Lopez-Moreno et al. Non-photorealistic, depth-based image editing
CN106056550A (en) Rendering method and device based on high dynamic range image
Knecht et al. A framework for perceptual studies in photorealistic augmented reality
Radziszewski et al. An improved technique for full spectral rendering
US20060033736A1 (en) Enhanced Color and Lighting Model for Computer Graphics Productions
Stojanov et al. Application of 3ds Max for 3D Modelling and Rendering
Gigilashvili et al. Appearance manipulation in spatial augmented reality using image differences
US9665968B2 (en) Computerized image rendering with per-frame buffer scene segmentation
MacDonald Visual realism in digital heritage

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant