CN103310479A - Image processing method and electronic equipment - Google Patents
Image processing method and electronic equipment Download PDFInfo
- Publication number
- CN103310479A CN103310479A CN2012100642466A CN201210064246A CN103310479A CN 103310479 A CN103310479 A CN 103310479A CN 2012100642466 A CN2012100642466 A CN 2012100642466A CN 201210064246 A CN201210064246 A CN 201210064246A CN 103310479 A CN103310479 A CN 103310479A
- Authority
- CN
- China
- Prior art keywords
- image
- images
- parts
- engine
- generate
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 19
- 238000000034 method Methods 0.000 claims description 52
- 238000012545 processing Methods 0.000 claims description 31
- 230000000694 effects Effects 0.000 claims description 14
- 238000009877 rendering Methods 0.000 abstract description 17
- 238000010586 diagram Methods 0.000 description 5
- 230000007423 decrease Effects 0.000 description 3
- 230000015572 biosynthetic process Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000013467 fragmentation Methods 0.000 description 2
- 238000006062 fragmentation reaction Methods 0.000 description 2
- 230000001419 dependent effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Landscapes
- Image Generation (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
An embodiment of the invention provides an image processing method and electronic equipment. The image processing method comprises: identifying one or more first portion images and second portion images which are all included in an obtained first image through a first graphics engine, and sending the second portion images to a second graphics engine; performing a first rendering on the first portion images through the first graphics engine and generating third portion images; performing a second rendering on the second portion images through the second graphics engine and generating fourth portion images which are then sent to the first graphics engine; performing a first rendering on the fourth portion images through the first graphics engine and generating fifth portion images; and outputting the third portion images and the fifth portion images, wherein the first graphics engine is either a two-dimension graphics engine or a three-dimension graphics engine, and the second graphics engine is the other one of the two-dimension graphics engine and the three-dimension graphics engine.
Description
Technical field
Embodiments of the invention relate to a kind of image processing method and electronic equipment.More specifically, embodiments of the invention relate to a kind of image processing method and electronic equipment that can carry out efficiently the three-dimensional picture processing.
Background technology
In recent years, along with the development of technology, for example the electronic equipment of smart phone, personal digital assistant (PDA), portable computer, tablet computer, personal computer, multimedia player and so on is widely used.Experience in order to improve the user, the graphical interfaces of increasing operating system and application program has comprised the three-dimensional picture display effect.
In current electronic equipment, playing up and generating of graphical interfaces can be divided into two-dimensional process and 3D processing.Owing to can not carry out X-Y scheme processing and three-dimensional picture processing by X-Y scheme engine and three-dimensional picture engine simultaneously, when certain application need to show the two and three dimensions picture simultaneously, usually can calculate by CPU (central processing unit) (CPU), so that two dimensional image is carried out 3D processing, namely, generate pseudo-three-dimensional image, yet this method need to expend larger cpu resource, and display effect has decline.
In addition, also can adopt the graphics processing unit such as game engine and so on, to pass through three-dimensional rendering two dimension interface.Yet this method can cause graphics processing unit (GPU) burden larger, and the two-dimentional display effect of three-dimensional rendering also descends to some extent in addition, especially can produce a large amount of sawtooth.Therefore be desirable to provide a kind of efficient high, effective, and can support the image of complex three-dimensional display effect to process.
Summary of the invention
Therefore, the present invention wishes to propose a kind of image processing method and corresponding electronic equipment to overcome the above problems.
One embodiment of the present of invention provide a kind of image processing method, are used for electronic equipment.Described method comprises: obtain the first image; Identify one or more first's image and one or more second portion image that comprises in the first image by the first graphics engine, and the second portion image sent to the second graph engine, wherein first's image need carry out the first graphics process, and the second portion image need carry out the second graph processing; By the first graphics engine first's image is carried out first and play up and generate the third part image; By the second graph engine second portion image is carried out second and play up and generate the 4th parts of images, and the 4th parts of images is sent to the first graphics engine; By the first graphics engine the 4th parts of images is carried out first and play up and generate the 5th parts of images; Output third part image and the 5th parts of images.Wherein, the first graphics engine is in X-Y scheme engine and the three-dimensional picture engine, and the second graph engine is in X-Y scheme engine and the three-dimensional picture engine another.
Another embodiment of the present invention provides a kind of electronic equipment, comprising: image acquisition unit, and configuration obtains the first image; The first graphics engine, one or more first's image and one or more second portion image that comprises in the first image identified in configuration, and the second portion image is sent to the second graph engine of electronic equipment, wherein first's image need carry out the first graphics process, and the second portion image need carry out the second graph processing; The first graphics engine also configures and first's image is carried out first plays up and generate the third part image; The second graph engine, configuration is carried out second to the second portion image and is played up and generate the 4th parts of images, and the 4th parts of images is sent to the first graphics engine; The first graphics engine also configures and the 4th parts of images is carried out first plays up and generate the 5th parts of images; Described electronic equipment also comprises: the image output unit, third part image and the 5th parts of images are exported in configuration.Wherein, the first graphics engine is in X-Y scheme engine and the three-dimensional picture engine, and the second graph engine is in X-Y scheme engine and the three-dimensional picture engine another.
Image processing method and electronic equipment by the embodiment of the invention can play up and generate two dimensional image and 3-D view efficiently to graphical interfaces, with two dimensional image and the 3-D view in the while display graphics interface.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention, the below will briefly describe the accompanying drawing of required use in the embodiments of the invention description.
Fig. 1 has described the according to an embodiment of the invention process flow diagram of image processing method.
Fig. 2 shows according to one embodiment of present invention, the illustrative circuitry structural drawing of USB (universal serial bus) being controlled by the second processing unit.
Fig. 3 is the demonstrative structure block diagram that electronic equipment according to an embodiment of the invention is shown.
Embodiment
Hereinafter, describe the preferred embodiments of the present invention in detail with reference to accompanying drawing.Note, in this instructions and accompanying drawing, have substantially the same element and represent with identical Reference numeral, and will be omitted the repetition of explanation of these elements.
In following examples of the present invention, the concrete form that electronic equipment refers to includes but not limited to for example electronic equipment of smart phone, personal digital assistant (PDA), tablet computer, personal computer, portable computer, multimedia player and so on.
Fig. 1 is the process flow diagram of having described image processing method 100 according to an embodiment of the invention.Below, with reference to Fig. 1 according to an embodiment of the invention image processing method is described.Image processing method 100 can be used for above-mentioned electronic equipment.
As shown in Figure 1, in step S101, the first image that acquisition will be shown.In step S102, identify one or more first's image and one or more second portion image that comprises in the first image by the first graphics engine, and the second portion image is sent to the second graph engine.Wherein first's image need carry out the first graphics process, and the second portion image need carry out the second graph processing.According to an example of the present invention, the first graphics engine can be the X-Y scheme engine, and the second graph engine can be the three-dimensional picture engine, and the first graphics process can be that X-Y scheme is processed, and second graph to process can be that three-dimensional picture is processed.Replacedly, the first graphics engine can be the three-dimensional picture engine, and the second graph engine can be the X-Y scheme engine, and the first graphics process can be that three-dimensional picture is processed, and second graph to process can be that X-Y scheme is processed.
In step S103, by the first graphics engine first's image is carried out first and play up and generate the third part image.On the other hand, in step S104, by the second graph engine second portion image is carried out second and play up and generate the 4th parts of images, and the 4th parts of images is sent to the first graphics engine.Then, in step S105, by the first graphics engine the 4th parts of images is carried out first and play up and generate the 5th parts of images.
Be the X-Y scheme engine at the first graphics engine, and the second graph engine is in the situation of three-dimensional picture engine, first to play up can be that two dimension is played up, and second to play up can be three-dimensional rendering.Replacedly, be the three-dimensional picture engine at the first graphics engine, and the second graph engine is in the situation of X-Y scheme engine, first to play up can be three-dimensional rendering, and second to play up can be that two dimension is played up.
For example, be the X-Y scheme engine at the first graphics engine, and the second graph engine is in the situation of three-dimensional picture engine, in step S103, can carry out two dimension to first's image by the X-Y scheme engine and play up and generate the third part image.On the other hand, in step S104, by the three-dimensional picture engine second portion image is carried out three-dimensional rendering and generates the 4th parts of images, and the 4th parts of images is sent to the X-Y scheme engine.Then, in step S105, by the X-Y scheme engine the 4th parts of images is carried out two dimension and play up and generate the 5th parts of images.
Replacedly, be the three-dimensional picture engine at the first graphics engine, and the second graph engine is in the situation of X-Y scheme engine, in step S103, can carry out three-dimensional rendering and generate the third part image first's image by the three-dimensional picture engine.On the other hand, in step S104, by the X-Y scheme engine second portion image is carried out two dimension and play up and generate the 4th parts of images, and the 4th parts of images is sent to the three-dimensional picture engine.Then, in step S105, by the three-dimensional picture engine the 4th parts of images is carried out three-dimensional rendering and generates the 5th parts of images.
In addition, according to another example of the present invention, in step S104, can determine and to process the second image that described second portion image carries out.And the second graph engine is processed according to the second image and the second portion image is carried out second is played up and generate the 4th parts of images.The second image is processed and can be comprised, for example, second fills processing.The second graph engine carries out second to the second portion image and fills processing, has the 4th parts of images of the second image texture with generation.Similarly, in step S105, by the first graphics engine the 4th parts of images being carried out first plays up and generates the 5th parts of images and can comprise: by the first graphics engine the 4th parts of images is carried out first and fill and process, and generate the 5th parts of images with first image texture.
For example, the X-Y scheme engine at the first graphics engine, and the second graph engine is in the situation of three-dimensional picture engine, in step S104, can determine and to process for example 3-D view of three-dimensional filling, rotation, fragmentation and so on that described second portion image carries out, have the 4th parts of images of 3-D view texture with generation, and the 4th parts of images that will have a 3-D view texture sends to the X-Y scheme engine.And in step S105, will again intercept through the 4th parts of images that 3-D view is processed by the X-Y scheme engine and be two dimensional image, and the 4th parts of images is carried out two dimension fill and process, and generation has the 5th parts of images of two dimensional image texture.Because the first graphics engine is the three-dimensional picture engine, and the second graph engine be the situation of X-Y scheme engine and this example class seemingly, therefore do not repeat them here.
At last, in step S106, output third part image and the 5th parts of images.According to an example of the present invention, in step S106, exportable third part image and the 5th parts of images have 3-D display effect the second image with formation.In addition, according to another example of the present invention, can be by two dimensional image output unit output third part image and the 5th parts of images.Replacedly, also can be by 3-D view output unit output third part image and the 5th parts of images.
Can play up and generate two dimensional image and 3-D view to graphical interfaces by the image processing method in the embodiment of the invention, with two dimensional image and the 3-D view in the while display graphics interface.In addition, the image processing method of the embodiment of the invention can be processed the 3-D display image efficiently, reduce period of reservation of number, and has avoided the decline of the display effect of 3-D view and two dimensional image in the graphical interfaces, has improved user's experience.
In an example according to the present invention, can carry out the image processing to the part that needs in the first image to carry out 3-D display frame by frame.Fig. 2 a to Fig. 2 d has gone out according to one embodiment of present invention, frame by frame the part that needs in the first image to carry out 3-D display is carried out the schematic diagram that image is processed.
In the example shown in Fig. 2 a to Fig. 2 d, shown in Fig. 2 a and Fig. 2 b, at the reference frame take electronic equipment as object of reference (for example, shown in Fig. 2 a, the lower left corner of shown graphical interfaces 200 is as coordinate origin O in the electronic equipment display unit, below each figure all like this) in, the Width of supposing electronic equipment is the x axle, thickness direction is the y axle, and short transverse is the z axle.In the shown graphical interfaces 200 of electronic equipment, icon 210 can the z axle be turning axle, is rotated at x axle and the definite plane of y axle.And icon 220 and 230 is the X-Y scheme on the plane that x axle and z axle are determined.
In the present embodiment, be the X-Y scheme engine with the first graphics engine, be that example is described and the second graph engine is the three-dimensional picture engine.Because the first graphics engine is the three-dimensional picture engine, and that the second graph engine is situation and the present embodiment of X-Y scheme engine is similar, therefore do not repeat them here.According to the method 100 shown in Fig. 1, in step S101, can intercept frame by frame the graphical interfaces 200 that will show.Then, according to step S102, identify the needs that comprise in the first image by the X-Y scheme engine and carry out the icon 220 and 230 that X-Y scheme is processed, and identification need to be carried out the icon 210 that three-dimensional picture is processed frame by frame.For example, shown in Fig. 2 a, in the first frame, icon 210 can be just facing to the beholder.In the second frame, icon 210 can be rotated in a clockwise direction certain angle around turning axle.Particularly, shown in Fig. 2 b, the first side 212 of icon 210 will be shown as the primary importance away from the beholder, and the Second Edge 214 of icon 210 will be shown as the primary importance near the beholder.In the 3rd frame, shown in Fig. 2 c, icon 210 can further be rotated in a clockwise direction certain angle.Particularly, the first side 212 of icon 210 will be shown as the second place away from the beholder, and the Second Edge 214 of icon 210 will be shown as the second place near the beholder.
Then, according to step S103, by the X-Y scheme engine icon 220 and 230 is carried out two dimension and play up and generate the third part image.On the other hand, then, according to step S104, frame by frame icon 210 parts of images are carried out three-dimensional rendering and generate to have the 4th parts of images of 3-D view texture by the three-dimensional picture engine, and frame by frame the 4th parts of images is sent to the X-Y scheme engine.
According to step S105, frame by frame the 4th parts of images is carried out two dimension by the X-Y scheme engine and play up and generate the 5th parts of images with two dimensional image texture.At last, according to step S106, the third part image that output has two-dimentional display effect, and export frame by frame the 5th parts of images with 3-D display effect.
Thereby when the user watches graphical interfaces 200, shown in Fig. 2 d, can see the icon 220 that in graphical interfaces 200, is shown as two dimensional image and 230 and around the rotation parallel with z axle icon 210 that turn clockwise, that have the 3-D display effect.
In the example shown in Fig. 2 a-Fig. 2 d, to show a window in the display screen of electronic equipment, that is, graphical interfaces 200 is described for example.Particularly, will be in graphical interfaces 200 shown image according to the first image that obtains among the step S101, and in step S105, will output in the first window through third part image and the 5th parts of images that X-Y scheme is processed and three-dimensional picture is processed at last.
Yet, it should be noted that to the invention is not restricted to this.In interchangeable example, in the display screen of electronic equipment, show a plurality of windows, and the first image can comprise will be in a plurality of windows shown image.In the case, according to method shown in Figure 1, in step S101, can obtain will be in a plurality of windows shown image.After obtaining will be in a plurality of windows shown image, the step S101 in the method shown in Figure 1 also can further comprise according to a plurality of windows the image that obtains is identified, the image that is obtained with indication and the corresponding relation of window.
Correspondingly, identify one or more first's image and one or more second portion image that comprises in the first image by the first graphics engine according to step S102 after, method shown in Fig. 1 also can comprise according to a plurality of windows first's image and second portion image are identified, with the corresponding relation of indication first's image and second portion image and window.
Described first image is being carried out by the identification of described the first graphics engine according to step S103 first play up and generate the third part image after, method shown in Fig. 1 also can comprise according to a plurality of windows the third part image is identified, with the corresponding relation of indication third part image and window.On the other hand, the second portion image is carried out by the second graph engine according to step S104 second play up and generate the 4th parts of images after, method shown in Fig. 1 also can comprise according to a plurality of windows the 4th parts of images is identified, to indicate the corresponding relation of the 4th parts of images and window.And the 4th parts of images is carried out by the first graphics engine according to step S105 first play up and generate the 5th parts of images after, method shown in Fig. 1 also can comprise according to a plurality of windows the 5th parts of images is identified, to indicate the corresponding relation of the 5th parts of images and window.
Thereby when step S106 carries out image output in according to Fig. 1, can according to the sign of third part image and the sign of the 5th parts of images, third part image and the 5th parts of images be outputed to corresponding window.
Can play up and generate two dimensional image and 3-D view to the graphical interfaces of a plurality of for example application windows and so on simultaneously by the image processing method in the embodiment of the invention, to show simultaneously two dimensional image and the 3-D view in a plurality of graphical interfaces.
Below, the electronic equipment of one embodiment of the present of invention is described with reference to Fig. 3.Fig. 3 is the demonstrative structure block diagram that electronic equipment 300 according to an embodiment of the invention is shown.As shown in Figure 3, the electronic equipment 300 of the present embodiment can comprise image acquisition unit 310, the first graphics engine 320, second graph engine 3 30 and image output unit 340.The unit of electronic equipment 300 is carried out each step/function of the image processing method among above-mentioned Fig. 1, and is therefore succinct in order to describe, and no longer specifically describes.
For example, image acquisition unit 310 first image that can obtain to be shown.Then, the first graphics engine 320 can be identified one or more first's image and one or more second portion image that comprises in the first image, and the second portion image is sent to the second graph engine of electronic equipment.Wherein first's image need carry out the first graphics process, and the second portion image need carry out the second graph processing.According to an example of the present invention, the first graphics engine can be the X-Y scheme engine, and the second graph engine can be the three-dimensional picture engine, and the first graphics process can be that X-Y scheme is processed, and second graph to process can be that three-dimensional picture is processed.Replacedly, the first graphics engine can be the three-dimensional picture engine, and the second graph engine can be the X-Y scheme engine, and the first graphics process can be that three-dimensional picture is processed, and second graph to process can be that X-Y scheme is processed.
In addition, the first graphics engine also can carry out first to first's image and plays up and generate the third part image.On the other hand, the second graph engine can carry out second to the second portion image and play up and generate the 4th parts of images, and the 4th parts of images is sent to the first graphics engine.Then, the first graphics engine also can carry out first to the 4th parts of images and plays up and generate the 5th parts of images.
Be the X-Y scheme engine at the first graphics engine, and the second graph engine is in the situation of three-dimensional picture engine, first to play up can be that two dimension is played up, and second to play up can be three-dimensional rendering.Replacedly, be the three-dimensional picture engine at the first graphics engine, and the second graph engine is in the situation of X-Y scheme engine, first to play up can be three-dimensional rendering, and second to play up can be that two dimension is played up.
For example, be the X-Y scheme engine at the first graphics engine, and the second graph engine is in the situation of three-dimensional picture engine, the X-Y scheme engine can carry out two dimension to first's image and play up and generate the third part image.On the other hand, the three-dimensional picture engine can carry out three-dimensional rendering and generate the 4th parts of images the second portion image, and the 4th parts of images is sent to the X-Y scheme engine.Then, the X-Y scheme engine also can carry out two dimension to the 4th parts of images and plays up and generate the 5th parts of images.
Replacedly, be the three-dimensional picture engine at the first graphics engine, and the second graph engine is in the situation of X-Y scheme engine, the three-dimensional picture engine can carry out three-dimensional rendering and generate the third part image first's image.On the other hand, the X-Y scheme engine can carry out two dimension to the second portion image and play up and generate the 4th parts of images, and the 4th parts of images is sent to the three-dimensional picture engine.Then, the three-dimensional picture engine can carry out three-dimensional rendering and generate the 5th parts of images the 4th parts of images.
Alternatively, according to an example of the present invention, electronic equipment can comprise that also second processes determining unit.Second processes determining unit can determine and need to process the second image that the second portion image carries out.The second graph engine is processed according to the second image and the second portion image is carried out second is played up and generate the 4th parts of images.The second image is processed and can be comprised, for example, second fills processing.The second graph engine carries out second to the second portion image and fills processing, has the 4th parts of images of the second image texture with generation.Then, the first graphics engine can carry out the first filling processing to the 4th parts of images to be played up to carry out first, and generates the 5th parts of images with first image texture.
For example, the X-Y scheme engine at the first graphics engine, and the second graph engine is in the situation of three-dimensional picture engine, second processes determining unit can determine and need to process for example 3-D view of three-dimensional filling, rotation, fragmentation and so on that described second portion image carries out, have the 4th parts of images of 3-D view texture with generation, and the 4th parts of images that will have a 3-D view texture sends to the X-Y scheme engine.Then, the X-Y scheme engine will again intercept through the 4th parts of images that 3-D view is processed and be two dimensional image, and the 4th parts of images be carried out two dimension fill processing, and generate the 5th parts of images with two dimensional image texture.Because the first graphics engine is the three-dimensional picture engine, and the second graph engine be the situation of X-Y scheme engine and this example class seemingly, therefore do not repeat them here.
At last, image output unit 340 exportable third part image and the 5th parts of images.According to an example of the present invention, image output unit 340 exportable third part images and the 5th parts of images have 3-D display effect the second image with formation.In addition, according to another example of the present invention, the image output unit is the two dimensional image output unit.Replacedly, the image output unit is the 3-D view output unit.
Can play up and generate two dimensional image and 3-D view to graphical interfaces by the electronic equipment in the embodiment of the invention, with two dimensional image and the 3-D view in the while display graphics interface.In addition, the image processing method of the embodiment of the invention can be processed the 3-D display image efficiently, reduce period of reservation of number, and has avoided the decline of the display effect of 3-D view and two dimensional image in the graphical interfaces, has improved user's experience.
In an example according to the present invention, can carry out the image processing to the part that needs in the first image to carry out 3-D display frame by frame.For example, when the first graphics engine is the X-Y scheme engine, and the second graph engine is when being the three-dimensional picture engine, the first graphics engine 320 can be identified one or more first's image and one or more second portion image that comprises in the first image frame by frame, and frame by frame the second portion image is sent to the second graph engine.The second graph engine can carry out three-dimensional rendering and generate to have the 4th parts of images of 3-D view texture to the second portion image frame by frame, and frame by frame the 4th parts of images is sent to the first graphics engine.
And the first graphics engine can carry out two dimension to the 4th parts of images frame by frame and play up and generate the 5th parts of images with two dimensional image texture.Last output unit is exportable to have the third part image of two-dimentional display effect and exports frame by frame the 5th parts of images with 3-D display effect.
Because the first graphics engine is the three-dimensional picture engine, and that the second graph engine is situation and the present embodiment of X-Y scheme engine is similar, therefore do not repeat them here.
In addition, according to another example of the present invention, the electronic equipment shown in Fig. 3 also can comprise display unit.Display unit can show first window.Above-mentioned the first image can be will be in first window shown image.And after the second graph of the first graphics process of carrying out through the first graphics engine and the execution of second graph engine was processed, the image output unit outputed to third part image and the 5th parts of images in the first window.
Replacedly, according to another example of the present invention, the electronic equipment shown in Fig. 3 also can comprise display unit.Display unit can show a plurality of windows.Above-mentioned the first image can comprise will be in a plurality of windows shown image.In the case, image acquisition unit obtains will be in a plurality of windows shown image, and according to a plurality of windows the image that obtains is identified, the image that is obtained with indication and the corresponding relation of window.
Correspondingly, after one or more first's image and one or more second portion image that the first graphics engine comprises in identification the first image, can identify first's image and second portion image according to a plurality of windows, with the corresponding relation of indication first's image and second portion image and window.In addition, the first graphics engine identification first's image carried out first play up and generate the third part image after, according to a plurality of windows the third part image is identified, with the corresponding relation of indication third part image and window.
On the other hand, the second graph engine the second portion image is carried out second play up and generate the 4th parts of images after, according to a plurality of windows the 4th parts of images is identified, to indicate the corresponding relation of the 4th parts of images and window.And the first graphics engine the 4th parts of images is carried out first play up and generate the 5th parts of images after, according to a plurality of windows the 5th parts of images is identified, to indicate the corresponding relation of the 5th parts of images and window.Thereby the image output unit can according to the sign of third part image and the sign of the 5th parts of images, output to corresponding window with third part image and the 5th parts of images.
Can play up and generate two dimensional image and 3-D view to the graphical interfaces of a plurality of for example application windows and so on simultaneously by the electronic equipment in the embodiment of the invention, to show simultaneously two dimensional image and the 3-D view in a plurality of graphical interfaces.
Those of ordinary skills can recognize, unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein, can realize with electronic hardware, computer software or the combination of the two, for the interchangeability of hardware and software clearly is described, composition and the step of each example described in general manner according to function in the above description.These functions are carried out with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Those skilled in the art can specifically should be used for realizing described function with distinct methods to each, but this realization should not thought and exceeds scope of the present invention.
It should be appreciated by those skilled in the art that can be dependent on design requirement and other factors carries out various modifications, combination, part combination to the present invention and replace, as long as they are in the scope of appended claims and equivalent thereof.
Claims (19)
1. an image processing method is used for electronic equipment, and described method comprises:
Obtain the first image;
Identify one or more first's image and one or more second portion image that comprises in described the first image by the first graphics engine, and described second portion image sent to the second graph engine, wherein said first image need carry out the first graphics process, and described second portion image need carry out the second graph processing;
By described the first graphics engine described first image is carried out first and play up and generate the third part image;
By described second graph engine described second portion image is carried out second and play up and generate the 4th parts of images, and described the 4th parts of images is sent to described the first graphics engine;
By described the first graphics engine described the 4th parts of images is carried out first and play up and generate the 5th parts of images;
Export described third part image and described the 5th parts of images,
Wherein, described the first graphics engine is in X-Y scheme engine and the three-dimensional picture engine, and described second graph engine is in X-Y scheme engine and the three-dimensional picture engine another.
2. the method for claim 1, wherein when described the first graphics engine be the X-Y scheme engine, and described second graph engine is when being the three-dimensional picture engine,
Described one or more first's image that comprises in described the first image of identifying by described the first graphics engine comprises with one or more second portion image:
Identify frame by frame one or more first's image and one or more second portion image that comprises in described the first image by described the first graphics engine, and frame by frame described second portion image is sent to described second graph engine;
Describedly by described second graph engine described second portion image is carried out second and plays up and generate the 4th parts of images, and described the 4th parts of images is sent to described the first graphics engine comprise:
Frame by frame described second portion image is carried out second by described second graph engine and play up and generate the 4th parts of images, and frame by frame described the 4th parts of images is sent to described the first graphics engine;
Describedly by described the first graphics engine described the 4th parts of images is carried out first and plays up and generate the 5th parts of images and comprise:
Frame by frame described the 4th parts of images is carried out first by described the first graphics engine and play up and generate the 5th parts of images;
The described third part image of described output and described the 5th parts of images comprise:
Export described third part image and export frame by frame described the 5th parts of images.
3. the method for claim 1, the described third part image of wherein said output and described the 5th parts of images comprise:
Export described third part image and described the 5th parts of images by the two dimensional image output unit.
4. the method for claim 1, the described third part image of wherein said output and described the 5th parts of images comprise:
Export described third part image and described the 5th parts of images by the 3-D view output unit.
5. the method for claim 1, the described third part image of wherein said output and described the 5th parts of images comprise:
Export described third part image and described the 5th parts of images to form the second image, wherein said the second image has the 3-D display effect.
6. method as claimed in claim 1, wherein saidly by described second graph engine described second portion image is carried out second and play up and generate the 4th parts of images and comprise:
Determine and to process the second image that described second portion image carries out; And
According to described the second image processing described second portion image is carried out second by described second graph engine and play up and generate the 4th parts of images.
7. method as claimed in claim 6, wherein
Described the second image is processed and is comprised that at least second fills processing,
Described second graph engine is processed according to described the second image and described second portion image is carried out second is played up and generate the 4th parts of images and comprise:
Described second graph engine carries out second to described second portion image and fills processing, has the 4th parts of images of the second image texture with generation.
8. method as claimed in claim 7, wherein by described the first graphics engine described the 4th parts of images is carried out first and play up and generate the 5th parts of images and comprise:
By described the first graphics engine described the 4th parts of images is carried out first and fill processing, and generate the 5th parts of images with first image texture.
9. method as claimed in claim 1 also comprises:
In the display screen of described electronic equipment, show first window,
Described the first image is will be in described first window shown image,
The described third part image of described output and described the 5th parts of images comprise:
Described third part image and described the 5th parts of images are outputed in the described first window.
10. method as claimed in claim 1 also comprises:
In the display screen of described electronic equipment, show a plurality of windows,
Described the first image comprise will be in described a plurality of windows shown image,
Described acquisition the first image comprises:
Acquisition will be in described a plurality of windows shown image;
According to described a plurality of windows the image that obtains is identified;
Described method also comprises:
Identify one or more first's image and one or more second portion image that comprises in described the first image by described the first graphics engine after, according to described a plurality of windows described first image and described second portion image are identified;
By the identification of described the first graphics engine described first image is carried out first play up and generate the third part image after, according to described a plurality of windows described third part image is identified;
By described second graph engine described second portion image is carried out second play up and generate the 4th parts of images after, according to described a plurality of windows described the 4th parts of images is identified;
By described the first graphics engine described the 4th parts of images is carried out first play up and generate the 5th parts of images after, according to described a plurality of windows described the 5th parts of images is identified;
Export described third part image and described the 5th parts of images comprises;
According to the sign of described third part image and the sign of described the 5th parts of images, described third part image and described the 5th parts of images are outputed to corresponding window.
11. an electronic equipment comprises:
Image acquisition unit, configuration obtains the first image;
The first graphics engine, one or more first's image and one or more second portion image that comprises in described the first image identified in configuration, and described second portion image is sent to the second graph engine of described electronic equipment, wherein said first image need carry out the first graphics process, and described second portion image need carry out the second graph processing;
Described the first graphics engine also configures and described first image is carried out first plays up and generate the third part image;
Described second graph engine, configuration is carried out second to described second portion image and is played up and generate the 4th parts of images, and described the 4th parts of images is sent to described the first graphics engine;
Described the first graphics engine also configures and described the 4th parts of images is carried out first plays up and generate the 5th parts of images;
Described electronic equipment also comprises:
The image output unit, described third part image and described the 5th parts of images are exported in configuration,
Wherein, described the first graphics engine is in X-Y scheme engine and the three-dimensional picture engine, and described second graph engine is in X-Y scheme engine and the three-dimensional picture engine another.
12. electronic equipment as claimed in claim 11, wherein when described the first graphics engine be the X-Y scheme engine, and described second graph engine is when being the three-dimensional picture engine,
Described the first graphics engine is identified one or more first's image and one or more second portion image that comprises in described the first image frame by frame, and frame by frame described second portion image is sent to described second graph engine;
Described second graph engine carries out second to described second portion image frame by frame and plays up and generate the 4th parts of images, and frame by frame described the 4th parts of images is sent to described the first graphics engine;
Described the first graphics engine carries out first to described the 4th parts of images frame by frame and plays up and generate the 5th parts of images; And
Described output unit is exported described third part image and is exported frame by frame described the 5th parts of images.
13. electronic equipment as claimed in claim 11, wherein
Described image output unit is the two dimensional image output unit.
14. electronic equipment as claimed in claim 11, wherein
Described image output unit is the 3-D view output unit.
15. electronic equipment as claimed in claim 11 also comprises:
Second processes determining unit, and configuration is determined and need to be processed the second image that described second portion image carries out;
Described second graph engine carries out second according to described the second image processing to described second portion image and plays up and generate the 4th parts of images.
16. electronic equipment as claimed in claim 15, wherein
Described the second image is processed and is comprised that at least second fills processing,
Described second graph engine carries out second to described second portion image and fills processing, has the 4th parts of images of the second image texture with generation.
17. electronic equipment as claimed in claim 16, wherein
Described the first graphics engine carries out first to described the 4th parts of images and fills processing, and generates the 5th parts of images with first image texture.
18. electronic equipment as claimed in claim 11 also comprises:
Display unit, configuration shows first window,
Wherein said the first image is will be in described first window shown image,
Described image output unit outputs to described third part image and described the 5th parts of images in the described first window.
19. electronic equipment as claimed in claim 11 also comprises:
Display unit, configuration shows a plurality of windows,
Described the first image comprise will be in described a plurality of windows shown image,
Described image acquisition unit obtain will be in described a plurality of windows shown image, and according to described a plurality of windows the image that obtains is identified;
After one or more first's image and one or more second portion image that described the first graphics engine comprises in described the first image of identification, according to described a plurality of windows described first image and described second portion image are identified;
Described the first graphics engine identification described first image carried out first play up and generate the third part image after, according to described a plurality of windows described third part image is identified;
Described second graph engine described second portion image is carried out second play up and generate the 4th parts of images after, according to described a plurality of windows described the 4th parts of images is identified;
Described the first graphics engine described the 4th parts of images is carried out first play up and generate the 5th parts of images after, according to described a plurality of windows described the 5th parts of images is identified;
Described image output unit outputs to corresponding window according to the sign of described third part image and the sign of described the 5th parts of images with described third part image and described the 5th parts of images.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210064246.6A CN103310479B (en) | 2012-03-12 | 2012-03-12 | Image processing method and electronic equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210064246.6A CN103310479B (en) | 2012-03-12 | 2012-03-12 | Image processing method and electronic equipment |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN103310479A true CN103310479A (en) | 2013-09-18 |
| CN103310479B CN103310479B (en) | 2016-09-28 |
Family
ID=49135655
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201210064246.6A Active CN103310479B (en) | 2012-03-12 | 2012-03-12 | Image processing method and electronic equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103310479B (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106296564A (en) * | 2015-05-29 | 2017-01-04 | 展讯通信(上海)有限公司 | Embedded SOC |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6763175B1 (en) * | 2000-09-01 | 2004-07-13 | Matrox Electronic Systems, Ltd. | Flexible video editing architecture with software video effect filter components |
| CN1639686A (en) * | 2001-06-29 | 2005-07-13 | 英特尔公司 | Apparatus, method and system for using a graphics rendering engine with a graphics context manager |
| US20070057939A1 (en) * | 2005-09-09 | 2007-03-15 | Microsoft Corporation | 2D/3D combined rendering |
| CN101689306A (en) * | 2007-02-16 | 2010-03-31 | 高通股份有限公司 | Efficient 2-d and 3-d graphics processing |
-
2012
- 2012-03-12 CN CN201210064246.6A patent/CN103310479B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6763175B1 (en) * | 2000-09-01 | 2004-07-13 | Matrox Electronic Systems, Ltd. | Flexible video editing architecture with software video effect filter components |
| CN1639686A (en) * | 2001-06-29 | 2005-07-13 | 英特尔公司 | Apparatus, method and system for using a graphics rendering engine with a graphics context manager |
| US20070057939A1 (en) * | 2005-09-09 | 2007-03-15 | Microsoft Corporation | 2D/3D combined rendering |
| CN101689306A (en) * | 2007-02-16 | 2010-03-31 | 高通股份有限公司 | Efficient 2-d and 3-d graphics processing |
Non-Patent Citations (2)
| Title |
|---|
| 孙悦 等: "基于GPU的图像快速显示技术", 《信号与信息处理》, vol. 38, no. 9, 31 December 2008 (2008-12-31) * |
| 邱航 等: "基于点的计算机图形学研究与进展", 《计算机科学》, vol. 36, no. 6, 30 June 2009 (2009-06-30), pages 10 - 15 * |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106296564A (en) * | 2015-05-29 | 2017-01-04 | 展讯通信(上海)有限公司 | Embedded SOC |
| CN106296564B (en) * | 2015-05-29 | 2019-12-20 | 展讯通信(上海)有限公司 | Embedded SOC (system on chip) |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103310479B (en) | 2016-09-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8970586B2 (en) | Building controllable clairvoyance device in virtual world | |
| US20150287165A1 (en) | Varying effective resolution by screen location by changing active color sample count within multiple render targets | |
| KR101566167B1 (en) | Method for Rendering of Object using Geomorphic data in 3D space information | |
| CN105898271A (en) | 360-degree panoramic video playing method, playing module and mobile terminal | |
| KR20140040416A (en) | Apparatus for 3d object creation and thereof method | |
| CN102184572B (en) | Three-dimensional graphics clipping method, presentation method and graphics processing device | |
| JP2011520209A5 (en) | ||
| CN103984720B (en) | Method and device for creating tile map based on OpenGL | |
| KR20160130629A (en) | Apparatus and Method of rendering for binocular disparity image | |
| KR20150093689A (en) | Method for forming an optimized polygon based shell mesh | |
| US10152808B2 (en) | Computer-readable recording medium, computer apparatus, and computer processing method | |
| CN102411791A (en) | A method and device for dynamicizing still images | |
| EP3015970A1 (en) | Method for simulating digital watercolor image and electronic device using the same | |
| CN106201259A (en) | A kind of method and apparatus sharing full-view image in virtual reality system | |
| CN105912310A (en) | Method and device for realizing user interface control based on virtual reality application | |
| CN104142807A (en) | Android-control-based method and system for drawing image through OpenGL | |
| CN103632390A (en) | Method for realizing naked eye 3D (three dimensional) animation real-time making by using D3D (Direct three dimensional) technology | |
| ATE433172T1 (en) | RENDERING 3D COMPUTER GRAPHICS USING 2D COMPUTER GRAPHICS CAPABILITIES | |
| CN103577046A (en) | 3D stereoscopic desktop system and implementation method thereof | |
| CN102117501B (en) | Method and device for rendering three-dimensional lines | |
| CN103310409B (en) | A kind of Tile-based renders the fast triangle block method of framework GPU | |
| CN106131533A (en) | A kind of method for displaying image and terminal | |
| CN103310479A (en) | Image processing method and electronic equipment | |
| KR101630257B1 (en) | 3D image providing system and providing method thereof | |
| JP2013041500A (en) | 3d engine operating with only html5 2d-drawing specification |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant |