[go: up one dir, main page]

JPH099050A - Picture processor - Google Patents

Picture processor

Info

Publication number
JPH099050A
JPH099050A JP7152026A JP15202695A JPH099050A JP H099050 A JPH099050 A JP H099050A JP 7152026 A JP7152026 A JP 7152026A JP 15202695 A JP15202695 A JP 15202695A JP H099050 A JPH099050 A JP H099050A
Authority
JP
Japan
Prior art keywords
image
image processing
processing apparatus
change amount
determination
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7152026A
Other languages
Japanese (ja)
Inventor
Masaru Kawase
大 川瀬
Hideyuki Kobayashi
秀幸 小林
Atsushi Kobashi
厚志 小橋
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 JP7152026A priority Critical patent/JPH099050A/en
Publication of JPH099050A publication Critical patent/JPH099050A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PURPOSE: To precisely judge a picture type by deciding the picture type of a judgement area which is set from first judgement feature quantity of a judgement area which is set from first judgement feature feature quantity by means of a second calculation means. CONSTITUTION: A synchronizing signal is inputting to a counter reset circuit 160 from SSG11, and the judgement area is set in a prescribed area in a screen. A change quantity detection circuit 110 obtains the change quantity S1 and the average value S2 of picture element data in a change quantity detection area from input picture data S0. In a picture judgement circuit 15, counter circuits 121b and 122b execute a count operation and output count values N1 and N2 based on the frequency information of the change quantity S1 when the judgement outputs S4 and S5 of judgement circuits 121a and 122a are H and S7 is H. In the circuit 15, the edge part of the picture in the change quantity detection area is detected and frequency information of picture element data constituting an edge is obtained as the number N3 of the area whose average value S2 is larger than a threshold S3. CPU14 judges the picture type by using the count values N1, N2 and N3.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、画像処理装置、詳しく
は、入力乃至生成された画像データが如何なる種類の画
像に属するものであるかを判定する画像処理装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus, and more particularly to an image processing apparatus for determining what kind of image the input or generated image data belongs to.

【0002】[0002]

【従来の技術】一般に、画像は、大別すると、 1.文書画像、線画等のコントラストの高い画像 2.自然画等の階調を有する画像 とに種別することができる。2. Description of the Related Art Generally, images are roughly classified into the following: Images with high contrast such as document images and line drawings. It can be classified into an image having gradation such as a natural image.

【0003】このような画像に2値化、圧縮等の処理を
施す場合、その画像の種別毎に、即ち、その画像種毎に
適する処理方法が異なる。したがって、予めこの画像種
を判定する必要がある。
When such an image is subjected to processing such as binarization and compression, a processing method suitable for each image type, that is, for each image type. Therefore, it is necessary to determine this image type in advance.

【0004】そして、従来、このような画像の種別を判
定する方法は、画素データの空間的な変化量に着目して
行っていた。
Conventionally, such a method for determining the type of image has been performed by paying attention to the spatial variation of pixel data.

【0005】以下、従来の判定例を図26,図27を参
照して説明する。
A conventional determination example will be described below with reference to FIGS. 26 and 27.

【0006】図26,図27は、画素データの変化量の
頻度を示した線図であり、横軸は画素データの変化量で
あり、図中、右方向に行くほど変化量が大きいことを示
している。また、縦軸は、その頻度を示している。
FIG. 26 and FIG. 27 are diagrams showing the frequency of the amount of change in pixel data. The horizontal axis represents the amount of change in pixel data, and the amount of change increases toward the right in the figures. Shows. The vertical axis shows the frequency.

【0007】例えば、文書画像においては、図26に示
すように画素データの変化量が大きい画素が多いという
傾向がある。これに対して、図27に示すように自然画
においては画素データの変化量としては大小様々な値を
とるという傾向がある。
For example, in a document image, as shown in FIG. 26, there is a tendency that there are many pixels with a large amount of change in pixel data. On the other hand, as shown in FIG. 27, in a natural image, the amount of change in pixel data tends to take various values.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、上記従
来の判定方法においては、画像によっては誤判定する虞
があった。以下、この誤判定の虞のある画像例を示す。
However, in the above-described conventional determination method, there is a risk of making an erroneous determination depending on the image. An example of an image that may cause this erroneous determination will be shown below.

【0009】1.コントラストの小さい文書画像 たとえば、色のついた下地に文字が書かれている文書画
像や逆に色文字の文書画像等である。このような画像
は、文書画像であるにも拘らず、画素データの変化量が
大きい画素は少ない。
1. Document image with low contrast For example, a document image in which characters are written on a colored background, or conversely, a document image with colored characters. Although such an image is a document image, there are few pixels in which the amount of change in pixel data is large.

【0010】2.コントラストの大きい絵柄画像 たとえば、ポスターやアニメ画像等がある。このような
画像は、自然画であるにも拘らず、画素データの変化量
が小さい画素は少ない。
[0010] 2. High-contrast picture images For example, posters and animated images are available. Although such an image is a natural image, few pixels have a small amount of change in pixel data.

【0011】したがって、上述したような画像は、従来
の方法で判定すると誤判定をする虞があり、その結果、
例えば2値化処理、圧縮処理等の処理方法を間違えると
いう問題点があった。
Therefore, the above-mentioned image may be erroneously judged when judged by the conventional method. As a result,
For example, there is a problem that the processing method such as the binarization processing and the compression processing is wrong.

【0012】本発明はかかる問題点に鑑みてなされたも
のであり、正確に上記したような画像の種別、即ち画像
種を判定できる画像処理装置を提供することを目的とす
る。
The present invention has been made in view of the above problems, and an object of the present invention is to provide an image processing apparatus capable of accurately determining the type of image as described above, that is, the image type.

【0013】[0013]

【課題を解決するための手段】上記の目的を達成するた
めに本発明による第1の画像処理装置は、画像の種別を
判定するための判定領域を当該画面内の所定領域に設定
する判定領域設定手段と、前記画面内に設定された、画
素データの変化量を検出する対象とする変化量検出領域
を前記判定領域上の該当部に被せるような状態で移動さ
せながら該変化量検出領域の画素データの変化量を逐次
求める変化量検出手段と、この変化量検出手段で検出さ
れた各変化量に対する、前記判定領域内での度数情報に
基づいて第1の判定特徴量を求める第1の演算手段と、
前記変化量検出領域における画像のエッジ部を検出する
エッジ部検出手段と、このエッジ部検出手段で検出され
たエッジ部を構成する画素群の画素データに対する前記
判定領域内での度数情報に基づいて第2の判定特徴量を
求める第2の演算手段と、前記第1の演算手段による第
1の判定特徴量と、前記第2の演算手段による第2の判
定特徴量とから、少なくとも当該設定された判定領域の
画像の種別を決定する画像種別決定手段とを具備する。
In order to achieve the above object, the first image processing apparatus according to the present invention has a determination area for setting a determination area for determining the type of an image in a predetermined area on the screen. Setting means and the change amount detection area set in the screen while moving the change amount detection area to detect the change amount of the pixel data so as to cover the corresponding portion on the determination area. A change amount detection unit that sequentially obtains a change amount of pixel data, and a first determination feature amount that is obtained based on frequency information within the determination region for each change amount detected by the change amount detection unit. Computing means,
Based on the edge portion detection means for detecting the edge portion of the image in the change amount detection area, and the frequency information in the determination area for the pixel data of the pixel group forming the edge portion detected by the edge portion detection means. At least the setting is made from the second calculation means for obtaining the second judgment feature quantity, the first judgment feature quantity by the first calculation means, and the second judgment feature quantity by the second calculation means. And an image type determining means for determining the type of image in the determination area.

【0014】上記の目的を達成するために本発明による
第2の画像処理装置は、上記第1の画像処理装置におい
て、自然画のデータを圧縮するのに適した第1のデータ
圧縮手段と、文字画のデータを圧縮するのに適した第2
のデータ圧縮手段とを更に含み、前記画像種別決定手段
の出力に応じて前記第1または第2のデータ圧縮手段を
適応的に選択して、少なくとも当該設定された判定領域
のデータ圧縮処理を行なう手段を備える。
In order to achieve the above object, a second image processing apparatus according to the present invention is the first image processing apparatus, wherein the first image processing apparatus is suitable for compressing natural image data. The second suitable for compressing character image data
Data compression means, and adaptively selects the first or second data compression means in accordance with the output of the image type determination means, and performs data compression processing of at least the set determination area. Means are provided.

【0015】上記の目的を達成するために本発明による
第3の画像処理装置は、上記第2の画像処理装置におい
て、上記第1のデータ圧縮手段および/または第2のデ
ータ圧縮手段は、画像の2値化処理を行なうものである
ことを特徴とする。
To achieve the above object, a third image processing apparatus according to the present invention is the second image processing apparatus, wherein the first data compression means and / or the second data compression means is an image processing apparatus. It is characterized in that the binarization process of is performed.

【0016】上記の目的を達成するために本発明による
第4の画像処理装置は、上記第1の画像処理装置におい
て、上記変化量検出手段は、変化量検出領域を、前記判
定領域の大きさに拘わらず当該画面内に包含されるよう
設定するようになされたものであることを特徴とする。
In order to achieve the above object, a fourth image processing apparatus according to the present invention is the same as the first image processing apparatus, wherein the change amount detecting means has a change amount detection area and a size of the determination area. However, it is characterized in that it is set so as to be included in the screen regardless of the above.

【0017】上記の目的を達成するために本発明による
第5の画像処理装置は、上記第1の画像処理装置におい
て、上記判定領域設定手段は、判定領域を可変設定する
ものであることを特徴とする。
To achieve the above object, a fifth image processing apparatus according to the present invention is characterized in that, in the first image processing apparatus, the judgment area setting means variably sets the judgment area. And

【0018】上記の目的を達成するために本発明による
第6の画像処理装置は、上記第1の画像処理装置におい
て、上記判定領域設定手段は、判定領域を複数設定する
ことが可能になされたものであることを特徴とする。
To achieve the above object, a sixth image processing apparatus according to the present invention is the first image processing apparatus according to the first image processing apparatus, wherein the determination area setting means can set a plurality of determination areas. It is characterized by being a thing.

【0019】上記の目的を達成するために本発明による
第7の画像処理装置は、上記第6の画像処理装置におい
て、上記複数設定された判定領域に対応して上記第1お
よび第2の判定特徴量の演算を行なうための度数情報に
重みづけを行う手段を更に備えてなることを特徴とす
る。
To achieve the above object, a seventh image processing apparatus according to the present invention is the sixth image processing apparatus, wherein in the sixth image processing apparatus, the first and second determinations are made in correspondence with the plurality of determination areas set. It is characterized in that it further comprises means for weighting the frequency information for calculating the characteristic amount.

【0020】上記の目的を達成するために本発明による
第8の画像処理装置は、上記第1の画像処理装置におい
て、上記変化量検出手段は、当該変化量検出領域の変化
量を、当該変化量検出領域内の平均画素データで正規化
する手段を備えてなるものであることを特徴とする。
To achieve the above object, an eighth image processing apparatus according to the present invention is the same as the first image processing apparatus, wherein the change amount detecting means changes the change amount of the change amount detection area by the change amount. It is characterized by comprising means for normalizing with average pixel data in the quantity detection region.

【0021】上記の目的を達成するために本発明による
第9の画像処理装置は、上記第1の画像処理装置におい
て、上記変化量検出手段は、当該変化量検出領域をm×
n(m,nは任意の自然数)画素の矩形の領域とし、当
該変化量検出領域の少なくとも角の部分の画素データを
用いて画素データの変化量を検出するようになされたも
のであることを特徴とする。
To achieve the above object, a ninth image processing apparatus according to the present invention is the first image processing apparatus according to the first image processing apparatus, wherein the change amount detecting means has m ×
A rectangular area of n (m, n is an arbitrary natural number) pixels is used, and the change amount of the pixel data is detected using the pixel data of at least a corner portion of the change amount detection area. Characterize.

【0022】上記の目的を達成するために本発明による
第10の画像処理装置は、上記第1の画像処理装置にお
いて、上記第1の演算手段は、上記変化量検出手段によ
り求められた画素データの変化量を異なる2つの条件に
より判定し、各条件毎にそれを満たす画素データの属す
る変化量検出領域の数をカウントし、それぞれのカウン
ト値の比を第1の判定特徴量とするようになされたもの
であることを特徴とする。
To achieve the above object, a tenth image processing apparatus according to the present invention is the first image processing apparatus, wherein the first arithmetic means is the pixel data obtained by the change amount detecting means. Change amount is determined by two different conditions, the number of change amount detection regions to which pixel data satisfying the condition is counted for each condition, and the ratio of each count value is set as the first determination feature amount. It is characterized by being made.

【0023】上記の目的を達成するために本発明による
第11の画像処理装置は、上記第10の画像処理装置に
おいて、上記第1の演算手段は、上記変化量検出手段に
より求められた画素データの変化量が所定の値に満たな
い画素データの属する変化量検出領域の数をカウント値
から除外するようになされたものであることを特徴とす
る。
To achieve the above object, an eleventh image processing device according to the present invention is the tenth image processing device, wherein the first computing means is the pixel data obtained by the change amount detecting means. It is characterized in that the number of change amount detection areas to which the pixel data whose change amount is less than a predetermined value belongs is excluded from the count value.

【0024】上記の目的を達成するために本発明による
第12の画像処理装置は、上記第10の画像処理装置に
おいて、上記エッジ部検出手段は、上記変化量検出手段
により求められた画素データの変化量を判定する異なる
2つの条件のいずれか一方の条件によりエッジ部を検出
するようになされたものであることを特徴とする。
To achieve the above object, a twelfth image processing device according to the present invention is the same as the tenth image processing device, wherein the edge portion detecting means is the pixel data obtained by the change amount detecting means. It is characterized in that the edge portion is detected under either one of two different conditions for judging the amount of change.

【0025】上記の目的を達成するために本発明による
第13の画像処理装置は、上記第1の画像処理装置にお
いて、上記第2の演算手段は、変化量検出領域内の平均
画素データが所定の値より大なるまたは小なる変化量検
出領域の数と、エッジ部を含む変化量検出領域の数との
比を第2の判定特徴量とするようになされたものである
ことを特徴とする。
To achieve the above object, a thirteenth image processing apparatus according to the present invention is the first image processing apparatus according to the first image processing apparatus, wherein the second computing means has a predetermined average pixel data within a change amount detection area. It is characterized in that the ratio of the number of change amount detection areas larger or smaller than the value of and the number of change amount detection areas including the edge portion is set as the second determination feature amount. .

【0026】上記の目的を達成するために本発明による
第14の画像処理装置は、上記第1の画像処理装置にお
いて、少なくとも当該設定された判定領域の画像データ
を生成する手段を含み、画像の種別の決定に先立って合
焦動作または露出制御動作を行うための手段を備えてな
ることを特徴とする。
In order to achieve the above-mentioned object, a fourteenth image processing apparatus according to the present invention is the first image processing apparatus described above, which includes at least means for generating image data of the set judgment area, It is characterized by comprising means for performing a focusing operation or an exposure control operation prior to the determination of the type.

