JP2698296B2 - Image processing circuit - Google Patents

Image processing circuit

Info

Publication number
JP2698296B2
JP2698296B2 JP4229514A JP22951492A JP2698296B2 JP 2698296 B2 JP2698296 B2 JP 2698296B2 JP 4229514 A JP4229514 A JP 4229514A JP 22951492 A JP22951492 A JP 22951492A JP 2698296 B2 JP2698296 B2 JP 2698296B2
Authority
JP
Japan
Prior art keywords
data
luminance
representative value
change
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP4229514A
Other languages
Japanese (ja)
Other versions
JPH0678332A (en
Inventor
日出人 藤田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP4229514A priority Critical patent/JP2698296B2/en
Publication of JPH0678332A publication Critical patent/JPH0678332A/en
Application granted granted Critical
Publication of JP2698296B2 publication Critical patent/JP2698296B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Processing Of Color Television Signals (AREA)
  • Image Processing (AREA)

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 circuit for improving the contrast of an input image and outputting the image.

【0002】[0002]

【従来の技術】従来、カメラ一体型VTRやレーザーデ
ィスクプレーヤ等の映像機器からの再生映像信号、或い
はTV放送によって送られてくる映像信号を直接に画像
として印画紙に印写出来るカラービデオプリンタが開発
されている。
2. Description of the Related Art Heretofore, there has been a color video printer capable of printing a reproduced video signal from a video device such as a camera-integrated VTR or a laser disk player, or a video signal transmitted by TV broadcasting as an image directly on photographic paper. Is being developed.

【0003】ところで、カメラ一体型VTRによって所
望の被写体を撮影する場合、露出、ピント、ホワイトバ
ランス等を対象とする自動調整機能が働くが、撮影せん
とする被写体及び背景からなる画像の性質はまちまちで
あるため、実際には最適な調整状態を実現することは困
難である。従って、この様なカメラ一体型VTRからの
撮像信号をそのままビデオプリンタへ供給して画像を印
写した場合、充分なコントラストの画像が得られないこ
とがある。
[0003] When a desired subject is photographed by a camera-integrated VTR, an automatic adjustment function for exposure, focus, white balance, and the like works, but the nature of the image composed of the subject to be photographed and the background varies. Therefore, it is actually difficult to realize the optimum adjustment state. Therefore, when the image pickup signal from such a camera-integrated VTR is directly supplied to a video printer to print an image, an image having a sufficient contrast may not be obtained.

【0004】そこで、入力画像のコントラストを改善す
るべく、ヒストグラム変換と呼ばれる手法が提案されて
いる(例えば「画像工学ハンドブック」樋渡涓二編、朝
倉書店、第215頁)。該手法は、画面を構成する画像デー
タの度数分布を予め調べておき、該ヒストグラムが適切
な分布となるようにデータ変換を施すものである。
To improve the contrast of an input image, a technique called histogram conversion has been proposed (for example, "Image Engineering Handbook" edited by Kenji Hiwatari, Asakura Shoten, p. 215). In this method, a frequency distribution of image data forming a screen is checked in advance, and data conversion is performed so that the histogram has an appropriate distribution.

【0005】[0005]

【発明が解決しようとする課題】ヒストグラム変換法
は、予め処理すべき画像の性質が判明している場合に
は、コントラスト改善に極めて有効な手法であるが、カ
メラ一体型VTRを用いて撮影した画像の如く、処理す
べき画像がまちまちの場合には、画像の性質が不明であ
り、画一的なデータ変換方式では、所期の効果が得られ
ない場合がある。
The histogram conversion method is an extremely effective method for improving the contrast when the properties of the image to be processed are known in advance. If the images to be processed are different, such as images, the nature of the images is unknown, and the desired effect may not be obtained with a uniform data conversion method.

【0006】一般には、画像の中の暗い領域はより暗
く、明るい領域はより明るくする様にデータ変換を施す
ことによってコントラストが改善されるが、カラー画像
の場合は、同じ輝度を有する画像領域であっても、彩度
が異なる領域に対して同様の変換処理を施すと、例えば
濃い紺色が黒色に変換されたり、明るい青色が白色に変
換されて、所謂「色ツブレ」の問題を生じる。
In general, contrast is improved by performing data conversion so that dark areas in an image are darker and bright areas are brighter. However, in the case of a color image, an image area having the same luminance is used. Even so, if similar conversion processing is performed on regions having different saturations, for example, dark navy blue is converted to black or light blue is converted to white, which causes a problem of so-called “color blur”.

【0007】本発明の目的は、処理すべき入力画像の性
質に応じて適切なデータ変換が行なわれて、画質の低下
を来すことなくコントラストの改善が図られる画像処理
回路を提供することである。
An object of the present invention is to provide an image processing circuit in which appropriate data conversion is performed in accordance with the characteristics of an input image to be processed and the contrast can be improved without lowering the image quality. is there.

【0008】[0008]

【課題を解決する為の手段】本発明に係る画像処理回路
は、入力画像の性質を検出するための第1乃至第3の検
出手段と、入力画像データにデータ変換を施して出力す
るデータ変換手段と、前記データ変換の方式に対し画像
の性質に応じた修正を加える修正手段とを具えている。
An image processing circuit according to the present invention comprises first to third detecting means for detecting the characteristics of an input image, and data conversion for performing data conversion on input image data and outputting the result. Means for correcting the data conversion method according to the nature of the image.

【0009】第1検出手段は、入力画像を構成する単位
領域毎の輝度を表わす輝度データと、入力画像全体に亘
る輝度変化の程度を表わす輝度変化データと、入力画像
内の高輝度部及び低輝度部の彩度を表わす彩度データと
を検出するものである。第2検出手段は、入力画像の
内、主要被写体領域を検出するものである。又、第3検
出手段は、入力画面全体についての輝度データの最大値
及び最小値である第1代表値MX及び第2代表値MN
と、主要被写体領域内の輝度データの最大値及び最小値
である第3代表値MXO及び第4代表値MNOとを検出
するものである。
The first detecting means includes luminance data representing luminance for each unit area constituting the input image, luminance change data representing the degree of luminance change over the entire input image, a high luminance portion and a low luminance portion in the input image. Chroma data representing the chroma of the luminance portion is detected. The second detecting means detects a main subject area in the input image. Further, the third detecting means includes a first representative value MX and a second representative value MN which are the maximum value and the minimum value of the luminance data for the entire input screen.
And a third representative value MXO and a fourth representative value MNO which are the maximum value and the minimum value of the luminance data in the main subject area.

【0010】データ変換手段は、入力画像データと出力
画像データの関係を表わす所定のデータ変換方式に従っ
て、入力画像データにデータ変換処理を施して出力する
ものである。修正手段は、前記第1代表値MX及び第3
代表値MXOに対しては夫々変化量ΔMX及びΔMX
O、第2代表値MN及び第4代表値MNOに対しては
々変化量ΔMN及びΔMNOを与えて、前記画像データ
の入出力関係に修正を施すものであって、少なくとも下
記の3つの条件を満たす様、前記各変化量ΔMX、ΔM
XO、ΔMN、ΔMNOを規定する。
The data conversion means is for subjecting the input image data to data conversion processing according to a predetermined data conversion method representing the relationship between the input image data and the output image data, and outputting the data. The correction means includes a first representative value MX and a third representative value MX.
For the representative value MXO, the change amounts ΔMX and ΔMX respectively
O, husband for the second representative value MN and fourth representative value MNO
The input / output relationship of the image data is corrected by giving the amounts of change ΔMN and ΔMNO, and the amounts of change ΔMX and ΔM are adjusted so as to satisfy at least the following three conditions.
XO, ΔMN, and ΔMNO are defined.

【0011】[0011]

【0012】尚、上記第2検出手段としては、入力画像
の空間周波数を算出して、高周波成分を多く含む領域を
主要被写体領域として検出する構成を採用することがで
きる。
The second detecting means may employ a configuration in which a spatial frequency of an input image is calculated and a region containing a large number of high frequency components is detected as a main subject region.

【0013】[0013]

【作用】入力画像データは、データ変換手段へ入力され
て、所定のデータ変換方式にデータ変換処理を施された
後、後段回路へ出力される。この際、修正手段によって
第1乃至第4代表値MX、MN、MXO及びMNOに対
する各変化量ΔMX、ΔMN、ΔMXO及びΔMNO
が、輝度変化データ、彩度データ、及び主要被写体領域
の集中度に基づいて規定されているので、入力画像に応
じた最適な値に可変設定され、最適なデータ変換方式が
規定される。これによって、コントラストの向上が図ら
れると同時に、所謂「色ツブレ」が防止される。
The input image data is input to the data conversion means, subjected to data conversion processing according to a predetermined data conversion method, and then output to a subsequent circuit. At this time, by the modification means
For the first to fourth representative values MX, MN, MXO and MNO
Change amounts ΔMX, ΔMN, ΔMXO and ΔMNO
Are luminance change data, saturation data, and main subject area
Is defined based on the degree of concentration of
The optimal data conversion method is set variably to the optimal value
Stipulated. This improves the contrast
At the same time, so-called "color blur" is prevented.

【0014】[0014]

【0015】[0015]

【0016】[0016]

【0017】[0017]

【0018】[0018]

【発明の効果】本発明に係る画像処理回路によれば、処
理すべき入力画像の性質に応じて適切なデータ変換が行
なわれるから、画質の低下を来すことなくコントラスト
の改善を図ることが出来る。
According to the image processing circuit of the present invention, appropriate data conversion is performed in accordance with the characteristics of the input image to be processed, so that the contrast can be improved without lowering the image quality. I can do it.

【0019】[0019]

【実施例】以下、本発明をビデオプリンタに実施した一
例につき、図面に沿って詳述する。図1に示す如く、カ
メラ一体型VTR等の映像機器から供給されるアナログ
映像信号は、A/D変換器(1)にてデジタル映像信号に
変換された後、1枚の画像を構成すべきデジタル映像信
号が輝度データY及び色差データU、Vとして画像メモ
リ回路(2)に採り込まれる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which the present invention is applied to a video printer will be described below in detail with reference to the drawings. As shown in FIG. 1, an analog video signal supplied from a video device such as a camera-integrated VTR should be converted into a digital video signal by an A / D converter (1) to form one image. The digital video signal is taken into the image memory circuit (2) as luminance data Y and color difference data U and V.

【0020】画像メモリ回路(2)内のデータはメモリ制
御回路(4)によって読み出され、更にデータ変換回路
(6)にてRGB信号に変換される。この際、輝度データ
YはルックアップテーブルLUT(5)へ入力されて、所
定のデータ変換が施された上、データ変換回路(6)へ出
力される。LUT(5)は後述の回路によって予め入出力
関係が規定されている。
The data in the image memory circuit (2) is read out by the memory control circuit (4), and further read out by the data conversion circuit.
In (6), it is converted into an RGB signal. At this time, the luminance data Y is input to the look-up table LUT (5), subjected to predetermined data conversion, and output to the data conversion circuit (6). The input / output relationship of the LUT (5) is defined in advance by a circuit described later.

【0021】即ち、画像メモリ回路(2)内のデータは画
面分割評価回路(3)へ供給される。画面分割評価回路
(3)は、図6に示す如く画面を複数(例えば8×8=6
4)の単位領域に分割して、各単位領域毎の平均輝度デ
ータ(以下、単に輝度データという)を検出する。
That is, the data in the image memory circuit (2) is supplied to the screen division evaluation circuit (3). Screen division evaluation circuit
(3) shows a case where a plurality of screens (for example, 8 × 8 = 6) are used as shown in FIG.
It is divided into the unit areas of 4), and average luminance data (hereinafter, simply referred to as luminance data) for each unit area is detected.

【0022】画面全体に亘る輝度データは主制御回路
(7)へ供給され、その最大値、最小値、平均値、及び標
準偏差が算出される。
The luminance data over the entire screen is controlled by the main control circuit.
The maximum value, the minimum value, the average value, and the standard deviation are calculated.

【0023】又、画面は図7の如く、前記単位領域より
も大きな複数の画面ブロックP0、P1、P2、P3、P4
に分割され、画面ブロック毎の輝度データの平均値が算
出される。
As shown in FIG. 7, the screen has a plurality of screen blocks P 0 , P 1 , P 2 , P 3 , P 4 larger than the unit area.
And the average value of the luminance data for each screen block is calculated.

【0024】尚、これらの画面ブロックは、図6の如く
画面中央部に1人の人物が位置する最も一般的な画面の
構図を考慮して規定されたものであり、図7に示す画面
ブロックP2が最も主要な領域であり、その周囲の画面
ブロックP0、P1、P3、P4は比較的重要度の低い領域
である。
These screen blocks are defined in consideration of the most common screen composition in which one person is located at the center of the screen as shown in FIG. 6, and the screen blocks shown in FIG. P 2 is the most important region, the screen block P 0 of the surrounding, P 1, P 3, P 4 is less critical area.

【0025】又主制御回路(7)は、画面全体についての
明るさの程度を表わす明度データを規定するべく、図7
の如く画面ブロック毎に、重要度に応じた重み付け係数
0(=0.1)、W1(=0.2)、W2(=0.3)、W3(=
0.2)、W4(=0.2)を設定し、下記数1によって、評
価輝度値Eを算出する。ここで、P0、P1、P2
3、、P4は画面ブロック毎の輝度データの平均値を表
わしている。
Further, the main control circuit (7) controls the brightness of the entire screen by defining brightness data representing the degree of brightness as shown in FIG.
, Weighting coefficients W 0 (= 0.1), W 1 (= 0.2), W 2 (= 0.3), W 3 (=
0.2) and W 4 (= 0.2) are set, and the evaluation luminance value E is calculated by the following equation (1). Where P 0 , P 1 , P 2 ,
P 3 and P 4 represent average values of luminance data for each screen block.

【0026】[0026]

【数1】E=P00+P11+P22+P33+P44 E = P 0 W 0 + P 1 W 1 + P 2 W 2 + P 3 W 3 + P 4 W 4

【0027】そして、画面全体についての平均輝度値A
と上記評価輝度値とを図8の如く比較回路(9)へ入力し
て大小比較を行ない、A>Eのときは画面が暗く、A=
Eのときは画面の明るさが適正であり、A<Eのときは
画面が明るいと判断し、(E−A)の値を明度データと
して規定する。
Then, the average luminance value A for the entire screen
8 and the evaluation luminance value are input to a comparison circuit (9) as shown in FIG. 8, and a magnitude comparison is performed. When A> E, the screen is dark and A = E
When E, the screen brightness is appropriate, and when A <E, it is determined that the screen is bright, and the value of (EA) is defined as brightness data.

【0028】尚、上記明度データの規定方式は、カメラ
一体型VTRにおけるビデオカメラの露出制御にて、従
来より画像の明るさを判定するために採用されているも
のである。
The above-described method of defining brightness data has been conventionally employed for determining the brightness of an image by controlling the exposure of a video camera in a camera-integrated VTR.

【0029】更に、最大輝度を有する単位領域の彩度
と、最小輝度を有する単位領域の彩度が検知され、これ
らが彩度データとして規定される。
Further, the saturation of the unit area having the maximum luminance and the saturation of the unit area having the minimum luminance are detected, and these are defined as the saturation data.

