JP5418553B2 - Imaging apparatus and imaging method using the same - Google Patents

Imaging apparatus and imaging method using the same Download PDF

Info

Publication number
JP5418553B2
JP5418553B2 JP2011169003A JP2011169003A JP5418553B2 JP 5418553 B2 JP5418553 B2 JP 5418553B2 JP 2011169003 A JP2011169003 A JP 2011169003A JP 2011169003 A JP2011169003 A JP 2011169003A JP 5418553 B2 JP5418553 B2 JP 5418553B2
Authority
JP
Japan
Prior art keywords
filter
evaluation value
image data
subject
focus
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.)
Active
Application number
JP2011169003A
Other languages
Japanese (ja)
Other versions
JP2011257769A (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.)
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 JP2011169003A priority Critical patent/JP5418553B2/en
Publication of JP2011257769A publication Critical patent/JP2011257769A/en
Application granted granted Critical
Publication of JP5418553B2 publication Critical patent/JP5418553B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、撮像装置及びこれを用いた撮影方法に関するものであり、特に、被写体の輝度に応じた自動焦点検出を行う撮像装置、及びこれを用いた撮影方法に関するものである。   The present invention relates to an imaging device and a photographing method using the same, and more particularly to an imaging device that performs automatic focus detection according to the luminance of a subject and a photographing method using the same.

デジタルスチルカメラ等の電子撮像装置は、一般的に、被写体に対して自動的に焦点を合わせるオートフォーカス(以下「AF」という)装置を搭載している。
AF装置の制御方法として、従来、いわゆる山登りAF制御が知られている(例えば、下記特許文献1参照。)。
この山登りAF制御方法について簡単に説明する。
これは、1フィールド又は1フレーム毎に得られる映像信号から、高周波成分又は近接画素の輝度差の積分値を求め、この輝度差の積分値を合焦度合いを示すAF評価値とするものである。これにおいては合焦状態にあるときは被写体のエッジ部分がはっきりしているためAF評価値が大きくなり、非合焦状態のときはAF評価値が小さくなる。AF動作実行時は、レンズを移動させながら、このAF評価値を順次取得していき、AF評価値が最も大きくなったところ、すなわちピーク位置を合焦点としてレンズを停止させるようにするものである。
An electronic imaging device such as a digital still camera generally includes an autofocus (hereinafter referred to as “AF”) device that automatically focuses on a subject.
Conventionally, so-called hill-climbing AF control is known as a control method of the AF device (for example, see Patent Document 1 below).
This hill-climbing AF control method will be briefly described.
In this method, an integral 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 used as an AF evaluation value indicating the degree of focus. . In this case, the AF evaluation value increases when the subject is in focus because the edge portion of the subject is clear, and the AF evaluation value decreases when the subject is out of focus. When the AF operation is executed, the AF evaluation values are sequentially acquired while moving the lens, and the lens is stopped at the point where the AF evaluation value is maximized, that is, at the peak position as a focal point. .

ところで、デジタルスチルカメラ等の、スチル画像を撮像する装置においては、一般的に、ビデオカメラ等の動画を撮影する装置に比べて厳密な合焦が要求されるため、撮影動作のたびにAF動作を行ったり、記録モードにおいて常に合焦動作を繰り返し行ったりしている。   By the way, since an apparatus that captures a still image, such as a digital still camera, generally requires strict focusing as compared with an apparatus that captures moving images such as a video camera, an AF operation is performed every time a shooting operation is performed. Or the focusing operation is always repeated in the recording mode.

しかしながら、輝度が低い時や、低コントラストの被写体を撮影する際には、AF評価値のピークの山が低くなったり、あるいは低コントラストであることによりAF評価値データ中にノイズを生じてしまい、ピークの山が複数出現してしまったりすることがあり、良好な合焦状態が得られないという問題があった。   However, when the luminance is low or when shooting a low-contrast subject, the peak of the AF evaluation value is low, or noise is generated in the AF evaluation value data due to low contrast. A plurality of peak peaks may appear, and there is a problem that a good in-focus state cannot be obtained.

かかる従来の問題に対応して、デジタル画像データに応じた輝度データを自動露出(以下「AE」という)評価値として出力し、AE評価値が、ある所定の値より小さい場合、すなわち被写体が暗い場合には、AF評価値を取得するエリアを大きくしてAF制御を行うという方式が提案された(例えば、下記特許文献2参照)。
しかしながら、特許文献2に開示されている方式は、不用意にAF評価値を取得するエリアを拡大してしまうと撮影背景が影響を受け、撮影者が意図する被写体に合焦せずに、例えば背景の方に合焦してしまうことがあるという問題を生じた。
In response to such a conventional problem, luminance data corresponding to digital image data is output as an automatic exposure (hereinafter referred to as “AE”) evaluation value, and when the AE evaluation value is smaller than a predetermined value, that is, the subject is dark. In this case, a method has been proposed in which AF control is performed by increasing the area from which the AF evaluation value is acquired (see, for example, Patent Document 2 below).
However, in the method disclosed in Patent Document 2, if the area for acquiring the AF evaluation value is inadvertently enlarged, the shooting background is affected, and for example, without focusing on the subject intended by the photographer, for example, There was a problem that it sometimes focused on the background.

また、画像の輝度信号からヒストグラムを作成し、このヒストグラムに基づいてガンマテーブルを設定し、ガンマ補正をすることによって画像の輝度に左右されずに正確な合焦を可能とする方式についての提案もなされている(例えば、下記特許文献3参照。)。
しかしながら、かかる方式においては、環境に適したガンマテーブルを複数用意しなければならず、処理操作の複雑化してしまうため、より少ないガンマテーブルで正確な合焦を可能とする方式への要望が高まってきた。
また、ガンマ補正をすることにより、コントラストは高くなるが、低輝度時においては被写体が黒沈みすることが分かっているため、低輝度時にはガンマ補正をしないような方式にすることがより望ましいと考えられた。
There is also a proposal for a method that enables accurate focusing regardless of the luminance of the image by creating a histogram from the luminance signal of the image, setting a gamma table based on this histogram, and performing gamma correction. (For example, refer to Patent Document 3 below.)
However, in such a method, it is necessary to prepare a plurality of gamma tables suitable for the environment, and the processing operation becomes complicated. Therefore, there is an increasing demand for a method that enables accurate focusing with fewer gamma tables. I came.
In addition, it is known that the gamma correction increases the contrast, but the subject is darkened at low brightness, so it is more desirable to use a method that does not perform gamma correction at low brightness. It was.

特公昭39−5265号公報Japanese Examined Patent Publication No. 39-5265 特開2003−230039号公報Japanese Patent Laid-Open No. 2003-230039 特開2003−289467号公報JP 2003-289467 A

そこで本発明においては、上述したような従来技術の課題に鑑みて、撮影を行う環境に応じて、特に低輝度時にAF評価値の取り込みタイミングを変更し、更に変更した際に、AF評価値を取得する際のフィルタを可変にし、高輝度から低輝度まで幅広くAFを実行することを可能とした撮影装置、及びこれを用いた撮影方法を提案する。   Therefore, in the present invention, in view of the problems of the conventional technology as described above, the AF evaluation value capture timing is changed, particularly when the luminance is low, in accordance with the shooting environment. The present invention proposes an imaging apparatus capable of performing AF widely from high luminance to low luminance, and an imaging method using the same, with a variable filter for acquisition.

上述した課題を解決するために、請求項1に係る撮像装置においては、撮影レンズを通過してきた被写体からの光による被写体像を撮像素子に受光して画像データを得る撮像装置であって、前記画像データからAF評価値を取得するタイミングを設定する取得タイミング設定手段と、前記画像データから前記AF評価値を取得するために用いられるフィルタであって、前記画像データの任意の周波数成分を透過させるフィルタを選択するフィルタ選択手段と、レンズ位置にフォーカスレンズを移動させることにより得られる画像データから取得される前記AF評価値に基づいて焦点を検出する自動焦点検出手段と、被写体輝度を測定する測光手段と、を備え、前記取得タイミング設定手段は、前記測光手段で得られる被写体輝度が所定の閾値以上である場合は前記AF評価値を取得するタイミングとしてガンマ補正後を設定し、前記測光手段で得られる被写体輝度が所定の閾値未満である場合は前記AF評価値を取得するタイミングとしてガンマ補正前であってデジタルクランプ後を設定し、前記フィルタ選択手段は、前記取得タイミング設定手段がデジタルクランプ後を設定した場合に、前記フィルタとして、ガンマ補正後を設定した場合に選択されるフィルタより低域のみを透過させるフィルタを選択し、かつ、前記自動焦点検出手段で焦点検出を行った結果、閾値を用いて焦点検出可能か否かを判断する検出結果判断手段を具備し、画像データ出力に応じて、前記検出結果判断手段で用いられる閾値を変更するものである。
In order to solve the above-described problem, an imaging apparatus according to claim 1 is an imaging apparatus that obtains image data by receiving an image of a subject by light from a subject that has passed through a photographing lens, and obtaining image data. An acquisition timing setting means for setting a timing for acquiring an AF evaluation value from image data; and a filter used for acquiring the AF evaluation value from the image data, wherein an arbitrary frequency component of the image data is transmitted. Filter selection means for selecting a filter, automatic focus detection means for detecting a focus based on the AF evaluation value acquired from image data obtained by moving the focus lens to the lens position, and photometry for measuring subject luminance And the acquisition timing setting means is configured such that the subject brightness obtained by the photometry means has a predetermined threshold value. If it is above, the post-gamma correction is set as the timing for obtaining the AF evaluation value, and if the subject brightness obtained by the photometry means is less than a predetermined threshold, the pre-gamma correction is obtained as the timing for obtaining the AF evaluation value. And after the digital clamp, the filter selection means is lower than the filter selected when the post-gamma correction is set as the filter when the acquisition timing setting means is set after the digital clamp. And a detection result judging means for judging whether or not focus detection is possible using a threshold as a result of performing focus detection by the automatic focus detection means and selecting a filter that transmits only the image data. Thus, the threshold value used in the detection result judging means is changed.

請求項の発明においては、請求項1に記載の撮像装置において、前記取得タイミング設定手段がデジタルクランプ後に設定した場合、前記検出結果判断手段で用いられる閾値を下げるものである。
According to a second aspect of the present invention, in the imaging apparatus according to the first aspect, when the acquisition timing setting means is set after digital clamping, the threshold used by the detection result determination means is lowered.

請求項の撮像方法においては、撮影レンズを通過してきた被写体からの光による被写体像を撮像素子に受光して画像データを得る撮像方法であって、前記画像データからAF評価値を取得するタイミングを設定する取得タイミング設定工程と、前記画像データから前記AF評価値を取得するために用いられるフィルタであって、前記画像データの任意の周波数成分を透過させるフィルタを選択するフィルタ選択工程と、レンズ位置にフォーカスレンズを移動させることにより得られる画像データから取得される前記AF評価値に基づいて焦点を検出する自動焦点検出工程と、被写体輝度を測定する測光工程と、を備え、前記取得タイミング設定工程は、前記測光工程で得られる被写体輝度が所定の閾値以上である場合は前記AF評価値を取得するタイミングとしてガンマ補正後を設定し、前記測光工程で得られる被写体輝度が所定の閾値未満である場合は前記AF評価値を取得するタイミングとしてガンマ補正前であってデジタルクランプ後を設定し、前記フィルタ選択工程は、前記取得タイミング設定工程がデジタルクランプ後を設定した場合に、前記フィルタとして、ガンマ補正後を設定した場合に選択されるフィルタより低域のみを透過させるフィルタを選択し、かつ、前記自動焦点検出工程で焦点検出を行った結果、閾値を用いて焦点検出可能か否かを判断する検出結果判断工程を有し、画像データ出力に応じて、前記検出結果判断工程で用いられる閾値を変更するようにしている。
The imaging method according to claim 3 , wherein the imaging device obtains image data by receiving a subject image by light from the subject that has passed through the photographing lens, and obtains an AF evaluation value from the image data. An acquisition timing setting step, a filter used for acquiring the AF evaluation value from the image data, a filter selection step for selecting a filter that transmits an arbitrary frequency component of the image data, and a lens An automatic focus detection step for detecting a focus based on the AF evaluation value acquired from image data obtained by moving a focus lens to a position, and a photometry step for measuring subject luminance, and the acquisition timing setting The process determines the AF evaluation value when the subject brightness obtained in the photometry process is equal to or greater than a predetermined threshold. After the gamma correction is set as the timing to perform, and when the subject brightness obtained in the photometry step is less than a predetermined threshold, the timing for obtaining the AF evaluation value is set before the gamma correction and after the digital clamp, When the acquisition timing setting step is set after digital clamping , the filter selection step selects a filter that transmits only a lower band than the filter selected when setting after gamma correction as the filter , and As a result of performing focus detection in the automatic focus detection step, the threshold value used in the detection result determination step according to image data output has a detection result determination step for determining whether or not focus detection is possible using a threshold value. To change.

請求項の発明においては、請求項に記載の撮像方法において、前記取得タイミング設定工程がデジタルクランプ後に設定した場合、前記検出結果判断工程で用いられる閾値を下げるようにしている。
According to a fourth aspect of the present invention, in the imaging method according to the third aspect , when the acquisition timing setting step is set after digital clamping, the threshold used in the detection result determination step is lowered.

本発明によれば、高輝度から低輝度まで、幅広い輝度領域において、オートフォーカス機能の実行が可能となった。   According to the present invention, it is possible to execute the autofocus function in a wide luminance range from high luminance to low luminance.

以下、本発明の撮像装置、及びこれを用いた撮影方法について、添付図面を参照して、具体的な実施の形態を説明するが、本発明は下記の例に限定されるものではない。   Hereinafter, specific embodiments of an image pickup apparatus and a photographing method using the same according to the present invention will be described with reference to the accompanying drawings. However, the present invention is not limited to the following examples.

図1は、本発明の撮像装置の一例の、デジタルスチルカメラの概略図を示す。
なお図1(a)はデジタルカメラを上方から見た平面図を示し、図1(b)が正面から見た平面図を示し、図1(c)が背面から見た平面図を示す。
図2は、本発明の撮像装置の内部システム構成例を示すブロック図である。
FIG. 1 is a schematic diagram of a digital still camera as an example of an imaging apparatus of the present invention.
1A is a plan view of the digital camera as viewed from above, FIG. 1B is a plan view as viewed from the front, and FIG. 1C is a plan view as viewed from the back.
FIG. 2 is a block diagram illustrating an internal system configuration example of the imaging apparatus according to the present invention.

図1(a)に示すように、デジタルカメラの上面側には、レリーズシャッタSW1、モードダイアルSW2、サブ液晶ディスプレイ(以下、液晶ディスプレイを「LCD」という)1が配置されている。
図1(b)に示すように、デジタルカメラの正面側には、撮影レンズを含む鏡筒ユニット7、光学ファインダ4、ストロボ発光部3、測距ユニット5、リモコン受光部6、メモリカード装填室及び電池装填室の蓋2が配置されている。
図1(c)に示すように、デジタルカメラの背面側には、電源スイッチ13、LCDモニタ10、AF用LED8、ストロボLED9、光学ファインダ4、広角方向ズームスイッチSW3、望遠方向ズームスイッチSW4、セルフタイマの設定及び解除スイッチSW5、メニュースイッチSW6、上移動およびストロボセットスイッチSW7、右移動スイッチSW8、ディスプレイスイッチSW9、下移動およびマクロスイッチSW10、左移動および画像確認スイッチSW11、OKスイッチSW12、クイックアクセススイッチSW13が配置されている。
As shown in FIG. 1A, a release shutter SW1, a mode dial SW2, and a sub liquid crystal display (hereinafter referred to as “LCD”) 1 are arranged on the upper surface side of the digital camera.
As shown in FIG. 1B, on the front side of the digital camera, a lens barrel unit 7 including a taking lens, an optical finder 4, a strobe light emitting unit 3, a distance measuring unit 5, a remote control light receiving unit 6, a memory card loading chamber. A battery loading chamber lid 2 is disposed.
As shown in FIG. 1C, on the back side of the digital camera, there are 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-portion. Timer setting and release switch SW5, menu switch SW6, upward movement and strobe set switch SW7, rightward movement switch SW8, display switch SW9, downward movement and macro switch SW10, leftward movement and image confirmation switch SW11, OK switch SW12, quick access A switch SW13 is arranged.

次に、デジタルカメラの内部のシステム構成について説明する。
図2に示すように、デジタルスチルカメラの各部は、デジタルスチルカメラプロセッサ104(以下、単に「プロセッサ104」という)によって制御されるように構成されている。
プロセッサ104は、CCD1信号処理ブロック(104−1)、CCD2信号処理ブロック(104−2)、CPUブロック(104−3)、ローカルSRAM(104−4)、USBブロック(104−5)、シリアルブロック(104−6)、JPEG・CODECブロック(104−7)、RESIZEブロック(104−8)、TV信号表示ブロック(104−9)、メモリカードコントローラブロック(104−10)を有しており、これらは、相互にバスラインで接続されている。
プロセッサ104の外部には、RAW−RGB画像データ、YUV画像データ、JPEG画像データを保存するSDRAM103が配置されていて、プロセッサ104とバスラインによって繋がっている。
プロセッサ104の外部には、また、RAM107、内蔵メモリ120、制御プログラムが格納されたROM108が配置されていて、プロセッサ104とバスラインによって繋がっている。
Next, an internal system configuration of the digital camera will be described.
As shown in FIG. 2, each part of the digital still camera is configured to be controlled by a digital still camera processor 104 (hereinafter simply referred to as “processor 104”).
The processor 104 includes a CCD1 signal processing block (104-1), a CCD2 signal processing block (104-2), a CPU block (104-3), a local SRAM (104-4), a USB block (104-5), and a serial block. (104-6), JPEG / CODEC block (104-7), RESIZE block (104-8), TV signal display block (104-9), and memory card controller block (104-10). Are connected to each other by a bus line.
An SDRAM 103 for storing RAW-RGB image data, YUV image data, and JPEG image data is disposed outside the processor 104, and is connected to the processor 104 by a bus line.
Outside the processor 104, a RAM 107, a built-in memory 120, and a ROM 108 storing a control program are arranged, and are connected to the processor 104 by a bus line.

鏡筒ユニット7は、ズームレンズ(7−1a)を有するズーム光学系(7−1)、フォーカスレンズ(7−2a)を有するフォーカス光学系(7−2)、絞り(7−3a)を有する絞りユニット(7−3)、メカニズムシャッタ(7−4a)を有するメカシャッタユニット(7−4)を有する。
ズーム光学系(7−1)、フォーカス光学系(7−2)、絞りユニット(7−3)、メカシャッタユニット(7−4)は、それぞれズームモータ(7−1b)、フォーカスモータ(7−2b)、絞りモータ(7−3b)、メカシャッタモータ(7−4b)によって駆動されるようになっており、これら各モータは、プロセッサ104のCPUブロック(104−3)によって制御されるモータドライバ(7−5)によって動作が制御されるように構成されている。
The lens barrel unit 7 includes a zoom optical system (7-1) having a zoom lens (7-1a), a focus optical system (7-2) having a focus lens (7-2a), and a diaphragm (7-3a). It has a mechanical shutter unit (7-4) having a diaphragm unit (7-3) and a mechanism shutter (7-4a).
The zoom optical system (7-1), the focus optical system (7-2), the aperture unit (7-3), and the mechanical shutter unit (7-4) are respectively a zoom motor (7-1b) and a focus motor (7- 2b), a diaphragm motor (7-3b), and a mechanical shutter motor (7-4b). These motors are controlled by a CPU block (104-3) of the processor 104. The operation is controlled by (7-5).

鏡筒ユニット7は、撮像素子であるCCD101に被写体像を結ぶ撮影レンズを有し、CCD101は上記被写体像を画像信号に変換してF/E−IC102に入力する。
F/E−IC102は、周知のとおりCDS(102−1)、ADC(102−2)、A/D変換部(102−3)を有しており、上記画像信号にそれぞれ所定の処理を施し、デジタル信号に変換してプロセッサ104のCCD1信号処理ブロック(104−1)に入力する。これらの信号処理動作は、プロセッサ104のCCD1信号処理ブロック(104−1)から出力されるVD・HD信号により、TG(102−4)を介して制御される。
The lens barrel unit 7 has a photographic lens that connects a subject image to a CCD 101 that is an image sensor. The CCD 101 converts the subject image into an image signal and inputs the image signal to the F / E-IC 102.
As is well known, the F / E-IC 102 includes a CDS (102-1), an ADC (102-2), and an A / D conversion unit (102-3), and performs predetermined processing on each of the image signals. The digital signal is converted into a digital signal and input to the CCD1 signal processing block (104-1) of the processor 104. These signal processing operations are controlled via the TG (102-4) by the VD / HD signal output from the CCD1 signal processing block (104-1) of the processor 104.

プロセッサ104の前記CPUブロック(104−3)は、音声記録回路(115−1)による音声記録動作を制御するようになっている。音声記録回路(115−1)は、マイクロホン(115−3)で変換された音声信号のマイクロホンアンプ(115−2)による増幅信号を、指令に応じて記録する。
上記CPUブロック(104−3)は、音声再生回路(116−1)の動作も制御する。音声再生回路(116−1)は、指令により、適宜のメモリに記録されている音声信号を再生してオーディオアンプ(116−2)に入力し、スピーカー(116−3)から音声を出力するように構成されている。
上記CPUブロック(104−3)は、また、ストロボ回路114の動作を制御することによって、ストロボ発光部3から照明光を発光させるようになっている。
また、CPUブロック(104−3)は、測距ユニット5の動作も制御するようになっている。
The CPU block (104-3) of the processor 104 controls the sound recording operation by the sound recording circuit (115-1). The voice recording circuit (115-1) records an amplified signal of the voice signal converted by the microphone (115-3) by the microphone amplifier (115-2) according to the command.
The CPU block (104-3) also controls the operation of the sound reproduction circuit (116-1). The audio reproduction circuit (116-1) reproduces an audio signal recorded in an appropriate memory according to a command, inputs the audio signal to the audio amplifier (116-2), and outputs the audio from the speaker (116-3). It is configured.
The CPU block (104-3) also emits illumination light from the strobe light emitting unit 3 by controlling the operation of the strobe circuit 114.
The CPU block (104-3) also controls the operation of the distance measuring unit 5.

CPUブロック(104−3)は、プロセッサ104の外部に配置されたサブCPU109とつながっていて、サブCPU109はLCDドライバ111を介してサブLCD1による表示を制御するようになっている。
サブCPU109はさらに、AFLED8、ストロボLED9、リモコン受光部6、前記スイッチSW1〜SW13からなる操作キーユニット、ブザー113と繋がっている。
The CPU block (104-3) is connected to a sub CPU 109 arranged outside the processor 104, and the sub CPU 109 controls display by the sub LCD 1 via the LCD driver 111.
The sub CPU 109 is further connected to an AF LED 8, a strobe LED 9, a remote control light receiving unit 6, an operation key unit including the switches SW1 to SW13, and a buzzer 113.

前記USBブロック(104−5)は、USBコネクタ122に繋がっており、前記シリアルブロック(104−6)は、シリアルドライバ回路(123−1)を介してRS−232Cコネクタ(123−2)に繋がっている。
前記TV表示ブロック(104−9)は、LCDドライバ117を介してLCDモニタ10に繋がっており、また、ビデオアンプ118を介してビデオジャック119に繋がっている。前記メモリカードコントローラブロック(104−10)は、メモリカードスロット121の、カード接点と繋がっている。
The USB block (104-5) is connected to a USB connector 122, and the serial block (104-6) is connected to an RS-232C connector (123-2) via a serial driver circuit (123-1). ing.
The TV display block (104-9) is connected to the LCD monitor 10 via the LCD driver 117, and is connected to the video jack 119 via the video amplifier 118. The memory card controller block (104-10) is connected to the card contact of the memory card slot 121.

次に、上述したような構成を有するデジタルスチルカメラの動作を説明する。先ず、デジタルスチルカメラの全体的な動作概要を説明する。
図1に示すモードダイアルSW2を記録モードに設定すると、カメラが記録モードで起動する。モードダイアルSW2の設定は、図2における操作部に含まれるモードスイッチの状態が記録モードONになったことをCPUが検知し、モータドライバ(7−5)を制御して、鏡胴ユニット7を撮影可能な位置に移動させる。さらにCCD101、F/E−IC102、LCDディスプレイ10等の各部に電源を投入して動作を開始させる。各部の電源が投入されると、ファインダモードの動作が開始される。
Next, the operation of the digital still camera having the above-described configuration will be described. First, an overall operation outline of the digital still camera will be described.
When the mode dial SW2 shown in FIG. 1 is set to the recording mode, the camera is activated in the recording mode. The mode dial SW2 is set by the CPU detecting that the mode switch included in the operation unit in FIG. 2 is in the recording mode ON, and controlling the motor driver (7-5) to control the lens barrel unit 7. Move to a position where you can shoot. Further, the power is turned on to the respective parts such as the CCD 101, the F / E-IC 102, the LCD display 10 and the like to start the operation. When the power of each part is turned on, the operation in the finder mode is started.

ファインダモードでは、レンズを通して撮像素子(CCD101)に入射した光は、電気信号に変換されてアナログ信号のR、G、BとしてCDS回路(102−1)、A/D変換器(102−3)に送られる。
A/D変換器(102−3)でデジタル信号に変換された所定の信号は、デジタル信号処理IC(SDRAM103)内のYUV変換部でYUV信号に変換されて、メモリコントローラによってフレームメモリに書き込まれる。
このYUV信号はメモリコントローラに読み出されて、TV信号表示ブロック(104−9)を介してTVやLCDモニタ10へ送られて表示が行われる。
この処理が1/30秒間隔で行われ、1/30秒ごとに更新されるファインダモードの表示となる。
In the finder mode, the light incident on the image sensor (CCD101) through the lens is converted into an electrical signal and converted into analog signals R, G, B as a CDS circuit (102-1) and an A / D converter (102-3). Sent to.
The predetermined signal converted into the digital signal by the A / D converter (102-3) is converted into a YUV signal by the YUV conversion unit in the digital signal processing IC (SDRAM 103), and written into the frame memory by the memory controller. .
This YUV signal is read out by the memory controller and sent to the TV or LCD monitor 10 via the TV signal display block (104-9) for display.
This process is performed at 1/30 second intervals, and a finder mode display updated every 1/30 seconds is obtained.

また、デジタル信号処理IC(SDRAM103)のCCD−I/Fブロック内に取り込まれたデジタルRGB信号より、画面の合焦度合いを示すAF評価値、露光状態を示すAE評価値が算出される。
AF評価値データは、CCD101のある領域区間を特徴データとしてデジタルスチルカメラプロセッサ104内CCD1信号処理ブロック(104−1)で検出される。
AF評価値は、CCD1信号処理ブロック(104−1)の中で生成される。
CCD1信号処理ブロック(104−1)内では、まずF/EICからのデータをデジタルクランプ、ホワイトバランス、ガンマ補正を行う。
AF評価値の検出は、デジタルクランプの後、もしくはガンマ補正後のどちらか一方にて検出する(図3)。
このカメラにおいては、図3中のデジタルクランプ後、もしくはガンマ補正後のいずれかに設定する手段を設けるようにし、状況に応じて設定を変更できるようにしておく。
Also, an AF evaluation value indicating the degree of focusing on the screen and an AE evaluation value indicating the exposure state are calculated from the digital RGB signals captured in the CCD-I / F block of the digital signal processing IC (SDRAM 103).
The AF evaluation value data is detected by the CCD1 signal processing block (104-1) in the digital still camera processor 104 using a certain area section of the CCD 101 as feature data.
The AF evaluation value is generated in the CCD1 signal processing block (104-1).
In the CCD 1 signal processing block (104-1), first, data from the F / EIC is digitally clamped, white balance, and gamma corrected.
The AF evaluation value is detected either after digital clamping or after gamma correction (FIG. 3).
In this camera, means for setting either after digital clamping or after gamma correction in FIG. 3 is provided so that the setting can be changed according to the situation.

ここでガンマ補正とは、自然に近い表示を得るために色補正を行い、画像の明るさの変化に対する電圧換算値の変化の比を1に近づける処理を行うことである。
このガンマ補正を行うことにより、被写体のコントラストは高くなる傾向になるため、デフォルトではガンマ補正後に設定しておくことにする。
また、AF評価値は、検出する際に周波数成分抽出フィルタの出力積分値や、近接画素の輝度差の積分値によって作成される。
Here, the gamma correction is to perform color correction in order to obtain a display close to natural, and to perform a process for bringing the ratio of the change in the voltage conversion value to the change in the brightness of the image close to 1.
By performing this gamma correction, the contrast of the subject tends to increase. Therefore, by default, it is set after gamma correction.
Also, the AF evaluation value is created based on the output integrated value of the frequency component extraction filter and the integrated value of the luminance difference between adjacent pixels when it is detected.

周波数成分抽出フィルタは、図4に示すように、高周波用である第1フィルタ41、低周波用である第2フィルタ42の二種類あり、また、これらのフィルタを掛け合わせたフィルタの出力積分値も作成することができる(図4中の第3フィルタ43)。
これらの高周波用の第1フィルタ41、低周波用の第2フィルタ42は、画像処理場のフィルタである。
高周波用の第1フィルタ41は、画素間の輝度差を強調するフィルタ(ハイパスフィルタ)である。高周波用の第1フィルタ41は、近接する画素の輝度データにそれぞれ「−1」「2」「−1」の係数をかけるようになっている。
低周波用の第2フィルタ42は、近接するが外の相関をなだらかにしてノイズ成分を除去するフィルタ(ローパスフィルタ)である。この第2フィルタ42は、近接する画素の輝度データに、それぞれ「1」「2」「1」の係数を掛けるようになっている。
第3フィルタ43は、高周波用フィルタ41によって強調された輝度データを、低周波用のフィルタ42によってノイズ除去を行うフィルタである。通常、AF評価値データを出力する際に用いるフィルタは、高周波用の第1フィルタ41や、第3フィルタ43のようなフィルタを用いる。
As shown in FIG. 4, there are two types of frequency component extraction filters, a first filter 41 for high frequency and a second filter 42 for low frequency, and an output integrated value of a filter obtained by multiplying these filters. Can also be created (third filter 43 in FIG. 4).
The high frequency first filter 41 and the low frequency second filter 42 are filters in an image processing field.
The first filter 41 for high frequency is a filter (high pass filter) that emphasizes the luminance difference between pixels. The first filter 41 for high frequency is configured to apply coefficients of “−1”, “2”, and “−1” to the luminance data of adjacent pixels.
The low-frequency second filter 42 is a filter (low-pass filter) that removes a noise component by making the outside correlation close by gently approaching. The second filter 42 multiplies the luminance data of adjacent pixels by coefficients of “1”, “2”, and “1”, respectively.
The third filter 43 is a filter that removes noise from the luminance data emphasized by the high frequency filter 41 by the low frequency filter 42. Usually, a filter such as the first filter 41 for high frequency or the third filter 43 is used as a filter for outputting AF evaluation value data.

近接する画素にこの積分値は合焦状態にあるとき被写体のエッジ部分がはっきりとしているため高周波成分が一番高くなる。これを利用して、AFによる合焦検出動作時は、それぞれのフォーカスレンズ位置におけるAF評価値を取得して、その極大になる点(ピーク位置)を検出する。また、極大になる点が複数あることも考慮に入れておく必要がある。極大点が複数ある場合はピーク位置の評価値の大きさや、その周辺の評価値との下降、上昇度合いを判断し、最も信頼性のある点を合焦位置としてAFを実行する。   When the integral value is close to the adjacent pixel, the high frequency component becomes the highest because the edge portion of the subject is clear. By utilizing this, during the focus detection operation by AF, the AF evaluation value at each focus lens position is acquired, and the point (peak position) at which the maximum is obtained is detected. It is also necessary to take into account that there are multiple points that can be maximized. If there are a plurality of local maximum points, the magnitude of the evaluation value at the peak position and the degree of descending or rising from the surrounding evaluation values are judged, and AF is executed with the most reliable point as the in-focus position.

また、AE評価値においては、デジタルRGB信号をいくつかのエリアに分割し、そのエリア内の輝度データを用いる。
これにおいては、各エリア内の画素に対して、所定の閾値を超えるものを対象画素とし、その輝度値を加算、対象画素数で乗算する。各エリアの輝度分布により、適正露光量を算出し、次のフレームの取り込みに対し補正を行う。
In the AE evaluation value, the digital RGB signal is divided into several areas and the luminance data in the area is used.
In this case, for pixels in each area, those exceeding a predetermined threshold are set as target pixels, and their luminance values are added and multiplied by the number of target pixels. An appropriate exposure amount is calculated based on the luminance distribution of each area, and correction is performed for capturing the next frame.

図1中のレリーズシャッタSW1のボタンが押されると、図2に示したCCD101からF/E−IC102を介して、静止画撮影開始信号がプロセッサ104に取り込まれる。
続いて、マイコン(CPUブロック104−3)がフレームレートに同期してモータドライバ(7−5)を介してフォーカスレンズ(7−2a)の駆動モータ(7−2b)を駆動することにより、山登りAFを実行する。
合焦範囲が無限から至近までの全領域であった場合、フォーカスレンズは、至近から無限、または無限から至近までの間を移動し、デジタル信号処理ICで作成された各フレーム(=各フォーカス位置)におけるAF評価値をマイコンが読み出す。
各フォーカス位置のAF評価値が極大になる点を合焦位置として、フォーカスレンズ(7−2a)を合焦位置に移動させる。
When the button of the release shutter SW1 in FIG. 1 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 microcomputer (CPU block 104-3) drives the drive motor (7-2b) of the focus lens (7-2a) via the motor driver (7-5) in synchronization with the frame rate, thereby climbing the mountain. Execute AF.
When the in-focus range is the entire region from infinity to close, the focus lens moves from close to infinity, or from infinity to close, and each frame (= focus position) created by the digital signal processing IC. The microcomputer reads out the AF evaluation value at).
The focus lens (7-2a) is moved to the in-focus position with the point at which the AF evaluation value at each focus position is maximized as the in-focus position.

上記のようなAFが完了した後に、CCD101から取り出されたアナログRGB信号は、デジタルRGB信号に変換され、デジタル信号処理ICを介してフレームメモリとしてのSDRAM109に格納される。
デジタルRGB信号は、再度デジタル信号処理回路に読み込まれ、YUVデータに変換されて、上記フレームメモリに書き戻される。
スチル画像撮像時はYUV変換された画像データがデジタル信号処理IC内の画像圧縮伸張回路としてのJPEG CODECブロック(104−7)に送られる。
画像圧縮伸張回路に送られたYUVデータは圧縮され、フレームメモリに書き戻される。
フレームメモリの圧縮データはデジタル信号処理回路を介して読み出され、データ記憶メモリ、例えばメモリカードに格納される。
After the AF as described above is completed, the analog RGB signal extracted from the CCD 101 is converted into a digital RGB signal and stored in the SDRAM 109 as a frame memory via the digital signal processing IC.
The digital RGB signal is read again by the digital signal processing circuit, converted into YUV data, and written back to the frame memory.
At the time of capturing a still image, YUV converted image data is sent to a JPEG CODEC block (104-7) as an image compression / decompression circuit in the digital signal processing IC.
The YUV data sent to the image compression / decompression circuit is compressed and written back to the frame memory.
The compressed data in the frame memory is read out through a digital signal processing circuit and stored in a data storage memory, for example, a memory card.

本発明の撮像装置の実施例について、それらの特徴となる動作を、フローチャートを中心に参照しながら説明する。
なお、図示の各フローチャートにおいては、動作ステップを(5−1)(5−2)・・・のように表示する。
Examples of the imaging apparatus according to the present invention will be described with reference to a flowchart, with reference to the flowchart.
In each illustrated flowchart, the operation steps are displayed as (5-1), (5-2).

〔実施例1〕
図5に、撮像装置の具体的な動作フローチャートを示す。
この例における撮像装置は、レンズを通過してきた被写体からの光による被写体像を撮像素子に受光して画像データを得るものであり、被写体像の任意の周波数成分を透過させるフィルタを選択するフィルタ選択手段と、レンズ位置にフォーカスレンズを移動させることにより得られる画像データから焦点を検出する自動焦点検出手段と、前記画像データを取り込むタイミングを設定する取り込みタイミング設定手段を具備しているものとし、撮影条件に応じて、前記取り込みタイミング設定手段を用いることとされているものであり、前記取り込みタイミング設定手段で設定された、取り込みタイミングに応じて、前記フィルタ選択手段のフィルタを変更するようになされている。
[Example 1]
FIG. 5 shows a specific operation flowchart of the imaging apparatus.
The image pickup apparatus in this example obtains image data by receiving a subject image of light from a subject that has passed through a lens by an image sensor, and selects a filter that transmits an arbitrary frequency component of the subject image. And an automatic focus detection means for detecting a focus from image data obtained by moving the focus lens to the lens position, and an acquisition timing setting means for setting the timing for acquiring the image data. The capture timing setting means is used according to conditions, and the filter of the filter selection means is changed according to the capture timing set by the capture timing setting means. Yes.

先ず、図1中に示したレリーズシャッタボタンSW1が操作し、レリーズシャッタボタンが押される直前の撮影モードを検出する(5−1)。撮影モードとしては、(a)通常撮影モードと、(b)暗時撮影モードの、二通りのモードの検出できるようになっており、図1に示すモードダイアルSW2で適宜切り換えられるようになっている。   First, the release shutter button SW1 shown in FIG. 1 is operated to detect the shooting mode immediately before the release shutter button is pressed (5-1). As the shooting mode, two modes of (a) normal shooting mode and (b) dark shooting mode can be detected, and can be switched as appropriate by the mode dial SW2 shown in FIG. Yes.

次に、検出された撮影モードに応じて、AF評価値の取り込みタイミングの設定を決定する(5−2)。
上記評価値取り込みタイミング設定処理に関して図6に示す。
撮影モードが上記(a)の通常撮影モードである場合(6−1)には、評価値取り込みタイミングをガンマ補正後(6−2)とし、次の処理へと進める。
撮影モードが上記(b)の暗時撮影モードの場合は、暗時に使われることが多いため、ガンマ補正をしてしまうと、被写体も黒沈みしてしまうおそれがあるため、評価値取り込みタイミングをデジタルクランプ後にすることによって被写体を黒沈みしないようにし(6−3)、次の処理へと進める。
Next, the setting of the AF evaluation value capture timing is determined according to the detected shooting mode (5-2).
The evaluation value fetch timing setting process is shown in FIG.
If the shooting mode is the normal shooting mode (a) (6-1), the evaluation value fetch timing is set to (6-2) after gamma correction, and the process proceeds to the next process.
When the shooting mode is the dark shooting mode (b) above, it is often used in the dark, so if gamma correction is performed, the subject may also sink in the dark. After the digital clamp, the subject is prevented from sinking (6-3), and the process proceeds to the next process.

続いて、図5中に示すフィルタ選択処理を行う(5−3)。
この処理に関するフローチャートを図7に示す。
評価値取り込みタイミングがデフォルトのガンマ補正後である場合(7−1)は、フィルタについては、高周波用の第1フィルタ41を選択するようにする(7−2)。デジタルクランプ後とした場合には、フィルタについては、高周波用の第1フィルタ41と、低周波用である第2フィルタ42を掛け合わせた第3フィルタ43を選択するようにする(7−3)。
Subsequently, the filter selection process shown in FIG. 5 is performed (5-3).
A flowchart relating to this processing is shown in FIG.
When the evaluation value fetch timing is after the default gamma correction (7-1), the first filter 41 for high frequency is selected for the filter (7-2). In the case of after the digital clamping, the third filter 43 obtained by multiplying the first filter 41 for high frequency and the second filter 42 for low frequency is selected as the filter (7-3). .

このように、特に暗時撮影モードにおいては、ガンマ補正による黒沈みがおきないように、デジタルクランプ後にAF評価値を取得し、フィルタを低周波用の第2フィルタ2に設定することで、低輝度でもAF精度を上げることが可能となる。   In this way, particularly in the dark shooting mode, the AF evaluation value is acquired after digital clamping and the filter is set to the second filter 2 for low frequency so that black sink due to gamma correction does not occur. It is possible to increase AF accuracy even with luminance.

続いて、図5中に示すように、フォーカス開始位置にフォーカスレンズ(7−2a)を移動させ(5−4)、AF評価値を取得する(5−5)。
AF評価値の取得の後、ピーク判定処理(5−6)により、その評価値がピークかどうかの検出、すなわち「ピーク検出NG?」を判断する(5−7)。ピーク判定処理に用いる閾値については、ピークが検出された場合はピーク位置決定処理へ移動する(5−10)。ピークが検出されない場合には、スキャンがフォーカス位置の最終端まで終了したかどうかの判断ステップ(5−8)に進み、スキャンが終了していない場合は、順次フォーカス位置を移動させ(5−9)、評価値取得処理ステップ(5−5)まで戻って同様の処理を繰り返し行うようにする。
またスキャンが終了した場合は、ピーク位置決定処理(5−10)へ移動する。
Subsequently, as shown in FIG. 5, the focus lens (7-2a) is moved to the focus start position (5-4), and an AF evaluation value is acquired (5-5).
After obtaining the AF evaluation value, the peak determination process (5-6) determines whether the evaluation value is a peak, that is, “peak detection NG?” (5-7). As for the threshold used for the peak determination process, when a peak is detected, the process moves to the peak position determination process (5-10). If no peak is detected, the process proceeds to a step (5-8) for determining whether or not the scan has been completed to the final end of the focus position. If the scan has not been completed, the focus position is sequentially moved (5-9). ), Returning to the evaluation value acquisition processing step (5-5), the same processing is repeated.
When the scan is completed, the process moves to the peak position determination process (5-10).

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

また、上述した例においては、単純な3係数の高周波用フィルタ、低周波用フィルタ、及びその掛け合わせたフィルタを用いているが、マイコン(CPUブロック104−3)が許すのであれば、さらに5、7係数といったようなフィルタを用いることが好ましい。   In the above-described example, a simple three-factor high-frequency filter, a low-frequency filter, and a filter obtained by multiplying them are used. It is preferable to use a filter such as 7 coefficients.

また、評価値取り込みタイミングの設定状態、フィルタ選択のしかたによって、AF評価値ピークの山の出力が異なることも考慮して、上記ピーク判定処理(5−6)の際の、ピーク判定に用いる閾値などは、画像データ出力の状態に応じて可変できるようにすることが好ましい。   Also, considering that the output of the peak of the AF evaluation value peak differs depending on the setting state of the evaluation value capture timing and the filter selection method, the threshold value used for peak determination in the peak determination process (5-6) It is preferable that the above can be changed according to the state of image data output.

また、上述した実施例において、二通りの撮影モードでAF評価値の取り込みタイミングを選択したが、本発明は、上述した例に限定されるものではない。
例えば、マクロモードに関しては、マクロ被写体を撮影する際に、カメラそのものが影となる場合もあるため、結果として画面上では低輝度状態となってしまうことがある。このような場合を考慮して、マクロモード時はAF評価値取り込みタイミングをデジタルクランプ後にして被写体の黒沈みがおきないようにすることが望ましい。
In the above-described embodiments, the AF evaluation value capture timing is selected in two shooting modes. However, the present invention is not limited to the above-described example.
For example, with respect to the macro mode, when shooting a macro subject, the camera itself may become a shadow, which may result in a low brightness state on the screen. In consideration of such a case, in macro mode, it is desirable to prevent the darkening of the subject from occurring after the digital clamping of the AF evaluation value capturing timing.

〔実施例2〕
図8に、本発明の撮像装置における実施例2の動作フローチャートを示す。
この例における撮像装置は、被写体像の任意の周波数成分を透過させるフィルタを選択するフィルタ選択手段と、レンズ位置にフォーカスレンズを移動させることにより得られる画像データから焦点を検出する自動焦点検出手段と、前記画像データを取り込むタイミングを設定する取り込みタイミング設定手段と、被写体輝度を測定する測光手段を備えているものとし、この測光手段で得られる測光結果に応じて、前記取り込みタイミング設定手段を用いることとなされており、前記取り込みタイミング設定手段で設定された、取り込みタイミングに応じて、前記フィルタ選択手段のフィルタを変更するようになされているものとする。
[Example 2]
FIG. 8 shows an operation flowchart of the second embodiment in the imaging apparatus of the present invention.
The imaging apparatus in this example includes a filter selection unit that selects a filter that transmits an arbitrary frequency component of a subject image, and an automatic focus detection unit that detects a focus from image data obtained by moving the focus lens to a lens position. Suppose that it is provided with a capture timing setting means for setting the timing for capturing the image data and a photometric means for measuring the subject brightness, and the capture timing setting means is used according to the photometric result obtained by the photometric means. It is assumed that the filter of the filter selection unit is changed according to the capture timing set by the capture timing setting unit.

先ず、図1に示したレリーズシャッタボタンSW1を操作し、レリーズシャッタボタンが押される直前の測光結果より、被写体の輝度を判定する(8−1)。
被写体輝度は、CCD101の出力から測定することができる。この測定結果から得られる輝度(LV値)に応じて、AF評価値の取り込みタイミングの設定を決定する(8−2)。
First, the release shutter button SW1 shown in FIG. 1 is operated, and the luminance of the subject is determined from the photometric result immediately before the release shutter button is pressed (8-1).
The subject brightness can be measured from the output of the CCD 101. In accordance with the luminance (LV value) obtained from the measurement result, the setting of the AF evaluation value capture timing is determined (8-2).

上記評価値取り込みタイミングの設定処理に関して図9に示す。
被写体輝度がLV6以上である場合(9−1)は、評価値取り込みタイミングをガンマ補正後(9−2)とし、次の処理へと進む。
LV6未満であれば評価値取り込みタイミングをデジタルクランプ後にし(9−3)、次の処理へと進む。
これによって、LV6未満の暗い場合に関しては被写体の黒沈みが生じないようにすることができる。
各判断ステップにおいて設定した上記輝度の閾値(LV値)は、この実施例2の場合に限ったものであり、一般的には、レンズの絞り値(F値)、CCD101の性能等に応じて適宜変更できるようにする。
FIG. 9 shows the evaluation value fetch timing setting process.
If the subject brightness is LV6 or higher (9-1), the evaluation value capture timing is set to after gamma correction (9-2), and the process proceeds to the next process.
If it is less than LV6, the evaluation value fetch timing is set after digital clamping (9-3), and the process proceeds to the next process.
As a result, the darkening of the subject can be prevented from occurring in the dark case of less than LV6.
The above-described luminance threshold value (LV value) set in each determination step is limited to the case of the second embodiment, and generally depends on the lens aperture value (F value), the performance of the CCD 101, and the like. Make changes as appropriate.

続いて、図8中に示すように、フィルタ選択処理を行う(8−3)。
この処理に関してのフローチャートは図7に示す通りである。
すなわち、AF評価値取り込みタイミングがデフォルトのガンマ補正後の場合(7−1)は、フィルタについては、高周波用の第1フィルタ41を選択するようにする(7−2)。デジタルクランプ後とした場合には、フィルタについては、高周波用の第1フィルタ41と、低周波用である第2フィルタ42を掛け合わせた第3フィルタ43を選択するようにする(7−3)。
このように、デジタルクランプ後にするような低輝度の環境の場合では、フィルタを低周波側にすることにより、AF精度を上げることができる。
Subsequently, as shown in FIG. 8, filter selection processing is performed (8-3).
A flowchart regarding this processing is as shown in FIG.
That is, when the AF evaluation value capturing timing is after the default gamma correction (7-1), the first filter 41 for high frequency is selected for the filter (7-2). In the case of after the digital clamping, the third filter 43 obtained by multiplying the first filter 41 for high frequency and the second filter 42 for low frequency is selected as the filter (7-3). .
Thus, in the case of a low-luminance environment such as that after digital clamping, the AF accuracy can be increased by setting the filter to the low frequency side.

続いて、図8に示すように、フォーカス開始位置にフォーカスレンズ(7−2a)を移動させ(8−4)、AF評価値を取得する(8−5)。
AF評価値の取得後、ピーク判定処理(8−6)により、その評価値がピークかどうかの検出を行う。すなわち「ピーク検出NG?」を判断する(8−7)。これにおいて、ピークが検出された場合は、ピーク位置決定処理へ移動する(8−10)。ピークが検出されない場合は、スキャンがフォーカス位置の最終端まで終了したかどうかの判断ステップ(8−7)に進み、スキャンが終了していない場合は、順次フォーカス位置を移動させ(8−9)、評価値取得処理ステップ(8−5)まで戻って同様の処理を繰り返し行う。
またスキャンが終了した場合は、ピーク位置決定処理(8−10)へ移動する。
Subsequently, as shown in FIG. 8, the focus lens (7-2a) is moved to the focus start position (8-4), and an AF evaluation value is acquired (8-5).
After obtaining the AF evaluation value, whether or not the evaluation value is a peak is detected by peak determination processing (8-6). That is, “peak detection NG?” Is judged (8-7). If a peak is detected, the process moves to a peak position determination process (8-10). If no peak is detected, the process proceeds to a step (8-7) for determining whether or not the scan has been completed up to the end of the focus position. If the scan has not been completed, the focus position is sequentially moved (8-9). Returning to the evaluation value acquisition processing step (8-5), the same processing is repeated.
When the scan is completed, the process moves to the peak position determination process (8-10).

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

また、上述した例においては、単純な3係数の高周波用フィルタ、低周波用フィルタ、及びその掛け合わせたフィルタを用いているが、マイコン(CPUブロック104−3)が許すのであれば、さらに5、7係数といったようなフィルタを用いることが好ましい。   In the above-described example, a simple three-factor high-frequency filter, a low-frequency filter, and a filter obtained by multiplying them are used. It is preferable to use a filter such as 7 coefficients.

また、上述した実施例2においては、評価値取り込みタイミングに応じてフィルタを可変としているが、輝度に応じて、被写体に応じて別途フィルタを変更できるようにすることが更に望ましい。
また、評価値取り込みタイミングの設定状態、フィルタ選択によって、AF評価値ピークの山の出力が異なることも考慮して、上記ピーク判定処理の際の、ピーク判定に用いる閾値等は、画像データ出力の状態に応じて可変とすることが望ましい。
In the second embodiment described above, the filter is variable according to the evaluation value fetch timing. However, it is more preferable that the filter can be separately changed according to the subject according to the luminance.
Considering that the output of the peak of the AF evaluation value peak varies depending on the setting state of the evaluation value capture timing and the filter selection, the threshold value used for the peak determination in the peak determination processing is the image data output It is desirable to make it variable according to the state.

上述した実施例1、2のように、さまざまな被写体輝度に対応させるため、輝度が小さい場合や、暗時撮影モードのような暗い被写体を撮影する際には、評価値取り込みタイミングをデジタルクランプ後にすることによって、その際の出力に対してフィルタを選択することによって補うことにより、さまざまな輝度の被写体に対応することが可能となる。なお、実施例1は参考例とする。   As in the first and second embodiments described above, in order to correspond to various subject luminances, the evaluation value capture timing is set after digital clamping when the luminance is low or when photographing a dark subject such as a dark photographing mode. By doing so, it is possible to cope with subjects having various luminances by supplementing the output at that time by selecting a filter. Example 1 is a reference example.

(a)デジタルカメラを上方から見た平面図を示す。(b)デジタルカメラを正面から見た平面図を示す。(c)デジタルカメラを背面から見た平面図を示す。(A) The top view which looked at the digital camera from upper direction is shown. (B) The top view which looked at the digital camera from the front is shown. (C) The top view which looked at the digital camera from the back is shown. デジタルカメラの内部システム構成例のブロック図を示す。The block diagram of the example of an internal system structure of a digital camera is shown. CCD1信号処理ブロック内の処理を示す。The processing in the CCD1 signal processing block is shown. 周波数抽出フィルタを示す。A frequency extraction filter is shown. 実施例1の動作フローチャートを示す。The operation | movement flowchart of Example 1 is shown. 評価値取り込みタイミング設定処理のフローチャートを示す。The flowchart of an evaluation value taking-in timing setting process is shown. 評価値取り込みタイミングによるフィルタ選択処理のフローチャートを示す。The flowchart of the filter selection process by evaluation value taking-in timing is shown. 実施例2の動作フローチャートを示す。The operation | movement flowchart of Example 2 is shown. 輝度による評価取り込みタイミング設定処理のフローチャートを示す。The flowchart of the evaluation taking-in timing setting process by luminance is shown.

1 液晶ディスプレイ
2 メモリカード充填室及び電池充填室の蓋
3 ストロボ発光部
4 光学ファインダ
5 測距ユニット
6 リモコン受光部
7 鏡筒ユニット
7−1 ズーム光学系
7−1a ズームレンズ
7−2 フォーカス光学系
7−2a フォーカスレンズ
7−3 絞りユニット
7−3a 絞り
7−4 シャッタユニット
7−4a メカニズムシャッタ
7−1b ズームモータ
7−2b フォーカスモータ
7−3b 絞りモータ
7−4b メカシャッタモータ
7−5 モータドライバ
8 AF用LED
9 ストロボLED
10 LCDモニタ
13 電源スイッチ
41 高周波用の第1フィルタ
42 低周波用の第2フィルタ
101 CCD
102 F/E−IC
102−1 CDS
102−2 ADC
102−3 A/D変換部
102−4 TG
103 SDRAM
104 デジタルスチルカメラプロセッサ
104−1 CCD1信号処理ブロック
104−2 CCD2信号処理ブロック
104−3 CPUブロック
104−4 ローカルSRAM
104−5 USBブロック
104−6 シリアルブロック
104−7 JPEG・CODECブロック
104−8 RESIZEブロック
104−9 TV信号表示ブロック
104−10 メモリカードコントローラブロック
107 RAM
108 ROM
109 CPU
111 LCDドライバ
113 ブザー
115−1 音声記録回路
115−2 マイクロホンアンプ
115−3 マイクロホン
116−1 音声再生回路
116−2 オーディオアンプ
116−3 スピーカー
117 LCDドライバ
118 ビデオアンプ
119 ビデオジャック
120 内蔵メモリ
121 メモリカードスロット
122 USBコネクタ
123−1 シリアルドライバ回路
123−2 RS−232Cコネクタ
SW1 レリーズシャッタ
SW2 モードダイアル
SW3 広角方向ズームスイッチ
SW4 望遠方向ズームスイッチ
SW5 セルフタイマの設定及び解除スイッチ
SW6 メニュースイッチ
SW7 上移動およびストロボセットスイッチ
SW8 右移動スイッチ
SW9 ディスプレイスイッチ
SW10 下移動およびマクロスイッチ
SW11 左移動および画像確認スイッチ
SW12 OKスイッチ
SW13 クイックアクセススイッチ
DESCRIPTION OF SYMBOLS 1 Liquid crystal display 2 Cover of memory card filling room and battery filling room 3 Strobe light emitting part 4 Optical finder 5 Distance measuring unit 6 Remote control light receiving part 7 Lens barrel unit 7-1 Zoom optical system 7-1a Zoom lens 7-2 Focus optical system 7-2a Focus lens 7-3 Aperture unit 7-3a Aperture 7-4 Shutter unit 7-4a Mechanism shutter 7-1b Zoom motor 7-2b Focus motor 7-3b Aperture motor 7-4b Mechanical shutter motor 7-5 Motor driver 8 AF LED
9 Strobe LED
10 LCD monitor 13 Power switch 41 High frequency first filter 42 Low frequency second filter 101 CCD
102 F / E-IC
102-1 CDS
102-2 ADC
102-3 A / D converter 102-4 TG
103 SDRAM
104 Digital still camera processor 104-1 CCD1 signal processing block 104-2 CCD2 signal processing block 104-3 CPU block 104-4 Local SRAM
104-5 USB block 104-6 Serial block 104-7 JPEG / CODEC block 104-8 RESIZE block 104-9 TV signal display block 104-10 Memory card controller block 107 RAM
108 ROM
109 CPU
111 LCD driver 113 Buzzer 115-1 Audio recording circuit 115-2 Microphone amplifier 115-3 Microphone 116-1 Audio reproduction circuit 116-2 Audio amplifier 116-3 Speaker 117 LCD driver 118 Video amplifier 119 Video jack 120 Built-in memory 121 Memory card Slot 122 USB connector 123-1 Serial driver circuit 123-2 RS-232C connector SW1 Release shutter SW2 Mode dial SW3 Wide angle zoom switch SW4 Telephoto zoom switch SW5 Self-timer setting and release switch SW6 Menu switch SW7 Up and strobe set Switch SW8 Move right switch SW9 Display switch SW10 Move down and macro switch SW11 Move left Image confirmation switch SW12 and OK switch SW13 quick access switch

Claims (4)

