CN102932658A - Method for realizing 2D-to-3D (two-dimension to three-dimension) conversion based on image segmentation technology - Google Patents

Method for realizing 2D-to-3D (two-dimension to three-dimension) conversion based on image segmentation technology Download PDF

Info

Publication number
CN102932658A
CN102932658A CN2012104299460A CN201210429946A CN102932658A CN 102932658 A CN102932658 A CN 102932658A CN 2012104299460 A CN2012104299460 A CN 2012104299460A CN 201210429946 A CN201210429946 A CN 201210429946A CN 102932658 A CN102932658 A CN 102932658A
Authority
CN
China
Prior art keywords
image
gray
pixel
frame data
gray value
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
CN2012104299460A
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 CN2012104299460A priority Critical patent/CN102932658A/en
Publication of CN102932658A publication Critical patent/CN102932658A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention relates to a method for realizing 2D-to-3D (two-dimension to three-dimension) conversion based on an image segmentation technology. The method is characterized by comprising the following steps of: (1) receiving original 2D images and buffering first frame data; (2) buffering next frame data; (3) extracting non-output previous frame data and calculating the gray-scale value of each pixel of the images; (4) sequencing the gray-scale values of all pixels in an ascending order and saving a result; (5) setting a standard gray-scale value h; (6) carrying out left-and-right separation on the pixels with the gray-scale values greater than h; and (7) respectively outputting left-eye images and right-eye images to a display screen in a timesharing manner. According to the method disclosed by the invention, the gray-scale value of each pixel is extracted, the sequencing is carried out according to the gray-scale values, the fixed gray-scale value h is taken as a demarcation criterion of the sequenced result, image contours are determined, the left-eye images and the right-eye images are separated on the basis that the contours are known, and shutter-type 3D glasses are used in a matching manner, thus the 3D effect is realized.

Description

A kind of method that turns 3D based on image Segmentation Technology realization 2D
Technical field
The present invention relates to a kind of method that turns 3D based on image Segmentation Technology realization 2D.
Background technology
Present stage, the 3D technology develops at a terrific speed.Along with the concern of people to the 3D technology, increasing producer releases the novel product of supporting that 3D shows.The 3D TV, 3D projector, the 3D mobile phone, the carry-on video player of 3D etc. just progressively enters into ordinary people's family.But because the quantity problem of 3D film source, the equipment that great majority support 3D to show often can not be given full play to its effect.Exactly because so, convert the technology of 3D video to by traditional 2D video, received the concern of each producer.
For original 2D image or video, be fit to the image that 3D shows if want to be converted to, need in original image, isolate the picture of left eye and right eye, and the image of left eye and right eye is processed according to diverse ways, and produce 3D effect by glasses.And the most difficult among this be the image of separate left and right eye.
Summary of the invention
The purpose of this invention is to provide a kind of method that turns 3D based on image Segmentation Technology realization 2D, can realize 3D effect by the processing to image.
A kind of method that turns 3D based on image Segmentation Technology realization 2D, its special feature is, comprises the steps:
(1) receives original 2D image and with the first frame data buffer memory;
(2) buffer memory next frame data;
(3) the previous frame data of will not exporting extract, each pixel gray value in the computed image;
(4) gray value of all pixels is arranged and event memory according to ascending order;
(5) established standards gray value h will carry out respectively mark less than h with greater than the pixel of h, and the pixel that equals h is mark not, and the mark result is carried out buffer memory;
(6) separate about gray value is carried out greater than the pixel of h, draw respectively left-eye image and eye image, then all carry out buffer memory;
(7) export respectively left-eye image and eye image to display screen in the mode of timesharing, produce the 3D rendering source that is applicable to shutter glasses;
(8) extracting the next frame image returns step (2) and processes.
The inventive method is by extracting the gray value of each pixel, and sort according to gray value, with the result after the ordering with fixing gray value h as the boundary standard, determine image outline, on the basis of known profile, isolate the image of left eye and right eye, thereby cooperate shutter type 3 D spectacles to realize 3D effect.Through evidence, 3D effect is comparatively obvious.
Description of drawings
Accompanying drawing 1 is for adopting the inventive method to carry out the schematic diagram of separation of images.
Embodiment
As shown in Figure 1, adopt the inventive method at first to want each gray value of computed image to get distribution frequency, then calculator cumulative distribution frequency.If n pixel arranged in the image, lowest gray value and the highest gray value in Hmin and the Hmax difference presentation video carry out ascending order according to order from low to high and arrange.As benchmark, will carry out respectively mark with fixing gray value h less than gray value h with greater than the pixel of gray value h, will be defined as image outline greater than the pixel of gray value h, and the wire-frame image vegetarian refreshments is stored.Take the wire-frame image vegetarian refreshments as benchmark, original image is separated into left eye and right eye two width of cloth images, and respectively storage, finish the separation of image.
Embodiment 1:
A kind of method that turns 3D based on image Segmentation Technology realization 2D comprises the steps:
(1) receives original 2D image and with the first frame data buffer memory;
(2) buffer memory next frame data;
(3) the previous frame data of will not exporting extract, each pixel gray value in the computed image;
(4) gray value of all pixels is arranged and event memory according to ascending order;
(5) (h is summed up by internal data and sets established standards gray value h, adopt the arithmetic mean of all pixel gray values in this example), to carry out respectively mark less than h with greater than the pixel of h, the pixel that equals h is mark not, and the mark result is carried out buffer memory;
(6) about being carried out greater than the pixel of h, separates gray value, can (n can set according to the demand of the depth of field to a left n pixel or to a right translation n pixel, in this example to 192 pixels of right translation), draw respectively left-eye image and eye image, then all carry out buffer memory;
(7) export respectively left-eye image and eye image to display screen in the mode of timesharing, produce the 3D rendering source that is applicable to shutter glasses;
(8) extract the second two field picture and return step (2) and process, until change complete.