【0030】主制御回路(7)は、上述の輝度データに周
波数解析を施して画面の空間周波数を算出し、所定の閾
値以上の高周波領域を主要被写体領域として規定し、該
主要被写体領域が1箇所に集中して存在するか、或いは
分散して存在するかを検出する。又、主要被写体領域の
最大輝度及び最小輝度を算出する。ビデオカメラによる
撮影においては、オートフォーカス機能によって主要被
写体を目的として焦点が合わされるため、高周波領域が
即ち主要被写体領域となるのである。
The main control circuit (7) performs a frequency analysis on the above-mentioned luminance data to calculate a spatial frequency of the screen, defines a high-frequency region equal to or higher than a predetermined threshold as a main subject region, and sets the main subject region to 1 It is detected whether it exists in a concentrated manner or in a dispersed manner. Further, the maximum luminance and the minimum luminance of the main subject area are calculated. In photographing with a video camera, the autofocus function focuses on the main subject, so that the high-frequency region is the main subject region.

【0031】そして、主制御回路(7)は、上記の処理に
よって得られた輝度データ、標準偏差、明度データ、彩
度データ等の画面評価データに基づいて、LUT(5)の
入出力関係を決定する。
The main control circuit (7) determines the input / output relationship of the LUT (5) based on the screen evaluation data such as the luminance data, standard deviation, brightness data, and saturation data obtained by the above processing. decide.

【0032】例えば輝度データを8ビットで表わす場
合、LUT(5)の入出力関係は図2の様に、夫々“0”
〜“255”の入力データと出力データについての1対
1の対応関係で表わされる。図中の一点鎖線はデータ変
換を施さない場合であって、この鎖線に対して実線の如
く、高輝度領域は更に高輝度化し、低輝度領域は更に低
輝度化する修正によって、コントラストの向上を図るこ
とが出来る。
For example, when the luminance data is represented by 8 bits, the input / output relationship of the LUT (5) is "0" as shown in FIG.
25 "255" is represented by a one-to-one correspondence between input data and output data. The dashed line in the figure is a case where no data conversion is performed, and as shown by a solid line with respect to the dashed line, the contrast is improved by modifying the high luminance region to have higher luminance and the low luminance region to have lower luminance. I can plan.

【0033】本実施例では、実線で示す折れ線を規定す
るために、原点“0”と最大点“255”の間に、全画
面内の最大輝度点A、最小輝度点B、主要被写体領域内
の最大輝度点C、最小輝度点Dの4点を選択する。そし
て、A点の輝度データを第1代表値MX、B点の輝度デ
ータを第2代表値MN、C点の輝度データを第3代表値
MXO、D点の輝度データを第4代表値MNOとして規
定し、第1代表値MX及び第3代表値MXOに対しては
夫々正の変化量ΔMX及びΔMXO、第2代表値MN及
び第4代表値MNOに対しては夫々負の変化量ΔMN及
びΔMNOを与えて、データ入出力関係に修正を施すの
である。
In this embodiment, in order to define a polygonal line indicated by a solid line, the maximum luminance point A, the minimum luminance point B, and the main subject area in the entire screen are located between the origin "0" and the maximum point "255". , The maximum luminance point C and the minimum luminance point D are selected. The luminance data at point A is a first representative value MX, the luminance data at point B is a second representative value MN, the luminance data at point C is a third representative value MXO, and the luminance data at point D is a fourth representative value MNO. The positive and negative change amounts ΔMX and ΔMXO for the first representative value MX and the third representative value MXO, respectively, and the negative change amounts ΔMN and ΔMNO for the second representative value MN and the fourth representative value MNO, respectively. To modify the data input / output relationship.

【0034】上記各変化量は下記の数2乃至数5によっ
て表わされる。
The respective amounts of change are represented by the following equations (2) to (5).

【数2】ΔMX=(255−MX)×RA ΔMX = (255−MX) × RA A

【数3】ΔMN=(0−MN)×RAB ΔMN = (0−MN) × RA B

【数4】 ΔMXO={(255−MXO)×RAA}×REC Equation 4] ΔMXO = {(255-MXO) × RA A} × RE C

【数5】ΔMNO={(0−MNO)×RAB}×RED Equation 5] ΔMNO = {(0-MNO) × RA B} × RE D

【0035】ここで、RAAはA点の変化率、RABはB
点の変化率を表わしている。又、RECはC点の信頼
度、REDはD点の信頼度であって、夫々1以下の値に
設定される。尚、主要被写体領域の判断が正確であれ
ば、C点及びD点の変化量ΔMXO及びΔMNOは大き
い程、コントラストが向上するが、仮に判断がずれてい
た場合、逆に主要被写体領域のコントラストを下げる虞
れがある。この弊害を防止するために、上記信頼度が定
義されているのである。
Here, RA A is the rate of change at point A , RA B is B
It represents the rate of change of points. RE C is the reliability of point C , and RED is the reliability of point D, and is set to a value of 1 or less, respectively. If the determination of the main subject area is accurate, the contrast is improved as the change amounts ΔMXO and ΔMNO of the points C and D are large. However, if the determination is incorrect, the contrast of the main subject area is reduced. There is a risk of lowering. In order to prevent this adverse effect, the above-mentioned reliability is defined.

【0036】上記各変化量ΔMX、ΔMXO、ΔMN及
びΔMNOは、主制御回路(7)がファジィ推論によって
決定する。ファジィ推論においては、下記の如き複数の
ルールが定義される。ルール1 もし標準偏差が小さければ、変化率RAA、RABを小さ
く設定する。ルール2 もし標準偏差が大きければ、変化率RAA、RABを大き
く設定する。
The amounts of change ΔMX, ΔMXO, ΔMN and ΔMNO are determined by the main control circuit (7) by fuzzy inference. In fuzzy inference, the following rules are defined. Rule 1 If the standard deviation is small, change rates RA A and R AB are set small. Rule 2 If the standard deviation is large, change rates RA A and R AB are set large.

【0037】ルール3 もし明度データが小さければ、A点の変化率RAAを大
きく設定し、且つ、B点の変化率RABを小さく設定す
る。ルール4 もし明度データが大きければ、A点の変化率RAAを小
さく設定し、且つ、B点の変化率RABを大きく設定す
る。
Rule 3 If the brightness data is small, the rate of change RA A at point A is set large and the rate of change RAB at point B is set small. Rule 4 If the brightness data is large, the rate of change RA A at point A is set small and the rate of change RAB at point B is set large.

【0038】ルール5 もし高輝度部の彩度データが大きければ、A点の変化率
RAAを小さく設定する。ルール6 もし低輝度部の彩度データが大きければ、B点の変化率
RABを小さく設定する。
Rule 5 If the saturation data of the high luminance portion is large, the rate of change RA A at point A is set small. Rule 6 If the saturation data of the low luminance portion is large, the rate of change RAB at point B is set small.

【0039】ルール7 もし主要被写体領域が1箇所に集中して存在すれば、信
頼度REC、REDを大きく設定する。ルール8 もし主要被写体領域が分散して存在すれば、信頼度RE
C、REDを小さく設定する。
[0039] In rule 7 if the main subject region exists concentrated in one place, reliability RE C, setting a large RE D. Rule 8 If the main subject areas are dispersed, the reliability RE
C, and set small RE D.

【0040】ルール9 もしA点の輝度データMXとC点の輝度データMXOと
が近似していれば、C点の信頼度RECを大きく設定す
る。ルール10 もしB点の輝度データMNとD点の輝度データMNOと
が近似していれば、D点の信頼度REDを大きく設定す
る。
Rule 9 If the luminance data MX at point A and the luminance data MXO at point C are similar, the reliability REC of point C is set to be large. Rule 10 If the luminance data MN at the point B and the luminance data MNO at the point D are similar, the reliability RED of the point D is set to be large.

【0041】ルール1は、入力画像のコントラストの強
弱に応じて、元々コントラストの弱い画像については、
最小輝度部近傍に対する低輝度化の程度を弱め、急激な
輝度変化を抑制する様に作用する。又、ルール2は、元
々コントラストの強い画像については、最大輝度部近傍
を更に高輝度に設定して、コントラストを強調する様に
作用する。
Rule 1 is based on the contrast of an input image.
It acts to weaken the degree of lowering the brightness near the minimum brightness portion and suppress a sudden change in brightness. Rule 2 acts to enhance the contrast of an image originally having a strong contrast by setting the vicinity of the maximum luminance portion to a higher luminance.

【0042】ルール3は、画面が暗い場合に図2のカー
ブを全体として上方に持ち上げる様に作用し、ルール4
は、画面が明るい場合に図2のカーブを全体として下方
に下げる様に作用して、画面を適正な明るさに設定する
ものである。
Rule 3 acts to raise the curve of FIG. 2 as a whole when the screen is dark, and Rule 4
Operates to lower the curve of FIG. 2 as a whole when the screen is bright, and sets the screen to an appropriate brightness.

【0043】ルール5は、例えば青空等の明るい青色の
部分については、データ変換による高輝度化の程度を弱
め、明るい青色が白色に変換される、所謂青空の白飛び
を防止する。又、ルール6は、例えば濃い紺色の部分に
ついては、低輝度化の程度を弱め、濃い紺色が黒色に変
換される、所謂有彩色の黒つぶれを防止する。
Rule 5 is to reduce the degree of high brightness by data conversion for a bright blue portion such as a blue sky, for example, and to prevent a so-called overexposure of a blue sky in which a bright blue is converted to white. In addition, the rule 6 reduces the degree of luminance reduction in, for example, a dark blue portion and prevents dark blue portions from being converted into black, so-called chromatic black loss.

【0044】ルール7は、例えば被写体となる人物が画
面中央部に位置するとき、該領域の高輝度部は更に高輝
度に設定すると共に、該領域の低輝度部は更に低輝度に
設定して、コントラストを強調する。一方、ルール8
は、例えば画面全体に人物が分散して位置するとき、上
記高輝度化及び低輝度化の程度は弱めるのである。
Rule 7 is that, for example, when a person to be a subject is located in the center of the screen, the high-brightness part of the area is set to a higher brightness, and the low-brightness part of the area is set to a lower brightness. Enhances contrast. On the other hand, rule 8
For example, when the persons are dispersedly located on the entire screen, the degree of the high luminance and the low luminance is weakened.

