JPH09107495A - Camera - Google Patents

Camera

Info

Publication number
JPH09107495A
JPH09107495A JP7261620A JP26162095A JPH09107495A JP H09107495 A JPH09107495 A JP H09107495A JP 7261620 A JP7261620 A JP 7261620A JP 26162095 A JP26162095 A JP 26162095A JP H09107495 A JPH09107495 A JP H09107495A
Authority
JP
Japan
Prior art keywords
dimensional filter
evaluation value
focus adjustment
camera
filter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP7261620A
Other languages
Japanese (ja)
Other versions
JP3717561B2 (en
Inventor
Hitoshi Hashimoto
仁史 橋本
Hiroyuki Watabe
洋之 渡部
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.)
Olympus Corp
Original Assignee
Olympus Optical 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 Olympus Optical Co Ltd filed Critical Olympus Optical Co Ltd
Priority to JP26162095A priority Critical patent/JP3717561B2/en
Publication of JPH09107495A publication Critical patent/JPH09107495A/en
Application granted granted Critical
Publication of JP3717561B2 publication Critical patent/JP3717561B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide the camera provided with an automatic focusing means which realizes satisfactory automatic focusing and has a simple constitution and a low cost by always surely extracting an evaluation value whether the camera main body is taken in the vertical or the horizontal direction or whether an object consists of vertical lines or horizontal lines. SOLUTION: This camera is provided with a one-dimensional filter 10 which extracts a first focusing evaluation value as a signal component required for focusing from video signals outputted from image pickup means 3 and 4 and a twodimensional filter 6 which extracts a second focusing evaluation value different from the first evaluation value as another signal component required for focusing from video signals outputted from image pickup means 3 and 4. Automatic focusing means 5, 10, 12, 13, and 15 are provided which use the second focusing evaluation value together with the first focusing evaluation value to perform the focusing operation in the case that the focusing operation based on only the first focusing evaluation value extracted by the one- dimensional filter 10 is impossible.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、良好な合焦性を確
保された自動焦点調節(オートフォーカス)手段を備え
てなるカメラに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a camera provided with an automatic focus adjustment (autofocus) means which ensures good focusing.

【0002】[0002]

【従来の技術】近年、会議や講演会等において、ホワイ
トボードや黒板に書かれた文字や図形等の情報を、撮像
素子を組み込んだカメラで一括撮影し、撮影により生成
された映像信号に二値化処理を施し、白レベル「0」と
黒レベル「1」のみの二値化画像として出力する携帯型
のカメラが開発され実用に供されている。このカメラは
「OAカメラ」あるいは「黒板カメラ」等と称されてい
る。
2. Description of the Related Art In recent years, at conferences and lectures, information such as characters and figures written on a whiteboard or a blackboard is collectively photographed by a camera incorporating an image pickup device, and the image signal generated by the photographing is reproduced. A portable camera that performs a binarization process and outputs a binarized image having only a white level "0" and a black level "1" has been developed and put into practical use. This camera is called an "OA camera" or a "blackboard camera".

【0003】このようなカメラにおいては、ユーザーの
使い勝手を良くする上で、オートフォーカス機能は必須
の条件となる。オートフォーカスは、カメラに組み込ま
れている撮像素子から得られる映像信号の高周波成分が
最大となるようにフォーカスレンズを駆動制御すること
により行なわれる。かかるオートフォーカス方式は、主
にビデオカメラで採用されており、映像信号の高域成分
の抽出は、水平方向の一次元フィルタによって実現され
ている。
In such a camera, the autofocus function is an essential condition for improving the usability of the user. The autofocus is performed by driving and controlling the focus lens so that the high frequency component of the video signal obtained from the image pickup device incorporated in the camera becomes maximum. Such an autofocus system is mainly used in video cameras, and the extraction of high frequency components of a video signal is realized by a horizontal one-dimensional filter.

【0004】図23の(a)(b)はカメラ本体51の
構え(姿勢)と撮像素子52の走査方向との関係を示す
図で、(a)は撮像素子52の長手方向が水平方向とな
るようにカメラ本体51を横に構えて撮る場合のカメラ
姿勢とそのときの撮像素子面上における走査方向(矢印
53で示す方向)とを示しており、(b)は撮像素子5
2の短手方向が水平方向となるように、カメラ本体51
を縦に構えて撮る場合のカメラ姿勢とその時の撮像素子
面上における走査方向(矢印53で示す方向)とを示し
ている。
23A and 23B are diagrams showing the relationship between the attitude (posture) of the camera body 51 and the scanning direction of the image pickup element 52. In FIG. 23A, the longitudinal direction of the image pickup element 52 is horizontal. The camera posture and the scanning direction (direction indicated by the arrow 53) on the image pickup element surface when the camera body 51 is held horizontally so that the image pickup element 5 is shown in FIG.
2 so that the horizontal direction is horizontal.
3 shows a camera posture in the case of vertically holding and taking a picture and a scanning direction (direction indicated by an arrow 53) on the image pickup element surface at that time.

【0005】ところで自然界に存在する被写体は、横線
で構成されている物体よりも縦線で構成されている物体
の方がはるかに多いと言われている。ビデオカメラで撮
影を行なうときは、通常の場合、図23の(a)に示す
如く撮像素子52の長手方向が水平方向となるように、
カメラ本体51を横に構えて撮ることが殆どである。し
たがって被写体の縦線に含まれる高周波成分を利用した
焦点調節動作を行なえば、良好なオートフォーカスを行
なうことができる。
By the way, it is said that many objects existing in the natural world are composed of vertical lines much more than objects composed of horizontal lines. When shooting with a video camera, in the normal case, the longitudinal direction of the image pickup device 52 is horizontal as shown in FIG.
In most cases, the camera body 51 is held horizontally. Therefore, if the focus adjustment operation using the high frequency component included in the vertical line of the subject is performed, good autofocus can be performed.

【0006】[0006]

【発明が解決しようとする課題】ところが、先に述べた
「OAカメラ」では、主として静止画を取り扱うので、
必ずしもカメラを横に構えて撮るとは限らず、図23の
(b)に示すようにカメラ本体51を縦に構えて撮るこ
とも有りうる。従って映像信号の高周波成分を水平方向
の一次元フィルタのみで行なうものでは、被写体によっ
ては高周波成分を全く抽出できない場合が生じてしまう
おそれがある。
However, since the "OA camera" described above mainly handles still images,
It is not always necessary to hold the camera horizontally and shoot, and it is possible that the camera body 51 is held vertically as shown in FIG. Therefore, if the high-frequency component of the video signal is performed only by the one-dimensional filter in the horizontal direction, there is a possibility that the high-frequency component cannot be extracted at all depending on the subject.

【0007】そこで、二次元フィルタを利用して水平・
垂直両方向の高周波成分を抽出してオートフォーカスを
行なうことが試みられている。しかるに二次元フィルタ
を利用した場合、オートフォーカスの合焦する確率を向
上させようとすると、フィルタ構成が大規模化し、コス
ト高を招いてしまう。
Therefore, by using a two-dimensional filter,
It has been attempted to extract high frequency components in both vertical directions to perform autofocus. However, when a two-dimensional filter is used, an attempt to improve the probability of focusing by autofocus causes the filter structure to become large in scale, resulting in high cost.

【0008】本発明の目的は、カメラ本体を縦/横いず
れの向きに構えても、又被写体が縦線/横線のいずれか
一方の線のみで構成される物体であっても、常に安定確
実に評価値を抽出して良好なオートフォーカス動作を行
なえる上、構成簡単でフィルタ構成の大規模化やコスト
高を招くおそれのない自動焦点調節手段を備えたカメラ
を提供することにある。
It is an object of the present invention to provide stable and reliable camera body regardless of whether the camera body is held vertically or horizontally or the object is an object constituted by only one of vertical and horizontal lines. It is another object of the present invention to provide a camera equipped with an automatic focus adjusting means that can extract an evaluation value and perform a good autofocus operation, and that has a simple structure and does not cause a large-scale filter structure and a high cost.

【0009】[0009]

【課題を解決するための手段】上記課題を解決し目的を
達成するために、本発明は以下に示す手段を用いてい
る。
In order to solve the above problems and achieve the object, the present invention uses the following means.

【0010】(1)本発明のカメラは、焦点調節用レン
ズを含む光学系を介した被写体光に対応して映像信号を
出力する撮像手段と、該撮像手段より出力される映像信
号に基づいて上記焦点調節用レンズを駆動制御して自動
的に焦点調節を行なうようにした自動焦点調節手段を備
えたカメラにおいて、上記自動焦点調節手段は、上記撮
像手段より出力された映像信号から上記焦点調節を行な
うために必要な信号成分である第1の焦点調節用評価値
を抽出するための一次元フィルタと、上記撮像手段より
出力される映像信号から上記焦点調節を行なうために必
要な信号成分である上記第1の焦点調節用評価値とは異
なる第2の焦点調節用評価値を抽出するための二次元フ
ィルタとを備え、上記一次元フィルタで抽出された上記
第1の焦点調節用評価値のみに基づく焦点調節動作が不
可能であることが検出されたとき、該第1の焦点調節用
評価値と共に上記第2の焦点調節用評価値も利用して焦
点調節動作を行なうものとなっている。
(1) A camera of the present invention is based on an image pickup means for outputting a video signal corresponding to a subject light through an optical system including a focus adjusting lens, and a video signal outputted from the image pickup means. In a camera equipped with an automatic focus adjusting means for driving and controlling the focus adjusting lens to automatically perform focus adjustment, the automatic focus adjusting means adjusts the focus from a video signal output from the image pickup means. A one-dimensional filter for extracting a first focus adjustment evaluation value, which is a signal component necessary for performing the focus adjustment, and a signal component necessary for performing the focus adjustment from the video signal output from the image pickup means. A two-dimensional filter for extracting a second focus adjustment evaluation value different from the certain first focus adjustment evaluation value, and the first focus adjustment extracted by the one-dimensional filter. When it is detected that the focus adjustment operation based on only the value is impossible, the focus adjustment operation is performed using the second focus adjustment evaluation value together with the first focus adjustment evaluation value. ing.

【0011】(2)本発明のカメラは、上記(1)に記
載のカメラであって、上記自動焦点調節手段は、上記第
1の焦点調節用評価値と共に上記第2の焦点調節用評価
値を利用するにあたって、上記二次元フィルタで抽出さ
れた第2の焦点調節用評価値を上記一次元フィルタに入
力して上記第1の焦点調節用評価値を得ることにより、
焦点調節動作を行なうものとなっている。
(2) The camera of the present invention is the camera described in (1) above, wherein the automatic focus adjustment means includes the first focus adjustment evaluation value and the second focus adjustment evaluation value. When using, by inputting the second focus adjustment evaluation value extracted by the two-dimensional filter to the one-dimensional filter to obtain the first focus adjustment evaluation value,
Focus adjustment operation is performed.

【0012】(3)本発明のカメラは、上記(2)に記
載のカメラであって、上記撮像手段より出力された映像
信号に対し、所定の信号処理を施すための映像処理手段
を更に備えており、上記二次元フィルタが、上記映像処
理手段に供給される映像信号について前処理を行なう前
処理フィルタを兼ねたものとなっている。
(3) The camera of the present invention is the camera described in (2) above, further comprising video processing means for performing a predetermined signal processing on the video signal output from the image pickup means. Thus, the two-dimensional filter also serves as a preprocessing filter for preprocessing the video signal supplied to the video processing means.

【0013】[0013]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

(第1実施形態)図1は本発明の第1実施形態に係るカ
メラの構成を示すブロック図である。図1に示すよう
に、被写体像Xは、光量を調節する絞り機構1と焦点調
節用レンズを含むレンズ系2を介して例えば電荷結合素
子(CCD)からなる撮像素子3上に結像される。撮像
素子3上に結像された被写体像Xは、この撮像素子3で
光電変換されて電気信号となり、さらに撮像回路4によ
り信号処理されて映像信号となる。撮像回路4で生成さ
れた映像信号はA/D変換器5によりデジタル信号に変
換されて出力される。A/D変換器5から出力されたデ
ジタル信号に対する後段の処理は、カメラのモードによ
って異なる。
(First Embodiment) FIG. 1 is a block diagram showing the arrangement of a camera according to the first embodiment of the present invention. As shown in FIG. 1, a subject image X is formed on an image sensor 3 such as a charge-coupled device (CCD) through a diaphragm mechanism 1 for adjusting the amount of light and a lens system 2 including a focus adjusting lens. . The subject image X formed on the image pickup device 3 is photoelectrically converted into an electric signal by the image pickup device 3 and further processed into a video signal by the image pickup circuit 4. The video signal generated by the image pickup circuit 4 is converted into a digital signal by the A / D converter 5 and output. The subsequent processing for the digital signal output from the A / D converter 5 differs depending on the camera mode.

【0014】「自動露出制御(以下AEと略称する)モ
ードの場合」カメラがAEモードである場合、切換えス
イッチ11(SW.Q)の切換え接点はD端子側に切換
えられている。このため、A/D変換器5の出力に含ま
れている輝度信号成分は、上記D端子を介して累積加算
器12に直接入力する。累積加算器12は、入力した輝
度信号成分を累積加算してAE評価値を求め、求めたA
E評価値を中央演算処理装置(以下CPUと略称する)
13に送り込む。CPU13は、送り込まれたAE評価
値に基づいた演算処理を行ない、絞り機構駆動部14ま
たは撮像素子ドライバ16に対して制御信号を与える。
かくして絞り機構1または撮像素子3が駆動制御され、
適切な露光制御が行なわれる。
"In the case of the automatic exposure control (abbreviated as AE) mode" When the camera is in the AE mode, the switching contact of the selector switch 11 (SW.Q) is switched to the D terminal side. Therefore, the luminance signal component included in the output of the A / D converter 5 is directly input to the cumulative adder 12 via the D terminal. The cumulative adder 12 cumulatively adds the input luminance signal components to obtain the AE evaluation value, and obtains the obtained A
E evaluation value is a central processing unit (hereinafter abbreviated as CPU)
Send to 13. The CPU 13 performs arithmetic processing based on the sent AE evaluation value, and gives a control signal to the diaphragm mechanism driving unit 14 or the image pickup device driver 16.
Thus, the diaphragm mechanism 1 or the image sensor 3 is drive-controlled,
Appropriate exposure control is performed.

