CN102137267A - Algorithm for transforming two-dimensional (2D) character scene into three-dimensional (3D) character scene - Google Patents

Algorithm for transforming two-dimensional (2D) character scene into three-dimensional (3D) character scene Download PDF

Info

Publication number
CN102137267A
CN102137267A CN2011100756570A CN201110075657A CN102137267A CN 102137267 A CN102137267 A CN 102137267A CN 2011100756570 A CN2011100756570 A CN 2011100756570A CN 201110075657 A CN201110075657 A CN 201110075657A CN 102137267 A CN102137267 A CN 102137267A
Authority
CN
China
Prior art keywords
image
original
algorithm
scene
changes
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.)
Pending
Application number
CN2011100756570A
Other languages
Chinese (zh)
Inventor
姜凤山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Irico Group Corp
Original Assignee
Irico Group Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Irico Group Corp filed Critical Irico Group Corp
Priority to CN2011100756570A priority Critical patent/CN102137267A/en
Publication of CN102137267A publication Critical patent/CN102137267A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention discloses an algorithm for transforming a two-dimensional (2D) character scene into a three-dimensional (3D) character scene, which comprises the following steps of: firstly partitioning an original 2D image into blocks, taking the blocks which are approximate in colour and brightness as the same blocks, and comparing the original 2D image with a pre-set depth system so as to generate a depth map; then carrying out contour detection on the original 2D image to generate an image contour map; generating a right/left eye image according to the depth map and the contour map; and using the original image as the left/right image directly so as to output a 3D image. In the algorithm, a scene graph is determined by utilizing the depth map and a contour detection technology, a parallax error of left and right eyes for a close shot is increased, and a 3D effect is achieved.

Description

A kind of personage's scene 2D changes the 3D algorithm
Technical field
The present invention relates to a kind of 2D changes the 3D algorithm, and particularly a kind of personage's scene 2D changes the 3D algorithm.
Background technology
Present stage, panel display apparatus 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 substantially 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 allow the popular 3D effect of better experiencing, 2D changes the 3D technology and is absolutely necessary.
Summary of the invention
The present invention proposes a kind of 2D changes the 3D algorithm, utilizes depth map and profile detection technique, judges scene graph, strengthens the right and left eyes parallax of close shot, obtains 3D effect.
The objective of the invention is to realize that scene 2D changes the 3D algorithm, the present invention is achieved through the following technical solutions:
At first original 2D image is carried out piecemeal and handle, close color, brightness are thought compare same piecemeal, thereby generate depth map with presetting depth of field system; Then original 2D image is carried out profile and detect, generate image outline figure; Generate the right side/left-eye image according to depth map and profile diagram; With original image directly as a left side/eye image, thereby output 3D rendering.
When the original image piecemeal is handled, adopt many pixels grid to be divided into one, specifically the number of pixel is adjusted according to the resolution of original image in each piecemeal.
Preset depth of field system and be divided into up-down structure, upper, middle and lower structure, left and right sides structure, left, center, right structure, the upper right structure in lower-left and upper left bottom right structure.
Utilize generation image outline figure and depth map to meet, close shot place right and left eyes parallax is big, and distant view place right and left eyes parallax is little.
Original image generates image as eye image during as left-eye image; Original image generates image as left-eye image during as eye image.
The present invention utilizes depth map and profile detection technique by above scheme, judges scene graph, strengthens the right and left eyes parallax of close shot, obtains 3D effect.
Description of drawings
Fig. 1 personage's scene 2D changes the 3D algorithm flow chart.
Fig. 2 presets depth of field system.
Figure 33 D handles example.
Embodiment
Come the present invention is done further detailed explanation below in conjunction with accompanying drawing:
As shown in Figure 1, for personage's scene 2D changes the 3D algorithm flow chart, idiographic flow illustrates with summary of the invention.
As shown in Figure 2, be respectively up-down structure, upper, middle and lower structure, the upper right structure in lower-left, left and right sides structure, left, center, right structure and upper left bottom right structure for presetting depth of field system.
As shown in Figure 3, at first original 2D image is carried out piecemeal and handle, adopt many pixels grid to be divided into one, what this example was taked is the 24*16 grid.Processing is sorted out in close color, brightness, compared with presetting depth of field system, can obtain the depth of field from example is up-down structure, thereby generates depth map; Then original 2D image is carried out profile and detect, generate image outline figure; Utilize generation image outline figure and depth map to meet, close shot place right and left eyes parallax is bigger, and distant view place right and left eyes parallax is less, generates eye image; With original image directly as left-eye image, thereby output 3D rendering.
At first original 2D image is carried out piecemeal and handle, adopt many pixels grid to be divided into one, specifically the number of pixel can be adjusted according to the resolution of original image in each piecemeal.Close color, brightness thought compare same piecemeal, preset depth of field system and be divided into up-down structure, upper, middle and lower structure, left and right sides structure, left, center, right structure, the upper right structure in lower-left and upper left bottom right structure, thereby generate depth map with presetting depth of field system; Then original 2D image is carried out profile and detect, generate image outline figure; Utilize generation image outline figure and depth map to meet, close shot place right and left eyes parallax is bigger, and distant view place right and left eyes parallax is less, generates the right side/left-eye image; With original image directly as a left side/eye image, thereby output 3D rendering.
Skilled artisan is appreciated that image outline figure and the only just explanation of implementing in the illustration of depth map in the industry, and all these embodiment are in spiritual scope of the present invention.

Claims (5)

1. personage's scene 2D changes the 3D algorithm, it is characterized in that: at first original 2D image is carried out piecemeal and handle, close color, brightness are thought compare same piecemeal with presetting depth of field system, thereby generate depth map; Then original 2D image is carried out profile and detect, generate image outline figure; Generate the right side/left-eye image according to depth map and profile diagram; With original image directly as a left side/eye image, thereby output 3D rendering.
2. personage's scene 2D according to claim 1 changes the 3D algorithm, it is characterized in that: when the original image piecemeal is handled, adopt many pixels grid to be divided into one, specifically the number of pixel is adjusted according to the resolution of original image in each piecemeal.
3. personage's scene 2D according to claim 1 changes the 3D algorithm, it is characterized in that: preset depth of field system and be divided into up-down structure, upper, middle and lower structure, left and right sides structure, left, center, right structure, the upper right structure in lower-left and upper left bottom right structure.
4. personage's scene 2D according to claim 1 changes the 3D algorithm, it is characterized in that: utilize generation image outline figure and depth map to meet, close shot place right and left eyes parallax is big, and distant view place right and left eyes parallax is little.
5. personage's scene 2D according to claim 1 changes the 3D algorithm, it is characterized in that: original image generates image as eye image during as left-eye image; Original image generates image as left-eye image during as eye image.
CN2011100756570A 2011-03-28 2011-03-28 Algorithm for transforming two-dimensional (2D) character scene into three-dimensional (3D) character scene Pending CN102137267A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011100756570A CN102137267A (en) 2011-03-28 2011-03-28 Algorithm for transforming two-dimensional (2D) character scene into three-dimensional (3D) character scene

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011100756570A CN102137267A (en) 2011-03-28 2011-03-28 Algorithm for transforming two-dimensional (2D) character scene into three-dimensional (3D) character scene

Publications (1)

Publication Number Publication Date
CN102137267A true CN102137267A (en) 2011-07-27

Family

ID=44296909

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011100756570A Pending CN102137267A (en) 2011-03-28 2011-03-28 Algorithm for transforming two-dimensional (2D) character scene into three-dimensional (3D) character scene

Country Status (1)

Country Link
CN (1) CN102137267A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404594A (en) * 2011-10-31 2012-04-04 庞志勇 2D-to-3D conversion method based on image edge information
CN102427539A (en) * 2011-08-26 2012-04-25 庞志勇 Method for converting two-dimensional video image to three-dimensional video image
CN102932658A (en) * 2012-11-01 2013-02-13 彩虹集团公司 Method for realizing 2D-to-3D (two-dimension to three-dimension) conversion based on image segmentation technology
WO2014000663A1 (en) * 2012-06-28 2014-01-03 中兴通讯股份有限公司 Method and device for implementing stereo imaging
WO2014033511A1 (en) * 2012-08-29 2014-03-06 Beistar3D Limited Method for description of object points of the object space and connection for its implementation
CN105808220A (en) * 2014-12-30 2016-07-27 深圳Tcl数字技术有限公司 Method and device for displaying three-dimensional effect by application program

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102427539A (en) * 2011-08-26 2012-04-25 庞志勇 Method for converting two-dimensional video image to three-dimensional video image
CN102427539B (en) * 2011-08-26 2014-08-27 庞志勇 Method for converting two-dimensional video image to three-dimensional video image
CN102404594A (en) * 2011-10-31 2012-04-04 庞志勇 2D-to-3D conversion method based on image edge information
CN102404594B (en) * 2011-10-31 2014-02-12 庞志勇 2D-to-3D conversion method based on image edge information
WO2014000663A1 (en) * 2012-06-28 2014-01-03 中兴通讯股份有限公司 Method and device for implementing stereo imaging
WO2014033511A1 (en) * 2012-08-29 2014-03-06 Beistar3D Limited Method for description of object points of the object space and connection for its implementation
CN104584075A (en) * 2012-08-29 2015-04-29 贝斯塔尔3D有限公司 Method for description of object points of the object space and connection for its implementation
CN104584075B (en) * 2012-08-29 2018-12-21 Awe 股份有限公司 Object-point for description object space and the connection method for its execution
EA033516B1 (en) * 2012-08-29 2019-10-31 Ave Spol S R O Method for determination and description of object points of the object space and connection for its implementation
CN102932658A (en) * 2012-11-01 2013-02-13 彩虹集团公司 Method for realizing 2D-to-3D (two-dimension to three-dimension) conversion based on image segmentation technology
CN105808220A (en) * 2014-12-30 2016-07-27 深圳Tcl数字技术有限公司 Method and device for displaying three-dimensional effect by application program
CN105808220B (en) * 2014-12-30 2020-03-17 深圳Tcl数字技术有限公司 Method and device for displaying three-dimensional effect by application program

Similar Documents

Publication Publication Date Title
CN102137267A (en) Algorithm for transforming two-dimensional (2D) character scene into three-dimensional (3D) character scene
TWI598846B (en) Image data processing method and stereoscopic image display using the same
CN102325259A (en) Method and device for synthesizing virtual viewpoints in multi-viewpoint video
CN104756489B (en) A kind of virtual visual point synthesizing method and system
WO2016098411A1 (en) Video display device, video display system, and video display method
US20120188334A1 (en) Generating 3D stereoscopic content from monoscopic video content
US20140111627A1 (en) Multi-viewpoint image generation device and multi-viewpoint image generation method
KR102121389B1 (en) Glassless 3d display apparatus and contorl method thereof
US10694173B2 (en) Multiview image display apparatus and control method thereof
CN102447925B (en) Method and device for synthesizing virtual viewpoint image
CN106796775A (en) Display device and the method for controlling the display device
US10075703B2 (en) Wide-angle autostereoscopic three-dimensional (3D) image display method and device
CN102724532B (en) Planar video three-dimensional conversion method and system using same
RU2013152459A (en) DEVICE FOR PROCESSING IMAGES AND METHOD FOR PROCESSING IMAGES
US10462337B2 (en) Liquid crystal display device and image processing method for same
CN103081485A (en) Three-dimensional image generating method, three-dimensional image generating apparatus, and display apparatus provided with same
US20130147804A1 (en) Method for visualizing three-dimensional images on a 3d display device and 3d display device
CN104506872B (en) A kind of method and device of converting plane video into stereoscopic video
TW201315209A (en) System and method of rendering stereoscopic images
CN103037226A (en) Method and device for depth fusion
US20140071237A1 (en) Image processing device and method thereof, and program
CN103327351B (en) A kind of stereo display method and system
CN102026012B (en) Generation method and device of depth map through three-dimensional conversion to planar video
CN102036090B (en) Television signal conversion device for digital television terminal
CN103945206B (en) A kind of stereo-picture synthesis system compared based on similar frame

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110727