CN1731269A - camera device - Google Patents

camera device Download PDF

Info

Publication number
CN1731269A
CN1731269A CNA200510091705XA CN200510091705A CN1731269A CN 1731269 A CN1731269 A CN 1731269A CN A200510091705X A CNA200510091705X A CN A200510091705XA CN 200510091705 A CN200510091705 A CN 200510091705A CN 1731269 A CN1731269 A CN 1731269A
Authority
CN
China
Prior art keywords
color information
information
image
area
reference color
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.)
Granted
Application number
CNA200510091705XA
Other languages
Chinese (zh)
Other versions
CN1731269B (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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Publication of CN1731269A publication Critical patent/CN1731269A/en
Application granted granted Critical
Publication of CN1731269B publication Critical patent/CN1731269B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/633Control of cameras or camera modules by using electronic viewfinders for displaying additional information relating to control or operation of the camera
    • H04N23/635Region indicators; Field of view indicators
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals
    • H04N23/673Focus control based on electronic image sensor signals based on contrast or high frequency components of image signals, e.g. hill climbing method
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • H04N23/84Camera processing pipelines; Components thereof for processing colour signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Studio Devices (AREA)
  • Automatic Focus Adjustment (AREA)

Abstract

Provided is a high-functionality imaging apparatus capable of performing focus adjustment on an object which can be arbitrarily set. The imaging apparatus outputs an electric image signal of the object and comprises; an imaging optical system that includes a focusing lens group for performing focus adjustment and forms an optical image of the object; an imaging device that captures the optical image of the object and converts the optical image into an electric image signal; an image dividing part that divides the image signal into a plurality of areas; a color characteristic calculation part that calculates a color characteristic from the image signal for each of the areas; a preset color characteristic setting part that previously sets a preset color characteristic; an area selection part that selects at least one of the areas based on a result of a comparison between the preset color characteristic and each color characteristic calculated by the color characteristic calculation part; a focus information calculation part that calculates focus information of the imaging optical system for the selected area; and a lens driving part that drives the focusing lens group in a direction of an optical axis based on the focus information.

Description

摄像装置camera device

                          技术领域Technical field

本发明涉及数字式静物相机和数字式视频摄像机等摄像装置,具体来说,涉及具备自动聚焦功能的数字式静物相机和数字式视频摄像机等摄像装置。The present invention relates to imaging devices such as digital still cameras and digital video cameras, and more specifically, to imaging devices such as digital still cameras and digital video cameras with autofocus functions.

                        背景技术 Background technique

当前,具备CCD、CMOS等摄像元件的数字式静物相机、数字式视频摄像机等摄像装置迅速普及。这些摄像装置其主流通常是根据摄取对象的图像信号检测对焦状态,根据检测结果使摄影光学系统中所包含的聚焦透镜组在光轴方向上移动,由此进行自动聚焦控制。Currently, imaging devices such as digital still cameras and digital video cameras equipped with imaging elements such as CCD and CMOS are rapidly spreading. The mainstream of these imaging devices is usually to detect the focus state based on the image signal of the captured object, and to move the focusing lens group included in the photographing optical system in the direction of the optical axis according to the detection result, thereby performing autofocus control.

随着摄像装置的多功能化,对自动聚焦控制也越来越要求高性能。例如日本特开2004-37733号公报1提出的是将摄取对象的图像信号分割为多个AF区域,对各自的肤色像素数进行计数,来指定进行聚焦调整的AF区域的摄像装置用的自动聚焦装置。As imaging devices become more multifunctional, high performance is required for autofocus control. For example, Japanese Patent Application Laid-Open No. 2004-37733 1 proposes an automatic focus for an imaging device that divides an image signal of an object to be captured into a plurality of AF areas, counts the number of pixels of skin color, and designates an AF area for focus adjustment. device.

特开2004-37733号公报1记载的自动聚焦装置将人物设定为主摄取对象。具体来说,特开2004-37733号公报记载的自动聚焦装置形成为通过根据肤色像素进行聚焦控制,使聚焦区跟随人物,可始终对人物进行确实的对焦。In the autofocus device described in JP-A-2004-37733 1, a person is set as the main subject of photography. Specifically, the autofocus device described in Japanese Unexamined Patent Application Publication No. 2004-37733 is configured to make the focus area follow the person by performing focus control based on the skin color pixels, so that the person can always be accurately focused.

特开2004-37733号公报记载的自动聚焦装置,由于仅将人物设定为主摄取对象,因此存在对于其他摄取对象无法进行聚焦跟随这种问题。数字式静物相机和数字式视频摄像机等不只是以人物为主摄取对象,因此特开2004-37733号公报记载的自动聚焦装置便无法满足用户的要求。In the autofocus device described in Japanese Patent Laid-Open No. 2004-37733, since only a person is set as the main subject, there is a problem that focus tracking cannot be performed on other subjects. Digital still cameras and digital video cameras do not only take people as the main subject, so the autofocus device described in JP-A-2004-37733 cannot meet the requirements of users.

因此,本发明其目的在于,提供能够对可任意设定的摄取对象进行聚焦调整的高性能摄像装置。Therefore, an object of the present invention is to provide a high-performance imaging device capable of performing focus adjustment on an arbitrarily settable subject.

                              发明内容Contents of Invention

上述发明目的可利用下述摄像装置实现。本发明的摄像装置,输出摄取对象的电图像信号,其特征在于,包括:包含调节焦点用的聚焦透镜组,形成摄取对象的光学像用的摄像光学系统;摄取该摄取对象的光学像,变换为电图像信号的摄像元件;将图像信号分割为多个区域的图像分割部;对每一区域根据图像信号分别计算出色信息的色信息计算部;预先设定参考色信息的参考色信息设定部;根据参考色信息和色信息计算部所计算出的各色信息两者的比较结果,选择各区域其中至少一个的区域选择部;对所选定的区域计算出摄像光学系统的对焦信息的对焦信息计算部;以及根据对焦信息在光轴方向上驱动聚焦透镜组的透镜驱动部,色信息和参考色信息均由涉及色调的信息和涉及色度的信息其中至少一种信息组成。The object of the above invention can be achieved by the following imaging device. The imaging device of the present invention outputs an electrical image signal of an object to be captured, and is characterized in that it comprises: a focusing lens group for adjusting the focus, and an imaging optical system for forming an optical image of the object to be captured; the optical image of the object to be captured is captured, converted An image pickup element that is an electrical image signal; an image division unit that divides an image signal into a plurality of areas; a color information calculation unit that calculates color information for each area based on an image signal; a reference color information setting that presets reference color information part; according to the comparison result of the reference color information and the color information calculated by the color information calculation part, select at least one area selection part of each area; calculate the focus of the focus information of the imaging optical system for the selected area an information calculation unit; and a lens driving unit that drives the focusing lens group in the direction of the optical axis according to the focus information, and the color information and the reference color information are composed of at least one of information related to hue and information related to chromaticity.

最好是,参考色信息是色信息计算部根据预先摄取的图像信号,对图像分割部所分割的所需区域计算出的色信息。作为一例,包括显示基于图像信号的图像的显示部,还包括对所选定的区域,根据参考色信息,对显示部应显示的图像信号的颜色进行修正的指定区域色修正处理部。Preferably, the reference color information is color information calculated by the color information calculating unit for the desired region divided by the image dividing unit based on the image signal captured in advance. As an example, it includes a display unit that displays an image based on the image signal, and a designated area color correction processing unit that corrects the color of the image signal to be displayed on the display unit based on the reference color information for the selected area.

最好是,包括图像处理部,该图像处理部包含根据参考色信息修正摄像元件输出的图像信号的修正部,对焦信息计算部根据所修正的图像信号计算出对焦信息。作为一例,修正部对摄像元件输出的图像信号进行与用于显示用途或存储用途的图像信号不同的修正。Preferably, an image processing unit including a correction unit for correcting an image signal output from the imaging element based on reference color information is included, and the focus information calculation unit calculates focus information based on the corrected image signal. As an example, the correcting unit performs different correction on the image signal output from the imaging element than the image signal used for display or storage.

最好是,色信息计算部就每一区域根据图像信号分别计算出亮度,同时还包括:判断计算出的亮度是否大于规定值的亮度判定部;以及禁止区域选择部选择亮度判定部所计算出的亮度大于规定值的区域的选择禁止部。Preferably, the color information calculation section calculates the luminance for each area according to the image signal, and also includes: a luminance determination section for judging whether the calculated luminance is greater than a predetermined value; The selection prohibited section of the area whose luminance is greater than the specified value.

最好是,还包括透镜驱动部驱动聚焦透镜组时对摄取对象投射辅助光的辅助光源,色信息计算部根据辅助光的颜色修正计算出的色信息。Preferably, it further includes an auxiliary light source for projecting auxiliary light on the subject when the lens drive unit drives the focusing lens group, and the color information calculation unit corrects the calculated color information based on the color of the auxiliary light.

最好是,还包括存储多个参考色信息的信息存储部。理想的是,还包括显示信息存储部存储的多个参考色信息的显示部。Preferably, an information storage unit storing a plurality of reference color information is further included. Preferably, a display unit for displaying the plurality of reference color information stored in the information storage unit is further included.

最好是,还包括存储多个参考色信息和用于显示与该参考色信息相关的图像的图像信号两者的信息存储部。理想的是,还包括显示基于信息存储部所存储的图像信号的图像和多个参考色信息其中至少一个的显示部。Preferably, it further includes an information storage unit storing a plurality of pieces of reference color information and an image signal for displaying an image related to the reference color information. Preferably, it further includes a display unit for displaying at least one of the image based on the image signal stored in the information storage unit and the plurality of reference color information.

最好是,摄像装置可分离为摄像装置主体和摄像光学部,摄像光学部包含摄像光学系统,摄像装置主体包含摄像元件、图像分割部、色信息计算部、参考色信息设定部、区域选择部、对焦信息计算部、以及透镜驱动部。Preferably, the imaging device can be separated into an imaging device main body and an imaging optical part, the imaging optical part includes an imaging optical system, and the imaging device main body includes an imaging element, an image segmentation part, a color information calculation part, a reference color information setting part, an area selection part, focus information calculation part, and lens driving part.

最好是,摄像装置可分离为摄像装置主体和摄像光学部,摄像光学部包含摄像光学系统和透镜驱动部,摄像装置主体包含摄像元件、图像分割部、色信息计算部、参考色信息设定部、区域选择部、以及对焦信息计算部。Preferably, the imaging device can be separated into an imaging device main body and an imaging optical part, the imaging optical part includes an imaging optical system and a lens driving part, the imaging device main body includes an imaging element, an image segmentation part, a color information calculation part, a reference color information setting part, an area selection part, and a focus information calculation part.

上述目的可利用下述半导体集成电路实现。本发明用于上述摄像装置的半导体集成电路,至少使图像分割部、色信息计算部、参考色信息设定部、区域选择部、以及对焦信息计算部工作。The above object can be achieved by the following semiconductor integrated circuit. The semiconductor integrated circuit used in the imaging device of the present invention operates at least an image division unit, a color information calculation unit, a reference color information setting unit, an area selection unit, and a focus information calculation unit.

采用本发明,能够提供对可任意设定的摄取对象进行聚焦调整的高性能摄像装置。According to the present invention, it is possible to provide a high-performance imaging device capable of performing focus adjustment on an arbitrarily settable subject to be captured.

本发明的上述和其他目的、特征、方式、效果从下面对照附图进行的详细说明中会有进一步了解。The above and other objects, features, methods and effects of the present invention will be further understood from the following detailed description with reference to the accompanying drawings.

                     附图说明Description of drawings

图1是本发明实施方式1中摄像装置的方框图。FIG. 1 is a block diagram of an imaging device in Embodiment 1 of the present invention.

图2是本发明实施方式1中摄像装置主体背面的概略图。Fig. 2 is a schematic view of the rear surface of the main body of the imaging device according to Embodiment 1 of the present invention.

图3是本发明实施方式1中摄取对象的参考色信息设定的工作流程图。Fig. 3 is a flowchart of the setting of reference color information of an ingestion object in Embodiment 1 of the present invention.

图4是本发明实施方式1中在中央部位映出摄取对象的显示部的概览图。Fig. 4 is a schematic diagram of a display unit in which an object to be captured is reflected in the center according to Embodiment 1 of the present invention.

图5是本发明实施方式1中在中央部位映出摄取对象和区域框的显示部的概览图。5 is a schematic diagram of a display unit in which an object to be captured and an area frame are reflected in the center in Embodiment 1 of the present invention.

图6是本发明实施方式1中色调和色度信息的运算公式。FIG. 6 is an operation formula of hue and chroma information in Embodiment 1 of the present invention.

图7是本发明实施方式1中色调和色度信息的制图。Fig. 7 is a graph of hue and chroma information in Embodiment 1 of the present invention.

图8是表示本发明实施方式1中参考色信息和参考附近区域1的色调和色度信息的制图。FIG. 8 is a diagram showing reference color information and hue and chroma information of a reference nearby area 1 in Embodiment 1 of the present invention.

图9是表示本发明实施方式1中参考色信息和参考附近区域2的色调和色度信息的制图。FIG. 9 is a graph showing reference color information and hue and chroma information of a reference neighborhood area 2 in Embodiment 1 of the present invention.

图10是表示本发明实施方式1中聚焦跟随摄像处理的工作流程图。FIG. 10 is a flowchart showing the operation of focus-following imaging processing in Embodiment 1 of the present invention.

图11是本发明实施方式1中映出摄取对象和区域框的显示部的概览图。Fig. 11 is a schematic diagram of a display unit showing an object to be captured and an area frame in Embodiment 1 of the present invention.

图12是本发明实施方式1中映出2个摄取对象和区域框的显示部的概览图。Fig. 12 is a schematic diagram of a display unit showing two captured objects and an area frame in Embodiment 1 of the present invention.

图13是本发明实施方式2中摄像装置的方框图。Fig. 13 is a block diagram of an imaging device in Embodiment 2 of the present invention.

图14是本发明实施方式2中图像处理部的详细方框图。14 is a detailed block diagram of an image processing unit in Embodiment 2 of the present invention.

图15是本发明实施方式2中聚焦跟随摄像处理的工作流程图。FIG. 15 is a flow chart of the operation of focus-following imaging processing in Embodiment 2 of the present invention.

图16是本发明实施方式2中映出摄取对象和区域框的显示部的概览图。Fig. 16 is a schematic diagram of a display unit showing an object to be captured and an area frame in Embodiment 2 of the present invention.

图17是本发明实施方式2中增益修正前的聚焦位置和对比度值的特性图。17 is a characteristic diagram of a focus position and a contrast value before gain correction in Embodiment 2 of the present invention.

图18是本发明实施方式2中增益修正后的聚焦位置和对比度值的特性图。18 is a characteristic diagram of a focus position and a contrast value after gain correction in Embodiment 2 of the present invention.

图19是本发明实施方式3中摄像装置的方框图。Fig. 19 is a block diagram of an imaging device in Embodiment 3 of the present invention.

图20是表示本发明实施方式3中聚焦跟随摄像处理的工作流程图。FIG. 20 is a flow chart showing the operation of focus-following imaging processing in Embodiment 3 of the present invention.

图21是本发明实施方式4中摄像装置的方框图。Fig. 21 is a block diagram of an imaging device according to Embodiment 4 of the present invention.

图22是本发明实施方式4中图像处理部的详细方框图。Fig. 22 is a detailed block diagram of an image processing unit in Embodiment 4 of the present invention.

图23是本发明实施方式4中摄取对象的参考色信息设定的工作流程图。Fig. 23 is a workflow flowchart of setting the reference color information of the captured object in Embodiment 4 of the present invention.

图24是本发明实施方式4中映出摄取对象和区域框的显示部的概览图。Fig. 24 is a schematic diagram of a display unit showing an object to be captured and an area frame in Embodiment 4 of the present invention.

图25是本发明实施方式5中摄像装置的方框图。Fig. 25 is a block diagram of an imaging device according to Embodiment 5 of the present invention.

图26是本发明实施方式5中图像处理部的详细方框图。Fig. 26 is a detailed block diagram of an image processing unit in Embodiment 5 of the present invention.

图27是本发明实施方式5中摄取对象的参考色信息设定的工作流程图。Fig. 27 is a workflow flowchart of setting the reference color information of the captured object in Embodiment 5 of the present invention.

图28是本发明实施方式5中映出摄取对象、区域框、以及参考图像(1)的显示部的概览图。Fig. 28 is a schematic diagram of a display unit showing an object to be captured, an area frame, and a reference image (1) in Embodiment 5 of the present invention.

图29示出的是参考信息设定部(48)所存储的一例数据表。Fig. 29 shows an example of a data table stored in the reference information setting unit (48).

图30是本发明实施方式5中映出摄取对象、区域框、以及参考图像(1和2)的显示部的概览图。Fig. 30 is a schematic diagram of a display unit showing an object to be captured, an area frame, and reference images (1 and 2) in Embodiment 5 of the present invention.

图31是本发明实施方式5中聚焦跟随摄像处理的工作流程图。Fig. 31 is a flow chart of the operation of focus-following imaging processing in Embodiment 5 of the present invention.

图32是本发明实施方式5中映出摄取对象、区域框、以及参考摄取对象(1~3)的显示部的概览图。Fig. 32 is a schematic diagram of a display unit showing an imaging object, an area frame, and reference imaging objects (1 to 3) in Embodiment 5 of the present invention.

                    具体实施方式 Detailed ways

(实施方式1)(Embodiment 1)

图1是本发明实施方式1中摄像装置的方框图。实施方式1的摄像装置包含透镜镜筒11、作为摄像光学系统的变焦透镜系统12、作为摄像元件的CCD14、图像处理部15、图像存储器16、显示部17、操作部19、辅助光源20、透镜驱动部21、以及系统控制器30。FIG. 1 is a block diagram of an imaging device in Embodiment 1 of the present invention. The imaging device of Embodiment 1 includes a lens barrel 11, a zoom lens system 12 as an imaging optical system, a CCD 14 as an imaging element, an image processing unit 15, an image memory 16, a display unit 17, an operation unit 19, an auxiliary light source 20, a lens drive unit 21 and system controller 30 .

透镜镜筒11内部保持变焦透镜系统12。变焦透镜系统12是能够改变摄取对象的光学像的放大倍率的摄像光学系统。变焦透镜系统12从摄取对象起依次由改变倍率时沿着光轴移动的变焦透镜组12a及变焦透镜组12b、以及为了调节对焦状态沿着光轴移动的聚焦透镜组13所组成。A zoom lens system 12 is held inside the lens barrel 11 . The zoom lens system 12 is an imaging optical system capable of changing the magnification of an optical image of an object to be captured. The zoom lens system 12 is composed of a zoom lens group 12a and a zoom lens group 12b that move along the optical axis when changing the magnification, and a focus lens group 13 that moves along the optical axis to adjust the focus state in order from the subject.

CCD14是以规定的定时对变焦透镜系统12所形成的光学像进行摄像,并变换为电图像信号输出的摄像元件。图像处理部15是对CCD14所输出的图像信号施加白平衡修正、γ修正等规定图像处理的处理部。图像存储器16对图像处理部15所输出的图像信号进行一次性存储。The CCD 14 is an imaging element that captures an optical image formed by the zoom lens system 12 at a predetermined timing, converts it into an electrical image signal, and outputs it. The image processing unit 15 is a processing unit that applies predetermined image processing such as white balance correction and γ correction to the image signal output from the CCD 14 . The image memory 16 temporarily stores the image signal output from the image processing unit 15 .

显示部17典型的是液晶显示器,根据下面述及的系统控制器30输出的指令,通过图像处理部15输入CCD14所输出的图像信号或图像存储器16所存储的图像信号,将该图像信号作为可视图像向用户显示。而图像处理部15能够与可由用户装卸的存储卡18进行双向存取。存储卡18根据下面述及的系统控制器30输出的指令,通过图像处理部15输入存储CCD14所输出的图像信号或图像存储器16所存储的图像信号,或通过图像处理部15将所存储的图像信号输出给图像存储器16暂时存储。The display unit 17 is typically a liquid crystal display, and according to the instructions output by the system controller 30 mentioned below, the image signal output by the CCD 14 or the image signal stored in the image memory 16 is input through the image processing unit 15, and the image signal can be used as an image signal. The view is displayed to the user. On the other hand, the image processing unit 15 can perform bidirectional access to the memory card 18 which can be attached and detached by the user. The memory card 18 inputs and stores the image signal output by the CCD 14 or the image signal stored in the image memory 16 through the image processing part 15 according to the instruction output by the system controller 30 mentioned below, or the stored image is stored by the image processing part 15. The signal is output to the image memory 16 for temporary storage.

操作部19设置于摄像装置主体的外侧,是用户对摄像装置主体进行设定或操作用的按钮之类。另外,操作部19包含多个操作按钮,但详细情况将在后面用图2进行说明。辅助光源20典型的是LED,是在摄像环境光线不足的情况下根据下面述及的系统控制器30的指令照亮摄取对象一侧的发光元件。The operation unit 19 is provided outside the main body of the imaging device, and is a button or the like for the user to set or operate the main body of the imaging device. In addition, the operation unit 19 includes a plurality of operation buttons, but the details will be described later with reference to FIG. 2 . The auxiliary light source 20 is typically an LED, and is a light-emitting element that illuminates the side of the subject to be photographed in accordance with an instruction from the system controller 30 described below when the light in the imaging environment is insufficient.

透镜驱动部21根据下面述及的系统控制器30的透镜位置控制部33的指令,输出在光轴方向(A方向或B方向)上驱动聚焦透镜组13的驱动信号。The lens drive unit 21 outputs a drive signal for driving the focus lens group 13 in the optical axis direction (A direction or B direction) according to an instruction from a lens position control unit 33 of the system controller 30 described below.

系统控制器30由半导体集成电路实现,包含图像分割部31、对焦状态计算部32、透镜位置控制部33、色信息计算部34、参考色信息设定部35、以及区域选择部36。图像分割部31进行将图像存储器16输出的图像信号分割为多个区域的处理。对焦信息计算部32根据各区域的对比度信息和聚焦透镜组13的位置信息,由经过图像分割部31分割为多个区域的图像信号计算散焦量。The system controller 30 is implemented by a semiconductor integrated circuit and includes an image segmentation unit 31 , a focus state calculation unit 32 , a lens position control unit 33 , a color information calculation unit 34 , a reference color information setting unit 35 , and an area selection unit 36 . The image dividing unit 31 performs a process of dividing the image signal output from the image memory 16 into a plurality of regions. The focus information calculation unit 32 calculates a defocus amount from the image signal divided into a plurality of areas by the image division unit 31 based on the contrast information of each area and the position information of the focus lens group 13 .

透镜位置控制部33根据对焦信息计算部32所输出的散焦量,生成控制聚焦透镜13位置用的控制信号,输出给透镜驱动部21。而透镜位置控制部33将利用透镜驱动部21驱动聚焦透镜13时的位置信息输出给对焦状态计算部32。这时,对焦状态计算部32可根据聚焦透镜13的位置信息和对比度信息计算出散焦量。The lens position control unit 33 generates a control signal for controlling the position of the focus lens 13 based on the defocus amount output by the focus information calculation unit 32 , and outputs it to the lens drive unit 21 . On the other hand, the lens position control unit 33 outputs position information when the focus lens 13 is driven by the lens driving unit 21 to the in-focus state calculation unit 32 . At this time, the focus state calculation unit 32 can calculate the defocus amount based on the position information and contrast information of the focus lens 13 .

色信息计算部34根据由图像分割部31分割为多个区域的图像信号计算出各区域的色信息。参考色信息设定部35计算从色信息计算部34所输出的各区域的色信息当中用户所选定区域的色信息加以存储,进行参考色信息设定处理。另外,色信息计算部34包含非易失性存储器,即使是切断摄像装置主体电源的情况下也能够保存暂时存储的参考色信息。The color information calculating unit 34 calculates color information for each area from the image signal divided into a plurality of areas by the image dividing unit 31 . The reference color information setting unit 35 calculates and stores color information of an area selected by the user among the color information of each area output from the color information calculating unit 34 , and performs reference color information setting processing. In addition, the color information calculation unit 34 includes a nonvolatile memory, and can store temporarily stored reference color information even when the main body power of the imaging device is turned off.

区域选择部36通过将色信息计算部34所输出的各区域的色信息和参考色信息设定部35所输出的色信息两者进行比较,选择大体一致的区域,将所选定区域的位置输出给对焦信息计算部32,来进行聚焦跟随摄像处理。也就是说,参考色信息设定部35进行聚焦跟随摄像处理的情况下读出所存储的色信息,输出给区域选择部36。The area selection unit 36 compares the color information of each area output by the color information calculation unit 34 with the color information output by the reference color information setting unit 35, selects a substantially identical area, and assigns the position of the selected area to The output is sent to the focus information calculation unit 32 to perform focus follow imaging processing. That is, when the reference color information setting unit 35 performs focus-follow imaging processing, it reads out the stored color information and outputs it to the area selection unit 36 .

图2是本发明实施方式1中摄像装置主体背面的概略图。实施方式1的摄像装置包含摄像装置主体10、显示部17、操作部19、以及取景器(finder)10a。Fig. 2 is a schematic view of the rear surface of the main body of the imaging device according to Embodiment 1 of the present invention. The imaging device according to Embodiment 1 includes an imaging device main body 10 , a display unit 17 , an operation unit 19 , and a viewfinder (finder) 10 a.

取景器10a是以光学方式将摄取对象成像于用户瞳孔中的光学系统。显示部17是前面说明的液晶显示器,将所摄取的图像信号作为可视图像向用户显示。操作部19由快门按钮19a、光标键19b、确定按钮19c、菜单按钮19d所组成。The viewfinder 10a is an optical system that optically images the subject in the user's pupil. The display unit 17 is the liquid crystal display described above, and displays the captured image signal as a visible image to the user. The operation unit 19 is composed of a shutter button 19a, a cursor key 19b, an enter button 19c, and a menu button 19d.

快门按钮19a通过由用户半按压来开始聚焦跟随摄像处理,通过用户将其完全按下时进行将所摄取的图像存储于存储卡这种作用。光标键19b可操作用于从显示部17显示的各种工作模式的菜单当中选择项目及其内容。确定按钮19c可操作用于确定由光标19b所选定的内容。菜单按钮19d可操作用于进行摄像装置主体常规的各种工作模式的菜单显示。The shutter button 19 a starts focus-following imaging processing when the user presses it halfway, and performs a function of storing a captured image in a memory card when the user presses it fully. The cursor keys 19 b are operable to select items and their contents from among menus of various work modes displayed on the display section 17 . The determination button 19c is operable to determine the content selected by the cursor 19b. The menu button 19d is operable to perform menu display of various operating modes conventional to the main body of the camera.

各种工作模式的菜单项目中,下面述及的显示部17包含是否开始存储所摄取的图像信号的色信息(参考色信息设定)这种处理。用户操作菜单按钮19d,一旦在显示部17上显示有关参考色信息设定处理开始的菜单,光标键19b便可按用户的操作受理对其内容的选择。在此状态下,用户操作光标键19b并选择开始参考色信息设定处理,一旦操作确定按钮19c,便可由参考色信息设定部35开始参考色信息设定处理。Among the menu items of the various operation modes, the display unit 17 described below includes a process of whether to start storing color information of the captured image signal (reference color information setting). When the user operates the menu button 19d, a menu related to the start of the reference color information setting process is displayed on the display unit 17, and the cursor key 19b accepts the selection of the content according to the user's operation. In this state, the user operates the cursor key 19b to select to start the reference color information setting process, and presses the OK button 19c to start the reference color information setting process by the reference color information setting unit 35 .

图3是本发明实施方式1中摄取对象的参考色信息设定的工作流程图。图3所示的流程图表示在系统控制器30上工作的程序的工作流程。而图4是本发明实施方式1中在中央部位映出摄取对象的显示部的概览图,给出一例在显示部17的中央部位映出摄取对象P1的例子。而图5是本发明实施方式1中在中央部位映出摄取对象和区域框的显示部的概览图,给出一例对摄取对象显示7×7个区域框的例子。用菜单按钮19d和确定按钮19c设定参考色信息的模式时,便可开始从开始参考色信息设定处理起的处理。Fig. 3 is a flowchart of the setting of reference color information of an ingestion object in Embodiment 1 of the present invention. The flow chart shown in FIG. 3 represents the flow of work of the program operating on the system controller 30 . On the other hand, FIG. 4 is a schematic view of the display unit in which the ingestion object is reflected in the center in Embodiment 1 of the present invention, and shows an example in which the ingestion object P1 is reflected in the center of the display unit 17 . On the other hand, FIG. 5 is a schematic view of the display unit showing the captured object and the area frame at the center in Embodiment 1 of the present invention, showing an example of displaying 7×7 area frames for the captured object. When the mode of the reference color information is set with the menu button 19d and the determination button 19c, the process from the start of the reference color information setting process can be started.

步骤S101中,用CCD14摄取的图像信号从图像处理部15输出,在显示部17上显示可视图像和区域框两者。这时,显示部17上显示的图像如图5所示,形成为可视图像和区域框两者重叠的显示状态。而且,从图像存储器16输入到系统控制器30的图像分割部31的图像信号按每一区域分割。In step S101 , the image signal picked up by the CCD 14 is output from the image processing unit 15 , and both the visible image and the area frame are displayed on the display unit 17 . At this time, the image displayed on the display unit 17 is in a display state in which both the visible image and the area frame overlap each other, as shown in FIG. 5 . Furthermore, the image signal input from the image memory 16 to the image dividing unit 31 of the system controller 30 is divided for each area.

步骤S102中,处于是否选择区域框这种输入等待状态。这时,可用粗线条框包围特定区域进行显示,表示可进行选择。用户可以用光标键19b使粗线条框的区域移动。例如用户使粗线条框的区域移动到中央部位按确定按钮19c的话,便可选定中央区域框A1,进入步骤S103的处理。In step S102, it is in a state of waiting for an input of whether or not to select an area frame. In this case, a specific area can be displayed surrounded by a thick line frame, indicating that selection is possible. The user can use the cursor keys 19b to move the area framed by thick lines. For example, if the user moves the region framed by thick lines to the center and presses the OK button 19c, the center region frame A1 is selected, and the process proceeds to step S103.

步骤S103中,色信息计算部34计算出所选定区域(这里是粗线条框的区域)内显示的分割的图像的色信息,进入步骤S104的处理。In step S103, the color information calculation unit 34 calculates the color information of the divided image displayed in the selected area (here, the area framed by a thick line), and proceeds to the process of step S104.

步骤S104中,参考信息设定部35存储计算出的色信息,并结束参考色信息设定处理。In step S104, the reference information setting unit 35 stores the calculated color information, and ends the reference color information setting process.

图6是本发明实施方式1中色调和色度信息的运算公式。下面对步骤S103中说明的色信息计算部34的色调和色度信息的运算原理进行说明。另外,分红(以下简称“R”)、绿(以下简称“G”)、蓝(以下简称“B”)表示图像信号,将R、G、B分别形成为256灰度来进行说明。FIG. 6 is an operation formula of hue and chroma information in Embodiment 1 of the present invention. Next, the principle of calculation of the hue and chroma information by the color information calculation unit 34 described in step S103 will be described. In addition, red (hereinafter referred to as "R"), green (hereinafter referred to as "G"), and blue (hereinafter referred to as "B") represent image signals, and R, G, and B are respectively formed into 256 grayscales for description.

色调和色度信息的计算可在色信息计算部34中执行。首先,色信息计算部34对图像分割部31所输出的分割图像信号求R、G、B的最大值,令所求得的最大值为V(式1)。接着,色信息计算部34对图像分割部31所输出的分割图像信号求最小值,从V减去所求得的最小值作为d(式2)。此外,色信息计算部34根据V和d求色度S(式3)。Calculation of hue and chroma information can be performed in the color information calculation section 34 . First, the color information calculation unit 34 obtains the maximum value of R, G, and B from the divided image signal output from the image division unit 31, and sets the obtained maximum value to V (Expression 1). Next, the color information calculation unit 34 calculates the minimum value of the divided image signal output from the image division unit 31 , and subtracts the obtained minimum value from V to obtain d (Expression 2). In addition, the color information calculation unit 34 obtains the chromaticity S from V and d (Expression 3).

若色度S=0,色信息计算部34便使色调H=0(式4)。而色信息计算部34在色度S为0以外值的情况下进行规定的处理,运算色调(式5~式7)。这里,所谓规定处理是指R、G、B的最大值与R相等的情况下用式5求色调H,与G相等的情况下用式6求色调H,与B相等的情况下用式7求色调H这种处理。If the saturation S=0, the color information calculation unit 34 sets the hue H=0 (Formula 4). On the other hand, when the chromaticity S is a value other than 0, the color information calculation unit 34 performs predetermined processing to calculate the hue (Expression 5 to Expression 7). Here, the so-called predetermined processing means that when the maximum value of R, G, and B is equal to R, use Equation 5 to obtain hue H, when it is equal to G, use Equation 6 to obtain hue H, and when it is equal to B, use Equation 7 Seek the processing of hue H.

最后,色信息计算部34在所求得的色调H为负值的情况下,加上360变换为正值(式8)。如上所述,色信息计算部34通过运算计算出分割图像信号的色调和色度信息。Finally, when the obtained hue H is a negative value, the color information calculation unit 34 adds 360 to convert it to a positive value (Expression 8). As described above, the color information calculation unit 34 calculates the hue and chroma information of the divided image signal by calculation.

图7是本发明实施方式1中色调和色度信息的制图。图7中,色度S相当于制图的半径方向,令中心为S=0,并绘制为朝向周边S在0~255范围内增加。而且,图7中色调H相当于旋转方向,沿旋转方向以0~359的数值表示。Fig. 7 is a graph of hue and chroma information in Embodiment 1 of the present invention. In FIG. 7 , the chromaticity S is equivalent to the radial direction of the drawing, let the center be S=0, and plot to increase toward the periphery S in the range of 0 to 255. In addition, the hue H in FIG. 7 corresponds to the direction of rotation, and is represented by a numerical value of 0 to 359 along the direction of rotation.

例如分割图像信号的色信息为R=250、G=180、B=120的话,色信息计算部34便可用上述各式,从各式得到V=250,d=250-120=130,色度S=130×255/250=133,色调H=(180-120)×60/133=27。For example, if the color information of the divided image signal is R=250, G=180, and B=120, the color information calculation section 34 can use the above-mentioned formulas to obtain V=250, d=250-120=130, and the chromaticity S=130×255/250=133, hue H=(180-120)×60/133=27.

如上所述,色信息计算部34计算出分割图像信号的色度和色调。计算出的色度和色调可作为参考色信息输出到参考色信息设定部35加以存储。下面说明与参考色信息邻接设定的参考附近区域。As described above, the color information calculation unit 34 calculates the chroma and hue of the divided image signal. The calculated chromaticity and hue can be output to the reference color information setting unit 35 as reference color information for storage. Next, the reference neighborhood area set adjacent to the reference color information will be described.

用色信息计算部34计算出的参考色信息,存储于参考色信息设定部35,可随时参考用作对应摄取的摄取对象的色信息进行判断的基准信息。但通常有时候即使是同一摄取对象也会因照明光、曝光时间等因素造成所摄取的色信息有微妙变化。因此,将参考色信息和应摄取的摄取对象的色信息两者比较的情况下,最好是使参考色信息具有一固定的允许范围进行一致性判断。下面将该参考色信息其中一固定的允许范围称为参考附近区域。The reference color information calculated by the color information calculation unit 34 is stored in the reference color information setting unit 35, and can be used as reference information for judging the color information corresponding to the captured object to be captured at any time. However, sometimes even the same captured object will have subtle changes in the captured color information due to factors such as illumination light and exposure time. Therefore, when comparing the reference color information with the color information of the object to be ingested, it is preferable to make the reference color information have a fixed allowable range for consistency judgment. Hereinafter, a fixed allowable range of the reference color information is referred to as a reference nearby area.

下面给出一例对参考附近区域的计算。图8是表示本发明实施方式1中参考色信息和参考附近区域1的色调和色度信息的制图。图8中,作为参考色信息(H1、S1)绘制的点,相当于参考色信息设定部35中存储的色信息。另外,参考色信息表示先前作为一例计算出的R=250、G=180、B=120的情况下所求得的色调H=27(=H1)、色度S=130(=S1)。An example of the calculation of the reference nearby area is given below. FIG. 8 is a diagram showing reference color information and hue and chroma information of a reference nearby area 1 in Embodiment 1 of the present invention. In FIG. 8 , points plotted as reference color information ( H1 , S1 ) correspond to color information stored in the reference color information setting unit 35 . In addition, the reference color information indicates hue H=27 (= H1 ) and chroma S=130 (= S1 ) obtained when R=250, G=180, and B=120 previously calculated as an example.

参考附近区域1是对所存储的参考色信息(H1、S1)分别规定允许范围的区域。令色调的允许范围ΔH=10、色度的允许范围ΔS=30,则参考附近区域1相当于色调为H1±10、色度为S1±30的区域,图8中为两条圆弧和两条半径方向的线段所包围的区域。The reference vicinity area 1 is an area in which allowable ranges are defined for each of the stored reference color information ( H1 , S1 ). Let the allowable range of hue ΔH=10 and the allowable range of chroma ΔS=30, then the reference area 1 is equivalent to the area where the hue is H1±10 and the chroma is S1±30. In Fig. 8 there are two arcs and two The area enclosed by the line segments in the radial direction of the bar.

图9是表示本发明实施方式1中参考色信息和参考附近区域2的色调和色度信息的制图。图9中,作为参考色信息(H1、S1)绘制的点相当于参考色信息设定部35存储的色信息。另外,参考色信息表示先前作为一例计算出的R=250、G=180、B=120的情况下所求得的色调H=27(=H1)、色度S=130(=S1)。FIG. 9 is a graph showing reference color information and hue and chroma information of a reference neighborhood area 2 in Embodiment 1 of the present invention. In FIG. 9 , points plotted as reference color information ( H1 , S1 ) correspond to the color information stored in the reference color information setting unit 35 . In addition, the reference color information indicates hue H=27 (= H1 ) and chroma S=130 (= S1 ) obtained when R=250, G=180, and B=120 previously calculated as an example.

参考附近区域2是色度为0~255的全部范围,由色调的允许范围ΔH规定。也就是说,参考附近范围2相当于色调为H1±10的区域,图9中为圆弧和半径方向的线段所包围的扇形区域。The reference neighborhood area 2 is the entire range of chromaticity from 0 to 255, and is defined by the allowable range ΔH of hue. That is to say, the reference nearby range 2 is equivalent to the area with the hue of H1±10, which is a fan-shaped area surrounded by a circular arc and a line segment in the radial direction in FIG. 9 .

上面说明的两个例子中均设定一律的色调允许范围,但并不限于此。使用辅助光源等情况下,通过根据光源的色调信息对所参考的色信息的范围进行修正,即便是光线不足的地方使用摄像装置的情况下也能够正确规定参考范围。例如用LED等的红色辅助光源的情况下,能够通过使H1迁移至0进行修正。In the two examples described above, a uniform tonal allowable range is set, but the present invention is not limited thereto. When using an auxiliary light source, etc., by correcting the range of the referenced color information based on the hue information of the light source, the reference range can be accurately defined even when the imaging device is used in a place with insufficient light. For example, when using a red auxiliary light source such as an LED, it can be corrected by shifting H1 to 0.

而上面说明的两个例子,是使所摄取的摄取对象的色信息存储于参考色信息设定部35的例子,但并不限于此。例如也可以在摄像装置主体中预先存储肤色等某些参考色信息。The two examples described above are examples in which the captured color information of the subject is stored in the reference color information setting unit 35, but they are not limited thereto. For example, some reference color information such as skin color may also be pre-stored in the main body of the camera.

图10是表示本发明实施方式1中聚焦跟随摄像处理的工作流程图。图11是本发明实施方式1中映出摄取对象和区域框的显示部的概览图。图12是本发明实施方式1中映出2个摄取对象和区域框的显示部的概览图。下面参照图10~图12说明实施方式1的摄像装置的聚焦跟随摄像处理。FIG. 10 is a flowchart showing the operation of focus-following imaging processing in Embodiment 1 of the present invention. Fig. 11 is a schematic diagram of a display unit showing an object to be captured and an area frame in Embodiment 1 of the present invention. Fig. 12 is a schematic diagram of a display unit showing two captured objects and an area frame in Embodiment 1 of the present invention. The focus follow imaging process of the imaging device according to Embodiment 1 will be described below with reference to FIGS. 10 to 12 .

图10所示的工作流程图表示在系统控制器30上工作的程序的流程。图10中,用户半按压快门按钮19a的情况下,开始聚焦跟随摄像处理。The operation flowchart shown in FIG. 10 shows the flow of programs operating on the system controller 30 . In FIG. 10 , when the user presses the shutter button 19 a halfway, the focus-following imaging process starts.

步骤S151中,由CCD摄取并由图像处理部15实施规定的图像处理的图像信号与区域框一起显示于显示部17。这时,显示部17中如图11所示显示有摄取对象P1和7×7个区域框。In step S151 , the image signal captured by the CCD and subjected to predetermined image processing by the image processing unit 15 is displayed on the display unit 17 together with the area frame. At this time, the imaging target P1 and 7×7 area frames are displayed on the display unit 17 as shown in FIG. 11 .

接着,步骤S152中,根据参考色信息设定部35中存储的参考色信息,用前面图8和图9中所说明的其中某一方法计算参考附近区域,判断色信息计算部34所输出的各区域的色信息是否处于参考附近区域内。若存在所具有的色信息接近参考色信息的区域,便进入步骤S153的处理,不存在的话便进入步骤S158的处理。Next, in step S152, according to the reference color information stored in the reference color information setting part 35, use one of the methods described in Fig. 8 and Fig. 9 to calculate the reference nearby area, and judge the output of the color information calculation part 34 Whether the color information of each area is within the reference nearby area. If there is an area having color information close to the reference color information, the process proceeds to step S153, and if not, the process proceeds to step S158.

步骤S153中,判断所具有的色信息接近参考色信息的区域是否为一个,若是一个便进入步骤S156的处理,是两个或以上的话便进入步骤S154的处理。In step S153, it is judged whether there is one region with color information close to the reference color information, if there is one, proceed to step S156, if there are two or more regions, proceed to step S154.

使用图11的例子中,所具有的色信息接近参考色信息的区域为一个(区域A4),进入步骤S156的处理。步骤S156中,用对焦信息计算部32、透镜位置控制部33、透镜驱动部21在图1中A方向或B方向上驱动聚焦透镜组13。然后,对焦信息计算部32根据聚焦位置和图像信号所生成的对比度信号,运算区域A1中对比度值最高的聚焦位置(对焦位置),向透镜位置控制部33输出控制信号。In the example using FIG. 11 , there is only one area (area A4 ) whose color information is close to the reference color information, and the processing proceeds to step S156 . In step S156, the focusing lens group 13 is driven in the A direction or the B direction in FIG. 1 by the focus information calculation unit 32, the lens position control unit 33, and the lens driving unit 21. Then, the focus information calculation unit 32 calculates the focus position (focus position) with the highest contrast value in the area A1 based on the focus position and the contrast signal generated from the image signal, and outputs a control signal to the lens position control unit 33 .

步骤S157中,利用透镜位置控制部33、透镜驱动部21在选择区域(区域A1)进行使聚焦透镜13按通过步骤S156的处理由对焦信息计算部32所求得的到对焦位置为止的散焦量对焦这种动作,并进入下面的步骤S160。In step S157, the lens position control unit 33 and the lens driving unit 21 defocus the focus lens 13 to the in-focus position obtained by the focus information calculation unit 32 in the process of step S156 in the selected area (area A1). Amount of focus on this action, and enter the following step S160.

而用图12的例子中,所具有的色信息接近参考色信息的区域为2个(区域A2和A3),进入步骤S154的处理。步骤S154中,利用对焦信息计算部32、透镜位置控制部33、透镜驱动部21,在图1中A方向或B方向上驱动聚焦透镜组13。然后,对焦信息计算部32根据聚焦位置和图像信号所生成的对比度信号,运算区域A2和A3各区域中对比度值最高的聚焦位置(对焦位置),向透镜位置控制部33输出控制信号。In the example of FIG. 12 , there are two areas (areas A2 and A3 ) whose color information is close to the reference color information, and the process proceeds to step S154 . In step S154, the focusing lens group 13 is driven in the direction A or the direction B in FIG. Then, the focus information calculation unit 32 calculates the focus position (focus position) with the highest contrast value in each of areas A2 and A3 based on the focus position and the contrast signal generated from the image signal, and outputs a control signal to the lens position control unit 33 .

步骤S155中,从通过步骤S154的处理由对焦信息计算部32所求得的到各区域对焦位置为止的散焦量当中选择最接近的区域(这里是区域A3),利用透镜位置控制部33、透镜驱动部21,进行使聚焦透镜13在选择区域(区域A3)对焦这种动作,并进入下面步骤S160的处理。另外,尽管是以在最接近区域对焦的例子进行说明的,但也可以对中央附近区域优先对焦。In step S155, the closest area (here, area A3) is selected from among the defocus amounts obtained by the focus information calculation unit 32 in the process of step S154 to the in-focus position of each area, and the lens position control unit 33, The lens drive unit 21 performs an operation of focusing the focus lens 13 on the selected area (area A3), and proceeds to the following step S160. In addition, although an example of focusing on the closest area has been described, it is also possible to focus on an area near the center with priority.

步骤S152中,不存在所具有的色信息接近参考色信息的区域的情况下,进入步骤S158。步骤S158中,利用对焦信息计算部32、透镜位置控制部33、透镜驱动部21,在图1中A方向或B方向上驱动聚焦透镜组13。然后,对焦信息计算部32根据聚焦位置和图像信号所生成的对比度信号对全部区域运算对比度值最高的聚焦位置。In step S152, when there is no region having color information close to the reference color information, the process proceeds to step S158. In step S158, the focusing lens group 13 is driven in the direction A or the direction B in FIG. Then, the focus information calculation unit 32 calculates the focus position with the highest contrast value for the entire area based on the focus position and the contrast signal generated from the image signal.

步骤S159中,从通过步骤S158的处理由对焦信息计算部32所求得的到各区域对焦位置为止的散焦量当中选择最接近的区域,利用透镜位置控制部33、透镜驱动部21,进行使聚焦透镜13在选择区域对焦这种动作,并进入下面步骤S160的处理。这里,尽管是以在最接近区域对焦的例子进行说明的,但同样也可以对中央附近区域优先对焦。In step S159, the closest area is selected from among the defocus amounts to the in-focus position of each area obtained by the in-focus information calculation unit 32 in the process of step S158, and the lens position control unit 33 and the lens driving unit 21 are used to perform The operation of focusing the focus lens 13 on the selected area proceeds to the following step S160. Here, although the example of focusing on the closest area is described, it is also possible to focus on an area near the center with priority.

步骤S160中,判断是否完全按下快门按钮19a,在完全按下的情况下,进入下面步骤S161的处理。离开快门按钮19a的情况下,以上处理全部重新进行。步骤S161中,在快门按钮19a完全按下的时刻,根据系统控制器30输出的指令,进行将图像存储器16或图像处理部15输出的图像信号存储于存储卡这种摄像处理,结束聚焦跟随摄像处理。In step S160, it is determined whether or not the shutter button 19a is fully pressed, and if it is fully pressed, the process proceeds to the following step S161. When the shutter button 19a is released, all the above processes are redone. In step S161, when the shutter button 19a is fully pressed, according to the command output from the system controller 30, an imaging process of storing the image signal output from the image memory 16 or the image processing unit 15 in the memory card is performed, and the focus follow imaging is terminated. deal with.

如上所述,采用实施方式1的摄像装置,根据可任意设定的摄取对象的色信息进行聚焦调整,因此可容易对用户希望对焦的摄取对象进行聚焦跟随。这时,摄取对象的色信息可由用户任意设定,可使摄像装置的功能提高。而且,色信息由色调和色度所组成,所以能够在不受亮度影响的情况下对用户希望对焦的摄取对象进行聚焦跟随。As described above, according to the imaging device according to Embodiment 1, focus adjustment is performed based on the color information of the subject which can be set arbitrarily, so that it is easy to perform focus follow on the subject which the user desires to focus on. In this case, the color information of the object to be captured can be arbitrarily set by the user, and the function of the imaging device can be improved. Furthermore, since the color information is composed of hue and chroma, it is possible to follow the focus on the subject that the user wants to focus on without being affected by the brightness.

另外,实施方式1中是以使用7×7个区域框的例子说明的,但区域框的设定是任意的,只要适当设定即可。例如可以在显示部17的中央附近配置多个区域框,也可以配置一个。In addition, in Embodiment 1, an example using 7×7 area frames was described, but the setting of the area frames is arbitrary and may be set appropriately. For example, a plurality of area frames may be arranged near the center of the display unit 17, or one area frame may be arranged.

(实施方式2)(Embodiment 2)

图13是本发明实施方式2中摄像装置的方框图。实施方式2的摄像装置与实施方式1的摄像装置大致构成相同,因此对与图1起相同功能的组成部分标注相同的标号,具体说明省略。Fig. 13 is a block diagram of an imaging device in Embodiment 2 of the present invention. The imaging device according to Embodiment 2 has substantially the same configuration as the imaging device according to Embodiment 1. Therefore, components having the same functions as those in FIG. 1 are denoted by the same reference numerals, and detailed description thereof will be omitted.

图13中,参考色信息设定部45进行参考色信息设定处理的情况下,计算出实施方式1的摄像装置的色信息计算部34所输出的各区域的色信息当中用户所选定区域的色信息来存储。而且,参考色信息设定处理部45,在进行聚焦跟随摄像处理的情况下,读出所存储的色信息,输出到区域选择部36。参考色信息设定处理部45在进行聚焦跟随摄像处理的情况下还向图像处理部55输出修正信息。实施方式2的摄像装置,可根据如下文所述由色信息计算部34得到的色信息,提高对摄取对象的聚焦精度。In FIG. 13 , when the reference color information setting unit 45 performs the reference color information setting process, it calculates the area selected by the user among the color information of each area output by the color information calculation unit 34 of the imaging device according to Embodiment 1. color information to store. Furthermore, the reference color information setting processing unit 45 reads out the stored color information and outputs it to the area selection unit 36 when performing focus-follow imaging processing. The reference color information setting processing unit 45 also outputs correction information to the image processing unit 55 when performing focus follow imaging processing. The imaging device according to Embodiment 2 can improve the focus accuracy on the subject to be captured based on the color information obtained by the color information calculation unit 34 as described below.

图14是本发明实施方式2中图像处理部的详细方框图。图14中,图像处理部55包含AGC55a、R、G、B增益修正部55b、白平衡修正部55c、γ修正部55d、以及图像修正处理部55e。14 is a detailed block diagram of an image processing unit in Embodiment 2 of the present invention. In FIG. 14, the image processing unit 55 includes an AGC 55a, an R, G, and B gain correction unit 55b, a white balance correction unit 55c, a γ correction unit 55d, and an image correction processing unit 55e.

AGC55a是自动修正CCD14所摄取的图像信号的增益的AGC(自动增益控制)电路。白平衡修正部55c对所摄取的图像信号的白平衡进行修正。γ修正部55d对所摄取的图像信号进行γ修正。图像修正处理部55e对图像信号中存在的像素的伤痕等进行修正。R、G、B增益修正部55b根据参考色信息设定部45所输出的修正信息对R、G、B各色的增益进行修正。AGC55a is an AGC (automatic gain control) circuit which automatically corrects the gain of the image signal picked up by CCD14. The white balance correction unit 55c corrects the white balance of the captured image signal. The γ correction unit 55d performs γ correction on the captured image signal. The image correction processing unit 55e corrects pixel flaws and the like existing in the image signal. The R, G, and B gain correction unit 55 b corrects the gains of the R, G, and B colors according to the correction information output by the reference color information setting unit 45 .

像素修正处理部55e向图像存储器16输出图像信息,为了在摄像时将其存储于存储卡,或显示于显示部17,使用图像信号。R、G、B增益修正部55b也向图像存储器16输出图像信息,该图像信号可用于控制聚焦透镜组13驱动用的色信息计算及对比度计算。The pixel correction processing unit 55 e outputs the image information to the image memory 16 , and uses an image signal for storing it in a memory card or displaying it on the display unit 17 at the time of imaging. The R, G, B gain correction unit 55 b also outputs image information to the image memory 16 , and this image signal can be used for color information calculation and contrast calculation for controlling the drive of the focus lens group 13 .

图15是本发明实施方式2中聚焦跟随摄像处理的工作流程图。下面说明实施方式2的摄像装置的动作。FIG. 15 is a flow chart of the operation of focus-following imaging processing in Embodiment 2 of the present invention. Next, the operation of the imaging device according to Embodiment 2 will be described.

下面以实施方式1中说明的聚焦跟随摄像处理的工作流程图中增加步骤S161处理的例子说明实施方式2的摄像装置的聚焦跟随摄像处理的工作流程图(图10),对于与实施方式1中所说明的处理重复的地方省略说明。另外,同样该工作流程图表示在系统控制器50上工作的程序的流程。与实施方式1相同,用户半按压快门按钮19a的情况下,可开始聚焦跟随摄像处理。The following describes the workflow of the focus-following imaging process of the imaging device in the second embodiment ( FIG. 10 ) by using an example of adding step S161 to the workflow of the focus-following imaging process described in the first embodiment. Where the described processing is repeated, description is omitted. In addition, this work flow chart also shows the flow of programs that operate on the system controller 50 . As in the first embodiment, when the user presses the shutter button 19a halfway, the focus follow imaging process can be started.

实施方式2的摄像装置中,步骤S152中存在所具有的色信息接近参考色信息的区域的情况下,进入图15所示的步骤S161的处理。实施方式2中的摄像装置中,规定了图9所示的参考附近区域2。作为一例,使色度为0~255的全部范围,而色调及其允许范围ΔH为H1=0,ΔH=30。而且,使色调的允许范围其参考范围为H=±30。也就是说,将红色系颜色作为参考附近区域进行说明。In the imaging device according to Embodiment 2, when there is an area having color information close to the reference color information in step S152, the process proceeds to step S161 shown in FIG. 15 . In the imaging device according to Embodiment 2, a reference neighborhood area 2 shown in FIG. 9 is defined. As an example, the chromaticity is set to the entire range of 0 to 255, and the hue and its allowable range ΔH are H1=0, ΔH=30. Also, let the allowable range of hue be H=±30 as a reference range. In other words, the description will be made with the red-based color as a reference nearby area.

步骤S161中,进行像素的增益修正处理后,返回实施方式1的流程图(图10)中步骤S153的处理。下面详细说明实施方式2的摄像装置的特征部分、即图像的增益修正处理。In step S161, after performing the pixel gain correction processing, it returns to the processing of step S153 in the flowchart (FIG. 10 ) of the first embodiment. The characteristic part of the imaging device according to Embodiment 2, that is, image gain correction processing will be described in detail below.

实施方式2的摄像装置其特征在于,对摄像元件所输出的图像信号进行2系统的图像处理。也就是说,图像处理部55的白平衡修正部55c及γ修正部55d,对来自CCD14的图像信号的各色进行电平修正,使得所摄取的图像看起来更加自然和鲜艳。另一方面,图像处理部55的R、G、B增益修正部55b将为了进行聚焦调整通过独自实施图像处理来运算散焦量时所用的对比度信息修正为很容易对焦于具有用户想要摄取的颜色的摄取对象。The imaging device according to Embodiment 2 is characterized in that two systems of image processing are performed on the image signal output from the imaging element. That is, the white balance correction unit 55c and the γ correction unit 55d of the image processing unit 55 correct the level of each color of the image signal from the CCD 14 so that the captured image looks more natural and vivid. On the other hand, the R, G, and B gain correction unit 55b of the image processing unit 55 corrects the contrast information used when calculating the defocus amount by performing image processing alone for focus adjustment so that it is easy to focus on the image that the user wants to capture. The ingest object of the color.

图16是本发明实施方式2中映出摄取对象和区域框的显示部的概览图。显示部17作为摄取对象显示的是处于前面的具有红色系颜色的花瓣P3和背后的具有绿色系颜色的叶子P4,并示出总共显示7×7个区域框的状态。Fig. 16 is a schematic diagram of a display unit showing an object to be captured and an area frame in Embodiment 2 of the present invention. The display unit 17 displays the reddish-colored petals P3 in the front and the greenish-colored leaves P4 in the back as capture objects, and shows a state where a total of 7×7 area frames are displayed.

图17是本发明实施方式2中增益修正前的聚焦位置和对比度值的特性图,表示R、G、B增益修正前的摄取对象的区域A5(为包含计算色信息的3×3个区域框在内、计算3×3个区域框的平均对比度信息的AF用区域框)的聚焦位置和平均对比度值两者的关系。由图17可知,前面映出的花瓣其对比度值大的聚焦位置为X1,深处映出的叶子其对比度值大的聚焦位置为X2。Fig. 17 is a characteristic diagram of focus position and contrast value before gain correction in Embodiment 2 of the present invention, showing the area A5 (3×3 area frames containing calculated color information) of the subject area A5 before gain correction of R, G, and B Inside, the relationship between the focus position and the average contrast value of the average contrast information of 3×3 area frames (area frame for AF) is calculated. It can be seen from FIG. 17 that the petals reflected in the front have a large contrast value at the focus position X1, and the leaves reflected at the depth have a focus position with a large contrast value at X2.

通常,白平衡修正部55c和γ修正部55d两者均对CCD14输出的各色图像信号进行电平修正,以使所摄取的图像看起来更加自然鲜艳。因此,在根据白平衡修正部55c和γ修正部55d进行过修正的图像信号求出聚焦位置和对比度值两者特性的情况下,不必限于按用户所希望的聚焦位置对焦。Normally, both the white balance correction unit 55c and the γ correction unit 55d perform level correction on the image signals of the respective colors output from the CCD 14 so that the captured image looks more natural and vivid. Therefore, when the characteristics of both the focus position and the contrast value are obtained from the image signal corrected by the white balance correction unit 55c and the γ correction unit 55d, it is not necessary to focus only on the focus position desired by the user.

图17中摄取对象的例子中,不管用户想要对焦的摄取对象是花瓣总会对对比度值高、在深处映出的叶子进行对焦,而无法对前面的花瓣进行对焦。In the example of the captured object in Figure 17, regardless of whether the captured object the user wants to focus on is a petal, the leaf with a high contrast value and reflected in the depth will always be focused, but the petal in front cannot be focused.

因此,实施方式2的摄像装置,预先将用户所希望的参考色信息(H=±30的范围)存储于参考色信息设定部45,进行该参考色信息和色信息计算部34所计算出的区域A5中的3×3个各区域的色信息两者的比较处理。然后,比较结果中存在一致区域的情况下(图17例子中一致的区域框为A6、A7),参考色信息设定部45向图像处理部55输出修正信息,以便R、G、B增益修正部55b中R电平提高,而其他颜色的电平下降。Therefore, in the imaging device according to the second embodiment, the reference color information desired by the user (the range of H=±30) is stored in the reference color information setting unit 45 in advance, and the reference color information and the color information calculated by the calculation unit 34 are performed. The comparison process between the color information of each of the 3×3 areas in the area A5. Then, when there is a matching area in the comparison result (the matching area frames are A6 and A7 in the example of FIG. 17), the reference color information setting unit 45 outputs correction information to the image processing unit 55 so that R, G, and B gains can be corrected. The R level in the portion 55b is raised, while the levels of the other colors are lowered.

图18是本发明实施方式2中增益修正后的聚焦位置和对比度值的特性图,表示R、G、B增益修正后的摄取对象的区域A5的聚焦位置和平均对比度值两者的关系。从图18可知,通过用修正信息进行增益修正,前面的红色花瓣的对比度值提高,深处的绿色叶子的对比度值下降。其结果是,即便是图17中摄取对象例,也能够对焦于用户想要对焦的摄取对象花瓣。18 is a characteristic diagram of the focus position and contrast value after gain correction in Embodiment 2 of the present invention, showing the relationship between the focus position and the average contrast value of the area A5 to be captured after R, G, and B gain correction. As can be seen from FIG. 18 , by performing gain correction using the correction information, the contrast value of the front red petals increases and the contrast value of the deep green leaves decreases. As a result, it is possible to focus on the petal of the ingestion target that the user wants to focus on even in the example of the ingestion target in FIG. 17 .

如上所述,采用实施方式2的摄像装置,根据预先存储的色信息,为了对焦而对所摄取的图像信号内的分割图像的增益进行修正,因此可以很容易对用户所希望的摄取对象进行对焦。As described above, according to the imaging device according to the second embodiment, the gain of the divided image in the captured image signal is corrected for focusing based on the color information stored in advance, so that the user can easily focus on the captured object desired by the user. .

另外,实施方式2中对参考色信息进行设定的情况下,R、G、B各色的增益最好是返回规定的初始设定值来进行设定。可通过使用初始设定值对参考色信息进行设定,来确保参考色信息的还原性。In addition, when setting the reference color information in Embodiment 2, it is preferable to return the gain of each color of R, G, and B to a predetermined initial setting value and set it. The reproducibility of the reference color information can be ensured by setting the reference color information using the initial setting value.

而且,实施方式2中,R、G、B增益修正部55b中也可以增加对图像信号中存在的像素伤痕等进行修正这种处理。通过增加这种处理,可提高聚焦跟随性能。Furthermore, in the second embodiment, the R, G, B gain correction unit 55b may add a process of correcting pixel flaws and the like existing in the image signal. By adding this processing, focus follow performance can be improved.

而实施形态2中,说明的是包含计算色信息的单位的3×3个区域框的构成,但也可以显示部17上配置多个区域框,也可以使区域框与计算参考色信息的区域框大体一致。In Embodiment 2, however, the configuration of 3×3 area frames including the unit of calculated color information has been described, but a plurality of area frames may be arranged on the display unit 17, and the area frame and the area for calculating reference color information may also be arranged. The frame is roughly the same.

而且,图15的步骤S161处理之后,所连接的是实施方式1中进行用图10说明的多个区域的选择处理的流程,但不限于此。例如,为了提高用户所希望的颜色的摄取对象的对焦精度,也可以具有实施方式1中的多个区域选择处理功能。Furthermore, after the processing of step S161 in FIG. 15 , the flow for performing the selection processing of a plurality of regions described with reference to FIG. 10 in Embodiment 1 is connected, but the present invention is not limited thereto. For example, in order to improve the focusing accuracy of the imaged object of the color desired by the user, a plurality of area selection processing functions in Embodiment 1 may be provided.

(实施方式3)(Embodiment 3)

图19是本发明实施方式3中摄像装置的方框图。实施方式3的摄像装置与实施方式1的摄像装置具有大体相同的构成,因此对于与图1相同功能的组成部分标注相同的标号,并省略其详细说明。Fig. 19 is a block diagram of an imaging device in Embodiment 3 of the present invention. The imaging device according to Embodiment 3 has substantially the same configuration as the imaging device according to Embodiment 1. Therefore, components having the same functions as those in FIG. 1 are denoted by the same reference numerals, and detailed description thereof will be omitted.

图19中,亮度判定部37输入色信息计算部34输出的色信息,根据图6所示的式1求得的各区域V,判断亮度是否饱和后输出。选择禁止部38向区域选择部46发送禁止信息以避免将亮度判定部37所判断的亮度饱和的区域选择作为对焦的区域。In FIG. 19, the luminance determination unit 37 inputs the color information output from the color information calculation unit 34, and outputs the output after determining whether the luminance is saturated based on each region V obtained by Equation 1 shown in FIG. 6 . The selection prohibition unit 38 transmits prohibition information to the area selection unit 46 so as not to select the area whose luminance is saturated determined by the luminance determination unit 37 as an in-focus area.

图20是表示本发明实施方式3中聚焦跟随摄像处理的工作流程图。下面将实施方式3的摄像装置的聚焦跟随摄像处理的工作流程图,作为实施方式1中说明的聚焦跟随摄像处理的工作流程图(图10)中增加步骤S171和步骤S172处理的例子进行说明,对于与实施方式1中说明的处理重复的地方省略说明。另外,同样该工作流程图表示系统控制器60上工作的程序的流程。与实施方式1相同,用户半按压快门按钮19a时开始聚焦跟随摄像处理。FIG. 20 is a flow chart showing the operation of focus-following imaging processing in Embodiment 3 of the present invention. Next, the working flow chart of the focus-following imaging process of the imaging device according to Embodiment 3 will be described as an example in which steps S171 and S172 are added to the working flow chart (FIG. 10 ) of the focus-following imaging process described in Embodiment 1. The description of parts that overlap with the processing described in Embodiment 1 will be omitted. In addition, this work flow chart also shows the flow of programs operating on the system controller 60 . As in the first embodiment, when the user presses the shutter button 19a halfway, the focus-following imaging process starts.

实施方式2中,步骤S151后进入步骤S171。步骤S171中,有亮度饱和区域的情况下,进入步骤S172的处理,没有亮度饱和区域的情况下则返回步骤S152的处理。In Embodiment 2, after step S151, it progresses to step S171. In step S171, if there is a luminance saturated area, the process proceeds to step S172, and if there is no luminance saturated area, the process returns to step S152.

作为一例说明所摄取的图像信号其区域A6中V为255、发生亮度饱和的情况。步骤S171中,亮度判定部37判断区域A6中亮度饱和,并向选择禁止部38输出判断结果。步骤S172中,选择禁止部38向区域选择部46输出避免将区域A8选择为对焦区域这种禁止信息,再返回步骤S152的处理。As an example, a case where V is 255 in the area A6 of the captured image signal and the luminance is saturated will be described. In step S171 , the brightness judging unit 37 judges that the brightness in the area A6 is saturated, and outputs the judgment result to the selection inhibiting unit 38 . In step S172, the selection prohibition unit 38 outputs prohibition information to the area selection unit 46 to avoid selection of the area A8 as the in-focus area, and the process returns to step S152.

其结果是,亮度饱和的对焦区域不会用于聚焦调整。因此,实施方式3的摄像装置不会根据饱和的图像信号由错误的对比度信息或色信息运算对焦用信息,所以不会发生虚假对焦的情况。As a result, focused areas with saturated brightness are not used for focus adjustments. Therefore, the imaging device according to Embodiment 3 does not calculate focusing information from a saturated image signal using erroneous contrast information or color information, so false focusing does not occur.

如上所述,采用实施方式3的摄像装置,亮度饱和的对焦区域不会用于对焦,因此不会发生虚假对焦,能够使聚焦透镜组正确移动。As described above, according to the imaging device according to Embodiment 3, since the focus area with saturated brightness is not used for focusing, false focus does not occur, and the focus lens group can be moved correctly.

(实施形态4)(Embodiment 4)

图21是本发明实施方式4中摄像装置的方框图。实施方式4的摄像装置与实施方式1的摄像装置具有大体相同的构成,因此对于与图1相同功能的组成部分标注相同的标号,并省略其详细说明。Fig. 21 is a block diagram of an imaging device according to Embodiment 4 of the present invention. The imaging device according to Embodiment 4 has substantially the same configuration as the imaging device according to Embodiment 1. Therefore, components having the same functions as those in FIG. 1 are denoted by the same reference numerals, and detailed description thereof will be omitted.

图21中,参考色信息设定部47进行参考色信息设定处理的情况下,计算出色信息计算部34所输出的各区域的色信息当中用户所选定区域的色信息来存储,将该区域位置和所计算出的色信息输出给图像处理部56。而且,参考色信息设定部47在进行聚焦跟随摄像处理的情况下读出所存储的色信息,输出给区域选择部36。In FIG. 21 , when the reference color information setting section 47 performs the reference color information setting process, it calculates and stores the color information of the area selected by the user among the color information of each area output by the color information calculation section 34, and stores the color information of the area. The area position and the calculated color information are output to the image processing unit 56 . Furthermore, the reference color information setting unit 47 reads out the stored color information when performing focus-follow imaging processing, and outputs it to the area selection unit 36 .

而且,参考色信息设定部47进行聚焦跟随摄像处理的情况下,从参考色信息设定部47向图像处理部56输出修正信息。另外,该修正信息与用图13和图14说明的实施方式2的摄像装置相同,其详细说明省略。Furthermore, when the reference color information setting unit 47 performs focus-follow imaging processing, correction information is output from the reference color information setting unit 47 to the image processing unit 56 . Note that this correction information is the same as that of the imaging device according to Embodiment 2 described with reference to FIGS. 13 and 14 , and its detailed description will be omitted.

图22是本发明实施方式4中图像处理部的详细方框图。图22中,图像处理部56与实施方式2的图像处理部55具有大体相同构成,因此对具有相同功能的组成部分标注相同的标号,并省略其详细说明。Fig. 22 is a detailed block diagram of an image processing unit in Embodiment 4 of the present invention. In FIG. 22 , the image processing unit 56 has substantially the same configuration as the image processing unit 55 of Embodiment 2, and therefore components having the same functions are given the same reference numerals and detailed description thereof will be omitted.

特定区域色修正处理部55f根据参考色信息设定部47所输出的区域位置信息和所计算出的色信息,来修正所指定区域的颜色。图像信号进行过指定区域色修正处理部55f的修正处理后输出给图像存储器16。The specific area color correction processing unit 55f corrects the color of the designated area based on the area position information output from the reference color information setting unit 47 and the calculated color information. The image signal is output to the image memory 16 after being corrected by the specified area color correction processing unit 55f.

图23是本发明实施方式4中参考色信息设定处理的工作流程图。下面将实施方式4的摄像装置的聚焦跟随摄像处理的工作流程图,作为实施方式1中说明的参考色信息设定处理的工作流程图(图3)中增加步骤S181处理的例子进行说明,对于与实施方式1中说明的处理重复的地方省略说明。另外,同样该工作流程图表示系统控制器70上工作的程序的流程。与实施方式1相同,通过用户操作光标键19b、确定按钮19c、菜单按钮19d等可开始参考色信息设定处理。Fig. 23 is a flow chart of the operation of reference color information setting processing in Embodiment 4 of the present invention. Next, the working flow chart of the focus-following imaging process of the imaging device in Embodiment 4 will be described as an example of adding step S181 to the working flow chart (FIG. 3) of the reference color information setting process described in Embodiment 1. The description of parts that overlap with the processing described in Embodiment 1 will be omitted. In addition, this work flow chart also shows the flow of programs operating on the system controller 70 . Similar to Embodiment 1, the reference color information setting process can be started by the user operating the cursor key 19b, the OK button 19c, the menu button 19d, and the like.

步骤S103中计算出所选定区域的色信息后,进行图23所示步骤S181的处理,返回步骤S104的处理。步骤S181中,参考色信息设定部47所选定区域的位置信息和色信息送到指定区域色修正处理部55f,对指定区域进行色修正处理。After the color information of the selected area is calculated in step S103, the process of step S181 shown in FIG. 23 is performed, and the process returns to step S104. In step S181, the position information and color information of the area selected by the reference color information setting unit 47 are sent to the designated area color correction processing unit 55f, and color correction processing is performed on the designated area.

图24是本发明实施方式4中映出摄取对象和区域框的显示部的概览图。实施方式4的摄像装置中,执行步骤S181的情况下,处于图24所示的显示状态,粗线条框的区域A1内的颜色置换为参考色信息。这时,最好是不将整个区域A1置换为参考色信息,而是通过提取摄取对象的边缘来保留轮廓等,防止有损于用户操作性。接着,在步骤S104中,存储参考色信息设定部46所计算出的色信息,结束参考色信息设定处理。Fig. 24 is a schematic diagram of a display unit showing an object to be captured and an area frame in Embodiment 4 of the present invention. In the imaging device according to Embodiment 4, when step S181 is executed, the display state shown in FIG. 24 is established, and the color in the area A1 framed by a thick line is replaced with the reference color information. In this case, it is preferable not to replace the entire area A1 with the reference color information, but to preserve the outline and the like by extracting the edge of the object to be captured, so as not to impair user operability. Next, in step S104, the color information calculated by the reference color information setting unit 46 is stored, and the reference color information setting process ends.

这样,采用实施方式4的摄像装置,将参考色信息的情况下所参考的单一的色信息在显示屏幕上与摄取对象对照显示,因此能够确认是否可提取用户所希望的色信息。In this way, according to the imaging device of Embodiment 4, single color information referred to in the case of reference color information is displayed on the display screen in comparison with the subject to be captured, so that it can be checked whether the user's desired color information can be extracted.

另外,实施方式4中是所参考的区域和显示所参考的单一色信息的区域两者形成为相同大小进行说明的,但并不限于此。例如可以对一个个像素与参考过的色信息进行比较,将接近的色信息的像素置换为所参考的色信息。而且,不限于参考过的色信息,也可以置换为红、绿、蓝等色度高的用色,或置换为相对于参考色信息的补色等视觉辨认度高的色信息。In addition, in Embodiment 4, it was explained that both the referenced area and the area displaying the referenced single-color information are formed to have the same size, but the present invention is not limited thereto. For example, it is possible to compare each pixel with the referenced color information, and replace pixels with adjacent color information with the referenced color information. Moreover, not limited to the referenced color information, it may be replaced with a color with high chroma such as red, green, and blue, or with color information with high visibility such as a complementary color to the reference color information.

(实施形态5)(Embodiment 5)

图25是本发明实施方式5中摄像装置的方框图。实施方式5的摄像装置与实施方式1的摄像装置具有大体相同的构成,因此对于与图1相同功能的组成部分标注相同的标号,并省略其详细说明。Fig. 25 is a block diagram of an imaging device according to Embodiment 5 of the present invention. The imaging device according to Embodiment 5 has substantially the same configuration as the imaging device according to Embodiment 1. Therefore, components having the same functions as those in FIG. 1 are denoted by the same reference numerals, and detailed description thereof will be omitted.

图25中,参考色信息设定部48在进行参考色信息设定处理的情况下,计算出色信息计算部34所输出的各区域的色信息当中用户所选定区域的色信息来存储,将该区域位置和所计算出的色信息输出给图像处理部57。而且,参考色信息设定部48在进行聚焦跟随摄像处理的情况下读出所存储的色信息当中用户所选定的色信息,输出给区域选择部36。In FIG. 25 , when the reference color information setting section 48 performs the reference color information setting process, it calculates and stores the color information of the area selected by the user among the color information of each area output by the color information calculation section 34, and stores The area position and the calculated color information are output to the image processing unit 57 . Furthermore, the reference color information setting unit 48 reads out the color information selected by the user among the stored color information when performing focus-follow imaging processing, and outputs it to the area selection unit 36 .

而且,参考色信息设定部48进行聚焦跟随摄像处理的情况下,从参考色信息设定部48向图像处理部57输出修正信息。另外,该修正信息与用图13和图14说明的实施方式2的摄像装置相同,其详细说明省略。Furthermore, when the reference color information setting unit 48 performs focus-follow imaging processing, correction information is output from the reference color information setting unit 48 to the image processing unit 57 . Note that this correction information is the same as that of the imaging device according to Embodiment 2 described with reference to FIGS. 13 and 14 , and its detailed description will be omitted.

图26是本发明实施方式5中图像处理部的详细方框图。图26中,图像处理部57与实施方式2的图像处理部55具有大体相同构成,因此对具有相同功能的组成部分标注相同的标号,并省略其详细说明。Fig. 26 is a detailed block diagram of an image processing unit in Embodiment 5 of the present invention. In FIG. 26 , the image processing unit 57 has substantially the same configuration as the image processing unit 55 of Embodiment 2, and therefore components having the same functions are assigned the same reference numerals and detailed description thereof will be omitted.

小样(thumbnail)处理部55g根据参考色信息设定部48所输出的区域位置信息和参考色信息,向图像存储器16输出为了进行聚焦跟随摄像处理而参考的摄取对象的图像信号。图像存储器16存储从小样处理部55g输出的图像信号。这时图像存储器16存储的图像信号在聚焦跟随时作为用以选择应聚焦跟随的色信息的参考图像显示于显示部17。下面为了与通常摄影时图像存储器16所存储的图像信号相区别,可从小样处理部55g输出,将存储于图像存储器16的图像信号称为参考图像信号。The thumbnail processing unit 55 g outputs the image signal of the subject to be captured referred to for focus follow imaging processing to the image memory 16 based on the area position information and the reference color information output from the reference color information setting unit 48 . The image memory 16 stores the image signal output from the sample processing unit 55g. At this time, the image signal stored in the image memory 16 is displayed on the display unit 17 as a reference image for selecting color information to be used for focus follow during focus follow. Hereinafter, the image signal stored in the image memory 16 may be output from the sample processing unit 55g in order to distinguish it from the image signal stored in the image memory 16 during normal shooting, and is referred to as a reference image signal.

通过将多个参考图像信号存储于图像存储器16中,使图像存储器16所存储的参考图像信号显示于显示部17,用户能够任意选择应聚焦跟随的摄取对象,但对于这时所进行的具体处理来说将在下面叙述。另外,小样处理部55g在通常摄影时或相对于显示部的常规监视显示时,不进行小样处理。因此,在该情况下,图像信号从像素修正处理部55e直接输出给图像存储器16。By storing a plurality of reference image signals in the image memory 16 and displaying the reference image signals stored in the image memory 16 on the display unit 17, the user can arbitrarily select the subject to focus on and follow. will be described below. Note that the thumbnail processing unit 55g does not perform thumbnail processing during normal shooting or normal monitor display on the display unit. Therefore, in this case, the image signal is directly output from the pixel correction processing unit 55 e to the image memory 16 .

而且,在图像存储器16中存储参考图像信号时,可以在图像存储器16中确保非易失性存储区域,将参考图像信号压缩或抽帧存储。这样可以以最低限度的容量保存多个参考图像信号。Furthermore, when storing the reference image signal in the image memory 16, a non-volatile storage area can be reserved in the image memory 16, and the reference image signal can be compressed or frame-decimated and stored. This makes it possible to store multiple reference image signals with a minimum capacity.

图27是本发明实施方式5中参考色信息设定处理的工作流程图。下面对实施方式5的摄像装置的参考色信息设定处理的工作流程图,作为实施方式1中说明的参考色信息设定处理的工作流程图(图3)增加步骤S201、S202、以及S203处理的例子进行说明,对于与实施方式1中说明的处理重复的地方省略说明。另外,同样该工作流程图表示系统控制器80上工作的程序的流程。与实施方式1相同,通过用户操作光标键19b、确定按钮19c、菜单按钮19d等可开始参考色信息设定处理。Fig. 27 is a flow chart of the operation of reference color information setting processing in Embodiment 5 of the present invention. In the following, steps S201, S202, and S203 are added to the workflow flowchart of the reference color information setting process of the imaging device in Embodiment 5 as the workflow flowchart of the reference color information setting process described in Embodiment 1 (FIG. 3). An example of the processing will be described, and descriptions of parts that overlap with the processing described in Embodiment 1 will be omitted. In addition, this work flow chart also shows the flow of programs operating on the system controller 80 . Similar to Embodiment 1, the reference color information setting process can be started by the user operating the cursor key 19b, the OK button 19c, the menu button 19d, and the like.

步骤S201中,处于将区域框内显示的图像和显示部17的整个屏幕内显示的图像其中某一个作为参考图像记录这种选择输入等待状态。这时,特定区域(区域框或整个屏幕框)用粗线条框包围来显示,给出的是可选择的情形。用户可以用光标键19b移动粗线条框的区域。例如,一旦用户将粗线条框的区域移动到区域框按下确定按钮19c的话,便可选择对区域框内所显示的图像进行记录,进入步骤S202的处理。In step S201, it is in a waiting state for selecting and inputting one of the image displayed in the area frame and the image displayed in the entire screen of the display unit 17 as a reference image to be recorded. At this time, a specific area (area frame or the entire screen frame) is displayed surrounded by a thick line frame, showing an optional situation. The user can move the area framed by thick lines with the cursor keys 19b. For example, once the user moves the area framed by thick lines to the area frame and presses the OK button 19c, the user can choose to record the image displayed in the area frame, and proceed to the process of step S202.

步骤S202中,将区域框内的图像信号作为参考图像信号存储于图像存储器16,在显示部17显示基于该图像存储器16所存储的参考图像信号的参考图像。In step S202 , the image signal within the area frame is stored in the image memory 16 as a reference image signal, and a reference image based on the reference image signal stored in the image memory 16 is displayed on the display unit 17 .

而步骤S201中,一旦用户使粗线条框的区域移动到整个屏幕按下确定按钮19c,便可选择整个屏幕的图像信号的记录,进入步骤S203的处理。In step S201, once the user moves the thick-line frame area to the entire screen and presses the OK button 19c, the recording of the image signal of the entire screen can be selected, and the process of step S203 is entered.

步骤S203中,将整个屏幕内的图像信号作为参考图像信号存储于图像存储器16,将图像存储器16中存储的参考图像信号显示于显示部17。In step S203 , the image signal in the entire screen is stored in the image memory 16 as a reference image signal, and the reference image signal stored in the image memory 16 is displayed on the display unit 17 .

下面说明本实施方式摄像装置的具体显示例和摄像装置的动作。图28是本发明实施方式5中映出摄取对象、区域框、以及参考图像1的显示部的概览图,给出使7×7个区域框显示于摄取对象P1上的例子。用菜单按钮19d和确定按钮19c设定参考色信息的模式的情况下,从图3中参考色信息设定处理开始起开始处理,此后进行实施方式1中说明过的处理,在步骤S104中存储用参考信息设定部48计算出的色信息,进入图27中步骤S201的处理。Next, a specific display example of the imaging device of this embodiment and the operation of the imaging device will be described. Fig. 28 is a schematic diagram of a display unit showing an object to be captured, an area frame, and a reference image 1 in Embodiment 5 of the present invention, showing an example of displaying 7×7 area frames on an object to be captured P1. In the case of setting the mode of the reference color information with the menu button 19d and the determination button 19c, the processing starts from the start of the reference color information setting processing in FIG. The process proceeds to step S201 in FIG. 27 using the color information calculated by the reference information setting unit 48 .

步骤S201中,处于将区域A1框内显示的图像和显示部17的整个屏幕内的图像其中某一个作为参考图像记录这种选择输入等待状态。这里,用户选择区域A1框内显示的图像。选择区域A1框内的图像的情况下,处理进入接着的步骤S202。In step S201, it is in a waiting state for selecting and inputting one of the image displayed in the frame of the area A1 and the image in the entire screen of the display unit 17 to be recorded as a reference image. Here, the user selects an image displayed within the frame of the area A1. When an image within the frame of the area A1 is selected, the process proceeds to the next step S202.

步骤S202中,将区域A1框内的图像信号存储于图像存储器16,如图28所示在显示部17上显示参考图像。参考图像显示于显示部17的下侧所示的参考图像显示框内。图28所示的例子中,显示部17的下侧有7个参考图像显示框,其中一个参考图像显示框(区域C1)中便将区域A1框内显示的图像作为参考图像显示。于是,结束参考色信息设定处理。In step S202, the image signal within the frame of the area A1 is stored in the image memory 16, and a reference image is displayed on the display unit 17 as shown in FIG. 28 . The reference image is displayed in a reference image display frame shown on the lower side of the display unit 17 . In the example shown in FIG. 28, there are seven reference image display frames on the lower side of the display unit 17, and one of the reference image display frames (area C1) displays the image displayed in the frame of area A1 as a reference image. Then, the reference color information setting process ends.

另外,参考色信息设定部48保存参考图像和参考色信息两者相对应记录的数据表。图29示出参考色信息设定部48保存的一例数据表。图29中,选择参考图像时用于聚焦跟随的参考色信息(色调H、色度S)与该参考图像相对应。参考色信息设定部48在聚焦跟随摄像处理时参照数据表,将与用户所选定的参考图像相对应的参考色信息选择为聚焦跟随时所用的参考色信息。In addition, the reference color information setting unit 48 stores a data table in which both the reference image and the reference color information are recorded in correspondence. FIG. 29 shows an example of a data table stored by the reference color information setting unit 48 . In FIG. 29 , reference color information (hue H, chroma S) used for focus follow when a reference image is selected corresponds to the reference image. The reference color information setting unit 48 refers to the data table during focus follow imaging processing, and selects reference color information corresponding to a reference image selected by the user as reference color information used during focus follow.

图30是本发明实施方式5中映出摄取对象、区域框、以及参考图像1和2的显示部的概览图,示出使7×7个区域框显示于摄取对象P2上的例子。利用菜单按钮19d和确定按钮19c设定参考色信息的模式的情况下,从图3中参考色信息设定处理开始起开始处理,然后进行实施方式1中说明过的处理,步骤S104中,存储参考信息设定部48所计算出的色信息,进入图27中步骤S201的处理。FIG. 30 is a schematic diagram of a display unit showing an object to be captured, an area frame, and reference images 1 and 2 in Embodiment 5 of the present invention, showing an example in which 7×7 area frames are displayed on the object to be captured P2. In the case of using the menu button 19d and the determination button 19c to set the mode of the reference color information, the process starts from the start of the reference color information setting process in FIG. Referring to the color information calculated by the information setting unit 48, the process proceeds to step S201 in FIG. 27 .

步骤S201中,处于将图30所示的区域B1框内的图像和整个屏幕内的图像其中某一个作为参考图像记录这种选择输入等待状态。这里,用户选择整个屏幕内显示的图像。选择图30所示的整个屏幕内显示的图像的情况下,处理进入步骤S203。In step S201, it is in a waiting state for selecting and inputting one of the image in the frame of the area B1 shown in FIG. 30 and the image in the entire screen as a reference image to be recorded. Here, the user selects an image displayed within the entire screen. When an image displayed on the entire screen as shown in FIG. 30 is selected, the process proceeds to step S203.

步骤S203中,将显示部17的整个屏幕内的图像信号作为参考图像信号存储于图像存储器16,如图30所示,在显示部17上显示参考图像。另外,该步骤中,参考图像信号与图3所示的步骤S104存储的参考色信息(这里是区域B1的色信息)相对应存储。In step S203 , the image signal in the entire screen of the display unit 17 is stored in the image memory 16 as a reference image signal, and the reference image is displayed on the display unit 17 as shown in FIG. 30 . In addition, in this step, the reference image signal is stored in correspondence with the reference color information stored in step S104 shown in FIG. 3 (here, the color information of area B1).

图30的例子中,表示图28中将显示于区域A1内的图像作为参考图像记录后,将整个屏幕内显示的图像作为参考图像记录的情况。如图30所示,新记录的参考图像2与先前记录的参考图像1一起,作为参考图像2显示于显示部17的下侧。于是,结束参考色信息设定处理。The example in FIG. 30 shows a case where the image displayed in the area A1 in FIG. 28 is recorded as a reference image, and then the image displayed on the entire screen is recorded as a reference image. As shown in FIG. 30 , the newly recorded reference image 2 is displayed on the lower side of the display unit 17 as the reference image 2 together with the previously recorded reference image 1 . Then, the reference color information setting process ends.

而且,可以进行摄取对象的边缘提取,以对应的色信息涂覆选定作为参考图像的区域(该情况下是摄取对象P2的帽子部分),也可以形成为仅保留所选定区域部分的色信息。而且,可以单独将所选定区域的色信息作为参考图像显示。Furthermore, the edge extraction of the captured object may be performed, and the area selected as the reference image (in this case, the hat part of the captured object P2) may be painted with the corresponding color information, or it may be formed so that only the color of the selected area is retained. information. Also, the color information of the selected area can be displayed individually as a reference image.

图31是本发明实施方式5中聚焦跟随摄像处理的工作流程图。图32是本发明实施方式5中映出摄取对象、区域框、以及参考图像1~3的显示部的概览图。下面参考图31和图32说明实施方式5的摄像装置的聚焦跟随摄像处理。Fig. 31 is a flow chart of the operation of focus-following imaging processing in Embodiment 5 of the present invention. Fig. 32 is a schematic diagram of a display unit showing an object to be captured, an area frame, and reference images 1 to 3 in Embodiment 5 of the present invention. Focus follow imaging processing of the imaging device according to Embodiment 5 will be described below with reference to FIGS. 31 and 32 .

图31所示的工作流程图示出的是系统控制器80上工作的程序的流程。下面对实施方式5的摄像装置的聚焦跟随摄像处理的工作流程图,作为实施方式1中说明的聚焦跟随摄像处理的工作流程图(图10)增加步骤S211~S213处理的例子进行说明,对于与实施方式1中说明的处理重复的地方省略说明。另外,同样该工作流程图表示系统控制器80上工作的程序的流程。与实施方式1相同,在用户半按压快门按钮19a的情况下,可开始聚焦跟随摄像处理。The work flow chart shown in FIG. 31 shows the flow of programs that work on the system controller 80 . The following describes the workflow of the focus-following imaging process of the imaging device according to Embodiment 5 as an example in which steps S211 to S213 are added to the workflow of the focus-following imaging process described in Embodiment 1 (FIG. 10). The description of parts that overlap with the processing described in Embodiment 1 will be omitted. In addition, this work flow chart also shows the flow of programs operating on the system controller 80 . As in Embodiment 1, when the user presses the shutter button 19a halfway, focus follow imaging processing can be started.

图10中的步骤S151中,用CCD14摄取由图像处理部57实施规定图像处理的图像信号与区域框一起显示于显示部17。这时的显示部17的显示例示于图32。如图32所示,显示部17的下侧显示有摄取对象P2、21×13个区域框、以及显示参考图像用的7个参考图像显示框1~7。而图32中,7个参考图像显示框中的3个参考图像显示框1~3(区域C1~C3)中显示有参考图像。In step S151 in FIG. 10 , the image signal captured by the CCD 14 and subjected to predetermined image processing by the image processing unit 57 is displayed on the display unit 17 together with the area frame. A display example of the display unit 17 at this time is shown in FIG. 32 . As shown in FIG. 32 , on the lower side of the display unit 17 , an imaging target P2 , 21×13 area frames, and seven reference image display frames 1 to 7 for displaying reference images are displayed. In FIG. 32 , reference images are displayed in three reference image display frames 1 to 3 (regions C1 to C3 ) among the seven reference image display frames.

步骤S211中,判断所记录的参考图像是否是一个。所记录的参考图像为多个的情况下,处理便进入下一步骤S212。另一方面,所记录的参考图像为1个的情况下,意味着参考色信息设定部48所存储的参考色信息是一个。这种情况下,参考色信息设定部48不需要从多个候补当中选择参考色信息,因此进入步骤S152的处理。In step S211, it is judged whether there is one reference image recorded. When there are a plurality of reference images to be recorded, the process proceeds to the next step S212. On the other hand, when the number of reference images to be recorded is one, it means that the reference color information setting unit 48 stores one reference color information. In this case, the reference color information setting unit 48 does not need to select reference color information from a plurality of candidates, so the process proceeds to step S152.

步骤S212中,等待是否选定参考图像的输入。用户从多个所显示的参考图像当中选择希望聚焦跟随的参考图像。图32所示的例子中,从已经作为参考图像记录、显示的3个参考图像1~3当中选择一个。这里,设定为用户选择区域C2中所显示的参考图像2。从多个候补当中选择参考图像时,可以将所选定参考图像显示框加粗或加亮突出等,以便用户能够了解当前选择的参考图像。一旦用户选择参考图像,处理便进入下一步骤S213。In step S212, it waits for an input of whether a reference image is selected. The user selects a reference image desired to focus follow from among a plurality of displayed reference images. In the example shown in FIG. 32 , one of the three reference images 1 to 3 that have been recorded and displayed as reference images is selected. Here, it is set that the user selects the reference image 2 displayed in the area C2. When selecting a reference image from multiple candidates, the selected reference image display frame may be thickened or highlighted, so that the user can understand the currently selected reference image. Once the user selects a reference image, the process proceeds to the next step S213.

步骤S213中,选择应聚焦跟随的参考色信息。参考色信息设定部48根据与步骤S211所选定的参考图像相对应的参考色信息,用先前图8和图9中所说明的某一种方法计算出参考附近区域,判断色信息计算部34所输出的各区域的色信息是否处于参考附近区域内。存在所具有的色信息接近参考色信息的区域的话,便进入步骤S153的处理。不存在的话便进入步骤S158的处理。In step S213, the reference color information to be followed by focus is selected. The reference color information setting unit 48 calculates the reference nearby area by using one of the methods described in previous FIG. 8 and FIG. 34 Whether the output color information of each area is in the reference nearby area. If there is an area having color information close to the reference color information, the process proceeds to step S153. If it does not exist, the process proceeds to step S158.

图32所示的例子中,步骤S152以后的处理中,与参考色信息一致的区域判定为是区域B2,按步骤S152、S153、S156、S157、S160、S161的顺序进行处理。具体来说,在区域B2中运算散焦量,利用对焦信息计算部32、透镜位置控制部33、透镜驱动部21在图25的A方向或B方向上驱动聚焦透镜组13。此后,对焦信息计算部32根据聚焦位置和图像信号所生成的对比度信号运算区域B2中对比度值最高的聚焦位置(对焦位置),将控制信号输出给透镜位置控制部33。In the example shown in FIG. 32, in the processing after step S152, the area matching the reference color information is determined to be area B2, and the processing is performed in the order of steps S152, S153, S156, S157, S160, and S161. Specifically, the defocus amount is calculated in the area B2, and the focus lens group 13 is driven in the A direction or the B direction of FIG. Thereafter, the focus information calculation unit 32 calculates the focus position (focus position) with the highest contrast value in the area B2 based on the focus position and the contrast signal generated from the image signal, and outputs a control signal to the lens position control unit 33 .

这样,采用实施方式5的摄像装置,便可记录多个用户想要摄取的频度高的摄取对象的色信息来进行选择,因此不需要每一次改变摄取对象时均记录想要摄取的摄取对象的色信息。因此,用户只要在摄影时选择所希望的摄取对象的色信息即可,因此,能够实现使用方便的聚焦跟随摄像功能。In this way, with the imaging device according to Embodiment 5, it is possible to record and select color information of a plurality of ingestion objects that the user wants to ingest frequently, so it is not necessary to record the ingestion object that the user wants to ingest every time the ingestion object is changed. color information. Therefore, it is only necessary for the user to select the color information of a desired object to be captured at the time of shooting, so that a user-friendly focus-following imaging function can be realized.

而且,通过将参考图像信号存储于图像存储器16的非易失性存储区,记录为参考图像信号后,能够与摄像装置主体的电源通断无关来保存所记录的参考图像。而且,可以根据用户的指令擦除记录的参考图像,也可以取代在非易失性存储区域存储,存储于靠二次电源等工作的易失性存储区域中。而且,可以在将参考图像信号存储于易失性存储区域的情况下,即便电源断开时擦除所记录的参考图像信息,但电源再度接通时再次记录参考图像信号来使其工作。而且,也可以根据用户的指令切换参考图像的显示/不显示。Furthermore, by storing the reference image signal in the nonvolatile storage area of the image memory 16 and recording it as a reference image signal, the recorded reference image can be saved regardless of whether the power of the imaging device main body is turned on or off. Furthermore, the recorded reference image may be erased according to a user's instruction, or may be stored in a volatile storage area that operates by a secondary power supply or the like instead of being stored in a non-volatile storage area. Furthermore, when the reference image signal is stored in the volatile storage area, even if the recorded reference image information is erased when the power is turned off, it can be operated by recording the reference image signal again when the power is turned on again. Furthermore, display/non-display of the reference image may be switched according to a user's instruction.

另外,可以在对摄像装置进行工厂调整时,将多个代表性的色信息记录为默认值,用户能够选择所希望的色信息,也可以删除该默认值,用户记录新的色信息。而且,是以参考色信息和数据表存储于参考色信息设定部、参考图像信号存储于图像存储器的情况为例进行说明的,但参考色信息、数据表、参考图像信号的存储区不限于此。Also, when factory adjustments are made to the imaging device, a plurality of representative color information may be recorded as default values, and the user may select desired color information, or the default value may be deleted, and the user may record new color information. Moreover, the case where the reference color information and the data table are stored in the reference color information setting part, and the reference image signal is stored in the image memory is used as an example to illustrate, but the storage areas of the reference color information, data table, and reference image signal are not limited to this.

各实施方式的摄像装置不限于具体的对应,可进行适当改变。例如,各实施方式的摄像装置,都是以属于用户对快门按钮进行操作来取得静止图像的数字式静物相机的情况为例进行说明的,但也可以适用于操作摄像按钮期间按规定的定时持续取得图像的数字式视频摄像机。这种情况下,即使摄取对象移动也能够进行聚焦跟随。而且,各实施方式的摄像装置也可以用于监视摄像机、车载摄像机、网络摄像头。这种情况下,可能有用户难以操作快门按钮的情况,但也可以按规定的定时自动对快门按钮进行操作,或进行远距离操作等。The imaging device of each embodiment is not limited to a specific correspondence, and can be appropriately changed. For example, the imaging device of each embodiment has been described as an example of a digital still camera in which a user operates a shutter button to obtain a still image, but it can also be applied to a case where the image capture button is operated continuously at a predetermined timing. A digital video camera that acquires images. In this case, focus follow can be performed even if the captured subject moves. Furthermore, the imaging device of each embodiment can also be used for a surveillance camera, a vehicle-mounted camera, and a network camera. In this case, it may be difficult for the user to operate the shutter button, but the shutter button may be operated automatically at a predetermined timing, or remotely operated.

而且,各实施方式的摄像装置是分别具有系统控制器的例子,但也可以适用于将其替代个人电脑、便携式电话终端的控制CPU所形成的摄像系统。此外,各组成部分彼此可任意组合,例如也可以考虑摄影光学系统和摄像元件和其他构成在物理上分离的系统例、以及摄影光学系统、摄像元件、图像处理部和其他构成在物理上分离的系统例等各种组合。Furthermore, the imaging devices of the respective embodiments are examples each having a system controller, but they can also be applied to an imaging system formed by replacing the control CPU of a personal computer or a mobile phone terminal. In addition, the components can be combined arbitrarily. For example, examples of a system in which the photographing optical system, imaging element, and other configurations are physically separated, and examples in which the imaging optical system, imaging element, image processing unit, and other configurations are physically separated are also conceivable. Various combinations such as system examples.

而且,各实施方式的摄像装置,主要是按以色信息作为参考信息具有对摄取对象进行跟随的功能的装置进行说明的,但也可以并非单独使用色信息,而是将摄取对象的亮度值、对比度、电平以及色信息加以组合作为参考信息使用。而且,也可以对参考信息加入使用微弱波(wavelet)变换或离散余弦(DCT)等的摄取对象的高频成分为特征的图案信息。这样,不仅色信息匹配,而且可进行电平、图案匹配,因此,能够进一步提高对用户所希望的摄对象的跟随性能。In addition, the imaging device of each embodiment is mainly described as a device that has the function of following the captured object by using the color information as reference information, but instead of using the color information alone, the brightness value of the captured object, Contrast, level, and color information are combined and used as reference information. Furthermore, pattern information characterized by high-frequency components of the subject to be captured using wavelet transform or discrete cosine (DCT) or the like may be added to the reference information. In this way, not only color information matching but also level and pattern matching can be performed, so that the performance of following a subject desired by the user can be further improved.

而且,各实施方式的摄像装置中,提取参考色信息的时刻可以在白平衡修正的前后,R、G、B增益修正的前后,或γ修正后的任何时刻。Furthermore, in the imaging device of each embodiment, the timing of extracting the reference color information may be at any timing before and after white balance correction, before and after R, G, and B gain correction, or after gamma correction.

此外,上面用各实施方式的摄像装置中的显示部其区域框分割为7×7个进行显示的例子进行说明的,但与该分割数目无关,也可以分割得更细,也可以分割得比较粗。另外,可利用菜单按钮的操作由用户任意设定分割数,也可以从预先设定的区域框中选择多个区域框作为一区域框进行设定。In addition, in the above, the display unit in the imaging device of each embodiment is described as an example in which the area frame is divided into 7×7 and displayed. However, regardless of the number of divisions, the division may be finer or the division may be relatively large. thick. In addition, the number of divisions can be arbitrarily set by the user by operating the menu button, or a plurality of area frames can be selected from preset area frames and set as one area frame.

摄像装置也可以像所谓单镜头反射式相机系统那样,将摄像装置主体与包含摄像光学系统的摄像光学部分可分离构成。这种情况下,摄像装置主体包含摄像元件、图像分割部、色信息计算部、参考色信息设定部、区域选择部、以及对焦信息计算部。但透镜驱动部可以处于摄像装置主体一侧,也可以处于摄像光学部一侧。The imaging device may also be configured in such a way that the main body of the imaging device and the imaging optical part including the imaging optical system are separable like so-called single-lens reflex camera systems. In this case, the imaging device main body includes an imaging element, an image division unit, a color information calculation unit, a reference color information setting unit, an area selection unit, and a focus information calculation unit. However, the lens drive unit may be located on the side of the main body of the imaging device, or may be located on the side of the imaging optical unit.

透镜驱动部处于摄像光学部一侧的情况下,从摄像装置主体的系统控制器向摄像光学部的透镜驱动部,通过基于串行通信等的电子指令使透镜驱动部动作,对聚焦透镜进行移动控制。而且,透镜驱动部处于摄像装置主体一侧的情况下,通过直接或间接使摄像装置主体的透镜驱动部和摄像光学部能够在光轴方向上移动的聚焦透镜在光轴方向上移动的机械连动机构等进行结合,可对聚焦透镜进行移动控制。在使聚焦透镜在光轴方向上间接移动控制的机构中,有例如凸轮、减速机构、将旋转驱动变换为直线驱动的机构等。When the lens driving unit is on the side of the imaging optical unit, the lens driving unit is operated by an electronic command based on serial communication or the like from the system controller of the main body of the imaging device to the lens driving unit of the imaging optical unit to move the focus lens control. Furthermore, when the lens drive unit is on the side of the main body of the imaging device, the lens driving unit of the main body of the imaging device and the focus lens, which is movable in the direction of the optical axis, are directly or indirectly moved in the direction of the optical axis by a mechanical connection. Combining with moving mechanism, etc., the focus lens can be moved and controlled. Mechanisms for indirect movement control of the focus lens in the optical axis direction include, for example, a cam, a reduction mechanism, a mechanism for converting rotational drive to linear drive, and the like.

工业实用性Industrial Applicability

本发明适合于数字式静物相机、数字式视频摄像机等摄像装置。The invention is suitable for photographing devices such as digital still life cameras and digital video cameras.

上面尽管对本发明进行了详细说明,但上述说明在所有方面不过是对本发明的示范,并非是要对其保护范围进行限定。不用说,可以在不脱离本发明保护范围的情况下,进行种种改进、变形。Although the present invention has been described in detail above, the above description is only a demonstration of the present invention in all respects, and is not intended to limit its protection scope. Needless to say, various improvements and modifications can be made without departing from the protection scope of the present invention.

Claims (14)

1. a camera head is exported the electrical picture signal that absorbs object, it is characterized in that,
Comprise:
Comprise and regulate the image pickup optical system that focus lens group that focus uses forms the optical image of described picked-up object;
Absorb the optical image of described picked-up object, be transformed to the imaging apparatus of described electrical picture signal;
Described picture signal is cut apart image segmentation portion for a plurality of zones;
Each described zone is calculated the look information calculations portion of look information respectively according to described picture signal;
Preestablish the reference color information setting portion of reference color information;
The comparative result of each the described look information that is calculated according to described reference color information and described look information calculations portion is selected the regional selection portion at least one zone in each described zone;
Selected described zone is calculated the focusing information calculations portion of the focusing information of described image pickup optical system; And
On optical axis direction, drive the lens drive division of described focus lens group according to described focusing information,
Described look information and described reference color information are by the information that relates to tone and relate in the information of colourity at least a information and form.
2. camera head as claimed in claim 1 is characterized in that, described reference color information is described look information calculations portion according to the picture signal of picked-up in advance, the look information that the desired zone that described image segmentation portion is cut apart calculates.
3. camera head as claimed in claim 1 is characterized in that, comprises image processing part, and this image processing part comprises the correction portion according to the picture signal of the described imaging apparatus output of described reference color information correction,
Described focusing information calculations portion calculates described focusing information according to corrected described picture signal.
4. camera head as claimed in claim 3 is characterized in that, described correction portion is carried out and the different correction of picture signal that is used to show purposes or storage purposes the picture signal of described imaging apparatus output.
5. camera head as claimed in claim 1 is characterized in that,
Described look information calculations portion calculates brightness with regard to each described zone respectively according to described picture signal, also comprises simultaneously:
Judge that the described brightness that calculates is whether greater than the brightness detection unit of setting; And
Forbid that described regional selection portion selects brightness that described brightness detection unit the calculated selection prohibition unit greater than the zone of setting.
6. camera head as claimed in claim 1 is characterized in that,
Also comprise when described lens drive division drives described focus lens group secondary light source to described picked-up object projection fill-in light,
Described look information calculations portion is according to the described described look information that calculates of the color correct of described fill-in light.
7. camera head as claimed in claim 2 is characterized in that,
Comprise the display part of demonstration based on the image of described picture signal,
Also comprise described selected zone,, revise the appointed area colour correction handling part of the color of the described picture signal that described display part should show according to described reference color information.
8. camera head as claimed in claim 1 is characterized in that, also comprises the information storage part of storing a plurality of reference color information.
9. camera head as claimed in claim 8 is characterized in that, also comprises the display part of a plurality of reference color information that show described information storage part storage.
10. camera head as claimed in claim 1 is characterized in that, also comprises the information storage part of a plurality of reference color information of storage and the picture signal that is used to show the image relevant with this reference color information.
11. camera head as claimed in claim 10 is characterized in that, also comprises the display part of at least one side in the image of the described picture signal that demonstration is stored based on described information storage part and the described a plurality of reference color information.
12. camera head as claimed in claim 1 is characterized in that,
Described camera head is separable to be camera head main body and shooting optic,
Described shooting optic comprises described image pickup optical system,
Described camera head main body comprises described imaging apparatus, described image segmentation portion, described look information calculations portion, described reference color information setting portion, described regional selection portion, described focusing information calculations portion and lens drive division.
13. camera head as claimed in claim 1 is characterized in that,
Described camera head is separable to be camera head main body and shooting optic,
Described shooting optic comprises described image pickup optical system and lens drive division,
Described camera head main body comprises described imaging apparatus, described image segmentation portion, described look information calculations portion, described reference color information setting portion, described regional selection portion and described focusing information calculations portion.
14. SIC (semiconductor integrated circuit), be used for the described camera head of claim 1, it is characterized in that, make described image segmentation portion, described look information calculations portion, described reference color information setting portion, described regional selection portion and the work of described focusing information calculations portion at least.
CN200510091705XA 2004-08-05 2005-08-05 Imaging apparatus Active CN1731269B (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2004229530 2004-08-05
JP2004-229530 2004-08-05
JP2004229530 2004-08-05

Publications (2)

Publication Number Publication Date
CN1731269A true CN1731269A (en) 2006-02-08
CN1731269B CN1731269B (en) 2010-10-13

Family

ID=35757020

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200510091705XA Active CN1731269B (en) 2004-08-05 2005-08-05 Imaging apparatus

Country Status (2)

Country Link
US (1) US8035721B2 (en)
CN (1) CN1731269B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100573301C (en) * 2006-09-11 2009-12-23 致伸科技股份有限公司 Automatic focusing method with double main body images
CN102334332A (en) * 2009-02-27 2012-01-25 株式会社理光 Imaging apparatus, image display apparatus, imaging method, method of displaying image and method of correcting position of focusing-area frame
CN104205801A (en) * 2012-03-28 2014-12-10 高通股份有限公司 Method and apparatus for autofocusing an imaging device
CN104427248A (en) * 2013-08-28 2015-03-18 佳能株式会社 Image capture apparatus and method for controlling the same
WO2020244440A1 (en) * 2019-06-04 2020-12-10 深圳市大疆创新科技有限公司 Control device, camera device, camera system, control method and program
CN116017147A (en) * 2022-12-29 2023-04-25 上海哔哩哔哩科技有限公司 Video shooting method, device, computer equipment and storage medium

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8095000B2 (en) 2007-02-15 2012-01-10 Panasonic Corporation Camera system
JP4305540B2 (en) * 2007-03-22 2009-07-29 村田機械株式会社 Image processing device
JP4986764B2 (en) * 2007-08-09 2012-07-25 キヤノン株式会社 Imaging apparatus and control method thereof
JP5046788B2 (en) * 2007-08-10 2012-10-10 キヤノン株式会社 Imaging apparatus and control method thereof
US8537233B1 (en) 2008-10-14 2013-09-17 Marvell International Ltd. Preventing color artifacts in overexposed regions and preserving maximum signals in near-overexposed regions of digital images
WO2010097211A1 (en) * 2009-02-24 2010-09-02 Gatsometer B.V. Method and device for monitoring the state of a traffic light
JP5528139B2 (en) * 2010-02-02 2014-06-25 キヤノン株式会社 Image processing apparatus, imaging apparatus, and image processing program
WO2013042518A1 (en) * 2011-09-22 2013-03-28 富士フイルム株式会社 Digital camera
JP6172973B2 (en) * 2013-03-05 2017-08-02 オリンパス株式会社 Image processing device
CN109561255B (en) * 2018-12-20 2020-11-13 惠州Tcl移动通信有限公司 Terminal photographing method and device and storage medium

Family Cites Families (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2605004B2 (en) 1984-05-28 1997-04-30 キヤノン株式会社 Automatic tracking device in camera
US5204749A (en) 1984-05-25 1993-04-20 Canon Kabushiki Kaisha Automatic follow-up focus detecting device and automatic follow-up device
US5031049A (en) 1984-05-25 1991-07-09 Canon Kabushiki Kaisha Automatic object image follow-up device
JPS62272675A (en) 1986-05-21 1987-11-26 Hitachi Ltd Automatic focussing device
JP2668160B2 (en) 1990-11-30 1997-10-27 シャープ株式会社 Auto focus device
FR2681967B1 (en) * 1991-10-01 1994-11-25 Electronics For Imaging Inc METHOD AND APPARATUS FOR CHANGING THE COLORS OF AN IMAGE USING A COMPUTER.
JP3366357B2 (en) 1992-01-13 2003-01-14 三菱電機株式会社 Video signal processing device and video signal processing method
JP3502978B2 (en) 1992-01-13 2004-03-02 三菱電機株式会社 Video signal processing device
US5488429A (en) 1992-01-13 1996-01-30 Mitsubishi Denki Kabushiki Kaisha Video signal processor for detecting flesh tones in am image
US5638136A (en) 1992-01-13 1997-06-10 Mitsubishi Denki Kabushiki Kaisha Method and apparatus for detecting flesh tones in an image
JPH06230453A (en) 1993-02-02 1994-08-19 Nikon Corp Camera provided with object tracking function
JPH07301842A (en) * 1994-05-02 1995-11-14 Asahi Optical Co Ltd Electronic still camera
WO1997000575A1 (en) 1995-06-19 1997-01-03 Sony Corporation Object recognizing device and image pick-up device
US6362852B2 (en) * 1996-01-11 2002-03-26 Sony Corporation Focus control apparatus and method for use with a video camera or the like
JPH09127408A (en) 1996-09-13 1997-05-16 Minolta Co Ltd Image sensor and distance measuring instrument using it
JPH11142725A (en) 1997-11-13 1999-05-28 Casio Comput Co Ltd Camera apparatus and autofocusing control method
JPH11327030A (en) 1998-05-15 1999-11-26 Canon Inc Device and method for controlling camera and storage medium
JP2001249266A (en) * 2000-03-02 2001-09-14 Olympus Optical Co Ltd Range finder for camera
JP2002182106A (en) 2000-12-18 2002-06-26 Ricoh Co Ltd Focusing control system for digital still video camera
JP3877544B2 (en) 2001-05-11 2007-02-07 三洋電機株式会社 Digital camera
JP4122865B2 (en) 2002-07-02 2008-07-23 コニカミノルタオプト株式会社 Autofocus device
JP4039147B2 (en) 2002-07-03 2008-01-30 コニカミノルタオプト株式会社 Imaging device
KR100474312B1 (en) * 2002-12-12 2005-03-10 엘지전자 주식회사 Automatic zooming method for digital camera
JP2004215235A (en) * 2002-12-18 2004-07-29 Seiko Epson Corp Adjust memory color of output image
US20050212950A1 (en) * 2004-03-26 2005-09-29 Chinon Kabushiki Kaisha Focal length detecting method, focusing device, image capturing method and image capturing apparatus

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100573301C (en) * 2006-09-11 2009-12-23 致伸科技股份有限公司 Automatic focusing method with double main body images
CN102334332A (en) * 2009-02-27 2012-01-25 株式会社理光 Imaging apparatus, image display apparatus, imaging method, method of displaying image and method of correcting position of focusing-area frame
CN102334332B (en) * 2009-02-27 2014-06-25 株式会社理光 Imaging apparatus, image display apparatus, imaging method, method of displaying image and method of correcting position of focusing-area frame
US8823861B2 (en) 2009-02-27 2014-09-02 Ricoh Company, Ltd. Imaging apparatus, image display apparatus, imaging method, method of displaying image and method of correcting position of focusing-area frame
CN104205801A (en) * 2012-03-28 2014-12-10 高通股份有限公司 Method and apparatus for autofocusing an imaging device
CN104205801B (en) * 2012-03-28 2018-06-26 高通股份有限公司 For the method and apparatus that imaging device is made to focus on automatically
US9866755B2 (en) 2013-08-28 2018-01-09 Canon Kabushiki Kaisha Image capture apparatus and method for controlling the same
CN104427248B (en) * 2013-08-28 2018-02-23 佳能株式会社 Camera device and its control method
CN104427248A (en) * 2013-08-28 2015-03-18 佳能株式会社 Image capture apparatus and method for controlling the same
WO2020244440A1 (en) * 2019-06-04 2020-12-10 深圳市大疆创新科技有限公司 Control device, camera device, camera system, control method and program
CN112313574A (en) * 2019-06-04 2021-02-02 深圳市大疆创新科技有限公司 Control device, imaging system, control method, and program
CN112313574B (en) * 2019-06-04 2022-04-05 深圳市大疆创新科技有限公司 Control device, imaging system, control method, and program
CN116017147A (en) * 2022-12-29 2023-04-25 上海哔哩哔哩科技有限公司 Video shooting method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
US20060028577A1 (en) 2006-02-09
CN1731269B (en) 2010-10-13
US8035721B2 (en) 2011-10-11

Similar Documents

Publication Publication Date Title
CN1275456C (en) Electronic camera
CN1731269A (en) camera device
CN1822660A (en) Image processing system, projector and image processing method
CN1893561A (en) Image pickup apparatus, control method, and program
CN1678033A (en) Camera device, its control method, program, and storage medium
CN1282030C (en) Taken image regulator and camera device
CN101031032A (en) Image pick-up apparatus, exposure controlling method, and computer program
CN1812492A (en) Digital still camera, image reproducing apparatus, face image display apparatus, and methods of controlling same
CN1822661A (en) Image processing system, projector and image processing method
CN1230783C (en) Image processor and its method method, and camera and its control method
CN1941851A (en) Image taking apparatus and program
CN1933558A (en) Image processing apparatus and method, and program therefor
CN1641742A (en) Image displaying control method and apparatus thereof
CN1658787A (en) Electronic endoscope device
CN1909603A (en) Image processing method and imaging apparatus
CN1469184A (en) Automatic focasing device and image inputting device
CN1262106C (en) Device and method for selecting output object image data
JP5553230B2 (en) Imaging apparatus and imaging processing method
CN1428645A (en) Focusing control device, camera-shooting device, focus method, program and storage medium
CN1892756A (en) Projection image position adjustment method
CN1744675A (en) image input device
CN1573283A (en) Image measuring method and image measuring device
CN1573503A (en) Image pickup device, image pickup system and image pickup method
CN1580934A (en) Picture frame width regulating device, shooting device and developing and printing device
CN101061704A (en) Color adjusting device and method

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