【0015】「自動焦点調節(以下AFと略称する)モ
ードの場合」カメラがAFモードである場合、切換えス
イッチ9(SW.P)の切換え接点はA端子側に切換え
られており、切換えスイッチ11(SW.Q)の切換え
接点はC端子側に切換えられている。従ってA/D変換
器5の出力は、二次元フィルタ6、切換えスイッチ9
(SW.P)のA端子、一次元フィルタ10、切換えス
イッチ11(SW.Q)のC端子、なる経路を通過する
ことになる。このため上記二次元フィルタ6及び一次元
フィルタ10によって抽出された焦点調節用評価値b,
aすなわちAFに必要な高周波成分のみが累積加算器1
2に入力する。
"In case of automatic focus adjustment (hereinafter abbreviated as AF) mode" When the camera is in AF mode, the changeover contact of the changeover switch 9 (SW.P) is changed over to the A terminal side, and the changeover switch 11 The (SW.Q) switching contact is switched to the C terminal side. Therefore, the output of the A / D converter 5 is the two-dimensional filter 6 and the changeover switch 9
(SW.P) A terminal, one-dimensional filter 10, and changeover switch 11 (SW.Q) C terminal. Therefore, the focus adjustment evaluation value b extracted by the two-dimensional filter 6 and the one-dimensional filter 10,
a, that is, only the high-frequency component necessary for AF is the cumulative adder 1
Enter 2

【0016】累積加算器12は、入力した高周波成分を
累積加算してAF評価値を求め、求めたAF評価値をC
PU13に送り込む。CPU13は、送り込まれたAF
評価値に基づいた演算処理を行ない、レンズ駆動部15
に制御信号を与える。かくしてレンズ系2の焦点調節用
レンズは、高周波成分が増大する方向にフィードバック
制御され、フォーカシングが行なわれる。
The cumulative adder 12 cumulatively adds the input high frequency components to obtain an AF evaluation value, and the obtained AF evaluation value is C
Send to PU13. CPU 13 sends the sent AF
The lens drive unit 15 performs the arithmetic processing based on the evaluation value.
To the control signal. In this way, the focus adjustment lens of the lens system 2 is feedback-controlled in the direction in which the high frequency component increases, and focusing is performed.

【0017】「撮影モードの場合」カメラが撮影モード
である場合、A/D変換器5の出力は、二次元フィルタ
6で輪郭強調された後、映像処理器としての二値化処理
器7に供給される。二値化処理器7では、入力した信号
に対し、被写体に応じてそれ自体は公知の単純二値化処
理や疑似中間調処理等が施される。二値化処理された信
号は、その後プリンタ8に出力され、このプリンタ8よ
って画像のプリントアウトがなされる。
"In the case of the photographing mode" When the camera is in the photographing mode, the output of the A / D converter 5 is edge-enhanced by the two-dimensional filter 6, and then is output to the binarization processor 7 as a video processor. Supplied. In the binarization processor 7, the input signal is subjected to known simple binarization processing, pseudo-halftone processing, etc. according to the subject. The binarized signal is then output to the printer 8, and the printer 8 prints out an image.

【0018】上記したように本実施形態においては、二
次元フィルタ6のみをバイパスする信号経路、または二
次元フィルタ6と一次元フィルタ10とを共にバイパス
する信号経路が設けられている。かくして被写体の状況
に応じて動作する切換えスイッチ(SW.P)9と切換
えスイッチ(SW.Q)11の切換え動作によって、二
次元フィルタ6,一次元フィルタ10でフィルタリング
を行なうか、バイパスするかを適宜選択し得るものとな
っている。
As described above, in this embodiment, the signal path that bypasses only the two-dimensional filter 6 or the signal path that bypasses both the two-dimensional filter 6 and the one-dimensional filter 10 is provided. Thus, depending on the changeover operation of the changeover switch (SW.P) 9 and the changeover switch (SW.Q) 11 which operate according to the situation of the subject, whether to perform filtering by the two-dimensional filter 6 or the one-dimensional filter 10 or to bypass it. It can be appropriately selected.

【0019】すなわち一次元フィルタ10の前段に設け
てある切換えスイッチ(SW.P)9は、その切換え動
作によって、二次元フィルタ6によってフィルタリング
された信号と二次元フィルタ6をバイパスされた信号と
を選択的に一次元フィルタ10へ送り込む。また累積加
算器12の前段に設けてある切換えスイッチ(SW.
Q)11は、その切換え動作によって、二次元フィルタ
6および一次元フィルタ10の両方または一次元フィル
タ10のみでフィルタリングされた信号と、二つのフィ
ルタ6,10を共にバイパスされた信号とを選択的に累
積加算器12へ送り込む。
That is, the changeover switch (SW.P) 9 provided in the preceding stage of the one-dimensional filter 10 switches between the signal filtered by the two-dimensional filter 6 and the signal bypassed by the two-dimensional filter 6 by its switching operation. It is selectively sent to the one-dimensional filter 10. Further, a changeover switch (SW.
The Q) 11 selectively switches the signal filtered by both the two-dimensional filter 6 and the one-dimensional filter 10 or only the one-dimensional filter 10 and the signal bypassed by the two filters 6 and 10 by the switching operation. To the cumulative adder 12.

【0020】二つの切換えスイッチ(SW.P)9およ
び切換えスイッチ(SW.Q)11は、いずれもCPU
13からの制御信号によって切換え制御される。CPU
13は、上記した制御のほか、二次元フィルタ6および
一次元フィルタ10のフィルタ係数の設定も行なう。
The two changeover switches (SW.P) 9 and the changeover switch (SW.Q) 11 are both CPUs.
Switching is controlled by a control signal from 13. CPU
In addition to the above-mentioned control, 13 also sets the filter coefficients of the two-dimensional filter 6 and the one-dimensional filter 10.

【0021】次に図1に示す構成の第1実施形態におけ
るカメラシーケンスについて図2を用いて説明する。
Next, the camera sequence in the first embodiment having the configuration shown in FIG. 1 will be described with reference to FIG.

【0022】図2はカメラシーケンスのフロー図であ
る。以下このフロー図を用いて、カメラシーケンスにつ
きステップS101から順次説明する。
FIG. 2 is a flow chart of the camera sequence. The camera sequence will be sequentially described from step S101 with reference to this flowchart.

【0023】「S101」 電源がONであるか否かが
判定される。ONであると判定されると次のステップに
進む。
"S101" It is determined whether or not the power source is ON. If it is determined to be ON, the process proceeds to the next step.

【0024】「S102」 切換えスイッチ(SW.
Q)11がD端子側に切り換わる。そうすると、A/D
変換器5の出力が直接、累積加算器12に入力する。
"S102" selector switch (SW.
Q) 11 switches to the D terminal side. Then, A / D
The output of the converter 5 is directly input to the cumulative adder 12.

【0025】「S103」 累積加算器12において輝
度信号が加え合わせられ、AE評価値が求められ、その
評価値に従ってCPU13が露出合わせを行なう。露出
が合わせられると、1stトリガを受け付け得る態勢が
できる。
"S103" The luminance signals are added together in the cumulative adder 12 to obtain the AE evaluation value, and the CPU 13 performs exposure adjustment according to the evaluation value. When the exposures are matched, it is ready to accept the 1st trigger.

【0026】「S104」 1stトリガがONである
か否かが判定され、ONであると判定されると次のステ
ップへ進む。
[S104] It is determined whether or not the 1st trigger is ON, and if it is determined to be ON, the process proceeds to the next step.

【0027】「S105」 切換えスイッチ(SW.
P)9がB端子側に切り換わり、切換えスイッチ(S
W.Q)11がC端子側に切り換わる。そうすると、A
/D変換器5の出力は、二次元フィルタ6をバイパス
し、一次元フィルタ10のみによるフィルタリングを行
なわれた後、累積加算器12に入力する。
"S105" selector switch (SW.
P) 9 switches to the B terminal side, and the changeover switch (S
W. Q) 11 switches to the C terminal side. Then, A
The output of the / D converter 5 bypasses the two-dimensional filter 6 and is filtered by only the one-dimensional filter 10 and then input to the cumulative adder 12.

【0028】「S106」 累積加算器12では高周波
成分が足し合わされてAF評価値が求められ、この評価
値に従ってCPU13が山登りAF制御を行なう。
"S106" In the cumulative adder 12, the high frequency components are added together to obtain an AF evaluation value, and the CPU 13 performs hill-climbing AF control according to this evaluation value.

【0029】「S107」 合焦したか否かが判断さ
れ、合焦したものと判断された場合には、2ndトリガ
を受け付けるようになる。また、ある一定値以上のAF
評価値のピークが無く、非合焦と判断された場合には、
ステップS108へ進む。
[S107] It is determined whether or not the focus is achieved, and if it is determined that the focus is achieved, the second trigger is accepted. In addition, AF of a certain value or more
If there is no peak of the evaluation value and it is determined that the subject is out of focus,
Proceed to step S108.

【0030】「S108」 切換えスイッチ(SW.
P)9がA端子側に切り換わると共に切換えスイッチ
(SW.Q)11がC端子側に切り換わる。そうする
と、A/D変換器5の出力が、二次元フィルタ6によっ
てフィルタリングされた後、さらに一次元フィルタ10
によってフィルタリングされて累積加算器12に入力す
る。 「S109」 累積加算器12には、水平、垂直両方の
高周波成分を含んだ信号が入力されることになり、S1
06と同様のAF制御が行なわれる。合焦した後、2n
dトリガを受け付けるようになる。
"S108" Changeover switch (SW.
P) 9 is switched to the A terminal side, and the changeover switch (SW.Q) 11 is switched to the C terminal side. Then, after the output of the A / D converter 5 is filtered by the two-dimensional filter 6, the one-dimensional filter 10 is further added.
It is filtered by and input to the cumulative adder 12. “S109” A signal containing both horizontal and vertical high frequency components is input to the cumulative adder 12, and S1
AF control similar to that in 06 is performed. 2n after focusing
d Triggers will be accepted.

【0031】「S110」 2ndトリガがONである
か否かが判定され、ONであると判定されると、次のス
テップへ進む。
"S110" It is determined whether or not the second trigger is ON, and if it is determined to be ON, the process proceeds to the next step.

【0032】「S111」 二値化処理、プリントアウ
ト等の撮影処理が行なわれ、カメラシーケンスが終了す
る。
"S111" Binary processing, photographing processing such as printout, etc. are performed, and the camera sequence ends.

【0033】本実施形態では、全く別の用途で必要とさ
れる2種類の二次元フィルタ機能を一つのもので兼用し
ているところに特徴がある。
The present embodiment is characterized in that one type also has two types of two-dimensional filter functions required for completely different purposes.

【0034】ここで、二次元フィルタ6についてもう少
し説明を加える。本実施形態で用いられる二次元フィル
タ6は、垂直方向の高周波成分が僅かでも抽出できるも
のであればよく、タップ数等に格別の制限はない。つま
り後段のAF用に調整された一次元フィルタ10によ
り、水平方向のみでなく水平方向および垂直方向の両方
向の高周波成分を用いてAFを行なうようにすれば良
い。従って二次元フィルタを単独で用いてAFを行なう
事を想定した場合の構成に比べると、回路規模が小さ
く、タップ数の少ない二次元フィルタ6を用いることが
できる。
Here, the two-dimensional filter 6 will be described a little more. The two-dimensional filter 6 used in this embodiment has only to be capable of extracting a high frequency component in the vertical direction, and the number of taps is not particularly limited. In other words, the one-dimensional filter 10 adjusted for AF in the subsequent stage may be used to perform AF using high-frequency components not only in the horizontal direction but also in the horizontal and vertical directions. Therefore, the two-dimensional filter 6 having a smaller circuit scale and a smaller number of taps can be used as compared with the configuration in which it is assumed that AF is performed using the two-dimensional filter alone.

【0035】ところで二次元フィルタ6は、AFモード
時と撮影モード時とでは、その役割及び設定される係数
が異なったものとなる。すなわち二次元フィルタ6は、
AFモード時においては主として垂直方向の高周波成分
を抽出することを目的とした高域通過フィルタ(以下H
PFと略称する)として動作する。したがってこのとき
の設定係数は、一次元フィルタ10の周波数特性とフォ
ーカスレンズ制御のためのAF評価値の変化の度合いで
決定される。また二次元フィルタ6は、撮影モード時に
おいては出力する二値画像の鮮鋭度を確保することを目
的としたラプラシアンフィルタとして動作する。したが
ってこのときの設定係数は、出力画像の見た目の良さ,
美しさによって決定され、二値化処理の方法や紙質,プ
リンタの出力特性などにより大きく左右される。
By the way, the two-dimensional filter 6 has different roles and different coefficients set in the AF mode and the photographing mode. That is, the two-dimensional filter 6 is
In the AF mode, a high-pass filter (hereinafter referred to as "H") mainly for extracting high frequency components in the vertical direction.
(Abbreviated as PF). Therefore, the setting coefficient at this time is determined by the frequency characteristic of the one-dimensional filter 10 and the degree of change in the AF evaluation value for controlling the focus lens. Further, the two-dimensional filter 6 operates as a Laplacian filter for the purpose of ensuring the sharpness of the output binary image in the shooting mode. Therefore, the setting coefficient at this time is
It is determined by beauty, and is greatly influenced by the binarization method, paper quality, and printer output characteristics.

【0036】このように二次元フィルタ6は、係数の設
定の仕方により、HPFあるいはラプラシアンフィルタ
として動作させ得るほか、低域通過フィルタ(以下LP
Fと略称する)、帯域通過フィルタ(以下BPFと略称
する)、トラップ等としても動作させることが可能であ
る。
As described above, the two-dimensional filter 6 can be operated as an HPF or a Laplacian filter depending on how the coefficients are set, and a low pass filter (hereinafter referred to as LP).
F), a band pass filter (hereinafter abbreviated as BPF), a trap, and the like.

【0037】上述したように、本実施形態では一つの二
次元フィルタ6がAF時においては高周波成分抽出のた
めのHPFとして用いられ、撮影時においては二値化処
理の前処理として画像鮮鋭度をはかるためのラプラシア
ンフィルタとして用いられている。しかし電子カメラの
映像信号処理として二次元フィルタを使う場面は他にも
沢山ある。以下、二次元フィルタの共用例をいくつか挙
げる。
As described above, in the present embodiment, one two-dimensional filter 6 is used as an HPF for extracting high frequency components during AF, and during image capture, the image sharpness is used as a pre-process for the binarization process. It is used as a Laplacian filter for measuring. However, there are many other situations where a two-dimensional filter is used as a video signal processing for an electronic camera. Hereinafter, some examples of sharing a two-dimensional filter will be given.

