CN102222356A - Method for drawing picture with sense of reality - Google Patents

Method for drawing picture with sense of reality Download PDF

Info

Publication number
CN102222356A
CN102222356A CN 201110157195 CN201110157195A CN102222356A CN 102222356 A CN102222356 A CN 102222356A CN 201110157195 CN201110157195 CN 201110157195 CN 201110157195 A CN201110157195 A CN 201110157195A CN 102222356 A CN102222356 A CN 102222356A
Authority
CN
China
Prior art keywords
multiplexing
optical path
pixel
sample area
light
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
CN 201110157195
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.)
Tianjin University
Original Assignee
Tianjin University
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 Tianjin University filed Critical Tianjin University
Priority to CN 201110157195 priority Critical patent/CN102222356A/en
Publication of CN102222356A publication Critical patent/CN102222356A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Generation (AREA)

Abstract

The invention discloses a method for drawing a picture with sense of reality, relating to the field of image processing. The method comprises the following steps of dividing a picture into sampling areas with identical dimensions, respectively obtaining sampling point coordinates of each sampling area, and initializing the sampling point coordinates into coordinates of the top left corner of each sampling area through; carrying out ray tracing on pixels in each sampling area; judging whether the current sampling point coordinates are positioned at the rightmost end of the sampling area; and judging whether the current sampling point coordinates are positioned at the bottommost end of the sampling area, and reusing an optical path of each sampling area. The method gets rid of boundary problems and diamond effects due to different reuse degrees, introduces the concept of self-adaption to tackle a light spot effect caused by impulse noise, takes into consideration two aspects of efficiency and image quality in the process of reusing the optical path, and reuses one or more rays of light contributing most to quality, thereby greatly increasing the speed of drawing the picture with the sense of reality.

Description

A kind of method of drawing photo realism graphic
Technical field
The present invention relates to image processing field, particularly a kind of method of drawing photo realism graphic.
Background technology
The photo realism graphic generation system is made up of complementary several sections, comprising: colour vision, simple illumination model, local illumination model, transmittance model, texture, global illumination model and real-time photo realism graphic learn a skill.
In photo realism graphic is learned, the illumination model of only handling light source direct irradiation body surface is called local illumination model, and corresponding, can handle between object, the interactional model of illumination is called global illumination model.Simple illumination model and local illumination model, though can produce the sense of reality image of object, but they are all just handled the light intensity of light source direct irradiation body surface and calculate, and the well refraction of simulated light, reflection and shade etc. can not be used for representing the mutual illumination effect between object; And based on the transmittance model of simple illumination model, though refraction that can simulated light, the computer capacity of this refraction is very little, can not well simulate the complex illumination phenomenon between a plurality of transparent bodies.For these above-mentioned problems, a more accurate illumination model just must be arranged.A kind of model that global illumination model comes to this, it is for local illumination model.In existing global illumination model, mainly contain two kinds of methods of ray trace and radiancy, they are most important two graphics plottings during current photo realism graphic is learned, and have obtained using widely at CAD and graphics field.
The ray trace algorithm is one of a kind of main algorithm that generates the photo realism graphic drafting.Because this algorithm principle is simple, it is convenient to realize, and can generate various vivid visual effect, so caused the extensive attention and the research in graphics field.Can eliminate noise by super sampling in the ray trace algorithm, photo realism graphic increases very large calculated amount but this way can make drafting.So-called super sampling is exactly the number that increases each pixel sampled point, thereby improves the pixel quality.Because sampled point of every increase, needing drawing system is that it generates a new light, carry out the light integration and ask friendship test computing, so though the super sampling method can improve the quality of drawing photo realism graphic greatly, but often need to expend a large amount of computational resources, can not take into account drafting efficient.Adaptively sampled algorithm can be regarded a kind of non-homogeneous super sampling technology as, and this algorithm can be divided into for three steps: the figure that generates the low sampling density of a width of cloth with the ray trace algorithm of standard; Determine those screen pixel area needs super samplings according to the figure that generates; Adopt suitable wave filter to generate final graphics.From arthmetic statement as can be known, be that super sampling algorithm or adaptively sampled algorithm are not all considered the neighborhood relevance between the light, they have just considered the correlativity of a pixel internal light in other words, in a pixel area, each sampled point is carried out filtering, and do not pay close attention to the last neighborhood relevance of pixel level, make and adopt traditional ray tracing can cause calculated amount too big, make algorithm speed slow excessively, can't satisfy the needs in the practical application.
Summary of the invention
Calculated amount causes the slow excessively problem of algorithm speed too greatly in traditional ray tracing in order to solve, and the invention provides a kind of method of drawing photo realism graphic, sees for details hereinafter to describe:
A kind of method of drawing photo realism graphic said method comprising the steps of:
(1) image is divided into the identical sample area of size, to each sample area obtain respectively sample point coordinate (x, y), (x y) is initialized as the upper left corner coordinate of described each sample area with described sample point coordinate;
(2) pixel in described each sample area is carried out ray tracing;
(3) judge the current sampling point coordinate (whether x y) is positioned at the sample area low order end, if, execution in step (4); If not, execution in step (5);
(4) judge described current sampling point coordinate (whether x y) is positioned at the sample area lowermost end, if, execution in step (7); If not, execution in step (6);
(5) current sampling point horizontal ordinate x=x+1 re-executes step (2);
(6) current sampling point coordinate x=0, y=y+1 re-executes step (2);
(7) after sampling finished, it is multiplexing that described each sample area is carried out optical path.
Described in the step (7) described each sample area carried out that optical path is multiplexing to be specially:
Obtain in the sample area one or more light greater than first threshold, it is multiplexing that described one or more light is carried out optical path;
Each to optical path, is launched a light, light tie point x iAnd y j, i wherein, j=1,2,3...n, and i is not equal to the optical path of pixel multiplexing described current pixel point when reflected refraction that j and current pixel point close on obtains the image of optical path after multiplexing;
By the moving window mode to described optical path the image after multiplexing handle;
The present picture element that generates is carried out quality assessment obtain quality evaluation result, when described quality evaluation result during greater than second threshold value, described current pixel is a noise spot, and described current pixel is accepted the multiplexing of other pixels.
Described by the moving window mode to described optical path the image after multiplexing handle and be specially:
Allow two close regions that the zone of coincidence is arranged, it is multiplexing that the pixel that overlaps regional both sides is done optical path, receives the both sides pixel to overlapping the multiplexing operation of optical path in zone.
The beneficial effect of technical scheme provided by the invention is:
The invention provides a kind of method of drawing photo realism graphic, the algorithm that lot of experiment results shows the multiplexing this sacrifice space change time of optical path has very active influence to the drafting of photo-realistic images, taking into account under the situation of drawing efficient, significantly improving the quality of photo-realistic images; The present invention has changed the mode that the Pbrt system adopts usually, and has eliminated boundary problem and the square effect that causes because of the difference of extent for multiplexing; At " hot spot " effect that causes owing to impulsive noise in the optical path multiplex process, the optical path multiplex technique has been introduced adaptive thought simultaneously; And in the optical path multiplex process, take into account the problem aspect efficient and the picture quality two, adopted and in pixel, one or more light of quality contribution maximum has been done multiplexingly, make and to have improved the speed that photo-realistic images is drawn significantly.
Description of drawings
Fig. 1 is the structural representation of Pbrt system;
Fig. 2 is the synoptic diagram of sampling;
Fig. 3 is simple multiplexing design sketch;
Fig. 4-1 is a path tracing synoptic diagram;
Fig. 4-2 is the path tracing synoptic diagram after the increase sampled point number;
Fig. 4-3 is the multiplexing synoptic diagram of light path;
Fig. 5-1 is the boundary effect synoptic diagram of area sampling;
Fig. 5-2 is for having eliminated the design sketch of boundary effect;
Fig. 6 is the multiplexing schematic diagram in zone boundary;
The design sketch of Fig. 7-1 for providing in the prior art;
Fig. 7-2 is for only having adopted the design sketch that obtains after multiplexing;
Fig. 7-3 is for adopting the design sketch that obtains after the quality assessment;
A kind of process flow diagram of drawing the method for photo realism graphic that Fig. 8 provides for the embodiment of the invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
Calculated amount causes the slow excessively problem of algorithm speed too greatly in traditional ray tracing in order to solve, and the embodiment of the invention provides a kind of method of drawing photo realism graphic, sees for details hereinafter to describe:
2002, Philippe Bekaert has proposed the algorithm of a kind of path of being called reuse, the main thought of this algorithm is when drawing entire image or the light path information of having got well as calculated (comprise the intersection point information of object in this optical path and the scene or scenery and at the pdf at each intersection point place and illumination value etc.) is stored during certain sub regions of drawing image, does between light multiplexing mutually then in the zone of certain specific size.The calculated amount of considering the ray trace method is big, and the improvement of accelerating algorithm is also significant.The embodiment of the invention mainly is that path reuse algorithm has been carried out deep theoretical research and practice, on the basis of realizing this algorithm, by drafting effect Analysis to different complexity scenes, find out path reuse algorithm weak point in some aspects, and path reuse algorithm has been made some improvement at the problem that occurs.And in fact, no matter be between the light or pixel of pixel inside, the ray tracing path of closing on sampled point all possesses certain correlativity.Consideration based on this correlativity, the multiplexing possibility that becomes of optical path, main thought is the light path information of having got well as calculated when drawing entire image or when having drawn certain sub regions of image, comprise the intersection point information of object in this optical path and the scene or scenery and store, in the zone of certain specific size, do between light multiplexing mutually then at the illumination value at each intersection point place etc.Utilize this method can significantly improve arithmetic speed.
Referring to Fig. 1, what the Pbrt system used is a kind of plug-in unit (plug-in) structure, a very important module core is arranged in the Pbrt system, include the whole Pbrt of control system in this core module and draw the code of flow process, still without any code about concrete geometric configuration or light source description.In fact, the core module provides abstract base class or interface for various package types, and all plug-in units are all inherited from the core module and derived from, and when carrying out scene drawing, the Pbrt system can describe the plug-in unit of dynamic load needs according to document scene.This structure makes the Pbrt system be easy to be expanded, even can add new interface in the core module, externally realizes corresponding insert then.The graphic plotting of Pbrt system can be divided into three phases, at first is to read the document scene that the user provides.Document scene itself is a text formatting file, and this document provides the position of the object in the scene, the material properties on the geometric configuration of object and surface, and the position of light source and luminous intensity information also have the description of virtual lens information in the scene etc.After reading in scene information, all scene informations are constructed in internal memory and are finished, real drafting begins, the Pbrt system runs to the main flow process of drawing, this stage enters the drafting main flow by playing up function S cene::Render () method, calculates the illumination value of each pixel, when all pixels were all calculated, and after all writing their value in the film module, this stage finishes.The last stage, after all pixel values are calculated, and before the Pbrt system was written to disk with this width of cloth image, the Pbrt system also had some post-processed work, for example: print statistical information and system resource and expend situation etc.
, referring to Fig. 24 sampled points are arranged respectively in pixel 1 and pixel 2, and in same tile, the size of tile is 4, include 16 pixels.Carry out multiplexing method one by one between these four corresponding pixels.Wherein each pixel is re-used 15 times.The advantage of this method be principle simply and on computers easily programming realize.But it is by considering that field correlativity between every light improves the drafting effect of photo realism graphic that the optical path multiplexing algorithm was mentioned in embodiment of the invention front.Under simple multiplex mode, coming delimited area with tile is exactly a kind of consideration to neighborhood relevance, but its limitation is arranged:
At first, this correlativity is not " justice " to each pixel, the pixel of center section can be received the multiplexing contribution from pixel around it, and can only receive multiplexing contribution, and make the color of light between the pixel of a side adjacent area become big according to gap from its a side adjacent area near the part on border;
Secondly, the method is not handled two transition between the tile boundary pixel, allows " distance " (gap visually experienced) between them become big on the contrary.Reason be two adjacent image points of boundary by multiplexing, their illumination value can be drawn close to the center of place tile separately;
Once more, this method has just realized multiplexing, does not have the real multiplexing purpose that reaches: sacrifice space change time.Need on each pixel, follow the tracks of up to a hundred light because draw the photo realism graphic of a medium effect, in other words each pixel be carried out also carrying out thousands of even up to ten thousand times calculating when multiplexing, consume a large amount of time;
At last, under the original sample mode of Pbrt system, realize the multiplexing optical path information that must note all pixels on the whole pixel plane of optical path.Every optical path occupation space size in internal memory of record is 0.6k, if draw one 200 * 200 resolution, each pixel sampling 100 times, be that each pixel will be followed the tracks of 100 light, to consume 100 * 200 * 200 * 0.6k=2.4G for such piece image, in view of experimental situation, also sample mode some changes have been made.Fig. 3 is the simple multiplexing design sketch that adopts prior art to obtain, and therefrom can see having a lot of square zones.
The invention process not to whole pixel plane by the sequential sampling of pixel, but image is divided into the identical sample area of size, in each zone, sample, after the sampling in a zone finishes, in this zone, carry out the multiplexing operation of optical path.So just need not store the optical path of whole pixel plane, thereby can carry out the graphic plotting of intensive.
101: image is divided into the identical sample area of size, to each sample area obtain respectively sample point coordinate (x, y), (x y) is initialized as the upper left corner coordinate of sample area with sample point coordinate;
Wherein, in simple sampling process, can (x y) be initialized as (0,0), and wherein, x is the horizontal ordinate of sampled point, and y is the ordinate of sampled point with sample point coordinate.For example: image resolution ratio is 60 * 60, then sample point coordinate (x, coordinate range y) is 0-60, promptly the span of sampled point horizontal ordinate x is 0-60, the span of sampled point ordinate y is 0-60.
102: the pixel in each sample area is carried out ray tracing;
The invention process is followed the tracks of many optical paths by increasing the picture element number in each sample area to each pixel, can improve picture quality, reduces noise.
103: judgement current sampling point coordinate (whether x y) is positioned at the sample area low order end, if, execution in step 104; If not, execution in step 105;
Wherein, judge (whether x y) is positioned at the sample area low order end and promptly judges sampled point (x, y) the horizontal ordinate x direction end of whether sampling the current sampling point coordinate.
104: judgement current sampling point coordinate (whether x y) is positioned at the sample area lowermost end, if, execution in step 107; If not, execution in step 106;
Wherein, judge (whether x y) is positioned at the sample area lowermost end and promptly judges sampled point (x, y) the ordinate y direction end of whether sampling the current sampling point coordinate.
For example: judge whether sampled point horizontal ordinate x equals 60, if not, sampled point horizontal ordinate x=x+1 re-executes step 102; If sampled point horizontal ordinate x equals 60, the sampling of sampled point horizontal ordinate x direction finishes execution in step 105.
105: sampled point horizontal ordinate x=x+1 re-executes step 102;
106: sample point coordinate x=0, y=y+1 re-executes step 102;
For example: judge whether sampled point ordinate y equals 60, if not, and sample point coordinate x=0, y=y+1 re-executes step 102; If sampled point ordinate y equals 60, the sampling of sampled point ordinate y direction finishes, and flow process finishes.
107: after sampling finished, it is multiplexing that each sample area is carried out optical path.
Wherein, the filtering algorithm in the multiplexing similar Flame Image Process of optical path improves the pixel quality by the result who utilizes neighborhood pixel as calculated, reduces the consumption that optical path is followed the tracks of.
The embodiment of the invention wishes to be reduced in temporal consumption by the number that reduces the sampled point that is re-used in each pixel.In graphing, to comprise a lot of sampled points in the pixel, contribute major part all to concentrate in certain value region by the light that these sampled points send to the illumination of this pixel, have only several of minority can be higher than this regional upper limit.And these several light are bigger to the contribution of picture element amount, if the value of these light and other light has a long way to go, impulsive noise will occur, and why Here it is can evaluate and test the reason of pixel quality by standard deviation; From another angle, can regard these light as important light, one or several important light in only multiplexing each pixel in multiplexing.Multiplexingly so just be not subject to the number of sampled point.
1, obtain in the sample area one or more light greater than first threshold, it is multiplexing that one or more light is carried out optical path;
Wherein, first threshold determines that by the light that the sampled point in the sample area sends during specific implementation, the embodiment of the invention does not limit this.
2, to each to optical path, launch a light, light tie point x iAnd y j, i wherein, j=1,2,3...n, and i is not equal to the optical path of pixel multiplexing current pixel point when reflected refraction that j and current pixel point close on obtains the image of optical path after multiplexing;
Referring to Fig. 4-1, Fig. 4-2 and Fig. 4-3, Fig. 4-the 1st wherein carries out the synoptic diagram of the ray tracing of a sampled point to each pixel, Fig. 4-the 2nd has increased the sampled point number in each pixel on the basis of Fig. 4-1, can effectively improve the effect that photo-realistic images generates like this.But do not adopt the multiplexing method of optical path among Fig. 4-2, among the figure with three pixels, three sampled points of each pixel are that example is that i=j=3 describes: when carrying out ray tracing, to all to carry out complete path tracing to three sampled points in each pixel, can see after the emission or refraction through body surface, the path of the different mining sampling point in the same pixel is difference to some extent often, and the path tracing complex circuit, and this has just caused the intensive of image generative process.And the multiplexing thought of optical path in the middle of Fig. 4-3 demonstration, the multiplexing thought of optical path is that the opticpath of adjacent pixels point has certain similarity, so think when carrying out the multiplexing calculating of optical path the data that the path can multiplexing adjacent pixels point.Each to optical path, is launched a light, this light tie point x iAnd y j, i wherein, j=1,2,3, and i is not equal to j.These light with dashed lines signs in Fig. 4-3, such result just is to use the data computation amount among similar Fig. 4-1, just can be similar to reach a large amount of resulting photo-realistic images of sampled point among Fig. 4-2.
Referring to Fig. 5-1, carry out that sample area is divided and optical path multiplexing after, tangible border is arranged in the drawings, human eye can be seen very clearly.The embodiment of the invention is eliminated the border by the moving window mode.
3, by the moving window mode to optical path the image after multiplexing handle;
Wherein, common moving window mode multiplexing: to want multiplexing pixel be the tile that a fixed size is determined at the center, pixel with other in tile is done multiplexing operation to this pixel, with pixel from left to right from top to bottom order repeat aforesaid operations, so just obtained the and then window that moves of pixel.Here it is based on the multiplex mode of moving window, and this mode has solved " unfairness " phenomenon in the plain mode.But the transition problem that still can occur place, zone boundary pixel when the sample mode area sampling that changes, just as original simple tile boundary problem in multiplexing, the reason of appearance also is identical.The problem that the embodiment of the invention will solve can be regarded as and how two close regions be connected, the pixel that promptly is two close region boundaries can be multiplexing mutually, referring to Fig. 6, middle coincidence zone is the public domain, play the bridge joint effect, by the moving window mode to optical path the image after multiplexing handle and be specially:
Allow two close regions that the zone of coincidence is arranged, it is multiplexing that the pixel that overlaps regional both sides is done optical path, receives the both sides pixel to overlapping the multiplexing operation of optical path in zone.
Referring to Fig. 5-2, can see significantly that boundary problem has obtained solution.:
Though boundary problem is resolved,, can see in the upper right corner and the lower right corner of image having some specks appearance, just because this scene is not very complicated, so performance is not clearly by gamma (gamma) correction chart 5-2 image.By analyzing, draw such conclusion: the speck region memory is impulsive noise points at one or more pixels.So just be easy to explain the appearance of speck: in moving window, if be an impulsive noise just at multiplexing pixel, no matter adopt which kind of multiplexed form, " bright " that other pixels around " focus type " (tile in other pixels multiplexing to center point image element) or " divergence expression " (pixel of central spot is done multiplexing to other pixels in the tile on every side) all can make become is so this speck effect occurred.
4, the present picture element that generates is carried out quality assessment and obtain quality evaluation result, when quality evaluation result during greater than second threshold value, current pixel is a noise spot, and current pixel is accepted the multiplexing of other pixels.
Wherein, the present picture element that generates is carried out quality assessment can adopt instruments such as standard deviation, information entropy and contrast to carry out quality assessment, the embodiment of the invention is that example describes with the standard deviation, and during specific implementation, the embodiment of the invention does not limit this.
When checking out that present picture element is noise spot, it is multiplexing not allow it that other pixel is done, and only accepts the multiplexing of other pixels, so just can accomplish to stop the diffusion of indivedual noise spots, and comes attenuating noise by other pixel multiplexing.Referring to Fig. 7-1, Fig. 7-2 and Fig. 7-3, the design sketch of Fig. 7-1 for providing in the prior art, Fig. 7-2 is for only having adopted the design sketch that obtains after multiplexing, Fig. 7-3 is for adopting the design sketch that obtains after the quality assessment, second threshold value is 1, can see that by contrast the hot spot problem has obtained good solution to three figure.
Wherein, the embodiment of the invention has been analyzed the whole illumination algorithm test platform Pbrt drawing system that photo realism graphic is played up, and there are two principal characters in this Pbrt system: at first it is complete, a healthy and strong system.The Pbrt system itself is complete available, has efficient fault tolerant mechanism, can draw complex scene.The Pbrt system is designed to a kind of architecture based on plug-in unit, is with good expansibility.Secondly, the Pbrt system is very careful aspect the selection of algorithm, data structure and rendering technique, and the purpose of doing so mainly is to allow user's function realization of understanding system more clearly of Pbrt system and the flow process of drawing.And because the Pbrt system is based on the architecture of plug-in unit, each plug-in unit is exactly a complete functional module, if like this only need do improved words to certain module, and other module of concern that can be too much, the obvious like this difficulty that can reduce work is increased work efficiency; And the function of the module of forming the platform each several part carried out detail analysis, the cooperating operation of system has been provided collaboration diagram; The whole illumination algorithm that with the ray trace is the algorithm core is the main branch of photo realism graphic technology, path reuse algorithm can be accomplished to take into account the quality of generation figure and the drafting efficiency of image in the graphic plotting process, so the research of path reuse algorithm is significant.Crucial part is the unbiasedness that how to guarantee to guarantee the optical path integral operation in multiplexing process in path reuse algorithm, and promptly multiplexing is not the simple summation averaging process again of optical path integrated value; And carried out deep analysis in the problem that some complex scene occurs at path reuse algorithm, introducing by a large amount of experiments and some novelty theories, some weak point in the algorithm is made some fruitful improvement, obtained some significant conclusions; In real world, there is abundant grain details in the scenery surface, people distinguish the various identical shaped scenery that have according to these grain details just, thereby the simulation of scenery superficial makings details plays important effect in the photo realism graphic synthetic technology, in the process of utilizing optical path multiplex technique drafting photo realism graphic, add texel in drawing scene, the sense of reality effect of drawing the image that comes out like this can be better.
In sum, the embodiment of the invention provides a kind of method of drawing photo realism graphic, the algorithm that lot of experiment results shows the multiplexing this sacrifice space change time of optical path has very active influence to the drafting of photo-realistic images, taking into account under the situation of drawing efficient, significantly improving the quality of photo-realistic images; The present invention has changed the mode that the Pbrt system adopts usually, and has eliminated the multiplexing square effect that causes of optical path; At " hot spot " effect that causes owing to impulsive noise in the optical path multiplex process, the optical path multiplex technique has been introduced adaptive thought simultaneously; And in the optical path multiplex process, take into account the problem aspect efficient and the picture quality two, adopted and in pixel, one or more light of quality contribution maximum has been done multiplexingly, make and to have improved the speed that photo-realistic images is drawn significantly.
It will be appreciated by those skilled in the art that accompanying drawing is the synoptic diagram of a preferred embodiment, the invention described above embodiment sequence number is not represented the quality of embodiment just to description.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (3)

