CN102780895A - Implementation method of 3D (three-dimensional) video file from single video file - Google Patents

Implementation method of 3D (three-dimensional) video file from single video file Download PDF

Info

Publication number
CN102780895A
CN102780895A CN2012101767670A CN201210176767A CN102780895A CN 102780895 A CN102780895 A CN 102780895A CN 2012101767670 A CN2012101767670 A CN 2012101767670A CN 201210176767 A CN201210176767 A CN 201210176767A CN 102780895 A CN102780895 A CN 102780895A
Authority
CN
China
Prior art keywords
original image
video file
image
resolution
left eyes
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
CN2012101767670A
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.)
China Digital Video Beijing Ltd
Original Assignee
China Digital Video Beijing Ltd
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 China Digital Video Beijing Ltd filed Critical China Digital Video Beijing Ltd
Priority to CN2012101767670A priority Critical patent/CN102780895A/en
Publication of CN102780895A publication Critical patent/CN102780895A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses an implementation method of a 3D (three-dimensional) video file from a single video file. The implementation method comprises the following steps: getting an original image, wherein the original image is a frame of picture of the single video file; splitting the original image according to the storage mode of the original image to get a left-eye image and a right-eye image, which are independent; amplifying the left-eye image and the right-eye image to the size of the original image according to a Scaling algorithm to get the new left-eye image and the new right-eye image; and packing the new left-eye image and the new right-eye image for output and generating the 3D video file for playing. According to the implementation method disclosed by the invention, the single video file under the different storage modes can be transformed to the video file with a 3D effect, which supports the playing on a television, and the 3D file existing in a single file storage way can be transformed in a fast, flexible and high-efficient manner.

Description