【0038】・例えば、得られる画像の解像度は、焦点
調節用レンズを含むレンズ系2のMTF(Modulation T
ransfer Funstion)、撮像素子3の画素の開口率、光学
LPF及び電気回路の周波数特性等の影響を受けて低下
する。これを補正するために二次元フィルタ6をラプラ
シアンフィルタとして用い、輪郭強調信号を原信号に付
加することが行なわれる。周波数特性の低下分を予め映
像信号に乗せておくので、解像度が損なわれない画像を
得ることができる。
For example, the resolution of the obtained image is MTF (Modulation T) of the lens system 2 including the focus adjusting lens.
ransfer funstion), the aperture ratio of the pixels of the image sensor 3, the frequency characteristics of the optical LPF and the electric circuit, and the like. In order to correct this, the two-dimensional filter 6 is used as a Laplacian filter, and the contour emphasis signal is added to the original signal. Since the amount of decrease in frequency characteristics is added to the video signal in advance, it is possible to obtain an image whose resolution is not impaired.

【0039】図3の(a)は解像度補正の動作波形を示
す図、図3の(b)は解像度補正後の周波数特性を示す
図である。ここに示すような解像度補正のための二次元
フィルタと、AF用の垂直方向高周波成分抽出のための
二次元フィルタとを共用することは可能であり、共用す
ることで回路規模の縮小を図れる。
FIG. 3A is a diagram showing operation waveforms for resolution correction, and FIG. 3B is a diagram showing frequency characteristics after resolution correction. It is possible to use the two-dimensional filter for resolution correction as shown here and the two-dimensional filter for extracting the high frequency component in the vertical direction for AF, and the circuit scale can be reduced by sharing the two-dimensional filter.

【0040】・また、モニタやEVF(電子ビューファ
インダ)に画像を出力する場合や画像データを圧縮する
場合において、解像感が損なわれないように、ラプラシ
アンフィルタを用いて輪郭強調信号を付加する事が行な
われる。この輪郭強調のための二次元フィルタと、AF
用の垂直方向高周波成分抽出のための二次元フィルタと
を共用することは可能であり、共用することで回路規模
の縮小を図れる。
Further, when outputting an image to a monitor or an EVF (electronic viewfinder) or compressing image data, a contour enhancement signal is added using a Laplacian filter so as not to impair the resolution. Things are done. Two-dimensional filter for this edge enhancement and AF
It is possible to share a two-dimensional filter for extracting the vertical high-frequency component for use, and by sharing it, the circuit scale can be reduced.

【0041】・FM(Frequency Modulation)方式での
磁気テープに対する記憶・再生においては、信号を復調
する際に高域になるほどノイズが大きくなり、S/Nが
悪くなる。ノイズは復調時において生じるものであるか
ら、その前に高域の信号だけをラプラシアンフィルタを
用いて強調し、復調後においてもとに戻せば、結果的に
は高域のノイズの大きさを信号の形を変えずに小さくす
ることができる。
In the storage / reproduction of the magnetic tape in the FM (Frequency Modulation) system, the noise becomes larger and the S / N becomes worse as the frequency becomes higher when the signal is demodulated. Since noise is generated during demodulation, if only the high-frequency signal is emphasized using the Laplacian filter before that, and after demodulation, it is restored to the original level. Can be made smaller without changing the shape of.

【0042】図4は、ビデオエンファシスによる高域ノ
イズ除去の仕組みを示す波形図である。上記高域強調の
ための二次元フィルタと、AF用の垂直方向高周波成分
抽出のための二次元フィルタとを共用することは可能で
あり、共用することで回路規模の縮小を図れる。
FIG. 4 is a waveform diagram showing the mechanism of high frequency noise removal by video emphasis. It is possible to share the above-mentioned two-dimensional filter for high-frequency emphasis and the two-dimensional filter for vertical high-frequency component extraction for AF, and by sharing the two-dimensional filter, the circuit scale can be reduced.

【0043】・二次元フィルタをLPFとして用いる場
面も幾つかある。例えば映像信号のノイズを低減させる
ためのLPFとして用いられる。又AE(Auto Exposur
e )のための評価値を得るには画像の細部の情報は必要
なく、画像全体を平均した明るさ、つまり画像の低周波
成分が必要である。従ってAEのためのLPFとしても
用いられる。更に単純二値化処理においては、文字や図
形を撮影した画像は、文字部分に高周波成分が多く、
「照明むら」による原稿の下地レベルの変動は低周波成
分を有している。従って二値化の閾値となる下地レベル
抽出のためのLPFとしても用いられる。
There are some situations where a two-dimensional filter is used as an LPF. For example, it is used as an LPF for reducing noise in a video signal. Also AE (Auto Exposur
To obtain the evaluation value for e), it is not necessary to know the details of the image, but the average brightness of the entire image, that is, the low frequency component of the image. Therefore, it is also used as an LPF for AE. Furthermore, in the simple binarization processing, the image of a character or figure has many high-frequency components in the character part,
The fluctuation of the background level of the original due to the “illumination unevenness” has a low frequency component. Therefore, it is also used as an LPF for extracting a background level which is a threshold for binarization.

【0044】これらのLPFを構成するための二次元フ
ィルタと、AF用の垂直方向高周波成分抽出のための二
次元フィルタとを共用することは可能であり、共用する
ことで回路規模の縮小を図れる。
It is possible to share the two-dimensional filter for constructing these LPFs and the two-dimensional filter for extracting the high frequency component in the vertical direction for AF, and by sharing them, the circuit scale can be reduced. .

【0045】・補色カラー撮像において色信号の折り返
し成分を除去するためにトラップが用いられる。
A trap is used to remove the aliasing component of the color signal in complementary color imaging.

【0046】図5の(a)は補色モザイクフィルタの例
を示す図で、図示のように補色モザイク方式の場合、水
平方向には二つの画素の繰り返しである。通常は、水平
方向に並んで読み出される信号の出力が、無彩色に対し
て等しくなるようにホワイトバランスが調整された後、
1画素ごとにスイッチングされ、輝度信号が生成され
る。こうすることで、無彩色に対しては水平方向の画素
数だけサンプリング点を得ることができる。しかし有彩
色に対しては、必ずしも2色の出力が等しくないので、
画素サンプリング周波数の1/2の周波数のところに輝
度キャリアが発生し、ここからの折り返しは輝度に対す
るモアレとなり、画質を劣化させる。また色キャリアも
同じ位置に発生するので、この付近の周波数成分をもつ
被写体は、無彩色であっても色が付いてしまう。これは
色信号の折り返し成分が、帯域内でモアレとなる現象で
ある。これらの折り返し成分を除去するためにトラップ
が必要となる。
FIG. 5A is a diagram showing an example of the complementary color mosaic filter. In the complementary color mosaic method as shown in the figure, two pixels are repeated in the horizontal direction. Normally, after the white balance is adjusted so that the output of the signals read side by side in the horizontal direction is equal to the achromatic color,
The luminance signal is generated by switching every pixel. By doing so, sampling points can be obtained for the achromatic color by the number of pixels in the horizontal direction. However, for chromatic colors, the output of the two colors is not always equal, so
Luminance carriers are generated at a frequency that is ½ of the pixel sampling frequency, and aliasing from this causes moiré with respect to luminance, degrading image quality. Further, since color carriers are also generated at the same position, a subject having a frequency component in the vicinity of the color carrier is colored even if it is an achromatic color. This is a phenomenon in which the aliasing component of the color signal becomes moire within the band. A trap is required to remove these folding components.

【0047】図5の(b)は、補色モザイクフィルタの
特性を示す図である。図示の如く有彩色に対する輝度キ
ャリアと色キャリアの位置、すなわち画素サンプリング
周波数fs の1/2における応答を零にするようなトラ
ップが必要となる。このトラップを構成するための二次
元フィルタと、AF用の垂直方向高周波成分抽出のため
の二次元フィルタとを共用することは可能であり、共用
することで回路規模の縮小を図れる。
FIG. 5B shows the characteristics of the complementary color mosaic filter. As shown in the figure, a trap is required so that the positions of the luminance carrier and the color carrier with respect to the chromatic color, that is, the response at 1/2 of the pixel sampling frequency fs become zero. It is possible to share the two-dimensional filter for forming the trap and the two-dimensional filter for extracting the high frequency component in the vertical direction for AF, and by sharing the two-dimensional filter, the circuit scale can be reduced.

【0048】・本実施形態では、二次元フィルタ6をA
F時における垂直方向高域成分を抽出するために用いて
いるが、映像信号の中域成分を抽出するBPFとしても
用いることができる。
In the present embodiment, the two-dimensional filter 6 is set to A
Although it is used for extracting the vertical direction high frequency component at the time of F, it can also be used as a BPF for extracting the middle frequency component of the video signal.

【0049】図6は高域成分と中域成分との評価値変化
特性を示す図である。高域成分のみでは「ピンぼけ時」
の評価値変化が少ないので、中域成分も利用した方がA
Fの合焦する確率の向上において有利である。このよう
にAF時において用いる二次元フィルタを、HPFやB
PF等として用いる事が可能である。
FIG. 6 is a diagram showing the evaluation value change characteristics of the high frequency component and the mid frequency component. "Bokeh" only with high frequency components
Since there is little change in the evaluation value of A, it is better to use the mid-range component as well.
This is advantageous in improving the probability of focusing of F. As described above, the two-dimensional filter used in AF is
It can be used as a PF or the like.

【0050】(第2実施形態)図7は本発明の第2実施
形態の構成を示すブロック図である。この第2実施形態
は、以上述べたAFに必要な二次元フィルタ6を、様々
な機能の電子装置と共用する場合の一例を示す実施形態
である。図7に示すように、被写体像Xは、光量を調節
する絞り機構1と焦点調節用レンズを含むレンズ系2を
介して撮像素子3上に結像される。撮像素子3上に結像
された被写体像Xは、撮像素子3で光電変換されて電気
信号となり、さらにA/D変換器5によりデジタル信号
に変換される。このデジタル信号はデジタル撮像プロセ
ス4’によって処理され、映像信号となる。
(Second Embodiment) FIG. 7 is a block diagram showing the configuration of the second embodiment of the present invention. The second embodiment is an embodiment showing an example in which the two-dimensional filter 6 necessary for AF described above is shared with electronic devices having various functions. As shown in FIG. 7, the subject image X is formed on the image sensor 3 via a diaphragm system 1 for adjusting the amount of light and a lens system 2 including a focus adjusting lens. The subject image X formed on the image pickup device 3 is photoelectrically converted into an electric signal by the image pickup device 3, and further converted into a digital signal by the A / D converter 5. This digital signal is processed by the digital imaging process 4'and becomes a video signal.

【0051】生成された映像信号について解像度補正を
行なう場合には、CPU13からの制御信号により、二
次元フィルタ6はラプラシアンフィルタとして動作する
ように係数を設定される。撮像プロセス4’には二次元
フィルタ6から輪郭強調信号が供給される。このため撮
像プロセス4’において、A/D変換器5からの信号に
上記輪郭強調信号が付加される。
When performing resolution correction on the generated video signal, a coefficient is set by the control signal from the CPU 13 so that the two-dimensional filter 6 operates as a Laplacian filter. The contour enhancement signal is supplied from the two-dimensional filter 6 to the imaging process 4 ′. Therefore, in the imaging process 4 ′, the contour emphasis signal is added to the signal from the A / D converter 5.

【0052】モニタ21およびEVF22に輪郭強調さ
れた信号を出力する場合、およびデータを圧縮器17で
圧縮したのちメモリ18に記録する場合、および二値化
処理器7で単純二値化したのちプリンタ8に出力する場
合、の各場合においても上記と同様に二次元フィルタ6
はラプラシアンフィルタとして動作するように係数を設
定される。かくして上記と同様の手順で輪郭強調が行な
われる。
In the case of outputting the edge-enhanced signal to the monitor 21 and the EVF 22, in the case where the data is compressed by the compressor 17 and then recorded in the memory 18, and after the binarization processor 7 performs simple binarization, the printer. In the case of outputting to 8 as well, in each case of
Are set to operate as a Laplacian filter. Thus, the contour enhancement is performed in the same procedure as above.

【0053】補色カラー撮像において色信号の折り返し
成分を除去する場合は、CPU13からの制御信号によ
り、二次元フィルタ6はトラップとして動作するように
係数を設定される。このため二次元フィルタ6でフィル
タリングされた信号は、色信号の折り返しがなくなる。
When the aliasing component of the color signal is removed in the complementary color image pickup, the control signal from the CPU 13 sets the coefficient so that the two-dimensional filter 6 operates as a trap. For this reason, the signal filtered by the two-dimensional filter 6 has no aliasing of the color signal.

【0054】磁気テープ20に記録する場合には、CP
U13からの制御信号により、二次元フィルタ6はラプ
ラシアンフィルタとして動作するように係数を設定され
る。二次元フィルタ6でプリエンファシスされた信号
は、記録前処理器19でFM変調されたのち磁気テープ
20に記録される。
When recording on the magnetic tape 20, a CP
The control signal from U13 sets the coefficient of the two-dimensional filter 6 so that it operates as a Laplacian filter. The signal pre-emphasized by the two-dimensional filter 6 is FM-modulated by the recording preprocessor 19 and then recorded on the magnetic tape 20.

【0055】AEを行なう場合には、CPU13からの
制御信号により、二次元フィルタ6はLPFとして動作
するように係数を設定される。二次元フィルタ6にてフ
ィルタリングされた信号はAE制御器24に入力する。
AE制御器24では、入力した信号が累積加算され、得
られたAE評価値はCPU13に送り込まれる。CPU
13では、送り込まれたAE評価値に基づいた演算処理
が行なわれる。CPU13からの制御信号は、絞り機構
駆動部14または撮像素子ドライバ16に与えられる。
かくして絞り機構1または撮像素子3が駆動制御され、
適切な露光制御が行なわれる。
When performing AE, a coefficient is set by the control signal from the CPU 13 so that the two-dimensional filter 6 operates as an LPF. The signal filtered by the two-dimensional filter 6 is input to the AE controller 24.
In the AE controller 24, the input signals are cumulatively added, and the obtained AE evaluation value is sent to the CPU 13. CPU
In 13, the arithmetic processing based on the sent AE evaluation value is performed. A control signal from the CPU 13 is given to the diaphragm mechanism drive unit 14 or the image pickup device driver 16.
Thus, the diaphragm mechanism 1 or the image sensor 3 is drive-controlled,
Appropriate exposure control is performed.

【0056】AFを行なう場合には、CPU13からの
制御信号により、二次元フィルタ6は所望のHPFまた
はBPFとして動作するように係数を設定される。二次
元フィルタ6でフィルタリングされた信号は、さらに一
次元フィルタ10によってフィルタリングされ、AFに
必要な高周波成分のみが抽出され、AF制御器23に入
力する。ただし二次元フィルタ6をBPFとして用いた
場合は、一次元フィルタ10をバイパスさせる場合もあ
る。AF制御器23では、高周波成分が累積加算されて
AF評価値が得られる。得られたAF評価値はCPU1
3へ送り込まれる。CPU13では入力したAF評価値
に基づいた演算処理が行なわれる。CPU13からの制
御信号は、レンズ駆動部15に与えられる。かくして焦
点調節用レンズを含むレンズ系2が駆動制御され、高周
波成分が増大する方向にフィードバック制御されながら
フォーカシングが行なわれる。
When performing AF, a coefficient is set by the control signal from the CPU 13 so that the two-dimensional filter 6 operates as a desired HPF or BPF. The signal filtered by the two-dimensional filter 6 is further filtered by the one-dimensional filter 10 to extract only high-frequency components necessary for AF and input to the AF controller 23. However, when the two-dimensional filter 6 is used as the BPF, the one-dimensional filter 10 may be bypassed. In the AF controller 23, high frequency components are cumulatively added to obtain an AF evaluation value. The obtained AF evaluation value is CPU1.
It is sent to 3. The CPU 13 performs arithmetic processing based on the input AF evaluation value. The control signal from the CPU 13 is given to the lens driving unit 15. In this way, the lens system 2 including the focus adjusting lens is drive-controlled, and focusing is performed while feedback-controlling in the direction in which the high frequency component increases.

【0057】ここで、二次元フィルタ6の構成について
更に説明を加える。二次元フィルタ6は、主としてライ
ンバッファ(ディレイライン)、乗算器、加算器、除算
器によって構成される。本実施形態では3×3の二次元
フィルタの共用について述べているが、どの部分を共用
するかによって、得られる効果と回路規模が大きく変わ
ってくる。
Here, the structure of the two-dimensional filter 6 will be further described. The two-dimensional filter 6 is mainly composed of a line buffer (delay line), a multiplier, an adder, and a divider. In the present embodiment, the sharing of the 3 × 3 two-dimensional filter is described, but the effect to be obtained and the circuit scale greatly change depending on which part is shared.

【0058】図8は全ての部分を共用した二次元フィル
タ6の第1の構成例を示すブロック図である。図8にお
いて31,32はラインバッファ、33はフリップフロ
ップ群、34は乗算器群、35は加算器、36は除算器
である。図8に示すように、全ての部分を共用した場合
は、1度に1種類のフィルタ特性しか得られない。従っ
て二次元フィルタ6を別の用途で共用する場合、同時に
2種類の出力を出すことは不可能なので、時分割で係数
を設定し直して用いなければならない。しかし全てを共
用していることから回路規模は非常に小さくて済む。
FIG. 8 is a block diagram showing a first structural example of the two-dimensional filter 6 in which all parts are shared. In FIG. 8, 31 and 32 are line buffers, 33 is a flip-flop group, 34 is a multiplier group, 35 is an adder, and 36 is a divider. As shown in FIG. 8, when all parts are shared, only one type of filter characteristic can be obtained at a time. Therefore, when the two-dimensional filter 6 is shared for another purpose, it is impossible to output two types of outputs at the same time, and therefore it is necessary to reset the coefficients by time division and use them. However, since all of them are shared, the circuit scale can be very small.

【0059】図9はラインバッファと乗算器とを共用し
た二次元フィルタ6の第2の構成例を示すブロック図で
ある。図9において、31,32はラインバッファ、3
3はフリップフロップ群、34は乗算器群、35A,3
5Bは加算器、36A,36Bは除算器、37A,37
Bは切換えスイッチ群である。
FIG. 9 is a block diagram showing a second configuration example of the two-dimensional filter 6 which shares the line buffer and the multiplier. In FIG. 9, 31 and 32 are line buffers and 3
3 is a flip-flop group, 34 is a multiplier group, 35A, 3
5B is an adder, 36A and 36B are dividers, 37A and 37
B is a changeover switch group.

【0060】切換えスイッチ群37A,37Bを0N/
OFFすることにより、係数「0」を設定したことにな
るので、足し合わせる組み合わせが任意となり、若干の
特性を変えることが可能となる。従って特性が若干異な
った出力を、同時に二つ以上出力することができる。回
路規模の大きいラインバッファ31,32と乗算器群3
3とを共用しているので回路規模は極めて小さくて済
む。
Set the changeover switch groups 37A and 37B to 0N /
By turning it off, the coefficient "0" is set, so that the combination to be added becomes arbitrary and the characteristics can be slightly changed. Therefore, two or more outputs having slightly different characteristics can be output at the same time. Line buffers 31 and 32 with large circuit scale and multiplier group 3
Since 3 and 3 are shared, the circuit scale can be extremely small.

【0061】図10はラインバッファのみを共用した二
次元フィルタ6の第3の構成例を示すブロック図であ
る。それぞれの用途に合ったフィルタ特性を同時に実現
することが可能となる。回路規模は図9のものに比べて
多少大きくなってしまうが、高価なラインバッファ3
1,32を共用しているので、メリットは十分ある。
FIG. 10 is a block diagram showing a third configuration example of the two-dimensional filter 6 that shares only the line buffer. It is possible to simultaneously realize the filter characteristics suitable for each application. Although the circuit scale is slightly larger than that of FIG. 9, the expensive line buffer 3
Since 1 and 32 are shared, there are sufficient merits.

【0062】本実施形態における二次元フィルタ6の構
成については、3×3の場合を用いて説明したが、ライ
ンバッファをさらに追加して4×4以上としても良い。
しかしながら、二次元フィルタ6の構成を極力簡素化し
たい場合には、上述したように3×3程度で十分であ
る。また図9に示す二次元フィルタ6の第2の構成例、
図10に示す二次元フィルタ6の第3の構成例において
は、出力を3本以上にすることも可能である。
The configuration of the two-dimensional filter 6 in this embodiment has been described using the case of 3 × 3, but it is also possible to add a line buffer to 4 × 4 or more.
However, in order to simplify the configuration of the two-dimensional filter 6 as much as possible, about 3 × 3 is sufficient as described above. Also, a second configuration example of the two-dimensional filter 6 shown in FIG.
In the third configuration example of the two-dimensional filter 6 shown in FIG. 10, it is possible to have three or more outputs.

【0063】以上述べたとおり、AFに必要な二次元フ
ィルタ6は様々な機能を有する電子装置と共用すること
が可能であるが、以後は二値化処理器7と共用する場合
を代表例として説明する。
As described above, the two-dimensional filter 6 required for AF can be shared with an electronic device having various functions, but hereinafter, a case where it is shared with the binarization processor 7 is a typical example. explain.

【0064】(第3実施形態)この第3実施形態は、フ
ィルタの切り換えを、切換えスイッチによる切換え操作
によってではなく、係数の設定によって行なう場合の実
施形態である。以下、その構成を図11に示すブロック
図を用いて説明する。
(Third Embodiment) This third embodiment is an embodiment in which the switching of the filter is performed not by the switching operation by the changeover switch but by setting the coefficient. The configuration will be described below with reference to the block diagram shown in FIG.

【0065】被写体像Xは、光量を調節する絞り機構1
と焦点調節用レンズを含むレンズ系2を介して撮像素子
3上に結像される。撮像素子3上に結像された被写体像
Xは、撮像素子3で光電変換されて電気信号となり、さ
らに撮像回路4により信号処理されて映像信号となる。
生成された映像信号はA/D変換器5によりデジタル信
号に変換される。この変換されたデジタル信号は、カメ
ラのモードに応じて異なった処理がなされる。そのため
に、二次元フィルタ6および一次元フィルタ10には,
フィルタ・コントローラ38からの制御信号により、カ
メラのモードに応じた係数が設定される。
The subject image X has a diaphragm mechanism 1 for adjusting the amount of light.
An image is formed on the image sensor 3 via the lens system 2 including the focus adjustment lens. The subject image X formed on the image pickup element 3 is photoelectrically converted by the image pickup element 3 into an electric signal, and further processed by the image pickup circuit 4 into a video signal.
The generated video signal is converted into a digital signal by the A / D converter 5. The converted digital signal is processed differently depending on the mode of the camera. Therefore, in the two-dimensional filter 6 and the one-dimensional filter 10,
A control signal from the filter controller 38 sets a coefficient according to the mode of the camera.

【0066】「AEモードの場合」二次元フィルタ6と
一次元フィルタ10とに前述したバイパス機能と同等の
機能が生じるように係数が設定される。従ってA/D変
換器5の出力は、累積加算器12に直接入力するものと
なる。累積加算器12は、入力した輝度信号成分を累積
加算してAE評価値を求め、これをCPU13に送り込
む。CPU13は、送り込まれたAE評価値に基づいた
演算処理を行ない、絞り機構駆動部14または撮像素子
ドライバ16に制御信号を与える。かくして絞り機構1
または撮像素子3が駆動制御され、適切な露光制御が行
なわれる。
"In case of AE mode" The coefficients are set so that the two-dimensional filter 6 and the one-dimensional filter 10 have the same function as the bypass function described above. Therefore, the output of the A / D converter 5 is directly input to the cumulative adder 12. The cumulative adder 12 cumulatively adds the input luminance signal components to obtain an AE evaluation value, and sends this to the CPU 13. The CPU 13 performs arithmetic processing based on the sent AE evaluation value, and gives a control signal to the diaphragm mechanism driving unit 14 or the image pickup device driver 16. Thus, diaphragm mechanism 1
Alternatively, the image sensor 3 is driven and controlled, and appropriate exposure control is performed.

【0067】「AFモードの場合」二次元フィルタ6に
バイパス機能と同等の機能を生じさせる係数またはAF
用係数が設定されると共に、一次元フィルタ10にAF
用の係数が設定される。そうするとA/D変換器5の出
力であるデジタル信号から、AFに必要な高周波成分の
みが抽出され、これが累積加算器12に入力する。二次
元フィルタ6の係数設定の切り換えに関しては、後で詳
細に述べる。
[In the case of AF mode] A coefficient or AF that causes the two-dimensional filter 6 to have a function equivalent to the bypass function.
The coefficient for use is set, and AF is applied to the one-dimensional filter 10.
The coefficient for is set. Then, only the high frequency component necessary for AF is extracted from the digital signal output from the A / D converter 5, and this is input to the cumulative adder 12. Switching of the coefficient setting of the two-dimensional filter 6 will be described later in detail.

【0068】累積加算器12は、高周波成分を累積加算
してAF評価値を求め、これをCPU13に送り込む。
CPU13は送り込まれたAF評価値に基づいた演算処
理を行ない、レンズ駆動部15に制御信号を与える。か
くして焦点調節用レンズを含むレンズ系2は、高周波成
分が増大する方向にフィードバック制御され、フォーカ
シングが行なわれる。
The cumulative adder 12 cumulatively adds the high frequency components to obtain the AF evaluation value, and sends this to the CPU 13.
The CPU 13 performs arithmetic processing based on the sent AF evaluation value, and gives a control signal to the lens driving unit 15. Thus, the lens system 2 including the focus adjustment lens is feedback-controlled in the direction in which the high frequency component increases, and focusing is performed.

【0069】「撮影モードの場合」二次元フィルタ6に
は二値化用の係数が設定される。そして、A/D変換器
5の出力は二次元フィルタ6でエッジ強調された後、二
値化処理器7に入力する。二値化処理器7は、入力した
信号に対し、被写体に応じた単純二値化処理あるいは疑
似中間調処理を施す。二値化処理された信号は、その
後、プリンタ8により画像としてプリントアウトされ
る。
[In case of photographing mode] A coefficient for binarization is set in the two-dimensional filter 6. The output of the A / D converter 5 is edge-enhanced by the two-dimensional filter 6 and then input to the binarization processor 7. The binarization processor 7 subjects the input signal to simple binarization processing or pseudo halftone processing according to the subject. The binarized signal is then printed out as an image by the printer 8.

【0070】図12は係数の設定によりフィルタ切換え
を行なうようにした場合のカメラシーケンスのフロー図
である。以下このフロー図を用いてカメラシーケンスに
つきステップS201から順次説明する。
FIG. 12 is a flow chart of a camera sequence when the filter is switched by setting the coefficient. The camera sequence will be sequentially described from step S201 with reference to this flowchart.

【0071】「S201」 電源がONであるか否かが
判定される。ONであると判定されると次のステップに
進む。
"S201" It is determined whether or not the power supply is ON. If it is determined to be ON, the process proceeds to the next step.

【0072】「S202」 二次元フィルタ6と一次元
フィルタ10にバイパス機能と同等の機能が発揮される
ような係数が設定される。図13の(a)は二次元フィ
ルタ6(3×3の空間フィルタ)にバイパス機能と同等
の機能が発揮されるような係数が設定された場合のフィ
ルタ状態を示す図であり、図13の(b)は一次元フィ
ルタ10(二次元IIRフィルタ)にバイパス機能と同
等の機能が発揮されるような係数が設定された場合のフ
ィルタ状態を示す図である。かくして、A/D変換器5
の出力が直接、累積加算器12に入力する。
"S202" Coefficients are set in the two-dimensional filter 6 and the one-dimensional filter 10 so that a function equivalent to the bypass function is exerted. FIG. 13A is a diagram showing a filter state when the two-dimensional filter 6 (3 × 3 spatial filter) is set with a coefficient such that a function equivalent to the bypass function is set, and FIG. (B) is a diagram showing a filter state when a coefficient is set in the one-dimensional filter 10 (two-dimensional IIR filter) so that the same function as the bypass function is exhibited. Thus, the A / D converter 5
Is directly input to the cumulative adder 12.

【0073】「S203」 累積加算器12において輝
度信号が加え合わせられ、AE評価値が求められ、その
評価値に従ってCPU13が露出を合わせる。露出が合
わせられると、1stトリガを受け付け得る態勢ができ
る。
[S203] The luminance signals are added together in the cumulative adder 12 to obtain the AE evaluation value, and the CPU 13 adjusts the exposure according to the evaluation value. When the exposures are matched, it is ready to accept the 1st trigger.

