CN102883174A - 2D (two-dimensional)-to-3D (three dimensional) conversion method - Google Patents
2D (two-dimensional)-to-3D (three dimensional) conversion method Download PDFInfo
- Publication number
- CN102883174A CN102883174A CN2012103814676A CN201210381467A CN102883174A CN 102883174 A CN102883174 A CN 102883174A CN 2012103814676 A CN2012103814676 A CN 2012103814676A CN 201210381467 A CN201210381467 A CN 201210381467A CN 102883174 A CN102883174 A CN 102883174A
- Authority
- CN
- China
- Prior art keywords
- image
- original
- display screen
- background layer
- conversion
- 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
Images
Landscapes
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
Abstract
The invention relates to a 2D (two-dimensional)-to-3D (three-dimensional) conversion method. The 2D-to-3D conversion method is characterized by comprising steps of (1), converting the original 2D image in an RGB (red, green and blue) mode into a gray-scale image, and storing the original 2D image and the gray-scale image obtained after conversion; (2), detecting edges of the obtained gray-scale image to obtain edge information of the image, and dividing the image into a foreground layer on inner sides of the edges and a background layer on outer sides of the edges; (3), processing the background layer to generate depth information of the image; (4), converting according to the stored original 2D image to generate a left-eye image and a right-eye image which contain different pieces of depth information; and (5), transmitting the generated left-eye image and the generated right-eye image to a display screen to display the left-eye image and the right-eye image. The 2D-to-3D conversion method has the main advantages that image processing calculation is little under the condition that display effects are equivalent, and accordingly the 2D-to-3D conversion method is easy to implement.
Description
Technical field
The present invention relates to the method that a kind of 2D turns 3D.
Background technology
D is the abbreviation of English Dimension (dimension, dimension), and 3D is exactly the three-dimensional meaning.Compare common 2D picture, 3D is more three-dimensional true to nature, allows spectators that sensation on the spot in person is arranged.Present 3D technology can be divided into two kinds of bore hole formula and spectacles, and bore hole formula 3D technology is mainly used in industrial commercial demonstration aspect at present, and in the display device such as mobile phone; Spectacle 3D technology then is mainly used in consumer level market.Spectacle 3D technology can be divided into three kinds of aberration formula, shutter and polarization types (also being look point-score, time-sharing procedure, light point-score), and bore hole formula 3D technology can be divided into lens arra, barrier fence and point to three kinds of light sources, and the principle of every kind of technology and imaging effect have certain difference.
Summary of the invention
The purpose of this invention is to provide the method that a kind of 2D that is easy to realize turns 3D.
A kind of 2D turns the method for 3D, and its special feature is, comprises the steps:
(1) original 2D image is carried out RGB to the conversion of gray level image, and store the gray level image after original 2D image and the conversion;
(2) gray level image that obtains is carried out rim detection to obtain the marginal information of image, dividing inside, edge is foreground layer, and the outside, edge is the background layer;
(3) the background layer is processed depth information with synthetic image, concrete processing method is that whole display screen is divided into three parts of upper, middle and lower, the upper and lower part accounts for respectively 1/4 of whole display screen, mid portion accounts for 1/2 of whole display screen, background layer segment overall brightness in the upper and lower part is become original 7/8, and the background layer segment overall brightness in middle 1/2 part becomes original 3/4;
(4) carry out conversion according to the original 2D image of storing again, concrete steps are foreground layer and background layers of telling according to rim detection, data to display screen upper and lower part in the background layer multiply by coefficient 7/8, the data of mid portion multiply by coefficient 3/4, thereby generate the right and left eyes image with different depth information;
(5) at last the right and left eyes image that generates being sent to display screen shows and gets final product.
The major advantage of the inventive method is: in the suitable situation of display effect, it is little that image is processed operand, therefore is easy to realize.
Description of drawings
Accompanying drawing 1 is the flow chart of the inventive method.
Embodiment
The inventive method is a kind of Display Technique for glasses shutter 3D, and summary of the invention comprises: image is divided into foreground layer and background layer, and the background layer by changing image generates the right and left eyes image with different depth information.If adopt liquid crystal as the 3D display unit, need liquid crystal to have at least the above refresh rate of 120Hz, the effect that 3D shows just can be more satisfactory.
Embodiment 1:
As shown in Figure 1, to turn 3D algorithm implementation step as follows for 2D:
(1) original 2D image is carried out RGB to the conversion of gray level image, this mainly is to carry out RGB to the conversion of YUV, and stores the gray level image after original 2D image and the conversion;
(2) gray level image that obtains is carried out rim detection to obtain the marginal information of image, dividing inside, edge according to marginal information is foreground layer, and the outside, edge is the background layer;
(3) the background layer is processed depth information with synthetic image, concrete processing method is that whole display screen is divided into three parts of upper, middle and lower, the upper and lower part accounts for respectively 1/4 of whole display screen, mid portion accounts for 1/2 of whole display screen, background layer segment overall brightness in the upper and lower part is become original 7/8, and the background layer segment overall brightness in middle 1/2 part becomes original 3/4;
(4) carry out conversion according to the original 2D image of storing again, here refer to the image of adjusting after the brightness, concrete steps are foreground layer and background layers of telling according to rim detection, data to display screen upper and lower part in the background layer, here refer to brightness data and multiply by coefficient 7/8, the data of mid portion multiply by coefficient 3/4, thereby generate the right and left eyes image with different depth information, be that former data are left-eye image, the above-mentioned data that multiply by behind the coefficient are eye image;
(5) at last the right and left eyes image that generates being sent to display screen shows and gets final product.
Claims (1)
1. a 2D turns the method for 3D, it is characterized in that, comprises the steps:
(1) original 2D image is carried out RGB to the conversion of gray level image, and store the gray level image after original 2D image and the conversion;
(2) gray level image that obtains is carried out rim detection to obtain the marginal information of image, dividing inside, edge is foreground layer, and the outside, edge is the background layer;
(3) the background layer is processed depth information with synthetic image, concrete processing method is that whole display screen is divided into three parts of upper, middle and lower, the upper and lower part accounts for respectively 1/4 of whole display screen, mid portion accounts for 1/2 of whole display screen, background layer segment overall brightness in the upper and lower part is become original 7/8, and the background layer segment overall brightness in middle 1/2 part becomes original 3/4;
(4) carry out conversion according to the original 2D image of storing again, concrete steps are foreground layer and background layers of telling according to rim detection, data to display screen upper and lower part in the background layer multiply by coefficient 7/8, the data of mid portion multiply by coefficient 3/4, thereby generate the right and left eyes image with different depth information;
(5) at last the right and left eyes image that generates being sent to display screen shows and gets final product.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210381467.6A CN102883174B (en) | 2012-10-10 | 2012-10-10 | 2D (two-dimensional)-to-3D (three dimensional) conversion method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210381467.6A CN102883174B (en) | 2012-10-10 | 2012-10-10 | 2D (two-dimensional)-to-3D (three dimensional) conversion method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102883174A true CN102883174A (en) | 2013-01-16 |
CN102883174B CN102883174B (en) | 2015-03-11 |
Family
ID=47484288
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210381467.6A Expired - Fee Related CN102883174B (en) | 2012-10-10 | 2012-10-10 | 2D (two-dimensional)-to-3D (three dimensional) conversion method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102883174B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103093469A (en) * | 2013-01-22 | 2013-05-08 | 清华大学 | Depth extraction method based on visual model |
CN103200417A (en) * | 2013-04-23 | 2013-07-10 | 华录出版传媒有限公司 | 2D (Two Dimensional) to 3D (Three Dimensional) conversion method |
CN105359518A (en) * | 2013-02-18 | 2016-02-24 | 株式会社匹突匹银行 | Image processing device, image processing method, image processing computer program, and information recording medium whereupon image processing computer program is stored |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101287143A (en) * | 2008-05-16 | 2008-10-15 | 清华大学 | Method for converting flat video to tridimensional video based on real-time dialog between human and machine |
CN102055991A (en) * | 2009-10-27 | 2011-05-11 | 深圳Tcl新技术有限公司 | Conversion method and conversion device for converting two-dimensional image into three-dimensional image |
US20110109620A1 (en) * | 2009-11-12 | 2011-05-12 | Samsung Electronics Co., Ltd. | Image processing apparatus and method for enhancing depth perception |
CN102630030A (en) * | 2012-03-31 | 2012-08-08 | 彩虹集团公司 | Method for realizing transformation from 2D to 3D |
-
2012
- 2012-10-10 CN CN201210381467.6A patent/CN102883174B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101287143A (en) * | 2008-05-16 | 2008-10-15 | 清华大学 | Method for converting flat video to tridimensional video based on real-time dialog between human and machine |
CN102055991A (en) * | 2009-10-27 | 2011-05-11 | 深圳Tcl新技术有限公司 | Conversion method and conversion device for converting two-dimensional image into three-dimensional image |
US20110109620A1 (en) * | 2009-11-12 | 2011-05-12 | Samsung Electronics Co., Ltd. | Image processing apparatus and method for enhancing depth perception |
CN102630030A (en) * | 2012-03-31 | 2012-08-08 | 彩虹集团公司 | Method for realizing transformation from 2D to 3D |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103093469A (en) * | 2013-01-22 | 2013-05-08 | 清华大学 | Depth extraction method based on visual model |
CN105359518A (en) * | 2013-02-18 | 2016-02-24 | 株式会社匹突匹银行 | Image processing device, image processing method, image processing computer program, and information recording medium whereupon image processing computer program is stored |
CN105359518B (en) * | 2013-02-18 | 2017-03-08 | 株式会社匹突匹银行 | Image processing apparatus and image processing method |
US9723295B2 (en) | 2013-02-18 | 2017-08-01 | P2P Bank Co., Ltd. | Image processing device, image processing method, image processing computer program, and information recording medium whereupon image processing computer program is stored |
CN103200417A (en) * | 2013-04-23 | 2013-07-10 | 华录出版传媒有限公司 | 2D (Two Dimensional) to 3D (Three Dimensional) conversion method |
Also Published As
Publication number | Publication date |
---|---|
CN102883174B (en) | 2015-03-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109495734B (en) | Image processing method and apparatus for autostereoscopic three-dimensional display | |
KR102030830B1 (en) | Curved multiview image display apparatus and control method thereof | |
US8311318B2 (en) | System for generating images of multi-views | |
KR102185130B1 (en) | Multi view image display apparatus and contorl method thereof | |
CN102761761B (en) | Stereoscopic image display and stereo-picture method of adjustment thereof | |
EP2988497B1 (en) | Image processing method and apparatus | |
US9123171B1 (en) | Enhancing the coupled zone of a stereoscopic display | |
TWI556624B (en) | Image displaying method and image dispaly device | |
US20160180514A1 (en) | Image processing method and electronic device thereof | |
JP2015070618A (en) | Image generating apparatus and display device for layered display scheme based on location of eye of user | |
CN102244803A (en) | Device with 3D display function and driving method thereof | |
US10939092B2 (en) | Multiview image display apparatus and multiview image display method thereof | |
CN102883174B (en) | 2D (two-dimensional)-to-3D (three dimensional) conversion method | |
CN202149995U (en) | Naked-eye 3D screen device | |
CN202565397U (en) | 3D video monitoring system allowing videos to be watched with naked eyes | |
US11172190B2 (en) | Stereo weaving for head-tracked autostereoscopic displays | |
KR101754976B1 (en) | Contents convert method for layered hologram and apparatu | |
CN102802012A (en) | Three-dimensional automatic signal identifying method | |
CN102790896A (en) | Conversion method for converting 2D (Two Dimensional) into 3D (Three Dimensional) | |
KR101519463B1 (en) | apparatus for generating 3D image and the method thereof | |
US20110187831A1 (en) | Apparatus and method for displaying three-dimensional images | |
CN103969836A (en) | View angle expanding method used for multi-viewpoint auto-stereoscopic display | |
TWI541761B (en) | Image processing method and electronic device thereof | |
KR102334031B1 (en) | Autostereoscopic 3d display device and driving method thereof | |
CN102231841A (en) | Naked-eye 3D (three-dimensional) display television based on dual-viewpoint 3D data and implementation method thereof |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150311 Termination date: 20151010 |
|
EXPY | Termination of patent right or utility model |