[go: up one dir, main page]

CN1175317C - camera magnification correction method - Google Patents

camera magnification correction method Download PDF

Info

Publication number
CN1175317C
CN1175317C CNB011154411A CN01115441A CN1175317C CN 1175317 C CN1175317 C CN 1175317C CN B011154411 A CNB011154411 A CN B011154411A CN 01115441 A CN01115441 A CN 01115441A CN 1175317 C CN1175317 C CN 1175317C
Authority
CN
China
Prior art keywords
zoom lens
magnification
camera
image
estimate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB011154411A
Other languages
Chinese (zh)
Other versions
CN1383029A (en
Inventor
刘权辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kinpo Electronics Inc
Original Assignee
Kinpo Electronics Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kinpo Electronics Inc filed Critical Kinpo Electronics Inc
Priority to CNB011154411A priority Critical patent/CN1175317C/en
Publication of CN1383029A publication Critical patent/CN1383029A/en
Application granted granted Critical
Publication of CN1175317C publication Critical patent/CN1175317C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)

Abstract

A camera magnification correction method, capture a fixed distance correction sample image with the camera, move the zoom lens to the marginal end and carry out the automatic focusing of the correction sample first, in moving the zoom lens and increasing the process of the magnification, calculate the evaluation value of the image data captured in CCD sampling area; carrying out automatic focusing when the evaluation value suddenly drops, and then continuously moving the zoom lens to increase the magnification and calculate the evaluation value; and recording the position of the zoom lens when all the evaluation values suddenly drop, wherein the position is the position which is required by the stepping motor or the voltage motor to drive the zoom lens to reach when the magnification is reached.

Description

相机放大率校正方法Camera magnification correction method

技术领域technical field

本发明是有关相机放大率校正方法,由其是有关自动、快速的校正相机的放大率。The present invention relates to a camera magnification correction method, especially to automatically and rapidly correcting the camera magnification.

背景技术Background technique

一般数字相机或传统光学相机的自动对焦装置,是以步进马达(Pulsemotor)或电压马达(Dc motor)带动变焦镜头移动到对焦位置以获得清晰的影像。当要取得某一放大率的影像时,要先进行相机放大率的校正,才能获知变焦镜头需移动到那一位置才能得到该放大率的影像,该变焦镜头的位置资料可用带动变焦镜头移动的步进马达转动步数或电压马达的电压值来表示。The autofocus device of a general digital camera or a traditional optical camera uses a stepping motor (Pulsemotor) or a voltage motor (Dc motor) to drive the zoom lens to move to the focusing position to obtain a clear image. When obtaining an image with a certain magnification, it is necessary to calibrate the camera magnification first, so as to know the position where the zoom lens needs to be moved to obtain an image with this magnification. The position data of the zoom lens can be used to drive the zoom lens to move It is represented by the number of steps of the stepping motor or the voltage value of the voltage motor.

先前相机放大率的校正方法,是将变焦镜头移至边缘端撷取如图1所示校正图10的影像,调整相机与校正图10的距离,使校正图10的影像的外框11正好位于影像显示幕的边框上,固定相机与校正图10的距离;以手动方式控制步进马达或电压马达带动变焦镜头移动,使校正图10的中框12或内框13正好位于影像显示幕的边框上,记录步进马达的转动步数、或电压马达的电压值,即可确认相机在某一放大率时,步进马达所需转动的步数、或电压马达需在某一电压值时才能将变焦镜头移动至可得到该放大率的位置。上述以人工手动方式进行相机放大率的校正工作,相当费时,且易产生人为误差,使放大率的校正变得不准确。另有一种利用光学仪器进行相机放大率的校正方式,需有光学仪器的设备,其成本较高。为解决相机放大率校正利用光学仪器时需要设备及资金的问题,或利用人工手动校正较费时且容易产生误差的问题,经发明人一再研究后,终于完成本发明。The previous calibration method of camera magnification is to move the zoom lens to the edge to capture the corrected image in Figure 10 as shown in Figure 1, and adjust the distance between the camera and the corrected figure 10 so that the outer frame 11 of the corrected image in Figure 10 is exactly at the On the frame of the image display screen, fix the distance between the camera and the correction figure 10; manually control the stepping motor or voltage motor to drive the zoom lens to move, so that the middle frame 12 or inner frame 13 of the correction figure 10 is just at the frame of the image display screen On the screen, record the number of steps of the stepping motor, or the voltage value of the voltage motor, and you can confirm the number of steps the stepping motor needs to turn, or the voltage value of the voltage motor when the camera is at a certain magnification. Move the zoom lens to a position where that magnification is obtained. The manual correction of camera magnification described above is quite time-consuming and prone to human error, making the correction of magnification inaccurate. There is another way to correct the magnification of the camera using optical instruments, which requires equipment with optical instruments, and its cost is relatively high. In order to solve the problem of requiring equipment and funds when using optical instruments for camera magnification correction, or the problem that manual correction is time-consuming and prone to errors, the inventor finally completed the present invention after repeated research.