1. a method of drawing photo realism graphic is characterized in that, said method comprising the steps of:
(1) image is divided into the identical sample area of size, to each sample area obtain respectively sample point coordinate (x, y), (x y) is initialized as the upper left corner coordinate of described each sample area with described sample point coordinate;
(2) pixel in described each sample area is carried out ray tracing;
(3) judge the current sampling point coordinate (whether x y) is positioned at the sample area low order end, if, execution in step (4); If not, execution in step (5);
(4) judge described current sampling point coordinate (whether x y) is positioned at the sample area lowermost end, if, execution in step (7); If not, execution in step (6);
(5) current sampling point horizontal ordinate x=x+1 re-executes step (2);
(6) current sampling point coordinate x=0, y=y+1 re-executes step (2);
(7) after sampling finished, it is multiplexing that described each sample area is carried out optical path.
2. a kind of method of drawing photo realism graphic according to claim 1 is characterized in that, described in the step (7) described each sample area is carried out that optical path is multiplexing to be specially:
Obtain in the sample area one or more light greater than first threshold, it is multiplexing that described one or more light is carried out optical path;
Each to optical path, is launched a light, light tie point x iAnd y j, i wherein, j=1,2,3...n, and i is not equal to the optical path of pixel multiplexing described current pixel point when reflected refraction that j and current pixel point close on obtains the image of optical path after multiplexing;
By the moving window mode to described optical path the image after multiplexing handle;
The present picture element that generates is carried out quality assessment obtain quality evaluation result, when described quality evaluation result during greater than second threshold value, described current pixel is a noise spot, and described current pixel is accepted the multiplexing of other pixels.
3. a kind of method of drawing photo realism graphic according to claim 2 is characterized in that, described by the moving window mode to described optical path the image after multiplexing handle and be specially:
Allow two close regions that the zone of coincidence is arranged, it is multiplexing that the pixel that overlaps regional both sides is done optical path, receives the both sides pixel to overlapping the multiplexing operation of optical path in zone.
CN 201110157195 2011-06-13 2011-06-13 Method for drawing picture with sense of reality Pending CN102222356A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110157195 CN102222356A (en) 2011-06-13 2011-06-13 Method for drawing picture with sense of reality

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110157195 CN102222356A (en) 2011-06-13 2011-06-13 Method for drawing picture with sense of reality