【0027】上記の目的を達成するために本発明による
第15の画像処理装置は、上記第1の画像処理装置にお
いて、少なくとも当該設定された判定領域の画像データ
を生成する手段を含み、露出条件に応じて上記第1およ
び第2の判定特徴量を求める条件を可変するための手段
を備えたことを特徴とする。
To achieve the above object, a fifteenth image processing apparatus according to the present invention is the same as the first image processing apparatus, but includes at least means for generating image data of the set judgment area, and the exposure condition is satisfied. It is characterized in that means is provided for varying the conditions for obtaining the first and second determination feature quantities according to the above.

【0028】上記の目的を達成するために本発明による
第16の画像処理装置は、上記第1の画像処理装置にお
いて、少なくとも当該設定された判定領域の画像データ
を生成する手段を含み、遮光状態にある画素のデータを
得て、このデータを考慮して画像の種別を判定するため
の手段を備えたことを特徴とする。
In order to achieve the above-mentioned object, a sixteenth image processing apparatus according to the present invention is the first image processing apparatus of the above-mentioned first image processing apparatus, which includes at least a means for generating image data of the set judgment area. Is provided, and means for determining the type of the image by taking the data into consideration is provided.

【0029】上記の目的を達成するために本発明による
第17の画像処理装置は、上記第16の画像処理装置に
おいて、上記画像の種別を判定するための手段は、遮光
状態にある画素のデータを取得するについて、Nフィー
ルド(Nは任意の自然数)の期間の微分変化量を検出し
てこのNフィールド期間における最大微分変化量レベル
を取得するようにして行い、画像の種別の判定時に利用
するように構成されたものであることを特徴とする。
To achieve the above object, a seventeenth image processing apparatus according to the present invention is the image processing apparatus according to the sixteenth image processing apparatus, wherein the means for determining the type of the image is data of a pixel in a light shielding state. Is obtained by detecting the differential change amount in the period of N fields (N is an arbitrary natural number) and obtaining the maximum differential change amount level in this N field period, which is used when determining the image type. It is characterized in that it is configured as follows.

【0030】上記の目的を達成するために本発明による
第18の画像処理装置は、上記第16の画像処理装置に
おいて、上記画像データを生成する手段は増幅型撮像素
子で構成されており、該増幅型撮像素子を用いたことに
より発生する固定パターンノイズを取り除いた後の画像
を画像の種別の判定に供せしめるための手段を備えたこ
とを特徴とする。
To achieve the above object, an eighteenth image processing device according to the present invention is the sixteenth image processing device, wherein the means for generating the image data is composed of an amplification type image pickup device. It is characterized in that it is provided with means for allowing the image after removing the fixed pattern noise generated by using the amplification type image pickup element to be used for the determination of the type of the image.

【0031】上記の目的を達成するために本発明による
第19の画像処理装置は、上記第16の画像処理装置に
おいて、上記画像データを生成する手段は増幅型撮像素
子で構成されており、各々の画素に対応する固定パター
ンノイズの微分変化量を画像の種別の判定に供せしめる
ための手段を備えたことを特徴とする。
To achieve the above object, a nineteenth image processing device according to the present invention is the sixteenth image processing device, wherein the means for generating the image data is composed of an amplification type image pickup device. It is characterized in that a means is provided for making the differential change amount of the fixed pattern noise corresponding to the pixel of (3) available for the determination of the type of the image.

【0032】上記の目的を達成するために本発明による
第20の画像処理装置は、光学系より取り込まれた画像
の種別を判定するための画像処理装置において、光学的
に遮光状態にあるときの画像信号成分を得る遮光状態信
号成分取得手段を備え、該遮光状態信号成分取得手段か
らの信号成分を考慮して画像の種別を判定する手段を備
えることを特徴とする。
In order to achieve the above-mentioned object, a twentieth image processing apparatus according to the present invention is an image processing apparatus for determining the type of an image taken in from an optical system, when the image is optically shielded. It is characterized in that it comprises a light-shielding state signal component obtaining means for obtaining an image signal component, and means for determining the type of image in consideration of the signal component from the light-shielding state signal component obtaining means.

【0033】上記の目的を達成するために本発明による
第21の画像処理装置は、上記第20の画像処理装置に
おいて、上記遮光状態信号成分取得手段は、nフィール
ドの期間の微分変化量検出手段を備え、このnフィール
ド期間における最大微分変化量を取得し、画像の種別の
判定時に利用するようになされたものであることを特徴
とする。
To achieve the above object, a twenty-first image processing apparatus according to the present invention is the twentieth image processing apparatus, wherein the light-shielding state signal component acquisition means is a differential change amount detection means for a period of n fields. It is characterized in that the maximum differential change amount in the n-field period is acquired and is used when determining the image type.

【0034】上記の目的を達成するために本発明による
第22の画像処理装置は、上記第20の画像処理装置に
おいて、上記光学系は増幅型固体撮像素子を備え、該増
幅型固体撮像素子を用いたことにより発生する固定パタ
ーンノイズを取り除いた後の画像に対し、画像の種別の
判定を行う手段と備えたことを特徴とする。
To achieve the above object, a twenty-second image processing apparatus according to the present invention is the image processing apparatus according to the twentieth aspect, wherein the optical system includes an amplification type solid-state image pickup element, and the amplification type solid-state image pickup element is provided. It is characterized in that it is provided with a means for judging the type of the image after removing the fixed pattern noise generated by the use.

【0035】上記の目的を達成するために本発明による
第23の画像処理装置は、上記第20の画像処理装置に
おいて、上記光学系は増幅型固体撮像素子を備え、上記
固定パターンノイズより各々の画素に対応する固定パタ
ーンノイズエッジを、画像の種別の判定時に利用するよ
うに構成されたことを特徴とする。
To achieve the above object, a twenty-third image processing apparatus according to the present invention is the twentieth image processing apparatus, wherein the optical system includes an amplification type solid-state image pickup device, and each of the fixed pattern noises is different from each other. It is characterized in that a fixed pattern noise edge corresponding to a pixel is used when determining the type of an image.

【0036】[0036]

【作用】本発明による第1の画像処理装置は、判定領域
設定手段で画像の種別を判定するための判定領域を当該
画面内の所定領域に設定する。また、変化量検出手段で
前記画面内に設定された、画素データの変化量を検出す
る対象とする変化量検出領域を前記判定領域上の該当部
に被せるような状態で移動させながら該変化量検出領域
の画素データの変化量を逐次求める。そして、この変化
量検出手段で検出された各変化量に対する、前記判定領
域内での度数情報に基づいて第1の演算手段で第1の判
定特徴量を求める。さらに、エッジ部検出手段で前記変
化量検出領域における画像のエッジ部を検出し、このエ
ッジ部検出手段で検出されたエッジ部を構成する画素群
の画素データに対する前記判定領域内での度数情報に基
づいて第2の演算手段で第2の判定特徴量を求める。そ
して、画像種別決定手段で前記第1の演算手段による第
1の判定特徴量と、前記第2の演算手段による第2の判
定特徴量とから、少なくとも当該設定された判定領域の
画像の種別を決定する。
In the first image processing apparatus according to the present invention, the judgment area setting means sets a judgment area for judging the image type in a predetermined area in the screen. Further, the change amount is detected by moving the change amount detection area, which is set in the screen by the change amount detecting means and is a target for detecting the change amount of the pixel data, so as to cover the corresponding portion on the determination area. The amount of change in pixel data in the detection area is sequentially obtained. Then, the first determination feature amount is obtained by the first calculation device based on the frequency information in the determination region for each change amount detected by the change amount detection device. Further, the edge portion detection means detects the edge portion of the image in the change amount detection area, and the frequency information in the determination area for the pixel data of the pixel group forming the edge portion detected by the edge portion detection means is used. Based on this, the second determination feature amount is obtained by the second calculation means. Then, the image type determining unit determines at least the image type of the set determination region from the first determination feature amount by the first computing unit and the second determination feature amount by the second computing unit. decide.

【0037】本発明による第2の画像処理装置は、上記
第1の画像処理装置において、前記画像種別決定手段の
出力に応じて前記第1または第2のデータ圧縮手段を適
応的に選択して、少なくとも当該設定された判定領域の
データ圧縮処理を行なう。
According to a second image processing apparatus of the present invention, in the first image processing apparatus, the first or second data compression means is adaptively selected according to the output of the image type determination means. , At least the data compression processing of the set determination area is performed.

【0038】本発明による第3の画像処理装置は、上記
第2の画像処理装置において、上記第1のデータ圧縮手
段および/または第2のデータ圧縮手段は、画像の2値
化処理を行なう。
A third image processing apparatus according to the present invention is the same as the second image processing apparatus, wherein the first data compression means and / or the second data compression means performs image binarization processing.

【0039】本発明による第4の画像処理装置は、上記
第1の画像処理装置において、上記変化量検出手段は、
変化量検出領域を、前記判定領域の大きさに拘わらず当
該画面内に包含されるよう設定する。
According to a fourth image processing apparatus of the present invention, in the first image processing apparatus, the change amount detecting means is
The change amount detection area is set to be included in the screen regardless of the size of the determination area.

【0040】本発明による第5の画像処理装置は、上記
第1の画像処理装置において、上記判定領域設定手段
は、判定領域を可変設定する。
According to a fifth image processing apparatus of the present invention, in the first image processing apparatus, the judgment area setting means variably sets the judgment area.

【0041】本発明による第6の画像処理装置は、上記
第1の画像処理装置において、上記判定領域設定手段
は、判定領域を複数設定することが可能になされてい
る。
According to a sixth image processing apparatus of the present invention, in the first image processing apparatus, the judgment area setting means can set a plurality of judgment areas.

【0042】本発明による第7の画像処理装置は、上記
第6の画像処理装置において、上記複数設定された判定
領域に対応して上記第1および第2の判定特徴量の演算
を行なうための度数情報に重みづけを行う。
A seventh image processing apparatus according to the present invention is, in the sixth image processing apparatus, for calculating the first and second determination feature amounts corresponding to the plurality of determination areas set. The frequency information is weighted.

【0043】本発明による第8の画像処理装置は、上記
第1の画像処理装置において、上記変化量検出手段は、
当該変化量検出領域の変化量を、当該変化量検出領域内
の平均画素データで正規化する。
An eighth image processing apparatus according to the present invention is the same as the first image processing apparatus, wherein the change amount detecting means is
The change amount of the change amount detection area is normalized by the average pixel data in the change amount detection area.

【0044】本発明による第9の画像処理装置は、上記
第1の画像処理装置において、上記変化量検出手段は、
当該変化量検出領域をm×n(m,nは任意の自然数)
画素の矩形の領域とし、当該変化量検出領域の少なくと
も角の部分の画素データを用いて画素データの変化量を
検出する。
According to a ninth image processing apparatus of the present invention, in the first image processing apparatus, the change amount detecting means is
The change amount detection area is m × n (m and n are arbitrary natural numbers)
The amount of change in pixel data is detected using the pixel data in at least the corners of the change amount detection region as a rectangular region of pixels.

【0045】本発明による第10の画像処理装置は、上
記第1の画像処理装置において、上記第1の演算手段
は、上記変化量検出手段により求められた画素データの
変化量を異なる2つの条件により判定し、各条件毎にそ
れを満たす画素データの属する変化量検出領域の数をカ
ウントし、それぞれのカウント値の比を第1の判定特徴
量とする。
A tenth image processing apparatus according to the present invention is the first image processing apparatus according to the first image processing apparatus, wherein the first computing means has two conditions that differ in the variation amount of the pixel data obtained by the variation amount detecting means. The number of change amount detection regions to which the pixel data satisfying the condition belongs is counted for each condition, and the ratio of each count value is set as the first determination feature amount.

【0046】本発明による第11の画像処理装置は、上
記第10の画像処理装置において、上記第1の演算手段
は、上記変化量検出手段により求められた画素データの
変化量が所定の値に満たない画素データの属する変化量
検出領域の数をカウント値から除外するようになされて
いる。
An eleventh image processing apparatus according to the present invention is the tenth image processing apparatus, wherein the first computing means sets the variation amount of the pixel data obtained by the variation amount detecting means to a predetermined value. The number of change amount detection regions to which the pixel data that does not belong is excluded from the count value.

【0047】本発明による第12の画像処理装置は、上
記第10の画像処理装置において、上記エッジ部検出手
段は、上記変化量検出手段により求められた画素データ
の変化量を判定する異なる2つの条件のいずれか一方の
条件によりエッジ部を検出するようになされている。
A twelfth image processing device according to the present invention is the same as the tenth image processing device, wherein the edge portion detecting means determines two different amounts of pixel data obtained by the change amount detecting means. The edge portion is detected according to either one of the conditions.

【0048】本発明による第13の画像処理装置は、上
記第1の画像処理装置において、上記第2の演算手段
は、変化量検出領域内の平均画素データが所定の値より
大なるまたは小なる変化量検出領域の数と、エッジ部を
含む変化量検出領域の数との比を第2の判定特徴量とす
るようになされている。
A thirteenth image processing apparatus according to the present invention is the first image processing apparatus according to the first image processing apparatus, wherein the second arithmetic means has average pixel data within a change amount detection area larger or smaller than a predetermined value. The ratio of the number of change amount detection areas and the number of change amount detection areas including the edge portion is set as the second determination feature amount.

【0049】本発明による第14の画像処理装置は、上
記第1の画像処理装置において、少なくとも当該設定さ
れた判定領域の画像データを生成する手段を含み、画像
の種別の決定に先立って合焦動作または露出制御動作を
行う。
A fourteenth image processing apparatus according to the present invention is the same as the first image processing apparatus described above, including at least means for generating image data of the set judgment area, and focusing prior to the determination of the image type. Take action or exposure control action.

【0050】本発明による第15の画像処理装置は、上
記第1の画像処理装置において、少なくとも当該設定さ
れた判定領域の画像データを生成する手段を含み、露出
条件に応じて上記第1および第2の判定特徴量を求める
条件を可変する。
A fifteenth image processing apparatus according to the present invention is the first image processing apparatus of the first aspect, further including at least means for generating image data of the set judgment area, and the first and first image processing apparatuses according to exposure conditions. The condition for obtaining the determination feature amount of 2 is changed.

【0051】本発明による第16の画像処理装置は、上
記第1の画像処理装置において、少なくとも当該設定さ
れた判定領域の画像データを生成する手段を含み、遮光
状態にある画素のデータを得て、このデータを考慮して
画像の種別を判定する。
A sixteenth image processing apparatus according to the present invention is the same as the first image processing apparatus, but includes at least means for generating image data of the set judgment area, and obtains data of pixels in a light-shielded state. The image type is determined in consideration of this data.

【0052】本発明による第17の画像処理装置は、上
記第16の画像処理装置において、上記画像の種別を判
定するための手段は、遮光状態にある画素のデータを取
得するについて、Nフィールド(Nは任意の自然数)の
期間の微分変化量を検出してこのNフィールド期間にお
ける最大微分変化量レベルを取得するようにして行い、
画像の種別の判定時に利用する。
In a seventeenth image processing apparatus according to the present invention, in the sixteenth image processing apparatus, the means for determining the type of the image is N fields (for obtaining data of pixels in a light-shielded state). N is an arbitrary natural number) The differential change amount in the period is detected to obtain the maximum differential change amount level in this N field period,
Used when determining the image type.

