1. Field of the Invention
This invention relates to a stereoscopic image transformation method and, more particularly, relates to a method for transforming a non-interlace format of a stereoscopic image into an interlace format.
2. Description of the Prior Art
In general, a 3D stereoscopic image is formed by combining two sets of image data in different visual angles, wherein one set of image data corresponds to left-eye visual angle, and the other set of image data corresponds to right-eye visual angle. When a 3D stereoscopic image is displayed, the left eye of a viewer merely sees the image data corresponding to left-eye visual angle, and the right eye of the viewer merely sees the image data corresponding to right-eye visual angle. Accordingly, a stereoscopic vision is generated in the brain of the viewer.
Referring to
Another technique utilizes a polarizer to generate two different polarizations, such that an image can be divided into left-eye and right-eye image data. For example, the polarizers can be attached onto each lens of two projectors respectively, such that the light emitted from one projector differs from the other one by 90 degrees. Then, by using a screen capable of keeping the polarization of light, the viewer can wear a pair of glasses having eyeglasses with two different polarizations to see a stereoscopic image.
Along with the progress in fabrication technique, a polarized film with the same line width as liquid crystal display (LCD) has been manufactured. Through the polarized film, the polarization of odd lines is perpendicular to that of even lines. When a viewer wears a pair of glasses with appropriate polarization, he/she will see a stereoscopic image.
However, if an aspect ratio of a panel does not comply with that of a stereoscopic image, the format of the image will be transformed into a wrong format, and a stereoscopic image can not be formed.
Referring to
Referring to
Referring to
Referring to
Therefore, in a display system, the main scope of the invention is to provide a method for transforming a non-interlace format of the stereoscopic image into an interlace format, so as to solve the aforesaid problems.
A scope of the invention is to provide a method for transforming a format of a stereoscopic image by interlacing a left-eye image data and a right-eye image data of the stereoscopic image according to the format of the stereoscopic image, a first aspect ratio of the panel, and a second aspect ratio of the stereoscopic image, so as to form a completely interlaced stereoscopic image.
According to a preferred embodiment, in a display system, the method of the invention is used for transforming a non-interlace format of a stereoscopic image into an interlace format. A panel of the display system has a first aspect ratio, and the stereoscopic image with a second aspect ratio comprises a left-eye image data and a right-eye image data. The method of the invention comprises the following steps.
In the beginning, the stereoscopic image is received. Afterward, whether the second aspect ratio of the stereoscopic image is equal to the first aspect ratio of the panel is judged, and if it is YES, the non-interlace format of the stereoscopic image is transformed into the interlace format in a general manner; otherwise, the left-eye image data and the right-eye image data of the stereoscopic image are interlaced according to the non-interlace format of the stereoscopic image, the first aspect ratio of the panel, and the second aspect ratio of the stereoscopic image, so as to form a completely interlaced stereoscopic image.
Accordingly, even if the aspect ratio of the stereoscopic image is not equal to the aspect ratio of the panel, the method of the invention transforms the non-interlace format of the stereoscopic image into the interlace format according to the format of the stereoscopic image, the aspect ratio of the panel, and the aspect ratio of the stereoscopic image. In other words, the invention can correct an image without affecting the aspect ratio of the image, so as to form a completely interlaced stereoscopic image.
The advantages and spirits of the invention may be understood by the following recitations together with the appended drawings.
Referring to
In this embodiment, the decoder 30 is used for receiving and decoding a stereoscopic image 5. The stereoscopic image 5 with a non-interlace format and a second aspect ratio comprises a left-eye image data and a right image data. The scaler 32 is used for scaling the stereoscopic image 5 to comply with the native resolution of the panel 36. The transformation apparatus 34 is used for transforming the non-interlace format of the stereoscopic image 5 into an interlace format.
In this embodiment, the interlace format of the stereoscopic image 5 can be a side-by-side format or an above-and-below format. Some examples will be taken to explain how the invention transforms the side-by-side format or the above-and-below format into the interlace format.
Stereoscopic Image With a Side-by-side Format
Referring to
Referring to
In the beginning, step S100 is performed to determine a first edge 50, a second edge 52, and a boundary 54 of the stereoscopic image 5 according to the aspect ratio (16:10) of the panel 36 and the aspect ratio (4:3) of the stereoscopic image 5.
Afterward, step S102 is performed to find out all pixels on the panel 36 excluding an area between the first edge 50 and the second edge 52 (i.e. all pixels in the areas A1 and A2 are shown in
Step S104 is then performed to judge whether the maximum of the three gray levels of each pixel in areas A1 and A2 (as shown in
Step S106 is then performed to count the number of pixels with the maximum gray level larger than the first threshold.
Finally, step S108 is performed to judge whether the number of pixels counted in the step S106 is larger than a second threshold. If the number is smaller than the second threshold, the aspect ratio of the stereoscopic image 5 is not equal to the aspect ratio of the panel 36. It should be noted that the second threshold can be set based on practical applications. For example, the second threshold can be set as 15.
Referring to
In the beginning, step S200 is performed to transform the left-eye image data (i.e. the area L shown in
Afterward, step S202 is performed to transform the right-eye image data (i.e. the area R shown in
Finally, step S204 is performed to interlace all first scanning lines L1 and all second scanning lines R1 to form a completely interlaced stereoscopic image, as shown in
It should be noted that with the invention, step S202 can be performed first, followed by step S200.
Stereoscopic Image With an Above-and-below Format
Referring to
First, the method of the invention will judge whether the aspect ratio of the stereoscopic image 5 is equal to the aspect ratio of the panel 36.
In the beginning, a first edge 50, a second edge 52, and a boundary 54 of the stereoscopic image 5 are determined according to the aspect ratio (16:10) of the panel 36 and the aspect ratio (16:9) of the stereoscopic image 5.
Afterward, all pixels on the panel 36 are found out excluding an area between the first edge 50 and the second edge 52 (i.e. all pixels in the areas A1 and A2 shown in
Then, whether the maximum of the three gray levels (RGB) of each pixel in the areas A1 and A2 (as shown in
Then, the number of pixels with the maximum gray level larger than the first threshold is counted.
Finally, whether the number of pixels counted is larger than a second threshold is judged. If the number is smaller than the second threshold, the aspect ratio of the stereoscopic image 5 is not equal to the aspect ratio of the panel 36. It should be noted that the second threshold can be set based on practical applications. For example, the second threshold can be set as 15.
In the beginning, the left-eye image data (i.e. the area L shown in
Afterward, the right-eye image data (i.e. the area R shown in
Finally, all first scanning lines L1 and all second scanning lines R1 are interlaced to form a completely interlaced stereoscopic image, as shown in
Referring to
Compared to the prior art, even if the aspect ratio of the stereoscopic image is not equal to the aspect ratio of the panel, the method of the invention can be used for transforming a non-interlace format of the stereoscopic image to an interlace format according to the format of the stereoscopic image, the aspect ratio of the panel, and the aspect ratio of the stereoscopic image. In other words, the method of the invention can be used to correct an image without affecting the aspect ratio, and a completely interlaced stereoscopic image is formed.
With the example and explanations above, the features and spirits of the invention are hopefully well described. Those skilled in the art will readily observe that numerous modifications and alterations of the device may be made while retaining the teaching of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
95140867 A | Nov 2006 | TW | national |
Number | Name | Date | Kind |
---|---|---|---|
6088052 | Guralnick | Jul 2000 | A |
6947097 | Joanblanq | Sep 2005 | B1 |
20020011969 | Lipton et al. | Jan 2002 | A1 |
20020163574 | Divelbiss | Nov 2002 | A1 |
20040218269 | Divelbiss et al. | Nov 2004 | A1 |
20060125916 | Mashitani | Jun 2006 | A1 |
20060204239 | Inaba | Sep 2006 | A1 |
Number | Date | Country |
---|---|---|
2001-036871 | Feb 2001 | JP |
2003-289553 | Oct 2003 | JP |
Entry |
---|
English language translation of abstract of JP 2001-036871 (published Feb. 9, 2001). |
English language translation of abstract of JP 2003-289553 (published Oct. 10, 2003). |
Chinese language Taiwan Office Action dated Sep. 5, 2011. |
Number | Date | Country | |
---|---|---|---|
20080198218 A1 | Aug 2008 | US |