A kind of single video file is to the implementation method of 3D video file
Technical field
The present invention relates to the 3D technical field of video processing, particularly a kind of single video file is to the implementation method of 3D video file.
Background technology
Because fast development of information technology, the world has got into the epoch of information.Along with the fast development of computer technology in the last few years, the research and development of 3D technology and the stage of fumbling in early stage of using the decades of having passed by, the maturity of technology, sophistication, ease for use, hommization, economy etc. have all obtained huge breakthrough.The 3D The Application of Technology is popularized, and has towards the exploitation and the making of the culture and arts series products of visual performance classes such as video display animation, animation, recreation.Wherein, development of television has two very important trend: the high Qinghua from the SD to the high definition, and resolution can be increasingly high; Realize the 3D technology that stereoscopic vision is given sympathetic consideration to.Particularly the 3D technology is an important trend of TV tech development in a very long time in the future.
3D (Three Dimensions; Promptly three-dimensional) technology is to be implemented on the basis of original two-dimensional image to increase one dimension; The object seen of our eyes is three-dimensional at ordinary times; Differentiation about not only having on the plane also has the differentiation of front and back, distance, so feel that the object of seeing is three-dimensional.Produce this relief process: eyes are in observing scene; Because two eyes are at a distance of about 60mm, can be from two different viewed scenery, two images that arrive soon are also inequality; Will form parallax; Brain to two observed have nuance image handle, just formed far and near different depth effect, be three-dimensional sensation thereby produce scenery.
In the prior art; Eyes with two-way image unit anthropomorphic dummy are taken the two-way image, or the right and left eyes two-way image of computer generation, through making, broadcast, transmission; On the video screen that the modes such as time-division or polarization that are presented at last show; Viewers wear and the supporting glasses of 3D television set make right and left eyes watch the image of left and right sides image unit shooting respectively, thereby in brain, form the TV of stereoeffect.Yet; When transmitting and store,, then take a large amount of transmission bandwidths and memory space for the 3D video of playing on TV if the employing two paths of signals transmits and stores; Influence system speed; Therefore usually adopting the form of monofile to transmit and store, so how to be the image with 3D effect with the image transitions under the monofile memory module fast and efficiently, is exactly our current problem that will solve.
Summary of the invention
The invention provides the implementation method of a kind of single video file in order to solve above technical problem, specifically comprise to the 3D video file:
Obtain original image, said original image is a frame picture of single video file;
Memory module according to said original image splits said original image, obtains two independently right and left eyes images;
According to the Scaling algorithm said right and left eyes image is amplified to the size of said original image, obtains new right and left eyes image;
With said new right and left eyes image packing output, generate the 3D video file and broadcast.
Wherein, the memory module of said original image specifically comprises:
Horizontal Tile SideBySide pattern is specially: deposit the half-resolution image that two frame resolution are 960*1080 side by side about in the full HD frame that resolution is 1920*1080; Or,
Over/Uder pattern vertically is specially: deposit the half-resolution image that two frame resolution are 960*1080 vertically in the full HD frame that resolution is 1920*1080.
Wherein, when the memory module of said original image was horizontal Tile SideBySide pattern, said memory module according to said original image split said original image, obtained two independently right and left eyes images, specifically comprised:
Said original image is got the first from left half data and a right half data splits, and the resolution of said original image is 1920*1080, and the resolution of a said the first from left half data and a right half data is 960*1080.
Wherein, the memory module of said original image is during for Over/Uder pattern vertically, and said memory module according to said original image splits said original image, obtains two independently right and left eyes images, specifically comprises:
Said original image is got a last half data split with next half data, the resolution of said original image is 1920*1080, and the resolution of a said last half data and next half data is 1920*540.
Wherein, the Scaling algorithm is specially convolution difference algorithm 3 times.
Wherein, with said new right and left eyes image packing output, generate the broadcast of 3D video file and also comprise afterwards:
Detect said 3D video file and whether have 3D effect,, then normally broadcast if having; If do not have, then said new right and left eyes image sequence to be put upside down, packing output generates the 3D video file and broadcasts.
Compared with prior art; The embodiment of the invention has the following advantages: through the single video file under the different memory modules is converted into the video file with 3D effect that support is broadcasted on TV, and can be fast, flexibly, efficiently the 3D file that exists with the monofile storage mode is transformed.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work property, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1: be in the embodiment of the invention 1 a kind of single video file to the flow chart of the implementation method of 3D video file;
Fig. 2: be in the embodiment of the invention 2 another kind of single video file to the flow chart of the implementation method of 3D video file.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obvious described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
The implementation method of a kind of single video file to the 3D video file is provided in the embodiment of the invention 1, as shown in Figure 1, may further comprise the steps:
Step S101 obtains original image, and said original image is a frame picture of single video file.
Step S102 splits said original image according to the memory module of said original image, obtains two independently right and left eyes images.
Transmit and when storing, common memory module is a horizontal Tile SideBySide pattern with the single video file, deposit the half-resolution image that two frame resolution are 960*1080 side by side about promptly in resolution full HD frame that is 1920*1080; Or Over/Uder pattern is vertically deposited the half-resolution image that two frame resolution are 960*1080 in the full HD frame that promptly resolution is 1920*1080 vertically.
When the memory module of original image is horizontal Tile SideBySide pattern, be that the original image of 1920*1080 is got the first from left half data with resolution, promptly resolution is the 960*1080 view data, obtains left-eye image, gets a right half data again, obtains eye image.
When the memory module of original image during for Over/Uder pattern vertically, be that the original image of 1920*1080 is got a last half data with resolution, promptly resolution is the 960*1080 view data, obtains left-eye image, takes off a half data again, obtains eye image.
Step S103 is amplified to the size of said original image according to the Scaling algorithm with said right and left eyes image, obtains new right and left eyes image.
Step S104 with said new right and left eyes image packing output, generates the 3D video file and broadcasts.
The beneficial effect that the technical scheme of the embodiment of the invention is brought is following: through the single video file under the different memory modules is converted into the video file with 3D effect that support is broadcasted on TV, and can be fast, flexibly, efficiently the 3D file that exists with the monofile storage mode is transformed.
The implementation method of another kind of single video file to the 3D video file is provided in the embodiment of the invention 2, as shown in Figure 2, may further comprise the steps:
Step S201 obtains original image, and said original image is a frame picture of single video file.
Step S202 splits said original image according to the memory module of said original image, obtains two independently right and left eyes images.
Transmit and when storing, common memory module is a horizontal Tile SideBySide pattern with the single video file, deposit the half-resolution image that two frame resolution are 960*1080 side by side about promptly in resolution full HD frame that is 1920*1080; Or Over/Uder pattern is vertically deposited the half-resolution image that two frame resolution are 960*1080 in the full HD frame that promptly resolution is 1920*1080 vertically.
When the memory module of original image is horizontal Tile SideBySide pattern, be that the original image of 1920*1080 is got the first from left half data with resolution, promptly resolution is the 960*1080 view data, obtains left-eye image, gets a right half data again, obtains eye image.
When the memory module of original image during for Over/Uder pattern vertically, be that the original image of 1920*1080 is got a last half data with resolution, promptly resolution is the 960*1080 view data, obtains left-eye image, takes off a half data again, obtains eye image.
Step S203 is amplified to the size of said original image according to the Scaling algorithm with said right and left eyes image, obtains new right and left eyes image, is specially:
According to said Scaling algorithm, be specially 3 convolution difference algorithms said left-eye image and eye image are changed to the high-definition image that resolution is 1920*1080.
The concrete formula of cubic convolution interpolation algorithm is:
f(i+u,j+v)?=?[A]?*?[B]?*?[C]
[A]=[?S(u?+?1)?S(u?+?0)?S(u?-?1)?S(u?-?2)?]
Figure BDA0000170846391
Figure BDA0000170846392
Figure BDA0000170846393
S (x) be to the approaching of Sin (x*Pi)/x (Pi is a circumference ratio---π)
Step S204 with said new right and left eyes image packing output, generates the 3D video file.
Step S205 detects said 3D video file and whether has 3D effect, if having, and implementation step S207 then; If do not have, implementation step S206 then.
Step S206 puts upside down said new right and left eyes image sequence, packing output, implementation step S205.
Step S207 broadcasts said 3D video file.
The beneficial effect that the technical scheme of the embodiment of the invention is brought is following: through the single video file under the different memory modules is converted into the video file with 3D effect that support is broadcasted on TV, and can be fast, flexibly, efficiently the 3D file that exists with the monofile storage mode is transformed.
Through the description of above execution mode, those skilled in the art can be well understood to the present invention and can realize through hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding; Technical scheme of the present invention can be come out with the embodied of software product, this software product can be stored in a non-volatile memory medium (can be CD-ROM, USB flash disk; Portable hard drive etc.) in; Comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the sketch map of a preferred embodiment, module in the accompanying drawing or flow process might not be that embodiment of the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
The invention described above embodiment sequence number is not represented the quality of embodiment just to description.
More than disclosedly be merely several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.