【0053】本発明による第18の画像処理装置は、上
記第16の画像処理装置において、増幅型撮像素子を用
いたことにより発生する固定パターンノイズを取り除い
た後の画像を画像の種別の判定に供せしめる。
An eighteenth image processing apparatus according to the present invention is the same as the sixteenth image processing apparatus, wherein the image after removing the fixed pattern noise generated by using the amplification type image pickup device is used for determining the image type. Offer.

【0054】本発明による第19の画像処理装置は、上
記第16の画像処理装置において、各々の画素に対応す
る固定パターンノイズの微分変化量を画像の種別の判定
に供せしめる。
The nineteenth image processing apparatus according to the present invention is, in the sixteenth image processing apparatus, provided with the differential change amount of the fixed pattern noise corresponding to each pixel for determining the image type.

【0055】本発明による第20の画像処理装置は、遮
光状態信号成分取得手段で光学的に遮光状態にあるとき
の画像信号成分を得、該遮光状態信号成分取得手段から
の信号成分を考慮して画像の種別を判定する。
In the twentieth image processing apparatus according to the present invention, the light-shielded state signal component acquisition means obtains an image signal component in an optically light-shielded state, and the signal component from the light-shielded state signal component acquisition means is considered. Determine the type of image.

【0056】本発明による第21の画像処理装置は、上
記第20の画像処理装置において、上記遮光状態信号成
分取得手段は、nフィールドの期間の微分変化量検出手
段を備え、このnフィールド期間における最大微分変化
量を取得し、画像の種別の判定時に利用する。
A twenty-first image processing apparatus according to the present invention is the twentieth image processing apparatus, wherein the light-shielding state signal component acquiring means includes a differential change amount detecting means for an n-field period, and in the n-field period. The maximum differential change amount is acquired and used when determining the image type.

【0057】本発明による第22の画像処理装置は、上
記第20の画像処理装置において、該増幅型固体撮像素
子を用いたことにより発生する固定パターンノイズを取
り除いた後の画像に対し、画像の種別の判定を行う。
A twenty-second image processing apparatus according to the present invention is the image processing apparatus according to the twentieth image processing apparatus, wherein the fixed pattern noise generated by using the amplification type solid-state imaging device is removed from the image. Determine the type.

【0058】本発明による第23の画像処理装置は、上
記第20の画像処理装置において、上記固定パターンノ
イズより各々の画素に対応する固定パターンノイズエッ
ジを、画像の種別の判定時に利用する。
The twenty-third image processing apparatus according to the present invention uses the fixed pattern noise edge corresponding to each pixel from the above fixed pattern noise in the above twentieth image processing apparatus when determining the type of the image.

【0059】[0059]

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

【0060】まず、請求項1ないし請求項3および、請
求項8ないし請求項15に対応する実施例を説明する。
First, an embodiment corresponding to claims 1 to 3 and claims 8 to 15 will be described.

【0061】図1は、本発明の第1実施例である画像処
理装置の概略構成を示したブロック図である。
FIG. 1 is a block diagram showing the schematic arrangement of an image processing apparatus according to the first embodiment of the present invention.

【0062】この画像処理装置は、光学レンズおよび絞
りを有する撮影光学系1を具備している。該撮影光学系
1に対しては後述するCPU14から各種の制御信号が
入力され制御されるようになっている。また、上記撮影
光学系1の後方には機械的な遮光手段としてのシャッタ
1aおよびCCD2等の撮像素子からなる撮像部が配設
されている。そして、上記光学レンズ,絞り,シャッタ
1aを用いてCCD2等の撮像素子に被写体像が結像さ
れるようになっている。以下、上述した以外の本実施例
の画像処理装置の構成を信号の流れに沿って説明する。
This image processing apparatus comprises a photographing optical system 1 having an optical lens and a diaphragm. Various control signals are input to the photographing optical system 1 from a CPU 14 described later and controlled. Further, behind the photographing optical system 1, an image pickup section including a shutter 1a as a mechanical light shielding means and an image pickup element such as a CCD 2 is provided. Then, a subject image is formed on the image pickup device such as the CCD 2 using the optical lens, the diaphragm, and the shutter 1a. The configuration of the image processing apparatus according to the present embodiment other than that described above will be described below along the flow of signals.

【0063】上記CCD2により光電変換された被写体
に基づく画像信号はプロセス回路3に入力され、該プロ
セス回路3で該画像信号に種々の処理が施される。一
方、該CCD2にはタイミングジェネレータ10(図
中、TGと示す)から該CCD2の駆動を制御する信号
が与えられている。さらに、上記タイミングジェネレー
タ10からプロセス回路3に対しては、CDS(2重相
関サンプリング)やクランプ処理を行なうためのタイミ
ングパルスが入力されている。
The image signal based on the subject photoelectrically converted by the CCD 2 is input to the process circuit 3, and the process circuit 3 performs various processes on the image signal. On the other hand, a signal for controlling the driving of the CCD 2 is given to the CCD 2 from a timing generator 10 (shown as TG in the figure). Further, a timing pulse for performing CDS (Double Correlation Sampling) or clamp processing is input from the timing generator 10 to the process circuit 3.

【0064】また、上記タイミングジェネレータ10に
はCPU14から電子的なシャッタ速度を規定する制御
信号が送出されている。
Further, a control signal for defining an electronic shutter speed is sent from the CPU 14 to the timing generator 10.

【0065】上記プロセス回路3で処理された画像信号
はA/Dコンバータ4(図中、A/DCと示す)に入力
され、該A/Dコンバータ4でアナログ信号がデジタル
の多階調の画像データ信号S0 に変換される。
The image signal processed by the process circuit 3 is input to the A / D converter 4 (indicated as A / DC in the figure), and the A / D converter 4 converts the analog signal into a digital multi-gradation image. It is converted into a data signal S0.

【0066】上記A/Dコンバータ4から出力された上
記画像データ信号S0 は、メインメモリ5に入力される
とともに、画像種判定を行う画像判定回路15および撮
影にあたっての露出および合焦のための制御を行う露出
・合焦制御部13(図中、AE/AFと示す)に入力さ
れている。
The image data signal S0 output from the A / D converter 4 is input to the main memory 5, and the image determining circuit 15 for determining the image type and the control for exposure and focusing during photographing are performed. It is input to the exposure / focus control unit 13 (indicated as AE / AF in the figure) for performing.

【0067】なお、上記画像判定回路15は請求項1に
対応する。詳細は後述する。
The image determination circuit 15 corresponds to claim 1. Details will be described later.

【0068】上記メインメモリ5に入力された画像デー
タS0 は、メモリコントローラ12によりノンインター
レースの画像データに変換され、単純2値化回路6およ
び擬似中間調処理回路7に入力される。
The image data S0 input to the main memory 5 is converted into non-interlaced image data by the memory controller 12 and input to the simple binarization circuit 6 and the pseudo halftone processing circuit 7.

【0069】なお、上記単純2値化回路6、擬似中間調
処理回路7は請求項2、請求項3に対応する。
The simple binarization circuit 6 and the pseudo halftone processing circuit 7 correspond to claims 2 and 3.

【0070】上記単純2値化回路6および擬似中間調処
理回路7において2値化処理された信号はスイッチ8に
入力され、後述する画像種判定結果に応じて選択的に該
スイッチ8より出力される。即ち、入力された画像が自
然画と判定された場合は擬似中間調処理回路7において
2値化処理された信号を選択し、また、入力された画像
が文書画像と判定された場合は単純2値化回路6におい
て2値化処理された信号を選択して出力する。さらに、
メモリ等の記憶装置に出力する際には、圧縮回路9によ
り、スイッチ8から出力された信号のデータ量を圧縮す
る。また、プリンタ等の表示機器に出力する際には、圧
縮回路9は圧縮動作は行わずにスイッチ8から出力され
た信号をそのまま出力する。
The signal binarized in the simple binarization circuit 6 and the pseudo halftone processing circuit 7 is input to the switch 8 and selectively output from the switch 8 according to the image type determination result described later. It That is, when the input image is determined to be a natural image, the binarized signal is selected in the pseudo halftone processing circuit 7, and when the input image is determined to be a document image, the simple 2 The binarization circuit 6 selects and outputs the binarized signal. further,
When outputting to a storage device such as a memory, the compression circuit 9 compresses the data amount of the signal output from the switch 8. Further, when outputting to a display device such as a printer, the compression circuit 9 does not perform the compression operation and outputs the signal output from the switch 8 as it is.

【0071】上記圧縮回路9において、単純2値化処理
された信号については例えばファクシミリ等で採用され
ているMH符号化,MR符号化等の圧縮方法を用いるこ
とができる。また、擬似中間調処理された信号について
は、上記符号化を行うとむしろデータ量を増大すること
もあるので、上記符号化を行うか否かは任意に選択して
行う。
For the signal binarized in the compression circuit 9, a compression method such as MH coding or MR coding adopted in a facsimile or the like can be used. Further, with respect to the signal which has been subjected to the pseudo halftone processing, the amount of data may rather increase when the above-mentioned encoding is performed. Therefore, whether or not the above-mentioned encoding is performed is arbitrarily selected and performed.

【0072】また、本実施例では、2値化処理により入
力された多階調のデータが1ビットのデータに変換され
ることから、自然画に対するデータ圧縮手段として擬似
中間調処理回路7、文字画に対するデータ圧縮手段とし
て単純2値化回路6をそれぞれ利用してもよいものであ
る。
Further, in the present embodiment, since the multi-gradation data input by the binarization processing is converted into 1-bit data, the pseudo halftone processing circuit 7 and the character are used as the data compression means for the natural image. The simple binarization circuit 6 may be used as data compression means for each image.

【0073】次に、本実施例における自動露出制御動作
(AE)、自動合焦制御動作(AF)について説明す
る。
Next, the automatic exposure control operation (AE) and the automatic focusing control operation (AF) in this embodiment will be described.

【0074】図1に示したAE/AFブロック13にお
いて、図13に示すようにA/Dコンバータ4から出力
された画像データS0を複数の領域に分割して、各領域
毎に画素データの平均値およびコントラスト値の平均値
を求める。CPU14は、AE/AFブロック13で求
められた画素データの平均値が所定の値となるように撮
影光学系1の絞りやタイミングジェネレータ10の電子
シャッタ速度、プロセス回路3の増幅度を制御すること
でAEを行う。また、CPU14は、AE/AFブロッ
ク13で求められたコントラスト値の平均値が最大とな
るように撮影光学系1の焦点調節用レンズの位置を制御
することでAFを行う。
In the AE / AF block 13 shown in FIG. 1, the image data S0 output from the A / D converter 4 is divided into a plurality of areas as shown in FIG. 13, and the average pixel data is calculated for each area. The average value and contrast value are calculated. The CPU 14 controls the aperture of the photographing optical system 1, the electronic shutter speed of the timing generator 10 and the amplification degree of the process circuit 3 so that the average value of the pixel data obtained by the AE / AF block 13 becomes a predetermined value. To perform AE. Further, the CPU 14 performs AF by controlling the position of the focus adjustment lens of the photographing optical system 1 so that the average value of the contrast values obtained by the AE / AF block 13 becomes maximum.

【0075】本実施例の画像処理装置は、図1に示すよ
うに、所定の同期信号を生成する同期信号発生回路(S
SG)11を具備しており、該SSG11において生成
された所定の同期信号に応じて、上記CCD2を駆動す
るためのタイミングジェネレータ10やメインメモリ5
を制御するためのメモリコントローラ12が動作するよ
うになっている。
The image processing apparatus of this embodiment, as shown in FIG. 1, is a sync signal generation circuit (S) for generating a predetermined sync signal.
SG) 11, and a timing generator 10 and a main memory 5 for driving the CCD 2 according to a predetermined synchronizing signal generated in the SSG 11.
The memory controller 12 for controlling the memory is operated.

【0076】また、同様に上記画像判定回路15は、上
記SSG11から出力される同期信号に基づいて上記A
/Dコンバータ4からの出力信号である画像データ信号
S0に同期して画像判定の動作を行うようになってい
る。さらに、CPU14は、上記画像判定回路15の画
像判定結果の出力や判定に利用するための制御信号の入
力を行なうようになっている。
Further, similarly, the image determination circuit 15 determines the A based on the synchronization signal output from the SSG 11.
The image determination operation is performed in synchronization with the image data signal S0 which is the output signal from the / D converter 4. Further, the CPU 14 outputs the image determination result of the image determination circuit 15 and inputs a control signal used for the determination.

【0077】図3は、本第1実施例における上記画像判
定回路とその周辺部であるSSG,CPUの構成を示し
たブロック図である。
FIG. 3 is a block diagram showing the configuration of the image determination circuit and its peripheral portions, the SSG and the CPU, in the first embodiment.

【0078】すなわち、該画像判定回路15には、上記
SSG11よりHD信号,FLD信号,VD信号が入力
されており、これらの同期信号は上記判定領域設定手段
としてのカウンタリセット回路160で受けるようにな
っている。なお、該カウンタリセット回路160につい
ては、後に、詳しく説明するなお、上記カウンタリセッ
ト回路160は、請求項1記載の判定領域設定手段に対
応する。
That is, the HD signal, the FLD signal, and the VD signal are input from the SSG 11 to the image determination circuit 15, and these synchronization signals are received by the counter reset circuit 160 as the determination area setting means. Has become. The counter reset circuit 160 will be described later in detail. The counter reset circuit 160 corresponds to the determination area setting means according to claim 1.

【0079】ここで、上記HD信号は、テレビジョン等
において用いられる水平方向の駆動タイミングを示す水
平同期信号であり、FLD信号は、テレビジョンのイン
ターレースされる画面が偶数画面か奇数画面であるかを
示す信号である。さらに、VD信号は、テレビジョン等
において用いられる1画面を表わす垂直同期信号であ
る。
Here, the HD signal is a horizontal synchronizing signal which is used in a television or the like and which indicates the driving timing in the horizontal direction, and the FLD signal is whether the interlaced screen of the television is an even screen or an odd screen. Is a signal indicating. Further, the VD signal is a vertical synchronization signal representing one screen used in television and the like.

【0080】画像判定回路15では、A/Dコンバータ
4から出力された画像データS0がまず変化量検出回路
110へ入力される。変化量検出回路110においては
変化量検出領域内の画素データの変化量S1および平均
値S2が求められる。本実施例では図7に示すような3
×3の領域を変化量検出領域とし、当該変化量検出領域
内の画素Eの変化量S1として画素A〜Iのうち当該変
化量検出領域の4隅に相当する画素A,C,G,Iの中
で最大輝度データを最小輝度データとの差を求める。ま
た平均値S2として画素A〜Iのうち当該変化量検出領
域の4隅に相当する画素A,C,G,Iの平均値を求め
る。こうすることで、変化量S1および平均値S2を求
める演算回路を簡単な構成で実現できると共に、図6に
示すようにインターレース信号として入力される画像デ
ータS0と遅延回路140により1ライン時間遅延され
た画像データS0とから必要な画素データを得ることが
できる。従って回路の小規模化と演算時間の短縮化を実
現できる。
In the image determination circuit 15, the image data S0 output from the A / D converter 4 is first input to the change amount detection circuit 110. In the change amount detection circuit 110, the change amount S1 and the average value S2 of the pixel data in the change amount detection area are obtained. In this embodiment, as shown in FIG.
The region of × 3 is used as the change amount detection region, and the change amount S1 of the pixel E in the change amount detection region is set as the pixels A to C corresponding to the four corners of the change amount detection region. Then, the difference between the maximum brightness data and the minimum brightness data is obtained. Further, as the average value S2, the average value of the pixels A, C, G, and I corresponding to the four corners of the change amount detection area among the pixels A to I is obtained. By doing so, an arithmetic circuit for obtaining the change amount S1 and the average value S2 can be realized with a simple configuration, and as shown in FIG. 6, the image data S0 input as an interlace signal and the delay circuit 140 are delayed by one line time. Necessary pixel data can be obtained from the image data S0. Therefore, the circuit can be downsized and the calculation time can be shortened.

