1. Field of Invention
The present invention relates to the video processing. More particularly, the present invention relates to the video processing of the three dimension (3D) image.
2. Description of Related Art
To meet the requirements for reproducing the natural images, the display technology has gradually changed from the two-dimensional displays to the three-dimensional displays. As early as Euclid and Aristotle's age, people noted that although there are two eyes receiving different images, people are prevented from the double image problems. After a lot of animal and human tests, the human brain's ability to reproduce the image's depth by receiving the images having different angles through the left eye and the right eye respectively has been proved.
The three-dimensional vision is formed because of the binocular parallax phenomenon, which is caused as a result of receiving images from different angles by the left eye and right eye. The images with different angles are merged to reproduce the three-dimensional images by the human brain. The three-dimensional image displaying technique includes the stereoscopic form and the auto-stereoscopic form. The stereoscopic form makes the user un-comfortable and therefore is not popular. On the other hand, the auto-stereoscopic form has become more and more popular.
However, the boundary region of the right eye image or the left eye image is destroyed due to the scan line shifting, which causes the whole three dimension image to be unpleasant to see. Therefore, there is a need for a new method and an apparatus which can compensate the boundary region of the images and reproduce the complete three dimension image.
According to one embodiment of the present invention, a method used for compensating a boundary of an image is disclosed, in which each scan line in the image is shifted by a corresponding line shift amount. The method determines a boundary region for the image and moves each pixel in a scan line from an original position within the boundary region to a new position, in which the new position is determined according to the width of the boundary region, the original position, and a line shift amount, and the scan line is shifted by the line shift amount. Then, the method interpolates at least one pixel into the scan line according to the moved pixels for generating a compensated image.
According to another embodiment of the present invention, a video processing system for compensating a boundary of an image is disclosed, in which each scan line in the image is shifted by a corresponding line shift amount. The video processing system includes a boundary detector, a boundary compensator, and a pixel interpolator. The boundary detector determines a boundary region for the image. The boundary compensator moves each pixel in a scan line from an original position to a new position, in which the new position is determined according to the width of the boundary region, the original position, and a line shift amount, and the scan line is shifted by the line shift amount. The pixel interpolator interpolates at least one pixel into the scan line according to the moved pixels for generating a compensated image.
It is to be understood that both the foregoing general description and the following detailed description are by examples, and are intended to provide further explanation of the invention as claimed.
These and other features, aspects, and advantages of the present invention will become better understood with regard to the following description, appended claims, and accompanying drawings where:
Reference will now be made in detail to the present preferred embodiments of the invention, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers are used in the drawings and the description to refer to the same or like parts.
Please refer to
In
According to
After the shifting, the pixels are dispersed on a line, and the new positions of the dispersed pixels are evaluated as Pnew=Pori1+Dshift×Pori1÷N for example. In more detail, the new positions shown in the 3D′ column of the
Finally, certain pixels are interpolated into the scan line according to the moved pixels in order to generate a compensated image (step 209), and these interpolated pixels are generated by mixing at least two adjacent moved pixels. For example, the interpolated pixel 1 can be generated by combining the original pixel 0 and the original pixel 2. The interpolated pixel 1 can also be generated by duplicating the original pixel 0. As a result, the scan line within the boundary is formed by the dispersed pixels and the interpolated pixels as shown in
The boundary detector 303 determines a boundary region for the original image 301. The boundary compensator 305 moves each pixel in a scan line from an original position within the boundary region to a new position, in which the new position is determined according to the width of the boundary region, the original position, and a line shift amount, and the scan line is shifted by the line shift amount. The pixel interpolator 307 interpolates at least one pixel into the scan line according to the moved pixels for generating a compensated image 309.
According to the above embodiments, the boundary region of the three dimensional right eye image or the three dimensional left eye image is compensated after the scan line shifting, which makes the whole three dimension image more pleasant for seeing.
It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the present invention without departing from the scope or spirit of the invention. In view of the foregoing, it is intended that the present invention cover modifications and variations of this invention provided they fall within the scope of the following claims and their equivalents.
Number | Name | Date | Kind |
---|---|---|---|
6477267 | Richards | Nov 2002 | B1 |
20020008906 | Tomita | Jan 2002 | A1 |
20030107645 | Yoon | Jun 2003 | A1 |
20030169918 | Sogawa | Sep 2003 | A1 |
20100097444 | Lablans | Apr 2010 | A1 |
20120182403 | Lange | Jul 2012 | A1 |
Number | Date | Country |
---|---|---|
200935874 | Aug 2009 | TW |
Entry |
---|
English translation of abstract of TW 200935874 A (published Aug. 16, 2009). |
Number | Date | Country | |
---|---|---|---|
20120087598 A1 | Apr 2012 | US |