【0045】ルール9及びルール10は、図2のカーブ
におけるA点とC点の接近、及びB点とD点の接近に起
因する急激な変化を防止するためのものである。
Rules 9 and 10 are for preventing a sudden change due to the approach between the points A and C and the approach between the points B and D in the curve of FIG.

【0046】図5は、上記複数のルールの内、A点につ
いての前件部及び後件部の一部を示しており、図5(a)
は標準偏差に関するもの、図5(b)は明度データに関す
るもの、図5(c)は彩度データに関するものである。
FIG. 5 shows a part of the antecedent part and the consequent part of point A out of the plurality of rules, and FIG.
5 relates to the standard deviation, FIG. 5B relates to the brightness data, and FIG. 5C relates to the saturation data.

【0047】尚、各データはスケーリング処理により
“0”〜“32”の定義域内に変換された上、前件部の
メンバーシップ関数により適合度μが算出される。又、
後件部は図示の如く16進数によって表わされる一定値
0〜C5に規定され、所謂簡略化ファジィ推論が採用さ
れている。
Each data is converted into the domain of "0" to "32" by the scaling process, and then the fitness μ is calculated by the membership function of the antecedent part. or,
Consequent is defined to a constant value C 0 -C 5 represented by as shown hexadecimal, so-called simplified fuzzy inference is employed.

【0048】従って、ファイジィ推論の結果としての変
化率Cは、他のルールも考慮して下記数6によって算出
される。
Therefore, the change rate C as a result of the fuzzy inference is calculated by the following equation 6 in consideration of other rules.

【0049】[0049]

【数6】 (Equation 6)

【0050】尚、これによって得られた変化率Cは、0
0Hを0%、FFHを100%として、百分率表示に変
換される。
The rate of change C obtained by this is 0
When 0H is set to 0% and FFH is set to 100%, it is converted into a percentage display.

【0051】この様にして図2のA点及びB点における
変化率RAA、RABと、C点及びD点における信頼度R
C、REDが算出されると、これによって図2の実線の
折れ線が規定され、入出力関係が決定されることにな
る。
The reliability R in the change rate RA A, and RA B, C point and D point in the points A and B in FIG. 2 in this manner
E C, the RE D is calculated, thereby defined the solid sequential line in FIG. 2, so that the input-output relationship is determined.

【0052】本実施例では、上記入出力関係を図3の如
くLUT(5)に離散的に表わして、該LUT(5)に基づ
いてデータ変換を行なう。図4は、LUT(5)に対する
上記一連のデータ設定手続きを表わしたものである。
In this embodiment, the input / output relationship is discretely represented in the LUT (5) as shown in FIG. 3, and data conversion is performed based on the LUT (5). FIG. 4 shows a series of data setting procedures for the LUT (5).

【0053】図1に示す如く、メモリ制御回路(4)から
得られる輝度データYは上記LUT(5)によってデータ
変換され、データ変換回路(6)へ出力される。これによ
って得られたRGB信号は主制御回路(7)を経て、印写
制御回路(8)へ供給され、ビデオプリンタが駆動制御さ
れることになる。
As shown in FIG. 1, the luminance data Y obtained from the memory control circuit (4) is converted by the LUT (5) and output to the data conversion circuit (6). The obtained RGB signals are supplied to the printing control circuit (8) via the main control circuit (7), and the driving of the video printer is controlled.

【0054】上記画像処理回路によれば、画像のコント
ラストを改善出来るばかりでなく、画像を分割して評価
を行っているから、画像に含まれる重要な情報の表現力
向上を図ることが出来る。
According to the above-described image processing circuit, not only the contrast of the image can be improved, but also the evaluation is performed by dividing the image, so that the expressive power of important information included in the image can be improved.

【0055】又、画像の評価、入出力関係の決定にファ
ジィ推論を用いているから、画面の様々な性質を前記変
化率及び信頼度に反映させることが出来、これによって
明るい青が白に変わる等の「色ツブレ」の問題を解消す
ることが可能である。
Further, since fuzzy inference is used for evaluating the image and determining the input / output relationship, various properties of the screen can be reflected in the change rate and the reliability, whereby the bright blue changes to white. It is possible to solve the problem of "color blur" such as described above.

【0056】上記実施例の説明は、本発明を説明するた
めのものであって、特許請求の範囲に記載の発明を限定
し、或は範囲を減縮する様に解すべきではない。又、本
発明の各部構成は上記実施例に限らず、特許請求の範囲
に記載の技術的範囲内で種々の変形が可能であることは
勿論である。例えば、上述のファジィ推論に替えて、例
えばニューロ処理を用いて入出力関係の決定を行なうこ
とも可能である。
The description of the above embodiments is for the purpose of illustrating the present invention, and should not be construed as limiting the invention described in the claims or reducing the scope thereof. Further, the configuration of each part of the present invention is not limited to the above-described embodiment, and it is needless to say that various modifications can be made within the technical scope described in the claims. For example, instead of the above-described fuzzy inference, it is also possible to determine the input / output relation using, for example, a neuro process.

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