发明内容Contents of the invention

本发明的主要目的在于提供一种相机放大率校正方法,可方便、省时及正确的校正相机的放大率。The main purpose of the present invention is to provide a camera magnification calibration method, which can conveniently, time-saving and correct calibrate the camera magnification.

本发明一种相机放大率的校正方法,其特征在于,包括如下步骤:A method for correcting camera magnification of the present invention is characterized in that it comprises the following steps:

A、使变焦镜头移动到边缘端,撷取校正样本的影像并执行对焦;A. Move the zoom lens to the edge, capture the image of the calibration sample and perform focusing;

B、移动变焦镜头变更放大率,并计算CCD取样区所撷取影像资料的评价值;B. Move the zoom lens to change the magnification, and calculate the evaluation value of the image data captured by the CCD sampling area;

C、检测评价值突然下降时,记录变焦镜头的位置并执行对焦;以及C. When detecting a sudden drop in evaluation value, record the position of the zoom lens and perform focusing; and

D、重复步骤B、C,记录所有评价值突然下降时变焦镜头的位置;D. Repeat steps B and C to record the position of the zoom lens when all evaluation values suddenly drop;

其中该变焦镜头的位置是以带动变焦镜头的步进马达的转动步数表示。Wherein the position of the zoom lens is indicated by the number of rotation steps of the stepping motor driving the zoom lens.

本发明一种相机放大率的校正方法,其特征在于,包括如下步骤:A method for correcting camera magnification of the present invention is characterized in that it comprises the following steps:

A、使变焦镜头移动到边缘端,撷取校正样本的影像并执行对焦;A. Move the zoom lens to the edge, capture the image of the calibration sample and perform focusing;

B、移动变焦镜头变更放大率,并计算CCD取样区所撷取影像资料的评价值;B. Move the zoom lens to change the magnification, and calculate the evaluation value of the image data captured by the CCD sampling area;

C、检测评价值突然下降时,记录变焦镜头的位置并执行对焦;以及C. When detecting a sudden drop in evaluation value, record the position of the zoom lens and perform focusing; and

D、重复步骤B、C,记录所有评价值突然下降时变焦镜头的位置;D. Repeat steps B and C to record the position of the zoom lens when all evaluation values suddenly drop;

其中该变焦镜头的位置是以带动变焦镜头的电压马达的电压值表示。The position of the zoom lens is represented by the voltage value of the voltage motor driving the zoom lens.

其中该步骤B中移动变焦镜头是增加放大率。Wherein moving the zoom lens in the step B is to increase the magnification.

附图说明Description of drawings

本发明的其他目的、功效及实施例,请参阅附图及详细说明如下,其中:For other purposes, effects and embodiments of the present invention, please refer to the drawings and detailed descriptions as follows, wherein:

图1为现有相机放大率校正图的示意图;FIG. 1 is a schematic diagram of an existing camera magnification correction map;

图2为本发明相机放大率校正样本示意图;Fig. 2 is a schematic diagram of a camera magnification correction sample of the present invention;

图3为校正样本经相机放大的影像示意图;Figure 3 is a schematic diagram of the image of the calibration sample enlarged by the camera;

图4为校正样本经相机放大尚未对焦的模糊影像示意图;Figure 4 is a schematic diagram of the blurred image of the calibration sample enlarged by the camera and not yet in focus;

图5为CCD取样区的评价值与变焦镜头位置关系示意图。FIG. 5 is a schematic diagram of the relationship between the evaluation value of the CCD sampling area and the position of the zoom lens.

具体实施方式Detailed ways

本发明是利用图2所示的样本校正,供数字相机CCD取样区撷取其影像,当对焦时可获得如图3所示清晰的影像;当移动变焦镜头提高放大率时,在未对焦时,CCD取样区撷取如图4所示的影像,其黑色条纹边缘会呈模糊(以灰色表示)状态,且其可视范围逐渐变少;在变焦镜头移动的过程中计算CCD取样区所撷取影像资料的评价值,在如图3所示已对焦的影像其评价值较大,而在提高放大率尚未对焦的过程中,如图4所示其黑色条纹边缘渐渐模糊的影像,其评价值会渐渐变小,而在放大率提高到最外侧的黑白边界超出取样区时,评价值将会突然下降,此时变焦镜头的位置即为所需记录要获得该放大率的位置。请参阅图5所示CCD取样区的评价值与变焦镜头位置关系示意图,其中变焦镜头在a、b位置为评价值突然下降之处,即为使相机可得到某两种放大率影像的位置。The present invention utilizes the sample correction shown in Figure 2 for the CCD sampling area of the digital camera to capture its image, and can obtain a clear image as shown in Figure 3 when focusing; when moving the zoom lens to increase the magnification, when not focusing , the image shown in Figure 4 is captured by the CCD sampling area, and the edges of its black stripes will be blurred (indicated in gray), and its visible range will gradually decrease; calculate the captured image of the CCD sampling area during the movement of the zoom lens Taking the evaluation value of the image data, the evaluation value of the focused image as shown in Figure 3 is relatively large, and in the process of increasing the magnification and not yet in focus, as shown in Figure 4, the image whose black stripe edge is gradually blurred has a higher evaluation value. The value will gradually decrease, and when the magnification increases until the outermost black-and-white boundary exceeds the sampling area, the evaluation value will suddenly drop. At this time, the position of the zoom lens is the position where the magnification is required to be recorded. Please refer to the schematic diagram of the relationship between the evaluation value of the CCD sampling area and the position of the zoom lens shown in Figure 5, where the evaluation value of the zoom lens drops suddenly at positions a and b, that is, the position where the camera can obtain images of certain two magnification ratios.

本发明相机放大率校正方法,包括如下步骤:The camera magnification correction method of the present invention comprises the following steps:

A、使变焦镜头移动到边缘端,撷取校正样本的影像并执行对焦;A. Move the zoom lens to the edge, capture the image of the calibration sample and perform focusing;

B、移动变焦镜头增加放大率,并计算CCD取样区所撷取影像资料的评价值;B. Move the zoom lens to increase the magnification, and calculate the evaluation value of the image data captured by the CCD sampling area;

C、检测评价值突然下降时,记录变焦镜头的位置并执行对焦;以及C. When detecting a sudden drop in evaluation value, record the position of the zoom lens and perform focusing; and

D、重复步骤B、C,记录所有评价值突然下降时变焦镜头的位置。D. Repeat steps B and C to record the position of the zoom lens when all evaluation values suddenly drop.

上述方法,可利用相机内部的微处理计算评价值,并检测、记录所有评价值突然下降时变焦镜头的位置,自动进行放大率的校正作业,不需人工操作校正,亦不需其他光学仪器的辅助,即可正确、快速的进行相机放大率的校正作业,可获得变焦镜头在某一放大率时正确的位置。The above method can use the internal micro-processing of the camera to calculate the evaluation value, and detect and record the position of the zoom lens when all the evaluation values suddenly drop, and automatically perform the correction of the magnification, without manual operation and correction, and without the need for other optical instruments Assisted, you can correct and quickly correct the camera magnification, and you can get the correct position of the zoom lens at a certain magnification.

一般相机若装上CCD,可计算CCD取样区所撷取影像资料的评价值时,也可应用本发明的方法进行一般相机放大率的校正。本发明亦可以记录步进马达的转动步数、或电压马达的电压值取代记录变焦镜头的位置,同样可使步进马达转动某步时、或使电压马达在某一电压值时,能将变焦镜头移动至可得到某放大率的位置,使相机取得所需放大率的影像。本发明可用不同的校正样本进行不同放大率的校正,且可移动变焦镜头以降低放大率的方式进行不同放大率的校正。If a general camera is equipped with a CCD, when the evaluation value of the image data captured by the CCD sampling area can be calculated, the method of the present invention can also be applied to correct the magnification of the general camera. The present invention can also record the number of rotation steps of the stepping motor, or the voltage value of the voltage motor instead of recording the position of the zoom lens, and can also make the stepping motor rotate a certain step, or when the voltage motor is at a certain voltage value, the The zoom lens is moved to a position where a certain magnification can be obtained, so that the camera can obtain an image with the required magnification. The invention can use different calibration samples to correct different magnifications, and can move the zoom lens to perform corrections of different magnifications by reducing the magnification.

以上所记载的内容,仅为本发明的实施例,任何运用本发明所为的修饰、变化,均属本发明所主张的专利范围,而不限于实施例所揭露的内容。The content described above is only the embodiment of the present invention, and any modifications and changes made by using the present invention belong to the patent scope claimed by the present invention, and are not limited to the content disclosed in the embodiment.

综上所述,本发明与现有相机放大率的校正方法完全不同,具有功效的增进,已符合发明专利的条件,故依法申请专利。To sum up, the present invention is completely different from the correction method of the existing camera magnification, and has the enhancement of efficacy, which meets the conditions of the invention patent, so the patent is applied for according to the law.