【0081】本実施例における変化量S1および平均値
S2を求める回路の構成を、図5に示す。図5において
Tで示した回路は、入力される画像データを1画素時間
遅延させる機能を持った遅延回路である。従って図5の
各遅延回路の出力に付したアルファベットは、図7に示
した画素A〜Iに相当する。
FIG. 5 shows the configuration of the circuit for obtaining the change amount S1 and the average value S2 in this embodiment. The circuit indicated by T in FIG. 5 is a delay circuit having a function of delaying input image data by one pixel time. Therefore, the alphabet attached to the output of each delay circuit in FIG. 5 corresponds to the pixels A to I shown in FIG.

【0082】まず変化量S1の演算方法を説明する。画
素Cおよび画素Iのデータが大小判定回路150に入力
される。大小判定回路150は比較器および2個のセレ
クタとからなり、たとえば画素C<画素Iのとき比較器
の出力は“L”となりMAXセレクタからは画素Iが、
minセレクタからは画素Cが出力される。またMAX
セレクタ,minセレクタの各出力をそれぞれ2画素時
間遅延させたデータを遅延させないデータとを大小判定
回路150と同じ構成の大小判定回路151、大小判定
回路152にそれぞれ入力する。MAXセレクタ,mi
nセレクタの各出力をそれぞれ2画素時間遅延させたデ
ータは、画素Aと画素Gのうち大なるデータと小なるデ
ータである。従って、大小判定回路151のMAXセレ
クタの出力信号は画素A,C,G,Iの中で最大輝度デ
ータとなり、大小判定回路152のminセレクタの出
力信号は画素A,C,G,Iの中で最小輝度データとな
る。最後に大小判定回路151のMAXセレクタの出力
信号と大小判定回路152のminセレクタの出力信号
との差を求めることにより変化量S1が演算できる。
First, a method of calculating the variation S1 will be described. The data of the pixel C and the pixel I is input to the size determination circuit 150. The magnitude determination circuit 150 includes a comparator and two selectors. For example, when pixel C <pixel I, the output of the comparator is “L”, and the pixel I is output from the MAX selector.
The pixel C is output from the min selector. See also MAX
The data obtained by delaying the outputs of the selector and the min selector by 2 pixels respectively and the data not delayed are input to the size determination circuit 151 and the size determination circuit 152 having the same configuration as the size determination circuit 150, respectively. MAX selector, mi
The data obtained by delaying each output of the n-selector by two pixels is the large data or the small data of the pixel A and the pixel G. Therefore, the output signal of the MAX selector of the size determination circuit 151 becomes the maximum luminance data in the pixels A, C, G, I, and the output signal of the min selector of the size determination circuit 152 is in the pixels A, C, G, I. Is the minimum brightness data. Finally, the change amount S1 can be calculated by obtaining the difference between the output signal of the MAX selector of the magnitude determination circuit 151 and the output signal of the min selector of the magnitude determination circuit 152.

【0083】次に、平均値S2の演算方法を説明する。
図5の各遅延回路の出力に付したアルファベットからわ
かる通り、画素A,C,G,Iの和を求めて画素数4で
割ることで平均値S2が演算できる。
Next, a method of calculating the average value S2 will be described.
As can be seen from the alphabet attached to the output of each delay circuit in FIG. 5, the average value S2 can be calculated by obtaining the sum of the pixels A, C, G and I and dividing by the number of pixels 4.

【0084】画像判定回路15では、変化量検出回路1
10で求められた変化量検出領域内の画素データの変化
量S1の判定領域内における度数情報を求める必要があ
る。本実施例では、まず変化量検出領域内の画素データ
の変化量S1を画素データの平均値S2で正規化する。
そして、正規化された画素データの変化量の判定領域内
における度数情報を、正規化された画素データの変化量
が2つのしきい値K1,K2(但しK1≦K2)より大
なる変化量検出領域の数を判定領域内にわたってそれぞ
れ数えることで得ている。
In the image judging circuit 15, the change amount detecting circuit 1
It is necessary to obtain the frequency information in the determination area of the change amount S1 of the pixel data in the change amount detection area obtained in 10. In this embodiment, first, the variation amount S1 of the pixel data in the variation amount detection area is normalized by the average value S2 of the pixel data.
Then, the frequency information in the determination area of the amount of change in the normalized pixel data is used to detect the amount of change in which the amount of change in the normalized pixel data is greater than two threshold values K1 and K2 (where K1 ≦ K2). It is obtained by counting the number of regions in each determination region.

【0085】本実施例においては、判定回路121a,
122aとして図8に示したように、画素データの平均
値S2にしきい値Ki(i=1,2)を乗じた値と画素
データの変化量S1とを比較しS1≧S2×Kiが成り
立つ場合に“H”の信号が出力される構成とした。さら
に下限値b1,b2(b1≦b2)を判定条件に加える
ことによりノイズによる誤検出を防ぐことができる。
In the present embodiment, the decision circuits 121a,
When the average value S2 of the pixel data is multiplied by a threshold value Ki (i = 1, 2) and the variation amount S1 of the pixel data is compared as shown in FIG. 8 as 122a, S1 ≧ S2 × Ki is satisfied. A signal of "H" is output to. Further, by adding the lower limit values b1 and b2 (b1 ≦ b2) to the determination condition, erroneous detection due to noise can be prevented.

【0086】次にカウンタ回路121b,122bは図
9に示したようにそれぞれ判定回路121a,122a
の判定出力S4,S5が“H”かつS7が“H”の場合
にカウント動作を行う。ここでS7は判定領域を表す信
号であり、判定領域においては“H”の信号が入力され
る。また、CLEAR信号はカウンタ回路の動作を制御
する信号であり、画像判定回路15の動作時のみカウン
タ回路を動作させる。
Next, the counter circuits 121b and 122b are provided with the determination circuits 121a and 122a, respectively, as shown in FIG.
When the determination outputs S4 and S5 of "1" are "H" and S7 is "H", the counting operation is performed. Here, S7 is a signal representing the determination area, and a signal of "H" is input in the determination area. The CLEAR signal is a signal for controlling the operation of the counter circuit and operates the counter circuit only when the image determination circuit 15 is operating.

【0087】さらに、該カウンタ回路121b,122
bでカウントされた値N1,N2は一旦レジスタ121
c,122cに転送される。カウント値N1,N2は、
CPU14が適宜読み出すことができるようになってい
る。
Further, the counter circuits 121b and 122
The values N1 and N2 counted in b are temporarily stored in the register 121.
c, 122c. The count values N1 and N2 are
The CPU 14 can read the data as appropriate.

【0088】なお、下限値b1,b2については、プロ
セス回路3の増幅度に応じて可変させても良い。一般に
CCD等の撮像素子から出力される信号に含まれるノイ
ズは、光電変換部に蓄積される電荷に依存する。従って
撮影光学系1の絞りやタイミングジェネレータ10によ
る電子シャッタ制御でほぼ一定の光量に制御できる被写
体においては、下限値b1,b2は固定値でよいが、暗
い被写体でプロセス回路3の増幅度を上げるとノイズ量
が増大し、それに合わせて下限値b1,b2を大きくす
る。
The lower limit values b1 and b2 may be varied according to the amplification degree of the process circuit 3. Generally, noise included in a signal output from an image pickup device such as a CCD depends on charges accumulated in a photoelectric conversion unit. Therefore, the lower limit values b1 and b2 may be fixed values for a subject whose light quantity can be controlled to a substantially constant amount by controlling the aperture of the photographing optical system 1 or electronic shutter control by the timing generator 10, but increase the amplification degree of the process circuit 3 for a dark subject. The noise amount increases, and the lower limit values b1 and b2 are increased accordingly.

【0089】さらに、画像判定回路15では、変化量検
出領域における画像のエッジ部を検出するとともにエッ
ジ部を構成する画素群の画素データの判定領域内におけ
る度数情報を求める必要がある。
Further, the image judgment circuit 15 needs to detect the edge part of the image in the change amount detection area and to obtain the frequency information in the judgment area of the pixel data of the pixel group forming the edge part.

【0090】本実施例では、まず判定回路121aの出
力が“H”となるような画素データの変化量を持つ変化
量検出領域を画像のエッジ部とする。また、当該エッジ
部を構成する画素群の画素データとして当該変化量検出
領域内の画素データの平均値S2を用いる。さらにエッ
ジ部を構成する画素群の画素データの判定領域内におけ
る度数情報を、当該変化量検出領域内の画素データの平
均値S2がしきい値S3より大なる変化量検出領域の数
を判定領域内にわたって数えることで得ている。すなわ
ち、画像のエッジ部と判定された変化量検出領域内の画
素データの平均値S2がしきい値S3より大なる変化量
検出領域の数N3を求める。
In this embodiment, first, the change amount detection area having the change amount of pixel data such that the output of the determination circuit 121a becomes "H" is set as the edge portion of the image. Further, the average value S2 of the pixel data in the change amount detection area is used as the pixel data of the pixel group forming the edge portion. Further, the frequency information in the determination area of the pixel data of the pixel group forming the edge portion is used to determine the number of change amount detection areas in which the average value S2 of the pixel data in the change amount detection area is larger than the threshold value S3. It is obtained by counting over. That is, the number N3 of change amount detection areas in which the average value S2 of the pixel data in the change amount detection areas determined to be the edge portion of the image is larger than the threshold value S3 is obtained.

【0091】図10に示したように、平均値回路130
は、判定領域を表す信号S7が“H”の期間のみ画像デ
ータS0が加算回路に入力され、加算回路の出力が遅延
回路Tを経て加算回路のもう一方の入力に接続されると
ともに判定領域内の変化量検出領域の数Mで除す。こう
することで判定領域内の画素データの平均値がしきい値
S3として出力される。
As shown in FIG. 10, the average value circuit 130
Means that the image data S0 is input to the adder circuit only while the signal S7 representing the judgment region is “H”, the output of the adder circuit is connected to the other input of the adder circuit through the delay circuit T, and It is divided by the number M of change amount detection areas. By doing so, the average value of the pixel data in the determination area is output as the threshold value S3.

【0092】さらに、上記変化量検出回路110から出
力される当該変化量検出領域内の画素データの平均値S
2は、比較回路123aにおいて平均値回路130の出
力信号S3との比較動作が行われ、平均値S2≧S3の
場合に“H”が出力される。また判定回路121aの出
力信号S4と比較回路123aの出力信号とのアンドを
とることで、画像のエッジ部と判定された変化量検出領
域内の画素データの平均値S2がしきい値S3より大な
る変化量検出領域を示す信号S6が得られる。
Further, the average value S of the pixel data in the change amount detection area output from the change amount detection circuit 110 is output.
2, the comparison circuit 123a performs a comparison operation with the output signal S3 of the average value circuit 130, and when the average value S2 ≧ S3, “H” is output. Further, by taking the AND of the output signal S4 of the determination circuit 121a and the output signal of the comparison circuit 123a, the average value S2 of the pixel data in the change amount detection area determined to be the edge portion of the image is larger than the threshold value S3. A signal S6 indicating the change amount detection area is obtained.

【0093】次にカウンタ回路123bは、図9に示し
たように信号S6が“H”かつS7が“H”の場合にカ
ウント動作を行う。ここでS7は判定領域を表す信号で
あり、判定領域においては“H”の信号が入力される。
また、CLEAR信号はカウンタ回路の動作を制御する
信号であり、画像判定回路15の動作時のみカウンタ回
路を動作させる。
Next, the counter circuit 123b performs a counting operation when the signal S6 is "H" and S7 is "H" as shown in FIG. Here, S7 is a signal representing the determination area, and a signal of "H" is input in the determination area.
The CLEAR signal is a signal for controlling the operation of the counter circuit and operates the counter circuit only when the image determination circuit 15 is operating.

【0094】さらに、該カウンタ回路123bでカウン
トされた値N3は一旦レジスタ123cに転送される。
なお、該カウント値N3は、CPU14が適宜読み出す
ことができるようになっている。
Further, the value N3 counted by the counter circuit 123b is once transferred to the register 123c.
The count value N3 can be read by the CPU 14 as appropriate.

【0095】次に、上記比較回路123aおよび判定回
路121aの動作について、図25を参照して具合的に
説明する。
Next, the operations of the comparison circuit 123a and the determination circuit 121a will be briefly described with reference to FIG.

【0096】図25おいて、実線で示されている信号が
入力される信号S0を表しており、横軸が時間の経過ま
たは画面上の場所を表している。それに対して、縦軸
は、画像の明るさを表していて、上の方は明るい、下の
方は暗いということを示している。
In FIG. 25, the signal shown by the solid line represents the input signal S0, and the horizontal axis represents the passage of time or the place on the screen. On the other hand, the vertical axis represents the brightness of the image, with the upper one being bright and the lower one being dark.

【0097】それに対して、上記変化量検出回路110
で求められる平均値信号S2は、図25において点線で
示したような変化をする。
On the other hand, the change amount detecting circuit 110
The average value signal S2 obtained in step S1 changes as shown by the dotted line in FIG.

【0098】さらに、該変化量検出回路110で求めら
れる変化量信号S1については、下に示した実線のよう
な波形が出力されている。
Further, regarding the change amount signal S1 obtained by the change amount detection circuit 110, a waveform as shown by the solid line below is output.

【0099】これを、上記判定回路121aで判定する
と、該図25に示すピーク部分がエッジを含む部分とい
う判定結果が出るので、その部分に対して破線で示した
平均値信号S2を求めて、これを平均値信号S3と比較
する。
When this is judged by the judging circuit 121a, a judgment result that the peak portion shown in FIG. 25 includes an edge is obtained. Therefore, the average value signal S2 shown by the broken line for that portion is obtained, This is compared with the average value signal S3.

【0100】上記平均値信号S3については、判定エリ
ア内における画像データの平均値となるので、図25に
おいて実線で示すように、明るいピークの部分よりは若
干低い値を示す。
Since the average value signal S3 is the average value of the image data in the judgment area, it shows a value slightly lower than the bright peak portion as shown by the solid line in FIG.

【0101】したがって、上記信号S6の出力としては
着目点における平均値信号S2の値が平均値信号S3よ
りもいづれも低い値を示すので、該信号S6の出力は必
ず“L”レベルとなり、たとえば、白板上における黒文
字等の検出に好適となる。
Therefore, as the output of the signal S6, the value of the average value signal S2 at the point of interest is lower than that of the average value signal S3, so that the output of the signal S6 is always at the "L" level. It is suitable for detecting black characters on a white plate.

【0102】逆に、この実線で示された入力データが逆
方向のピークをもっている場合については、平均値信号
S2の値が平均値信号S3よりも大きくなるので、この
場合、上記信号S6は“H”レベルとなり、上記カウン
タ回路123bはカウント動作を行い、たとえば、黒板
上における白文字等の検出に好適となる。
On the contrary, when the input data shown by the solid line has a peak in the opposite direction, the value of the average value signal S2 becomes larger than the average value signal S3. In this case, therefore, the signal S6 is " The H level is reached, and the counter circuit 123b performs a counting operation, which is suitable for detecting, for example, white characters on a blackboard.

【0103】次に、画像種決定回路の動作について説明
する。
Next, the operation of the image type determining circuit will be described.

【0104】この画像種決定回路は、本実施例において
は上記CPU14の内部において形成されていて、判定
に使うデータとして、上記レジスタ121c,122
c,123cから出力されるカウント値N1,N2,N
3を用いる。
This image type determining circuit is formed inside the CPU 14 in the present embodiment, and the registers 121c and 122 are used as data used for determination.
c, 123c output count values N1, N2, N
3 is used.

【0105】図11,図12は、該画像種決定回路にお
ける判定方法の例を示した説明図である。なお、該図1
1,図12において、横軸は、N3をN1で割った値を
示し、縦軸は、N2をN1で割った値を示している。
11 and 12 are explanatory views showing an example of the determination method in the image type determination circuit. Note that FIG.
1, the horizontal axis represents the value obtained by dividing N3 by N1, and the vertical axis represents the value obtained by dividing N2 by N1.

【0106】従来例でも説明したとおり、図26につい
ては画素データの変化量の度数分布を表わしたものにな
っていて、一般的に文書画像については画素データの変
化量の大きい画素の頻度が高い傾向を示し、さらに自然
画においては、図27に示した通り画素データの変化量
の少ないものの頻度が高いという傾向を示している。
As described in the conventional example, FIG. 26 shows the frequency distribution of the variation amount of pixel data, and generally, in a document image, the frequency of pixels having a large variation amount of pixel data is high. In addition, as shown in FIG. 27, in the natural image, there is a tendency that the amount of change in pixel data is small but the frequency is high.

【0107】したがって、それぞれに対して比較的高い
スレッショルドレベルを設定してカウントした結果と、
比較的低いスレッショルドレベルを設定してカウントし
た結果、すなわちN2およびN1を求めることで文書画
像のように変化量の大きい画素の頻度が高い画像種につ
いては、N2をN1で割ったものは大きな値を示し、逆
に図27に示したような自然画については、N2をN1
で割ったものは比較的小さい値を示す傾向にある。
Therefore, the result of counting by setting a relatively high threshold level for each,
As a result of counting by setting a relatively low threshold level, that is, N2 and N1 are obtained, for an image type in which pixels with a large amount of change have a high frequency such as a document image, N2 divided by N1 is a large value. 27, and conversely, for a natural image as shown in FIG.
Those divided by tend to show relatively small values.

【0108】したがって、図11における縦軸において
は、“1”の値に近いほど文書画像である可能性が高
く、“0”に近いほど自然画である可能性が高い傾向を
示す。また、横軸については、図24に示したとおり、
エッジを含む部分の画素の輝度値を見たときに、自然画
についてはあらゆる輝度値に対して度数分布が見られる
のに対して、白地の文書画像については、比較的暗い方
に分布が偏り、逆に黒地の文書画像については高い方に
輝度分布が偏る傾向がある。
Therefore, on the vertical axis in FIG. 11, the closer the value is to “1”, the higher the possibility of being a document image, and the closer to “0”, the higher the possibility of being a natural image. In addition, about the horizontal axis, as shown in FIG.
When you look at the brightness values of the pixels in the part that contains the edges, you can see the frequency distribution for all brightness values for natural images, while for a document image on a white background, the distribution is biased toward the darker side. On the contrary, in the case of a black document image, the luminance distribution tends to be higher.

【0109】したがって、先程の判定領域内の全画面平
均値S3を基準にして見た場合、エッジを含む画素の輝
度の平均値は、自然画においては全画面の平均値より大
きいものと小さいものがほぼ均等な分布をするのに対し
て、白地の原稿については、小さい値、すなわち、低い
方に多く分布し、さらに黒地の文書画像については、値
は1に近い、すなわち大きな値を示す傾向をもつ。
Therefore, when viewed with reference to the average value S3 of the entire screen in the determination area, the average value of the luminance of the pixels including the edge is larger or smaller than the average value of the entire screen in the natural image. Have a substantially uniform distribution, whereas a white document has a small value, that is, a large distribution in the lower part, and a black document image tends to have a value close to 1, that is, a large value. With.

【0110】したがって、図11において、横軸が
“0”に近い部分については白地の原稿である可能性が
高く、さらに“1”に近いものであれば黒地の文書画像
である傾向が強い。また、中央部にあれば、自然画であ
る可能性が高いということになる。
Therefore, in FIG. 11, the portion near the horizontal axis "0" is likely to be a white background document, and the one near "1" is likely to be a black background document image. Also, if it is in the center, it is highly likely that it is a natural image.

【0111】したがって、2つの判定特徴量をこの図1
1のように2次元的なグラフ上にプロットし、それが白
地の原稿であるか、黒地の原稿であるか、自然画である
かの3種類のいずれの領域に属するかによって最終的な
判定を行っている。
Therefore, the two judgment feature quantities are calculated as shown in FIG.
Plotted on a two-dimensional graph as shown in 1, and finally determined depending on which of the three types of areas, that is, a white background document, a black background document, and a natural image belongs to. It is carried out.

【0112】なお、上記カウンタ値N1およびN2,N
3の割り算の演算については、本実施例においてはCP
U14の回路内で行っている。
The counter values N1 and N2, N
Regarding the operation of division by 3, in this embodiment, CP
It is done in the circuit of U14.

【0113】また、同様に図12に示した通り、凸型の
エリアを設けることでさらに簡単な判定が行えるように
形を変形させることも可能である。
Similarly, as shown in FIG. 12, by providing a convex area, the shape can be modified so that a simpler determination can be performed.

【0114】次に、本実施例の画像処理装置における上
記画像種判定のタイミングを図2を参照して説明する。
Next, the timing of the above image type determination in the image processing apparatus of this embodiment will be described with reference to FIG.

【0115】まず、1番目のフィールドでは、画像判定
回路15内の平均値回路130においてS3が算出され
る。次に2番目のフィールドでは、該画像判定回路15
でカウント値N1、N2、N3が求められる。次に3番
目のフィールドでは、CPU14により画像種の判定が
行われる。そして4番目のフィールドで、画像種を示す
信号S9がスイッチ8および圧縮回路9へ出力される。
First, in the first field, the average value circuit 130 in the image determination circuit 15 calculates S3. Next, in the second field, the image determination circuit 15
The count values N1, N2, N3 are obtained at. Next, in the third field, the CPU 14 determines the image type. Then, in the fourth field, the signal S9 indicating the image type is output to the switch 8 and the compression circuit 9.

【0116】また、上記メインメモリ5は、図2に示し
た通り2、3番目のフィールドにおいて画像データS0
の書き込みが行われる。そして4番目以降のフィールド
において、2、3番目のフィールドで書き込まれた画像
データの読み出しが行われると同時に、画像種の判定結
果に基づき単純2値化回路6および擬似中間調回路7に
おいて2値化処理を施し、さらに圧縮回路9によって出
力メディアに応じた圧縮処理が行われる。
The main memory 5 stores the image data S0 in the second and third fields as shown in FIG.
Is written. Then, in the fourth and subsequent fields, the image data written in the second and third fields are read out, and at the same time, the simple binarization circuit 6 and the pseudo halftone circuit 7 perform binary conversion based on the determination result of the image type. Then, the compression circuit 9 performs compression processing according to the output medium.

【0117】カウントリセット回路160は、SSG1
1から出力された同期信号(HD,VD,FLD)に基
づき判定領域を示す信号S7およびカウンタのリセット
を行う信号CLEARを生成する。
The count reset circuit 160 uses the SSG1
Based on the synchronization signals (HD, VD, FLD) output from 1, the signal S7 indicating the determination area and the signal CLEAR for resetting the counter are generated.

【0118】図4において、外枠が撮像素子CCD2に
おいて撮像される有効画面を示している。当該有効画面
に対して変化量検出領域は、図4中、斜線を施した正方
形の微小領域である。当該変化量検出領域は、画像デー
タS0の出力に応じて図4においてZ字で示したように
当該有効画面領域を左から右へ、上から下へ順次1画素
づつ移動しながら走査する。本実施例においては、3×
3の変化量検出領域を当該有効画面からはみ出さないよ
うに設定する。従って3×3の変化量検出領域における
各代表値の軌跡が、当該有効画面に対して左右1画素お
よび上下1ラインづつ内側の領域より小なる領域に形成
されるため、判定領域としては図4に示す如く設定す
る。
In FIG. 4, the outer frame shows an effective screen imaged by the image sensor CCD2. The change amount detection area with respect to the effective screen is a square small area shaded in FIG. The change amount detection area is scanned while moving the effective screen area from left to right and from top to bottom one pixel at a time, in accordance with the output of the image data S0, as indicated by Z in FIG. In this example, 3 ×
The change amount detection area of No. 3 is set so as not to extend from the valid screen. Therefore, the locus of each representative value in the 3 × 3 change amount detection region is formed in a region smaller by 1 pixel on the left and 1 line and 1 line on the upper and lower sides with respect to the effective screen, so that the determination region is as shown in FIG. Set as shown in.

【0119】本実施例の画像処理装置においては、垂直
方向の有効画素を表す信号としてVBLK、水平方向の
有効画面を表す信号としてHBLKをFLD,VD,H
D信号を用いて生成する。一方判定領域を規定するため
に本実施例においては、垂直方向の当該有効画面を示す
信号VBLKに対して、少なくとも上下方向に1ライン
づつ内側の領域を示す信号VAEを生成し、水平方向の
当該有効画面を示す信号HBLKに対して、少なくとも
左右方向に1画素づつ内側の領域を示す信号HAEを生
成する。さらに信号VAEおよび信号HAEの論理積を
とることにより判定領域を示す信号S7を生成する。
In the image processing apparatus according to the present embodiment, VBLK is a signal representing a vertical effective pixel, and HBLK is a signal representing a horizontal effective screen FLD, VD, H.
It is generated using the D signal. On the other hand, in order to define the determination area, in the present embodiment, the signal VAE indicating the area inside by at least one line in the vertical direction is generated with respect to the signal VBLK indicating the effective screen in the vertical direction, and the signal VAE in the horizontal direction is generated. With respect to the signal HBLK indicating the effective screen, a signal HAE indicating an area inside by at least one pixel in the left-right direction is generated. Further, the signal S7 indicating the determination region is generated by taking the logical product of the signal VAE and the signal HAE.

【0120】図13は、当該有効画面内に白板を撮影し
ている状態を示しており、主要被写体である白板は有効
画面の中央部に位置しているが、有効画面の周辺部には
白板以外の画像が含まれている。従って、画像種の判定
領域を主要被写体である白板に位置に合わせて設定する
ことで画像種の判定精度をあげることができる。そこ
で、AE/AFブロック13で抽出されたAE/AF検
出領域ごとの明るさの情報やコントラストの情報を利用
して判定領域を主要被写体の位置に応じて可変設定する
ことが可能である。
FIG. 13 shows a state in which a white plate is photographed within the effective screen. The white plate, which is the main subject, is located in the center of the effective screen, but the white plate is present in the peripheral part of the effective screen. Images other than are included. Therefore, the image type determination accuracy can be improved by setting the image type determination region in accordance with the position on the white plate which is the main subject. Therefore, it is possible to variably set the determination region according to the position of the main subject by using the brightness information and the contrast information for each AE / AF detection region extracted by the AE / AF block 13.

【0121】次に、上記露出・合焦制御部13の動作に
ついて図13,図14を参照して説明する。
Next, the operation of the exposure / focus control section 13 will be described with reference to FIGS.

【0122】この図13は、画面内に白板をとっている
状態を示しており、外枠が撮影している全エリアを示
し、それに対して碁盤の目に仕切られた微小エリアに分
けてそれぞれのエリア内で明るさの情報をとるようにな
っている。
FIG. 13 shows a state in which a white plate is taken in the screen, and the outer frame shows the entire area being photographed, while the area is divided into minute areas partitioned by a grid. Brightness information is taken in the area.

【0123】一般的に、主要な被写体は、画面の中央部
に位置することが多く、したがってこのように有効画面
に対して主要被写体である白板は、ほぼ中央に位置する
ことになる。
In general, the main subject is often located in the center of the screen, and thus the white plate, which is the main subject with respect to the effective screen, is located in the approximate center.

【0124】それに対して、水平方向の白板を含む部分
で切断した輝度分布を見ると、図14(a)に示すよう
になっている。したがって、このような場合には、判定
領域を有効画素を複数に分割した外枠の1行1列を除い
た部分に設定することで、主要被写体を含む領域の正確
な輝度情報が得られ、それに合わせて正確な露出や合焦
の制御が行われることになる。
On the other hand, looking at the luminance distribution cut at the portion including the white plate in the horizontal direction, it is as shown in FIG. 14 (a). Therefore, in such a case, by setting the determination area in a portion excluding the 1st row and 1st column of the outer frame obtained by dividing the effective pixel into a plurality of pieces, accurate luminance information of the area including the main subject can be obtained, Accurate exposure and focus control will be performed accordingly.

【0125】次に、請求項4ないし請求項7に対応する
実施例について説明する。
Next, an embodiment corresponding to claims 4 to 7 will be described.

【0126】図15は、本発明の第2実施例の画像処理
装置における主要部を示したブロック回路であり、図1
6は、該第2実施例における撮影画面のエリアを示した
説明図である。
FIG. 15 is a block circuit showing the main part of the image processing apparatus of the second embodiment of the present invention.
FIG. 6 is an explanatory diagram showing areas of the photographing screen in the second embodiment.

【0127】この第2実施例の画像処理装置は、その構
成、作用は上記第1実施例とほぼ同一であるが、判定領
域を複数設けたことを特徴としている。したがって、こ
こでは、差異のみの言及に止め、同一部分の説明は省略
する。
The image processing apparatus of the second embodiment has almost the same structure and operation as those of the first embodiment, but is characterized in that a plurality of judgment areas are provided. Therefore, here, only the differences will be referred to, and the description of the same parts will be omitted.

【0128】一般に、撮影者が撮影を行う際、ファイン
ダで覗いたときに自然と中央部付近に注目がいくことが
知られている。すなわち、撮影者が撮りたい被写体は、
画面の中央部付近に大体あると考えて良い。
It is generally known that when a photographer takes a picture, he or she naturally pays attention to the vicinity of the central portion when looking through the viewfinder. That is, the subject that the photographer wants to take is
You can think of it as being near the center of the screen.

【0129】本実施例は、この点に着目してなされてお
り、図16に示すように判定領域を複数設けて対処して
いる。なお、本実施例においては、判定領域を3つ設け
ているが、いくつ設けても構わない。また、本実施例で
は、判定領域の形状を略矩形状に設定したが、これに限
ることなく、如何なる形状であっても良い。
The present embodiment has been made paying attention to this point, and it is dealt with by providing a plurality of judgment areas as shown in FIG. Although three determination areas are provided in this embodiment, any number may be provided. Further, in the present embodiment, the shape of the determination region is set to be a substantially rectangular shape, but the shape is not limited to this and may be any shape.

【0130】上述したように、本実施例では図16に示
すように判定エリア1(図中、斜線の部分)、判定エリ
ア2(図中、網線部分)、判定エリア3(図中、黒線の
部分)の3つの判定エリアを設けている。本実施例で
は、中心部に近いほど、エッジ判定量に重みをおくよう
になっている。すなわち、 判定エリア1≦判定エリア2≦判定エリア3 となるように重み付けをするようになっている。
As described above, in this embodiment, as shown in FIG. 16, judgment area 1 (hatched portion in the drawing), judgment area 2 (hatched portion in the drawing), judgment area 3 (black portion in the drawing). Three judgment areas (line portion) are provided. In this embodiment, the edge determination amount is weighted closer to the center. That is, weighting is performed so that determination area 1 ≦ determination area 2 ≦ determination area 3 is satisfied.

【0131】なお、この重み付けというものは、整数に
限ったものでなく小数でも構わないが、ここでは説明を
簡単にするために重み付け係数が整数倍についてのみ説
明する。
Note that this weighting is not limited to an integer, and may be a decimal. However, here, for simplicity of explanation, only the case where the weighting coefficient is an integral multiple will be described.

【0132】次に、本第2実施例の主要部構成を説明す
る。
Next, the structure of the main part of the second embodiment will be described.

【0133】図15は、本第2実施例の画像処理装置の
主要部構成を示したブロック図である。その他の構成に
ついては、上記第1実施例と同様であるので、ここでの
説明は省略する。
FIG. 15 is a block diagram showing the main structure of the image processing apparatus of the second embodiment. The other structure is similar to that of the first embodiment, and therefore the description thereof is omitted here.

【0134】図に示すように、本第2実施例の画像処理
装置は、上記第1実施例におけるカウンタリセット回路
160に相当するカウンタリセット回路160′と同カ
ウンタ回路121b,122b,123bの一部に該当
するカウンタ回路121Dとを具備している。
As shown in the figure, the image processing apparatus of the second embodiment includes a counter reset circuit 160 'corresponding to the counter reset circuit 160 of the first embodiment and a part of the counter circuits 121b, 122b, 123b. Counter circuit 121D corresponding to

【0135】上記カウンタリセット回路160′は、H
カウンタ161,Vカウンタ162,判定エリアデコー
ダ163が図示の如く接続されて構成されている。上記
Hカウンタ161,Vカウンタ162は、それぞれ図1
6中、H方向,V方向のアドレスを示すカウンタであ
り、また、上記判定エリアデコーダ163は、上記Hカ
ウンタ161、Vカウンタ162の2つのカウンタの値
に基づいて、現在どこのエリアであるかを判定する回路
である。すなわち、該判定エリアデコーダ163は、上
記判定エリア1,2,3のそれぞれをデコードし、この
結果を3つの出力信号線により出力するようになってい
る。
The counter reset circuit 160 'has an H level.
A counter 161, a V counter 162, and a judgment area decoder 163 are connected and configured as shown. The H counter 161 and the V counter 162 are respectively shown in FIG.
6 is a counter indicating addresses in the H direction and the V direction, and the determination area decoder 163 indicates which area is currently based on the values of the two counters of the H counter 161 and the V counter 162. Is a circuit for determining. That is, the judgment area decoder 163 decodes each of the judgment areas 1, 2 and 3 and outputs the result through three output signal lines.

【0136】また、上記カウンタ回路121Dは、加算
器164と重み設定部165とが図示の如く接続されて
構成されている。上記加算器164はエッジと判断した
画素を計数するようになっており、通常は該加算器の出
力で十分であるが、本実施例では重み付けするために重
み量設定部165を介して設けている。具体的には、上
記判定エリア毎に重み量を設定するようになっており、
たとえば判定エリア3であればエッジ量3個分、判定エ
リア2であれば2個分、判定エリア1であれば1個分と
いうように、それぞれ判定エリアによって重み付けの値
が変わるようになっている。なお、上記判定エリアに対
応するエッジ量は任意に設定しても構わない。
The counter circuit 121D is constructed by connecting an adder 164 and a weight setting section 165 as shown in the figure. The adder 164 counts the pixels determined to be edges, and the output of the adder is usually sufficient, but in the present embodiment, it is provided via the weight amount setting unit 165 for weighting. There is. Specifically, the weight amount is set for each of the determination areas,
For example, the determination area 3 has three edge amounts, the determination area 2 has two edges, and the determination area 1 has one edge value. . The edge amount corresponding to the determination area may be set arbitrarily.

【0137】これらの出力結果をフィールド毎に算出す
るため、上記加算器164の出力データはVブランキン
グに同期した信号でリセットするようにして再度次のフ
ィールドでも同一の処理を行うようになっている。
Since these output results are calculated for each field, the output data of the adder 164 is reset by a signal synchronized with V blanking so that the same processing is performed again in the next field. There is.

【0138】この第2実施例によると、画像判定を行う
上で、画面の中央部付近で検出した画像と周辺部で検出
した画像とを重みを付けて区別したので、判定率を向上
することができる。
According to the second embodiment, when the image determination is performed, the image detected near the central portion of the screen and the image detected in the peripheral portion are distinguished by weighting, so that the determination rate can be improved. You can

【0139】次に、本発明の第3実施例について説明す
る。
Next, a third embodiment of the present invention will be described.

【0140】図17は、上記第3実施例の画像処理装置
における主要部を示したブロック回路図である。
FIG. 17 is a block circuit diagram showing the main part of the image processing apparatus of the third embodiment.

【0141】この第3実施例の画像処理装置は、その構
成、作用は上記第2実施例とほぼ同様であり、該第2実
施例と同様に判定領域を複数設けたことを特徴としてい
るが、カウンタ回路の構成を異にしている。したがっ
て、ここでは、その差異のみの言及に止め、同一部分の
説明は省略する。また、この第3実施例においても、そ
の判定エリアは上記第2実施例と同様である(図16参
照)この第3実施例においては、上記カウンタリセット
回路160′の後段に上記第2実施例とは異なるカウン
タ回路121Eが接続されている。このカウンタ回路1
21Eが上記第2実施例と異なる点は、重み付け手段を
クロックの周波数の違いで区別している点にある。
The image processing apparatus of the third embodiment is almost the same in configuration and operation as the second embodiment, and is characterized in that a plurality of judgment areas are provided as in the second embodiment. , The configuration of the counter circuit is different. Therefore, here, only the differences will be referred to, and the description of the same parts will be omitted. Also, in this third embodiment, the judgment area is the same as that of the second embodiment (see FIG. 16). In this third embodiment, the second embodiment is provided after the counter reset circuit 160 '. A counter circuit 121E different from that is connected. This counter circuit 1
21E is different from the second embodiment in that the weighting means is distinguished by the difference in clock frequency.

【0142】具体的には、該カウンタ回路121Eは、
クロック選択手段166とクロック逓倍器167とエッ
ジカウンタ168とが図示の如く接続されて構成されて
いる。そして、判定エリア1(図×16参照、以下、同
様)のクロックをクロック1、判定エリア2のクロック
をクロック2、判定エリア3のクロックをクロック3と
なるように設定している。
Specifically, the counter circuit 121E is
The clock selection means 166, the clock multiplier 167, and the edge counter 168 are connected as shown in the figure. The clock of the determination area 1 (see FIG. 16; the same applies hereinafter) is set to clock 1, the clock of the determination area 2 to clock 2, and the clock of the determination area 3 to clock 3.

【0143】次に、本第3実施例における上記カウンタ
121Eの動作を図18を参照して説明する。
Next, the operation of the counter 121E in the third embodiment will be described with reference to FIG.

【0144】図18は、本第3実施例における上記カウ
ンタ121Eの動作を示したタイミングチャートであ
る。
FIG. 18 is a timing chart showing the operation of the counter 121E in the third embodiment.

【0145】本実施例においては、エッジとして検出さ
れるのはエッジ検出信号が“H”レベルの期間であり、
判定エリア1の部分では該エッジ検出信号1パルス分を
1つのエッジとしてカウントする。そして、判定エリア
2、判定エリア3の部分、すなわち、重み付けが大きい
部分では任意に逓倍することによって、1個、2個分ま
たは1、2、3個分というように周波数の相違で重み付
けが変わるようにしている。
In the present embodiment, what is detected as an edge is a period when the edge detection signal is at "H" level,
In the judgment area 1, one pulse of the edge detection signal is counted as one edge. Then, in the judgment area 2 and the judgment area 3, that is, in the portion where the weighting is large, the weighting is changed depending on the difference in frequency such as one, two, or one, two, three by multiplying arbitrarily. I am trying.

【0146】この第3実施例においては、簡単な回路構
成で簡易に上記第2実施例と同等の効果を得ることがで
きる。
In the third embodiment, the same effect as that of the second embodiment can be easily obtained with a simple circuit configuration.

【0147】次に、請求項16ないし請求項23に対応
する実施例について説明する。
Next, an embodiment corresponding to claims 16 to 23 will be described.

【0148】図19は、本発明の第4実施例の画像処理
装置における主要部を示したブロック回路図である。
FIG. 19 is a block circuit diagram showing the main parts of an image processing apparatus according to the fourth embodiment of the present invention.

【0149】この第4実施例の画像処理装置は、その構
成、作用は上記第1実施例とほぼ同一であるが、入力画
像すなわちNビットの画像から微分変化量を検出して入
力画像における最大の微分変化量を検出することを特徴
としている。したがって、ここでは、差異のみの言及に
止め、同一部分の説明は省略する。
The image processing apparatus of the fourth embodiment has almost the same structure and operation as those of the first embodiment, but the differential change amount is detected from the input image, that is, the N-bit image, and the maximum amount The feature is that the differential change amount of is detected. Therefore, here, only the differences will be referred to, and the description of the same parts will be omitted.

【0150】図に示すように、本第4実施例は、入力画
像すなわちNビットの画像から微分変化量を検出する微
分変化量検出部13aを具備しており、入力画像におけ
る最大の微分変化量を検出するようになっている。該微
分変化量検出部13aからの出力信号は画像判定回路1
5に入力され、ノイズの下限値の最大レベルを設定する
ようになっている。これにより、ノイズを除去すること
によって誤判定を防ぐことができるようになっている。
As shown in the figure, the fourth embodiment is provided with a differential change amount detecting section 13a for detecting the differential change amount from the input image, that is, the N-bit image, and the maximum differential change amount in the input image is obtained. It is designed to detect The output signal from the differential change amount detection unit 13a is the image determination circuit 1
5 is input to set the maximum level of the lower limit value of noise. This makes it possible to prevent erroneous determination by removing noise.

【0151】図20は、本第4実施例における上記微分
変化量検出部13aの動作を示したタイミングチャート
である。
FIG. 20 is a timing chart showing the operation of the differential change amount detecting section 13a in the fourth embodiment.

【0152】このタイミングチャートにおいて、VDと
は、V方向のブランキング信号、AGCとは、AGC制
御を行いゲインを決定する期間で該タイムチャートにお
いては、“H”レベルの期間である。また、シャッタと
は、“L”レベルの期間はオープンで、“H”レベルの
期間になると上記シャッタ1aが閉じるという期間であ
る。本実施例では、このシャッタが“H”レベルの期間
において、最大値を検出するようになっている。
In this timing chart, VD is a blanking signal in the V direction, and AGC is a period for determining the gain by performing AGC control, and is a period of "H" level in the time chart. The shutter is a period in which the shutter is closed during the "L" level period and closed during the "H" level period. In this embodiment, the maximum value is detected during the period when the shutter is at "H" level.

【0153】本実施例では、まず、上記AGCにおいて
ゲインを調整する。その後、シャッタ1aを閉じて遮光
状態にし、オプティカルブラック状態を作る。このと
き、Nフレーム分の検出期間を設けて、その時において
上記微分変化量検出部13aで最大値を抜き取る。
In this embodiment, first, the gain is adjusted in the AGC. After that, the shutter 1a is closed to be in a light-shielding state to create an optical black state. At this time, a detection period for N frames is provided, and at that time, the differential change amount detection unit 13a extracts the maximum value.

【0154】図21は、本実施例の画像処理装置におけ
る上記微分変化量検出部13aの構成を示したブロック
回路図である。
FIG. 21 is a block circuit diagram showing the configuration of the differential change amount detection section 13a in the image processing apparatus of this embodiment.

【0155】以下、信号の流れに沿って該微分変化量検
出部13aの構成を説明する。
The configuration of the differential change amount detecting section 13a will be described below along the flow of signals.

【0156】この微分変化量検出部13aは、入力画像
がエッジ演算部171に入力され、該エッジ演算部17
1においてエッジが演算され出力される。出力されたエ
ッジは、レジスタ172および比較器173に入力され
る。そして、該レジスタ172と比較器173におい
て、先のエッジより今のエッジの方が大きい場合は該エ
ッジをレジスタで蓄え、小さければそのままで流すとい
う操作をNフレーム行うことによって、該レジスタ17
2においてNフレームにおける最大のエッジを取り出す
ことができる。これを、上記画像判定回路15における
下限値レベルと設定することで、誤判定を防止できるよ
うになっている。
In the differential change amount detecting section 13a, the input image is input to the edge calculating section 171, and the edge calculating section 17
At 1, the edge is calculated and output. The output edge is input to the register 172 and the comparator 173. Then, in the register 172 and the comparator 173, if the current edge is larger than the previous edge, the edge is stored in the register, and if it is smaller, the operation is performed as it is for N frames, whereby the register 17
At 2, the largest edge in N frames can be picked. By setting this as the lower limit value level in the image determination circuit 15, erroneous determination can be prevented.

【0157】この第4実施例においては、上述したよう
に画像判定の誤判定を防止することができる。
In the fourth embodiment, it is possible to prevent erroneous determination of image determination as described above.

【0158】次に、本発明の第5実施例について説明す
る。
Next, a fifth embodiment of the present invention will be described.

【0159】図22は、上記第5実施例の画像処理装置
の構成を示したブロック図である。
FIG. 22 is a block diagram showing the arrangement of the image processing apparatus of the fifth embodiment.

【0160】この第5実施例の画像処理装置は、その構
成、作用は上記第1実施例とほぼ同一であり、撮像素子
にCharge Moduration Device(電荷変調素子、以下CM
Dと略記する)を採用していることを特徴とする。した
がって、ここでは、差異のみの言及に止め、同一部分の
説明は省略する。
The image processing apparatus of the fifth embodiment has almost the same configuration and operation as those of the first embodiment, and the image pickup device has a charge modulation device (charge modulation device, hereinafter CM).
(Abbreviated as D) is adopted. Therefore, here, only the differences will be referred to, and the description of the same parts will be omitted.

【0161】一般に、撮像素子としてCMDのような増
幅型の固体撮像素子を用いる場合、FPN、すなわち固
定パターンノイズが発生することが知られている。この
ような撮像素子では、画像判定する際に、固定パターン
ノイズをエッジと誤判定するという問題が発生する。
It is generally known that when an amplification type solid-state image pickup device such as CMD is used as an image pickup device, FPN, that is, fixed pattern noise is generated. In such an image pickup device, there occurs a problem that fixed pattern noise is erroneously determined as an edge when an image is determined.