撮影レンズを通過してきた被写体からの光による被写体像を撮像素子に受光して画像データを得る撮像装置であって、
前記画像データからAF評価値を取得するタイミングを設定する取得タイミング設定手段と、
前記画像データから前記AF評価値を取得するために用いられるフィルタであって、前記画像データの任意の周波数成分を透過させるフィルタを選択するフィルタ選択手段と、
レンズ位置にフォーカスレンズを移動させることにより得られる画像データから取得される前記AF評価値に基づいて焦点を検出する自動焦点検出手段と、
被写体輝度を測定する測光手段と、を備え、
前記取得タイミング設定手段は、前記測光手段で得られる被写体輝度が所定の閾値以上である場合は前記AF評価値を取得するタイミングとしてガンマ補正後を設定し、前記測光手段で得られる被写体輝度が所定の閾値未満である場合は前記AF評価値を取得するタイミングとしてガンマ補正前であってデジタルクランプ後を設定し、
前記フィルタ選択手段は、前記取得タイミング設定手段がデジタルクランプ後を設定した場合に、前記フィルタとして、ガンマ補正後を設定した場合に選択されるフィルタより低域のみを透過させるフィルタを選択し、
かつ、前記自動焦点検出手段で焦点検出を行った結果、閾値を用いて焦点検出可能か否かを判断する検出結果判断手段を具備し、
画像データ出力に応じて、前記検出結果判断手段で用いられる閾値を変更することを特徴とする撮像装置。
An imaging device that obtains image data by receiving an image of a subject by light from a subject that has passed through a photographing lens,
Acquisition timing setting means for setting a timing for acquiring an AF evaluation value from the image data;
A filter selection unit that selects a filter that is used to obtain the AF evaluation value from the image data and transmits an arbitrary frequency component of the image data;
Automatic focus detection means for detecting a focus based on the AF evaluation value acquired from image data obtained by moving the focus lens to a lens position;
Photometric means for measuring subject brightness,
The acquisition timing setting unit sets after gamma correction as a timing for acquiring the AF evaluation value when the subject luminance obtained by the photometry unit is equal to or higher than a predetermined threshold, and the subject luminance obtained by the photometry unit is predetermined. If it is less than the threshold value, before the gamma correction is set as the timing for obtaining the AF evaluation value, after the digital clamp,
When the acquisition timing setting unit is set after digital clamping , the filter selection unit selects a filter that transmits only a lower band than the filter selected when setting after gamma correction as the filter ,
And, as a result of performing focus detection by the automatic focus detection means, comprising a detection result determination means for determining whether focus detection is possible using a threshold value,
An imaging apparatus characterized by changing a threshold used by the detection result judging means in accordance with image data output.
前記取得タイミング設定手段がデジタルクランプ後に設定した場合、前記検出結果判断手段で用いられる閾値を下げることを特徴とする請求項1に記載の撮像装置。   The imaging apparatus according to claim 1, wherein when the acquisition timing setting unit is set after digital clamping, the threshold used by the detection result determination unit is lowered. 撮影レンズを通過してきた被写体からの光による被写体像を撮像素子に受光して画像データを得る撮像方法であって、
前記画像データからAF評価値を取得するタイミングを設定する取得タイミング設定工程と、
前記画像データから前記AF評価値を取得するために用いられるフィルタであって、前記画像データの任意の周波数成分を透過させるフィルタを選択するフィルタ選択工程と、
レンズ位置にフォーカスレンズを移動させることにより得られる画像データから取得される前記AF評価値に基づいて焦点を検出する自動焦点検出工程と、
被写体輝度を測定する測光工程と、を有しており、
前記取得タイミング設定工程は、前記測光工程で得られる被写体輝度が所定の閾値以上である場合は前記AF評価値を取得するタイミングとしてガンマ補正後を設定し、前記測光工程で得られる被写体輝度が所定の閾値未満である場合は前記AF評価値を取得するタイミングとしてガンマ補正前であってデジタルクランプ後を設定し、
前記フィルタ選択工程は、前記取得タイミング設定工程がデジタルクランプ後を設定した場合に、前記フィルタとして、ガンマ補正後を設定した場合に選択されるフィルタより低域のみを透過させるフィルタを選択し、
かつ、前記自動焦点検出工程で焦点検出を行った結果、閾値を用いて焦点検出可能か否かを判断する検出結果判断工程を有し、
画像データ出力に応じて、前記検出結果判断工程で用いられる閾値を変更することを特徴とする撮像方法。
An imaging method for obtaining image data by receiving an image of a subject by light from a subject that has passed through a photographing lens by an imaging device,
An acquisition timing setting step for setting a timing for acquiring an AF evaluation value from the image data;
A filter selection step for selecting a filter that is used to acquire the AF evaluation value from the image data and transmits an arbitrary frequency component of the image data;
An automatic focus detection step of detecting a focus based on the AF evaluation value acquired from image data obtained by moving the focus lens to a lens position;
A photometric process for measuring subject brightness,
The acquisition timing setting step sets post-gamma correction as a timing for acquiring the AF evaluation value when the subject luminance obtained in the photometry step is equal to or higher than a predetermined threshold, and the subject luminance obtained in the photometry step is predetermined. If it is less than the threshold value, before the gamma correction is set as the timing for obtaining the AF evaluation value, after the digital clamp,
In the filter selection step, when the acquisition timing setting step is set after digital clamping, as the filter , a filter that transmits only a low frequency than a filter selected when setting after gamma correction is selected,
And, as a result of performing focus detection in the automatic focus detection step, it has a detection result determination step of determining whether focus detection is possible using a threshold value,
An imaging method, wherein a threshold used in the detection result determination step is changed according to image data output.
前記取得タイミング設定工程がデジタルクランプ後に設定した場合、前記検出結果判断工程で用いられる閾値を下げることを特徴とする請求項に記載の撮像方法。
The imaging method according to claim 3 , wherein when the acquisition timing setting step is set after digital clamping, a threshold used in the detection result determination step is lowered.
JP2011169003A 2011-08-02 2011-08-02 Imaging apparatus and imaging method using the same Active JP5418553B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011169003A JP5418553B2 (en) 2011-08-02 2011-08-02 Imaging apparatus and imaging method using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011169003A JP5418553B2 (en) 2011-08-02 2011-08-02 Imaging apparatus and imaging method using the same

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2006176640A Division JP4855155B2 (en) 2006-06-27 2006-06-27 Imaging apparatus and imaging method using the same

Publications (2)

Publication Number Publication Date
JP2011257769A JP2011257769A (en) 2011-12-22
JP5418553B2 true JP5418553B2 (en) 2014-02-19

Family

ID=45473936

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011169003A Active JP5418553B2 (en) 2011-08-02 2011-08-02 Imaging apparatus and imaging method using the same

Country Status (1)

Country Link
JP (1) JP5418553B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5857610B2 (en) 2011-10-13 2016-02-10 株式会社リコー Imaging apparatus and imaging method
JP2015038593A (en) * 2013-07-16 2015-02-26 株式会社Jvcケンウッド Focus control device and focus control method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03226076A (en) * 1990-01-30 1991-10-07 Kyocera Corp Video camera automatic focus system
JP3310323B2 (en) * 1992-04-01 2002-08-05 オリンパス光学工業株式会社 Automatic focusing device
JP3180486B2 (en) * 1993-01-06 2001-06-25 松下電器産業株式会社 Automatic focusing device and video camera
JP2006126306A (en) * 2004-10-26 2006-05-18 Seiko Precision Inc Focusing-adjusting device, camera and focusing-adjusting method

Also Published As

Publication number Publication date
JP2011257769A (en) 2011-12-22

Similar Documents

Publication Publication Date Title
JP5322783B2 (en) IMAGING DEVICE AND CONTROL METHOD OF IMAGING DEVICE
JP4824586B2 (en) Imaging device
JP4727534B2 (en) Imaging device
US7961228B2 (en) Imaging apparatus and method for controlling exposure by determining backlight situations and detecting a face
JP5817131B2 (en) Imaging apparatus, imaging method, and imaging program
JP4679179B2 (en) Imaging apparatus and imaging method
JP2009188490A (en) Image processing apparatus, and program
JP2010054730A (en) Focusing position detecting device, imaging apparatus, and focusing position detecting method
JP2014002197A (en) Imaging device and imaging method
JP4855155B2 (en) Imaging apparatus and imaging method using the same
KR101462323B1 (en) Imaging device and imaging method
JPH11215426A (en) Automatic focusing system
JP5857610B2 (en) Imaging apparatus and imaging method
US8040429B2 (en) Electronic apparatus having autofocus camera function
JP2009098167A (en) Imaging device and program of the same
JP5418553B2 (en) Imaging apparatus and imaging method using the same
JP2020008886A (en) Focusing position detection device and focusing position detection method
JP6136310B2 (en) Imaging device
JP5978620B2 (en) Imaging device
JP2011130031A (en) Imaging apparatus, and control method for the same
JP2010020081A (en) Image capturing apparatus and method, and control program and storage medium
JP4714561B2 (en) Imaging apparatus and imaging method
JP2006349908A (en) Imaging apparatus and imaging method
JP2004222185A (en) Imaging device and clamping method therefor
JP2004309653A (en) Imaging unit

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130321

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130424

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130620

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130806

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130927

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20131022

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131104

R151 Written notification of patent or utility model registration

Ref document number: 5418553

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151