The present invention relates to the field of image optics, and more particularly to a method for obtaining an image and an image pickup device and an electronic device using the same.
In recent years, with evolution of electronic industries and flourish of industrial technologies, design and development of various electronic devices are oriented to the direction of light and easy to carry, so as to make it convenient for a user to use same in mobile business, entertainment or recreation, and the like anytime and anywhere. For example, various image pickup devices are widely used in various fields, for example, in electronic devices such as smart phones, wearable electronic devices, and air shoot devices, which have advantages of having a small volume and being easy to carry, so that a user can take out the same any time when there is a use demand, to pick up an image and store the image, or further upload the image to the Internet via a mobile network. This not only has a significant commercial value, but also further enriches peoples' daily life. However, with the improvement of life quality, people have more demands for images, and more particularly expect that an obtained image has a higher imaging quality and more imaging effects.
For example, people always expect that the obtained image becomes clearer, and therefore usually increase a resolution of an image by improving a lens or improving a sensing element for imaging, and further may enable a general image to have a better effect through software computing. Referring to
However, to dispose two optical lenses on a smart phone for obtaining an image having a high resolution has the following disadvantages: first, the additionally disposed optical lens and a kit thereof lead to increase of a manufacturing cost; second, the additionally disposed optical lens and the kit thereof need to take up a volume, thereby increasing the difficulty for development of smart phones in a trend towards light, thin, short and small. Therefore, there is still room for improvement of the conventional method for obtaining an image.
An object of the present invention is to provide a method for obtaining an image, more particularly to a method for obtaining an image having a high resolution by using a single optical lens only, so as to reduce a volume and manufacturing cost of an image pickup device.
Another object of the present invention is to provide an image pickup device and an electronic device using the method for obtaining an image.
In a preferable embodiment, the present invention provides a method for obtaining an image, used in an image pickup device having an optical lens, where the method for obtaining an image includes:
(a) picking up a first image having a first resolution at a first position;
(b) driving the optical lens to move to a second position in a direction along a non-optical axis, and picking up a second image having a second resolution at the second position; and
(c) synthesizing the first image and the second image, so as to obtain a third image having a third resolution, where the third resolution is greater than the first resolution and the second resolution.
In a preferably embodiment, the present invention also provides an image pickup device, including:
an optical lens;
a driving unit, connected to the optical lens, configured to drive the optical lens to move from a first position to a second position in a direction along a non-optical axis;
a sensing element, configured to sense a beam that passes through the optical lens and that is transmitted in the sensing element to obtain a first image having a first resolution when the optical lens is located at the first position, and sense a beam that passes through the optical lens and that is transmitted in the sensing element to obtain a second image having a second resolution when the optical lens is located at the second position; and
a synthesizing unit, connected to the sensing element, configured to synthesize the first image and the second image, so as to obtain a third image having a third resolution, where the third resolution is greater than the first resolution and the second resolution.
In a preferably embodiment, the present invention also provides an electronic device, including:
a housing; and
an image pickup device, disposed in the housing, including:
an optical lens, at least a part of which is exposed out of the housing;
a driving unit, connected to the optical lens, configured to drive the optical lens to move from a first position to a second position in a direction along a non-optical axis;
a sensing element, configured to sense a beam that passes through the optical lens and that is transmitted in the sensing element to obtain a first image having a first resolution when the optical lens is located at the first position, and sense a beam that passes through the optical lens and that is transmitted in the sensing element to obtain a second image having a second resolution when the optical lens is located at the second position; and
a synthesizing unit, connected to the sensing element, configured to synthesize the first image and the second image, so as to obtain a third image having a third resolution, where the third resolution is greater than the first resolution and the second resolution.
First, an image pickup device of the present invention is illustrated. Referring to
How the image pickup device 2 obtains a high-resolution image is described below. The “resolution” in this specification refers to the number of pixel points included in a unit length, and it determines an elaborate degree of details of a bitmap. Generally, a higher resolution indicates a clearer image. Referring to
Step S1: a beam L that passes through the optical lens 21 and that is transmitted to the sensing element 22 is sensed to obtain a first image having a first resolution when the optical lens 21 is located at a first position P1. Step S2: the optical lens 21 is driven, by the driving unit 24, to move from the first position P1 to a second position P2 in a direction D along a non-optical axis, so that the sensing element 22 senses a beam L that passes through the optical lens 21 and that is transmitted to the sensing element 22 to obtain a second image having a second resolution.
In this preferable embodiment, the first position P1 is spaced from the second position P2 for 3 pixels. Because in the present invention, a beam L that passes through the optical lens 21 and that is transmitted to the sensing element 22 is sensed by using the single sensing element 22 no matter the optical lens 21 is located at the first position P1 or the second position P2, the first resolution of the first image is the same as the second resolution of the second image and the present invention is not limited thereto. For example, two sensing elements may be disposed in an image pickup device, to respectively sense beams that pass through an optical lens and that are transmitted thereto when the optical lens is located at a first position and a second position. Therefore, a first resolution of a first image may be different from a second resolution of a second image. For another example, the distance between the first position P1 and the second position P2 can be any one that enables an optimum interpolation result.
Step S3: the first image and the second image are synthesized by the synthesizing unit 23, so as to obtain a third image having a third resolution, where a third resolution of the third image is greater than the first resolution of the first image and a second resolution of the second image. In addition, in this preferable embodiment, the synthesizing unit 23 synthesizes the first image and the second image by using an image interpolation technology.
Furthermore, referring to
Specifically, in this preferable embodiment, the synthesizing unit 23 searches for a second image block 421 closest to the first image block 411 of the first image 41 in the second image 42 by computing a peak signal-to-noise ratio (PSNR). The peak signal-to-noise ratio can be used to determine whether the second image block 421 of the second image 42 is closest to the first image block 411 of the first image 41, because the peak signal-to-noise ratio is an objective standard for evaluating a similarity degree of two images and a higher peak signal-to-noise ratio indicates a smaller image phase difference.
Further, in the third image 43, in addition to that the third image block 431 is composed of the first image block 411 of the first image 41 and the second image block 421 of the second image 42, any other image block in the third image 43 is also composed of a corresponding image block in the first image 41 and a corresponding image block in the second image 42. Therefore, the third image 43 can retain separate details of the first image 41 and the second image 42. Therefore, the third resolution of the third image 43 is greater than the first resolution of the first image 41 and the second resolution of the second image 42.
However, the above is only an embodiment, the method for interpolating an image by the synthesizing unit 23 and the method for searching for the second image block 421 closest to the first image block 411 of the first image 41 from the second image 42 are not limited to the above, and those ordinarily skilled in the art could make any equivalent design change according to actual application requirements. For example, the synthesizing unit 23 may further search for the second image block 421 closest to the first image block 411 of the first image 41 from the second image 42 by using a mean-residual normalized correlation method (ZNCC) in addition to computing a peak signal-to-noise ratio. Still for example, the flow of step S3 shown in
In addition, the existing image pickup device 2 generally is provided with an optical image stabilization (01S) function. That is, a motion sensor (not shown; for example, a gyro) may be disposed in the image pickup device 2, and the driving unit 24 may drive, according to a sensed result by the motion sensor, the optical lens 21 to move, so as to maintain the optical axis 29 to be perpendicular to the sensing element 22, thereby preventing from photographing a fuzzy image. It needs to be specially noted that if the method for obtaining an image of the present invention is applied to an image pickup device 2 that is originally provided with an optical image stabilization function, the driving unit 24 that is originally disposed in the image pickup device 2 is directly used to drive the optical lens 21 to move from the first position P1 to the second position P2 in the direction D along the non-optical axis in step S2. Therefore, by using the image pickup device 2 that is originally provided with an optical image stabilization function, a high-resolution image can be obtained without additionally disposing a driving unit 2, thereby not increasing the manufacturing cost.
Referring to
As can be known from the above, by the method for obtaining an image and the image pickup device and the electronic device using the same, a high-resolution image can be obtained by using a single optical lens only. Therefore, a manufacturing cost of the image pickup device can be effectively reduced, and meanwhile, a volume of the image pickup device may not be increased by a large margin, which is beneficial to development of an electronic device using an image pickup device in a trend towards light, thin, short and small.
The above are only the most preferred embodiments of the present invention, and the present invention needs not be limited to the disclosed embodiments. Therefore, all equivalent changes or modifications included within the spirit and scope of the present invention fall within the scope of the claims of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
105105026 | Feb 2016 | TW | national |