Summary of the invention
To the problems referred to above, the invention provides a kind of stereo display method that can compatible different video source format, a kind of 3 d display device that adopts this stereo display method is provided simultaneously.
Stereo display method provided by the invention comprises:
Obtain initial views with parallax;
According to the type of 3 d display device, the amount of views when the quantity of initial view shows greater than 3 d display device reduces the view that is in the initial views edge; Perhaps, the amount of views when the quantity of initial view shows less than 3 d display device is the basis with said initial views, generates the auxiliary view of difference between the quantity of amount of views that 3 d display device shows and initial views;
3 d display device shows adjusted initial views.
According to one preferred embodiment of the present invention, generating said auxiliary view can confirm the matching relationship table between the said initial views through the parallax corresponding relation of said initial views, and according to said matching relationship table, interpolation generates said auxiliary view.
The present invention also provides a kind of 3 d display device, and it comprises detection module, control module and display module,
Said detection module is used for the type according to 3 d display device, confirms the amount of views that 3 d display device shows;
Said control module is used to obtain the initial views with parallax, receives the amount of views that said detection module is confirmed, the amount of views when the quantity of initial view shows greater than 3 d display device reduces the view that is in the initial views edge; Perhaps, the amount of views when the quantity of initial view shows less than 3 d display device is the basis with said initial views, generates the auxiliary view of difference between the quantity of amount of views that 3 d display device shows and initial views;
Said display module is used for adjusted initial views is shown.
According to one preferred embodiment of the present invention, said image generation module is confirmed the matching relationship table between the said initial views through the parallax corresponding relation of said initial views, and according to said matching relationship table, interpolation generates said auxiliary view again.
Stereo display method provided by the invention and device can reduce or generate view according to the actual displayed needs, and 3 d display device that therefore can compatible various view format types has strengthened versatility, more satisfies the demands of consumers.
For let above-mentioned and other purposes of the present invention, feature and advantage can be more obviously understandable, hereinafter is special lifts an embodiment, and cooperates appended graphicly, elaborates as follows.
Embodiment
For solving the problem of the existence that has stereo display technique now, the invention provides a kind of stereo display method and 3 d display device, can reduce or the generation view according to the needs that show in real time according to the type of display, use with the compatibility of solution view format.
See also Fig. 1, it is for the flow chart of a kind of embodiment of stereo display method of the present invention.
This stereo display method comprises:
Step S1 obtains the initial views with parallax;
This step can be obtained at least two three-dimensional video-frequency views that the three-dimensional video-frequency source provides; In specific embodiment, the three-dimensional video-frequency view that this three-dimensional video-frequency source provides can illustrate for the dual-view form, and dual-view comprises first view and second view; Such as, left view and right view.
See also Fig. 2 and Fig. 3, wherein Fig. 2 is the picture view of said first view and second view, and Fig. 3 is the synthetic sketch map of said first view and second view.In Fig. 2, the diagram that is positioned at the left side is represented this first view, and the diagram that is positioned at the right side is represented this second view.As can beappreciated from fig. 2, have certain parallax between said first view and second view, in specific embodiment, the parallax between said first view and second view is fixed.
In the embodiment of the invention; The stereo video data of this dual-view form is preserved and transmission with visual form; And the stereo video data of said dual-view form can be taken by capture apparatus (such as camera) in real time, also can generate through video production software.Suppose that this video on-demand system adopts the DirectShow framework to carry out Video processing, in this step, video on-demand system can obtain each frame video data in real time, and from this video data, isolates first viewdata and second viewdata.
Step S2 according to the type of 3 d display device, confirms the amount of views that said 3 d display device shows, the number of the said initial views of obtaining is adjusted to said amount of views.
The mode of the quantity of initial views being adjusted to the amount of views that 3 d display device shows comprises the quantity that reduces or increase said initial views.
Particularly, when the amount of views that the quantity of initial view shows greater than 3 d display device, reduce be in the initial views edge view.
Amount of views when the quantity of initial view shows less than 3 d display device is the basis with said initial views, generates the auxiliary view of difference between the quantity of amount of views that 3 d display device shows and initial views.Wherein, generating said auxiliary view can confirm the matching relationship table between the said initial views through the parallax corresponding relation of said initial views, and according to said matching relationship table, interpolation generates.
Illustrate, according to the type of 3 d display device, the needed amount of views N of the system that judges, and on first view and the second view basis that said initial views comprises, generate N-2 auxiliary view accordingly.
For dissimilar 3 d display devices, because the difference of image-forming principle, it needs different video source forms respectively.Such as; For the Worn type 3 d display device, the user need wear the stereo display glasses when watching picture, under the booster action of these stereo display glasses; When this type 3 d display device shows for the realization stereoscopic picture plane, only require the three-dimensional video-frequency source to have the dual-view form.And for Glassless formula 3 d display device; The user is through the bore hole direct viewing; The 3 d display device of this type is when realizing that stereoscopic picture plane shows; Require the three-dimensional video-frequency source that the video data of minimum two view format is provided,, more require the three-dimensional video-frequency source that the video data greater than two view format is provided for reaching preferable stereo display effect.Such as; For reaching preferable stereo display effect; Common Glassless formula 3 d display device needs on screen, to show simultaneously nine views, have the parallax effect respectively between these nine views, and the parallax size between per two views satisfies specific relation.
In this step,, then on its this first view and the second view basis that gets access to, generate N-2 auxiliary view automatically if judge the video data that 3 d display device needs many view format through detecting.Such as, can utilize existing two groups of view information according to the parallax corresponding relation between the predefined view, generate N-2 auxiliary view in real time, satisfy the demonstration needs of 3 d display device for many view format.
See also Fig. 4, for generate the operation chart of other views according to two views.
For simplicity, represent view with lines, first view representes that with A second view is represented with B.View according to the first view A and second view B generation is represented with C.
At first, according to the parallax corresponding relation between A, the B view, confirm A; Matching relationship between the B generates A, the matching relationship table of viewpoint between the B; Also, correspond to the b1b2 among the B like the a1a2 among the A among the figure promptly confirming display dot corresponding on the A (perhaps confirming display dot corresponding on the B on the A) on the B.
Then, at A, between the B, according to A, the matching relationship table between the B, interpolation generates C.Can find out the c1c2 respectively a1a2 in the corresponding A and the b1b2 among the B on the C.
Foregoing description has only been enumerated the situation that on the basis of two views, generates a secondary view, and in like manner, profit can generate how secondary view in the same way on the basis of two views.
Should be appreciated that when detecting 3 d display device for the time, then do not generate auxiliary view, and directly utilize first view and second view that get access to show based on the 3 d display device of dual-view form.
Based on above stereo display method, the present invention also further provides a kind of 3 d display device.See also Fig. 5, said 3 d display device comprises detection module 11, control module 12, image generation module 13 and display module 14.
Detection module 11 is used for the type according to 3 d display device, confirms the amount of views that 3 d display device shows.
Control module 12; Be used to obtain initial views, receive the amount of views that said detection module 11 is confirmed, judge whether the quantity of initial views equates with the amount of views that 3 d display device shows with parallax; If equate, then the initial views signal be sent to display module 14; If the amount of views that 3 d display device shows is less; Then reduce the quantity of the view of initial views signal; Until the quantity that meets needed view, preferably, keep adjacent in twos view; Preferential reduce be in the initial views edge view, and adjusted initial views is sent to display module 14; If the amount of views that 3 d display device shows is more; Then send instruction to said image generation module 13; Control said image generation module 13 and be the basis, the auxiliary view of difference between the amount of views that the generation 3 d display device shows and the quantity of initial views with said initial views.
Image generation module 13 receives initial views and instruction; Through the parallax corresponding relation of said initial views, confirm the matching relationship table between the said initial views, again according to said matching relationship table; Interpolation generates said auxiliary view, and all views are sent to display module 14.
Display module 14 receives view signal, and shows.
Stereo display method provided by the invention and device can reduce or generate view according to the actual displayed needs, and 3 d display device that can compatible various view format types has strengthened versatility, more satisfies the demands of consumers.
Though the present invention discloses as above with preferred embodiment; Yet be not in order to limit the present invention; Anyly be familiar with the professional and technical personnel; In not breaking away from technical scheme scope of the present invention, make a little change or be modified to the equivalent embodiment of equivalent variations when the technology contents of above-mentioned announcement capable of using, be the content that does not break away from technical scheme of the present invention in every case;, all still belong in the scope of technical scheme of the present invention any simple modification, equivalent variations and modification that above embodiment did according to technical spirit of the present invention.