CN1940699A - Camera having automatic lens system - Google Patents
Camera having automatic lens system Download PDFInfo
- Publication number
- CN1940699A CN1940699A CN200610154268.6A CN200610154268A CN1940699A CN 1940699 A CN1940699 A CN 1940699A CN 200610154268 A CN200610154268 A CN 200610154268A CN 1940699 A CN1940699 A CN 1940699A
- Authority
- CN
- China
- Prior art keywords
- contrast
- data
- backward
- imaging surface
- contrast data
- 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.)
- Pending
Links
Images
Landscapes
- Focusing (AREA)
- Studio Devices (AREA)
- Automatic Focus Adjustment (AREA)
Abstract
一种照相机,具有:对比度检测器,其连续地检测在图像传感器的光接收表面上形成的物像的对比度数据,和聚焦检测器,其基于该对比度数据检测聚焦情况。该照相机还具有通过驱动照相光学系统而聚焦物体的调焦器。当物体焦点未对准时,调焦器驱动照相光学系统,从而向前和向后移动成像表面。然后,聚焦检测器检测与移动成像表面之前的位置相对应的标准对比度数据,与向前位置相对应的向前对比度数据,和与向后位置相对应的向后对比度数据。调焦器向对比度数据增大的方向移动成像表面,其中该对比度数据从标准对比度数据,向前对比度数据,和向后对比度数据中获得。
A camera having: a contrast detector that continuously detects contrast data of an object image formed on a light-receiving surface of an image sensor, and a focus detector that detects a focus condition based on the contrast data. The camera also has a focuser that focuses on a subject by driving a photographing optical system. When the object is out of focus, the focuser drives the camera optics, moving the imaging surface forward and backward. Then, the focus detector detects standard contrast data corresponding to the position before moving the imaging surface, forward contrast data corresponding to the forward position, and backward contrast data corresponding to the backward position. The focuser moves the imaging surface in a direction of increasing contrast data obtained from standard contrast data, forward contrast data, and backward contrast data.
Description
技术领域technical field
本发明涉及一种具有自动聚焦系统的照相机。特别地,本发明涉及一种采用对比度(contrast)检测方法的具有自动聚焦系统的相机。The invention relates to a camera with an autofocus system. In particular, the invention relates to a camera with an autofocus system using a contrast detection method.
背景技术Background technique
在诸如小型数码相机的数码相机中,利用对比度检测方法的自动聚焦系统被结合在相机中作为自动控制装置。在该对比度检测方法中,基于从图像传感器读取的图像相素信号连续地检测对比度数据,执行自动聚焦。当检测到峰值或最大对比度数据时,换句话说,当物像中的高空间高频部分(high spatial high frequency component)成为最大值时,确定物体处于聚焦状态,且聚焦镜头被驱动到焦点。使用者可以通过相机后表面上的LCD监视器确认聚焦情况。In digital cameras such as compact digital cameras, an autofocus system utilizing a contrast detection method is incorporated in the camera as an automatic control device. In this contrast detection method, autofocus is performed by continuously detecting contrast data based on image pixel signals read from an image sensor. When the peak or maximum contrast data is detected, in other words, when the high spatial high frequency component in the object image becomes a maximum, it is determined that the object is in focus and the focusing lens is driven to focus. Users can confirm the focus through the LCD monitor on the rear surface of the camera.
通常,通过梯度(gradient)法(所谓的“爬山法”)检测聚焦位置,该方法在高频部分的分布曲线中搜寻顶点。连续检测对比度数据,同时连续驱动聚焦镜头,且当对比度数据具有峰值时确定物体处于聚焦状态。In general, the focus position is detected by a gradient method (so-called "hill climbing method") that searches for an apex in a distribution curve of a high-frequency portion. The contrast data is continuously detected, while the focus lens is continuously driven, and when the contrast data has a peak value, it is determined that the object is in a focused state.
当由于物体焦点未对准,而从清晰的物像变成模糊的物像时,搜寻聚焦位置,同时向光轴的前后方向移动成像表面。同样,聚焦镜头返回到初始位置,并被连续驱动,直到找到聚焦位置。聚焦镜头的这些驱动导致很难缩短聚焦所需时间。When the object image is changed from a clear object image to a blurred object image due to misalignment of the object focus, the focus position is searched, and the imaging surface is moved to the front and rear directions of the optical axis at the same time. Likewise, the focusing lens returns to the initial position and is driven continuously until the focusing position is found. These drives of the focusing lens make it difficult to shorten the time required for focusing.
发明内容Contents of the invention
本发明的一个目的在于提供一种能精确和快速地聚焦的照相机。It is an object of the present invention to provide a camera capable of precise and rapid focusing.
根据本发明的相机具有对比度检测器和聚焦检测器。对比度检测器连续检测在图像传感器的光接收表面上形成物像的对比度数据。聚焦检测器基于对比度数据检测聚焦情况。该相机还具有通过驱动照相光学系统聚焦物体的调焦器。The camera according to the invention has a contrast detector and a focus detector. The contrast detector continuously detects contrast data of an object image formed on the light receiving surface of the image sensor. A focus detector detects focus based on the contrast data. The camera also has a focuser that focuses on an object by driving a photographic optical system.
在本发明中,当物体焦点未对准时,调焦器驱动照相光学系统,从而将成像表面向前向后移动到与光接收表面相应的最终聚焦位置。成像表面被移动到靠近照相光学系统的向前位置以及被移动到离开照相光学系统的向后位置。然后,聚焦检测器检测与移动成像表面之前的位置相对应的标准对比度数据、与向前位置相对应的向前对比度数据,和与向后位置相对应的向后对比度数据。调焦器向对比度增大的方向移动成像表面,其中对比度数据从标准对比度数据,向前对比度数据,和向后对比度数据中获得。In the present invention, when the object is out of focus, the focuser drives the photographing optical system, thereby moving the imaging surface forward and backward to the final focus position corresponding to the light receiving surface. The imaging surface is moved to a forward position close to the photographing optical system and to a rearward position away from the photographing optical system. Then, the focus detector detects standard contrast data corresponding to a position before moving the imaging surface, forward contrast data corresponding to a forward position, and backward contrast data corresponding to a backward position. The focuser moves the imaging surface in a direction of increasing contrast, where contrast data is obtained from standard contrast data, forward contrast data, and backward contrast data.
优选地,当物体从聚焦情况变成焦点未对准时,调焦器向前向后移动成像表面。同样,优选地,当物像的对比度低时,调焦器向前向后移动成像表面。在该情况中,当向前和向后对比度数据小于标准对比度数据,且标准对比度数据与向前向后对比度数据之差处于容许范围内时,聚焦检测器确定处于聚焦情况。例如,调焦器移动成像表面,使得与标准对比度数据相对应的位置、向前位置和向后位置排列在大致恒定的间隔上。Preferably, the focuser moves the imaging surface forwards and backwards when the object changes from in-focus to out-of-focus. Also, preferably, the focuser moves the imaging surface forward and backward when the contrast of the object image is low. In this case, when the forward and backward contrast data are smaller than the standard contrast data, and the difference between the standard contrast data and the forward and backward contrast data is within an allowable range, the focus detector determines that it is in focus. For example, the focuser moves the imaging surface so that the position corresponding to the standard contrast data, the forward position and the backward position are arranged at substantially constant intervals.
附图说明Description of drawings
通过下面优选实施例的说明并参考附图,本发明将得到更好的理解,其中:The present invention will be better understood by the following description of the preferred embodiment with reference to the accompanying drawings, in which:
图1为根据本发明实施例的数码相机的后视图;1 is a rear view of a digital camera according to an embodiment of the present invention;
图2为数码相机的框图;Figure 2 is a block diagram of a digital camera;
图3为由系统控制电路执行的自动聚焦方法的流程图;Fig. 3 is the flowchart of the automatic focusing method that is carried out by system control circuit;
图4为表示对比度数据和对比度差异数据的点图;Figure 4 is a dot plot representing contrast data and contrast difference data;
图5A和5B为表示三个相邻对比度数据的视图。5A and 5B are views showing three adjacent contrast data.
具体实施方式Detailed ways
下文中,将参考附图说明本发明的优选实施例。Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings.
图1为根据本发明实施例的数码相机的后视图。FIG. 1 is a rear view of a digital camera according to an embodiment of the present invention.
数码相机10在后表面10B上具有LCD监视器30,和LCD监视器30上方的取景器22。此外,在后表面10B上具有一系列按钮。这里,提供了放大按钮12;由向上按钮16U、向下按钮16D、向右按钮16R和向左按钮16L组成的十字形按钮;OK按钮18;以及模式按钮19。模式按钮19操作成在照相模式、录像模式和重放模式之间切换。The
上表面10U上具有主按钮11和释放按钮13。通过按下主按钮11开启相机10,并通过操作释放按钮13记录物像。在位于相机10前表面上的镜筒(图中未示出)中安装了照相光学系统。There is a
图2为根据本实施例的数码相机10的框图。FIG. 2 is a block diagram of the
包括CPU、ROM和RAM的系统控制电路50控制相机10,并且主开关11A、变焦开关12A、释放半压下开关13A、释放全压下开关13B、选择开关16A、进入开关18A和模式开关19A与系统控制电路50相连。在ROM中,储存用于控制相机10操作的程序。A system control circuit 50 including a CPU, ROM, and RAM controls the
当选择照相模式时,执行在LCD监视器30上显示电影(movie)图像或视频(video)图像的信号处理。通过穿过照相光学系统的光,在CCD 40的光接收表面上形成物像,且在CCD 40中产生与物像相对应的图像像素信号。由CCD驱动器52驱动CCD 40,使得以恒定的间隔从CCD 40连续地读取图像像素信号。这里,以1/30或1/60秒的间隔从CCD 40读取图像像素信号。图像像素信号在放大器42中被放大,在A/D转换器44中从模拟信号转化为数字信号。When the photographing mode is selected, signal processing for displaying a movie image or a video image on the
在信号处理器46中,对数字图像进行多种的处理,例如白平衡和灰度系数(gamma)校正处理。经过处理的图像信号暂时储存在帧存储器(图中未示出)中,并被提供给LCD驱动器47。LCD驱动器基于图像信号驱动LCD监视器30,使得在LCD监视器30上显示视频图像。此外,在信号处理器46中从图像信号连续地产生亮度信号,该亮度信号被提供给系统控制电路50。在系统控制电路50中,从亮度信号中连续地产生对比度数据。In the signal processor 46, various kinds of processing such as white balance and gamma correction processing are performed on the digital image. The processed image signal is temporarily stored in a frame memory (not shown in the drawing), and supplied to the LCD driver 47 . The LCD driver drives the
当释放按钮13被按下一半时,释放半压下开关13A开启。从而执行自动聚焦,并检测物体的亮度。包括在照相光学系统15中的聚焦镜头15A被沿着光轴驱动,使得成像表面与CCD 40的光接收表面重合。这里,使用对比度检测方法的自动聚焦被采用。聚焦镜头15A由镜头驱动器64驱动,驱动器64包括步进电机(图中未示出)。曝光控制器58基于来自系统控制电路50的控制信号控制聚焦镜头15A的位置。系统控制电路50检测聚焦镜头15A的位置。When the release button 13 is half-pressed, the release half-press switch 13A is turned on. Autofocus is thereby performed, and the brightness of the subject is detected. The focusing lens 15A included in the photographing
当释放按钮13被完全按下时,释放全压下开关13B被开启,使得快门28开启指定时间间隔。快门28由曝光控制器58控制。从CCD 40读取一帧图像像素信号(one frame-worth ofimage-pixel signal),并在放大器42、A/D转换器44和信号处理器46中经过多种处理。然后,在记录电路62中压缩图像数据,且经过压缩的图像数据被储存在存储卡60中。When the release button 13 is fully pressed, the release full-press switch 13B is turned on, so that the shutter 28 is opened for a specified time interval. Shutter 28 is controlled by exposure controller 58 . A frame-worth of image-pixel signal (one frame-worth of image-pixel signal) is read from the CCD 40, and is processed in various ways in the amplifier 42, the A/D converter 44 and the signal processor 46. Then, the image data is compressed in the recording circuit 62 , and the compressed image data is stored in the memory card 60 .
当选择回放模式时,经过压缩的数据从存储卡60中被读取,并经过解压缩处理。经过解压缩的图像数据被提供给LCD驱动器47,且LCD驱动器47驱动LCD监视器30,使得所记录的物像显示在LCD监视器30上。当选择视频图像记录模式时,从CCD 40读取的数秒钟的系列图像像素信号经过图像处理,且视频图像数据被压缩并记录在存储卡60上。When the playback mode is selected, the compressed data is read from the memory card 60 and decompressed. The decompressed image data is supplied to the LCD driver 47 , and the LCD driver 47 drives the
图3为由系统控制电路50执行的自动聚焦方法的流程图。FIG. 3 is a flow chart of the autofocus method executed by the system control circuit 50 .
在步骤S101中,聚焦镜头15A被设至初始位置,然后被驱动,使成像表面沿着光轴E连续移动。成像表面沿着光轴的位置随着从相机到所拍摄物体之间的距离而变化。聚焦镜头15A的初始位置聚焦在接近相机10的物体上,且聚焦镜头15A被连续驱动,使得成像表面朝向距离相机一定距离的物体或无限远处的物体被聚焦的方向移动。通过改变焦距,移动成像表面的位置,物像清晰地或锐利地形成在成像表面上。成像表面沿着光轴E的移动量取决于包括在镜头驱动器64中的步进电机的旋转量。In step S101 , the focus lens 15A is set to an initial position, and then driven to move the imaging surface along the optical axis E continuously. The position of the imaging surface along the optical axis varies with the distance from the camera to the object being photographed. The initial position of the focusing lens 15A focuses on an object close to the
在步骤S102中,获得对比度数据。表示图像数据中的高频部分的该对比度数据以1/30或1/60秒间隔从一帧图像像素信号中连续地产生。通过计算亮度差异获得对比度信号,亮度差异是在一帧图像像素信号中最大亮度水平和最小亮度水平之间的差异。注意,为了进行低通滤波器处理,这里通过计算当前获得的对比度信号和前次(previously)获得的对比度信号的平均值而获得对比度信号。In step S102, contrast data is obtained. The contrast data representing the high-frequency portion in the image data is continuously generated from the image pixel signal of one frame at intervals of 1/30 or 1/60 second. The contrast signal is obtained by calculating a brightness difference, which is a difference between a maximum brightness level and a minimum brightness level in a frame of image pixel signals. Note that, for low-pass filter processing, here the contrast signal is obtained by calculating the average value of the currently obtained contrast signal and the previously obtained contrast signal.
在步骤S103中,计算对比度差异数据。对比度差异数据表示当前检测的对比度数据和RAM中存储的前次检测的对比度数据之间的差值。然后,在步骤S104中,确定前次检测的对比度数据是否是一系列所检测对比度数据中的峰值或最高数据。In step S103, contrast difference data is calculated. The contrast difference data represents the difference between the currently detected contrast data and the previously detected contrast data stored in the RAM. Then, in step S104, it is determined whether the previously detected contrast data is the peak value or the highest data in a series of detected contrast data.
图4为表示对比度数据和对比度差异数据的点图。Fig. 4 is a dot plot showing contrast data and contrast difference data.
在图4中,对比度数据“D0”至“D6”和对比度差异数据“T1”至“T6”沿着成像表面移动的方向绘制。随着成像表面移动,对比度数据逐渐增大。然后,当成像表面移动到聚焦位置附近的位置时,换句话说,移动到CCD 40的光接收表面位置时,对比度数据急剧增大。当成像表面越过聚焦位置时,对比度急剧减小。另一方面,随着对比度数据增大,对比度差异数据逐渐增大,且当成像表面靠近聚焦位置(CCD 40的光接收表面的位置)时,对比度差异数据急剧增大。然后,当成像表面越过聚焦位置时,对比度差异数据急剧减小。通常,当成像表面越过聚焦位置时,对比度差异数据变成接近于零的值或负值(在图4中,为负值)。在图3中所示的步骤S104中,确定当前或最后的对比度数据是否低于前次(previous)或最近的(latest)对比度数据,并确定所计算的对比度差异数据是否以超过指定值的值下降。这里,确定当前所计算的对比度数据和前次所计算的对比度数据之间的下降差异“ΔD”是否超过预定标准差异“T0”。In FIG. 4 , contrast data "D0" to "D6" and contrast difference data "T1" to "T6" are plotted along the direction in which the imaging surface moves. As the imaging surface moves, the contrast data gradually increases. Then, when the imaging surface moves to a position near the focus position, in other words, to the position of the light-receiving surface of the CCD 40, the contrast data sharply increases. Contrast decreases dramatically as the imaging surface moves beyond the focus position. On the other hand, as the contrast data increases, the contrast difference data gradually increases, and when the imaging surface approaches the focus position (the position of the light receiving surface of the CCD 40), the contrast difference data increases sharply. Then, the contrast difference data decreases sharply as the imaging surface moves beyond the focus position. Generally, the contrast difference data becomes a value close to zero or a negative value (in FIG. 4 , a negative value) when the imaging surface goes beyond the focus position. In step S104 shown in FIG. 3 , it is determined whether the current or last contrast data is lower than the previous (previous) or latest (latest) contrast data, and it is determined whether the calculated contrast difference data exceeds a specified value. decline. Here, it is determined whether the decreasing difference "ΔD" between the currently calculated contrast data and the previous calculated contrast data exceeds a predetermined standard difference " T0 ".
当确定当前对比度数据不低于前次对比度数据,或差异“ΔD”不超过预定标准差异“T0”时(即,当确定前次对比度数据不是峰值或最高数据时),过程回到步骤S102。另一方面,当确定前次对比度数据是峰值数据时,过程转向步骤S105。在图4中,对比度数据“D6”低于前次检测的对比度数据“D5”。在该情况中,当前计算的对比度差异数据“T6”和前次计算的对比度数据“T5”之间的差异“ΔD”超过标准差异“T0”。标准差异“T0”根据照相光学系统15的焦距进行定义。When it is determined that the current contrast data is not lower than the previous contrast data, or the difference "ΔD" does not exceed the predetermined standard difference "T0" (ie, when it is determined that the previous contrast data is not the peak or highest data), the process returns to step S102. On the other hand, when it is determined that the previous contrast data is peak data, the process goes to step S105. In FIG. 4, the contrast data "D6" is lower than the contrast data "D5" detected last time. In this case, the difference "ΔD" between the currently calculated contrast difference data "T6" and the previously calculated contrast data "T5" exceeds the standard difference "T0". The standard difference “ T0 ” is defined according to the focal length of the photographing
在步骤S105中,从一系列所检测的对比度数据计算二次逼近曲线“PM”,并从该曲线“PM”获得最大峰值对比度数据“DT”,其为曲线“PM”中的最大值。然后计算成像表面的位置“FP”(下文中,称为“聚焦位置”),其与最大对比度数据“DT”相对应。在步骤S106中,聚焦镜头15A被驱动,使成像表面返回到聚焦位置“FP”,其与CCD40的光接收表面重合。这样,可靠聚焦的图像显示在LCD监视器30上。In step S105, a quadratic approximation curve "PM" is calculated from a series of detected contrast data, and maximum peak contrast data "DT", which is the maximum value in the curve "PM", is obtained from the curve "PM". The position "FP" of the imaging surface (hereinafter, referred to as "focus position") is then calculated, which corresponds to the maximum contrast data "DT". In step S106 , the focus lens 15A is driven to return the imaging surface to the focus position "FP", which coincides with the light receiving surface of the CCD 40 . Thus, a reliably focused image is displayed on the
在步骤S107中,对比度数据是最近获取的。然后,在步骤S108中,确定物体是否维持在聚焦状态中。这里,确定最近获得的对比度数据和前次检测的对比度数据之间的差异是否处于预定的容许范围内。当差异处于该容许范围内时,确定最近获得的对比度数据与前次检测的对比度数据大致相同(即,维持聚焦情况);然后过程转向步骤S107。当聚焦情况维持时,重复执行步骤S107至S108。另一方面,当确定差异超出该容许范围时(即,物体焦点未对准时),该过程转向步骤S109。由于所拍摄物体的轮换或改变、物体运动或相机10的运动,聚焦情况可以变成散焦情况。In step S107, the contrast data is recently acquired. Then, in step S108, it is determined whether the object is maintained in the focused state. Here, it is determined whether the difference between the contrast data obtained most recently and the contrast data detected last time is within a predetermined allowable range. When the difference is within the allowable range, it is determined that the contrast data obtained most recently is approximately the same as the contrast data detected last time (ie, the focus condition is maintained); then the process goes to step S107. When the focus condition is maintained, steps S107 to S108 are repeatedly performed. On the other hand, when it is determined that the difference exceeds the allowable range (ie, when the object is out of focus), the process goes to step S109. An in-focus condition may become an out-of-focus condition due to rotation or change of the object being photographed, object motion or
在步骤S109中,确定所检测的对比度数据是否具有相对较低的值;即,是否物像具有较低的对比度,即,图像的变化范围较小。这里,确定一系列所检测对比度数据中的最大数据是否等于或低于指定值。当确定对比度数据不是低对比度数据时,该过程转向步骤S110,其中聚焦镜头15A被驱动到初始位置。然后,执行步骤S102-S106以聚焦物体。另一方面,当确定对比度数据是低对比度数据时,该过程转向步骤S111。In step S109, it is determined whether the detected contrast data has a relatively low value; that is, whether the object image has a low contrast, that is, the range of variation of the image is small. Here, it is determined whether the maximum data among a series of detected contrast data is equal to or lower than a specified value. When it is determined that the contrast data is not low-contrast data, the process goes to step S110, where the focus lens 15A is driven to the initial position. Then, perform steps S102-S106 to focus on the object. On the other hand, when it is determined that the contrast data is low-contrast data, the process goes to step S111.
在步骤S111中,聚焦镜头15A被向前向后驱动,使得成像表面朝向靠近相机的物体被聚焦的方向(下文中,称为“向前方向”)移动,然后进一步朝向远离相机的物体被聚焦的方向(下文中,称为“向后方向”)移动。成像表面被向前移动到指定位置,并被向后移动到指定位置。这两个位置(下文中,分别称为“向前位置”和“向后位置”)均从在步骤S106中确定的位置分离开共同的间距。在驱动聚焦镜头15A时,在向前位置处检测对比度数据(下文中,称为“向前对比度数据”),并在向后位置处检测对比度数据(下文中,称为“向后对比度数据”)。在步骤S112中,基于向前和向后对比度数据和在步骤S107中获得的对比度数据(下文中,称为“标准对比度数据”),确定聚焦情况是否大致维持在低对比度情况。在移动成像表面之前的位置处检测标准对比度数据。In step S111, the focusing lens 15A is driven forward and backward so that the imaging surface moves toward a direction in which an object close to the camera is focused (hereinafter, referred to as “forward direction”), and then further toward an object far from the camera is focused. direction (hereinafter referred to as "backward direction"). The imaging surface is moved forward to the specified position and moved backward to the specified position. These two positions (hereinafter, respectively referred to as "forward position" and "rearward position") are separated from the position determined in step S106 by a common interval. When the focus lens 15A is driven, contrast data is detected at a forward position (hereinafter, referred to as “forward contrast data”), and contrast data is detected at a backward position (hereinafter, referred to as “backward contrast data”). ). In step S112, based on the forward and backward contrast data and the contrast data obtained in step S107 (hereinafter, referred to as "standard contrast data"), it is determined whether the focus condition is maintained substantially in the low contrast condition. Standard contrast data is detected at a position prior to moving the imaging surface.
图5A是表示三个相邻对比度数据的视图。对比度数据P1表示在移动聚焦镜头15A以前获得的标准对比度数据,而对比度数据P2和P3分别表示向前对比度数据和向后对比度数据。向前和向后对比度数据P2和P3低于际准对比度数据P1,且标准对比度数据P1和向前和向后对比度数据P2和P3之间的差异较小。在该情况中,大致维持聚焦情况。在步骤S112中,确定向前和向后对比度数据是否小于标准对比度数据,和标准对比度数据的下降速率是否等于或小于2%。当确定大致维持聚焦情况时,该过程回到步骤S107。Fig. 5A is a view showing three adjacent contrast data. Contrast data P1 represents standard contrast data obtained before moving the focus lens 15A, and contrast data P2 and P3 represent forward contrast data and backward contrast data, respectively. The forward and backward contrast data P2 and P3 are lower than the standard contrast data P1, and the difference between the standard contrast data P1 and the forward and backward contrast data P2 and P3 is small. In this case, the in-focus condition is substantially maintained. In step S112, it is determined whether the forward and backward contrast data are smaller than the standard contrast data, and whether the rate of decline of the standard contrast data is equal to or less than 2%. When it is determined that the focus condition is substantially maintained, the process returns to step S107.
另一方面,当确定不维持聚焦情况时,该过程转向步骤S113。在步骤S113中,成像表面的移动方向基于标准对比度数据和向前和向后对比度数据而被确定。移动方向是接近照相光学系统15的向前方向、或远离照相光学系统15的向后方向,并对比度数据增加的方向被确定为移动方向。然后,根据所确定的移动方向驱动聚焦镜头15A。On the other hand, when it is determined that the in-focus condition is not maintained, the process goes to step S113. In step S113, the moving direction of the imaging surface is determined based on the standard contrast data and the forward and backward contrast data. The moving direction is a forward direction approaching the photographing
图5B是表示另外三个相邻对比度数据的视图。对比度数据P1′表示标准对比度数据,而对比度数据P2′和P3′分别表示向后对比度数据和向前对比度数据。如图5B中所示,向前对比度数据P2′低于标准对比度数据P1′,而向后对比度数据P3′高于标准对比度数据P1′。在该情况中,由于成像表面相对于CCD40的光接收表面处于向前位置,因此成像表面向远离照相光轴系统15的向后方向移动。在步骤S113中,聚焦镜头15A被驱动,使成像表面与CCD 40的光接收表面重合。在执行了步骤S113后,该过程返回到步骤S102。Fig. 5B is a view showing other three adjacent contrast data. Contrast data P1' represents standard contrast data, and contrast data P2' and P3' represent backward contrast data and forward contrast data, respectively. As shown in FIG. 5B, the forward contrast data P2' is lower than the standard contrast data P1', and the backward contrast data P3' is higher than the standard contrast data P1'. In this case, since the imaging surface is in a forward position with respect to the light receiving surface of the CCD 40 , the imaging surface moves in a rearward direction away from the photographing
以这种方式,在该实施例中,聚焦镜头15被驱动,使CCD 40的成像表面从初始位置连续移动,并计算对比度差异数据。然后,基于对比度数据的下降和对比度差异数据的下降量确定物体是否处于聚焦状态。当确定物体已经处于聚焦状态时,通过逼近法(approximation)计算聚焦位置,且聚焦镜头15A被驱动,使成像位置位于所计算的聚焦位置上;即,CCD 40的光接收表面位置上。由于通过在成像表面越过聚焦位置后获得的最新的对比度数据检测到聚焦情况,因此可快速地进行自动聚焦。In this way, in this embodiment, the focusing
此外,当物像的对比度较低时,通过三个彼此相邻的对比度数据确定成像表面的移动方向。这样,即使当物像的对比度较低时,也能快速地进行自动聚焦。In addition, when the contrast of the object image is low, the moving direction of the imaging surface is determined by three contrast data adjacent to each other. This enables fast autofocus even when the object image has low contrast.
当物像的对比度较低时,在对比度数据连续地减小之后,可以确定聚焦情况。对比度数据可以通过不同于亮度差异数据的其它数据进行检测。When the contrast of the object image is low, the focus can be determined after the contrast data is continuously reduced. Contrast data can be detected by other data than luminance difference data.
可选地,可以通过对比度差异数据的下降量确定成像表面是否越过聚焦位置。可选地,即使当物像的对比度不低时,也可以确定成像表面的移动方向。成像表面可以首先移动到向后位置,然后移动到向前位置。Alternatively, whether or not the imaging surface has crossed the focus position can be determined by the amount of drop of the contrast difference data. Alternatively, the direction of movement of the imaging surface can be determined even when the contrast of the object image is not low. The imaging surface can be moved first to a rearward position and then to a forward position.
最后,本领域技术人员可以理解上述说明是该装置优选实施例的说明,且可以对本发明做出多种变化和修改,而不偏离本发明的精神和范围。Finally, those skilled in the art can understand that the above description is a description of a preferred embodiment of the device, and that various changes and modifications can be made to the present invention without departing from the spirit and scope of the present invention.
Claims (8)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR20050277149 | 2005-09-26 | ||
| KR2005277149 | 2005-09-26 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN1940699A true CN1940699A (en) | 2007-04-04 |
Family
ID=37959001
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN200610154268.6A Pending CN1940699A (en) | 2005-09-26 | 2006-09-19 | Camera having automatic lens system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1940699A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102331614A (en) * | 2010-07-07 | 2012-01-25 | 思考电机(上海)有限公司 | Lens drive device, automatic focus camera and mobile terminal device |
| CN101753833B (en) * | 2008-12-17 | 2012-07-04 | 比亚迪股份有限公司 | Camera module focusing detection method, device and system and detection equipment |
| CN105629628A (en) * | 2014-10-30 | 2016-06-01 | 展讯通信(上海)有限公司 | Automatic focusing method and device |
| CN105959533A (en) * | 2016-04-27 | 2016-09-21 | 维沃移动通信有限公司 | Focusing method and mobile terminal |
| CN109781630A (en) * | 2013-01-04 | 2019-05-21 | 梅索磅秤技术有限公司 | Assay device, method and reagent |
-
2006
- 2006-09-19 CN CN200610154268.6A patent/CN1940699A/en active Pending
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101753833B (en) * | 2008-12-17 | 2012-07-04 | 比亚迪股份有限公司 | Camera module focusing detection method, device and system and detection equipment |
| CN102331614A (en) * | 2010-07-07 | 2012-01-25 | 思考电机(上海)有限公司 | Lens drive device, automatic focus camera and mobile terminal device |
| CN109781630A (en) * | 2013-01-04 | 2019-05-21 | 梅索磅秤技术有限公司 | Assay device, method and reagent |
| US11982871B2 (en) | 2013-01-04 | 2024-05-14 | Meso Scale Technologies, Llc. | Assay apparatuses, methods and reagents |
| US12216331B2 (en) | 2013-01-04 | 2025-02-04 | Meso Scale Technologies, Llc. | Assay apparatuses, methods and reagents |
| CN105629628A (en) * | 2014-10-30 | 2016-06-01 | 展讯通信(上海)有限公司 | Automatic focusing method and device |
| CN105629628B (en) * | 2014-10-30 | 2018-06-22 | 展讯通信(上海)有限公司 | Atomatic focusing method and device |
| CN105959533A (en) * | 2016-04-27 | 2016-09-21 | 维沃移动通信有限公司 | Focusing method and mobile terminal |
| CN105959533B (en) * | 2016-04-27 | 2018-11-30 | 维沃移动通信有限公司 | A kind of focusing method and mobile terminal |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN1940700A (en) | Camera with autofocus system | |
| US7831138B2 (en) | Focus adjusting method and focus adjusting device | |
| JP3992992B2 (en) | Subject image acquisition device | |
| JP5088118B2 (en) | Focus adjustment device | |
| JP2006258944A (en) | Autofocus system | |
| US20030048372A1 (en) | Image sensing apparatus, focus adjustment method, and focus adjustment computer control program | |
| US20070071434A1 (en) | Camera with autofocus system | |
| US20110149141A1 (en) | Image pickup apparatus that makes movement of focus lens inconspicuous, and control method for the image pickup apparatus | |
| CN101945221B (en) | Camera device and control method thereof | |
| US7616252B2 (en) | Control apparatus, control method, computer program, and camera | |
| JP2010139666A (en) | Imaging device | |
| JP2007108412A (en) | Autofocus device and program thereof | |
| CN1940699A (en) | Camera having automatic lens system | |
| JP2005189634A (en) | Camera focus detection device | |
| JP4991899B2 (en) | Imaging apparatus and control method thereof | |
| CN1470932A (en) | Optical apparatus | |
| JPH0662301A (en) | Video camera | |
| US7710493B2 (en) | Image-pickup apparatus and focus control method | |
| JP4118079B2 (en) | Camera autofocus device | |
| JPH06339061A (en) | Video camera | |
| KR101618760B1 (en) | Photographing apparatus and method of processing image in photographing apparatus | |
| JP2006243609A (en) | Autofocus device | |
| JP2005250127A (en) | Autofocus system | |
| JP2004309644A (en) | Focusing device | |
| JP2006091293A (en) | Photographing device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| ASS | Succession or assignment of patent right |
Owner name: HOYA CO., LTD. Free format text: FORMER OWNER: PENTAX CO., LTD. Effective date: 20080919 |
|
| C41 | Transfer of patent application or patent right or utility model | ||
| TA01 | Transfer of patent application right |
Effective date of registration: 20080919 Address after: Japan Tokyo Shinjuku fall two chome 7 No. 5 Applicant after: HOYA Corporation Address before: Tokyo, Japan, Banqiao District, the former wild Ting, 2 Ding mu, 36 times, No. 9 Applicant before: Pentax Co., Ltd. |
|
| C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Open date: 20070404 |