CN102800122A - Image processing method and image processing device based on Direct three dimensional (3D) technology - Google Patents
Image processing method and image processing device based on Direct three dimensional (3D) technology Download PDFInfo
- Publication number
- CN102800122A CN102800122A CN2012102060629A CN201210206062A CN102800122A CN 102800122 A CN102800122 A CN 102800122A CN 2012102060629 A CN2012102060629 A CN 2012102060629A CN 201210206062 A CN201210206062 A CN 201210206062A CN 102800122 A CN102800122 A CN 102800122A
- Authority
- CN
- China
- Prior art keywords
- texture
- image data
- module
- data transmission
- image
- 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 16
- 230000005540 biological transmission Effects 0.000 claims description 43
- 238000000034 method Methods 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000001154 acute effect Effects 0.000 description 1
- 230000003321 amplification Effects 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Landscapes
- Image Generation (AREA)
- Image Processing (AREA)
Abstract
The invention discloses an image processing method based on a Direct three dimensional (3D) technology. The image processing method comprises the following steps of: creating a surface, a first texture, a second texture and a graphic pipeline through the Direct3D technology; transmitting image data to the surface; transmitting the image data in the surface to the first texture; transmitting the image data in the first texture to the second texture; and processing the image data by using the graphic pipeline. The invention also discloses an image processing device based on the Direct 3D technology. The image processing device comprises a creating module, an image data transmitting module and an image data processing module. The surface created in a video memory directly receives the image data; the textures created in the video memory receive the image data in the surface; and the graphic pipeline processes an image. Because the image data are not required to be transmitted through an internal memory of a system in a transmitting process, and are not transmitted through a central processing unit (CPU) either, the processing speed of the image is increased, and the display efficiency of the image is improved.
Description
Technical field
The present invention relates to technical field of image processing, relate in particular to a kind of image processing method and a kind of image processing apparatus based on the Direct3D technology based on the Direct3D technology.
Background technology
Image pick-up card generally adopts the Direct3D technology to show the view data that captures at present.For the view data that adopts the Direct3D graphics pipeline to come the processing collected card to catch; Common practices is to arrive Installed System Memory to image data transmission earlier; Create dynamic texture according to the view data in the Installed System Memory then, utilize the Direct3D graphics pipeline to accomplish processing and demonstration again view data.This way needed earlier view data to be sent to the video memory from Installed System Memory before view data is handled, and could utilize the graphics pipeline in the video memory to handle then.Also be that view data need be transmitted between Installed System Memory and video memory, exist problems such as CPU usage height and image display efficiency are low, particularly this problem is more obvious when carrying out windows display.
Summary of the invention
For solving the problem of above-mentioned existence, the invention provides a kind of image processing method and a kind of image processing apparatus based on the Direct3D technology based on the Direct3D technology.
A kind of image processing method based on the Direct3D technology may further comprise the steps:
Through the technological graphics pipeline of creating surface, first texture, second texture and binding of Direct3D with second texture;
With image data transmission to said surface;
With the image data transmission in the said surface to said first texture;
With the image data transmission in said first texture to said second texture;
Through the said graphics pipeline of binding with second texture view data is handled.
Compare with general technology, the image processing method that the present invention is based on the Direct3D technology is created the surface through the Direct3D technology in video memory, utilizes the surface of creating directly to receive the view data that gets access to.Through in video memory, creating texture, and utilize graphics pipeline that image is handled with the view data in the receiving surface.Owing in the image data transmission process, need not through Installed System Memory, and walked around CPU, therefore improved image processing velocity and display efficiency to a great extent.
A kind of image processing apparatus based on the Direct3D technology comprises and creates module, image data transmission module and image data processing module;
Said establishment module is used for the technological graphics pipeline of creating surface, first texture, second texture and binding with second texture through Direct3D;
Said image data transmission module is used for image data transmission to said surface, with the image data transmission in the said surface to said first texture, and with the image data transmission in said first texture to said second texture;
Said image data processing module is used for through the said graphics pipeline of binding with second texture view data being handled.
Compare with general technology, the image processing apparatus that the present invention is based on the Direct3D technology is created the surface through the Direct3D technology in video memory, utilizes the surface of creating directly to receive the view data that gets access to.Through in video memory, creating texture, and utilize graphics pipeline that image is handled with the view data in the receiving surface.Owing in the image data transmission process, need not through Installed System Memory, and walked around CPU, therefore improved image processing velocity and display efficiency to a great extent.
Description of drawings
Fig. 1 is the schematic flow diagram that the present invention is based on the image processing method of Direct3D technology;
Fig. 2 is the structural representation that the present invention is based on the image processing apparatus of Direct3D technology.
Embodiment
Be further set forth the present invention technological means of being taked and the effect that obtains,,, know and complete description technical scheme of the present invention below in conjunction with accompanying drawing and preferred embodiment.
See also Fig. 1, for the present invention is based on the schematic flow diagram of the technological image processing method of Direct3D.The image processing method that the present invention is based on the Direct3D technology may further comprise the steps:
The graphics pipeline that S101 creates surface, first texture, second texture and binds with second texture through the Direct3D technology;
Create device object one through the Direct3D technology, comprise and create the surface and first texture; Create device object two, comprise the graphics pipeline of creating second texture and binding with second texture.
As one of them embodiment, can create said surface and said first texture through the D3D9 technology; Through D3D9 is technological, D3D10 is technological or D3D11 is technological, create said second texture and graphics pipeline said and that second texture is bound.
For example, can adopt the D3D9EX in the Direct3D technology to create the surface, adopt the establishment of D3D10.1 technology to be used for the graphics pipeline that view data is handled.
S102 is with image data transmission to said surface;
As one of them embodiment, can obtain view data through the image data acquiring card; To image data acquiring card sending controling instruction, with its image data transmission of catching to said surface.
S103 is with the image data transmission in the said surface to said first texture;
Can the view data in the surface be copied to first texture, first texture can adopt the mode of sharing to be sent to second texture view data.
S104 is with the image data transmission in said first texture to said second texture;
As one of them embodiment, can be through the shared mechanism in the Direct3D technology, with the image data transmission in said first texture to said second texture.
For example, can between D3D9EX and D3D10.1, realize sharing, utilize the surperficial shared mechanism in the Direct3D technology, realize the synchronous of view data in two textures.Wherein, second texture has been bound the graphics pipeline of creating in advance.
S105 handles view data through the said graphics pipeline of binding with second texture.
After view data arrives second texture, just can send drafting instruction control graphics pipeline and begin image data processing.For example, can carry out view data through the graphics pipeline among the D3D10.1 handles.
In addition, after step S105 accomplishes, also can utilize the surface to obtain view data once more, be shared to second texture through first texture then, and further view data is handled.So can form a cyclic process, can adapt to the data processing and the demonstration of multiwindow and high capacity image like this.
Compare with general technology, the image processing method that the present invention is based on the Direct3D technology is created the surface through the Direct3D technology in video memory, utilizes the surface of creating directly to receive the view data that gets access to.Through in video memory, creating texture, and utilize graphics pipeline that image is handled with the view data in the receiving surface.Owing in the image data transmission process, need not through Installed System Memory, and walked around CPU, therefore improved image processing velocity and display efficiency to a great extent.
The present invention can directly offer the view data of capture card collection D3D10.1 programmable graphics streamline; Being convenient to the programmable graphics streamline handles image flexibly; With the amplification that overcomes image or the quality problems that occur in dwindling, as acute tooth phenomenon with lose shape etc.Can to the surface that D3D9EX creates, can reduce the image data transmission (as adopting the mode of DMA) that capture card captures to a great extent cpu resource and take through the present invention.Can obviously improve the treatment of picture effect that capture card is caught through utilizing graphics pipeline that view data is handled, and further display quality.
In addition, also announced a kind of image processing apparatus based on the Direct3D technology.
See also Fig. 2, for the present invention is based on the structural representation of the technological image processing apparatus of Direct3D.A kind of image processing apparatus based on the Direct3D technology comprises and creates module 201, image data transmission module 202 and image data processing module 203;
Said establishment module 201 is used for the technological graphics pipeline of creating surface, first texture, second texture and binding with second texture through Direct3D;
As one of them embodiment, said establishment module can comprise that first creates the module and the second establishment module; Said first creates module is used for the technology through D3D9, creates said surface and said first texture; Said second creates module is used for through D3D9 is technological, D3D10 is technological or D3D11 is technological, creates said second texture and graphics pipeline said and that second texture is bound.
For example, can adopt the D3D9EX in the Direct3D technology to create the surface, adopt the establishment of D3D10.1 technology to be used for the graphics pipeline that view data is handled.
Said image data transmission module 202 is used for image data transmission to said surface, with the image data transmission in the said surface to said first texture, and with the image data transmission in said first texture to said second texture;
As one of them embodiment, said image data transmission module can comprise image data acquisition module and steering order sending module; Said image data acquisition module is used for obtaining view data through the image data acquiring card; Said steering order sending module is used for to image data acquiring card sending controling instruction, with its image data transmission of catching to said surface.
As one of them embodiment, said image data transmission module can be used for through the shared mechanism in the Direct3D technology, with the image data transmission in said first texture to said second texture.
Said image data processing module 203 is used for through the said graphics pipeline of binding with second texture view data being handled.
After view data arrives second texture, just can send drafting instruction control graphics pipeline and begin image data processing.For example, can carry out view data through the graphics pipeline among the D3D10.1 handles.
Compare with general technology, the image processing apparatus that the present invention is based on the Direct3D technology is created the surface through the Direct3D technology in video memory, utilizes the surface of creating directly to receive the view data that gets access to.Through in video memory, creating texture, and utilize graphics pipeline that image is handled with the view data in the receiving surface.Owing in the image data transmission process, need not through Installed System Memory, and walked around CPU, therefore improved image processing velocity and display efficiency to a great extent.
The above embodiment has only expressed several kinds of embodiments of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to claim of the present invention.Should be pointed out that for the person of ordinary skill of the art under the prerequisite that does not break away from the present invention's design, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with accompanying claims.
Claims (8)
1. the image processing method based on the Direct3D technology is characterized in that, may further comprise the steps:
Through the technological graphics pipeline of creating surface, first texture, second texture and binding of Direct3D with second texture;
With image data transmission to said surface;
With the image data transmission in the said surface to said first texture;
With the image data transmission in said first texture to said second texture;
Through the said graphics pipeline of binding with second texture view data is handled.
2. the image processing method based on Direct3D technology according to claim 1 is characterized in that, said establishment surface, first texture, second texture and with the step of the graphics pipeline of second texture binding, may further comprise the steps:
Through the D3D9 technology, create said surface and said first texture;
Through D3D9 is technological, D3D10 is technological or D3D11 is technological, create said second texture and graphics pipeline said and that second texture is bound.
3. the image processing method based on the Direct3D technology according to claim 1 is characterized in that, said step with image data transmission to said surface may further comprise the steps:
Obtain view data through the image data acquiring card;
To image data acquiring card sending controling instruction, with its image data transmission of catching to said surface.
4. the image processing method based on the Direct3D technology according to claim 1 is characterized in that, through the shared mechanism in the Direct3D technology, with the image data transmission in said first texture to said second texture.
5. the image processing apparatus based on the Direct3D technology is characterized in that, comprises creating module, image data transmission module and image data processing module;
Said establishment module is used for the technological graphics pipeline of creating surface, first texture, second texture and binding with second texture through Direct3D;
Said image data transmission module is used for image data transmission to said surface, with the image data transmission in the said surface to said first texture, and with the image data transmission in said first texture to said second texture;
Said image data processing module is used for through the said graphics pipeline of binding with second texture view data being handled.
6. the image processing apparatus based on the Direct3D technology according to claim 5 is characterized in that, said establishment module comprises that first creates the module and the second establishment module;
Said first creates module is used for the technology through D3D9, creates said surface and said first texture;
Said second creates module is used for through D3D9 is technological, D3D10 is technological or D3D11 is technological, creates said second texture and graphics pipeline said and that second texture is bound.
7. the image processing apparatus based on the Direct3D technology according to claim 5 is characterized in that said image data transmission module comprises image data acquisition module and steering order sending module;
Said image data acquisition module is used for obtaining view data through the image data acquiring card;
Said steering order sending module is used for to image data acquiring card sending controling instruction, with its image data transmission of catching to said surface.
8. the image processing apparatus based on the Direct3D technology according to claim 5; It is characterized in that; Said image data transmission module is used for the shared mechanism through the Direct3D technology, with the image data transmission in said first texture to said second texture.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210206062.9A CN102800122B (en) | 2012-06-20 | 2012-06-20 | Based on image processing method and the device thereof of Direct3D technology |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210206062.9A CN102800122B (en) | 2012-06-20 | 2012-06-20 | Based on image processing method and the device thereof of Direct3D technology |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN102800122A true CN102800122A (en) | 2012-11-28 |
| CN102800122B CN102800122B (en) | 2015-09-02 |
Family
ID=47199219
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201210206062.9A Expired - Fee Related CN102800122B (en) | 2012-06-20 | 2012-06-20 | Based on image processing method and the device thereof of Direct3D technology |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN102800122B (en) |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103164227A (en) * | 2013-03-28 | 2013-06-19 | 北京视博云科技有限公司 | Collection method and collection device of window images |
| CN105302580A (en) * | 2015-11-28 | 2016-02-03 | 武汉斗鱼网络科技有限公司 | Method and system for rapidly acquiring game graphics through GPU (Graphics Processing Unit) texture sharing |
| CN105700887A (en) * | 2016-01-13 | 2016-06-22 | 广州市赛普电子科技有限公司 | Content sharing system and method based on Directxll viewport |
| CN107968923A (en) * | 2017-11-30 | 2018-04-27 | 腾讯科技(深圳)有限公司 | A kind of image processing method, device, computing device and storage medium |
| CN110489083A (en) * | 2018-05-14 | 2019-11-22 | 武汉斗鱼网络科技有限公司 | A kind of method, computer equipment and storage medium that texture is shared |
| CN113096233A (en) * | 2021-06-11 | 2021-07-09 | 腾讯科技(深圳)有限公司 | Image processing method and device, electronic equipment and readable storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20090295800A1 (en) * | 2008-05-30 | 2009-12-03 | Siemens Corporate Research, Inc. | Method for direct volumetric rendering of deformable bricked volumes |
| CN101650822A (en) * | 2009-09-21 | 2010-02-17 | 北京壁虎科技有限公司 | Method and system for generating mutual information |
| CN101882077A (en) * | 2010-05-19 | 2010-11-10 | 广东威创视讯科技股份有限公司 | Method and device for efficiently drawing and rendering basic graphic |
| CN101968776A (en) * | 2010-10-19 | 2011-02-09 | 广东威创视讯科技股份有限公司 | Method and system for acquiring and outputting images |
| CN102098451A (en) * | 2010-12-15 | 2011-06-15 | 广东威创视讯科技股份有限公司 | Image segmentation display method based on synthetic video |
-
2012
- 2012-06-20 CN CN201210206062.9A patent/CN102800122B/en not_active Expired - Fee Related
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20090295800A1 (en) * | 2008-05-30 | 2009-12-03 | Siemens Corporate Research, Inc. | Method for direct volumetric rendering of deformable bricked volumes |
| CN101650822A (en) * | 2009-09-21 | 2010-02-17 | 北京壁虎科技有限公司 | Method and system for generating mutual information |
| CN101882077A (en) * | 2010-05-19 | 2010-11-10 | 广东威创视讯科技股份有限公司 | Method and device for efficiently drawing and rendering basic graphic |
| CN101968776A (en) * | 2010-10-19 | 2011-02-09 | 广东威创视讯科技股份有限公司 | Method and system for acquiring and outputting images |
| CN102098451A (en) * | 2010-12-15 | 2011-06-15 | 广东威创视讯科技股份有限公司 | Image segmentation display method based on synthetic video |
Non-Patent Citations (1)
| Title |
|---|
| 黄际洲 等: "《Direct3D中的2D编程》", 31 January 2005, 重庆大学出版社 * |
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103164227A (en) * | 2013-03-28 | 2013-06-19 | 北京视博云科技有限公司 | Collection method and collection device of window images |
| CN105302580A (en) * | 2015-11-28 | 2016-02-03 | 武汉斗鱼网络科技有限公司 | Method and system for rapidly acquiring game graphics through GPU (Graphics Processing Unit) texture sharing |
| CN105700887A (en) * | 2016-01-13 | 2016-06-22 | 广州市赛普电子科技有限公司 | Content sharing system and method based on Directxll viewport |
| CN107968923A (en) * | 2017-11-30 | 2018-04-27 | 腾讯科技(深圳)有限公司 | A kind of image processing method, device, computing device and storage medium |
| CN110489083A (en) * | 2018-05-14 | 2019-11-22 | 武汉斗鱼网络科技有限公司 | A kind of method, computer equipment and storage medium that texture is shared |
| CN110489083B (en) * | 2018-05-14 | 2022-06-21 | 武汉斗鱼网络科技有限公司 | Texture sharing method, computer equipment and storage medium |
| CN113096233A (en) * | 2021-06-11 | 2021-07-09 | 腾讯科技(深圳)有限公司 | Image processing method and device, electronic equipment and readable storage medium |
| CN113096233B (en) * | 2021-06-11 | 2021-08-27 | 腾讯科技(深圳)有限公司 | Image processing method and device, electronic equipment and readable storage medium |
| WO2022257750A1 (en) * | 2021-06-11 | 2022-12-15 | 腾讯科技(深圳)有限公司 | Image processing method and apparatus, and electronic device, program and readable storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN102800122B (en) | 2015-09-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102800122A (en) | Image processing method and image processing device based on Direct three dimensional (3D) technology | |
| EP2491989A3 (en) | Information processing system, information processing method, information processing device and information processing program | |
| EP2391150A3 (en) | Information processing apparatus, information processing method, and information processing program | |
| EP2725548A3 (en) | Image processing apparatus and method | |
| EP2624460A3 (en) | Information processing apparatus, information processing system, and data conversion method | |
| EP2570989A3 (en) | Resolution and contrast enhancement with fusion in low-resolution IR images | |
| EP2662838A3 (en) | Apparatus and method for augmented reality | |
| EP2584800A3 (en) | Digital system and method of processing service data thereof | |
| EP2482542A3 (en) | Apparatus, system, and method of use of imaging assembly on mobile terminal | |
| EP2466577A3 (en) | Display device, control method of display device and electronic apparatus | |
| EP2677732A3 (en) | Method, apparatus and computer program product for capturing video content | |
| EP2547102A3 (en) | Information processing method and information processing system | |
| EP2863336A3 (en) | System and method for reconstructing 3d model | |
| EP2343681A3 (en) | Offline adversiting services | |
| EP2388997A3 (en) | Image display device, electronic apparatus, image display system, method of acquiring method, and program | |
| EP2439898A3 (en) | Information processing apparatus, control method therefor and program | |
| EP2624102A3 (en) | Data Transfer Method and System | |
| GB201120987D0 (en) | A reconstruction system and method | |
| EP2960789A3 (en) | Unified mapreduce framework for large-scale data processing | |
| EP2339509A3 (en) | Information processing apparatus and information processing method | |
| EP2530651A3 (en) | Method for operating a camera system of a motor vehicle, motor vehicle as well as system with a motor vehicle and a separate computing device | |
| EP2653974A3 (en) | System for converting a signal | |
| EP2800393A3 (en) | Image transmitting apparatus, image receiving apparatus, and control methods thereof | |
| MX2016011404A (en) | Method for simultaneous capture of image data at multiple depths of a sample. | |
| EP2975574A3 (en) | Method, apparatus and terminal for image retargeting |
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 | ||
| CP03 | Change of name, title or address | ||
| CP03 | Change of name, title or address |
Address after: 510670 Guangdong city of Guangzhou province Kezhu Guangzhou high tech Industrial Development Zone, Road No. 233 Patentee after: VTRON GROUP Co.,Ltd. Address before: 510663 Guangzhou province high tech Industrial Development Zone, Guangdong, Cai road, No. 6, No. Patentee before: VTRON TECHNOLOGIES Ltd. |
|
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150902 |