Publications (1)

Publication Number Publication Date
CN102222356A true CN102222356A (en) 2011-10-19

Family

ID=44778900

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110157195 Pending CN102222356A (en) 2011-06-13 2011-06-13 Method for drawing picture with sense of reality

Country Status (1)

Country Link
CN (1) CN102222356A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109961499A (en) * 2019-03-06 2019-07-02 河海大学 Adaptively sampled method based on block of pixels variance

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080143720A1 (en) * 2006-12-13 2008-06-19 Autodesk, Inc. Method for rendering global illumination on a graphics processing unit
CN101271587A (en) * 2008-02-25 2008-09-24 北京理工大学 Illumination and shade drafting method based on transition light label drawing
CN101882324A (en) * 2010-05-19 2010-11-10 北京航空航天大学 Soft shadow real-time rendering method based on bidirectional half-shadow graph

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080143720A1 (en) * 2006-12-13 2008-06-19 Autodesk, Inc. Method for rendering global illumination on a graphics processing unit
CN101271587A (en) * 2008-02-25 2008-09-24 北京理工大学 Illumination and shade drafting method based on transition light label drawing
CN101882324A (en) * 2010-05-19 2010-11-10 北京航空航天大学 Soft shadow real-time rendering method based on bidirectional half-shadow graph

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《中国优秀硕士学位论文全文数据库》 20070715 李朋 光径复用在真实感图形绘制中的应用 第10,13-14,20-21,23-25页 1-3 , 第1期 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109961499A (en) * 2019-03-06 2019-07-02 河海大学 Adaptively sampled method based on block of pixels variance
CN109961499B (en) * 2019-03-06 2022-10-14 河海大学 Adaptive sampling method based on pixel block variance

Similar Documents

Publication Publication Date Title
US20230334761A1 (en) Foveated Rendering
US10311552B2 (en) De-noising images using machine learning
CN106408523B (en) Pixel filter, method for filtering a sequence of pixels
CN107452048A (en) The computational methods and device of global illumination
CN102915559B (en) Real-time transparent object GPU (graphic processing unit) parallel generating method based on three-dimensional point cloud
CN105912234B (en) The exchange method and device of virtual scene
CN106652007A (en) Virtual sea surface rendering method and system
Zhou et al. Accurate depth of field simulation in real time
CN113674389B (en) Scene rendering method and device, electronic equipment and storage medium
US20230230311A1 (en) Rendering Method and Apparatus, and Device
CN103679802A (en) Method for drawing surface of SPH (smoothed particle hydrodynamics) fluid in real time on basis of screen spaces
CN104519339A (en) Image processing apparatus and method
CN104392479A (en) Method of carrying out illumination coloring on pixel by using light index number
Sintorn et al. An efficient alias-free shadow algorithm for opaque and transparent objects using per-triangle shadow volumes
CN105096370B (en) The equivalent partition reverse sawtooth method of ray tracing
CN107492139A (en) Processing method, device, storage medium, processor and the terminal of floodlight information
US20200184707A1 (en) Data processing systems
Döllner Non-photorealistic 3D geovisualization
CN102222356A (en) Method for drawing picture with sense of reality
Noh et al. Soft shadow rendering based on real light source estimation in augmented reality
KR20230032826A (en) Method for merging layer based on virtual z-thickness in multi-fragment rendering, apparatus and computer program for performing the method
CN104240276A (en) Screen-space-based method for simulating real skin of figure through sub-surface scattering
CN103871091A (en) Night scene map making method for point element distribution characteristic expression
Ali et al. Soft bilateral filtering volumetric shadows using cube shadow maps
Lei et al. Immersive display and interactive techniques for the modeling and rendering of virtual heritage environments

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

Application publication date: 20111019