Summary of the invention
The technical problem to be solved in the present invention is, for the defective that can't automatically adjust according to different 2D/3D program video forms the interface figure that receives with suitable 3D display device of prior art, provide the method for a kind of automatic, simple 3DTV receiving system composite video image and interface figure.
The technical solution adopted for the present invention to solve the technical problems is: constructed the method for a kind of 3DTV receiving system composite video image and interface figure, described 3DTV receiving system is used for receiving video data stream, said method comprising the steps of:
S1. receive the instruction of user's design interface figure, and form the interface figure according to this instruction;
S2. after receiving described video data stream, described video data stream is decoded, to restore every frame video image;
S3. according to detected video format described interface figure is adjusted, described video format comprises left and right sides 3D video format, up and down 3D video format, independent left eye image frame 3D video format and 2D video format;
S4. the described interface figure after described every frame video image and the adjustment is synthesized a two field picture, and the output of the two field picture after will synthesizing and demonstration.
In the method for 3DTV receiving system composite video image of the present invention and interface figure, when detected video format is left and right sides 3D video format among the step S3;
Step S3 is specially: described interface figure is scaled the left eye figure, and with described left eye graph copying to the right eye figure, and with described right eye graphic joining on the right side of described left eye figure, execution in step S4 then.
In the method for 3DTV receiving system composite video image of the present invention and interface figure, detected video format is up and down during the 3D video format among the step S3;
Step S3 is specially: described interface figure is scaled the left eye figure, and with described left eye graph copying to the right eye figure, and with the downside of described right eye graphic joining at described left eye figure, then execution in step S4.
In the method for 3DTV receiving system composite video image of the present invention and interface figure, when detected video format is independent left eye image frame 3D video format among the step S3;
Step S3 is specially: described interface figure is scaled full-scale figure, then execution in step S4.
In the method for 3DTV receiving system composite video image of the present invention and interface figure, when detected video format is the 2D video format among the step S3;
Step S3 is specially: described interface figure is scaled full-scale figure, then execution in step S4.
The present invention has also constructed a kind of 3DTV receiving system, is used for receiving video data stream and composite video image and interface figure, and described system comprises that interface figure design module, decoder module, adjusting module and image synthesize output module, wherein,
Interface figure design module receives the instruction of user's design interface figure, and forms the interface figure according to described instruction;
Decoder module is used for described video data stream being decoded, to restore every frame video image after receiving described video data stream;
Adjusting module is used for according to detected video format described interface figure being adjusted, and described video format comprises left and right sides 3D video format, up and down 3D video format, independent left eye image frame 3D video format and 2D video format;
Image synthesizes output module, is used for the described interface figure after described every frame video image and the adjustment is synthesized a two field picture, and the output of the two field picture after will synthesizing and demonstration.
In 3DTV receiving system of the present invention, described adjusting module comprises:
The first adjustment unit is used for when detected video format is left and right sides 3D video format described interface figure being scaled the left eye figure, and with described left eye graph copying to the right eye figure, and with the right side of described right eye graphic joining at described left eye figure.
In 3DTV receiving system of the present invention, described adjusting module also comprises:
The second adjustment unit when being used for about detected video format be the 3D video format, is scaled the left eye figure with described interface figure, and with described left eye graph copying to the right eye figure, and with the downside of described right eye graphic joining at described left eye figure.
In 3DTV receiving system of the present invention, described adjusting module also comprises:
The 3rd adjustment unit is used for when detected video format is independent left eye image frame 3D video format described interface figure being scaled full-scale figure.
In 3DTV receiving system of the present invention, described adjusting module also comprises:
The 4th adjustment unit is used for when detected video format is the 2D video format described interface figure being scaled full-scale figure.
Implement the method for 3DTV receiving system composite video image of the present invention and interface figure, have following beneficial effect: the user is when only needing configuration one to overlap the interface figure, can automatically adjust according to different 2D/3D program video forms, the interface figure that receives to be fit to the 3D display device, the image of exporting in addition and showing is the image after video image and interface figure synthesize, and the method has been simplified the interface work of 3DTV receiving system greatly.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
See also Fig. 1, be the flow chart of the embodiment of the method one of 3DTV receiving system composite video image according to the present invention and interface figure.As shown in Figure 1, this 3DTV receiving system is used for receiving video data stream, and the method starts from step S110, receives the instruction of user's design interface figure, and forms the interface figure according to this instruction.
Subsequently, at next step S120, after receiving this video data stream, this video data stream is decoded, to restore every frame video image, in other embodiments of the invention, the sequencing of step S110 and step S120 can exchange, also can walk abreast, those skilled in the art should understand, and repeats no more here.
Subsequently, at next step S130, according to detected video format this interface figure is adjusted, this video format comprises left and right sides 3D video format, up and down 3D video format, independent left eye image frame 3D video format and 2D video format.
At last, the method ends at step S140, and this interface figure after this every frame video image and the adjustment is synthesized a two field picture, and the output of the two field picture after will synthesizing and demonstration.
Please in conjunction with consulting Fig. 2, be the flow chart of the embodiment of the method two of 3DTV receiving system composite video image according to the present invention and interface figure.As shown in Figure 2, this 3DTV receiving system is used for receiving video data stream, and the method starts from step S200, receive the instruction of user's design interface figure, and according to this instruction formation interface figure, in various embodiment of the present invention, suppose that the interface figure is UI, the resolution of interface figure UI is W0*H0, wherein, W0 is the width of interface figure UI, and H0 is the height of interface figure UI, this resolution is a median, is fit to adjust according to various video format.
Subsequently, at next step S210, after receiving this video data stream, this video data stream is decoded, to restore every frame video image, according to various embodiments of the present invention, in radio data system or IPTV (Internet Protocol Television, IPTV) system, the video data of transmission is the video data stream of carrying out behind the compressed encoding, the 3DTV receiving system receives this video data stream, in other embodiments of the invention, the sequencing of step S200 and step S210 can exchange, and also can walk abreast, those skilled in the art should understand, and repeats no more here.
Subsequently, at next step S220, judge that detected video format is left and right sides 3D video format, up and down 3D video format, independent left eye image frame 3D video format or 2D video format, if detect left and right sides 3D video format, then goes to step S231, if detect up and down 3D video format, then go to step S232, if detect independent left eye image frame 3D video format, then go to step S233, if detect the 2D video format, then go to step S233.
Subsequently, at next step S231, when detected video format is left and right sides 3D video format, the interface figure is scaled the left eye figure, and with the left eye graph copying to the right eye figure, and with the right side of right eye graphic joining at the left eye figure, wherein, according to various the present embodiment of the present invention, the schematic diagram of left and right sides 3D video format is arranged splicing on a two field picture about left-eye image L and eye image R press shown in Fig. 2 A, the resolution of one two field picture is W*H, wherein, W is the width of a two field picture, and H is the height of a two field picture, the right and left eyes image resolution ratio all is W/2*H, wherein, the width of right and left eyes image all is W/2, and the height of right and left eyes image all is H.
The schematic diagram of adjusting method about the figure UI of interface is scaled left eye figure L with interface figure UI, and left eye figure L is copied to right eye figure R shown in Fig. 2 B, and with the right side of right eye figure R splicing at left eye figure L.
Subsequently, at next step S232, be up and down during the 3D video format at detected video format, this interface figure is scaled the left eye figure, and with the left eye graph copying to the right eye figure, and with the downside of right eye graphic joining at the left eye figure, wherein, according to various the present embodiment of the present invention, the schematic diagram of 3D video format is shown in Fig. 2 C up and down, and left-eye image L and eye image R are by being arranged above and below splicing on a two field picture, the resolution of one two field picture is W*H, wherein, W is the width of a two field picture, and H is the height of a two field picture, the right and left eyes image resolution ratio all is W/2*H, wherein, the width of right and left eyes image all is W/2, and the height of right and left eyes image all is H.
The schematic diagram of the method for adjusting up and down of interface figure UI is scaled left eye figure L with this interface figure UI, and left eye figure L is copied to right eye figure R shown in Fig. 2 D, and with the downside of right eye figure R splicing at left eye figure L.
Subsequently, at next step S233, when detected video format is independent left eye image frame 3D video format or 2D video format, this interface figure is scaled full-scale figure, wherein, according to various the present embodiment of the present invention, the schematic diagram of independent left eye image frame 3D video format is shown in Fig. 2 E, and left-eye image L and eye image R are frames independently, the resolution of every frame all is W*H, wherein, W is the width of every two field picture, and H is the height of every two field picture.
The schematic diagram of the full-scale adjustment method of interface figure UI is scaled figure F with this interface figure UI shown in Fig. 2 F.
At last, the method ends at step S240, interface figure after this every frame video image and the adjustment is synthesized a two field picture, and the output of the two field picture after will synthesizing and demonstration, should be noted that, two field picture after synthetic is exported to display device, and for example screen, display etc. are presented to user 3D video image and interface figure.
See also Fig. 3, be the schematic diagram of 3DTV receiving system according to the present invention.As shown in Figure 3, this 3DTV receiving system is used for receiving video data stream and composite video image and interface figure, and this system comprises that interface figure design module 1,decoder module 2, adjustingmodule 3 and image synthesize output module 4, wherein,
Interface figure design module 1 is used for receiving the instruction of user's design interface figure, and forms the interface figure according to this instruction, and in an embodiment of the present invention, this interface figure is the original interface figure that the user designs.
Decoder module 2 is used for this video data stream being decoded, to restore every frame video image after receiving this video data stream.
Adjustingmodule 3, be used for according to detected video format this interface figure being adjusted, this video format comprises left and right sides 3D video format, up and down 3D video format, independent left eye image frame 3D video format and 2D video format, thisadjusting module 3 comprises the first adjustment unit 31, the second adjustment unit 32, the 3rd adjustment unit 33 and the 4th adjustment unit 34, wherein
The first adjustment unit 31 is used for when detected video format is left and right sides 3D video format this interface figure being scaled the left eye figure, and with this left eye graph copying to the right eye figure, and with the right side of this right eye graphic joining at this left eye figure.
The second adjustment unit 32 when being used for about detected video format be the 3D video format, is scaled the left eye figure with this interface figure, and with this left eye graph copying to the right eye figure, and with the downside of this right eye graphic joining at this left eye figure.
The 3rd adjustment unit 33 is used for when detected video format is independent left eye image frame 3D video format this interface figure being scaled full-scale figure.
The 4th adjustment unit 34 is used for when detected video format is the 2D video format this interface figure being scaled full-scale figure.
Image synthesizes output module 4, be used for will this every frame video image and adjustment after this interface figure synthesize a two field picture, and the output of the two field picture after will synthesizing and demonstration, in the present embodiment, should be noted that, this interface image after the adjustment can be the arbitrary figure after above-mentioned the first adjustment unit 31, the second adjustment unit 32, the 3rd adjustment unit 33 and 34 adjustment of the 4th adjustment unit, and those skilled in the art should understand, and repeats no more here.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within the claim scope of the present invention.