CN101945301B - Method for converting 2D (two-dimensional) character scene into 3D (three-dimensional) - Google Patents
Method for converting 2D (two-dimensional) character scene into 3D (three-dimensional) Download PDFInfo
- Publication number
- CN101945301B CN101945301B CN2010102949022A CN201010294902A CN101945301B CN 101945301 B CN101945301 B CN 101945301B CN 2010102949022 A CN2010102949022 A CN 2010102949022A CN 201010294902 A CN201010294902 A CN 201010294902A CN 101945301 B CN101945301 B CN 101945301B
- Authority
- CN
- China
- Prior art keywords
- skin
- personage
- ycbcr
- character
- dimensional
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 22
- 238000006243 chemical reaction Methods 0.000 claims abstract description 12
- 238000005286 illumination Methods 0.000 claims abstract description 7
- 230000003287 optical effect Effects 0.000 claims description 6
- 230000000694 effects Effects 0.000 abstract description 8
- 238000001514 detection method Methods 0.000 abstract description 4
- 239000003086 colorant Substances 0.000 abstract 1
- 230000002194 synthesizing effect Effects 0.000 abstract 1
- 238000005516 engineering process Methods 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000012141 concentrate Substances 0.000 description 1
- 239000012634 fragment Substances 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000005855 radiation Effects 0.000 description 1
Images
Landscapes
- Controls And Circuits For Display Device (AREA)
Abstract
The invention discloses a method for converting 2D (two-dimensional) to 3D (three-dimensional) character scenes, which comprises the steps of firstly converting an RGB (red, green and blue) video signal with the character scenes through a YCbCr (YCbCr) color space, and judging the number of pixels with skin colors under different illumination; and then carrying out contour detection by a difference method on the RGB video signals, comparing the contour with skin color pixels, judging the position of the figure, taking the position of the figure as a close scene, increasing the parallax of the left eye and the right eye of the position of the figure, directly outputting the position of the non-figure or outputting the position of the non-figure after processing according to the distant scene, synthesizing the position of the non-figure with the processed figure image to form a 3D video signal, and outputting the converted 3D video signal. After the 3D conversion processing is carried out by the invention, most attention of a viewer is focused on the character when the video image is watched by people, and the viewer can obtain better 3D effect feeling and the character in the picture has better three-dimensional effect after the parallax of the character is increased.
Description
Technical field
The invention belongs to technical field of video processing, relate to a kind of video conversion method, especially a kind of personage's scene 2D changes the 3D method.
Background technology
Present stage, liquid crystal indicator has been widely used in the individual consumer's goods such as notebook computer, computer monitor, TV because in light weight, advantages such as volume is little, little power consumption, radiation is low, quality is good are arranged.
Along with the continuous development of science and technology, the 3D technology is more and more ripe, is also more and more accepted by masses.But main video basically all is traditional 2D video at present, and the film source of 3D has only the film and the fragment support of only a few.In order to let the popular 3D effect of better experiencing, proposing a kind of 2D easily, to change the 3D technology be the urgently hope of those skilled in the art institute.
This patent proposes a kind of personage's scene 2D changes the 3D algorithm, utilizes the colour of skin and profile detection technique, judges character positions, simultaneously character positions is thought close shot, strengthens the right and left eyes parallax, obtains 3D effect.Doing like this is because when watching video image, and spectators' overwhelming majority attentiveness all concentrates on the personage, if increase personage's parallax, will obtain better 3D effect.
Summary of the invention
The objective of the invention is to change the present situation that present major part all is the 2D video, provide a kind of personage's scene 2D to change the 3D method, this method is utilized the colour of skin and profile detection technique; Judge character positions; Simultaneously character positions is thought close shot, strengthen the right and left eyes parallax, obtain 3D effect.
The objective of the invention is to solve through following technical scheme:
This kind personage scene 2D changes the 3D method and is specially: the rgb video signal that at first will have personage's scene is judged the number of pixels of the colour of skin under the different light through the conversion of YCbCr color space; Again rgb video signal being carried out the differential technique profile detects; Through profile and skin pixel contrast; Judge character positions, as close shot, add the right and left eyes parallax of VIP present position with the personage present position; Non-personage present position is directly exported or handled the back according to distant view and export, with the 3D vision signal output that converts.
The method of above-described YCbCr color space conversion is:
(1) at first judge the brightness of pixel, when pixel intensity greater than overall brightness 60% the time, handle as high optical condition; When pixel intensity between overall brightness 30~60% the time, handle as the normal illumination condition; When pixel intensity less than overall brightness 30% the time, handle as the half-light condition;
(2) when handling as high optical condition, the YCbCr space colour of skin is distributed as 160<Y<255,80<Cb<140,123<Cr<180; When handling as the normal illumination condition, the YCbCr space colour of skin is distributed as 80<Y<220,70<Cb<130,30<Cr<190; When handling as the half-light condition, the YCbCr space colour of skin is distributed as 40<Y<150,80<Cb<140,130<Cr<180.
The present invention has following beneficial effect:
Personage's scene 2D that the present invention proposes changes the 3D method, utilizes the colour of skin and profile detection technique, judges character positions, simultaneously character positions is thought close shot, strengthens the right and left eyes parallax, obtains 3D effect.After handling like this, when people watched video image, beholder's overwhelming majority attentiveness all concentrated on the personage, behind the parallax that has increased the personage, will make the beholder obtain better 3D effect impression, made the personage in the picture have more stereoeffect.
Description of drawings
Fig. 1 is that personage's scene 2D of the present invention changes the 3D flow chart.
Embodiment
Below in conjunction with accompanying drawing the present invention is done and to describe in further detail:
Referring to Fig. 1, personage's scene 2D that the present invention proposes changes the 3D method, specifically carries out according to following concrete steps:
1) rgb video signal with personage's scene that at first will import is judged the number of pixels of the colour of skin under the different light then through the conversion of YCbCr color space;
The method of above YCbCr color space conversion is:
(a) judge earlier the brightness of pixel, when pixel intensity greater than overall brightness 60% the time, handle as high optical condition; When pixel intensity between overall brightness 30~60% the time, handle as the normal illumination condition; When pixel intensity less than overall brightness 30% the time, handle as the half-light condition;
(b) when handling as high optical condition, the YCbCr space colour of skin is distributed as 160<Y<255,80<Cb<140,123<Cr<180; When handling as the normal illumination condition, the YCbCr space colour of skin is distributed as 80<Y<220,70<Cb<130,30<Cr<190; When handling as the half-light condition, the YCbCr space colour of skin is distributed as 40<Y<150,80<Cb<140,130<Cr<180.
According to above Rule of judgment, the rgb video signal that will have personage's scene carries out the conversion of YCbCr color space.
2) again rgb video signal is carried out the differential technique profile and detect,, judge character positions through the skin pixel contrast that profile and step 1) obtain;
3) with the personage present position as close shot, add the right and left eyes parallax of VIP present position;
4) non-personage present position is directly exported or handle the back according to distant view and export, with the synthetic 3D vision signal that forms of the character image after the processing, with the 3D vision signal output that converts.
In sum; It is emphasized that: more than personage's scene 2D of the present invention YCbCr data when changeing the YCbCr color space conversion that relates in the 3D method only just illustrate; When carrying out the conversion of YCbCr color space, also can adopt other rational YCbCr data to replace, any conversion process method identical with the inventive method all will fall within protection scope of the present invention.
Claims (1)
1. personage's scene 2D changes the 3D method, it is characterized in that: the rgb video signal that at first will have personage's scene is judged the number of pixels of the colour of skin under the different light through the conversion of YCbCr color space; Again rgb video signal being carried out the differential technique profile detects; Through profile and skin pixel contrast; Judge character positions, as close shot, add the right and left eyes parallax of VIP present position with the personage present position; Non-personage present position is directly exported or handled the back according to distant view and export, with the 3D vision signal output that converts; The method of said YCbCr color space conversion is:
(1) at first judge the brightness of pixel, when pixel intensity greater than overall brightness 60% the time, handle as high optical condition; When pixel intensity between overall brightness 30~60% the time, handle as the normal illumination condition; When pixel intensity less than overall brightness 30% the time, handle as the half-light condition;
(2) when handling as high optical condition, the YCbCr space colour of skin is distributed as 160<Y<255,80<Cb<140,123<Cr<180; When handling as the normal illumination condition, the YCbCr space colour of skin is distributed as 80<Y<220,70<Cb<130,30<Cr<190; When handling as the half-light condition, the YCbCr space colour of skin is distributed as 40<Y<150,80<Cb<140,130<Cr<180.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010102949022A CN101945301B (en) | 2010-09-28 | 2010-09-28 | Method for converting 2D (two-dimensional) character scene into 3D (three-dimensional) |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010102949022A CN101945301B (en) | 2010-09-28 | 2010-09-28 | Method for converting 2D (two-dimensional) character scene into 3D (three-dimensional) |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101945301A CN101945301A (en) | 2011-01-12 |
CN101945301B true CN101945301B (en) | 2012-05-09 |
Family
ID=43437018
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010102949022A Expired - Fee Related CN101945301B (en) | 2010-09-28 | 2010-09-28 | Method for converting 2D (two-dimensional) character scene into 3D (three-dimensional) |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101945301B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102427539B (en) * | 2011-08-26 | 2014-08-27 | 庞志勇 | Method for converting two-dimensional video image to three-dimensional video image |
WO2013045468A1 (en) | 2011-09-26 | 2013-04-04 | Sony Corporation | Adaptive colorspace conversion for 3d steroscopic disparity estimation |
CN103220539B (en) * | 2012-01-21 | 2017-08-15 | 瑞昱半导体股份有限公司 | Image depth generation device and its method |
CN102630033A (en) * | 2012-03-31 | 2012-08-08 | 彩虹集团公司 | Method for converting 2D (Two Dimension) into 3D (Three Dimension) based on dynamic object detection |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1492379A (en) * | 2002-10-22 | 2004-04-28 | 中国科学院计算技术研究所 | Method for covering face of news interviewee using quick face detection |
CN101650782A (en) * | 2009-09-16 | 2010-02-17 | 上海电力学院 | Method for extracting front human face outline based on complexion model and shape constraining |
CN101785025A (en) * | 2007-07-12 | 2010-07-21 | 汤姆森特许公司 | System and method for three-dimensional object reconstruction from two-dimensional images |
-
2010
- 2010-09-28 CN CN2010102949022A patent/CN101945301B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1492379A (en) * | 2002-10-22 | 2004-04-28 | 中国科学院计算技术研究所 | Method for covering face of news interviewee using quick face detection |
CN101785025A (en) * | 2007-07-12 | 2010-07-21 | 汤姆森特许公司 | System and method for three-dimensional object reconstruction from two-dimensional images |
CN101650782A (en) * | 2009-09-16 | 2010-02-17 | 上海电力学院 | Method for extracting front human face outline based on complexion model and shape constraining |
Also Published As
Publication number | Publication date |
---|---|
CN101945301A (en) | 2011-01-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102162339B1 (en) | Method and apparatus for reducing myopic effects of electronic displays | |
US8311318B2 (en) | System for generating images of multi-views | |
CN102622990B (en) | Liquid crystal display backlight control apparatus, televisor and liquid crystal screen backlight control method | |
KR20210028240A (en) | Display processing circuit | |
US10192517B2 (en) | Method of adapting a source image content to a target display | |
US20160180760A1 (en) | Large-Format Display Systems Having Color Pixels and White Pixels | |
US11587491B1 (en) | System and method for a multi-primary wide gamut color system | |
Murata et al. | 32.2: A Real‐Time 2‐D to 3‐D Image Conversion Technique Using Computed Image Depth | |
CN106296620B (en) | A kind of color rendition method based on histogram translation | |
EP3759704A2 (en) | Method and apparatus for colour imaging | |
CN102801988B (en) | Video format conversion method of converting YUV444 to YUV420 based on chrominance component amplitude | |
CN101945301B (en) | Method for converting 2D (two-dimensional) character scene into 3D (three-dimensional) | |
CN104581103A (en) | Image processing method and device | |
CN101964920B (en) | Method for compatibility with various 3D play modes on 3D television | |
CN102957919A (en) | Digital image brightness enhancement method | |
CN107197235B (en) | A kind of HDR video pre-filterings method | |
Biswas | Novel gray scale conversion techniques based on pixel depth | |
CN102075780B (en) | Stereoscopic image generating device and method | |
CN102098527A (en) | Method and device for transforming two dimensions into three dimensions based on motion analysis | |
WO2022228368A1 (en) | Image processing method, device and system | |
CN104469239A (en) | Immersive video presenting method of smart mobile terminal | |
JP2015097049A (en) | Image processor and image processing method | |
CN102630033A (en) | Method for converting 2D (Two Dimension) into 3D (Three Dimension) based on dynamic object detection | |
CN107430769A (en) | The system and method for refined image data | |
TW201306562A (en) | Method for improving three-dimensional display qualities |
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: 20120509 Termination date: 20150928 |
|
EXPY | Termination of patent right or utility model |