【0162】本第5実施例では、このような事情に鑑
み、上記CMD等の撮像素子を用いる場合に、図22に
示すようにFPN用フレームメモリ251を付加するこ
とで対処している。
In the fifth embodiment, in view of such a situation, when the image pickup device such as the CMD is used, it is dealt with by adding an FPN frame memory 251 as shown in FIG.

【0163】本第5実施例のように、上記CCD2がC
MD2′等の固体撮像デバイスに置き換えられた場合、
等価的に遮光状態にあるデータを上記フレームメモリ2
51に記憶させることでランダムノイズと固定パターン
ノイズ成分も蓄えられる。この取り込むタイミングは、
図20で示したタイミングと同タイミングと考えてい
い。このような撮像素子を用いる場合は、そのまま画像
判定するとノイズまでエッジと判定してしまうので、本
実施例では、減算器252を用いて上記FPNを抑圧し
た後に画像判定するようになっている。
As in the fifth embodiment, the CCD 2 is C
When replaced with a solid-state imaging device such as MD2 ',
Data equivalently in the light-shielded state is transferred to the frame memory 2
Random noise and fixed pattern noise components are also stored by storing in 51. The timing of this capture is
It may be considered that the timing is the same as the timing shown in FIG. When such an image pickup device is used, if the image determination is performed as it is, noise is also determined to be an edge. Therefore, in the present embodiment, the subtracter 252 is used to perform the image determination after suppressing the FPN.

【0164】次に、本発明の第6実施例について説明す
る。
Next, a sixth embodiment of the present invention will be described.

【0165】図23は、上記第6実施例の画像処理装置
の構成を示したブロック図である。
FIG. 23 is a block diagram showing the structure of the image processing apparatus of the sixth embodiment.

【0166】この第6実施例の画像処理装置は、その構
成、作用は上記第1,第5実施例とほぼ同一であり、該
第5実施例と同様に撮像素子にCMDを採用しているこ
とを特徴とする。したがって、ここでは、差異のみの言
及に止め、同一部分の説明は省略する。
The image processing apparatus of the sixth embodiment has almost the same structure and operation as those of the first and fifth embodiments, and adopts the CMD as the image pickup element like the fifth embodiment. It is characterized by Therefore, here, only the differences will be referred to, and the description of the same parts will be omitted.

【0167】この第6実施例が上記第5実施例と異なる
点は、上記FPNのエッジをメモリに蓄えるFPNエッ
ジ用メモリ261を設けたことである。このFPNエッ
ジ用メモリ261は、上記FPN用フレームメモリ25
1と同様の役目を果たし、タイミングジェネレータ10
によって制御されるようになっている。
The sixth embodiment differs from the fifth embodiment in that an FPN edge memory 261 for storing the FPN edges in the memory is provided. The FPN edge memory 261 is the FPN frame memory 25.
The timing generator 10 plays the same role as 1.
Is controlled by the

【0168】このようなFPN用エッジメモリを画像判
定に用いると、下限値を可変制御することができる。ま
た、上記第5実施例は、画像全体をこのデータを用いる
わけだが、本第6実施例では、該メモリ261を利用す
ることによって、ここではXYアドレスそれぞれにFP
Nのエッジが蓄えられているので、画素毎に下限レベル
を変えることができ、より精度の良い判定ができるとい
う効果を有する。
When such an FPN edge memory is used for image determination, the lower limit value can be variably controlled. In the fifth embodiment, this data is used for the entire image, but in the sixth embodiment, by using the memory 261, the FP address is set for each XY address.
Since N edges are stored, the lower limit level can be changed for each pixel, and there is an effect that more accurate determination can be performed.

【0169】なお、請求項1記載の判定領域設定手段
は、上記カウンタリセット回路160に対応する。
The determination area setting means described in claim 1 corresponds to the counter reset circuit 160.

【0170】また、請求項1記載の変化量検出手段は、
上記変化量検出回路110に対応する。
Further, the change amount detecting means according to claim 1 is
It corresponds to the change amount detection circuit 110.

【0171】また、請求項1記載の第1の演算手段は、
上記変化量検出回路110,判定回路121a,122
a,カウンタ回路121b,122b,レジスタ121
c,122c,CPU14に対応する。
Further, the first arithmetic means according to claim 1 is
The change amount detection circuit 110 and the determination circuits 121a and 122
a, counter circuits 121b and 122b, register 121
c, 122c, corresponding to the CPU 14.

【0172】また、請求項1記載のエッジ部検出手段
は、上記判定回路121aに対応する。
The edge portion detecting means according to claim 1 corresponds to the judging circuit 121a.

【0173】また、請求項1記載の第2の演算手段は、
上記平均値回路130,比較回路123a,カウンタ回
路123b,レジスタ123c,CPU14に対応す
る。
Further, the second arithmetic means according to claim 1 is
It corresponds to the average value circuit 130, the comparison circuit 123a, the counter circuit 123b, the register 123c, and the CPU 14.

【0174】また、請求項1記載の画像種別決定手段
は、上記CPU14に対応する。
The image type determining means described in claim 1 corresponds to the CPU 14.

【0175】[0175]

【発明の効果】以上説明したように請求項1記載の発明
によれば、正確に画像の種別を判定する画像処理装置を
提供できる。
As described above, according to the first aspect of the present invention, it is possible to provide the image processing apparatus for accurately determining the image type.

【0176】請求項2または請求項3記載の発明によれ
ば、上記請求項1記載の発明の効果に加えて、画像の種
別毎に適した圧縮処理が行える。
According to the second or third aspect of the invention, in addition to the effect of the first aspect of the invention, a compression process suitable for each image type can be performed.

【0177】請求項4ないし請求項7記載の発明によれ
ば、被写体毎の影響を低減し、常に正確に画像の種別を
判定する画像処理装置を提供できる。
According to the inventions described in claims 4 to 7, it is possible to provide an image processing apparatus in which the influence of each subject is reduced and the type of image is always accurately determined.

【0178】請求項8記載の発明によれば、照明ムラの
影響を排除し、正確に画像の種別を判定する画像処理装
置を提供できる。
According to the eighth aspect of the present invention, it is possible to provide an image processing apparatus which eliminates the influence of illumination unevenness and accurately determines the type of image.

【0179】請求項9記載の発明によれば、簡単な構成
で、照明ムラの影響を排し、正確に画像の種別を判定す
ると共に、構成を簡略化した画像処理装置を提供でき
る。
According to the invention described in claim 9, it is possible to provide an image processing apparatus with a simple structure, which eliminates the influence of illumination unevenness, accurately determines the type of an image, and simplifies the structure.

【0180】請求項10記載の発明によれば、簡単な構
成で、正確に画像の種別を判定する特徴量を取得し得る
画像処理装置を提供できる。
According to the tenth aspect of the present invention, it is possible to provide an image processing apparatus having a simple configuration and capable of accurately acquiring the characteristic amount for accurately determining the image type.

【0181】請求項11記載の発明によれば、ノイズの
影響を排除し、正確に画像の種別を判定する特徴量を取
得し得る画像処理装置を提供できる。
According to the eleventh aspect of the present invention, it is possible to provide an image processing apparatus capable of eliminating the influence of noise and acquiring the characteristic amount for accurately determining the image type.

【0182】請求項12記載の発明によれば、より簡単
な構成で、正確に画像の種別を判定する特徴量を取得し
得る画像処理装置を提供できる。
According to the twelfth aspect of the present invention, it is possible to provide an image processing apparatus having a simpler configuration and capable of accurately acquiring the characteristic amount for determining the image type.

【0183】請求項13記載の発明によれば、簡単な構
成で、正確に画像の種別を判定する特徴量を高速に取得
し得る画像処理装置を提供できる。
According to the thirteenth aspect of the present invention, it is possible to provide an image processing apparatus having a simple structure and capable of quickly acquiring a feature amount for accurately determining the image type.

【0184】請求項14記載の発明によれば、適正な露
光状態の基で、正確に画像の種別を判定する画像処理装
置を提供できる。
According to the fourteenth aspect of the present invention, it is possible to provide an image processing apparatus that accurately determines the type of image based on an appropriate exposure state.

【0185】請求項15記載の発明によれば、適正な露
光状態の基で、ノイズの影響を排除し、より正確に画像
の種別を判定する画像処理装置を提供できる。
According to the fifteenth aspect of the present invention, it is possible to provide an image processing apparatus which determines the type of an image more accurately by eliminating the influence of noise under the proper exposure state.

【0186】請求項16ないし請求項23記載の発明に
よれば、ノイズの影響を排除し、より正確に画像の種別
を判定する画像処理装置を提供できる。
According to the sixteenth to twenty-third aspects of the present invention, it is possible to provide an image processing apparatus which eliminates the influence of noise and more accurately determines the type of image.

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

【図1】本発明の第1実施例である画像処理装置の概略
構成を示したブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of an image processing apparatus that is a first embodiment of the present invention.

【図2】上記第1実施例の画像処理装置における画像判
定およびこれに基づく信号処理動作のタイミングを示し
たタイミングチャートである。
FIG. 2 is a timing chart showing timing of image determination and signal processing operation based on the image determination in the image processing apparatus of the first embodiment.

【図3】上記第1実施例の画像処理装置における画像判
定回路とその周辺部であるSSG,CPUの構成を示し
たブロック図である。
FIG. 3 is a block diagram showing a configuration of an image determination circuit and peripheral portions of SSG and CPU in the image processing apparatus of the first embodiment.

【図4】上記第1実施例の画像処理装置におけるカウン
タリセット回路の動作を説明する説明図である。
FIG. 4 is an explanatory diagram illustrating an operation of a counter reset circuit in the image processing apparatus according to the first embodiment.

【図5】上記第1実施例の画像処理装置における変化量
検出回路の構成を示したブロック回路図である。
FIG. 5 is a block circuit diagram showing a configuration of a change amount detection circuit in the image processing apparatus of the first embodiment.

【図6】上記第1実施例の画像処理装置におけるA/D
コンバータから出力される画像データ信号S0を説明す
る説明図である。
FIG. 6 is an A / D in the image processing apparatus according to the first embodiment.
It is explanatory drawing explaining the image data signal S0 output from a converter.

【図7】上記第1実施例の画像処理装置における画像デ
ータの分割設定の一例を示した説明図である。
FIG. 7 is an explanatory diagram showing an example of division setting of image data in the image processing apparatus of the first embodiment.

【図8】上記第1実施例の画像処理装置における判定回
路の構成を示したブロック回路図である。
FIG. 8 is a block circuit diagram showing a configuration of a determination circuit in the image processing apparatus of the first embodiment.

【図9】上記第1実施例の画像処理装置におけるカウン
タ回路の構成を示したブロック回路図である。
FIG. 9 is a block circuit diagram showing a configuration of a counter circuit in the image processing apparatus of the first embodiment.

【図10】上記第1実施例の画像処理装置における平均
値回路の構成を示す電気回路図である。
FIG. 10 is an electric circuit diagram showing a configuration of an average value circuit in the image processing apparatus of the first embodiment.

【図11】上記第1実施例の画像処理装置における画像
種決定回路の判定方法の例を示した説明図である。
FIG. 11 is an explanatory diagram showing an example of a determination method of an image type determination circuit in the image processing apparatus of the first embodiment.

【図12】上記第1実施例の画像処理装置における画像
種決定回路の判定方法の例を示した説明図である。
FIG. 12 is an explanatory diagram showing an example of a determination method of an image type determination circuit in the image processing apparatus of the first embodiment.

【図13】上記第1実施例の画像処理装置における露出
・合焦制御部の動作について画面内に白板をとっている
状態を示した説明図である。
FIG. 13 is an explanatory diagram showing the operation of the exposure / focus control unit in the image processing apparatus of the first embodiment, showing a state where a white plate is taken within the screen.

【図14】上記第1実施例の画像処理装置における露出
・合焦制御部に関し、(a)は輝度分布を示した線図で
あり、(b)は、平均輝度と度数との関係を示した線図
である。
FIG. 14 is a diagram showing a luminance distribution in the exposure / focus control unit in the image processing apparatus of the first embodiment, and FIG. 14B is a diagram showing a relationship between average luminance and frequency. FIG.

【図15】本発明の第2実施例の画像処理装置における
主要部を示したブロック回路である。
FIG. 15 is a block circuit showing a main part of the image processing apparatus of the second embodiment of the present invention.

【図16】上記第2実施例の画像処理装置における撮影
画面のエリアを示した説明図である。
FIG. 16 is an explanatory diagram showing areas of a shooting screen in the image processing apparatus of the second embodiment.

【図17】本発明の第3実施例の画像処理装置における
主要部を示したブロック回路図である。
FIG. 17 is a block circuit diagram showing a main part of an image processing apparatus according to a third embodiment of the present invention.

【図18】上記第3実施例の画像処理装置におけるカウ
ンタの動作を示したタイミングチャートである。
FIG. 18 is a timing chart showing the operation of the counter in the image processing apparatus of the third embodiment.

【図19】本発明の第4実施例の画像処理装置における
主要部を示したブロック回路図である。
FIG. 19 is a block circuit diagram showing a main part of an image processing apparatus according to a fourth embodiment of the present invention.

【図20】上記第4実施例の画像処理装置における微分
変化量検出部の動作を示したタイミングチャートであ
る。
FIG. 20 is a timing chart showing the operation of the differential change amount detection unit in the image processing apparatus of the fourth embodiment.

【図21】上記第4実施例の画像処理装置における微分
変化量検出部の構成を示したブロック回路図である。
FIG. 21 is a block circuit diagram showing a configuration of a differential change amount detection unit in the image processing device of the fourth embodiment.

【図22】本発明の第5実施例の画像処理装置の構成を
示したブロック図である。
FIG. 22 is a block diagram showing the configuration of an image processing apparatus according to a fifth embodiment of the present invention.

【図23】本発明の第6実施例の画像処理装置の構成を
示したブロック図である。
FIG. 23 is a block diagram showing the configuration of an image processing apparatus according to a sixth embodiment of the present invention.

【図24】一画像における輝度分布を示した線図であ
る。
FIG. 24 is a diagram showing a luminance distribution in one image.

【図25】上記第1実施例の画像処理装置において、比
較回路および判定回路の動作について説明する線図であ
る。
FIG. 25 is a diagram illustrating operations of a comparison circuit and a determination circuit in the image processing apparatus according to the first embodiment.

【図26】文書画像における画素データの変化量の頻度
の一例を示した線図である。
FIG. 26 is a diagram showing an example of frequency of pixel data change amounts in a document image.

【図27】自然画像における画素データの変化量の頻度
の一例を示した線図である。
FIG. 27 is a diagram showing an example of the frequency of the amount of change in pixel data in a natural image.

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

1…撮影光学系 2…CCD 3…プロセス回路 4…A/Dコンバータ 5…メインメモリ 6…単純2値化回路 7…擬似中間調処理回路 8…スイッチ 9…圧縮回路 10…タイミングジェネレータ(TG) 11…同期信号発生回路(SSG) 12…メモリコントローラ 13…露出・合焦制御部 14…CPU 15…画像判定回路 110…変化量検出回路 160…カウンタリセット回路 121a,121b…判定回路 121b,122b,123b…カウンタ回路 123a…比較回路 121c,122c,123c…レジスタ 代理人 弁理士 伊 藤 進 1 ... Shooting optical system 2 ... CCD 3 ... Process circuit 4 ... A / D converter 5 ... Main memory 6 ... Simple binarization circuit 7 ... Pseudo halftone processing circuit 8 ... Switch 9 ... Compression circuit 10 ... Timing generator (TG) 11 ... Sync signal generation circuit (SSG) 12 ... Memory controller 13 ... Exposure / focus control section 14 ... CPU 15 ... Image determination circuit 110 ... Change amount detection circuit 160 ... Counter reset circuit 121a, 121b ... Determination circuit 121b, 122b, 123b ... Counter circuit 123a ... Comparison circuit 121c, 122c, 123c ... Register Agent Attorney Susumu Ito