【0074】「S204」 1stトリガがONか否か
が判定され、ONと判定されると次のステップへ進む。
[S204] It is determined whether or not the 1st trigger is ON, and if it is determined to be ON, the process proceeds to the next step.

【0075】「S205」 一次元フィルタ10にAF
用HPFとなすための係数が設定される。
"S205" AF is applied to the one-dimensional filter 10.
A coefficient for setting a dedicated HPF is set.

【0076】「S206」 A/D変換器5の出力は、
二次元フィルタ6をバイパスし、一次元フィルタ10の
みによってフィルタリングされた後、累積加算器12に
入力する。累積加算器12では、高周波成分が足し合わ
されてAF評価値が求められる。CPU13により、入
力した上記AF評価値に従った山登りAF制御が行なわ
れる。
"S206" The output of the A / D converter 5 is
The two-dimensional filter 6 is bypassed, and after being filtered only by the one-dimensional filter 10, it is input to the cumulative adder 12. In the cumulative adder 12, the high frequency components are added together to obtain the AF evaluation value. The CPU 13 performs hill-climbing AF control according to the input AF evaluation value.

【0077】「S207」 合焦であるか否かが判断さ
れ、合焦したものと判断された場合には、2ndトリガ
を受け付けるようになる。また、ある一定値以上のAF
評価値のピークが無く、非合焦と判断された場合には、
ステップS208へ進む。
[S207] It is determined whether or not the subject is in focus. When it is determined that the subject is in focus, the second trigger is accepted. In addition, AF of a certain value or more
If there is no peak of the evaluation value and it is determined that the subject is out of focus,
It proceeds to step S208.

【0078】「S208」 二次元フィルタ6にAF用
係数が設定される。図13の(c)は、二次元フィルタ
6(3×3の空間フィルタ)に垂直方向に重み付けした
係数を設定した場合のフィルタ状態を示す図である。か
くして、A/D変換器5の出力が二次元フィルタ6によ
ってフィルタリングされ、垂直方向の高周波成分が抽出
された後、さらに一次元フィルタ10によってフィルタ
リングされ、累積加算器12に入力する。
"S208" The AF coefficient is set in the two-dimensional filter 6. FIG. 13C is a diagram showing a filter state when the coefficient weighted in the vertical direction is set in the two-dimensional filter 6 (3 × 3 spatial filter). Thus, after the output of the A / D converter 5 is filtered by the two-dimensional filter 6 to extract the high frequency component in the vertical direction, it is further filtered by the one-dimensional filter 10 and input to the cumulative adder 12.

【0079】「S209」 累積加算器12には、水
平、垂直両方の高周波成分を含んだ信号が入力されるこ
とになり、S206と同様のAF制御が行なわれる。合
焦した後、2ndトリガを受け付けるようになる。
[S209] A signal containing both horizontal and vertical high frequency components is input to the cumulative adder 12, and the same AF control as in S206 is performed. After focusing, the second trigger is accepted.

【0080】「S210」 2ndトリガがONか否か
が判定され、ONと判定されると、次のステップへ進
む。
"S210" It is determined whether or not the second trigger is ON. If it is determined to be ON, the process proceeds to the next step.

【0081】「S211」 二次元フィルタ6に、二値
化用の係数が設定される。図13の(d)は二次元フィ
ルタ6(3×3の空間フィルタ)に水平方向および垂直
方向の両方に重み付けした係数を設定した場合のフィル
タ状態を示す図である。かくしてデジタル信号には二値
化処理に最適な輪郭強調が施される。
[S211] The binarization coefficient is set in the two-dimensional filter 6. FIG. 13D is a diagram showing a filter state when weighting coefficients are set in both the horizontal direction and the vertical direction in the two-dimensional filter 6 (3 × 3 spatial filter). In this way, the digital signal is subjected to the edge enhancement most suitable for the binarization process.

【0082】「S212」 二値化処理、プリントアウ
ト等の撮影処理が行なわれ、カメラシーケンスが終了す
る。
[S212] Binarization processing, photographing processing such as printout, etc. are performed, and the camera sequence ends.

【0083】ところで本実施形態で述べた構成のカメラ
を用いて様々な被写体についてAFの実験を行なった結
果、次のような現象が生じることが判明した。すなわ
ち、映像信号にノイズが多い場合において、二次元フィ
ルタ6によりフィルタリングすると、ノイズに強調がか
かり本来AFに必要な信号がノイズに埋もれてしまい、
良好なAFができなくなってしまうという現象である。
以下この問題を解決するための手段を含む実施形態につ
いて説明する。
By the way, as a result of conducting an AF experiment on various subjects using the camera having the structure described in this embodiment, it was found that the following phenomenon occurs. That is, when the video signal has a lot of noise, if filtering is performed by the two-dimensional filter 6, the noise is emphasized and the signal originally required for AF is buried in the noise.
This is a phenomenon in which good AF cannot be performed.
An embodiment including means for solving this problem will be described below.

【0084】(第4実施形態)この第4実施形態のハー
ド的な構成は、図1に示すブロック図と同じである。カ
メラシーケンスは、図14のフロー図に示す通りのもの
である。以下、図14のフロー図を用いてカメラシーケ
ンスにつき、ステップS301から順次説明する。
(Fourth Embodiment) The hardware configuration of the fourth embodiment is the same as the block diagram shown in FIG. The camera sequence is as shown in the flowchart of FIG. Hereinafter, the camera sequence will be sequentially described from step S301 using the flowchart of FIG.

【0085】「S301」 電源がONであるか否かが
判定される。ONであると判定されると次のステップに
進む。
"S301" It is determined whether or not the power supply is ON. If it is determined to be ON, the process proceeds to the next step.

【0086】「S302」 切換えスイッチ(SW.
Q)11がD端子側に切り換わる。そうすると、A/D
変換器5の出力が直接、累積加算器12に入力する。
"S302" selector switch (SW.
Q) 11 switches to the D terminal side. Then, A / D
The output of the converter 5 is directly input to the cumulative adder 12.

【0087】「S303」 累積加算器12において輝
度信号が加え合わせられ、AE評価値が求められ、その
評価値に従ってCPU13が露出を合わせる。露出が合
わせられると、1stトリガを受け付け得る態勢ができ
る。
[S303] The luminance signals are added together in the cumulative adder 12 to obtain the AE evaluation value, and the CPU 13 adjusts the exposure according to the evaluation value. When the exposures are matched, it is ready to accept the 1st trigger.

【0088】「S304」 1stトリガがONか否か
が判定され、ONと判定されると次のステップへ進む。
"S304" It is determined whether or not the 1st trigger is ON. If it is determined to be ON, the process proceeds to the next step.

【0089】「S305」 AEの結果を基に被写体の
明るさの判定が行なわれる。明るさが基準以上であると
判定された場合は、ステップS306へ進み、明るさが
基準未満であると判定された場合は、ステップS308
へ進む。
[S305] The brightness of the subject is determined based on the result of AE. If it is determined that the brightness is equal to or higher than the reference, the process proceeds to step S306, and if it is determined that the brightness is lower than the reference, step S308.
Proceed to.

【0090】「S306」 切換えスイッチ(SW.
P)9がA端子側に切り換わり、切換えスイッチ(S
W.Q)11がC端子側に切り換わる。そうすると、A
/D変換器5の出力が、二次元フィルタ6によってフィ
ルタリングされた後、さらに一次元フィルタ10によっ
てフィルタリングされ累積加算器12に入力する。S3
06で切換えスイッチ(SW.P)9がA端子側に切り
換えられたのは、被写体が明るいので映像信号にノイズ
が少ないと考えられるためである。
"S306" Changeover switch (SW.
P) 9 switches to the A terminal side, and the changeover switch (S
W. Q) 11 switches to the C terminal side. Then, A
The output of the / D converter 5 is filtered by the two-dimensional filter 6, then further filtered by the one-dimensional filter 10, and input to the cumulative adder 12. S3
The changeover switch (SW.P) 9 is changed over to the A terminal side at 06 because the subject is bright and it is considered that the video signal has little noise.

【0091】「S307」 累積加算器12には、水平
方向および垂直方向の両方向の高周波成分を含んだ信号
が入力されることになる。累積加算器12では高周波成
分が足し合わされてAF評価値が求められ、この評価値
に従ってCPU13が山登りAF制御を行なう。合焦し
た後、2ndトリガを受け付けるようになる。
"S307" The cumulative adder 12 is supplied with a signal containing high-frequency components in both the horizontal and vertical directions. High-frequency components are added together in the cumulative adder 12 to obtain an AF evaluation value, and the CPU 13 performs hill-climbing AF control according to this evaluation value. After focusing, the second trigger is accepted.

【0092】「S308」 切換えスイッチ(SW.
P)9がB端子側に切り換わり、切換えスイッチ(S
W.Q)11がC端子側に切り換わる。したがってA/
D変換器5の出力は、二次元フィルタ6をバイパスし、
一次元フィルタ10のみによるフィルタリングを行なわ
れた後、累積加算器12に入力する。S308で切換え
スイッチ(SW.P)9がB端子側に切り換えられたの
は、被写体が暗いので映像信号にノイズが多いと考えら
れるためである。
[S308] Changeover switch (SW.
P) 9 switches to the B terminal side, and the changeover switch (S
W. Q) 11 switches to the C terminal side. Therefore A /
The output of the D converter 5 bypasses the two-dimensional filter 6,
After being filtered only by the one-dimensional filter 10, it is input to the cumulative adder 12. The changeover switch (SW.P) 9 is changed over to the B terminal side in S308 because it is considered that the image signal has a lot of noise because the subject is dark.

【0093】「S309」 累積加算器12ではS30
7と同様にAF制御が行なわれ、合焦した後、2ndト
リガを受け付けるようになる。
"S309" In the cumulative adder 12, S30
AF control is performed in the same manner as in 7, and after focusing, the second trigger is accepted.

【0094】「S310」 2ndトリガがONか否か
が判定され、ONと判定されると、次のステップへ進
む。
[S310] It is determined whether or not the second trigger is ON, and if it is determined to be ON, the process proceeds to the next step.

【0095】「S311」 二値化処理、プリントアウ
ト等の撮影処理が行なわれ、カメラシーケンスが終了す
る。
[S311] Binarization processing, photographing processing such as printout, etc. are performed, and the camera sequence ends.

【0096】(第5実施形態)この第5実施形態は、被
写体の明るさに応じて二次元フィルタの係数の設定を可
変にする実施形態である。本実施形態のハード的な構成
は、図11のブロック図(第3実施形態の構成図)に示
すものと同じである。カメラシーケンスは図15のフロ
ー図に示す通りである。以下、図15のフロー図を用い
てカメラシーケンスにつき、ステップS401から順次
説明する。
(Fifth Embodiment) The fifth embodiment is an embodiment in which the setting of the coefficient of the two-dimensional filter is variable according to the brightness of the subject. The hardware configuration of this embodiment is the same as that shown in the block diagram of FIG. 11 (configuration diagram of the third embodiment). The camera sequence is as shown in the flowchart of FIG. Hereinafter, the camera sequence will be sequentially described from step S401 using the flowchart of FIG.

【0097】「S401」 電源がONであるか否かが
判定される。ONであると判定されると次のステップに
進む。
"S401" It is determined whether or not the power is on. If it is determined to be ON, the process proceeds to the next step.

【0098】「S402」 二次元フィルタ6と一次元
フィルタ10にバイパス機能と同等の機能が発揮される
ような係数が設定される。そうすると、A/D変換器5
の出力が直接、累積加算器12に入力する。
"S402" Coefficients are set in the two-dimensional filter 6 and the one-dimensional filter 10 so that a function equivalent to the bypass function is exerted. Then, the A / D converter 5
Is directly input to the cumulative adder 12.

【0099】「S403」 累積加算器12において輝
度信号が加え合わせられ、AE評価値が求められ、その
評価値に従ってCPU13が露出を合わせる。露出が合
わせられると、1stトリガを受け付け得る態勢ができ
る。
[S403] The luminance signals are added together in the cumulative adder 12 to obtain the AE evaluation value, and the CPU 13 adjusts the exposure according to the evaluation value. When the exposures are matched, it is ready to accept the 1st trigger.

【0100】「S404」 1stトリガがONか否か
が判定され、ONと判定されると次のステップへ進む。
"S404" It is determined whether or not the 1st trigger is ON. If it is determined to be ON, the process proceeds to the next step.

【0101】「S405」 AEの結果に応じて二次元
フィルタ6に輝度に応じて可変なAF用の係数が設定さ
れる。図16の(a)(b)(c)は被写体の明るさと
二次元フィルタ6の係数の関係を示す図である。輝度レ
ベルが低い場合は、映像信号にノイズが多いのでエッジ
強調をかけないようにする。また、輝度レベルが高い場
合は、映像信号にノイズが少ないのでエッジ強調を強く
かけ、垂直方向の高周波成分がより十分抽出できるよう
にする。
"S405" A coefficient for AF that is variable according to the brightness is set in the two-dimensional filter 6 according to the result of AE. 16A, 16B, and 16C are diagrams showing the relationship between the brightness of the subject and the coefficient of the two-dimensional filter 6. When the brightness level is low, the video signal contains a lot of noise, and therefore edge enhancement should not be applied. Further, when the luminance level is high, the video signal has less noise, so edge enhancement is strongly applied so that high-frequency components in the vertical direction can be more sufficiently extracted.

【0102】また、一次元フィルタ10にAF用HPF
となるための係数が設定される。そうすると、A/D変
換器5の出力が、二次元フィルタ10と一次元フィルタ
6とによってフィルタリングされて累積加算器12に入
力する。
Further, the one-dimensional filter 10 has an HPF for AF.
Is set. Then, the output of the A / D converter 5 is filtered by the two-dimensional filter 10 and the one-dimensional filter 6 and input to the cumulative adder 12.

【0103】「S406」 累積加算器12には、水平
方向および垂直方向の両方向の高周波成分を含んだ信号
が入力され、高周波成分が足し合わされてAF評価値が
求められる。その評価値に従ってCPU13が山登りA
F制御を行なう。合焦したのち、2ndトリガを受け付
けるようになる。
"S406" A signal containing high-frequency components in both the horizontal and vertical directions is input to the cumulative adder 12, and the high-frequency components are added together to obtain an AF evaluation value. According to the evaluation value, the CPU 13 climbs the mountain A
F control is performed. After focusing, the second trigger is accepted.