Claims (3)

1, a kind of bearing calibration of amplifying ratio of camera is characterized in that, comprises the steps:
A, make zoom lens move to marginal end, the image of acquisition calibration samples is also carried out focusing;
B, zoom lens motionless zoom lens change magnification, and the evaluation of estimate of calculating CCD sampling area institute pick-up image data;
C, when detecting evaluation of estimate and descending suddenly, focusing is also carried out in the position of record zoom lens; And
D, repeating step B, C, the position of zoom lens when writing down all evaluations of estimate and descending suddenly;
Wherein the position of this zoom lens is to represent with the rotation step number of the step motor that drives zoom lens.
2, a kind of bearing calibration of amplifying ratio of camera is characterized in that, comprises the steps:
A, make zoom lens move to marginal end, the image of acquisition calibration samples is also carried out focusing;
B, zoom lens motionless zoom lens change magnification, and the evaluation of estimate of calculating CCD sampling area institute pick-up image data;
C, when detecting evaluation of estimate and descending suddenly, focusing is also carried out in the position of record zoom lens; And
D, repeating step B, C, the position of zoom lens when writing down all evaluations of estimate and descending suddenly;
Wherein the position of this zoom lens is to represent with the magnitude of voltage of the voltage motor that drives zoom lens.
3, the bearing calibration of amplifying ratio of camera according to claim 1 and 2 is characterized in that, wherein zoom lens motionless zoom lens is to increase magnification among this step B.
CNB011154411A 2001-04-25 2001-04-25 camera magnification correction method Expired - Fee Related CN1175317C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB011154411A CN1175317C (en) 2001-04-25 2001-04-25 camera magnification correction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB011154411A CN1175317C (en) 2001-04-25 2001-04-25 camera magnification correction method

Publications (2)

Publication Number Publication Date
CN1383029A CN1383029A (en) 2002-12-04
CN1175317C true CN1175317C (en) 2004-11-10

Family

ID=4661974

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB011154411A Expired - Fee Related CN1175317C (en) 2001-04-25 2001-04-25 camera magnification correction method

Country Status (1)

Country Link
CN (1) CN1175317C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100397243C (en) * 2001-10-31 2008-06-25 金宝电子工业股份有限公司 camera magnification correction method
JP2010147925A (en) * 2008-12-19 2010-07-01 Sanyo Electric Co Ltd Imaging apparatus
CN104777698B (en) * 2014-01-15 2017-12-15 瑞昱半导体股份有限公司 Camera lens Atomatic focusing method and related camera chip

Also Published As

Publication number Publication date
CN1383029A (en) 2002-12-04

Similar Documents

Publication Publication Date Title
JP4416827B1 (en) Evaluation apparatus, calibration method, calibration program, and recording medium
WO2009029365A1 (en) Systems and methods for determination of a camera imperfection for an image
EP2102816A2 (en) Method for assessing image focus quality
WO2004102478A1 (en) Image processing device
CN1137409C (en) autofocus method
WO2015012279A1 (en) Image processing device, image processing method, microscope system, and image processing program
CN111698420A (en) Automatic focusing method for image analyzer
CN104011580A (en) Image Processing Device, Imaging Device, Microscope System, Image Processing Method, and Image Processing Program
CN201681056U (en) High-resolution observation device for industrial X-ray films
CN1405615A (en) Picture pick-up device and lens driving method thereof and picture pick-up system
CN1175317C (en) camera magnification correction method
CN101034240A (en) Automatic focusing method used for testing camera module group
CN1892401A (en) Multi-stage automatic focusing method according to time-frequency domain catched by iris picture
CN100397243C (en) camera magnification correction method
CN1519637A (en) Automatic focusing method ofr projector and the projector using the method
CN1770882A (en) Digital image analysis test pattern and its making method
CN112099216A (en) Focusing method of electric fluorescence microscope
CN1209675C (en) Calibration method of camera transmission gap
CN1787613A (en) Imaging apparatus, imaging method and imaging processing program
US20030138166A1 (en) Noise elimination method and noise elimination apparatus
CN1214230C (en) Miniature size measurer
CN116489513A (en) An automatic focusing method, device, electronic equipment and storage medium
TW466379B (en) Method to calibrate the magnification of camera
JPH07236083A (en) How to adjust the flange back of the video camera
CN120926914B (en) Eccentric measurement method of electric turntable of microscope

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C19 Lapse of patent right due to non-payment of the annual fee
CF01 Termination of patent right due to non-payment of annual fee