Claims (23)

【特許請求の範囲】[Claims] 【請求項1】 画像の種別を判定するための判定領域を
当該画面内の所定領域に設定する判定領域設定手段と、 前記画面内に設定された、画素データの変化量を検出す
る対象とする変化量検出領域を前記判定領域上の該当部
に被せるような状態で移動させながら該変化量検出領域
の画素データの変化量を逐次求める変化量検出手段と、 この変化量検出手段で検出された各変化量に対する、前
記判定領域内での度数情報に基づいて第1の判定特徴量
を求める第1の演算手段と、 前記変化量検出領域における画像のエッジ部を検出する
エッジ部検出手段と、 このエッジ部検出手段で検出されたエッジ部を構成する
画素群の画素データに対する前記判定領域内での度数情
報に基づいて第2の判定特徴量を求める第2の演算手段
と、 前記第1の演算手段による第1の判定特徴量と、前記第
2の演算手段による第2の判定特徴量とから、少なくと
も当該設定された判定領域の画像の種別を決定する画像
種別決定手段と、 を具備したことを特徴とする画像処理装置。
1. A determination area setting means for setting a determination area for determining an image type in a predetermined area in the screen, and an object for detecting the amount of change in pixel data set in the screen. A change amount detecting unit that sequentially obtains a change amount of pixel data in the change amount detecting region while moving the change amount detecting region so as to cover the corresponding portion on the determination region, and the change amount detecting unit detects the change amount. First computing means for obtaining a first determination feature amount based on frequency information in the determination area for each variation amount; edge portion detecting means for detecting an edge portion of an image in the variation amount detection area; Second computing means for obtaining a second determination feature amount based on frequency information in the determination region for pixel data of pixel groups forming the edge portion detected by the edge portion detecting means; Calculation Image type determining means for determining at least the type of the image of the set determination area from the first determination characteristic amount by the step and the second determination characteristic amount by the second computing means. An image processing device characterized by:
【請求項2】 自然画のデータを圧縮するのに適した第
1のデータ圧縮手段と、 文字画のデータを圧縮するのに適した第2のデータ圧縮
手段と、 を更に含み、前記画像種別決定手段の出力に応じて前記
第1または第2のデータ圧縮手段を適応的に選択して、
少なくとも当該設定された判定領域のデータ圧縮処理を
行なう手段を備えたことを特徴とする請求項1記載の画
像処理装置。
2. The image type according to claim 1, further comprising: first data compression means suitable for compressing natural image data, and second data compression means suitable for compressing character image data. Adaptively selecting the first or second data compression means according to the output of the determination means,
The image processing apparatus according to claim 1, further comprising means for performing data compression processing of at least the set determination area.
【請求項3】 上記第1のデータ圧縮手段および/また
は第2のデータ圧縮手段は、画像の2値化処理を行なう
ものであることを特徴とする請求項2記載の画像処理装
置。
3. The image processing apparatus according to claim 2, wherein the first data compressing means and / or the second data compressing means performs image binarization processing.
【請求項4】 上記変化量検出手段は、変化量検出領域
を、前記判定領域の大きさに拘わらず当該画面内に包含
されるよう設定するようになされたものであることを特
徴とする請求項1記載の画像処理装置。
4. The change amount detection means is configured to set a change amount detection area so as to be included in the screen regardless of the size of the determination area. The image processing apparatus according to item 1.
【請求項5】 上記判定領域設定手段は、判定領域を可
変設定するものであることを特徴とする請求項1記載の
画像処理装置。
5. The image processing apparatus according to claim 1, wherein the determination area setting means variably sets the determination area.
【請求項6】 上記判定領域設定手段は、判定領域を複
数設定することが可能になされたものであることを特徴
とする請求項1記載の画像処理装置。
6. The image processing apparatus according to claim 1, wherein the determination area setting means is capable of setting a plurality of determination areas.
【請求項7】 上記複数設定された判定領域に対応して
上記第1および第2の判定特徴量の演算を行なうための
度数情報に重みづけを行う手段を更に備えてなることを
特徴とする請求項6記載の画像処理装置。
7. The method further comprises means for weighting frequency information for calculating the first and second determination feature amounts corresponding to the plurality of determination regions set. The image processing apparatus according to claim 6.
【請求項8】 上記変化量検出手段は、当該変化量検出
領域の変化量を、当該変化量検出領域内の平均画素デー
タで正規化する手段を備えてなるものであることを特徴
とする請求項1記載の画像処理装置。
8. The change amount detection means comprises means for normalizing the change amount of the change amount detection area with average pixel data in the change amount detection area. The image processing apparatus according to item 1.
【請求項9】 上記変化量検出手段は、当該変化量検出
領域をm×n(m,nは任意の自然数)画素の矩形の領
域とし、当該変化量検出領域の少なくとも角の部分の画
素データを用いて画素データの変化量を検出するように
なされたものであることを特徴とする請求項1記載の画
像処理装置。
9. The change amount detection means sets the change amount detection area as a rectangular area of m × n (m and n are arbitrary natural numbers) pixels, and pixel data of at least a corner portion of the change amount detection area. The image processing apparatus according to claim 1, wherein the image processing apparatus is configured to detect the amount of change in pixel data by using.
【請求項10】 上記第1の演算手段は、上記変化量検
出手段により求められた画素データの変化量を異なる2
つの条件により判定し、各条件毎にそれを満たす画素デ
ータの属する変化量検出領域の数をカウントし、それぞ
れのカウント値の比を第1の判定特徴量とするようにな
されたものであることを特徴とする請求項1記載の画像
処理装置。
10. The first calculation means changes the variation amount of the pixel data obtained by the variation amount detecting means.
One condition is determined, the number of change amount detection regions to which pixel data satisfying each condition belongs is counted, and the ratio of each count value is used as the first determination feature amount. The image processing apparatus according to claim 1, wherein:
【請求項11】 上記第1の演算手段は、上記変化量検
出手段により求められた画素データの変化量が所定の値
に満たない画素データの属する変化量検出領域の数をカ
ウント値から除外するようになされたものであることを
特徴とする請求項10記載の画像処理装置。
11. The first calculation means excludes from the count value the number of change amount detection regions to which the pixel data change amount calculated by the change amount detection means is less than a predetermined value. The image processing apparatus according to claim 10, wherein the image processing apparatus is configured as described above.
【請求項12】 上記エッジ部検出手段は、上記変化量
検出手段により求められた画素データの変化量を判定す
る異なる2つの条件のいずれか一方の条件によりエッジ
部を検出するようになされたものであることを特徴とす
る請求項10記載の画像処理装置。
12. The edge part detecting means is adapted to detect the edge part under either one of two different conditions for judging the amount of change in pixel data obtained by the amount of change detecting means. The image processing apparatus according to claim 10, wherein
【請求項13】 上記第2の演算手段は、変化量検出領
域内の平均画素データが所定の値より大なるまたは小な
る変化量検出領域の数と、エッジ部を含む変化量検出領
域の数との比を第2の判定特徴量とするようになされた
ものであることを特徴とする請求項1記載の画像処理装
置。
13. The second calculation means includes the number of change amount detection areas in which the average pixel data in the change amount detection area is larger or smaller than a predetermined value, and the number of change amount detection areas including an edge portion. 2. The image processing apparatus according to claim 1, wherein the ratio of the second determination feature amount is set as the second determination feature amount.
【請求項14】 少なくとも当該設定された判定領域の
画像データを生成する手段を含み、画像の種別の決定に
先立って合焦動作または露出制御動作を行うための手段
を備えてなることを特徴とする請求項1記載の画像処理
装置。
14. A means for generating image data of at least the set determination area, and means for performing a focusing operation or an exposure control operation prior to determining an image type. The image processing device according to claim 1.
【請求項15】 少なくとも当該設定された判定領域の
画像データを生成する手段を含み、露出条件に応じて上
記第1および第2の判定特徴量を求める条件を可変する
ための手段を備えたことを特徴とする請求項1記載の画
像処理装置。
15. A means for generating image data of at least the set determination area, and means for varying conditions for obtaining the first and second determination feature amounts according to an exposure condition. The image processing apparatus according to claim 1, wherein:
【請求項16】 少なくとも当該設定された判定領域の
画像データを生成する手段を含み、遮光状態にある画素
のデータを得て、このデータを考慮して画像の種別を判
定するための手段を備えたことを特徴とする請求項1記
載の画像処理装置。
16. A means for generating image data of at least the set determination area, for obtaining data of a pixel in a light-shielded state, and for determining the type of image in consideration of the data. The image processing apparatus according to claim 1, wherein the image processing apparatus comprises:
【請求項17】 上記画像の種別を判定するための手段
は、遮光状態にある画素のデータを取得するについて、
Nフィールド(Nは任意の自然数)の期間の微分変化量
を検出してこのNフィールド期間における最大微分変化
量レベルを取得するようにして行い、画像の種別の判定
時に利用するように構成されたものであることを特徴と
する請求項16記載の画像処理装置。
17. The means for determining the type of the image includes acquiring data of pixels in a light-shielded state,
The differential change amount in the N field period (N is an arbitrary natural number) is detected to obtain the maximum differential change amount level in the N field period, and is used when determining the image type. The image processing device according to claim 16, wherein the image processing device is a device.
【請求項18】 上記画像データを生成する手段は増幅
型撮像素子で構成されており、該増幅型撮像素子を用い
たことにより発生する固定パターンノイズを取り除いた
後の画像を画像の種別の判定に供せしめるための手段を
備えたことを特徴とする請求項16記載の画像処理装
置。
18. The means for generating the image data is composed of an amplification type image pickup device, and the image after the fixed pattern noise generated by using the amplification type image pickup device is removed is determined as the image type. The image processing apparatus according to claim 16, further comprising means for providing the image processing apparatus.
【請求項19】 上記画像データを生成する手段は増幅
型撮像素子で構成されており、各々の画素に対応する固
定パターンノイズの微分変化量を画像の種別の判定に供
せしめるための手段を備えたことを特徴とする請求項1
6記載の画像処理装置。
19. The means for generating the image data is composed of an amplification type image pickup device, and is provided with means for providing the differential change amount of fixed pattern noise corresponding to each pixel to the determination of the image type. Claim 1 characterized by the above.
7. The image processing device according to 6.
【請求項20】 光学系より取り込まれた画像の種別を
判定するための画像処理装置において、 光学的に遮光状態にあるときの画像信号成分を得る遮光
状態信号成分取得手段を備え、該遮光状態信号成分取得
手段からの信号成分を考慮して画像の種別を判定する手
段を備えることを特徴とする画像処理装置。
20. An image processing apparatus for determining the type of an image captured by an optical system, comprising: a light blocking state signal component obtaining means for obtaining an image signal component when optically in a light blocking state, the light blocking state An image processing apparatus comprising: a unit that determines a type of an image in consideration of a signal component from a signal component acquisition unit.
【請求項21】 上記遮光状態信号成分取得手段は、n
フィールドの期間の微分変化量検出手段を備え、このn
フィールド期間における最大微分変化量を取得し、画像
の種別の判定時に利用するようになされたものであるこ
とを特徴とする請求項20記載の画像処理装置。
21. The light-shielding state signal component acquisition means is n
A differential change amount detection means for the field period is provided, and this n
21. The image processing apparatus according to claim 20, wherein the maximum differential change amount in the field period is acquired and used when determining the image type.
【請求項22】 上記光学系は増幅型固体撮像素子を備
え、該増幅型固体撮像素子を用いたことにより発生する
固定パターンノイズを取り除いた後の画像に対し、画像
の種別の判定を行う手段と備えたことを特徴とする請求
項20記載の画像処理装置。
22. The optical system includes an amplification type solid-state imaging device, and means for determining the type of the image after the fixed pattern noise generated by using the amplification type solid-state imaging device is removed. The image processing apparatus according to claim 20, further comprising:
【請求項23】 上記光学系は増幅型固体撮像素子を備
え、上記固定パターンノイズより各々の画素に対応する
固定パターンノイズエッジを、画像の種別の判定時に利
用するように構成されたことを特徴とする請求項20記
載の画像処理装置。
23. The optical system includes an amplification type solid-state imaging device, and is configured to use a fixed pattern noise edge corresponding to each pixel from the fixed pattern noise when determining a type of an image. The image processing apparatus according to claim 20, wherein
JP7152026A 1995-06-19 1995-06-19 Picture processor Pending JPH099050A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7152026A JPH099050A (en) 1995-06-19 1995-06-19 Picture processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7152026A JPH099050A (en) 1995-06-19 1995-06-19 Picture processor

Publications (1)

Publication Number Publication Date
JPH099050A true JPH099050A (en) 1997-01-10

Family

ID=15531443

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7152026A Pending JPH099050A (en) 1995-06-19 1995-06-19 Picture processor

Country Status (1)

Country Link
JP (1) JPH099050A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006319541A (en) * 2005-05-11 2006-11-24 Casio Comput Co Ltd Imaging apparatus, moving image processing method, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006319541A (en) * 2005-05-11 2006-11-24 Casio Comput Co Ltd Imaging apparatus, moving image processing method, and program

Similar Documents

Publication Publication Date Title
KR100886311B1 (en) Digital camera with smear removal
US7965323B2 (en) Flicker detecting circuit and method in image sensor
US20090091645A1 (en) Multi-exposure pattern for enhancing dynamic range of images
US20080112644A1 (en) Imaging device
US8482618B2 (en) Reduction of motion-induced blur in images
CN110740266B (en) Image frame selection method and device, storage medium and electronic equipment
EP2517460A1 (en) Creating a high dynamic range image using still and preview images
CN103888661A (en) Image pickup apparatus, image pickup system and method of controlling image pickup apparatus
JP3476400B2 (en) Flicker detection / correction apparatus and flicker detection / correction method
KR101120966B1 (en) Hand Jitter Reduction System for Camera
CN111586312A (en) Automatic exposure control method and device, terminal and storage medium
US20130063622A1 (en) Image sensor and method of capturing an image
JP2019110430A (en) Control apparatus, imaging apparatus, control method, and program
JP4694424B2 (en) Authentication device
JP2003319407A (en) Imaging apparatus
JP2013031010A (en) Imaging apparatus, imaging method, and program
JP2011100204A (en) Image processor, image processing method, image processing program, imaging apparatus, and electronic device
JP7246894B2 (en) Imaging device and its control method
EP1557790A2 (en) Noise reduction in low-illuminance image
JPH099050A (en) Picture processor
JP2006094419A (en) Image signal processing apparatus and image signal processing method
KR100252159B1 (en) Digital still camera
US20070019105A1 (en) Imaging apparatus for performing optimum exposure and color balance control
JP5721552B2 (en) Imaging apparatus and image composition method
JP4629002B2 (en) Imaging device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050404

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050517

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060613