【図1】本発明に係る画像処理回路のブロック図であ
る。
FIG. 1 is a block diagram of an image processing circuit according to the present invention.

【図2】画像データの入出力関係を表わすグラフであ
る。
FIG. 2 is a graph showing an input / output relationship of image data.

【図3】LUTの内容を表わす図表である。FIG. 3 is a table showing the contents of an LUT.

【図4】入出力関係を決定する一連の手続きを示すフロ
ーチャートである。
FIG. 4 is a flowchart showing a series of procedures for determining an input / output relationship.

【図5】ファジィルールを説明する図である。FIG. 5 is a diagram illustrating a fuzzy rule.

【図6】画面を構成する多数の単位領域を表わす図であ
る。
FIG. 6 is a diagram illustrating a number of unit areas constituting a screen.

【図7】画面を構成する複数の画面ブロックを表わす図
である。
FIG. 7 is a diagram showing a plurality of screen blocks constituting a screen.

【図8】比較回路のブロック図である。FIG. 8 is a block diagram of a comparison circuit.

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

(2) 画像メモリ回路 (3) 画面分割評価回路 (4) メモリ制御回路 (5) LUT (6) データ変換回路 (7) 主制御回路 (2) Image memory circuit (3) Screen division evaluation circuit (4) Memory control circuit (5) LUT (6) Data conversion circuit (7) Main control circuit

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 入力画像のコントラストを改善して出力
する回路であって、 入力画像を構成する単位領域毎の輝度を表わす輝度デー
タと、入力画像全体に亘る輝度変化の程度を表わす輝度
変化データと、入力画像内の高輝度部及び低輝度部の彩
度を表わす彩度データとを検出する第1検出手段と、 入力画像の内、主要被写体領域を検出する第2検出手段
と、 入力画面全体についての輝度データの最大値及び最小値
である第1代表値MX及び第2代表値MNと、主要被写
体領域内の輝度データの最大値及び最小値である第3代
表値MXO及び第4代表値MNOとを検出する第3検出
手段と、 入力画像データと出力画像データの関係を表わす所定の
データ変換方式に従って、入力画像データにデータ変換
処理を施して出力するデータ変換手段と、 前記第1代表値MX及び第3代表値MXOに対しては夫
々変化量ΔMX及びΔMXO、第2代表値MN及び第4
代表値MNOに対しては夫々変化量ΔMN及びΔMNO
を与えて、前記画像データの入出力関係に修正を施す修
正手段とを備え、該修正手段は、少なくとも前記輝度変
化データ、彩度データ及び主要被写体領域の集中度に基
づいて、前記各変化量ΔMX、ΔMN、ΔMXO及びΔ
MNOを規定することを特徴とする画像処理回路。
1. A circuit for improving the contrast of an input image and outputting the same, comprising: luminance data representing the luminance of each unit area constituting the input image; and luminance change data representing the degree of luminance variation over the entire input image. First detection means for detecting saturation data representing the saturation of the high-brightness part and low-brightness part in the input image; second detection means for detecting a main subject area in the input image; A first representative value MX and a second representative value MN which are the maximum and minimum values of the luminance data for the whole, and a third representative value MXO and a fourth representative which are the maximum and minimum values of the luminance data in the main subject area. Third detection means for detecting the value MNO, data conversion means for performing data conversion processing on the input image data and outputting the data in accordance with a predetermined data conversion method representing the relationship between the input image data and the output image data; The first representative value MX and each amount of change for the third representative value MXO? Mx and DerutaMXO, second representative value MN and fourth
For the representative value MNO, the change amounts ΔMN and ΔMNO
Correction means for correcting the input / output relationship of the image data, wherein the correction means includes at least the luminance change.
Data, saturation data and the concentration of the main subject area.
Then, each of the change amounts ΔMX, ΔMN, ΔMXO and Δ
An image processing circuit for defining MNO .
【請求項2】 前記修正手段は、少なくとも、 前記輝度変化データが小さいときは、第1代表値MX及
び第2代表値MNに対する変化量ΔMX及びΔMNを小
さく、輝度変化データが大きいときは該変化量ΔMX及
びΔMNを大きく設定する第1条件と、 前記高輝度部の彩度データが大きいときは、第1代表値
MXに対する変化量ΔMXを小さく設定し、低輝度部の
彩度データが大きいときは、第2代表値MNに対する変
化量ΔMNを小さく設定する第2条件と、 前記主要被写体領域が1箇所に集中して存在するとき
は、前記第3代表値MXO及び第4代表値MNOに対す
る変化量ΔMXO及びΔMNOを大きく、主要被写体領
域が分散して存在するときは、該変化量ΔMXO及びΔ
MNOを小さく設定する第3条件 とを満たす様、前記各
変化量ΔMX、ΔMXO、ΔMN及びΔMNOを規定す
ることを特徴とする 請求項1に記載の画像処理回路。
2. The correction means according to claim 1, wherein at least when said brightness change data is small , said first representative value MX and
And the variation amounts ΔMX and ΔMN with respect to the second representative value MN are small.
When the luminance change data is large, the change amount ΔMX
And the first condition for setting large ΔMN and the first representative value when the saturation data of the high-luminance portion is large.
The amount of change ΔMX with respect to MX is set small,
When the saturation data is large, the change with respect to the second representative value MN
The second condition for setting the conversion amount ΔMN small, and the case where the main subject region is concentrated in one place
Corresponds to the third representative value MXO and the fourth representative value MNO.
Large change amounts ΔMXO and ΔMNO
When the regions are dispersed, the change amounts ΔMXO and ΔMXO
In order to satisfy the third condition for setting MNO small ,
The change amounts ΔMX, ΔMXO, ΔMN, and ΔMNO are defined.
The image processing circuit according to claim 1, wherein:
【請求項3】 前記第2検出手段は、入力画像の空間周3. The method according to claim 2, wherein the second detecting unit is configured to determine a spatial frequency
波数を算出して、高周波領域を主要被写体領域として検Calculate the wave number and detect the high frequency region as the main subject region.
出する請求項1又は2に記載の画像処理装置。The image processing device according to claim 1, wherein the image processing device outputs the image data.
JP4229514A 1992-08-28 1992-08-28 Image processing circuit Expired - Lifetime JP2698296B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4229514A JP2698296B2 (en) 1992-08-28 1992-08-28 Image processing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4229514A JP2698296B2 (en) 1992-08-28 1992-08-28 Image processing circuit

Publications (2)

Publication Number Publication Date
JPH0678332A JPH0678332A (en) 1994-03-18
JP2698296B2 true JP2698296B2 (en) 1998-01-19

Family

ID=16893370

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4229514A Expired - Lifetime JP2698296B2 (en) 1992-08-28 1992-08-28 Image processing circuit

Country Status (1)

Country Link
JP (1) JP2698296B2 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0766458B2 (en) * 1986-10-27 1995-07-19 ロ−レルバンクマシン株式会社 Banknote deposit and withdrawal machine
JPS63109594A (en) * 1986-10-28 1988-05-14 ロ−レルバンクマシン株式会社 Paper money delivery apparatus for paper money teller machine or the like
JPH0766460B2 (en) * 1986-10-30 1995-07-19 ロ−レルバンクマシン株式会社 Banknote deposit and withdrawal machine
JPH0530220Y2 (en) * 1986-10-31 1993-08-02
JP3432705B2 (en) 1997-06-23 2003-08-04 三菱電機株式会社 Imaging device
JP4560845B2 (en) * 1999-09-27 2010-10-13 セイコーエプソン株式会社 Image processing apparatus, image processing method, and medium on which image processing control program is recorded
US7106366B2 (en) * 2001-12-19 2006-09-12 Eastman Kodak Company Image capture system incorporating metadata to facilitate transcoding
CN100484252C (en) 2001-12-29 2009-04-29 三星电子株式会社 Device and method for controlling image brightness
WO2006025359A1 (en) * 2004-09-03 2006-03-09 Sharp Kabushiki Kaisha Display driving method, display driving device, its program and recording medium, and display
JP4697987B2 (en) * 2009-01-22 2011-06-08 キヤノン株式会社 Image processing apparatus and method
JP4865916B2 (en) * 2011-02-04 2012-02-01 キヤノン株式会社 Image processing apparatus and method
JP5594282B2 (en) * 2011-03-31 2014-09-24 カシオ計算機株式会社 Image processing device

Also Published As

Publication number Publication date
JPH0678332A (en) 1994-03-18

Similar Documents

Publication Publication Date Title
JP3412174B2 (en) Automatic exposure control device
US7460168B2 (en) Image processing apparatus for generating a wide dynamic range image
US7057653B1 (en) Apparatus capable of image capturing
US7403231B2 (en) Camera with exposure correction dependent upon brightness detected in a frame with the lowest brightness compared to average brightness
US5559555A (en) Apparatus for performing exposure control pertaining to the luminance level of an object
JP4677753B2 (en) Moving image processing apparatus and method
EP0501728B1 (en) Gradation corrector
US6583820B1 (en) Controlling method and apparatus for an electronic camera
JP2698296B2 (en) Image processing circuit
JPH0568147B2 (en)
KR910019460A (en) White balance adjustment device which automatically performs white balance adjustment based on the color information signal obtained from the imaging element
JP3267200B2 (en) Image processing device
JP3581270B2 (en) Image processing apparatus, image processing method, and recording medium recording image processing program
JP3378601B2 (en) Image processing device
JP4270638B2 (en) Imaging device
JPH10322592A (en) Method and device for controlling electronic camera
JPH0723287A (en) Image pickup device
JP2583325B2 (en) Gradation correction circuit
JPH11164190A (en) Automatic exposure control method
JPH05103256A (en) Image pickup device
JPH03106269A (en) Video signal processor for video camera
JP2001061075A (en) Image processing method, image processor and recording medium
EP1622080A1 (en) Signal processing device and method, recording medium, and program
JP3205941B2 (en) Automatic aperture adjustment device
JP2000078437A (en) Video signal processor

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19970826