Claims (1)

1. a method that turns 3D based on image Segmentation Technology realization 2D is characterized in that, comprises the steps:
(1) receives original 2D image and with the first frame data buffer memory;
(2) buffer memory next frame data;
(3) the previous frame data of will not exporting extract, each pixel gray value in the computed image;
(4) gray value of all pixels is arranged and event memory according to ascending order;
(5) established standards gray value h will carry out respectively mark less than h with greater than the pixel of h, and the pixel that equals h is mark not, and the mark result is carried out buffer memory;
(6) separate about gray value is carried out greater than the pixel of h, draw respectively left-eye image and eye image, then all carry out buffer memory;
(7) export respectively left-eye image and eye image to display screen in the mode of timesharing, produce the 3D rendering source that is applicable to shutter glasses;
(8) extracting the next frame image returns step (2) and processes.
CN2012104299460A 2012-11-01 2012-11-01 Method for realizing 2D-to-3D (two-dimension to three-dimension) conversion based on image segmentation technology Pending CN102932658A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012104299460A CN102932658A (en) 2012-11-01 2012-11-01 Method for realizing 2D-to-3D (two-dimension to three-dimension) conversion based on image segmentation technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012104299460A CN102932658A (en) 2012-11-01 2012-11-01 Method for realizing 2D-to-3D (two-dimension to three-dimension) conversion based on image segmentation technology

Publications (1)

Publication Number Publication Date
CN102932658A true CN102932658A (en) 2013-02-13

Family

ID=47647342

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012104299460A Pending CN102932658A (en) 2012-11-01 2012-11-01 Method for realizing 2D-to-3D (two-dimension to three-dimension) conversion based on image segmentation technology

Country Status (1)

Country Link
CN (1) CN102932658A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018152654A1 (en) * 2017-02-22 2018-08-30 刘简 Theory, method and eyeglass apparatus for converting 2d video into 3d video

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102137267A (en) * 2011-03-28 2011-07-27 彩虹集团公司 Algorithm for transforming two-dimensional (2D) character scene into three-dimensional (3D) character scene
CN102426693A (en) * 2011-10-28 2012-04-25 彩虹集团公司 Method for converting 2D into 3D based on gradient edge detection algorithm
CN102630029A (en) * 2012-03-31 2012-08-08 彩虹集团公司 Method for realizing transformation from 2D to 3D based on contrast statistics
US20120229600A1 (en) * 2011-03-07 2012-09-13 Samsung Electronics Co., Ltd. Image display method and apparatus thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120229600A1 (en) * 2011-03-07 2012-09-13 Samsung Electronics Co., Ltd. Image display method and apparatus thereof
CN102137267A (en) * 2011-03-28 2011-07-27 彩虹集团公司 Algorithm for transforming two-dimensional (2D) character scene into three-dimensional (3D) character scene
CN102426693A (en) * 2011-10-28 2012-04-25 彩虹集团公司 Method for converting 2D into 3D based on gradient edge detection algorithm
CN102630029A (en) * 2012-03-31 2012-08-08 彩虹集团公司 Method for realizing transformation from 2D to 3D based on contrast statistics

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018152654A1 (en) * 2017-02-22 2018-08-30 刘简 Theory, method and eyeglass apparatus for converting 2d video into 3d video
CN110800292A (en) * 2017-02-22 2020-02-14 刘简 Theoretical method for converting 2D video into 3D video and glasses device

Similar Documents

Publication Publication Date Title
KR101240789B1 (en) Depth map generation for a video conversion system
US9083959B2 (en) Real-time automatic conversion of 2-dimensional images or video to 3-dimensional stereo images or video
KR101651442B1 (en) Image based 3d video format
CN102239506B (en) Intermediate view synthesis and multi-view data signal extraction
CN1173296C (en) Improved image conversion and encoding techniques
CN101742349B (en) Method for expressing three-dimensional scenes and television system thereof
EP2202992A2 (en) Image processing method and apparatus therefor
CN101223552A (en) Video processing method and device for depth extraction
KR20110093829A (en) Method and device for generating a depth map
CN103081476A (en) Method and device for converting three-dimensional image using depth map information
CN102379127A (en) Video processing device, video processing method, and computer program
US10127714B1 (en) Spherical three-dimensional video rendering for virtual reality
CN102186023A (en) Binocular three-dimensional subtitle processing method
JP2013143702A (en) Virtual viewpoint image generation device, virtual viewpoint image generation method, control program, recording medium, and stereoscopic display device
Zhang et al. Visual pertinent 2D-to-3D video conversion by multi-cue fusion
CN102647602B (en) System for converting 2D (two-dimensional) video into 3D (three-dimensional) video on basis of GPU (Graphics Processing Unit)
CN103716615A (en) 2D video three-dimensional method based on sample learning and depth image transmission
CN102026012A (en) Generation method and device of depth map through three-dimensional conversion to planar video
Zhang et al. A real-time time-consistent 2D-to-3D video conversion system using color histogram
US20120121163A1 (en) 3d display apparatus and method for extracting depth of 3d image thereof
CN102426693B (en) Method for converting 2D into 3D based on gradient edge detection algorithm
CN102932658A (en) Method for realizing 2D-to-3D (two-dimension to three-dimension) conversion based on image segmentation technology
CN102630029A (en) Method for realizing transformation from 2D to 3D based on contrast statistics
CN102348120B (en) Stereoscopic displaying device
CN104052990A (en) Method and device for fully automatically converting two-dimension into three-dimension based on depth clue fusion

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
AD01 Patent right deemed abandoned

Effective date of abandoning: 20160323

C20 Patent right or utility model deemed to be abandoned or is abandoned