【0104】「S407」 2ndトリガがONか否か
が判定され、ONと判定されると、次のステップへ進
む。
"S407" It is determined whether or not the second trigger is ON, and when it is determined to be ON, the process proceeds to the next step.

【0105】「S408」 二値化処理、プリントアウ
ト等の撮影処理が行なわれ、カメラシーケンスが終了す
る。
"S408" Binary processing, photographing processing such as printout are performed, and the camera sequence ends.

【0106】本実施形態では、被写体の明るさに応じて
二次元フィルタ6の係数の設定を可変にする場合につい
て説明したが、二次元フィルタ6の周波数特性に応じ
て、一次元フィルタ10の周波数特性を可変にすると、
さらに良好なオートフォーカスが実現できる。
In this embodiment, the case where the setting of the coefficient of the two-dimensional filter 6 is made variable according to the brightness of the subject has been described, but the frequency of the one-dimensional filter 10 is changed according to the frequency characteristic of the two-dimensional filter 6. If you change the characteristics,
Even better autofocus can be achieved.

【0107】(第6実施形態)この第6実施形態は、図
11のブロック図に示された構成と図15のフロー図に
示された処理手順とで実現可能である。図11と図15
については、第5実施形態の説明において既に説明済み
であるので、ここでは二次元フィルタ6の周波数特性に
応じて、一次元フィルタ10の周波数特性をどのように
変えればよいのかという点に関して、具体例をあげて説
明する。
(Sixth Embodiment) This sixth embodiment can be realized by the configuration shown in the block diagram of FIG. 11 and the processing procedure shown in the flowchart of FIG. 11 and 15
Since it has already been described in the description of the fifth embodiment, here, in terms of how to change the frequency characteristic of the one-dimensional filter 10 according to the frequency characteristic of the two-dimensional filter 6, An example will be described.

【0108】図17の(a)は一次元フィルタの周波数
特性、(b)は二次元フィルタの周波数特性、(c)は
二つのフィルタを縦続接続したときの周波数特性を示し
ている。(a)に示す周波数特性はカットオフ周波数f
cのHPF特性であり、また(b)に示す周波数特性は
ナイキスト周波数fN を中心に山状に盛り上がった特性
である。したがって上記二つの特性を重ね合わせた周波
数特性は、当然(c)に示すようにナイキスト周波数f
N を中心に山状に盛り上がったものとなる。この山状の
盛り上がりが大きい場合には、データがオーバーフロー
してしまい、正しい結果が得られない。
FIG. 17A shows the frequency characteristic of a one-dimensional filter, FIG. 17B shows the frequency characteristic of a two-dimensional filter, and FIG. 17C shows the frequency characteristic when two filters are connected in cascade. The frequency characteristic shown in (a) is the cutoff frequency f.
It is the HPF characteristic of c, and the frequency characteristic shown in (b) is a characteristic in which the Nyquist frequency fN rises in a mountain shape. Therefore, the frequency characteristic obtained by superimposing the above two characteristics naturally has the Nyquist frequency f as shown in (c).
It is a mountain-shaped bulge centered on N. If this mountain-shaped swell is large, the data will overflow and correct results cannot be obtained.

【0109】そこで図17の(d)に示すように、一次
元フィルタ10の周波数特性を二次元フィルタ6の周波
数特性を考慮に入れ、予め右下がりの特性にしておく。
そうすると、二つのフィルタを縦続接続したときの周波
数特性は、(f)に示すように、ナイキスト周波数fN
を中心とした山状の盛り上がりが小さく抑えられた形と
なる。
Therefore, as shown in FIG. 17 (d), the frequency characteristic of the one-dimensional filter 10 is set in advance to the lower right in consideration of the frequency characteristic of the two-dimensional filter 6.
Then, the frequency characteristics when the two filters are connected in cascade are as shown in (f), the Nyquist frequency fN
The shape of the mountain-shaped bulge centered on is suppressed.

【0110】このように二次元フィルタ6の周波数特性
を、一次元フィルタ10の周波数特性で補正可能である
ことが分かる。したがって二次元フィルタ6および一次
元フィルタ10の係数を、いずれも細かく設定する必要
はなく、例えば二次元フィルタ6の構成を簡素化したた
めに係数を粗くしか設定できない場合であっても、一次
元フィルタ10の係数さえ細かく設定すれば、所望の周
波数特性を適確に得られることになる。
As described above, it is understood that the frequency characteristic of the two-dimensional filter 6 can be corrected by the frequency characteristic of the one-dimensional filter 10. Therefore, it is not necessary to finely set the coefficients of the two-dimensional filter 6 and the one-dimensional filter 10. For example, even when the coefficient can be set only roughly because the configuration of the two-dimensional filter 6 is simplified, the one-dimensional filter Even if the coefficient of 10 is set finely, a desired frequency characteristic can be obtained accurately.

【0111】図18は係数を細かく設定可能な一次元フ
ィルタ10の構成を示す図である。一次元フィルタ10
はもともとAFの確度を保つために細かく係数を設定で
きるようになっている。図示の如く5個の乗算器群をも
っているので、様々な振幅周波数特性を実現できる。
FIG. 18 is a diagram showing the structure of the one-dimensional filter 10 in which the coefficient can be finely set. One-dimensional filter 10
Originally, the coefficient can be finely set in order to maintain the accuracy of AF. Since it has a group of five multipliers as shown in the figure, various amplitude frequency characteristics can be realized.

【0112】図19は係数を簡略化した二次元フィルタ
6の構成を示すブロック図である。図19において、3
9は加算器群、40はビットシフト処理器である。図1
9に示すように、この二次元フィルタ6は、フリップフ
ロップを「3×3」の二次元配置とした小規模なもので
あって、8個の加算器群39をもっている。この例では
注目画素のまわり8画素は全て同じ係数とし、また乗算
器を使わずにビットシフト処理器40によりビットシフ
ト処理を行なっている。従ってより簡素化されたフィル
タとなっている。図19の如く構成されたものでは、設
定できる係数はビットシフト処理により、右に1ビット
シフトさせて「0.5」(=1/2),更に右に2ビッ
トシフトさせて「0.25」(=1/4),更にまた右
に3ビットシフトさせて「0.125」(=1/8),
更にまた右に4ビットシフトさせて「0.0625」
(=1/16)…という具合にかなり粗くなってしま
う。しかし前述したように一次元フィルタ10で周波数
特性を補うことが可能なので、トータルとして所望の振
幅周波数特性は必ず得られることになる。また、二次元
フィルタ6自体の構成も極力簡素化される。
FIG. 19 is a block diagram showing the structure of the two-dimensional filter 6 with simplified coefficients. In FIG. 19, 3
Reference numeral 9 is an adder group, and 40 is a bit shift processor. FIG.
As shown in FIG. 9, the two-dimensional filter 6 is a small-scale one in which the flip-flops are two-dimensionally arranged in “3 × 3”, and has eight adder groups 39. In this example, all eight pixels around the pixel of interest have the same coefficient, and bit shift processing is performed by the bit shift processor 40 without using a multiplier. Therefore, the filter is more simplified. In the configuration as shown in FIG. 19, the coefficient that can be set is shifted by 1 bit to the right by a bit shift process to "0.5" (= 1/2), and further shifted to the right by 2 bits by "0.25". (= 1/4), and by further shifting to the right by 3 bits, "0.125" (= 1/8),
Further shift to the right by 4 bits to "0.0625".
(= 1/16) ... It will be quite rough. However, since the one-dimensional filter 10 can supplement the frequency characteristic as described above, the total desired amplitude frequency characteristic is always obtained. Further, the configuration of the two-dimensional filter 6 itself is simplified as much as possible.

【0113】ところで、上記したように映像信号に高周
波成分が非常に多く含まれている場合、二次元フィルタ
6の出力は増大してしまう。その場合、後段の回路はそ
れに合わせて多ビットバス構成としなければならなくな
る。この点を考慮に入れた実施形態を以下に示す。
By the way, when the video signal contains a large amount of high frequency components as described above, the output of the two-dimensional filter 6 increases. In that case, the circuit in the subsequent stage has to have a multi-bit bus structure accordingly. An embodiment taking this point into consideration is shown below.

【0114】(第7実施形態)図20は第7実施形態の
主要部を示すブロック図である。図20に示す構成は図
11に示すブロック図の主要部とほとんど同じである
が、一次元フィルタ10と累積加算器12との間にビッ
トシフト処理器41を追加挿入したものとなっている。
フィルタ・コントローラ38からの制御信号により二次
元フィルタ6にある係数が設定されると、二次元フィル
タ6は入力ではnビットだったデジタル信号を、n+m
ビットに増大させる。二次元フィルタ6に設定した係数
から、二次元フィルタ6の出力が何ビット(n+m)に
増大したかの情報は、フィルタ・コントローラ38から
ビットシフト処理器41に与えられる。したがってビッ
トシフト処理器41は与えられた情報に基づき、その増
大ビット(mビット)分だけ右にシフト処理するように
設定される。右にシフト処理するということは、シフト
した分だけ下位ビット側を切り捨てることに相当する。
従って、ビットシフト処理器41において、デジタル信
号は再びnビットに変換され、後段の累積加算器12で
は、常にnビットでの処理が可能となる。
(Seventh Embodiment) FIG. 20 is a block diagram showing the main parts of the seventh embodiment. The configuration shown in FIG. 20 is almost the same as the main part of the block diagram shown in FIG. 11, but a bit shift processor 41 is additionally inserted between the one-dimensional filter 10 and the cumulative adder 12.
When the coefficient in the two-dimensional filter 6 is set by the control signal from the filter controller 38, the two-dimensional filter 6 converts the digital signal, which was n bits at the input, into n + m.
Increase to a bit. Information on how many bits (n + m) the output of the two-dimensional filter 6 has increased from the coefficient set in the two-dimensional filter 6 is given from the filter controller 38 to the bit shift processor 41. Therefore, the bit shift processor 41 is set to shift rightward by the increased bits (m bits) based on the given information. Shifting to the right corresponds to truncating the lower bit side by the shifted amount.
Therefore, in the bit shift processor 41, the digital signal is converted into n bits again, and the cumulative adder 12 in the subsequent stage can always process with n bits.

【0115】図21は二次元フィルタ6によるビット幅
の増大の様子を示す図である。図21の(b)に示すよ
うに、注目画素データをG、周辺画素データをS1 〜S
8 とし、それぞれ8ビットのデータとする。そこでま
ず、図21の(b)に示すように、周辺画素データS1
〜S8 を足し合わせるのに、3回の加算が行なわれるた
め、データは11ビットに増大する。但し、数値自体が
必ず11ビットになるというわけではない。11ビット
にする理由は、扱っている数値が2進数なので、加算1
回に対して桁上がりする可能性が必ずあり、ハードとし
て予め1ビット多いビット幅の構成にしなければならな
いからである。つまり加算を3回行なうのであるから、
ハードとして3ビット多いビット幅、すなわち11ビッ
トのビット幅にしておく必要があるからである。二次元
フィルタ6は、さらに周辺画素データS1 〜S8 を足し
合わせたものと、注目画素データGとを足し合わせるの
で、12ビットのビット幅が必要になる。図21の
(a)においてUSBは上位ビット側を示し、LSBは
下位ビット側を示している。
FIG. 21 is a diagram showing how the bit width is increased by the two-dimensional filter 6. As shown in FIG. 21B, the target pixel data is G, and the peripheral pixel data is S1 to S.
8 and each is 8-bit data. Therefore, first, as shown in FIG. 21B, the peripheral pixel data S1
Since the addition is performed three times to add ~ S8, the data is increased to 11 bits. However, the numerical value itself does not always have to be 11 bits. The reason for using 11 bits is because the value being handled is a binary number, so add 1
This is because there is always a possibility of carrying a digit with respect to the number of times, and the hardware must be configured beforehand to have a bit width that is one bit larger. In other words, since the addition is done 3 times,
This is because it is necessary to increase the bit width by 3 bits as hardware, that is, the bit width of 11 bits. Since the two-dimensional filter 6 further adds the peripheral pixel data S1 to S8 and the target pixel data G, a bit width of 12 bits is required. In FIG. 21A, USB indicates the upper bit side, and LSB indicates the lower bit side.

【0116】二次元フィルタ6でデータが12ビットに
増大しても、ビットシフト処理器41によるビットシフ
ト処理により、右に4ビットだけシフトすれば、下位4
ビットは切り捨てられたことになるので、データは8ビ
ットに戻る。このようにするとデータの精度は落ちる
が、オートフォーカスのデータ処理ではデータの相対的
な大きさのみが重要なので、データ精度の低下による支
障はない。
Even if the data is increased to 12 bits by the two-dimensional filter 6, if it is shifted by 4 bits to the right by the bit shift processing by the bit shift processor 41, the lower 4
Since the bits have been truncated, the data reverts to 8 bits. If this is done, the accuracy of the data will be reduced, but since only the relative size of the data is important in autofocus data processing, there is no problem due to a decrease in the data accuracy.

【0117】(第8実施形態)図22は第8実施形態の
主要部を示すブロック図である。図22に示す構成は図
20に示す構成と同様に、図11に示すブロック図の主
要部とほとんど同じであるが、ビットシフト処理器41
を二次元フィルタ6と一次元フィルタ10との間に追加
挿入したものとなっている。
(Eighth Embodiment) FIG. 22 is a block diagram showing the main parts of the eighth embodiment. Like the configuration shown in FIG. 20, the configuration shown in FIG. 22 is almost the same as the main part of the block diagram shown in FIG.
Is additionally inserted between the two-dimensional filter 6 and the one-dimensional filter 10.

【0118】この構成であると、後段の一次元フィルタ
10および累積加算器12の両方とも、常にnビットで
の処理が可能となる。この実施形態におけるカメラシー
ケンスは、図15のフロー図に示されているシーケンス
と同様である。ただしステップS405において、二次
元フィルタ6の係数を設定するときに、ビットシフト処
理器41のシフト量も同時に設定することを加えさえす
ればよい。
With this configuration, both the one-dimensional filter 10 and the cumulative adder 12 in the subsequent stage can always perform processing with n bits. The camera sequence in this embodiment is similar to the sequence shown in the flow chart of FIG. However, in step S405, when setting the coefficient of the two-dimensional filter 6, it is only necessary to add the shift amount of the bit shift processor 41 at the same time.

【0119】(実施形態のまとめ)前記実施形態に示さ
れたカメラの構成および作用効果をまとめると次の通り
である。
(Summary of Embodiments) The following is a summary of the configuration and effects of the camera shown in the above embodiment.

