1. Field of the Invention
The invention relates to a focus-adjusting apparatus, platform and method of an imaging device, and more particularly, to a focus-adjusting apparatus, platform and method of an imaging device that performs focus-adjustment with a stepping motor based on a modulation transfer function calculated by an image-processing device.
2. Description of the Prior Art
Generally speaking, there are two kinds of camera lenses: variable focus lenses and fixed focus lenses. A variable focus lens assembly contains several movable elements that permit changing of the effective focal length, such as between 18 to 55 mm or between 75 to 300 mm. When the distance between a photographer and an object remains constant, the shooting range can be adjusted with the movable elements in the variable lens. A fixed focus lens assembly provides fixed effective focal lengths, such as 24 mm or 85 mm. To change the shooting range of the fixed focus camera, the photographer has to move towards or away from the object. Fixed focus lens assemblies usually adopt charge-coupled device (CCD) or complementary metal-oxide semiconductor (CMOS) as optical sensors. The distance between the lens and the optical sensor in a fixed focus lens assembly has to be adjusted in order to achieve best performance.
Conventionally, there are two methods for performing focus-adjustment in a fixed focus lens assembly. In a first prior art method, the distance between the optical sensor and the lens of a fixed focus lens assembly is adjusted manually. Images measured by the optical sensor are firstly recorded and displayed on a display device. Image performance characteristics, such as contrast and brightness, are observed with human eyes and then the focal length of the fixed focus lens assembly is manually adjusted for improving image quality. This method depends largely on personal judgment of the focus-adjusting operator and the accuracy also varies accordingly. Also, it requires time to have qualified and experienced focus-adjusting operators and a focus-adjusting operator cannot perform the task on several fixed focus lens assemblies at the same time. Therefore, it often requires a lot of focus-adjusting equipment and operators in mass production and the manufacturing cost is quite considerable.
Another prior method for adjusting the focal length of a fixed focus lens assembly manually adjusts the distance between the optical sensor and the lens and records images measured by the optical sensor. Based on the recorded images, a modulation transfer function (MTF) of the fixed focus lens assembly is calculated using a computer. Then the focal length of the fixed focus lens assembly is adjusted to a calculated location where, based on the calculations of the computer, the fixed focus lens assembly has the optimum modulation transfer function. However, the modulation transfer functions depend on certain testing parameters that are easily influenced by the testing environment, such as auto exposure (AE) and auto white balance (AWB). This prior method does not consider these environmental impacts during the testing process and misjudgments of the optimum modulation transfer functions often occur. Therefore, the calculated focal length obtained in the above-mentioned method merely serves as a reference value and further focus-adjusting steps are still needed.
It is therefore a primary objective of the claimed invention to provide a focus-adjusting apparatus and platform of an imaging device in order to solve the above-mentioned problems.
The claimed invention discloses a focus-adjusting apparatus of an imaging device including a base; an imaging device including a lens disposed at the base during focus-adjustment and removed from the base after focus-adjustment; a holding device coupled to the lens during focus-adjustment and detached from the lens after focus-adjustment; a gear set coupled to the holding device for driving the holding device; and a stepping motor for driving the gear set.
The claimed invention further discloses a focus-adjusting platform for adjusting focus of an imaging device including an imaging device including a lens and a sensor for sensing light from the lens and a focus-adjusting apparatus. The focus-adjusting apparatus comprises a lower base; an upper base, one side of the upper base being capable of attaching and detaching with the lower base; a holding device capable of attaching and detaching with the lens for holding the imaging device; a gear set coupled to the holding device for driving the holding device; and a stepping motor for driving the gear set.
The claimed invention further discloses a method for adjusting focus of an imaging device including adjusting focus of an imaging device using a stepping motor; measuring a parameter of an image measured by the imaging device; determining an optimum value of the parameter; and setting the focus of the imaging device to a value with which the optimum value of the parameter is obtained.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
Please refer to
Please refer to
Please refer to
Please refer to
Please refer to
Please refer to
Please refer to
Step 700: Dispose the imaging device 40 on the focus-adjusting apparatus 10;
Step 710: Adjust the AE and AWB of the imaging device 40;
Step 720: Rotate the stepping motor 12 with a predetermined step and in a predetermined direction for adjusting the focal length of the lens 15 of the imaging device 40;
Step 730: Calculate and record an MTF of an image measured by the imaging device 40 after the stepping motor has been adjusted with the predetermined step and in the predetermined direction;
Step 740: Determine if an optimum MTF can be obtained; if the optimum MTF can be obtained, execute step 750; if the optimum MTF cannot be obtained, execute step 720;
Step 750: Send a focal length with which the lens 15 of the imaging device 40 measures an image with the optimum MTF to the stepping motor 12; and
Step 760: Rotate the stepping motor 12 for adjusting the lens 15 of the imaging device 40 to the focal length with which the image with the optimum MTF is obtained.
In the flowchart shown in
The focus-adjusting apparatus 10 provides the imaging device 40 with a testing environment having little interference. Before performing focus adjustment, the auto exposure and auto white balance of the imaging device 40 are adjusted and set to predetermined values to prevent these parameters from impacting the accuracy of subsequent focus-adjustment. The stepping characteristics of the stepping motor 12 allow accurate focus adjustment of the imaging device 40. The image-processing device dynamically calculates and records modulation transfer functions of images measured with different focal lengths and determines an optimum modulation transfer function. Then the data is sent to the stepping motor for adjusting the focal length of the imaging device to a value where the optimum modulation transfer function is obtained.
Compared to the prior art, the present invention provides a focus-adjust apparatus and a method that can perform accurate focus-adjustment based on a modulation transfer function and a testing environment with less interference. In conclusion, the present invention offers an automatic, accurate, stable and lost-cost focus-adjusting platform.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings 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 |
---|---|---|---|
094113462 | Apr 2005 | TW | national |