Claims (6)

1. a single video file is characterized in that to the implementation method of 3D video file, may further comprise the steps:
Obtain original image, said original image is a frame picture of single video file;
Memory module according to said original image splits said original image, obtains two independently right and left eyes images;
According to the Scaling algorithm said right and left eyes image is amplified to the size of said original image, obtains new right and left eyes image;
With said new right and left eyes image packing output, generate the 3D video file and broadcast.
2. the method for claim 1 is characterized in that, the memory module of said original image specifically comprises:
Horizontal Tile SideBySide pattern is specially: deposit the half-resolution image that two frame resolution are 960*1080 side by side about in the full HD frame that resolution is 1920*1080; Or,
Over/Uder pattern vertically is specially: deposit the half-resolution image that two frame resolution are 960*1080 vertically in the full HD frame that resolution is 1920*1080.
3. method as claimed in claim 2; It is characterized in that when the memory module of said original image was horizontal Tile SideBySide pattern, said memory module according to said original image split said original image; Obtain two independently right and left eyes images, specifically comprise:
Said original image is got the first from left half data and a right half data splits, and the resolution of said original image is 1920*1080, and the resolution of a said the first from left half data and a right half data is 960*1080.
4. method as claimed in claim 2; It is characterized in that the memory module of said original image is during for Over/Uder pattern vertically, said memory module according to said original image splits said original image; Obtain two independently right and left eyes images, specifically comprise:
Said original image is got a last half data split with next half data, the resolution of said original image is 1920*1080, and the resolution of a said last half data and next half data is 1920*540.
5. the method for claim 1 is characterized in that, the Scaling algorithm is specially convolution difference algorithm 3 times.
6. the method for claim 1 is characterized in that, with said new right and left eyes image packing output, generates the broadcast of 3D video file and also comprises afterwards:
Detect said 3D video file and whether have 3D effect,, then normally broadcast if having; If do not have, then said new right and left eyes image sequence to be put upside down, packing output generates the 3D video file and broadcasts.
CN2012101767670A 2012-05-31 2012-05-31 Implementation method of 3D (three-dimensional) video file from single video file Pending CN102780895A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012101767670A CN102780895A (en) 2012-05-31 2012-05-31 Implementation method of 3D (three-dimensional) video file from single video file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012101767670A CN102780895A (en) 2012-05-31 2012-05-31 Implementation method of 3D (three-dimensional) video file from single video file

Publications (1)

Publication Number Publication Date
CN102780895A true CN102780895A (en) 2012-11-14

Family

ID=47125637

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012101767670A Pending CN102780895A (en) 2012-05-31 2012-05-31 Implementation method of 3D (three-dimensional) video file from single video file

Country Status (1)

Country Link
CN (1) CN102780895A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106507088A (en) * 2016-12-14 2017-03-15 郑州胜龙信息技术股份有限公司 Receive the 3 D image display method of upper and lower and left-right format piece source signal
WO2017185761A1 (en) * 2016-04-26 2017-11-02 乐视控股(北京)有限公司 Method and device for playing back 2d video

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1126344A (en) * 1994-02-01 1996-07-10 三洋电机株式会社 Method of converting two-dimensional images into three-dimensional images
CN101900887A (en) * 2010-07-10 2010-12-01 深圳超多维光电子有限公司 High resolution stereo display device and display method
CN102281449A (en) * 2010-06-12 2011-12-14 宏碁股份有限公司 Automatic three-dimensional content judging method
CN102348120A (en) * 2010-07-29 2012-02-08 深圳Tcl新技术有限公司 Stereoscopic displaying device
CN102461185A (en) * 2009-06-23 2012-05-16 三星电子株式会社 Method and apparatus for automatic transformation of three-dimensional video
CN102457739A (en) * 2010-10-29 2012-05-16 中强光电股份有限公司 Three-dimensional image format conversion device and display system
CN102474642A (en) * 2009-07-09 2012-05-23 Lg电子株式会社 Image output method for display device which outputs three-dimensional contents, and display device employing method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1126344A (en) * 1994-02-01 1996-07-10 三洋电机株式会社 Method of converting two-dimensional images into three-dimensional images
CN102461185A (en) * 2009-06-23 2012-05-16 三星电子株式会社 Method and apparatus for automatic transformation of three-dimensional video
CN102474642A (en) * 2009-07-09 2012-05-23 Lg电子株式会社 Image output method for display device which outputs three-dimensional contents, and display device employing method
CN102281449A (en) * 2010-06-12 2011-12-14 宏碁股份有限公司 Automatic three-dimensional content judging method
CN101900887A (en) * 2010-07-10 2010-12-01 深圳超多维光电子有限公司 High resolution stereo display device and display method
CN102348120A (en) * 2010-07-29 2012-02-08 深圳Tcl新技术有限公司 Stereoscopic displaying device
CN102457739A (en) * 2010-10-29 2012-05-16 中强光电股份有限公司 Three-dimensional image format conversion device and display system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017185761A1 (en) * 2016-04-26 2017-11-02 乐视控股(北京)有限公司 Method and device for playing back 2d video
CN106507088A (en) * 2016-12-14 2017-03-15 郑州胜龙信息技术股份有限公司 Receive the 3 D image display method of upper and lower and left-right format piece source signal

Similar Documents

Publication Publication Date Title
US8780111B2 (en) 3D display apparatus and method for processing image using the same
CN106296781B (en) Special effect image generation method and electronic equipment
Zhu et al. 3D-TV system with depth-image-based rendering
CN102685523B (en) Depth information generator, depth information generating method and depth adjusting apparatus thereof
KR102121389B1 (en) Glassless 3d display apparatus and contorl method thereof
GB2497612B (en) Three dimensional display system
CN102547348B (en) Method and equipment for regulating naked-eye stereoscopic display and corresponding device and system
GB201106111D0 (en) Rendering images for autostereoscopic display
JP2015534745A (en) Stereo image generation, transmission, and reception method and related apparatus
KR20070027318A (en) Method of processing three-d image and three-d image processing system using the same
CN102780895A (en) Implementation method of 3D (three-dimensional) video file from single video file
CN102111637A (en) Stereoscopic video depth map generation method and device
US20120163700A1 (en) Image processing device and image processing method
CN106534832A (en) Stereoscopic image processing method and system
CN102572493A (en) Image processing apparatus and image processing method
US20140204175A1 (en) Image conversion method and module for naked-eye 3d display
KR101794492B1 (en) System for displaying multiview image
KR101912242B1 (en) 3d display apparatus and method for image processing thereof
CN102404583A (en) Depth reinforcing system and method for three dimensional images
KR20160141446A (en) Contents convert method, apparatus, and program for layered hologram
CN103428520A (en) 3D (three-dimensional) image synthesis method and system
US8947507B2 (en) Method of processing 3D images, and corresponding system including the formulation of missing pixels using windows of details from first and second views
CN102710947A (en) Video signal processing apparatus and video signal processing method
KR101236739B1 (en) Computer readable recording medium having streographic imaging program and server system for multiple stereographic display
KR101427211B1 (en) Method and apparatus for generating and consuming multi-view image media file

Legal Events

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

Application publication date: 20121114

RJ01 Rejection of invention patent application after publication