【0120】[1]実施形態に示されたカメラは、焦点
調節用レンズを含むレンズ系(1,2)を介した被写体
光に対応して映像信号を出力する撮像手段(3,4)
と、該撮像手段(3,4)から出力される映像信号に基
づいて上記焦点調節用レンズを駆動制御して自動的に焦
点調節を行なうようにした自動焦点調節手段(5,1
0,12,13,15)とを備えたカメラにおいて、上
記自動焦点調節手段(5,10,12,13,15)
は、上記撮像手段(3,4)より出力された映像信号か
ら上記焦点調節を行なうために必要な信号成分である第
1の焦点調節用評価値(a)を抽出するための一次元フ
ィルタ(10)と、上記撮像手段(3,4)より出力さ
れる映像信号から上記焦点調節を行なうために必要な信
号成分である上記第1の焦点調節用評価値(a)とは異
なる第2の焦点調節用評価値(b)を抽出するための二
次元フィルタ(6)とを備え、上記一次元フィルタ(1
0)で抽出された第1の焦点調節用評価値(a)のみに
基づく焦点調節動作が不可能であることを検出したと
き、該第1の焦点調節用評価値(a)と共に上記第2の
焦点調節用評価値(b)も利用して焦点調節動作を行な
うものとなっている。
[1] The camera shown in the embodiment is an image pickup means (3, 4) for outputting a video signal corresponding to the subject light through the lens system (1, 2) including the focus adjusting lens.
And an automatic focus adjusting means (5, 1) for automatically controlling the focus by driving and controlling the focus adjusting lens based on a video signal output from the image pickup means (3, 4).
0, 12, 13, 15), and the automatic focusing means (5, 10, 12, 13, 15)
Is a one-dimensional filter (for extracting the first focus adjustment evaluation value (a), which is a signal component necessary for performing the focus adjustment, from the video signal output from the image pickup means (3, 4). 10) and a second focus adjustment evaluation value (a) which is a signal component necessary for performing the focus adjustment from the video signal output from the image pickup means (3, 4). A two-dimensional filter (6) for extracting the focus adjustment evaluation value (b), and the one-dimensional filter (1
When it is detected that the focus adjustment operation based only on the first focus adjustment evaluation value (a) extracted in 0) is impossible, the second focus adjustment value (a) and the second focus adjustment operation are performed. The focus adjustment operation is also performed by using the focus adjustment evaluation value (b).

【0121】上記カメラは、次のような作用効果を奏す
る。縦線のない被写体、横線のない被写体の両方にピン
トを合わせるためには、水平および垂直両方向の高周波
成分を抽出できるフィルタが必要である。本来は、二次
元フィルタ(6)のみでその目的は達成できるが、合焦
する確率を上げようとするとその構成が複雑となり、規
模が大型化しかつコスト高を招く。しかるに上記カメラ
においては、オートフォーカスのために調整された一次
元フィルタ(10)と、簡単な構成の二次元フィルタ
(6)と併用することで目的を達成できるので、構成が
簡単で規模は小さくてすみ、大型化およびコスト高を招
かずに済む。
The camera has the following operational effects. In order to focus on both an object without vertical lines and an object without horizontal lines, a filter capable of extracting high frequency components in both horizontal and vertical directions is required. Originally, the purpose can be achieved only by the two-dimensional filter (6), but if the probability of focusing is increased, the configuration becomes complicated, resulting in a large scale and high cost. However, in the above camera, the object can be achieved by using the one-dimensional filter (10) adjusted for autofocus and the two-dimensional filter (6) having a simple structure, so that the structure is simple and the scale is small. It is possible to avoid increasing the size, cost and cost.

【0122】[2]実施形態に示されたカメラは、上記
[1]に記載のカメラであって、かつ上記自動焦点調節
手段(5,10,12,13,15)は、上記第1の焦
点調節用評価値(a)とともに上記第2の焦点調節用評
価値(b)を利用するにあたって、上記二次元フィルタ
(6)で抽出された第2の焦点調節用評価値(b)を上
記一次元フィルタ(10)に入力して第1の焦点調節用
評価値(a)を得ることにより焦点調節動作を行なうも
のとなっている。
[2] The camera shown in the embodiment is the camera described in [1], and the automatic focus adjusting means (5, 10, 12, 13, 15) is the same as the first camera. When using the second focus adjustment evaluation value (b) together with the focus adjustment evaluation value (a), the second focus adjustment evaluation value (b) extracted by the two-dimensional filter (6) is used as described above. The focus adjustment operation is performed by inputting it to the one-dimensional filter (10) to obtain the first focus adjustment evaluation value (a).

【0123】上記カメラは、次のような作用効果を奏す
る。AF専用のフィルタを用いて構成するのではなく、
二次元フィルタ(6)と一次元フィルタ(10)とを縦
続接続した構成としたので、二次元フィルタ(6)の構
成が簡素化されると共に、前段の二次元フィルタ(6)
を他の目的に使うことも可能となる。
The camera has the following operational effects. Instead of using a dedicated AF filter,
Since the two-dimensional filter (6) and the one-dimensional filter (10) are connected in cascade, the configuration of the two-dimensional filter (6) is simplified and the preceding two-dimensional filter (6) is used.
Can also be used for other purposes.

【0124】[3]実施形態に示されたカメラは、上記
[2]に記載のカメラであって、かつ上記撮像手段
(3,4)より出力された映像信号に対して所定の信号
処理を施すための映像処理手段(7)を更に備えてお
り、上記二次元フィルタ(6)が、上記映像処理手段
(7)に供給される映像信号に対して前処理するための
前処理フィルタを兼用するものとなっている。
[3] The camera shown in the embodiment is the camera described in [2] above, and performs predetermined signal processing on the video signal output from the image pickup means (3, 4). The image processing means (7) for applying is further provided, and the two-dimensional filter (6) also serves as a pre-processing filter for pre-processing the video signal supplied to the video processing means (7). It is supposed to do.

【0125】上記カメラにおいては、次のような作用効
果が得られる。二次元フィルタ6がAFと映像処理とに
兼用されているので、回路やメモリを少なくする事がで
き、低コスト化をはかれる。
In the above camera, the following operational effects can be obtained. Since the two-dimensional filter 6 is used for both AF and image processing, it is possible to reduce the number of circuits and memories and reduce the cost.

【0126】[4]実施形態に示されたカメラは、上記
[3]に記載のカメラであって、かつ上記二次元フィル
タ(6)は、上記第2の焦点調節用評価値(b)を抽出
して焦点調節動作を行なうときと、上記映像処理手段
(7)に対する前処理としてのフィルタ処理を行なうと
きとでは、異なったフィルタ係数が設定されるように構
成されたものとなっている。
[4] The camera shown in the embodiment is the camera described in [3], and the two-dimensional filter (6) uses the second focus adjustment evaluation value (b). Different filter coefficients are set when extracting and performing the focus adjustment operation and when performing filter processing as preprocessing for the video processing means (7).

【0127】上記カメラは、次のような作用効果を奏す
る。AF時と映像処理時とでは別個の係数が設定される
ので、それぞれの処理に適合した二次元フィルタ(6)
を実現できる。
The camera has the following operational effects. Since different coefficients are set for AF and image processing, a two-dimensional filter (6) suitable for each processing is provided.
Can be realized.

【0128】[5]実施形態に示されたカメラは、上記
[4]に記載のカメラであって、かつ上記二次元フィル
タ(6)は、上記第2の焦点調節用評価値(b)を抽出
して焦点調節動作を行なうときのフィルタ係数が、当該
撮像画面に対して垂直方向に重み付けを行なうように設
定され、映像処理手段としての二値化処理手段(7)に
対する前処理としてのエッジ強調処理を行なうときのフ
ィルタ係数が、当該撮像画面に対して水平及び垂直の両
方向に重み付けを行なうように設定される如く構成され
たものとなっている。
[5] The camera shown in the embodiment is the camera described in [4], and the two-dimensional filter (6) uses the second focus adjustment evaluation value (b). The filter coefficient at the time of extracting and performing the focus adjustment operation is set so as to weight the image pickup screen in the vertical direction, and an edge as a preprocessing for the binarization processing means (7) as a video processing means. The filter coefficient for performing the enhancement processing is configured to be weighted in both the horizontal and vertical directions with respect to the image pickup screen.

【0129】上記カメラは、次のような作用効果を奏す
る。AF時には本来の目的である垂直方向の高周波成分
の抽出を達成でき、また二値化処理時には水平、垂直方
向ともにエッジ強調をかけることができるので、それぞ
れの処理に好適な適応形二次元フィルタを実現できる。
The camera has the following operational effects. Since the original purpose of extracting high-frequency components in the vertical direction can be achieved during AF, and edge enhancement can be applied in both horizontal and vertical directions during binarization processing, an adaptive two-dimensional filter suitable for each process can be used. realizable.

【0130】[6]実施形態に示されたカメラは、上記
[2]に記載のカメラであって、かつ被写体の輝度を検
出するための被写体輝度検出手段(4,5,12,1
3)を更に備えており、上記被写体輝度検出手段(4,
5,12,13)で検出された被写体の輝度が所定のレ
ベル以下であると判断されたとき、上記自動焦点調節手
段(6,10,12,13,15)は上記一次元フィル
タ(10)で抽出された第1の焦点調節用評価値(a)
のみで焦点調節動作を行なうものとなっている。
[6] The camera shown in the embodiment is the camera described in the above [2], and includes a subject brightness detecting means (4,5, 12, 1) for detecting the brightness of the subject.
3) is further provided, and the subject brightness detecting means (4,
When it is determined that the brightness of the object detected in (5, 12, 13) is below a predetermined level, the automatic focus adjusting means (6, 10, 12, 13, 15) causes the one-dimensional filter (10). First focus adjustment evaluation value (a) extracted in
The focus adjustment operation is performed by itself.

【0131】上記カメラは、次のような作用効果を奏す
る。被写体が暗いとき、つまり映像信号のノイズの量が
多いときは、二次元フィルタ(6)をかけないので、ノ
イズの影響を大きく受けずに済む。
The camera has the following operational effects. When the subject is dark, that is, when the amount of noise in the video signal is large, the two-dimensional filter (6) is not applied, so that the influence of noise is not significantly affected.

【0132】[7]実施形態に示されたカメラは、上記
[2]に記載のカメラであって、かつ被写体の輝度を検
出するための被写体輝度検出手段(4,5,12,1
3)を更に備えており、上記二次元フィルタ(6)は上
記被写体輝度検出手段(4,5,12,13)で検出さ
れた被写体の輝度レベルの高低に応じて、その周波数特
性を変更する如く構成されたものとなっている。
[7] The camera shown in the embodiment is the camera according to the above [2], and includes a subject brightness detecting means (4,5, 12, 1) for detecting the brightness of the subject.
3) is further provided, and the two-dimensional filter (6) changes its frequency characteristic according to the brightness level of the subject detected by the subject brightness detecting means (4,5, 12, 13). It is configured as follows.

【0133】上記カメラは、次のような作用効果を奏す
る。被写体の明るさ、つまり映像信号のノイズの量によ
って二次元フィルタ(6)の係数が変えられるので、被
写体の明るさに応じた最適なAFを実現できる。
The camera has the following operational effects. Since the coefficient of the two-dimensional filter (6) can be changed according to the brightness of the subject, that is, the amount of noise in the video signal, it is possible to realize optimal AF according to the brightness of the subject.

【0134】[8]実施形態に示されたカメラは、上記
[7]に記載のカメラであって、かつ上記二次元フィル
タは、上記被写体輝度検出手段(4,5,12,13)
で検出された被写体の輝度レベルが高いほど、入力され
る映像信号へのエッジ強調度が高くなるように構成され
たものとなっている。
[8] The camera shown in the embodiment is the camera described in [7] above, and the two-dimensional filter is the subject luminance detecting means (4,5, 12, 13).
The higher the brightness level of the subject detected in step 3, the higher the edge enhancement degree to the input video signal.

【0135】上記カメラは、次のような作用効果を奏す
る。被写体の明るさ、つまり映像信号のノイズの量によ
って二次元フィルタ(6)の係数が変えられるので、被
写体の明るさに応じた最適なAFを実現できる。
The camera has the following operational effects. Since the coefficient of the two-dimensional filter (6) can be changed according to the brightness of the subject, that is, the amount of noise in the video signal, it is possible to realize optimal AF according to the brightness of the subject.

【0136】[9]実施形態に示されたカメラは、上記
[2]に記載のカメラであって、かつ上記一次元フィル
タの周波数特性が、上記二次元フィルタのもつ周波数特
性に応じて設定されるものとなっている。
[9] The camera described in the embodiment is the camera described in [2] above, and the frequency characteristic of the one-dimensional filter is set according to the frequency characteristic of the two-dimensional filter. It has become one.

【0137】上記カメラは、次のような作用効果を奏す
る。二次元フィルタ(6)の係数を粗くしか設定できな
くても、一次元フィルタ(10)の係数さえ細く設定で
きれば両方のフィルタ(6,10)を加え合わせた最終
的な周波数特性を自在に変えることができる。したがっ
て二次元フィルタ(6)としては、簡易な構成のもので
良い利点がある。
The camera has the following operational effects. Even if the coefficient of the two-dimensional filter (6) can be set only roughly, if the coefficient of the one-dimensional filter (10) can be set thin, the final frequency characteristic obtained by adding both filters (6, 10) can be freely changed. be able to. Therefore, the two-dimensional filter (6) has a simple structure and is advantageous.

【0138】[10]実施形態に示されたカメラは、上
記[2]に記載のカメラであって、かつ上記カメラは、
上記撮像手段(3,5)り出力される映像信号をディジ
タル映像信号に変換するためのA/D変換手段(5)を
更に備え、二次元フィルタ(6)は、上記A/D変換手
段(5)で変換されたディジタル映像信号から第2の焦
点調節用評価値(b)を抽出するものであって、該抽出
された第2の焦点調節用評価値(b)のビット幅ないし
は該抽出された第2の焦点調節用評価値(b)を入力す
る一次元フィルタ(10)で抽出された第1の焦点調節
用評価値のビット幅を、当該二次元フィルタ(6)がも
つ周波数特性に応じて設定変更することにより、該第1
の焦点調節用評価値(a)に基づく累積加算値のビット
幅を一定にする手段を備えたものとなっている。
[10] The camera shown in the embodiment is the camera described in [2] above, and the camera is
The image pickup means (3, 5) further comprises an A / D conversion means (5) for converting a video signal into a digital video signal, and the two-dimensional filter (6) comprises the A / D conversion means ( 5) Extracting a second focus adjustment evaluation value (b) from the digital video signal converted in 5), the bit width of the extracted second focus adjustment evaluation value (b) or the extraction. The frequency characteristic of the two-dimensional filter (6) having the bit width of the first focus adjustment evaluation value extracted by the one-dimensional filter (10) for inputting the selected second focus adjustment evaluation value (b). By changing the setting according to
It is provided with means for making the bit width of the cumulative addition value based on the focus adjustment evaluation value (a).

