This application claims the priority benefit of China application serial no. 201410026836.9, filed on Jan. 21, 2014. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of this specification.
1. Technical Field
The invention relates to a method for image correction and an image projection apparatus using the same. More particularly, the invention relates to a method for correcting the geometric distortion of an image and an image projection apparatus using the same.
2. Related Art
Microelectromechanical systems (MEMS) refer to a research area utilizing microelectronic and micromechanical techniques to manufacture or develop related electronic devices and mechanical structures to microminiaturize related products. Due to its technical effects such as small size and low power consumption, an image projection apparatus employing a MEMS scanning device may be applied in handheld electronic products (e.g. smartphones or notebook computers) to enhance the usage convenience of the image projection apparatus, and to replace the traditional desk type or fixed image projection apparatuses.
Typically speaking, the image projection apparatus utilizing the MEMS scanning device employs a projection light source to provide a projection light beam. Moreover, the projection light beam is projected on a projection plane by using optical elements such as the MEMS scanning device and reflection mirrors. An image is formed by oscillating the scanning mirror inside the MEMS scanning device on the fast and slow axes to move the projection light beam to scan on the projection plane, as well as by the human visual retention characteristics. When operating the MEMS scanning device, typically different respective control signals are used to control oscillation frequency and angle of the scanning mirror on the corresponding axial direction (e.g. fast and slow axes), so as to control the scanning speed and direction of the projection light beam on the projection plane. However, in the process of moving the projection light beam to scan and project to the projection plane, due to the planarity of the reflection plane of the scanning mirror and/or the optical path problems such as refraction and reflection caused by the optical elements, the projection path of the projection light beam may change. Accordingly, the projection image may be geometrically distorted, thereby affecting the image display quality. Moreover, since the oscillation of the MEMS scanning device on the fast axis is typically controlled by a periodic sine wave, therefore, when the MEMS scanning device moves the projection light beam to project near a projection boundary and is about to reverse scan direction, the oscillation speed of the MEMS scanning device comparatively decreases and generates issues such as uneven scanning speed for the projection light beam.
Conventional techniques typically correct for the geometric distortion of the projection image with lens configurations. However, configuring lenses may lower the light efficiency of the projection light beam and correspondingly increase the manufacturing costs of the image projection apparatus. Therefore, researchers are looking for direct and simple methods to correct the geometric distortion of projection images.
The invention provides a method for image correction and an image projection apparatus using the same, capable of preventing geometric distortion of the projection image by providing corrected image information in a selected image projection area.
An embodiment of the invention provides a method for image correction on an image projection apparatus, in which the image apparatus scans a projection light beam on a projection plane to form an image. The method for image correction includes: sampling a plurality of projection points of the projection light beam on the projection plane to define a projection coordinate system; defining an image projection area on the projection coordinate system; moving the projection light beam to scan on the projection plane and project to the projection points sequentially; determining whether each of the projection points is located in the image projection area; and when the projection point is located in the image projection area, providing a corrected image information to the projection point.
An embodiment of the invention provides an image projection apparatus, including a scanning device and a control unit. The scanning device moves a projection light beam to scan on a projection plane to form an image. The control unit samples a plurality of projection points of the projection light beam on the projection plane to define a projection coordinate system; defines an image projection area on the projection coordinate system; moves the projection light beam to scan on the projection plane and project to the projection points sequentially; determines whether each of the projection points is located in the image projection area; and when the projection point is located in the image projection area, provides a corrected image information to the projection point.
In summary, the image projection apparatus and image correction method provided in embodiments of the invention may define the image projection area and determine whether the projection point is located within the image projection area or outside the image projection area. When the projection light beam is projected to the projection points in the image projection area, by providing the corrected image information to the projection points through the projection light beam, the image is only displayed in the image projection area, thereby correcting the geometric distortion of the projection image. In other words, the image projection apparatus and image correction method provided in embodiments of the invention do not require setting up extra equipments to correct the geometric distortion of the projection image. Accordingly, interference on the projection light beam is reduced and the manufacturing cost of the image projection apparatus is lowered.
To make the above features and advantages of the invention more comprehensible, several embodiments accompanied with drawings are described in detail as follows.
The accompanying drawings constituting a part of this specification are incorporated herein to provide a further understanding of the disclosure. Here, the drawings illustrate embodiments of the disclosure and, together with the description, serve to explain the principles of the disclosure.
Descriptions of the invention are given with reference to the exemplary embodiments illustrated with accompanied drawings. Moreover, when possible, elements/components/notations with same reference numerals represent same or similar parts in the drawings and embodiments.
Typically speaking, an image is formed by an image projection apparatus with optical elements such as reflection mirrors and lenses by projecting a projection light beam on a projection plane, and the MEMS scanning device moving the projection light beam to scan back and forth on the projection plane. However, in the afore-described image projection method, the projection light beam may deviate from an expected scan trajectory and projection range due to the planarity of the reflection plane of the scanning mirror and/or optical path factors such as reflection and refraction caused by the optical elements, thereby causing geometric distortion of the projection image. The methods for image correction provided in embodiments of the invention are used on an image projection apparatus to correct the geometric distortion on an image, and the image correction methods are capable of geometric distortion correction of the projection image without the need to set up additional equipment.
As shown in
In the image correction method of the present embodiment, the control unit 180 in Step S205 samples a plurality of projection points D of the projection light beam PL on the projection plane 10 according to the clock signal, in order to define the projection coordinate system. For example, after the control unit 180 samples the projection points D of the projection light beam PL substantially on the projection plane 10, the control unit 180 further calculates the maximum distances xmax and ymax between the projection points D along a first axis (e.g. x-axis) and a second axis (e.g. y-axis). Moreover, the projection coordinate system is defined according to the maximum distance xmax along the first axis (x-axis) and the maximum distance ymax along the second axis (x-axis). With reference to
In a method for defining the projection coordinate system, an image capturing device may be used to capture the projection point locations on the projection plane 10 and obtain a line curve of each of the scan lines, thereby further obtaining the projection point coordinates of the projection points D in the projection coordinate system. Assuming the pixel setting of the projection image is M×N, and using the scan line S1 in
When the projection location of a certain projection point D is needed, the projection sequence t of the certain projection point D according to the timing frequency may be determined, and then the corresponding geometric distortion equation f(t) is selected from the geometric distortion equation set F. Thereafter, the projection sequence t is substituted into the geometric distortion equation f(t), and then the projection location of the projection point D can be calculated. In the present embodiment, the projection sequence t of each of the projection points D may be obtained by calculating a number of cycles (e.g. a cycle being equaled to T) of the clock frequency. In the present embodiment, a cycle T of the clock frequency corresponds to a pixel. That is, one cycle T of the clock frequency corresponds to one projection point D, although the invention is not limited thereto. A cycle T of the clock frequency may also correspond to other quantities of pixels and projection points D.
In the present embodiment, each of the geometric distortion equations f(t) corresponds to a scan line. In other embodiments, each of the scanning areas may be divided into a plurality of regions, and each of the geometric distortion equations f(t) corresponds to a region. In other embodiments, all or a portion of the scan lines may be selected, and curve approximation is performed on the selected portion of the scan lines, so as to obtain the respective corresponding geometric distortion equation f(t) and to collect these equations into the geometric distortion equation set F.
In the present embodiment, the geometric distortion equation set F is normalized to define the projection locations of the projection points D in the scanning area A′ in the projection coordinate system and obtain the projection point coordinates. Specifically, after the projection coordinate system is defined in Step S205 according to the maximum distances xmax and ymax between the projection points D along the first axis (e.g. x-axis) and the second axis (e.g. y-axis), thereafter the captured line curves of each of the scan lines are used to obtain the corresponding polynomial equations by polynomial approximation. Furthermore, the polynomial equations are normalized to obtain the corresponding geometric distortion equations, and these equations are collected into the geometric distortion equation set F. By substituting the time parameter (e.g. projection sequence t) of the projection points D into the corresponding geometric distortion equations of the geometric distortion equation set F, the projection point locations of the projection points D in the projection coordinate system can be obtained.
With reference again to
In the projection coordinate system, assume a range of the image projection area A along the first axis (x-axis) is X1 to X2, a range along the second axis (y-axis) is Y1 to Y2, and the projection image is projected in the image projection area A to avoid the regions around the scanning area A′ with scan line distortion. Moreover, assuming the resolution of the projection image is set to be M×N, in which M and N are positive integers, then the pixel coordinates of each of the pixels may be calculated by the following equations:
x
p
=X1+nx*Δpx (equation 1)
y
p
=Y1+ny*Δpy (equation 2)
where the range of nx is 0 to (M−1), the range of ny is 0 to (N−1), Δpx is (X2−X1)/(M−1), and Δpy is (Y2−Y1)/(N−1). The pixel coordinates may be changed according to the resolution of the projection image and the range setting of the image projection area A, and the pixel coordinates may be obtained through recalculation by the control unit 180 of the image projection apparatus 100. Using the embodiment depicted in
In Step S220, the MEMS scanning device 140 moves the projection light beam PL to scan on the projection plane 10 and project to the projection points D sequentially. When the MEMS scanning device 140 moves the projection light beam PL to scan and project the projection light beam PL to the projection points D sequentially, in Step S230, the control unit 180 sequentially determines whether each of the projection points D is located in the image projection area A. When the projection point D is located in the image projection area A, in Step S240, the control unit 180 controls the projection light source 120 according to the corrected image information, so that the projection light beam PL provides the corresponding corrected image information to the projection point. In other words, by providing the corrected image information to the projection points in the image projection area A, the control unit 180 displays the projection image to be displayed in the image projection area A only.
Furthermore, when the projection location of the projection point D is not located in the image projection area A, in Step S250, the control unit 180 controls the projection light source 120 so the projection light beam correspondingly provides the monochromatic image information to the projection point D, such as a black image information. In other embodiments, when the projection location of the projection point D is not located in the image projection area A, then the control unit 180 may control the projection light source 120 to turn off so that the projection light beam PL is not generated to the projection points. Alternatively, the control unit 180 may also control the projection light beam PL to shut off (e.g., by shielding the projection light beam PL), so that the projection light beam PL cannot be projected to the projection points.
It should be noted that, for the method to determine whether the projection points D are located in the image projection area A, the aforementioned geometric distortion equation set F may be used to obtain the projection point coordinates corresponding to the projection points D. Moreover, whether the projection point D is located in the image projection area A may be determined according to whether the projection coordinates of the projection point D is located in the image projection area A.
In the present embodiment, as shown in
It should be noted that, only when the resolution of the image or the range of the image projection area changes, the image correction method need to be executed again to determine whether the projection location of the projection point is in the image projection area.
In view of the foregoing, the image projection apparatus and image correction method provided in embodiments of the invention may generate the image information to be displayed in a set image projection area. Moreover, since the distorted region of the scanning area is avoided, the image is not affected by the geometric distortion of the scanning area, and the projection image quality can be maintained. By displaying the image in the image projection area, the uneven projection speed of the projection light beam at the boundaries of the scanning area can be prevented from affecting the image quality.
Although the invention has been described with reference to the above embodiments, it will be apparent to one of ordinary skill in the art that modifications to the described embodiments may be made without departing from the spirit of the invention. Accordingly, the scope of the invention will be defined by the attached claims and not by the above detailed descriptions.
Number | Date | Country | Kind |
---|---|---|---|
201410026836.9 | Jan 2014 | CN | national |