This application claims priority to China Application Serial Number 201010569140.2, filed Nov. 25, 2010, which is herein incorporated by reference.
1. Field of Invention
The present invention relates to an image generation apparatus and an image generation, and more particularly, to a stereoscopic image generation apparatus and a stereoscopic image generation.
2. Description of Related Art
Recently, a 3D screen is gradually entering the market and is expected to become mainstream in the next two or three years. Accordingly, it is believed that a mechanism for generating a stereoscopic image also will be developed rapidly and flourishingly. Particularly, the instant video messaging software (e.g. MSN and ICQ) applicable on a portable electronic device (e.g. a notebook computer or a laptop computer) or a handheld communication device (e.g. a cell phone) will generate a future demand for seeing a counterpart's stereoscopic image. On such an application, the “real-timeness” of the stereoscopic image is more important and concerned than the “resolution” of the stereoscopic image is.
In general, a stereoscopic image is a combination of two images, which are transmitted respectively to a user's left and right eyes for creating an illusion for the user. Thus, a manner for generating the stereoscopic image is just to simulate the images seen by the user's left and right eyes. Therefore, the simplest conventional method is to dispose two photographing lenses which are spaced about 6 cm apart on an electronic device, thereby respectively simulating the images seen by the left eye and the right eye.
However, disposing such two photographing lenses may increase additional hardware cost.
In order to solve the aforementioned problems of the conventional art, a technical aspect of the present invention is to provide a stereoscopic image generation method, which simulates and generates a stereoscopic image by using a difference between view angles after a right-eye image and a left-eye image are obtained merely by one single photographing lens with a small-angle rotation. Therefore, no extra photographing lens needs to be disposed, thus saving hardware cost.
According to an embodiment of the present invention, the stereoscopic image generation method includes the following steps. The right-eye image is taken along a first direction. The left-eye image is taken along a second direction. The right portion of the left-eye image is trimmed off by a predetermined distance to obtain a trimmed left-eye image, and the left portion of the right-eye image is trimmed off by the predetermined distance to obtain a trimmed right-eye image, so that the trimmed left-eye image and the trimmed right-eye image have the same size.
Another technical aspect of the present invention is to provide a stereoscopic image generation apparatus.
According to another embodiment of the present invention, the stereoscopic image generation apparatus includes an image capture module, an actuating module, a driving chip, an image trimming module and an image composition module. The driving chip can be used for driving the actuating module to actuate the image capture module to take a right-eye image along a first direction, driving the actuating module to actuate the image capture module to take a left-eye mage along a second direction, driving the image trimming module to trim off the right portion of the left-eye image by a predetermined distance to obtain a trimmed left-eye image and to trim off the left portion of the right-eye image by the predetermined distance to obtain a trimmed right-eye image, thereby making the left-eye image and the trimmed right-eye image have the same size; and driving the image composition module to alternately arrange each pixel in the trimmed left-eye image and each pixel in the trimmed right-eye image in sequence.
In order to make the foregoing as well as other aspects, features and advantages of the present invention more apparent, hereinafter preferred embodiments for exemplification are described in detail with reference to the accompanying drawings.
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 present invention as claimed.
In order to make the foregoing as well as other aspects, features, advantages, and embodiments of the present invention more apparent, the accompanying drawings are described as follows:
A plurality of embodiments of the present invention are disclosed with reference to the drawings, and for the purpose of clarity, various details in practice will also be illustrated in the following description. However, it should be appreciated that these details in practice should not be considered to limit the present invention. That is to say, these details in practice are not necessary in some embodiments of the present invention. Moreover, in order to simplify the drawings, some conventional structures and elements are illustrated schematically.
A technical aspect of the present invention is to provide a stereoscopic image generation method. More particularly, the present invention mainly aims to simulate and generate a stereoscopic image by using a difference between view angles after a right-eye image and a left-eye image are obtained merely by one single photographing lens with a small-angle rotation, thereby saving the conventional hardware cost of disposing two sets of photographing lenses. The specific embodiments of the present invention will be described in detail below, thereby fully illustrating features, spirit and advantages of the present invention and the convenience on implementation.
Referring to
S100: a right-eye image is taken along a first direction.
S102: a left-eye image is taken along a second direction.
Referring to
However, after the right-eye image and the left-eye image are obtained, the right-eye image and the left-eye image cannot be directly considered to be equivalent to the images actually seen by the right eye and the left eye. Since the right-eye image and the left-eye image are respectively taken along the first direction a1 and along the second direction a2 from the same reference point P, the images actually seen by the right eye and the left eye of the user cannot be simulated even though there is a angle difference between the first directional and the second direction a2 just like the view angle difference between the left eye and the right eye. In this case, the right-eye image and the left-eye image still need to be performed with a process of translation so as to be more conformable to the images actually seen by the right eye and the left eye respectively.
In order to simulate the image actually seen by the right eye by using the right-eye image and to simulate the image actually seen by the left eye by using the left-eye image, a distance between the left eye and the right eye of an ordinary person has to be known first. Commonly speaking, the distance between the left eye and the right eye of an ordinary person is generally 5-7 centimeters. Thus, if the right-eye image taken from the reference point P which is a median point between the two eyes is desired to simulate the image actually seen by the right eye, a predetermined distance D for translating the right-eye image must be 2.5-3.5 centimeters. It is the same for using the left-eye image to simulate the image actually seen by the left eye.
Refer to
As shown in
Likewise, as shown in
Thus, as shown in
S104: the right portion of the left-eye image is trimmed off by a predetermined distance to obtain a trimmed left-eye image, and the left portion of the right-eye image is trimmed off by the predetermined distance to obtain a trimmed right-eye image, so that the trimmed left-eye image and the trimmed right-eye image have the same size.
In a specific embodiment, as shown in
S106: each pixel in the trimmed left-eye image and each pixel in the trimmed right-eye image are alternately arranged in sequence.
Referring to
Moreover, in order to truly simulate images seen by the left eye and the right eye of a person, an included angle between the aforementioned first direction a1 and the aforementioned second direction a2 is about 5.7-6 degrees. Therefore, if it an object is located 60 centimeters in front of the reference point P and a distance between the left eye and the right eye is 6 centimeters, an included angle between a direction along which the left eye sees the object and a direction along which the right eye sees the object can be calculated according to the following formula:
6/60/2π=5.7 (degrees)
Another technical aspect of the present invention is to provide an apparatus for generating a stereoscopic image. Referring to
Referring to
Refer to
In a specific embodiment, the aforementioned actuating module 102 may be a piezoelectric actuator, a static capacitance actuator, an electromagnetic actuator or a micro-electromechanical actuator.
After the right-eye image IR and the left-eye image IL are obtained, in order to enable the right-eye image IR and the left-eye image IL to respectively simulate images actually seen by the right eye and the left eye of the user, the right-eye image IR and the left-eye image IL still need to be performed with a process of translation so as to be more conformable to the images actually seen by the right eye and the left eye respectively.
Likewise, as shown in
Furthermore, with reference to
Likewise, as shown in
Furthermore, the aforementioned image composition module 110 can be used for alternately arranging each pixel in the trimmed left-eye image and each pixel in the trimmed right-eye image I′R in sequence.
Certainly, the aforementioned image composition module 110 can also based on columns or rows to alternately arrange pixels in each column or row of the trimmed left-eye image I′L and the trimmed right-eye image I′R in sequence, which can also achieve the aspect of composing the trimmed left-eye image I′L and the trimmed right-eye image I′R. As to first arranging the trimmed left-eye image I′L or the trimmed right-eye image I′R, embodiments of the present invention are not limited and can be flexibly determined as required.
It is apparent from the detailed description regarding the embodiments of the present invention that, the stereoscopic image generation apparatus and the stereoscopic image generation method provided by the present invention are mainly an improvement of a conventional system architecture for generating a stereoscopic image with two photographing lenses. The present invention simulates and generates the stereoscopic image by using a difference between view angles after a right-eye image and a left-eye image are obtained merely by one single photographing lens with a small-angle rotation. Therefore, no extra photographing lens needs to be disposed, thereby saving the hardware cost. Moreover, since only one single image capture module is used, color consistency is higher in terms of image composition, and thus a display effect of the stereoscopic image will be better.
Although the present invention has been disclosed with reference to the above embodiments, these embodiments are not intended to limit the present invention. It will be apparent to those skilled in the art that various modifications and variations can be made without departing from the scope or spirit of the present invention. Therefore, the scope of the present invention shall be defined by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
201010569140.2 | Nov 2010 | CN | national |