【0139】上記カメラは、次のような作用効果を奏す
る。即ちビット幅が一定なので、後段の回路は必要最小
限のビット幅を有すればよいことになる。従って、回路
規模が縮小し、ローコスト化につながる。
The camera has the following operational effects. That is, since the bit width is constant, it is sufficient for the circuit in the subsequent stage to have the necessary minimum bit width. Therefore, the circuit scale is reduced, leading to cost reduction.

【0140】[0140]

【発明の効果】本発明によれば、簡素な二次元フィルタ
と一次元フィルタとを組合わせ、両フィルタの特長を巧
みに利用した構成となっているため、カメラを縦/横の
いずれの姿勢に構えても、また被写体が縦線/横線のい
ずれか一方のみで構成されていても、常に確実に評価値
を抽出して良好なオートフォーカス動作を行なえる上、
構成が簡単でコスト高を招くことのない自動焦点調節手
段を備えたカメラを提供できる。
According to the present invention, since a simple two-dimensional filter and a one-dimensional filter are combined and the features of both filters are skillfully utilized, the camera can be placed in either a vertical or horizontal orientation. Even if you hold the camera at the same position, or if the subject consists of only one of the vertical and horizontal lines, you can always reliably extract the evaluation value and perform good autofocus operation.
It is possible to provide a camera having an automatic focus adjusting means which is simple in structure and does not cause cost increase.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の第1実施形態に係るカメラの構成を示
すブロック図。
FIG. 1 is a block diagram showing the configuration of a camera according to a first embodiment of the present invention.

【図2】本発明の第1実施形態に係るカメラシーケンス
を示すフロー図。
FIG. 2 is a flowchart showing a camera sequence according to the first embodiment of the present invention.

【図3】本発明の第1実施形態に係るカメラの解像度補
正についての説明図。
FIG. 3 is an explanatory diagram of resolution correction of the camera of the first embodiment of the present invention.

【図4】本発明の第1実施形態に係るカメラの高域ノイ
ズ除去手段についての説明図。
FIG. 4 is an explanatory diagram of a high frequency noise removing unit of the camera according to the first embodiment of the present invention.

【図5】本発明の第1実施形態に係るカメラの補色モザ
イクフィルタに関する説明図。
FIG. 5 is an explanatory diagram relating to a complementary color mosaic filter of the camera of the first embodiment of the present invention.

【図6】本発明の第1実施形態に係るカメラの高域成分
と中域成分との評価値変化についての説明図。
FIG. 6 is an explanatory diagram showing changes in evaluation values of a high frequency component and a mid frequency component of the camera of the first embodiment of the present invention.

【図7】本発明の第2実施形態に係るカメラの構成を示
すブロック図。
FIG. 7 is a block diagram showing the configuration of a camera according to a second embodiment of the present invention.

【図8】本発明の第2実施形態に係るカメラの二次元フ
ィルタの第1構成例を示す図。
FIG. 8 is a diagram showing a first configuration example of a two-dimensional filter of a camera according to a second embodiment of the present invention.

【図9】本発明の第2実施形態に係るカメラの二次元フ
ィルタの第2構成例を示す図。
FIG. 9 is a diagram showing a second configuration example of the two-dimensional filter of the camera according to the second embodiment of the present invention.

【図10】本発明の第2実施形態に係るカメラの二次元
フィルタの第3構成例を示す図。
FIG. 10 is a diagram showing a third configuration example of the two-dimensional filter of the camera according to the second embodiment of the present invention.

【図11】本発明の第3実施形態に係るカメラの構成を
示すブロック図。
FIG. 11 is a block diagram showing a configuration of a camera according to a third embodiment of the present invention.

【図12】本発明の第3実施形態に係るカメラのカメラ
シーケンスを示すフロー図。
FIG. 12 is a flowchart showing a camera sequence of a camera according to a third embodiment of the present invention.

【図13】本発明の第3実施形態に係るカメラの二次元
フィルタおよび一次元フィルタの動作状態を示す図。
FIG. 13 is a diagram showing operating states of a two-dimensional filter and a one-dimensional filter of the camera of the third embodiment of the present invention.

【図14】本発明の第4実施形態に係るカメラシーケン
スを示すフロー図。
FIG. 14 is a flowchart showing a camera sequence according to a fourth embodiment of the present invention.

【図15】本発明の第5実施形態に係るカメラシーケン
スを示すフロー図。
FIG. 15 is a flowchart showing a camera sequence according to the fifth embodiment of the present invention.

【図16】本発明の第5実施形態に係る被写体の明るさ
に対する二次元フィルタの係数の関係を示す図。
FIG. 16 is a diagram showing the relationship between the brightness of a subject and the coefficient of the two-dimensional filter according to the fifth embodiment of the present invention.

【図17】本発明の第6実施形態に係る一次元フィルタ
の周波数特性を示す波形図。
FIG. 17 is a waveform diagram showing frequency characteristics of the one-dimensional filter according to the sixth embodiment of the present invention.

【図18】本発明の第6実施形態に係る細い係数を設定
可能な一次元フィルタの構成を示す図。
FIG. 18 is a diagram showing a configuration of a one-dimensional filter capable of setting a thin coefficient according to a sixth embodiment of the present invention.

【図19】本発明の第6実施形態に係る簡素化された二
次元フィルタの構成を示すブロック図。
FIG. 19 is a block diagram showing the configuration of a simplified two-dimensional filter according to a sixth embodiment of the present invention.

【図20】本発明の第7実施形態に係るカメラの主要部
の構成を示すブロック図。
FIG. 20 is a block diagram showing a configuration of a main part of a camera of a seventh embodiment of the present invention.

【図21】本発明の第7実施形態に係る二次元フィルタ
のビット幅増大の様子を示す図。
FIG. 21 is a diagram showing how the bit width of the two-dimensional filter according to the seventh embodiment of the present invention increases.

【図22】本発明の第8実施形態に係るカメラの主要部
の構成を示すブロック図。
FIG. 22 is a block diagram showing a configuration of a main part of a camera of an eighth embodiment of the present invention.

【図23】従来技術の問題点を説明するために示したカ
メラ姿勢と撮像素子の走査方向との関係を示す図。
FIG. 23 is a diagram showing a relationship between a camera posture and a scanning direction of an image sensor, which is shown for explaining a problem of the conventional technique.

【符号の説明】[Explanation of symbols]

1…絞り機構 2…焦点調節用レンズを含むレンズ系 3…電荷結合素子(CCD)からなる撮像素子 4…撮像回路 5…A/D変換器 6…二次元フィルタ 7…二値化処理器 8…プリンタ 9…切換えスイッチ(SW.P) 10…一次元フィルタ 11…切換えスイッチ(SW.Q) 12…累積加算器 13…CPU(中央演算処理装置) 14…絞り機構駆動部 15…レンズ駆動部 16…撮像素子ドライバ DESCRIPTION OF SYMBOLS 1 ... Aperture mechanism 2 ... Lens system including a lens for focus adjustment 3 ... Image sensor which consists of a charge-coupled device (CCD) 4 ... Imaging circuit 5 ... A / D converter 6 ... Two-dimensional filter 7 ... Binarization processor 8 ... Printer 9 ... Changeover switch (SW.P) 10 ... One-dimensional filter 11 ... Changeover switch (SW.Q) 12 ... Cumulative adder 13 ... CPU (Central processing unit) 14 ... Aperture mechanism drive unit 15 ... Lens drive unit 16 ... Image sensor driver

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】焦点調節用レンズを含む光学系を介した被
写体光に対応して映像信号を出力する撮像手段と、該撮
像手段より出力される映像信号に基づいて上記焦点調節
用レンズを駆動制御して自動的に焦点調節を行なうよう
にした自動焦点調節手段を備えたカメラにおいて、 上記自動焦点調節手段は、 上記撮像手段より出力された映像信号から上記焦点調節
を行なうために必要な信号成分である第1の焦点調節用
評価値を抽出するための一次元フィルタと、 上記撮像手段より出力される映像信号から上記焦点調節
を行なうために必要な信号成分である上記第1の焦点調
節用評価値とは異なる第2の焦点調節用評価値を抽出す
るための二次元フィルタとを備え、 上記一次元フィルタで抽出された上記第1の焦点調節用
評価値のみに基づく焦点調節動作が不可能であることが
検出されたとき、該第1の焦点調節用評価値と共に上記
第2の焦点調節用評価値も利用して焦点調節動作を行な
うものであることを特徴とするカメラ。
1. An image pickup means for outputting a video signal corresponding to a subject light through an optical system including a focus adjustment lens, and driving the focus adjustment lens based on the video signal output from the image pickup means. In a camera equipped with an automatic focus adjusting means for controlling the focus automatically, the automatic focus adjusting means is a signal necessary for performing the focus adjustment from a video signal output from the image pickup means. A one-dimensional filter for extracting a first focus adjustment evaluation value, which is a component, and the first focus adjustment, which is a signal component necessary for performing the focus adjustment from the image signal output from the image pickup means. A two-dimensional filter for extracting a second focus adjustment evaluation value different from the focus evaluation value, and a focus based only on the first focus adjustment evaluation value extracted by the one-dimensional filter. When it is detected that the adjustment operation is impossible, the focus adjustment operation is performed by using the second focus adjustment evaluation value together with the first focus adjustment evaluation value. camera.
【請求項2】上記自動焦点調節手段は、上記第1の焦点
調節用評価値と共に上記第2の焦点調節用評価値を利用
するにあたって、 上記二次元フィルタで抽出された第2の焦点調節用評価
値を上記一次元フィルタに入力して上記第1の焦点調節
用評価値を得ることにより、焦点調節動作を行なうもの
であることを特徴とする請求項1に記載のカメラ。
2. The automatic focus adjustment means uses the second evaluation value for focus adjustment together with the first evaluation value for focus adjustment in order to use the second focus adjustment value extracted by the two-dimensional filter. The camera according to claim 1, wherein the focus adjustment operation is performed by inputting an evaluation value to the one-dimensional filter to obtain the first focus adjustment evaluation value.
【請求項3】上記撮像手段より出力された映像信号に対
し、所定の信号処理を施すための映像処理手段を更に備
えており、 上記二次元フィルタが、上記映像処理手段に供給される
映像信号について前処理を行なう前処理フィルタを兼ね
ていることを特徴とする請求項2に記載のカメラ。
3. A video signal supplied to the video processing means, further comprising video processing means for performing a predetermined signal processing on the video signal output from the imaging means. The camera according to claim 2, which also functions as a pre-processing filter for performing pre-processing for.
JP26162095A 1995-10-09 1995-10-09 camera Expired - Fee Related JP3717561B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26162095A JP3717561B2 (en) 1995-10-09 1995-10-09 camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26162095A JP3717561B2 (en) 1995-10-09 1995-10-09 camera

Publications (2)

Publication Number Publication Date
JPH09107495A true JPH09107495A (en) 1997-04-22
JP3717561B2 JP3717561B2 (en) 2005-11-16

Family

ID=17364433

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26162095A Expired - Fee Related JP3717561B2 (en) 1995-10-09 1995-10-09 camera

Country Status (1)

Country Link
JP (1) JP3717561B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005190468A (en) * 2003-12-24 2005-07-14 Sharp Corp Method of enhancing image quality of quantized and decoded image
WO2006048981A1 (en) * 2004-11-01 2006-05-11 Niigata Seimitsu Co., Ltd. Image processor
US8520133B2 (en) 2010-12-21 2013-08-27 Samsung Electronics Co., Ltd Imaging apparatus and method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005190468A (en) * 2003-12-24 2005-07-14 Sharp Corp Method of enhancing image quality of quantized and decoded image
JP4544974B2 (en) * 2003-12-24 2010-09-15 シャープ株式会社 How to enhance the quality of quantized and decoded images
WO2006048981A1 (en) * 2004-11-01 2006-05-11 Niigata Seimitsu Co., Ltd. Image processor
US8520133B2 (en) 2010-12-21 2013-08-27 Samsung Electronics Co., Ltd Imaging apparatus and method

Also Published As

Publication number Publication date
JP3717561B2 (en) 2005-11-16

Similar Documents

Publication Publication Date Title
US9898807B2 (en) Image processing device, imaging device, image processing method, and program
JP4186699B2 (en) Imaging apparatus and image processing apparatus
US7176962B2 (en) Digital camera and digital processing system for correcting motion blur using spatial frequency
US9633417B2 (en) Image processing device and image capture device performing restoration processing using a restoration filter based on a point spread function
EP2193656B1 (en) Multi-exposure pattern for enhancing dynamic range of images
US6812969B2 (en) Digital camera
US9710895B2 (en) Image processing device, image capture device, image processing method, and program
US9432643B2 (en) Image processing device, image capture device, image processing method, and non-transitory computer-readable medium
US9699427B2 (en) Imaging device, imaging method, and image processing device
US9906732B2 (en) Image processing device, image capture device, image processing method, and program
US9881362B2 (en) Image processing device, image-capturing device, image processing method, and program
US9799105B2 (en) Image processing device, imaging device, image processing method, and program for restoration processing based on a point spread function and a frame after a frame to be processed
JP2006245999A (en) Imaging apparatus and program
JP2007060572A (en) Imaging apparatus and method
JP2004172820A (en) Imaging device
JP5105139B2 (en) Imaging apparatus, display method, and program
TWI274258B (en) Image processing system
JP2005079856A (en) Image processing unit and picture processing program
CN106412391B (en) Image processing apparatus, image processing method, and image capturing apparatus
JP2007013270A (en) Imaging apparatus
JP3717561B2 (en) camera
JP2012134745A (en) Image signal processing device
JP3947912B2 (en) Image signal processing device
JP3682021B2 (en) Soft focus processing device, imaging device, and portable terminal
JP2007180689A (en) Image pickup device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050307

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050315

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050502

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: 20050823

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050831

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080909

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090909

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090909

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100909

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110909

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120909

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130909

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees