CN1201268C - Image process for realizing moving fuzzification - Google Patents
Image process for realizing moving fuzzification Download PDFInfo
- Publication number
- CN1201268C CN1201268C CNB001188569A CN00118856A CN1201268C CN 1201268 C CN1201268 C CN 1201268C CN B001188569 A CNB001188569 A CN B001188569A CN 00118856 A CN00118856 A CN 00118856A CN 1201268 C CN1201268 C CN 1201268C
- Authority
- CN
- China
- Prior art keywords
- motion
- group
- pixel
- graph primitive
- line
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Processing Or Creating Images (AREA)
Abstract
A method, device and system for displaying the computer graphics, wherein the motion vector associates with and each peaks of the graph units, the motion vector represents the variance of the time-variant parameter of relating peaks, and the declining factor associates with graph primitive. Then, the raster data of the graph primitive peaks are interpolated to generate a set of raster data. The motion vector data are interpolated to generate corresponding set of pixel vectors. Then, the raster data and the pixel vectors generate a set of motion lines through interpolating raster data from the declining factor. The time-variant parameter through fuzzification simulation includes the position of the graph primitive.
Description
Technical field
The present invention relates generally to the computer graphics field, and relate in particular to the technology that realizes the effect of motion blurization (motion blur) and other and time correlation with effective means.
Background technology
Three-dimensional (3D) graphics system is used to various application software, comprises simulation trainer, molecular model, virtual reality applications program and the video-game of computer-aided mapping, architectural design, airship and other vehicles.Three dimension system is implemented on workstation and personal computer usually, and it can comprise or not comprise the 3D graphic hardware.In the system that comprises the 3D graphic hardware, the general figures accelerator card helps the generation and the demonstration of graph image.
Software application produces the 3D graphic scene, and scene is offered application programming interface (API) with illumination attributes.Present API comprises OpenGL, PHIGS and Direct3D.The 3D graphic scene is made of several polygons of being delimited by set of vertices.These set of vertices are constituted bigger pel (primitive) altogether, as triangle or other polygon.Triangle (or polygon) is combined to form the surface, and the surface is combined to form object.Each summit is relevant with one group of attribute, generally comprises: 1) material color, and it describes the color of the object under the summit; 2) normal vector, it describes the direction that surface, place, summit is faced; With 3) position, comprise three Cartesian coordinates x, y and z.Each summit is selectively relevant with structure coordinate and/or α (transparency) value.In addition, scene generally has one group of attribute, comprises 1) color on every side, it generally describes the ambient light amount; With 2) one or more light sources.Each light source has some and it self relevant performance, comprises direction, color, scattering color and minute surface (specular) color on every side.
In graphics system, use skeleton view (rendering) to generate the two dimensional image projection of 3D graphic scene, be used on monitor or other display device, showing.Generally, skeleton view comprises by the operations of carrying out on demand below one or more and handles geometric graphic element (for example point, line and polygon): conversion, shear, select, illumination, image blurringization calculating and structure coordinate produce.Skeleton view also comprises handles the constituent element pixel value that pel is identified for display device, this be one usually by the specific process that is called rasterisation (rasterization).
In some 3D application software, the object in for example computer animation and the simulator program, 3D graphic scene is in the motion.In these situations, need be to object skimulated motion obfuscation at the volley.Do not have motion blurization, the object in the motion can not show as on screen and move reposefully.
Usually similar techniques also is used to obfuscation object when the simulation field depth.Object in " visual field " is by obfuscation, and nearer or farther object is then according to the distance of object and camera (observer) and by obfuscation.
The method that is used for the prior art of analogies phantom gelatinization comprises uses the accumulation impact damper.The accumulation impact damper is to be used for the impact damper that does not show when a series of images is had an X-rayed this a series of images accumulated.Whole scene (being each object or the pel in the scene) is had an X-rayed the accumulation impact damper repeatedly on a series of timeslices.Thereby whole scene is accumulated in the accumulation impact damper, is copied into frame buffer then and is used for observing on display device.
Be used for using the accumulation impact damper to come the method for the prior art of analogies phantom gelatinization to show at Fig. 1.As shown in Figure 1, the time cycle is divided into " n " individual timeslice (step 100).Time cycle is to represent that wherein scene is a visible time quantum on display device, and is similar to the exposure interval or the shutter speed of video camera shutter.Longer shutter speed is equivalent to bigger obfuscation amount, and shorter shutter speed is equivalent to littler obfuscation.Timeslice count value (count) is set to 1 (step 102).Then, select object (being pel) to have an X-rayed (step 104).For each the summit calculating location in the object of special time sheet, color and all other values (step 106) corresponding to each summit.Object is had an X-rayed color buffer (step 108) then.Whether the object of checking determine perspective is last object (step 110) in the scene.If not, process is returned step 104, and each object in the scene is repeated this process.
If by perspective (answer that is the problem in the step 110 is a "Yes"), scene is accumulated (step 112) to last object in the crystalline substance, mean that it is calibrated (scaled) and crosses (for example by 1/n) and be copied in the accumulation impact damper.Supervision time sheet count value sees whether it equals n (step 114).If not, increase timeslice count value (step 116).Process is returned step 104 then, and each timeslice is repeated this process.If the timeslice count value equals n (answer that is the problem in the step 114 is a "Yes"), it is measured and be copied into frame buffer (step 120) to accumulate impact damper so, and is displayed on the screen (step 122).
Use as the described accumulation impact damper of top Fig. 1 is to calculate arm and a leg process, and is inferior because whole scene (being each object in the scene) is had an X-rayed " n " in each time cycle.Therefore, need a kind of system and method for more effectively simulating the object obfuscation in the three-dimensional picture environment.
Summary of the invention
The problem that proposes is above studied in the present invention by graphic display method, device and system, wherein preferably specifies the obfuscation of summit and other pel as required by using motion vector.
In the first embodiment of the present invention, each pel that requires obfuscation is produced the obfuscation solid of representative variation of the time-varying parameter of pel in the special time interval, and the obfuscation solid is affixed to the respective edges of pel.Graph primitive and additional obfuscation solid are stored in the frame memory then, are used for showing on graphics system.In a preferred embodiment, require the appointment of pel of obfuscation and identification subsequently by at least one motion vector is realized the direction of motion vector and big or small direction and the displacement of representing relevant summit here with will being associated by each summit of the pel of obfuscation.Under the material circumstance of linear movement, the obfuscation solid is by the edge limited quadrilateral of graph primitive and the straight line that limited by the motion vector of edge vertices.Preferably, the generation of obfuscation solid comprises the attribute that obtains the obfuscation solid from the attribute of corresponding graph primitive.Preferably with corresponding graph primitive edge adjacent areas in the property value of obfuscation solid be substantially equal to the property value at graph primitive edge.Represent decline (fade) factor of the rate of change in the time-varying parameter to be used to obtain the decline of obfuscation solid attribute, thereby begin to reduce from obfuscation solid property value partly near respective edges from the obfuscation solid property value partly that respective edges is removed.The obfuscation solid also can comprise by the reflected image that constitutes from two or more reflected images of graph primitive.In one embodiment, if when only being accredited as or determining to be the trailing edge of pel at an edge, the obfuscation solid is affixed to this edge, and wherein said pel is visible in whole special time interval.
The present invention also considers to be used to show second method, device and the system of computer graphical, wherein motion vector is relevant with each summit of graph primitive, like before, the variation of the time-varying parameter on the summit that the motion vector representative is relevant, the decline factor is relevant with graph primitive.The raster data on graph primitive summit strides across the one group of pixel that is limited by graph primitive then and is interpolated, and produces one group of raster data, and each member of this group raster data is relevant with the corresponding member of this group pixel.The motion vector data on graph primitive summit strides across also on the same group that pixel is interpolated, and produces corresponding one group of pixel vector.Then from the decline factor, this group raster data and this group pixel vector by according to fail factor edge accordingly pixel vector indicated direction interpolation raster data produce one group of straight line that moves.Under the situation of motion blurization, the time-varying parameter of obfuscation simulation comprises the position of graph primitive.In one embodiment, this group pixel of generation interpolation is the edge limited pixel by graph primitive.In another embodiment, this group pixel comprises all pixels that limited by graph primitive.For to the motion of implosive and the outside special circumstances of the motion of explosion, in a preferred embodiment, by the alternative line of motion of motion triangle being illustrated motion, by intensity level is illustrated the motion of outside explosion divided by overlapping line of motion number to implosive.
The description of mask body also will become more obvious to additional objects and advantages of the present invention with reference to the accompanying drawings reading down.
Description of drawings
Fig. 1 is the process flow diagram of method that is used to realize motion blurization according to prior art;
Fig. 2 is the description of motion graphics pel according to an embodiment of the invention and its additional obfuscation solid;
Fig. 3 is the process flow diagram of graphic display method according to an embodiment of the invention;
Fig. 4 is the process flow diagram of graphic display method according to an embodiment of the invention;
Fig. 5 is the description that comprises the motion blur technology of nonlinear motion according to of the present invention;
Fig. 6 a and 6b describe another embodiment of the present invention, and wherein the obfuscation solid selectively or at large is additional to the edge of motion graphics pel;
Fig. 7 a and 7b describe embodiments of the invention, and it comprises the effective time ambiguityization to the object of the reflected image that comprises structure mapping;
Fig. 7 c is the description of the image that reflects in the object of Fig. 7 a and 7b;
Fig. 8 describes the compound obfuscation solid of the additional reflected image that comprises Fig. 7 a and 7b of graph primitive and graph primitive;
Fig. 9 is the process flow diagram that is used to use line of motion realization motion blurization according to a second embodiment of the present invention;
Figure 10 is the description of the obfuscation technology of Fig. 9, and each pixel on the edge of pel is associated with line of motion here;
Figure 11 is the description of the obfuscation technology of Figure 10, and each pixel on the edge of pel is associated with line of motion here;
Figure 12 is to use the description to the situation of implosive motion of the method for Fig. 9;
Figure 13 is to use the description of situation of outside explosion campaign of the method for Fig. 9;
Figure 14 is to use Fig. 3, the simplified block diagram of the computer system of 4 and 9 method.
Embodiment
Although the present invention is suitable for various distortion and other form, its certain embodiments is passed through the example shown among the figure, and here the specific example of executing is specifically described.But, should be appreciated that the accompanying drawing and the specific descriptions that provide are not to be intended to the present invention is limited to disclosed specific embodiment here, and it is just in time opposite, purpose is to cover all distortion, is equal to substitute with other selectable form all to fall within the spirit and scope of the present invention of appended claim qualification.
Now return accompanying drawing, Fig. 2,3 and 4 comprise the diagram and the flow process of the method for display graphics image, in order that with effective and efficient manner skimulated motion, object appearance, field depth or with the effect of time correlation.As discussed above like that, application program can produce comprise be in motion (perhaps, in time, apart from or other variable and change) in one or more dynamic objects and the graphic scene of one or more stationary bodies.Display system in the consideration generally comprises the display screen that is updated periodically or refreshes.The speed that display screen is refreshed is determined and is not subjected to usually the control of application program by viewing hardware.Use the display screen refresh rate of the 60Hz that runs into usually, about per 16.7 milliseconds (refresh cycles) present the new screen of a width of cloth.In comprising motion or many application software of other time-based variation, dynamic object changes obviously (in the position or others) in the refresh cycle.The preferred obfuscation technology of using is simulated in the variation that is object experience in the same special time interval of growing with the refresh cycle usually at least.As discussed earlier, traditional obfuscation technology generally includes whole graphic scene with some predetermined interval reproduced and be accumulated in that the image up to accumulation finally is sent to the process that frame buffer is used to show in the special-purpose impact damper.The present invention considers to be used to improve the technology of the efficient of the traditional accumulation technology that realizes motion blurization.A kind of method 300 that is used to realize motion blurization according to an embodiment of the invention of the flow chart description of Fig. 3.At first step 302, need each object or the graph primitive (being dynamic pel) of the graphic scene of obfuscation suitably to be specified so that dynamic object and remaining stationary body are distinguished.This appointment static and dynamic object can take place on application-level or another kind of situation is part generation as specific API.Static and dynamic object specify in step 302 generation after, obfuscation technology 300 comprises second step 304, wherein one or more obfuscation solids are affixed to each pel that is designated as dynamic pel in step 302.Position, size and the attribute of the solid that obfuscation is additional is used for simulating motion or other variation of dynamic object experience in specific time interval.It is faster and need littler significantly storer to determine that suitable obfuscation solid is compared the spot with the accumulation technology of the obfuscation of the realization dynamic object of original use.After suitable obfuscation solid was additional to dynamic object, graph primitive and their additional obfuscation solid were stored in (step 306) frame buffer or are suitable for other memory location of the demonstration subsequently on display screen.
Fig. 2 is the diagram of the simplification of the obfuscation technology considered of one embodiment of the present of invention, and its description is included in the motion graphics pel 202a that carries on the back around static and the graphic scene 200 of its additional obfuscation solid 210 at the end 201.Although the scene of describing 200 only comprises a single dynamic pel 202a, be appreciated that technology described herein can be extended a plurality of so dynamic pels.Dynamically pel 202a is by one group of summit 206a as described in Figure 3, the triangle that 206b and 206c (usually or put together be called summit 206) constitute.Triangle primitives is used in various very different figure perspective schemes, to show the part of bigger graphical object.Each limits unique edge 204a of pel 202a to the summit, 204b and 204c (usually or put together be called edge 204).Pel 202b originally is represented by dotted lines the origin-location with expression pel 202a.Like this, if pel 202a represents the position of dynamic pel in time T, pel 202b originally represents this dynamic pel in the position of time T-DELTA, and DELTA is the preset time interval here.The refresh cycle of the display screen that normally may show there with scene 200 at least the suitable selection in this preset time interval is the same long.The position change of the pel in this embodiment, between given zone shows the change in location of pel with minimum value in the time that scene 200 is shown.
As get in touch shown in above-mentioned that Fig. 3 discusses like that, the graphic display method 300 that embodiment considers comprises distinguishing such as the dynamic pel of pel 202a and static pel such as the pel that comprises the static state back of the body end 201 in the scene 200.In one embodiment, dynamically the appointment of pel is to be used for realizing by making of motion vector.In this preferred embodiment, dynamically each summit 206 of pel 202a is relevant with at least one motion vector.In one embodiment, each summit 204 can a designated unique motion vector.In another embodiment, each summit 204 can be from the motion vector relaying acknowledgement of consignment dynamic vector to dynamic pel 202a appointment.In the embodiment that describes, the motion vector relevant with 206b with summit 206a refers to (relevant motion vector has concealed with summit 206c simultaneously) with reference number 208a and 208b respectively in view.Motion vector 208 is represented the variation of time-varying parameter of their related top 206.For example, be among the embodiment of motion in the time-based effect of a consideration, the direction and the displacement of the size and Orientation of motion vector 208 indication their related top 206 in specific time D ELTA interval.For example, direction and the displacement of first motion vector 208a representative, first summit 206a in the DELTA time interval.Use the coordinate system of the first motion vector 208a and the first summit 206a, the position on the first original summit of representing with reference number 212a that can determine to show among Fig. 2.In other words, the first motion vector 208a points to first original summit 212a from the first summit 206a, and wherein first original summit 212a is illustrated in the position that begins to locate first summit in DELTA time interval.Similarly, the second motion vector 208b points to second original summit 212b from the second summit 206b.By the observation of Fig. 2, thereby the motion that is appreciated that summit 206 is on the direction opposite with their corresponding sports vector 208.
Motion vector 208 summit or pel with specific on application-level is relevant, or as the function of application programming interfaces.Be designated as dynamically and not with the pel of the vector correlation of nonzero size or summit and be designated as static with the pel of the vector correlation of nonzero size or summit (or with zero big or small vector correlation).For the situation of linear movement as described in Figure 2, single motion vector is enough to describe its relevant path of summit in time D ELTA interval.Forward Fig. 5 to, dynamically the situation of the nonlinear motion of pel 202a is illustrated out.Nonlinear motion comprises that by the linear movement situation is extended a plurality of motion vectors relevant with each summit 206 simulated.In Fig. 5, for example, the first summit 206a and motion vector 208a, 208c, 208e is relevant with 208g, and the second summit 206a and motion vector 208b, 208d, 208f is relevant with 208h.Of the present inventionly thisly comprise that the extension of the situation of nonlinear motion is similar to the situation that known use tooth bar (spline) is represented curve.In simple embodiment, obfuscation solid 210 is represented that by a quadrangular tapes wherein first quadrilateral 211 is defined by motion vector 208a and 208b, and second quadrilateral 213 is defined by motion vector 208c and 208d etc.
Now return Fig. 2, obfuscation solid 210 is represented as the respective edges 204a that is additional to dynamic pel 202a (usually or put together be called edge 204).The size of obfuscation solid 210 and attribute are represented change or change dynamic pel 202a and parameter time correlation.For example be used to represent in the situation of motion in obfuscation, the size of obfuscation solid 210 and attribute are represented in the special time interval of time D ELTA the dynamically position change of pel 202a with minimum value.For being leg-of-mutton situation just by the dynamic pel of obfuscation, the dynamic pel 202a of Fig. 2 for example, each is to the respective edges 204 of summit 206 definition pel 202a.In preferred embodiment of the present invention, obfuscation solid 210 is affixed to the respective edges of dynamic pel 202a.Under the situation of linear movement, preferred embodiment is considered tetragonal obfuscation solid, as the obfuscation solid of describing 210.In this case, obfuscation solid 210 is by the edge 204a definition of the additional dynamic pel 202a thereon of obfuscation solid 210, and by originate in the first summit 206a and end at the first original summit 212a article one straight line 209a, originate in the second summit 206b and end at the second straight line 209b of the second original summit 212b and the 3rd straight line 209c extending limits between the first original summit 212a and the second original summit 212b.Consider the direction and size of coordinate and the first and second motion vector 208a and the 208b of the first and second original summit 206a and 206b respectively, this quadrilateral is determined easily and can be determined in the different phase of perspective process.Be suitable for obtaining among the embodiment of obfuscation solid generation fast at one with minimum application program expense, the obfuscation solid produces with the circuit of the special use in the graphics adapter that is installed in computer graphics system and finishes with rasterization stage, and this point will specify below.
The property control of obfuscation solid 210 and obfuscation come together to finish by the decline factor is got in touch with dynamic pel 202a in a preferred embodiment.Preferably, the attribute (such as color, structure coordinate and transparency) of the obfuscation solid 210 adjacent with its respective edges 204a is complementary with the attribute of edge 204a self.The factor that fails then is employed in a preferred embodiment to reduce the property value on the obfuscation solid 210 along with the increase with the distance at edge 204.Thereby the obfuscation solid 210 that the result obtains looks and fails gradually to the back edge with the 3rd straight line 209c representative from edge 204a.Thereby the color of the obfuscation solid 210 adjacent with edge 204a and the color at edge 204a place are complementary (it obtains from the color attribute of the first and second summit 206a and 206b respectively successively).The decline factor (perhaps by application program or as the part of API pipeline) is assigned to pel 202a and is used, for example reduce away from or move apart the opacity (or enhancing the transparency) of obfuscation solid 210 in the part of solid end of edge 204a.Owing to the decline effect that obtains through the use correlated decline factor described herein is consistent with the decline effect of feeling, the invention provides a kind of effective mechanism that shows mobile object when a people watches the object of rapid movement.Based on the property value of dynamic pel 202a, the size and the decline factor of obfuscation solid 210, the circuit of the attribute information available dedicated of whole graph primitive obtains fast.Obfuscation and the obfuscation technology described herein of using obfuscation solid 210 to obtain produce the obfuscation effect in the shorter time, and can use littler significantly storer by no longer accumulating a plurality of quick photo of scene 200 in big accumulation impact damper.
The process of describing in the earlier paragraphs is expressed out by the process flow diagram of Fig. 4, and it is specialized the specific embodiment in the process flow diagram of Fig. 3 400.Especially, process 400 is the outer circulations that each object in the graphic scene is carried out.Beginning according to the perspective method opinion that comprises the combination that also comprises the motion vector and the decline factor except that traditional perspective technology, is had an X-rayed (step 402) to object.Preferably on rasterization stage, use motion vector then to determine that in step 404 object of considering is static or dynamic (promptly being in the motion).If object is static, object does not need the consideration that adds.But,, interior circulation is carried out at each edge of object if the object that is considered is dynamic.In interior circulation, the motion vector information relevant with each summit makes up with position, color and other attribute on each summit and uses, to calculate position, color and other attribute information on (step 406) original summit (promptly time T-DELTA summit).Vertex information originally is utilized to generate in step 408 the obfuscation solid (for the situation of linear movement) of quadrangular forms then.In one embodiment of the invention, repeat interior circulation for each limit of dynamic object.In other embodiments, as below will discussing, the obfuscation solid only is affixed to the selected edge of dynamic object.Under any situation,, be affixed to their respective edges and be stored in the frame buffer up to the obfuscation solid of all requirements to each object whole process repeated in the scene.
Fig. 6 a and 6b describe another kind of embodiment of the present invention, and wherein the number of the obfuscation solid 210 that each dynamic object 202a is produced is different.In the embodiment that Fig. 6 a describes, to each edge 204 generation obfuscation solids of dynamic pel 202a.In this embodiment, according to above-mentioned method based on the summit that limits the edge 204 that obfuscation solid 210 added to producing each obfuscation solid 210.Thereby the first obfuscation solid 210a is affixed to the first edge 204a (being limited by the first and second summit 206a and 206b), and the second obfuscation solid 210b is affixed to the second edge 204b (being limited by summit 206b and 206c) etc.This embodiment has simple advantage, but can cause the reduction of performance and quality when the obfuscation solid that finally conceals from view produces.The embodiment of Fig. 6 b is by being associated an additional information and utilizing this information to determine whether obfuscation solid 210 should overcome this potential shortcoming to each edge generation with each edge 204.Especially, the embodiment of Fig. 6 b description considers that leading edge/trailing edge information is associated with each edge 204 of dynamic pel 202a.Be illustrative purposes, trailing edge is defined as visible edge 204 in the whole interval of time D ELTA.In the particular case of Fig. 6 b, for example 204a is a trailing edge and edge 204b and 204c are leading edges.Usually unnecessary also the needs produces the obfuscation solid to the leading edge such as 204b and 204c, because additional obfuscation solid conceals from view in the image that shows.Like this, to ignore leading edge during the obfuscation solid produces be preferred and be more effective (the time of distinguishing leading edge needs less than reasonable assumption to time of leading edge generation obfuscation solid needs under).But, the obfuscation solid is additional to the process of dynamic pel 202a even in fact the combination of leading edge/trailing edge information has slowed down, also only when improving the quality of final image, expectation need selectively produce the obfuscation solid to leading edge.Picture quality can be damaged by not answering the appearance of descried obfuscation solid.Extending among Fig. 6 b of this notion further is expressed out by pel of hiding 600 and its relevant obfuscation solid 610.Depth information is known for each pel in the graphic scene, such as the object of hiding of object 600 can be from the deleted scene of eliminating demonstration of frame buffer undesirable unit.
Now forward Fig. 7 a to, 7b, 7c and 8, contact the present invention has considered the situation of structure mapping reflection.Dynamic object and their composition pel always do not keep identical quality profile.Reflection class at body surface may change with movement of objects.In the traditional fuzzy method that uses accumulation, each photo that is used to produce the obfuscation effect of graphic scene is calculated the image of reflection again.Seldom need the detail that reflects.One embodiment of the present of invention consider a kind of the obfuscation solid is realized that the method for reflected image, this obfuscation solid do not need to be produced several reflect skeleton views.This embodiment is suitable for using with the fluoroscopy system of supporting the 3D structure, and this 3D structure uses " s " and " t " to represent the 2D structure coordinate, and " r " represents the 3rd coordinate.In this embodiment, " s " and " t " structure coordinate is used to index structure in a conventional manner, and uses " r " index to come sign time rather than space.In this method, a plurality of reflected images generate at different time points.Under the situation of linear movement, as shown in Figure 8, produce a pair of reflected image.Although being exemplified as of describing only uses two reflected images to illustrate embodiments of the invention for simplicity, should be easily understood that and to use plural reflected image.Begin to locate to appear at reflection in the surface of dynamic pel 202a in special time DELTA interval in the reflected image 701 that the representative of first reflected image shown in the dynamic pel 202b of Fig. 7 a is described from Fig. 7 c, and the second reflected image 202a of Fig. 7 b representative appears at reflection in the surface of dynamic pel 202a (i.e. reflection in the surface at the pel 202a of current time) in the end in special time interval.Realize the degree of accuracy of additional levels by the additional reflected image of even separated interval perspective in whole special time interval.These reflected images are loaded in the 3D rendering successively then." s " of obfuscation solid 210 and " t " structure coordinate then are defined according to traditional reflection mapping, " r " coordinate is restricted to 0.0 on the part of the interval beginning of representative special time of obfuscation solid simultaneously, and " r " is restricted to 1.0 on the part that finishes between the representative given zone of obfuscation solid.In the situation of the linear movement of quadrilateral obfuscation solid, along the edge 204a of pel 202a, r=1.0, and at edge 209c, r=0.0.Then, by being set, the structure married operation use two-wire to intersect smoothly and to the remainder generation reflected image of obfuscation solid 210 at the color of mixed reflection image between initial reflection image and the final reflected image.
Now forward Fig. 9 to, provide the method that description being used to according to another embodiment of the invention use motion vector to realize motion blurization or the process flow diagram of image processing techniques 900.In the represented embodiment of the description of the process flow diagram of Fig. 9 and Figure 10-13, motion vector and the property value utilization decline factor values that limits each summit of dynamic pel stride across all pels (or its part) and are interpolated to produce the straight line of one group of motion.Especially with reference to figure 9, the motion vector and the decline factor are associated with each summit of dynamic pel in step 902 and 904 modes with original description respectively.In step 906, the summit raster data strides across one group of pixel of dynamic pel 202a qualification and is interpolated then.The summit raster data comprises position, color, structure coordinate, transparency and other suitable information.It is fixed according to embodiment that raster data strides across its this group pixel that is interpolated.In the embodiment that needs effective performance (through promptly having an X-rayed fast) shown in Figure 10, this group pixel is restricted to pixel along the edge 204 of pel 202a.In the superior quality of needs (promptly the having an X-rayed more accurately) embodiment that Figure 11 describes, stride its this group pixel of carrying out interpolation and comprise all pixels that are included among the pel 202a.Regardless of the embodiment that selects, interpolation process produces the pixel data of one group of interpolation, and wherein each component units that should organize in the data is organized the component units of pixel corresponding to this.In step 908, motion vector is carried out similar interpolation.In other words, the phase pixel on the same group that the motion vector relevant with the summit of pel 202a striden the interpolation that is used for step 906 is interpolated, to produce one group of interpolation motion vector corresponding to this group pixel.Although Fig. 9 has clearly represented interpolation step 906 and 908, be appreciated that these steps are synthesized together according to carrying out in fact.After the interpolation of summit raster data and motion vector information was finished, each pixel in the pixel groups of qualification had relevant motion vector and grating information.This information is interpolated to produce one group along motion vector direction (i.e. the edge direction opposite with traffic direction) line of motion that die down gradually and that cause the obfuscation of relevant pel 202a along the direction of the motion vector that is associated with the decline factor then.Figure 12 and 13 describes the specific situation that needs special consideration of using this image processing techniques 900 that realizes motion blurization.Figure 12 represents the situation to implosive motion, wherein in the size of the pel 202a of end of time interval DELTA less than the size that begins to locate in the interval.In this case, the line of motion that produces in the step 910 of method 900 radiates along different directions, produces the star burst effect of usually purpose that requires inadequately being reversed.For this situation is described, one embodiment of the present of invention are considered configuration motion triangle that limited by adjacent line of motion and that show with Reference numeral 230 in Figure 12.These triangles 230 can be by keeping the front the line of motion information of pixel suitably dispose.By contrast, Figure 13 represents wherein in the outside explosion campaign greater than the size that begins to locate in the interval of the size of the pel 202a of end of interval DELTA.In this case, line of motion 215 converges and may be overlapping near the terminating point of line of motion 215.In this case, overlapping line of motion will trend towards undesirably amplifying the intensity corresponding to the pixel of more than one line of motion.For resisting this effect, outwards the situation of explosion campaign is by dwindling straight line explanation, thereby straight line is narrower than a pixel on width.Because small number of pixels can not be utilized, this effect can realize that N representative here is corresponding to the number of the overlapping straight line of the pixel that provides by the opacity of dwindling the line of motion pixel by factor 1/N.For example, if the pixel that provides corresponding to 3 line of motion 215, the opacity of the pixel of interpolation can multiply by 1/3 and be used for each overlapping line of motion, produces the pixel of suitable intensity.
Now forward Figure 14 to, described the simplified block diagram of the representational computer system 140 that is suitable for carrying out the obfuscation technology of describing with respect to Fig. 2-13.System 140 comprises one or more processing unit 142a...142n that are coupled in host bus 144 respectively.System storage 146 is can be addressable from host bus 144 through memory control unit 145, and it can be used as discontinuously device and implements or be integrated in processing unit 142 or the bridge 148.Bridge 148 resides between host bus 144 and the peripheral bus 150 and promotes communicating by letter between two kinds of buses.Peripheral bus 150 preferably with based on known any consistent such as in the various industrial standard peripheral buses of PCI, MAC or EISA system of the field of microprocessors of computer system.Graphics adapter 152 according to the present invention is connected to peripheral bus 150 and promotes to reside in the perspective of the graphic scene of the application program generation in the system storage 146.Graphics adapter 152 preferably includes internal storage device or storer, also comprises the various internal circuit (not shown in FIG.)s of the peripheral bus that communicates by itself and peripheral bus 150 such as graphics adapter 152.Graphics adapter 152 also comprises and is suitable for allowing adapter 152 to come the frame buffer interface of managing frame buffer device 153.Frame buffer 153 is to be used to store the memory device that is used for the specific purposes of the numeral of the graph image of demonstration on display device 156.Video Controller 154 is fit to use the image that is stored in the frame buffer 153 to refresh display device 156.Video Controller 154 can be assembled in the graphics adapter 152, and perhaps another kind of situation is to comprise discontinuous device.Similarly, frame buffer 153 can be assembled in the graphics adapter 152 or in Video Controller 154.Graphics adapter 152 also comprises in order to carry out with respect to Fig. 3 the proper device of 4 and 9 methods of describing.For the embodiment that points out in the obfuscation solid method of Fig. 3 and 4, graphics adapter 152 can comprise that special-purpose obfuscation solid produces circuit or is stored in computer instruction form on the graphics adapter memory device and be suitable for the software carried out by the processing unit of adapter 152, or comprise the combination of circuit and software.In this embodiment, the obfuscation solid generator of adapter 152 is configured to discern dynamic pel (promptly requiring the pel of obfuscation) and response and comes therewith to determine and add suitable obfuscation solid in the edge of the requirement of dynamic pel.Another kind of situation is that the relative simple obfuscation solid method of describing with respect to Fig. 3 and 4 allows them suitably to be built in the application program that is stored in system storage 145.Realize the embodiment that the image processing method of obfuscation points to respect to Fig. 9 being used for of describing in front, graphics adapter 152 preferably includes motion vector detection, interpolation and line of motion and produces circuit to produce suitable line of motion.Although graphic processing method can be assembled in the application program imaginably, be appreciated that the graphic processing method of more preferably in hardware, carrying out relative complex with Pixel-level.
For the those skilled in the art of the advantage of being familiar with having content of the present invention, obviously the present invention has considered a kind of effective method, device and system that realizes such as the time-based graphical effect of motion blurization.Be appreciated that specifying the form of the present invention of describing and representing with accompanying drawing is as current preferred exemplary.The invention is intended on broad sense, comprise all distortion of preferred embodiment disclosed herein by following claim.
Claims (20)
1. graphic display method may further comprise the steps:
Motion vector is associated with each summit of graph primitive, and wherein motion vector is represented the variation of the time-varying parameter of related top;
The decline factor is associated with graph primitive;
It is characterized in that also comprising:
The raster data that strides across the one group of pixel interpolating graph primitive summit that is limited by graph primitive is to produce one group of raster data, and wherein each member of this group raster data is associated with the corresponding member of this group pixel;
The motion vector data that strides across this group pixel interpolating graph primitive summit is to produce one group of corresponding pixel vector;
The direction of representing according to the corresponding pixel vector of the decline factor by the edge from the decline factor, this group raster data and this group pixel vector produces one group of line of motion.
2. method as claimed in claim 1 is characterized in that time-varying parameter comprises the position of graph primitive.
3. method as claimed in claim 1 is characterized in that this group pixel comprises the edge limited pixel of graph primitive.
4. method as claimed in claim 1 is characterized in that this group pixel comprises all pixels that graph primitive limits.
5. method as claimed in claim 1 also is included in the motion triangle that perspective is limited by adjacent line of motion under the implosive motion conditions.
6. method as claimed in claim 1 also is included in the transparency of determining the part line thickness of line of motion under the outside explosion motion conditions and increasing each line of motion based on aforementioned partial width.
7. computer system comprises:
At least one is connected in the processing unit of host bus;
One from the addressable system storage of host bus;
A bridge that between host bus and peripheral bus, is coupled, wherein bridge is suitable for promoting communicating by letter between host bus and the peripheral bus;
A graphics adapter that is coupled in bridge,
It is characterized in that this adapter is configured to:
The raster data that is associated with the summit of graph primitive striden across one group of pixel interpolating limiting by graph primitive to produce corresponding one group of raster data;
The motion vector data that is associated with each graph primitive summit is striden across this group pixel interpolating to produce corresponding one group of pixel vector, and wherein motion vector data is represented the time-varying parameter on a relevant summit; And
From the decline factor, this group raster data and this group pixel vector that are associated with graph primitive by producing one group of line of motion along directional interpolation raster data according to the corresponding pixel vector representative of the decline factor;
A frame buffer that is suitable for graphics pel and this group line of motion; And
A Video Controller that is suitable for the image refreshing display screen of representative frame content of buffer.
8. computer system as claimed in claim 7 is characterized in that time-varying parameter comprises the position on summit.
9. computer system as claimed in claim 7 is characterized in that this group pixel comprises the edge limited pixel of graph primitive.
10. computer system as claimed in claim 7 is characterized in that this group pixel comprises all pixels that graph primitive limits.
11. computer system as claimed in claim 7 is characterized in that described adapter also is configured to the motion triangle that is limited by adjacent line of motion in perspective under the implosive motion conditions.
12. computer system as claimed in claim 7 is characterized in that the transparency that described adapter also is configured to determine the part line thickness of each line of motion under outside explosion motion conditions and increases each line of motion according to the overlapping above-mentioned partial width of adjacent line of motion.
13. a graphics adapter comprises:
Configuration promotes the bus interface of communicating by letter with the peripheral bus of computing machine;
Be used for the raster data that is associated with the summit of graph primitive of handle and stride across one group of pixel interpolating limiting by graph primitive to produce the device of corresponding one group of raster data;
Be used for the device that a motion vector data that is associated with each graph primitive summit strides across one group of corresponding pixel vector interpolation, wherein motion vector data is represented a time-varying parameter of related top;
It is characterized in that also comprising:
Use the decline factor relevant, this group raster data and this group pixel vector by along one group of line of motion being additional to graph primitive according to the directional interpolation raster data of the corresponding pixel vector representative of the decline factor with graph primitive; And
One is suitable for graph primitive and additional motion straight line are stored in frame buffer interface in the frame buffer of computer system.
14., it is characterized in that described adapter apparatus comprises a line of motion generator circuit as the graphics adapter of claim 13.
15., it is characterized in that this device comprises the graphics adapter memory device that is disposed by the computer instruction that the graphics adapter processor is carried out with being suitable for as the graphics adapter of claim 13.
16., it is characterized in that time-varying parameter comprises the position of related top as the graphics adapter of claim 13.
17., it is characterized in that this group pixel comprises the edge limited pixel of graph primitive as the graphics adapter of claim 13.
18., it is characterized in that this group pixel comprises all pixels that graph primitive limits as the graphics adapter of claim 13.
19., it is characterized in that described adapter also is configured to the motion triangle that is limited by adjacent line of motion in perspective under the implosive motion conditions as the graphics adapter of claim 13.
20., it is characterized in that the transparency that described adapter also is configured to determine the part line thickness of each line of motion under outside explosion motion conditions and increases each line of motion according to the width of the overlapping part of adjacent line of motion as the graphics adapter of claim 13.
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US34344599A | 1999-06-30 | 1999-06-30 | |
US09/343,445 | 1999-06-30 | ||
US09/343445 | 1999-06-30 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1290907A CN1290907A (en) | 2001-04-11 |
CN1201268C true CN1201268C (en) | 2005-05-11 |
Family
ID=23346151
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB001188569A Expired - Fee Related CN1201268C (en) | 1999-06-30 | 2000-06-15 | Image process for realizing moving fuzzification |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1201268C (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6897871B1 (en) * | 2003-11-20 | 2005-05-24 | Ati Technologies Inc. | Graphics processing architecture employing a unified shader |
US7190366B2 (en) * | 2004-05-14 | 2007-03-13 | Nvidia Corporation | Method and system for a general instruction raster stage that generates programmable pixel packets |
CN103455969B (en) | 2013-08-28 | 2019-06-04 | 腾讯科技(成都)有限公司 | The method and device of image procossing |
GB2541928B (en) * | 2015-09-04 | 2018-01-31 | Advanced Risc Mach Ltd | Graphics processing systems |
JP7159866B2 (en) * | 2016-09-30 | 2022-10-25 | 株式会社ニコン | Imaging device and program |
CN106993134B (en) * | 2017-03-31 | 2020-01-07 | 努比亚技术有限公司 | Image generation device and method and terminal |
CN107705361A (en) * | 2017-09-27 | 2018-02-16 | 中国舰船研究设计中心 | A kind of naval vessel three-dimensional situation figure methods of exhibiting based on data-driven |
US12020442B2 (en) | 2019-06-25 | 2024-06-25 | Arm Limited | Graphics processing systems |
US11270492B2 (en) * | 2019-06-25 | 2022-03-08 | Arm Limited | Graphics processing systems |
-
2000
- 2000-06-15 CN CNB001188569A patent/CN1201268C/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN1290907A (en) | 2001-04-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5742749A (en) | Method and apparatus for shadow generation through depth mapping | |
EP0464907B1 (en) | Generating an image | |
US5805782A (en) | Method and apparatus for projective texture mapping rendered from arbitrarily positioned and oriented light source | |
US5704024A (en) | Method and an apparatus for generating reflection vectors which can be unnormalized and for using these reflection vectors to index locations on an environment map | |
US6529207B1 (en) | Identifying silhouette edges of objects to apply anti-aliasing | |
US5357599A (en) | Method and apparatus for rendering polygons | |
Darsa et al. | Navigating static environments using image-space simplification and morphing | |
US20030234789A1 (en) | System and method of simulating motion blur efficiently | |
US6226005B1 (en) | Method and system for determining and/or using illumination maps in rendering images | |
US6031542A (en) | Image processing method and arrangement for the display of reflective objects | |
US6359619B1 (en) | Method and apparatus for multi-phase rendering | |
CA2301607C (en) | An improved method and apparatus for per pixel mip mapping and trilinear filtering | |
Hanson et al. | Interactive visualization methods for four dimensions | |
CN112184575A (en) | Image rendering method and device | |
US20070120858A1 (en) | Generation of motion blur | |
JP2000504453A (en) | Method and apparatus for generating computer graphics images | |
CN1201268C (en) | Image process for realizing moving fuzzification | |
US5745667A (en) | 3d graphics apparatus using texture images with displacement information | |
US20020135587A1 (en) | System and method for implementing accumulation buffer operations in texture mapping hardware | |
Shelley et al. | Path specification and path coherence | |
US5793372A (en) | Methods and apparatus for rapidly rendering photo-realistic surfaces on 3-dimensional wire frames automatically using user defined points | |
US5739818A (en) | Apparatus and method for performing perspectively correct interpolation in computer graphics | |
KR100429092B1 (en) | Graphic image processing method and apparatus | |
US6924805B2 (en) | System and method for image-based rendering with proxy surface animation | |
GB2302001A (en) | Computer graphics system having per pixel depth cueing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C06 | Publication | ||
PB01 | Publication | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C19 | Lapse of patent right due to non-payment of the annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |