CN104683785B - Real-time 3D (3-Dimensional) character inserting and playing method based on naked-eye 3D technology - Google Patents

Real-time 3D (3-Dimensional) character inserting and playing method based on naked-eye 3D technology Download PDF

Info

Publication number
CN104683785B
CN104683785B CN201510063779.6A CN201510063779A CN104683785B CN 104683785 B CN104683785 B CN 104683785B CN 201510063779 A CN201510063779 A CN 201510063779A CN 104683785 B CN104683785 B CN 104683785B
Authority
CN
China
Prior art keywords
picture
background
word
display
permutation table
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.)
Active
Application number
CN201510063779.6A
Other languages
Chinese (zh)
Other versions
CN104683785A (en
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.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric Co 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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN201510063779.6A priority Critical patent/CN104683785B/en
Publication of CN104683785A publication Critical patent/CN104683785A/en
Application granted granted Critical
Publication of CN104683785B publication Critical patent/CN104683785B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a real-time 3D character inserting and playing method based on a naked-eye 3D technology. The method comprises the following steps of generating corresponding characters and generating pictures of the characters; obtaining the width, height and coordinate value of an area to be displayed; zooming the pictures of the characters according to the width and height of the area to be displayed; rendering other disparity maps according to the specified amount of view points; calculating the arrangement table of the disparity maps; obtaining disparity map arrangement corresponding to the area to be displayed; synthesizing a naked-eye 3D display picture; replacing the background of the synthesized picture with a display background for fusion and displaying the background. Compared with the prior art, characters or times needing to be inserted and played are dynamically displayed in real time through the naked-eye 3D technology, and then the characters or times are fused in the currently displayed background; the principle is that the characters needing to be inserted, played and displayed are generated into corresponding pictures, the pictures are synthesized into the naked-eye 3D display picture according to the naked-eye 3D display technology, and then the background of the pictures is replaced with the background at the current display position and is displayed in real time.

Description

The method intercutting 3D word in real time based on bore hole 3D technology
Technical field
The present invention relates to a kind of bore hole 3D display field and image processing method, more particularly, to one kind are based on bore hole 3D technology The method intercutting 3D word in real time.
Background technology
With the development of bore hole 3D technology recent years, bore hole 3D Display Technique have begun to from laboratory move towards market and The public visual field, its technology also reaches its maturity.Because bore hole 3D broadcasting content is different with ordinary video, and current bore hole 3D Standard is simultaneously immature, leads to the making of its content and form different.And because its content production cycle is long, manufacture difficulty Higher, also result in the scarcity of bore hole 3D content.Current broadcasting content mainly makes in advance according to bore hole 3D Display Technique Good video or picture, if will in video on intercut 3D word in real time or seem highly difficult if the time.
Content of the invention
The purpose of the present invention is that offer is a kind of and is based on bore hole 3D technology, is capable of word real-time transform, and background Combine together, and the method intercutting 3D word in real time of bore hole 3D three-dimensional text effect can be shown.
To achieve these goals, the technical solution used in the present invention is:A kind of intercutting in real time based on bore hole 3D technology The method of 3D word, method and step is as follows:
The first step, establishment word to be shown;
Second step, acquisition viewing area are wide high under regulation resolution ratio;
3rd step, word is generated as word picture;
4th step, picture is scaled to the high equal word picture of viewing area field width;
5th step, according to regulation viewpoint number, the image rendering of the word picture being obtained with the 4th step goes out corresponding parallax Figure;
6th step, according to regulation bore hole 3D display grating pixel arrangement principle, generate disparity map and permutation table;7th Step, the coordinate of acquisition word picture display location under regulation resolution ratio;
8th step, in the acquisition permutation table arrangement of correspondence position high according to Image display position coordinate and width;
9th step, the permutation table according to corresponding region and disparity map, put in order according to the disparity map pixel in permutation table, Rearranged, obtained the bore hole 3D display image after synthesis;
Tenth step, the character background of word picture is replaced with currently playing video or picture background;
11st step, by replace background after picture be placed on viewing area carry out merge display.
Preferably, in the 5th step, in conjunction with the size of background parallax, it is obtained by the translation on picture to word His visual point image.
Preferably, in the 6th step, according to grating relevant parameter, including slope, pitch value and the corresponding generation of viewpoint number Disparity map permutation table.
Preferably, in the 7th step, picture displaing coordinate needs to obtain display location top left corner pixel coordinate (X, Y) i.e. Can, the origin of coordinates is with the point in the screen lower left corner for initial initial point (0,0).
Preferably, in the 8th step, according to the top left corner pixel coordinate of display location, permutation table finds corresponding position Put, and get the disparity map pixel permutation table of corresponding region according to the wide height of display picture.
Preferably, in the tenth step, according to the display background of picture and the contrast of text pixel value, selecting suitable threshold value T, then the background pixel value of setting is replaced with currently playing video or picture background.In order to ensure character background and currently broadcast The video put or picture background merge completely, through calculating, threshold value T, background pixel value B, text pixel value C and empirical value f it Between relation be, T=B-f and B-C>>F (f=50);Or T=B+f and C-B>>F (f=50).
Compared with prior art, it is an advantage of the current invention that:The present invention is by bore hole 3D technology, the display of dynamic realtime Need the word that intercuts or time etc., be then fused in the middle of currently displaying background.Its principle is to need to intercut display Word generates corresponding picture, by picture according to bore hole 3D Display Technique synthesis bore hole 3D display picture, then by the back of the body of picture Scape replaces with the background of current display position, and shows in real time.Obtaining is the 3D display effect that effect is exactly word and background merge Really.And the text effects of arbitrarily editor's need can carry out bore hole 3D and show.
Brief description
Fig. 1 is method of the present invention flow chart.
Specific embodiment
The invention will be further described below.
Embodiment:Referring to Fig. 1, a kind of method intercutting 3D word in real time based on bore hole 3D technology, method and step is as follows:
The first step, establishment word to be shown;
Second step, acquisition viewing area are wide high under regulation resolution ratio;
3rd step, word is generated as word picture, the background pixel value of word picture is set to word to comparing Big, for example, black 0 or white 255, it is easy to background and merge replacement;
4th step, picture is scaled to the high equal word picture of viewing area field width;
5th step, according to regulation viewpoint number, the image rendering of the word picture being obtained with the 4th step goes out corresponding parallax Figure, in conjunction with the size of background parallax, obtains other visual point images by the translation on picture to word;6th step, according to The bore hole 3D display grating pixel arrangement principle of regulation, generates disparity map and permutation table, according to grating relevant parameter, including tiltedly Rate, pitch value (ratio of unit interval and pixel on grating) and viewpoint number corresponding generation disparity map permutation table;
7th step, the coordinate of acquisition word picture display location under regulation resolution ratio, picture displaing coordinate needs to obtain Display location top left corner pixel coordinate (X, Y), the origin of coordinates is with the point in the screen lower left corner for initial initial point (0,0);
8th step, high according to Image display position coordinate and width, obtain the arrangement of correspondence position in permutation table, according to display The top left corner pixel coordinate of position, finds correspondence position in permutation table, and gets corresponding area according to the wide height of display picture The disparity map pixel permutation table in domain;
9th step, the permutation table according to corresponding region and disparity map, put in order according to the disparity map pixel in permutation table, Rearranged, obtained the bore hole 3D display image after synthesis;
Tenth step, the character background of word picture is replaced with currently playing video or picture background;
According to the display background of picture and the contrast of text pixel value, select suitable threshold value T, then the background picture that will set Plain value replaces with currently playing video or picture background, if the background pixel value 255 or 0 for example setting according to suggestion, (now text pixel value must less than 50 pixel value can be more than 200 (now text pixel value is necessarily less than 200) or pixel value 50 must be more than) value replace with the pixel value of corresponding background.
If why background value is set as 255 or 0, and threshold value is chosen to be 205 or 50, is because at word edge With background transitional region, smooth excessiveness can be produced, by calculating, the pixel value of transitional region can be distributed in background pixel value and literary composition Between word pixel value.In order to ensure that background merges completely, in order to ensure character background and currently playing video or picture background Merge completely, through calculating, the relation between threshold value T, background pixel value B, text pixel value C and empirical value f is that T=B-f is simultaneously And B-C>>F (f=50);Or T=B+f and C-B>>F (f=50).
11st step, by replace background after picture be placed on viewing area carry out merge display.
By said method step, that realizes dynamic realtime of the present invention shows the word needing to intercut or time etc., then It is fused in the middle of currently displaying background.3D display effect that word and background are merged, and can any editor's need Text effects carry out bore hole 3D and show.
To provided by the present invention, detailed Jie is carried out based on the method intercutting 3D word in real time of bore hole 3D technology above Continue, specific case used herein is set forth to the principle of the present invention and embodiment, the explanation of above example is only It is to be used to help understand the method for the present invention and its core concept;Simultaneously for one of ordinary skill in the art, according to this Bright thought, all will change in specific embodiments and applications, and the change to the present invention and improvement will be can Can, without the spirit and scope beyond accessory claim defined, in sum, this specification content should not be construed as Limitation of the present invention.

Claims (2)

1. a kind of method intercutting 3D word in real time based on bore hole 3D technology is it is characterised in that method and step is as follows:
The first step, establishment word to be shown;
Second step, acquisition viewing area are wide high under regulation resolution ratio;
3rd step, word is generated as word picture;
4th step, picture is scaled to the high equal word picture of viewing area field width;
5th step, according to regulation viewpoint number, the image rendering of the word picture being obtained with the 4th step goes out corresponding disparity map, the In five steps, in conjunction with the size of background parallax, other visual point images are obtained by the translation on picture to word;
6th step, according to regulation bore hole 3D display grating pixel arrangement principle, generate disparity map and permutation table;
7th step, the coordinate of acquisition word picture display location under regulation resolution ratio, in the 7th step, picture displaing coordinate needs Obtain display location top left corner pixel coordinate (X, Y), the origin of coordinates is with the point in the screen lower left corner for initial initial point (0,0);
8th step, high according to Image display position coordinate and width, obtain the arrangement of correspondence position in permutation table, in the 8th step, press According to the top left corner pixel coordinate of display location, permutation table finds correspondence position, and is got according to the wide height of display picture The disparity map pixel permutation table of corresponding region;
9th step, the permutation table according to corresponding region and disparity map, put in order according to the disparity map pixel in permutation table, carry out Rearrange, obtain the bore hole 3D display image after synthesis;
Tenth step, the character background of word picture is replaced with currently playing video or picture background, in the tenth step, according to aobvious The background of diagram piece and the contrast of text pixel value, select suitable threshold value T, then the background pixel value of setting are replaced with currently The video play or picture background, the relation between threshold value T, background pixel value B, text pixel value C and empirical value f is, T=B- F and B-C>>F (f=50);Or T=B+f and C-B>>F (f=50);
11st step, by replace background after picture be placed on viewing area carry out merge display.
2. the method intercutting 3D word in real time based on bore hole 3D technology according to claim 1 it is characterised in that:6th In step, according to grating relevant parameter, including slope, pitch value and viewpoint number corresponding generation disparity map permutation table.
CN201510063779.6A 2015-02-06 2015-02-06 Real-time 3D (3-Dimensional) character inserting and playing method based on naked-eye 3D technology Active CN104683785B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510063779.6A CN104683785B (en) 2015-02-06 2015-02-06 Real-time 3D (3-Dimensional) character inserting and playing method based on naked-eye 3D technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510063779.6A CN104683785B (en) 2015-02-06 2015-02-06 Real-time 3D (3-Dimensional) character inserting and playing method based on naked-eye 3D technology

Publications (2)

Publication Number Publication Date
CN104683785A CN104683785A (en) 2015-06-03
CN104683785B true CN104683785B (en) 2017-02-22

Family

ID=53318274

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510063779.6A Active CN104683785B (en) 2015-02-06 2015-02-06 Real-time 3D (3-Dimensional) character inserting and playing method based on naked-eye 3D technology

Country Status (1)

Country Link
CN (1) CN104683785B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105263014A (en) * 2015-10-12 2016-01-20 四川长虹电器股份有限公司 Implementation method of naked eye 3D UI (user interface) controls
CN109194942B (en) * 2018-11-13 2020-08-11 宁波视睿迪光电有限公司 Naked eye 3D video playing method, terminal and server

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013520924A (en) * 2010-02-24 2013-06-06 トムソン ライセンシング Subtitles for stereoscopic video
KR20110138151A (en) * 2010-06-18 2011-12-26 삼성전자주식회사 Method and apparatus for trasmitting video datastream for providing digital broadcasting service with subtitling service, method and apparatus for receiving video datastream providing digital broadcasting service with subtitling service
CN102186023B (en) * 2011-04-27 2013-01-02 四川长虹电器股份有限公司 Binocular three-dimensional subtitle processing method
CN102447863A (en) * 2011-12-20 2012-05-09 四川长虹电器股份有限公司 Multi-viewpoint three-dimensional video subtitle processing method
CN103826114B (en) * 2013-11-15 2017-04-19 青岛海信电器股份有限公司 Stereo display method and free stereo display apparatus

Also Published As

Publication number Publication date
CN104683785A (en) 2015-06-03

Similar Documents

Publication Publication Date Title
US8957892B2 (en) Stereo composition based on multiple camera rigs
JP5449162B2 (en) Video encoding apparatus, video encoding method, video reproduction apparatus, and video reproduction method
RU2538335C2 (en) Combining 3d image data and graphical data
JP5567562B2 (en) Versatile 3D image format
CN102937968B (en) A kind of binocular 3D webpage implementation method based on Canvas and system
CN102075694A (en) Stereoscopic editing for video production, post-production and display adaptation
CN113660528B (en) Video synthesis method and device, electronic equipment and storage medium
KR101834934B1 (en) Transferring of 3d image data
CN104717487A (en) Naked eye 3D interface display method
CN103177467A (en) Method for creating naked eye 3D (three-dimensional) subtitles by using Direct 3D technology
CN104683785B (en) Real-time 3D (3-Dimensional) character inserting and playing method based on naked-eye 3D technology
CN108616730A (en) A kind of three-dimensional barrage method and system based on virtual reality
CN105263014A (en) Implementation method of naked eye 3D UI (user interface) controls
KR20140051035A (en) Method and apparatus for image encoding
CN115761188A (en) Method and system for fusing multimedia and three-dimensional scene based on WebGL
CN103247027B (en) Image processing method and electric terminal
CN102118584B (en) Method and device for generating caption moving pictures with curve extension dynamic effect
KR101080988B1 (en) A 3D Picture Producing Method Using Optimum Parallax, And A Storage Medium
KR101486959B1 (en) Karaoke System to improve the immersion.
TWI502960B (en) Device and method for 2d to 3d conversion
CN103379355A (en) Method and device for stereoscopic video pair production
KR101542775B1 (en) Apparatus and method for creating 3-dimensional contents of oriental painting
CN102074032A (en) Animation generating method and device based on picture sequence
KR101438447B1 (en) An apparatus for displaying 3-dimensional subtitles and the method thereof
Родіна Computer animation as a tool of vizaalization of information

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