JP2006349908A - Imaging apparatus and imaging method - Google Patents

Imaging apparatus and imaging method Download PDF

Info

Publication number
JP2006349908A
JP2006349908A JP2005174881A JP2005174881A JP2006349908A JP 2006349908 A JP2006349908 A JP 2006349908A JP 2005174881 A JP2005174881 A JP 2005174881A JP 2005174881 A JP2005174881 A JP 2005174881A JP 2006349908 A JP2006349908 A JP 2006349908A
Authority
JP
Japan
Prior art keywords
pixel addition
filter
unit
subject
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005174881A
Other languages
Japanese (ja)
Inventor
Kei Ito
圭 伊藤
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2005174881A priority Critical patent/JP2006349908A/en
Publication of JP2006349908A publication Critical patent/JP2006349908A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Focusing (AREA)
  • Automatic Focus Adjustment (AREA)
  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an imaging apparatus and an imaging method by which AF focusing operation is widely performed without trouble from high luminance to low luminance when changing a driving method for a CCD in accordance with photographing environment. <P>SOLUTION: The imaging apparatus has: an imaging device 101 to receive a subject image by light from a subject passing through a focus lens 72a; a filter selection means 104 to select a filter which transmits the frequency component of the subject image through; an automatic focus detection means 104 to detect a focus from image data based on a signal from the imaging device 101 obtained by moving the focus lens 72a; and a pixel addition means 104 to perform driving for pixel addition of the imaging device 101, and uses the pixel addition means 104 in accordance with a photographing condition. The filter of the filter selection means 104 is changed in accordance with the pixel addition state of the pixel addition means 104. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、自動焦点検出、特に被写体の輝度に応じた自動焦点検出を行う撮像装置及びその撮像方法に関し、例えば、デジタルスチルカメラ等の電子的な撮像装置の改良に関する。   The present invention relates to an image pickup apparatus that performs automatic focus detection, in particular, automatic focus detection according to the luminance of a subject, and an image pickup method thereof, and relates to an improvement of an electronic image pickup apparatus such as a digital still camera.

デジタルカメラ等の電子撮像装置には、被写体に対して自動的に焦点を合わせるオートフォーカス(以下「AF」という)装置を搭載したものが知られている。このAF装置のAF制御方法として、山登りAF制御が広く用いられている。この山登りAF制御は、1フィールド又は1フレーム毎に得られる映像信号から高周波成分又は近接画素の輝度差の積分値を求め、この輝度差の積分値を合焦度合いを示すAF評価値とみなしている。   2. Description of the Related Art An electronic imaging device such as a digital camera is known that includes an autofocus (hereinafter referred to as “AF”) device that automatically focuses on a subject. As an AF control method of this AF apparatus, hill-climbing AF control is widely used. In this hill-climbing AF control, an integrated value of a luminance difference between high-frequency components or adjacent pixels is obtained from a video signal obtained for each field or frame, and the integrated value of the luminance difference is regarded as an AF evaluation value indicating the degree of focus. Yes.

そして、合焦状態にあるときには被写体のエッジ部分がはっきりしているためAF評価価値が大きくなり、非合焦状態のときにはAF評価値が小さくなる。   When the subject is in focus, the AF evaluation value increases because the edge portion of the subject is clear, and when the subject is out of focus, the AF evaluation value decreases.

そこで、AF動作実行時に、オートフォーカスレンズを移動させながらこのAF評価値を順次取得し、AF評価値が最も大きくなったレンズ位置、すなわち、ピーク位置を合焦点としてレンズの移動を停止させる(例えば、特許文献1参照)。   Therefore, when the AF operation is performed, the AF evaluation values are sequentially acquired while moving the autofocus lens, and the lens position at which the AF evaluation value is maximized, that is, the peak position is used as a focal point to stop the movement of the lens (for example, , See Patent Document 1).

特に、デジタルスチルカメラ等のスチル画像を撮像する撮像装置では、一般的にビデオカメラの動画を撮影する装置に較べて厳密な合焦が要求されるので、撮影動作のたびにAF動作を行うか、又は記録モード時に常に合焦動作を繰り返し行っている。   In particular, an imaging apparatus that captures a still image, such as a digital still camera, generally requires strict focusing as compared to an apparatus that captures a moving image of a video camera. Or, the focusing operation is always repeated in the recording mode.

また、デジタル画像データに応じた輝度データを自動露出評価値(「AE評価値」)として出力し、AE評価値が所定値よりも小さい場合、被写体が暗い場合に、AF評価値を取得するエリアを大きくしてAF制御する方式も知られている(例えば、特許文献2参照)。   Also, luminance data corresponding to the digital image data is output as an automatic exposure evaluation value (“AE evaluation value”), and an AF evaluation value is acquired when the AE evaluation value is smaller than a predetermined value or the subject is dark. There is also known a method of increasing AF and performing AF control (see, for example, Patent Document 2).

更に、AFエリア内の被写体輝度が低輝度であった場合に、垂直画素加算処理を行うことにより通常よりも1段又は2段明るくして、AF制御を実行する方法も知られている(例えば、特許文献3参照)。
特公昭39−5265号公報 特開2003−230039号公報 特開平5−344398号公報
Furthermore, when the subject brightness in the AF area is low, a method is also known in which AF control is performed by performing vertical pixel addition processing to make it one or two steps brighter than usual (for example, And Patent Document 3).
Japanese Examined Patent Publication No. 39-5265 Japanese Patent Laid-Open No. 2003-230039 JP-A-5-344398

しかしながら、特許文献1に開示のものは、低輝度時や低コントラストの被写体を撮影する際には、AF評価値の山が低かったり、低コントラストが原因でAF評価データ中にノイズが生じ、ピーク(山)が複数個出現することがあり、被写体に正確に合焦できないという問題がある。   However, the one disclosed in Patent Document 1 has a low peak of AF evaluation values when shooting a low-luminance or low-contrast object, or noise occurs in AF evaluation data due to low contrast, resulting in a peak. A plurality of (mountains) may appear, and there is a problem that the subject cannot be accurately focused.

これに対して、特許文献2に開示のものは、上記問題を解消できるが、意図せずにAFエリアが拡大されると、撮影者が撮影を意図する被写体に合焦せずに背景に合焦するという不都合がある。   On the other hand, the one disclosed in Patent Document 2 can solve the above problem, but if the AF area is unintentionally enlarged, the photographer focuses on the background without focusing on the subject intended for photographing. There is an inconvenience of being burnt.

また、特許文献3に開示のものは、特許文献1、特許文献2に開示の技術が有する問題点を解消することはできるが、画素加算に基づき解像度が劣化するため、低周波成分が大きくなり、AF評価値のピークを検出することが困難であるという問題点がある。   Moreover, although the thing currently disclosed in patent document 3 can eliminate the problem which the technique disclosed in patent document 1 and patent document 2 has, since the resolution deteriorates based on pixel addition, the low frequency component becomes large. There is a problem that it is difficult to detect the peak of the AF evaluation value.

本発明は、上記の事情に鑑みて為されたもので、撮影環境に応じて、CCDの駆動方法を変更した際に、高輝度から低輝度に渡って幅広くAF合焦動作を支障なく実行することが可能な撮像装置及び撮像方法を提供することにある。   The present invention has been made in view of the above circumstances. When the CCD driving method is changed according to the shooting environment, a wide range of AF focusing operations can be performed from high brightness to low brightness without any trouble. It is an object of the present invention to provide an imaging apparatus and an imaging method that can perform the above-described process.

請求項1に記載の撮像装置は、フォーカスレンズを通過してきた被写体からの光により被写体像を受像する撮像素子と、被写体像の周波数成分を透過させるフィルタを選択するフィルタ選択手段と、前記フォーカスレンズを移動させることにより得られた撮像素子からの信号に基づく画像データから焦点を検出する自動焦点検出手段と、前記撮像素子の画素加算駆動を可能とする画素加算手段とを有し、撮影条件に応じて前記画素加算手段を用いるものにおいて、前記画素加算手段の画素加算状態に応じて前記フィルタ選択手段のフィルタを変更することを特徴とする。   The imaging apparatus according to claim 1, an imaging element that receives a subject image by light from a subject that has passed through a focus lens, a filter selection unit that selects a filter that transmits a frequency component of the subject image, and the focus lens An automatic focus detection unit that detects a focus from image data based on a signal from an image sensor obtained by moving the image sensor, and a pixel addition unit that enables pixel addition drive of the image sensor. Accordingly, the filter using the pixel adder is changed according to the pixel addition state of the pixel adder.

請求項2に記載の撮像装置は、フォーカスレンズを通過してきた被写体からの光により被写体像を受像する撮像素子と、被写体像の周波数成分を透過させるフィルタを選択するフィルタ選択手段と、前記フォーカスレンズを移動させることにより得られた撮像信号からの信号に基づく画像データから焦点を検出する自動焦点検出手段と、前記撮像素子の画素加算駆動を可能とする画素加算手段と、被写体輝度を測定する測光手段とを有し、該測光手段により得られる測光結果に応じて前記画素加算手段を用いる撮像装置において、
前記画素加算手段の画素加算状態に応じて前記フィルタ選択手段のフィルタを変更することを特徴とする。
The imaging apparatus according to claim 2, an imaging element that receives a subject image by light from a subject that has passed through a focus lens, a filter selection unit that selects a filter that transmits a frequency component of the subject image, and the focus lens Automatic focus detection means for detecting a focus from image data based on a signal from an imaging signal obtained by moving the image sensor, pixel addition means for enabling pixel addition driving of the imaging element, and photometry for measuring subject luminance And an image pickup apparatus using the pixel addition unit according to a photometric result obtained by the photometric unit,
The filter of the filter selection unit is changed according to the pixel addition state of the pixel addition unit.

請求項3に記載の撮像装置は、前記自動焦点検出手段により焦点検出を行った結果、焦点検出可能か否かを判断する検出結果判断手段を有し、前記画素加算手段の画素加算状態に応じて前記検出結果判断手段の閾値を変更することを特徴とする。   The imaging apparatus according to claim 3, further comprising: a detection result determination unit that determines whether focus detection is possible as a result of performing focus detection by the automatic focus detection unit, according to a pixel addition state of the pixel addition unit. The threshold value of the detection result judging means is changed.

請求項4に記載の撮像装置は、前記画素加算手段によって画素加算を実行する場合、前記フィルタ選択手段のフィルタをより一層高域のみを透過させるフィルタに、前記フィルタ選択手段により選択されるフィルタを変更することを特徴とする。   The image pickup apparatus according to claim 4, wherein when the pixel addition is performed by the pixel addition unit, a filter selected by the filter selection unit is used as a filter that transmits only a higher frequency through the filter of the filter selection unit. It is characterized by changing.

請求項5に記載の撮像装置は、前記画素加算手段によって画素加算を実行しない場合、前記フィルタ選択手段のフィルタを低域側をも透過させるフィルタに、前記フィルタ選択手段により選択されるフィルタを変更することを特徴とする。   6. The imaging apparatus according to claim 5, wherein when pixel addition is not performed by the pixel addition unit, the filter selected by the filter selection unit is changed to a filter that allows the filter of the filter selection unit to pass through the low frequency side. It is characterized by doing.

請求項6に記載の撮像装置は、前記画素加算手段によって画素加算を実行する場合、前記検出結果判断手段の閾値を下げることを特徴とする。   According to a sixth aspect of the present invention, when pixel addition is performed by the pixel addition unit, a threshold value of the detection result determination unit is lowered.

請求項7に記載の撮像装置は、前記画素加算駆動手段によって画素加算を実行しない場合、前記検出結果判断手段の閾値を上げることを特徴とする。   The imaging apparatus according to claim 7 is characterized in that, when pixel addition is not executed by the pixel addition driving unit, a threshold value of the detection result determining unit is increased.

請求項8に記載の撮像方法は、フォーカスレンズを通過してきた被写体からの光による被写体像を撮像素子により受像するステップと、被写体像の周波数成分を透過させるフィルタを選択するフィルタ選択ステップと、前記フォーカスレンズを移動させることにより得られた撮像素子からの信号に基づく画像データから焦点を検出する自動焦点検出ステップと、前記撮像素子の画素加算駆動を可能とする画素加算ステップと、撮影条件に応じて前記画素加算ステップを実行させるステップと、前記画素加算ステップの画素加算状態に応じて前記フィルタ選択ステップのフィルタを変更するステップとを有することを特徴とする。   The imaging method according to claim 8, wherein the imaging device receives a subject image by light from a subject that has passed through a focus lens, a filter selection step that selects a filter that transmits a frequency component of the subject image, and An automatic focus detection step for detecting a focus from image data based on a signal from an image pickup device obtained by moving a focus lens, a pixel addition step for enabling pixel addition drive of the image pickup device, and according to a shooting condition A step of executing the pixel addition step, and a step of changing a filter of the filter selection step according to a pixel addition state of the pixel addition step.

請求項9に記載の撮像方法は、フォーカスレンズを通過してきた被写体からの光による被写体像を撮像素子により受像するステップと、被写体像の周波数成分を透過させるフィルタを選択するフィルタ選択ステップと、前記フォーカスレンズを移動させることにより得られた撮像素子からの信号に基づく画像データから焦点を検出する自動焦点検出ステップと、前記撮像素子の画素加算駆動を可能とする画素加算ステップと、前記被写体の輝度を測定する測光ステップと、前記測光ステップで得られた測光結果に応じて前記画素加算ステップを実行させるステップと、前記画素加算手段の画素加算状態に応じて前記フィルタ選択ステップのフィルタを変更するステップとを有することを特徴とする。   The imaging method according to claim 9, wherein the imaging device receives an image of a subject by light from the subject that has passed through a focus lens, a filter selection step of selecting a filter that transmits a frequency component of the subject image, and An automatic focus detection step for detecting a focus from image data based on a signal from an image sensor obtained by moving a focus lens, a pixel addition step for enabling pixel addition drive of the image sensor, and a luminance of the subject A step of measuring the pixel, a step of executing the pixel addition step in accordance with the photometric result obtained in the photometry step, and a step of changing the filter in the filter selection step in accordance with the pixel addition state of the pixel addition means It is characterized by having.

請求項10に記載の撮像方法は、前記自動焦点検出手段により焦点検出を行った結果、焦点検出が可能か否かを判断する検出出結果判断ステップを有し、前記画素加算ステップの画素加算状態に応じて前記検出結果判断手段の閾値を変更することを特徴とする。   The imaging method according to claim 10, further comprising a detection result determination step for determining whether or not focus detection is possible as a result of performing focus detection by the automatic focus detection means, and the pixel addition state of the pixel addition step The threshold value of the detection result judging means is changed according to the above.

請求項11に記載の撮像方法は、前記画素加算手段によって画素加算を実行する場合、前記フィルタ選択手段のフィルタをより一層高域のみを透過させるフィルタに、前記フィルタ選択手段により選択されるフィルタを変更することを特徴とする。   The imaging method according to claim 11, wherein when pixel addition is performed by the pixel addition unit, a filter selected by the filter selection unit is used as a filter that transmits only a higher frequency through the filter of the filter selection unit. It is characterized by changing.

請求項12に記載の撮像方法は、前記画素加算手段によって画素加算を実行しない場合、前記フィルタ選択手段のフィルタを低域側をも透過させるフィルタに、前記フィルタ選択手段により選択されるフィルタを変更することを特徴とする。   13. The imaging method according to claim 12, wherein when the pixel addition is not performed by the pixel addition unit, the filter selected by the filter selection unit is changed to a filter that allows the filter of the filter selection unit to pass through the low frequency side. It is characterized by doing.

請求項13に記載の撮像方法は、前記画素加算ステップによって画素加算を実行する場合、前記検出結果判断手段の閾値を下げることを特徴とする。   The imaging method according to a thirteenth aspect is characterized in that, when pixel addition is executed in the pixel addition step, a threshold value of the detection result determination unit is lowered.

請求項14に記載の撮像方法は、前記画素加算手段によって画素加算を実行しない場合、前記検出結果判断手段の閾値を上げることを特徴とする。   The imaging method according to claim 14 is characterized in that, when pixel addition is not performed by the pixel addition unit, a threshold value of the detection result determination unit is increased.

本発明によれば、撮影環境に応じて、CCDの駆動方法を変更した際に、高輝度から低輝度に渡って幅広くAF合焦動作を支障なく実行することが可能である。   According to the present invention, when the CCD driving method is changed according to the photographing environment, it is possible to perform AF focusing operation widely from high luminance to low luminance without any trouble.

以下、本発明の実施例を図面に従って説明する。   Embodiments of the present invention will be described below with reference to the drawings.

図1は本発明に係わる撮像装置としてのデジタルスチルカメラ(以下、カメラともいう)の一例を示す正面図、図2はその背面図、図3はその上面図、図4はそのデジタルカメラの内部のシステム構成の概要を示すブロック回路図である。   1 is a front view showing an example of a digital still camera (hereinafter also referred to as a camera) as an imaging apparatus according to the present invention, FIG. 2 is a rear view thereof, FIG. 3 is a top view thereof, and FIG. 4 is an internal view of the digital camera. It is a block circuit diagram which shows the outline | summary of a system configuration | structure.

図1において、カメラの上面には、レリーズスイッチ(レリーズシャッター)SW1、モードダイアルSW2、図3に示すサブ液晶ディスプレイ(以下、サブLCDともいう)1が配設されている。   In FIG. 1, a release switch (release shutter) SW1, a mode dial SW2, and a sub liquid crystal display (hereinafter also referred to as a sub LCD) 1 shown in FIG.

カメラの正面には、撮影レンズを含む鏡胴ユニット7、光学ファインダ4、ストロボ発光部3、測距ユニット5、リモートコントロール受光部6、メモリカード/電池装填室の蓋2が設けられている。   In front of the camera, a lens barrel unit 7 including a photographing lens, an optical finder 4, a strobe light emitting unit 3, a distance measuring unit 5, a remote control light receiving unit 6, and a lid 2 for a memory card / battery loading chamber are provided.

カメラの背面には、図2に示すように電源スイッチ13、LCDモニタ10、AFLED8、ストロボLED9、光学ファインダ4、広角方向ズームスイッチSW3、望遠方向ズームスイッチSW4、セルフタイマの設定・解除スイッチSW5、メニュースイッチSW6、上移動・ストロボセットスイッチSW7、右移動スイッチSW8、ディスプレイスイッチSW9、下移動・マクロスイッチSW10、左移動・画像確認スイッチSW11、OKスイッチSW12、クイックアクセススイッチSW13が設けられている。   On the back of the camera, as shown in FIG. 2, a power switch 13, an LCD monitor 10, an AF LED 8, a strobe LED 9, an optical viewfinder 4, a wide angle direction zoom switch SW3, a telephoto direction zoom switch SW4, a self-timer setting / release switch SW5, A menu switch SW6, an upward movement / strobe set switch SW7, a rightward movement switch SW8, a display switch SW9, a downward movement / macro switch SW10, a leftward movement / image confirmation switch SW11, an OK switch SW12, and a quick access switch SW13 are provided.

これらの各部材の機能及び作用は公知であるので、その説明は省略することにし、次にカメラの内部のシステム構成を説明する。   Since the functions and operations of these members are well known, the description thereof will be omitted, and the system configuration inside the camera will be described next.

その図4において、104はデジタルスチルカメラプロセッサ(以下、プロセッサともいう)である。   In FIG. 4, reference numeral 104 denotes a digital still camera processor (hereinafter also referred to as a processor).

プロセッサ104は、CCD1信号処理ブロック1041、CCD2信号処理ブロック1042、CPUブロック1043、ローカルSRAM1044、USBブロック1045、シリアルブロック1046、JPEG・CODECブロック1047、RESIZEブロック1048、TV信号表示ブロック1049、メモリカードコントローラブロック10410を有している。これらの各ブロックは相互にバスラインで接続されている。   The processor 104 includes a CCD1 signal processing block 1041, a CCD2 signal processing block 1042, a CPU block 1043, a local SRAM 1044, a USB block 1045, a serial block 1046, a JPEG / CODEC block 1047, a RESIZE block 1048, a TV signal display block 1049, a memory card controller. Block 10410 is included. Each of these blocks is connected to each other via a bus line.

プロセッサ104の外部にはRAW−RGB画像データ、YUV画像データ、JPEG画像データを保存するSDRAM103が配置され、このSDRAM103はプロセッサ104にメモリコントローラ(図示を略す)、バスラインを介して接続されている。   An SDRAM 103 for storing RAW-RGB image data, YUV image data, and JPEG image data is arranged outside the processor 104. The SDRAM 103 is connected to the processor 104 via a memory controller (not shown) and a bus line. .

プロセッサ104の外部には、更に、RAM107、内蔵メモリ120、制御プログラムが格納されたROM108が設けられ、これらもバスラインによってプロセッサ104に接続されている。   Further, a RAM 107, a built-in memory 120, and a ROM 108 storing a control program are provided outside the processor 104, and these are also connected to the processor 104 by a bus line.

鏡筒ユニット7は、ズームレンズ71aを有するズーム光学系71、フォーカスレンズ72aを有するフォーカス光学系72、絞り73aを有する絞りユニット73、メカニカルシャッター74aを有するメカニカルシャッターユニット74を備えている。   The lens barrel unit 7 includes a zoom optical system 71 having a zoom lens 71a, a focus optical system 72 having a focus lens 72a, a diaphragm unit 73 having a diaphragm 73a, and a mechanical shutter unit 74 having a mechanical shutter 74a.

ズーム光学系71、フォーカス光学系72、絞りユニット73、メカニカルシャッターユニット74は、ズームモータ71b、フォーカスモータ72b、絞りモータ73b、メカニカルシャッターモータ74bによってそれぞれ駆動されるようになっている。   The zoom optical system 71, the focus optical system 72, the aperture unit 73, and the mechanical shutter unit 74 are driven by a zoom motor 71b, a focus motor 72b, an aperture motor 73b, and a mechanical shutter motor 74b, respectively.

これらの各モータはモータドライバ75によって駆動され、このモータドライバ75はプロセッサ104のCPUブロック1043によって制御される。   Each of these motors is driven by a motor driver 75, and the motor driver 75 is controlled by a CPU block 1043 of the processor 104.

鏡胴ユニット7の各レンズ系によりCCD101に被写体像が結像され、CCD101は被写体像を画像信号に変換してF/E−IC102に画像信号を出力する。F/E−IC102は周知のようにCDS1021、AGC1022、A/D変換部1023から構成されている。   A subject image is formed on the CCD 101 by each lens system of the lens barrel unit 7, and the CCD 101 converts the subject image into an image signal and outputs the image signal to the F / E-IC 102. As is well known, the F / E-IC 102 includes a CDS 1021, an AGC 1022, and an A / D conversion unit 1023.

F/E−IC102はその画像信号に所定の処理を施し、デジタル信号に変換してプロセッサ104のCCD1信号処理ブロック1041に向けてこのデジタル信号を出力する。   The F / E-IC 102 performs predetermined processing on the image signal, converts the image signal into a digital signal, and outputs the digital signal to the CCD 1 signal processing block 1041 of the processor 104.

これらの信号制御処理は、プロセッサ104のCCD1信号処理ブロック1041から出力されるVD・HD信号によりTG1024を介して行われる。   These signal control processes are performed via the TG 1024 by the VD / HD signal output from the CCD1 signal processing block 1041 of the processor 104.

プロセッサ104のCPUブロック1043は、音声記録回路1151による音声記録動作を制御するようになっている。音声記録回路1151はマイクロフォンで1153で変換された音声記録信号のマイクロフォンアンプリファイア1152による増幅信号を指令に応じて記録する。CPUブロック1043は、音声再生回路1161の動作も制御する。音声再生回路1161は、指令により適宜メモリに記憶されている音声信号を再生してオーディオアンプリファイア1162に出力し、スピーカ1163から音声を出力させるように構成されている。   The CPU block 1043 of the processor 104 controls the sound recording operation by the sound recording circuit 1151. The voice recording circuit 1151 records the amplified signal by the microphone amplifier 1152 of the voice recording signal converted by the microphone 1153 according to the command. The CPU block 1043 also controls the operation of the audio reproduction circuit 1161. The audio reproduction circuit 1161 is configured to reproduce an audio signal stored in the memory as appropriate according to a command, output the audio signal to the audio amplifier 1162, and output the audio from the speaker 1163.

CPUブロック1043は、更に、ストロボ回路114を制御することによってストロボ発光部3から照明光を発光させる。これに加えて、CPUブロック1043は、測距ユニット5も制御する。   The CPU block 1043 further controls the strobe circuit 114 to emit illumination light from the strobe light emitting unit 3. In addition to this, the CPU block 1043 also controls the distance measuring unit 5.

CPUブロック1043は、プロセッサ104のサブCPU109に接続され、サブCPU109はCCDドライバ111を介してサブLCD1による表示制御を行う。サブCPU109は、更に、AFLED8、ストロボLED9、リモートコントロール受光部6、操作スイッチSW1〜SW13からなる操作キーユニット、ブザー113に接続されている。   The CPU block 1043 is connected to the sub CPU 109 of the processor 104, and the sub CPU 109 performs display control by the sub LCD 1 via the CCD driver 111. The sub CPU 109 is further connected to the buzzer 113, an operation key unit including the AF LED 8, the strobe LED 9, the remote control light receiving unit 6, and the operation switches SW1 to SW13.

USBブロック1045はUSBコネクタ122に接続され、シリアルブロック1046はシリアルドライバ回路1231を介してRS−232Cコネクタに接続されている。TV表示ブロック1049は、LCDドライバ117を介してLCDモニタ10に接続されると共に、ビデオアンプリファイア118を介してビデオジャック119に接続されている。メモリカードコントローラブロック10410はメモリカードスロット121のカード接点との接点に接続されている。   The USB block 1045 is connected to the USB connector 122, and the serial block 1046 is connected to the RS-232C connector via the serial driver circuit 1231. The TV display block 1049 is connected to the LCD monitor 10 via the LCD driver 117 and also connected to the video jack 119 via the video amplifier 118. The memory card controller block 10410 is connected to a contact with the card contact of the memory card slot 121.

次に、本発明に係わるカメラの一般的な動作概要を説明する。   Next, a general operation outline of the camera according to the present invention will be described.

モードダイアルSW2を記録モードに設定すると、カメラが記録モードで起動される。モードダイアルSW2の設定は、図3に示すモードスイッチの状態が記録モードでオンになったか否かをプロセッサ104が検知することにより行う。   When the mode dial SW2 is set to the recording mode, the camera is activated in the recording mode. The mode dial SW2 is set by the processor 104 detecting whether or not the mode switch shown in FIG. 3 is turned on in the recording mode.

プロセッサ104はモータドライバ75を制御し、鏡筒ユニット7を撮影可能な位置に移動させる。更に、プロセッサ104はCCD101、F/E−IC102、LCDディスプレイ10等の各回路に電源を投入して動作を開始させる。各回路の電源が投入されると、ファインダーモードの動作が開始される。   The processor 104 controls the motor driver 75 to move the lens barrel unit 7 to a position where photographing can be performed. Further, the processor 104 turns on power to each circuit such as the CCD 101, the F / E-IC 102, the LCD display 10 and the like to start operation. When the power of each circuit is turned on, the operation in the finder mode is started.

ファインダーモードでは、各レンズ系を通して撮像素子(CCD)101に入射した光が光電変換されて、R、G、Bのアナログ信号としてCDS回路1021、A/D変換器1023に送信される。A/D変換器1023はそのアナログ信号をデジタル変換し、そのデジタル信号はデジタル信号処理IC(SDRAM103)内のYUV変換部でYUV信号に変換され、図示を略すメモリコントローラによってフレームメモリに書き込まれる。   In the finder mode, light incident on the image sensor (CCD) 101 through each lens system is photoelectrically converted and transmitted to the CDS circuit 1021 and the A / D converter 1023 as R, G, and B analog signals. The A / D converter 1023 converts the analog signal into a digital signal, and the digital signal is converted into a YUV signal by a YUV conversion unit in the digital signal processing IC (SDRAM 103) and written into the frame memory by a memory controller (not shown).

このYUV信号はメモリコントローラによって読み出され、TV表示信号ブロック1049を介してTV(図示を略す)やLCDモニタ10へ送信され、これにより撮影画像の表示が行われる。この処理は1/30秒間隔で行われ、1/30秒ごとに更新されるファインダーモードの表示となる。   The YUV signal is read by the memory controller and transmitted to the TV (not shown) and the LCD monitor 10 via the TV display signal block 1049, thereby displaying the captured image. This process is performed at 1/30 second intervals, and the viewfinder mode is updated every 1/30 seconds.

CCD101は、読み出す際のモードによって画素加算処理を行うことができる。この画素加算には、図5(a)に示すように、読み出された垂直2画素分を加算するものや図5(b)に示すように読み出された垂直2画素分と水平2画素分との合計4画素分を加算することにより、垂直のみの画素加算よりも2倍の出力の電気信号を送信できるようにしたものが知られている。   The CCD 101 can perform pixel addition processing depending on the reading mode. In this pixel addition, as shown in FIG. 5A, the read vertical two pixels are added, or the read vertical two pixels and horizontal two pixels as shown in FIG. 5B. It is known that an electric signal having an output twice as high as that of vertical only pixel addition can be transmitted by adding a total of four pixels.

通常、ファインダーモードで何も設定していない状態、デフォルトでは、画素加算として垂直画素加算駆動方法によってCCD101を駆動し、垂直加算処理が実行されるようになっている。   Normally, nothing is set in the finder mode, and by default, the CCD 101 is driven by the vertical pixel addition driving method as pixel addition, and vertical addition processing is executed.

デジタル信号処理IC(SDRAM103)のCCD I/Fブロック(図示を略す)内に取り込まれたデジタルRGB信号により、画像の合焦度合いを示すAF評価値、露光状態を示すAE評価値が算出される。   An AF evaluation value indicating the degree of focus of the image and an AE evaluation value indicating the exposure state are calculated based on the digital RGB signal captured in the CCD I / F block (not shown) of the digital signal processing IC (SDRAM 103). .

AF評価値データはCCD101の所定領域区間を特徴データとしてCPUブロック1043に読み出されて、AF処理に利用される。AF評価値は周波数成分抽出フィルタの出力積分値、近接画素の輝度差の積分値によって作成される。   The AF evaluation value data is read to the CPU block 1043 as a characteristic data of a predetermined area section of the CCD 101 and used for AF processing. The AF evaluation value is created by the output integrated value of the frequency component extraction filter and the integrated value of the luminance difference between adjacent pixels.

周波数成分抽出フィルタには図6(b)に示す高周波用フィルタ(イ)と図6(a)に示す低周波用フィルタ(ロ)との2種類があり、これらの高周波用フィルタ(イ)、低周波用フィルタ(ロ)は画像処理用のフィルタである。また、これらのフィルタ(イ)、(ロ)を掛け合わせて構成されたフィルタ(ハ)も知られている。   There are two types of frequency component extraction filters, a high frequency filter (A) shown in FIG. 6B and a low frequency filter (B) shown in FIG. 6A. These high frequency filters (A), The low frequency filter (b) is a filter for image processing. In addition, a filter (C) configured by multiplying these filters (A) and (B) is also known.

高周波用フィルタ(イ)は画素間の輝度差を強調するハイパスフィルタであり、近接する画素の輝度データに例えば「−1」「2」「−1」の係数をそれぞれ掛けるように構成されている。   The high-frequency filter (A) is a high-pass filter that emphasizes the luminance difference between pixels, and is configured to multiply the luminance data of adjacent pixels by, for example, coefficients of “−1”, “2”, and “−1”. .

低周波用フィルタ(ロ)は近接する画素の相関をなだらかにしてノイズ成分を除去するローパスフィルタであり、近接する画素の輝度データにそれぞれ「1」「2」「1」の係数をそれぞれ掛けるように構成されている。   The low-frequency filter (b) is a low-pass filter that smoothes the correlation between adjacent pixels and removes noise components, and multiplies the luminance data of adjacent pixels by coefficients of “1”, “2”, and “1”, respectively. It is configured.

フィルタ(ハ)は高周波用フィルタ(イ)によって強調された輝度データについてこれを低周波用フィルタ(ロ)に透過させることによりノイズ除去を行う際に用いられる。   The filter (c) is used to remove noise by transmitting the luminance data emphasized by the high frequency filter (b) to the low frequency filter (b).

通常、AF評価値データを出力する際に用いるフィルタは、高周波用フィルタ(イ)又は高周波用フィルタ(イ)と低周波用フィルタ(ロ)とを掛け合わせることにより形成されたフィルタ(ハ)を用いる。   Usually, the filter used when outputting the AF evaluation value data is a high frequency filter (A) or a filter (C) formed by multiplying a high frequency filter (A) and a low frequency filter (B). Use.

合焦状態にあるときには、被写体のエッジ部分がはっきりとしているため、近接する画素の積分値は高周波成分が大きくなる。従って、AFによる合焦検出動作時、各フォーカスレンズ位置におけるAF評価値を取得してその極大点(ピーク位置)を検出する。また、極大点が複数存在することも考慮に入れて、極大点が複数個存在する場合、極大点の位置の評価値の大きさやその周辺の評価値との大きさとを比較し、山の下降・上昇度合いを判断し、最も信頼性を有すると思われる極大点を合焦位置とみなして、AF動作を実行する。   Since the edge portion of the subject is clear when in focus, the integral value of adjacent pixels has a high frequency component. Therefore, during the focus detection operation by AF, the AF evaluation value at each focus lens position is acquired, and the maximum point (peak position) is detected. Also, considering that there are multiple local maxima, if there are multiple local maxima, compare the size of the evaluation value at the position of the local maximum point with the evaluation value of the surrounding area, and descend the mountain. The degree of ascent is determined, and the AF point is executed by regarding the local maximum point that seems to have the most reliability as the in-focus position.

また、AE評価値はデジタルRGB信号を数個のエリアに分割し、そのエリア内の輝度データを用いる。各エリア内の画素に対して所定の閾値を超える画素を対象画素とし、その輝度値を加算し、対象画素数で除算することにより求められる。各エリアの輝度分布により適正露光量を算出し、次のフレームの取り込みに対して補正を行う。   The AE evaluation value is obtained by dividing a digital RGB signal into several areas and using luminance data in the areas. A pixel that exceeds a predetermined threshold with respect to the pixels in each area is determined as a target pixel, and the luminance value is added and divided by the number of target pixels. An appropriate exposure amount is calculated from the luminance distribution of each area, and correction is performed for the capture of the next frame.

レリーズシャッタボタン(レリーズシャッターSW1)が押されると、図4に示すCCD101からF/E−IC102を介して静止画撮影開始信号がプロセッサ104に取り込まれる。続いて、CPUブロック1043がフレームレートに同期してモータドライバ75を介してフォーカスレンズ72aの駆動モータ72bを駆動し、これにより、山登りAFが実行される。   When the release shutter button (release shutter SW1) is pressed, a still image shooting start signal is taken into the processor 104 via the F / E-IC 102 from the CCD 101 shown in FIG. Subsequently, the CPU block 1043 drives the drive motor 72b of the focus lens 72a via the motor driver 75 in synchronization with the frame rate, whereby hill-climbing AF is executed.

カメラの合焦範囲が無限から至近までの全領域であった場合、フォーカスレンズが至近から無限又は無限から至近までの間を移動し、デジタル信号処理ICにより作成された各フォーカス位置における各フレームのAF評価値がCPUブロック1043に読み出される。各フォーカス位置のAF評価値の極大点が合焦位置とみなされて、フォーカスレンズ72aが合焦位置に移動される。   When the in-focus range of the camera is the entire range from infinity to close, the focus lens moves from close to infinity or from infinity to close to each frame at each focus position created by the digital signal processing IC. The AF evaluation value is read to the CPU block 1043. The maximum point of the AF evaluation value at each focus position is regarded as the focus position, and the focus lens 72a is moved to the focus position.

AF完了後、CCD101から取り出されたアナログRGB信号はデジタルRGB信号に変換され、メモリコントローラを介してフレームメモリとしてのRAM107に格納される。デジタルRGB信号は再度プロセッサ104に読み込まれかつYUVデータに変換されて、再びフレームメモリとしてのRAM107に書き戻される。   After the AF is completed, the analog RGB signal taken out from the CCD 101 is converted into a digital RGB signal and stored in a RAM 107 as a frame memory via a memory controller. The digital RGB signal is read again by the processor 104, converted into YUV data, and written back to the RAM 107 as a frame memory.

スチル画像撮影時はYUV変換された画像データがプロセッサ104の画像圧縮伸長回路としてのJPEG CODECブロック1047に送信される。画像圧縮伸長回路に送信されたYUVデータは圧縮され、フレームメモリとしてのRAM107に書き戻される。フレームメモリとしてのRAM107は圧縮データはメモリコントローラ(図示を略す)を介して読み出され、データ記憶メモリとしての例えばメモリカード121’に格納される。   At the time of still image shooting, YUV converted image data is transmitted to a JPEG CODEC block 1047 as an image compression / decompression circuit of the processor 104. The YUV data transmitted to the image compression / decompression circuit is compressed and written back to the RAM 107 as a frame memory. The RAM 107 as a frame memory reads compressed data via a memory controller (not shown) and stores it in, for example, a memory card 121 'as a data storage memory.

次に、本発明の要部に関する実施例を図面を参照しつつ説明する。   Next, an embodiment relating to the main part of the present invention will be described with reference to the drawings.

図7は本発明の実施例1に係わる撮像装置の動作を説明するためのフローチャートである。まず、図1に示すレリーズシャッタボタンSW1を操作すると、レリーズシャッタボタンSW1が押される直前の撮影モード(撮影条件)が検出される(S.1)。この撮影モードには通常撮影モードと暗時撮影モードとの2つのモードがあり、図1に示すモードダイアルSW2で切り換えられるようになっている。モードダイアルSW2は撮影条件変更手段として機能する。   FIG. 7 is a flowchart for explaining the operation of the imaging apparatus according to the first embodiment of the present invention. First, when the release shutter button SW1 shown in FIG. 1 is operated, a shooting mode (shooting condition) immediately before the release shutter button SW1 is pressed is detected (S.1). There are two shooting modes, a normal shooting mode and a dark shooting mode, which can be switched by the mode dial SW2 shown in FIG. The mode dial SW2 functions as a photographing condition changing unit.

この撮影モードに応じて、CCD101の画素加算読み出しの設定が決定される(S.2)。画素加算の選択処理は図8に示すフローチャートに基づいて行われる。まず、プロセッサ104は撮影モードが通常撮影モードか否かを判断し(S.21)、通常撮影モードの場合、画素加算状態を垂直画素加算処理に設定し(S.22)、図7のS.3の処理へ移行する。撮影モードが暗時撮影モードの場合、暗時に使われることが多く、画像出力を大きくする必要があるので、画素加算状態を垂直・水平加算実行処理に設定し、画像出力を2倍にして(S.23)、次のS.3の処理へ移行する。すなわち、プロセッサ104は画素加算手段としても機能する。   The setting for pixel addition reading of the CCD 101 is determined in accordance with the photographing mode (S.2). The pixel addition selection process is performed based on the flowchart shown in FIG. First, the processor 104 determines whether or not the shooting mode is the normal shooting mode (S.21). If the shooting mode is the normal shooting mode, the pixel addition state is set to the vertical pixel addition process (S.22), and S in FIG. . The process proceeds to 3. When the shooting mode is the dark shooting mode, it is often used in the dark and it is necessary to increase the image output. Therefore, the pixel addition state is set to the vertical / horizontal addition execution process, and the image output is doubled ( S.23), the following S.23. The process proceeds to 3. That is, the processor 104 also functions as a pixel addition unit.

次に、プロセッサ104は、フィルタ選択処理を行う(図7のS.3参照)。すなわち、プロセッサ104はフィルタ選択手段として機能し、このフィルタ選択処理は、図9に示すように、画素加算状態がデフォルトの垂直画素加算処理であるか否かを判断し(S.31)、画素加算状態がデフォルトの垂直画素加算処理である場合、フィルタとして高周波用フィルタ(イ)に低周波用フィルタ(ロ)を掛け合わせたフィルタ(ハ)が選択される(S.32)。画素加算状態が垂直・水平加算実行の場合、フィルタとして高周波用フィルタ(イ)が選択される(S.33)。そして、S.4へ移行する。   Next, the processor 104 performs filter selection processing (see S.3 in FIG. 7). That is, the processor 104 functions as a filter selection unit, and this filter selection process determines whether or not the pixel addition state is the default vertical pixel addition process as shown in FIG. When the addition state is the default vertical pixel addition process, a filter (C) obtained by multiplying the high frequency filter (A) by the low frequency filter (B) is selected as a filter (S.32). When the pixel addition state is vertical / horizontal addition execution, the high frequency filter (A) is selected as a filter (S.33). And S. Move to 4.

垂直・水平画素加算を実行した場合、水平画素加算をすることによって解像度が落ちるが、その分、フィルタを用いることによって高周波側を強調することが可能となる。   When the vertical / horizontal pixel addition is executed, the resolution is lowered by adding the horizontal pixel, but the high frequency side can be emphasized by using the filter accordingly.

ついで、プロセッサ104は、フォーカス開始位置にフォーカスレンズ72aを移動させ(図7のS.4参照)、AF評価値を取得する(S.5)。すなわち、プロセッサ104は自動焦点検出手段としても機能し、プロセッサ104は、AF評価値の取得後、ピーク判定処理(S.6)を実行し、そのAF評価値がピークか否かを判定、すなわち、「ピーク検出NG?」を判断する(S.7)。このプロセッサ104は検出結果判断手段として機能し、閾値に基づきピークか否かを判断する。   Next, the processor 104 moves the focus lens 72a to the focus start position (see S.4 in FIG. 7), and acquires the AF evaluation value (S.5). That is, the processor 104 also functions as an automatic focus detection unit, and the processor 104 executes a peak determination process (S.6) after obtaining the AF evaluation value, and determines whether or not the AF evaluation value is a peak. "Peak detection NG?" Is judged (S.7). The processor 104 functions as a detection result determination unit, and determines whether or not it is a peak based on a threshold value.

このピーク判定処理に用いる閾値には適宜のものを用い、ピークが検出された場合はピーク位置判定処理に移行する(S.10)。ピークが検出されない場合は、スキャンがフォーカス位置の最終端まで終了したか否かの判断(S.8)に移行し、スキャンが終了していない場合、順次フォーカス位置を移動させ(S.9)、評価値取得処理(S.5)に戻り、再度同様の処理を繰り返す。そして、スキャンが終了した場合は、ピーク位置決定処理(S.10)へ移行する。   An appropriate threshold is used for the peak determination process, and when a peak is detected, the process proceeds to a peak position determination process (S.10). If no peak is detected, the process proceeds to determination (S.8) of whether or not the scan is completed to the final end of the focus position. If the scan is not completed, the focus position is sequentially moved (S.9). Returning to the evaluation value acquisition process (S.5), the same process is repeated again. When the scan is completed, the process proceeds to the peak position determination process (S.10).

次に、プロセッサ104は、そのスキャンしたAF評価値から、より信頼性のあるピーク位置を決定し、決定したピーク位置にフォーカスレンズを移動させ、動作を終了する。   Next, the processor 104 determines a more reliable peak position from the scanned AF evaluation value, moves the focus lens to the determined peak position, and ends the operation.

また、信頼性を有するピーク位置が見つからない場合は、AFスキャンNGとして、所定のフォーカス位置、例えば、およそ2.5mに相当するフォーカス位置にフォーカスレンズ72aを移動させ、動作を終了する(S.10)。   If no reliable peak position is found, the focus lens 72a is moved to a predetermined focus position, for example, a focus position corresponding to about 2.5 m, as the AF scan NG, and the operation ends (S. 10).

ここで、もし、CCD101としては、画素加算できる画素数を可変することができるものを用いるのが好ましい。この発明の実施例では、画素加算できる個数が垂直2画素、水平2画素であるが、例えば、垂直4画素、水平4画素の加算を可能としても良く、この場合には、画像出力データ(明るさ)がより大きくなるので、より一層低輝度時のAF処理に有効である。   Here, it is preferable to use a CCD 101 that can change the number of pixels that can be added. In the embodiment of the present invention, the number of pixels that can be added is two vertical pixels and two horizontal pixels. However, for example, addition of four vertical pixels and four horizontal pixels may be possible. In this case, image output data (brightness) )) Becomes larger, which is effective for AF processing at lower luminance.

また、この発明の実施例1では、単純3係数の高周波用フィルタ(イ)、低周波用フィルタ(ロ)を用いているが、5係数、7係数のフィルタを用いることができ、このような5係数、7係数のフィルタを用いると、高周波成分、低周波成分の抽出精度の向上を図ることができ、AF処理を実行するうえでより望ましい。   Further, in the first embodiment of the present invention, a simple three-factor high-frequency filter (A) and a low-frequency filter (B) are used, but a five-factor and seven-factor filter can be used. The use of a 5-coefficient and 7-coefficient filter can improve the extraction accuracy of high-frequency components and low-frequency components, and is more desirable for performing AF processing.

また、この発明の実施例1では、画素加算状態に応じてフィルタを可変するようにしているが、輝度に応じて又は被写体に応じてフィルタを変更できるように構成すれば、高周波成分、低周波成分の抽出精度の向上を期待でき、AF処理を実行するうえでより望ましい。   In the first embodiment of the present invention, the filter is varied according to the pixel addition state. However, if the filter can be changed according to the luminance or according to the subject, the high frequency component, the low frequency An improvement in component extraction accuracy can be expected, which is more desirable in performing AF processing.

すなわち、画素加算手段によって画素加算を実行する場合には、より一層高域のみを透過させるフィルタにフィルタを変更すれば、解像度が落ちた分だけ高域側を強調できて望ましい。その一方、画素加算手段によって画素加算を実行しない場合には低域側も透過させるフィルタにフィルタを変更すれば、通常のAF処理を実行できるので望ましい。   That is, when pixel addition is executed by the pixel addition means, it is desirable to change the filter to a filter that allows only higher frequencies to pass through, so that the high frequency side can be emphasized by the amount of resolution reduction. On the other hand, when the pixel addition is not performed by the pixel addition means, it is desirable to change the filter to a filter that also transmits the low frequency side because normal AF processing can be performed.

更に、画素加算状態及びフィルタの選択によって、AF評価値ピークの山の出力が異なることも考慮して、ピーク判定処理(S.6)のピーク判定に用いる閾値については、画像データの出力状態に応じて可変できるとなお一層好ましい。   Further, considering that the output of the peak of the AF evaluation value peak varies depending on the pixel addition state and the filter selection, the threshold used for peak determination in the peak determination process (S.6) is set to the output state of the image data. Even more preferably, it can be varied accordingly.

すなわち、画素加算手段によって画素加算を実行する場合に、検出結果判断手段の閾値を下げることにすれば、ピークの検出が容易となり、その一方、画素加算手段によって画素加算を実行しない場合に、検出結果判断手段の閾値を上げることにすれば、通常のAF処理を実行できるので望ましい。   In other words, when pixel addition is performed by the pixel addition means, if the threshold value of the detection result determination means is lowered, detection of the peak is facilitated. On the other hand, detection is performed when pixel addition is not performed by the pixel addition means. It is desirable to increase the threshold value of the result judging means because normal AF processing can be executed.

また、この実施例1では、2つの撮影モードについて画素加算を選択したが、これに限るものではなく、例えば、マクロモードについて、マクロの被写体を撮影する際にカメラそのものが影となる可能性があり、その結果、画面上で低輝度状態となることがあるので、これを考慮して、マクロ撮影モード時に、画素加算状態を垂直・水平加算状態にして明るさを上昇させる構成とすることもできる。   In the first embodiment, the pixel addition is selected for the two shooting modes. However, the present invention is not limited to this. For example, in the macro mode, the camera itself may become a shadow when shooting a macro subject. As a result, there may be a low brightness state on the screen, so in consideration of this, it is possible to increase the brightness by setting the pixel addition state to the vertical / horizontal addition state in the macro shooting mode. it can.

図10は本発明の実施例2に係わる撮像装置の動作を説明するためのフローチャートである。   FIG. 10 is a flowchart for explaining the operation of the imaging apparatus according to the second embodiment of the present invention.

図1に示すレリーズシャッタボタンSW1が操作されると、レリーズシャッタボタンSW1が押される直前の測光結果により、被写体の輝度を判定する(S.41)。被写体輝度は、CCD101の出力に基づき測定される。測光結果から得られた輝度(LV値)に応じて、CCD101の画素加算読み出しの設定を決定する(S.42)。   When the release shutter button SW1 shown in FIG. 1 is operated, the luminance of the subject is determined based on the photometric result immediately before the release shutter button SW1 is pressed (S.41). The subject brightness is measured based on the output of the CCD 101. In accordance with the luminance (LV value) obtained from the photometric result, the pixel addition readout setting of the CCD 101 is determined (S.42).

画素加算選択処理は図11に示すフローチャートに従って行われる。まず、プロセッサ104は被写体輝度がLV6以上であるか否かを判定する(S.91)。被写体輝度がLV6以上の場合、画素加算状態を垂直画素加算に設定し(S.92)、次のS.43の処理へ移行する。プロセッサ104はLV6未満の場合、画素加算を垂直・水平加算実行処理に設定し(S.93)、次のS.43の処理へ移行する。これにより、LV6未満の暗い場合について、画像出力(明るさ)を2倍にすることができる。   The pixel addition selection process is performed according to the flowchart shown in FIG. First, the processor 104 determines whether or not the subject brightness is LV6 or more (S.91). When the subject brightness is LV6 or higher, the pixel addition state is set to vertical pixel addition (S.92). The process proceeds to 43. If it is less than LV6, the processor 104 sets the pixel addition to the vertical / horizontal addition execution process (S.93). The process proceeds to 43. As a result, the image output (brightness) can be doubled when the image is darker than LV6.

ステップS.91で設定した輝度の閾値(LV値)は、この実施例2の場合に限ったことであり、レンズの絞り値(F値)、CCD101の性能等に応じて適宜変更できるようにすることが望ましい。   Step S. The luminance threshold value (LV value) set in 91 is limited to that in the second embodiment, and can be appropriately changed according to the lens aperture value (F value), the performance of the CCD 101, and the like. desirable.

ついで、プロセッサ104は、フィルタ選択処理を行う(図10のS.43参照)。このフィルタ選択処理は、実施例1と同様に、画素加算状態がデフォルトの垂直画素加算処理であるか否かを判断し(図9のS・31参照)、画素加算状態がデフォルトの垂直画素加算処理である場合、フィルタとして高周波用フィルタに低周波用フィルタを掛け合わせたフィルタ(ハ)が選択される(図9のS.32参照)。画素加算状態が垂直・水平加算実行の場合、フィルタとして高周波用フィルタ(イ)が選択される(図9のS.33参照)。そして、S.44へ移行する。   Next, the processor 104 performs filter selection processing (see S.43 in FIG. 10). In this filter selection process, as in the first embodiment, it is determined whether or not the pixel addition state is the default vertical pixel addition process (see S · 31 in FIG. 9), and the pixel addition state is the default vertical pixel addition. In the case of processing, a filter (C) obtained by multiplying a high frequency filter and a low frequency filter is selected as a filter (see S.32 in FIG. 9). When the pixel addition state is vertical / horizontal addition execution, the high frequency filter (A) is selected as a filter (see S.33 in FIG. 9). And S. 44.

垂直・水平画素加算を実行した場合、水平画素加算をすることによって解像度が落ちるが、その分、フィルタを用いることによって高周波側を強調することが可能となる。   When the vertical / horizontal pixel addition is executed, the resolution is lowered by adding the horizontal pixel, but the high frequency side can be emphasized by using the filter accordingly.

プロセッサ104は、次に、フォーカス開始位置にフォーカスレンズ72aを移動させ(S.44)、AF評価値を取得する(S.45)。プロセッサ104は、AF評価値の取得後、ピーク判定処理(S.46)を実行し、その評価値がピーク位置か否かの判定、すなわち、「ピーク検出NG?」を判断する(S.47)。このピーク判定処理に用いる閾値には適宜のものを用い、ピークが検出された場合はピーク位置決定処理へ移行する(S.50)。   Next, the processor 104 moves the focus lens 72a to the focus start position (S.44), and acquires the AF evaluation value (S.45). After acquiring the AF evaluation value, the processor 104 executes a peak determination process (S.46), and determines whether or not the evaluation value is a peak position, that is, “peak detection NG?” (S.47). ). An appropriate threshold value is used for the peak determination process, and when a peak is detected, the process proceeds to a peak position determination process (S.50).

ピークが検出されない場合、スキャンがフォーカス位置の最終端まで終了したか否かの判断(S.48)に移行し、スキャンが終了していない場合、順次フォーカス位置を移動させ(S.49)、評価値取得処理ステップ(S.45)に戻り、同様の処理を再度繰り返す。また、スキャンが終了した場合、ピーク位置決定処理(S.50)へ移行する。   If no peak is detected, the process proceeds to determination of whether or not the scan has been completed to the final end of the focus position (S.48). If the scan has not been completed, the focus position is sequentially moved (S.49). Returning to the evaluation value acquisition processing step (S.45), the same processing is repeated again. When the scan is completed, the process proceeds to the peak position determination process (S.50).

次に、プロセッサ104は、そのスキャンしたAF評価値により、より信頼性のあるピーク位置を決定し、決定したピーク位置にフォーカスレンズ72aを移動させ、動作を終了する。また、信頼性のあるピーク位置が見つからない場合、AFスキャンNGとして、所定のフォーカス位置、例えば、およそ2.5mに相当するフォーカス位置にフォーカスレンズ72aを移動させ、動作を終了する(S.50)。   Next, the processor 104 determines a more reliable peak position based on the scanned AF evaluation value, moves the focus lens 72a to the determined peak position, and ends the operation. If a reliable peak position is not found, the focus lens 72a is moved to a predetermined focus position, for example, a focus position corresponding to about 2.5 m, as the AF scan NG, and the operation ends (S.50). ).

ここで、もし、CCD101としては、画素加算できる画素数を可変することができるものを用いるのが好ましい。この発明の実施例2では、画素加算できる個数が垂直2画素、水平2画素であるが、例えば、垂直4画素、水平4画素の加算を可能としても良く、この場合には、画像出力データ(明るさ)がより大きくなるので、より一層低輝度時のAF処理に有効である。   Here, it is preferable to use a CCD 101 that can change the number of pixels that can be added. In the second embodiment of the present invention, the number of pixels that can be added is two vertical pixels and two horizontal pixels. However, for example, addition of four vertical pixels and four horizontal pixels may be possible. In this case, image output data ( (Brightness) becomes larger, which is effective for AF processing at a much lower luminance.

また、この発明の実施例2では、単純3係数の高周波用フィルタ(イ)、低周波用フィルタ(ロ)を用いているが、マイクロコンピュータ(CPUブロック1043)の処理能力を向上させることにより、5係数、7係数のフィルタを用いることができ、このような5係数、7係数のフィルタを用いると、、高周波成分、低周波成分の抽出精度の向上を図ることができ、AF処理を実行するうえでより望ましい。   In the second embodiment of the present invention, a simple three-factor high-frequency filter (A) and a low-frequency filter (B) are used, but by improving the processing capability of the microcomputer (CPU block 1043), 5 and 7 coefficient filters can be used. When such 5 and 7 coefficient filters are used, the extraction accuracy of high frequency components and low frequency components can be improved, and AF processing is executed. More desirable.

また、この発明の実施例2では、画素加算状態に応じてフィルタを可変するようにしているが、輝度に応じて又は被写体に応じてフィルタを変更できるように構成すれば、高周波成分、低周波成分の抽出精度の向上を期待でき、AF処理を実行するうえでより望ましい。   In the second embodiment of the present invention, the filter is variable according to the pixel addition state. However, if the filter can be changed according to the luminance or according to the subject, the high frequency component, the low frequency An improvement in component extraction accuracy can be expected, which is more desirable in performing AF processing.

更に、画素加算状態及びフィルタの選択によって、AF評価値のピークの山の出力が異なることも考慮して、ピーク判定処理(S.46)のピーク判定に用いる閾値については、画像データの出力状態に応じて可変できるとなお一層好ましい。   Further, in consideration of the fact that the output of the peak of the AF evaluation value varies depending on the pixel addition state and filter selection, the threshold used for peak determination in the peak determination process (S.46) is the output state of the image data. It is even more preferable that it can be varied depending on

以上、実施例1、実施例2で記載したように、各種の被写体の輝度に対応して撮影を適正に行うため、輝度が小さい場合、暗時撮影モードのような暗い被写体を撮影する際には、垂直・水平画素加算し、その際の解像度の低下をフィルタを選択することによって補うことにより、各種の輝度の被写体に対応して適正な撮影行うことができる。   As described above in the first and second embodiments, in order to appropriately perform shooting according to the luminance of various subjects, when the luminance is low, when shooting a dark subject such as the dark shooting mode. Since vertical and horizontal pixel addition is performed and a decrease in resolution at that time is compensated for by selecting a filter, appropriate photographing can be performed corresponding to subjects having various luminances.

本発明の実施例に係わる撮像装置としてのデジタルカメラの正面図である。1 is a front view of a digital camera as an imaging apparatus according to an embodiment of the present invention. 本発明の実施例に係わる撮像装置としてのデジタルカメラの背面図である。It is a rear view of the digital camera as an imaging device concerning the Example of this invention. 本発明の実施例に係わる撮像装置としてのデジタルカメラの上面図である。1 is a top view of a digital camera as an imaging apparatus according to an embodiment of the present invention. 本発明の実施例に係わる撮像装置としてのデジタルカメラの内部のシステム構成の概要を示すブロック回路図である。1 is a block circuit diagram illustrating an outline of an internal system configuration of a digital camera as an imaging apparatus according to an embodiment of the present invention. 本発明の実施例に係わるデジタルカメラの画素加算の一例を示す説明図であって、(a)は垂直画素加算の一例を示す説明図、(b)は垂直・水平画素加算の一例を示す説明図である。2A and 2B are explanatory diagrams illustrating an example of pixel addition of a digital camera according to an embodiment of the present invention, where FIG. 1A is an explanatory diagram illustrating an example of vertical pixel addition, and FIG. 2B is an explanatory diagram illustrating an example of vertical / horizontal pixel addition; FIG. 本発明の実施例に係わるフィルタの一例を示し、(a)は高周波用フィルタの一例を示し、(b)は低周波用フィルタの一例を示す。An example of the filter concerning the Example of this invention is shown, (a) shows an example of the filter for high frequencies, (b) shows an example of the filter for low frequencies. 本発明の実施例1に係わる撮像装置の動作を説明するためのフローチャートである。3 is a flowchart for explaining an operation of the imaging apparatus according to the first embodiment of the present invention. 図7に示す画素加算設定処理の一例を示すフローチャートである。It is a flowchart which shows an example of the pixel addition setting process shown in FIG. 図7に示すフィルタ選択処理の一例を示すフローチャートである。It is a flowchart which shows an example of the filter selection process shown in FIG. 本発明の実施例2に係わる撮像装置の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of the imaging device concerning Example 2 of this invention. 図10に示す画素加算設定処理の一例を示すフローチャートである。It is a flowchart which shows an example of the pixel addition setting process shown in FIG.

符号の説明Explanation of symbols

72a…フォーカスレンズ
101…撮像素子
104…プロセッサ(フィルタ選択手段、自動焦点検出手段、画素加算手段、フィルタ選択手段)
72a ... focus lens 101 ... imaging element 104 ... processor (filter selection means, automatic focus detection means, pixel addition means, filter selection means)

Claims (14)

フォーカスレンズを通過してきた被写体からの光により被写体像を受像する撮像素子と、被写体像の周波数成分を透過させるフィルタを選択するフィルタ選択手段と、前記フォーカスレンズを移動させることにより得られた撮像素子からの信号に基づく画像データから焦点を検出する自動焦点検出手段と、前記撮像素子の画素加算駆動を可能とする画素加算手段とを有し、撮影条件に応じて前記画素加算手段を用いる撮像装置において、
前記画素加算手段の画素加算状態に応じて前記フィルタ選択手段のフィルタを変更することを特徴とする撮像装置。
An image sensor that receives a subject image by light from a subject that has passed through a focus lens, a filter selection unit that selects a filter that transmits a frequency component of the subject image, and an image sensor obtained by moving the focus lens An image pickup apparatus, comprising: an automatic focus detection unit that detects a focus from image data based on a signal from a signal; and a pixel addition unit that enables pixel addition driving of the image sensor, and uses the pixel addition unit according to a shooting condition In
An image pickup apparatus, wherein the filter of the filter selection unit is changed according to a pixel addition state of the pixel addition unit.
フォーカスレンズを通過してきた被写体からの光により被写体像を受像する撮像素子と、被写体像の周波数成分を透過させるフィルタを選択するフィルタ選択手段と、前記フォーカスレンズを移動させることにより得られた撮像信号からの信号に基づく画像データから焦点を検出する自動焦点検出手段と、前記撮像素子の画素加算駆動を可能とする画素加算手段と、被写体輝度を測定する測光手段とを有し、該測光手段により得られる測光結果に応じて前記画素加算手段を用いる撮像装置において、
前記画素加算手段の画素加算状態に応じて前記フィルタ選択手段のフィルタを変更することを特徴とする撮像装置。
An image sensor that receives a subject image by light from the subject that has passed through the focus lens, a filter selection unit that selects a filter that transmits the frequency component of the subject image, and an imaging signal obtained by moving the focus lens Automatic focus detection means for detecting a focus from image data based on a signal from the image sensor, pixel addition means for enabling pixel addition drive of the image sensor, and photometry means for measuring subject luminance. In the imaging device using the pixel addition means according to the obtained photometric result,
An image pickup apparatus, wherein the filter of the filter selection unit is changed according to a pixel addition state of the pixel addition unit.
前記自動焦点検出手段により焦点検出を行った結果、焦点検出可能か否かを判断する検出結果判断手段を有し、前記画素加算手段の画素加算状態に応じて前記検出結果判断手段の閾値を変更することを特徴とする請求項1又は請求項2に記載の撮像装置。   As a result of focus detection by the automatic focus detection means, there is a detection result judgment means for judging whether or not focus detection is possible, and the threshold value of the detection result judgment means is changed according to the pixel addition state of the pixel addition means The imaging apparatus according to claim 1 or 2, wherein 前記画素加算手段によって画素加算を実行する場合、前記フィルタ選択手段のフィルタをより一層高域のみを透過させるフィルタに、前記フィルタ選択手段により選択されるフィルタを変更することを特徴とする請求項1ないし請求項3のいずれか1項に記載の撮像装置。   2. When performing pixel addition by the pixel addition means, the filter selected by the filter selection means is changed to a filter that allows only a higher frequency to pass through the filter of the filter selection means. The imaging device according to any one of claims 3 to 4. 前記画素加算手段によって画素加算を実行しない場合、前記フィルタ選択手段のフィルタを低域側をも透過させるフィルタに、前記フィルタ選択手段により選択されるフィルタを変更することを特徴とする請求項1ないし請求項3のいずれか1項に記載の撮像装置。   The filter selected by the filter selection means is changed to a filter that allows the filter of the filter selection means to pass through even a low frequency side when pixel addition is not performed by the pixel addition means. The imaging device according to claim 3. 前記画素加算手段によって画素加算を実行する場合、前記検出結果判断手段の閾値を下げることを特徴とする請求項3に記載の撮像装置。   The imaging apparatus according to claim 3, wherein when pixel addition is performed by the pixel addition unit, a threshold value of the detection result determination unit is lowered. 前記画素加算駆動手段によって画素加算を実行しない場合、前記検出結果判断手段の閾値を上げることを特徴とする請求項3に記載の撮像装置。   The imaging apparatus according to claim 3, wherein when the pixel addition is not performed by the pixel addition driving unit, a threshold value of the detection result determination unit is increased. フォーカスレンズを通過してきた被写体からの光による被写体像を撮像素子により受像するステップと、
被写体像の周波数成分を透過させるフィルタを選択するフィルタ選択ステップと、
前記フォーカスレンズを移動させることにより得られた撮像素子からの信号に基づく画像データから焦点を検出する自動焦点検出ステップと、
前記撮像素子の画素加算駆動を可能とする画素加算ステップと、
撮影条件に応じて前記画素加算ステップを実行させるステップと、
前記画素加算ステップの画素加算状態に応じて前記フィルタ選択ステップのフィルタを変更するステップとを有することを特徴とする撮像方法。
Receiving an image of a subject by light from a subject that has passed through the focus lens by an image sensor;
A filter selection step for selecting a filter that transmits the frequency component of the subject image;
An automatic focus detection step of detecting a focus from image data based on a signal from an image sensor obtained by moving the focus lens;
A pixel addition step that enables pixel addition driving of the image sensor;
Executing the pixel addition step according to the shooting conditions;
And a step of changing a filter of the filter selection step according to a pixel addition state of the pixel addition step.
フォーカスレンズを通過してきた被写体からの光による被写体像を撮像素子により受像するステップと、
被写体像の周波数成分を透過させるフィルタを選択するフィルタ選択ステップと、
前記フォーカスレンズを移動させることにより得られた撮像素子からの信号に基づく画像データから焦点を検出する自動焦点検出ステップと、
前記撮像素子の画素加算駆動を可能とする画素加算ステップと、
前記被写体の輝度を測定する測光ステップと、
前記測光ステップで得られた測光結果に応じて前記画素加算ステップを実行させるステップと、
前記画素加算手段の画素加算状態に応じて前記フィルタ選択ステップのフィルタを変更するステップとを有することを特徴とする撮像方法。
Receiving an image of a subject by light from a subject that has passed through the focus lens by an image sensor;
A filter selection step for selecting a filter that transmits the frequency component of the subject image;
An automatic focus detection step of detecting a focus from image data based on a signal from an image sensor obtained by moving the focus lens;
A pixel addition step that enables pixel addition driving of the image sensor;
A photometric step of measuring the brightness of the subject;
Executing the pixel addition step according to the photometric result obtained in the photometric step;
And a step of changing a filter of the filter selection step in accordance with a pixel addition state of the pixel addition means.
前記自動焦点検出手段により焦点検出を行った結果、焦点検出が可能か否かを判断する検出出結果判断ステップを有し、前記画素加算ステップの画素加算状態に応じて前記検出結果判断手段の閾値を変更することを特徴とする請求項8又は請求項9に記載の撮像方法。   A detection result determination step for determining whether or not focus detection is possible as a result of focus detection by the automatic focus detection unit, and a threshold value of the detection result determination unit according to the pixel addition state of the pixel addition step; The imaging method according to claim 8, wherein the imaging method is changed. 前記画素加算手段によって画素加算を実行する場合、前記フィルタ選択手段のフィルタをより一層高域のみを透過させるフィルタに、前記フィルタ選択手段により選択されるフィルタを変更することを特徴とする請求項8ないし請求項10のいずれか1項に記載の撮像方法。   9. When performing pixel addition by the pixel addition means, the filter selected by the filter selection means is changed to a filter that allows only a higher frequency to pass through the filter of the filter selection means. The imaging method according to claim 10. 前記画素加算手段によって画素加算を実行しない場合、前記フィルタ選択手段のフィルタを低域側をも透過させるフィルタに、前記フィルタ選択手段により選択されるフィルタを変更することを特徴とする請求項8ないし請求項10のいずれか1項に記載の撮像方法。   9. The filter selected by the filter selection unit is changed to a filter that transmits a low-pass filter through the filter of the filter selection unit when pixel addition is not performed by the pixel addition unit. The imaging method according to claim 10. 前記画素加算ステップによって画素加算を実行する場合、前記検出結果判断手段の閾値を下げることを特徴とする請求項請求項10に記載の撮像方法。   The imaging method according to claim 10, wherein when pixel addition is performed in the pixel addition step, a threshold value of the detection result determination unit is lowered. 前記画素加算手段によって画素加算を実行しない場合、前記検出結果判断手段の閾値を上げることを特徴とする請求項10に記載の撮像方法。   The imaging method according to claim 10, wherein when the pixel addition is not performed by the pixel addition unit, a threshold value of the detection result determination unit is increased.
JP2005174881A 2005-06-15 2005-06-15 Imaging apparatus and imaging method Pending JP2006349908A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005174881A JP2006349908A (en) 2005-06-15 2005-06-15 Imaging apparatus and imaging method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005174881A JP2006349908A (en) 2005-06-15 2005-06-15 Imaging apparatus and imaging method

Publications (1)

Publication Number Publication Date
JP2006349908A true JP2006349908A (en) 2006-12-28

Family

ID=37645862

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005174881A Pending JP2006349908A (en) 2005-06-15 2005-06-15 Imaging apparatus and imaging method

Country Status (1)

Country Link
JP (1) JP2006349908A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7710492B2 (en) 2006-06-27 2010-05-04 Ricoh Company, Ltd. Imaging device and imaging method for performing automatic focus detection
JP2013088440A (en) * 2011-10-13 2013-05-13 Ricoh Co Ltd Imaging apparatus and imaging method
JP2014002197A (en) * 2012-06-15 2014-01-09 Ricoh Co Ltd Imaging device and imaging method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7710492B2 (en) 2006-06-27 2010-05-04 Ricoh Company, Ltd. Imaging device and imaging method for performing automatic focus detection
JP2013088440A (en) * 2011-10-13 2013-05-13 Ricoh Co Ltd Imaging apparatus and imaging method
US8928799B2 (en) 2011-10-13 2015-01-06 Ricoh Company, Ltd. Imaging device and imaging method to perform autofocus operation to a subject
JP2014002197A (en) * 2012-06-15 2014-01-09 Ricoh Co Ltd Imaging device and imaging method

Similar Documents

Publication Publication Date Title
JP5005570B2 (en) Image processing apparatus and program
JP4727534B2 (en) Imaging device
JP4824586B2 (en) Imaging device
JP5418020B2 (en) Imaging device
JP5123137B2 (en) Imaging apparatus and imaging method
JP4679179B2 (en) Imaging apparatus and imaging method
JP2007263926A (en) Range finder and method for the same
JP2010054730A (en) Focusing position detecting device, imaging apparatus, and focusing position detecting method
JP5049712B2 (en) Imaging apparatus and focus control method
US9201211B2 (en) Imaging device and imaging method for autofocusing
JP4855155B2 (en) Imaging apparatus and imaging method using the same
US8928799B2 (en) Imaging device and imaging method to perform autofocus operation to a subject
US8040429B2 (en) Electronic apparatus having autofocus camera function
JP2009098167A (en) Imaging device and program of the same
JP2006349908A (en) Imaging apparatus and imaging method
JP5418553B2 (en) Imaging apparatus and imaging method using the same
JP4714561B2 (en) Imaging apparatus and imaging method
JP4707590B2 (en) Imaging apparatus and imaging method
JP5195887B2 (en) Imaging apparatus and imaging method
JP5159295B2 (en) Automatic focusing device and imaging device
JP4496051B2 (en) Imaging device
JP2008052022A (en) Imaging apparatus and imaging method
JP2010122515A (en) Imaging apparatus, autofocus control method therefor, and control program
JP2005062469A (en) Digital camera
JP2014127770A (en) Imaging apparatus