This Non-provisional application claims priority under 35 U.S.C. §119(a) on Patent Application No(s). 99127261, filed in Taiwan, Republic of China on Aug. 16, 2010, the entire contents of which are hereby incorporated by reference.
1. Field of the Invention
The present invention relates to 3D image processing technology, and in particular relates to a method and apparatus for adjusting 3D video images in order to prevent viewers from motion sickness.
2. Description of the Related Art
Binocular parallax helps to create depth perception for humans, and 3D displays employ the binocular parallax phenomenon for 3D viewing.
Although 3D display techniques allow users to have unique experiences, continuously viewing a 3D display may make a viewer feel sick due to motion sickness. Thus, having motion sickness may ruin the experience of watching a 3D video for users. Therefore, a new method for adjusting the images of a 3D video is needed.
The present invention provides a method for adjusting 3D video images, which comprises the steps of: receiving a 3D video, wherein the 3D video comprises a plurality of frames, and each frame comprises a plurality of image blocks; calculating displacement of each image block based on the locations of the same image block in the different frames and calculating the image complexity of the 3D video based on the displacements of the image blocks in the frames; converting the 3D video into a 2D video and displaying the 2D video when the image complexity is greater than a predetermined value, and displaying the 3D video when the image complexity is lower than the predetermined value.
The present invention also provides a method for adjusting 3D video images, which comprises the steps of : receiving a 3D video, wherein the 3D video comprises a plurality of frames, and each frame comprises a plurality of image blocks; obtaining a binocular parallax value between a left eye image and a right eye image which related to each other in the 3D video; calculating displacement of each image block based on the locations of the same image block in the different frames and calculating the image complexity of the 3D video based on the displacements of the image blocks of the frames; converting the 3D video into a 2D video and displaying the 2D video when the image complexity is greater than a predetermined value, and adjusting the definition of depth of each image block in each frame of the 2D video, and displaying the 3D video when the image complexity is lower than the predetermined value, and adjusting the binocular parallax of each image block of each frame of the 3D video according the image complexity of the 3D video.
The present invention also provides an apparatus for adjusting 3D video images, which comprises an image receiving unit for receiving a 3D video, wherein the 3D video comprises a plurality of frames, and each frame comprises a plurality of image blocks; an image complexity calculating unit, coupled to the image receiving unit, for calculating displacement of each image block based on the locations of the same image block in the different frames and calculating the image complexity of the 3D video based on the displacements of the image blocks of the frames; a 2D display unit, coupled to the image complexity unit, for converting the 3D video into a 2D video and displaying the 2D video when the image complexity is greater than a predetermined value; and a 3D display unit, coupled to the image complexity unit, for displaying the 3D video when the image complexity is lower than the predetermined value.
A detailed description is given in the following embodiments with reference to the accompanying drawings.
The present invention can be more fully understood by reading the subsequent detailed description and examples with references made to the accompanying drawings, wherein:
The following description is of the best-contemplated mode of carrying out the invention. This description is made for the purpose of illustrating the general principles of the invention and should not be taken in a limiting sense. The scope of the invention is best determined by reference to the appended claims.
The present invention provides a new method for adjusting 3D video images, to enhance the 3D video experience of viewers. The purpose of the present invention is to lower the stereo effect created by the 3D video and convert the 3D video to a 2D video when the 3D video becomes excessively complicated, and enhance the stereo effect created by the 3D video image when the 3D video becomes excessively quiet.
In step S310, a 3D video is first received.
In step S320, a binocular parallax value of each image block of a frame based on the related left eye image (e.g., n/L) and right eye (e.g., n/R) image in the 3D video is obtained. In an embodiment, an image correlation technique may be employed to obtain the binocular parallax. For example, the left eye image n/L is divided into image blocks with 3×3 pixels, and each image block are then compared with the right eye image n/R (as shown in
In step S330, the displacement of the image block based on the location of the same image block in the different frames and the image complexity of the 3D video based on the displacements of the image blocks of the frames are calculated. In an embodiment, the image correlation technique can be employed to calculate the image blocks. Note that, to calculate the binocular parallax, the right and left eye images which are related to each other (for example, left eye image n/L and right eye image n/R) and usually displayed in order are compared with each other. However, to calculate the displacements of the image block (to estimate the change of the image block), the image blocks of two adjacent left images (or two adjacent right images) are compared with each other. For example, to find the image block which is the same as the image block of the left eye image n/L, the present invention will scan a next left eye image (n+1)_L. When finding a same (or similar) image block in the next left eye image (n+1)_L, the location of the image blocks in different images are compared and the displacement m of the image blocks are calculated. Note that the present invention should not be limited thereto. After obtaining the displacements of all of the image blocks of a 3D video, the present invention may further sum up or average all of the displacements to calculate the image complexity of the 3D video. Those skilled in the art may employ various algorithms to perform the calculating processes, which will not be further discussed here.
Then, the method of the present invention further compares the image complexity of the 3D video with a predetermined value to determine the manner of display of the 3D video. In step S340, when the image complexity is greater than the predetermined value, the method coverts the 3D video into a 2D video and displays the 2D video. In step S350, when the image complexity is lower than the predetermined value, the method displays the 3D video. Specifically, the 3D video should be converted into a 2D video when the image content in the 3D video varies severely, and should keep displaying a 3D video when the image content in the 3D video is basically unchanged. The step of converting the 3D video into a 2D video, for example, further comprises zeroing the binocular parallax value of all of the image blocks in all of the frames of the 3D video. This means that the left eye image and right eye images will be adjusted to be identical to each other. Those skilled in the art can set the predetermined value to achieve their own customized video quality according to their own experiences or preferences.
However, the converted 2D video in step S340 may be monotonous, and the converted and unconverted frames may not coordinate with each other. Therefore, the present invention further adjusts the definition of the depth of each image block in each frame of the 2D video. Note that the binocular parallax producing depth perception is a 3D image display technique. Adjusting the definition of depth means respectively increasing or decreasing the definition of the foreground, middle ground or background of one image in different manners. Although the adjusting definition of depth may also create the stereo effect, it still belongs to a 2D display technique.
In step S350, the method of the present invention can further display the 3D video in a manner different than that in prior art. The present invention further adjusts the binocular parallax of each of the image blocks of each frame of the 3D video according the image complexity of the 3D video, where the binocular parallax is adjusted inversely proportional to the image complexity of the 3D video.
In addition to the method for adjusting 3D video images, the present invention further provides an apparatus for adjusting the 3D video image.
While the invention has been described by way of example and in terms of the preferred embodiments, it is to be understood that the invention is not limited to the disclosed embodiments. To the contrary, it is intended to cover various modifications and similar arrangements (as would be apparent to those skilled in the art). Therefore, the scope of the appended claims should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements.
Number | Date | Country | Kind |
---|---|---|---|
99127261 | Aug 2010 | TW | national |