JP2000324363A - Gradation correction device - Google Patents

Gradation correction device

Info

Publication number
JP2000324363A
JP2000324363A JP11130893A JP13089399A JP2000324363A JP 2000324363 A JP2000324363 A JP 2000324363A JP 11130893 A JP11130893 A JP 11130893A JP 13089399 A JP13089399 A JP 13089399A JP 2000324363 A JP2000324363 A JP 2000324363A
Authority
JP
Japan
Prior art keywords
gradation
level
input signal
division
correction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP11130893A
Other languages
Japanese (ja)
Other versions
JP4376352B2 (en
Inventor
Yasutoshi Yamamoto
靖利 山本
Akihiro Tamura
彰浩 田村
Masayuki Yoneyama
匡幸 米山
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP13089399A priority Critical patent/JP4376352B2/en
Publication of JP2000324363A publication Critical patent/JP2000324363A/en
Application granted granted Critical
Publication of JP4376352B2 publication Critical patent/JP4376352B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Picture Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain a gradation correction device that acquire an optimum gradation correction characteristic. SOLUTION: The gradation correction device is provided with a signal level detection means 3 that detects in which division level among a plurality of division levels an input signal resides, a histogram detection means 4 that detects a histogram that is a distribution of input signals of each division level, a gradation characteristic setting means 5 that sets the gradation characteristic so as to make a gradient of many levels in the distribution steep depending on the histogram, a gradation correction means 6 that applies nonlinear gradation correction to the input signal depending on the gradation characteristic set by the gradation characteristic setting means 5, and a division level adjustment means 2 that adjusts an interval of the division levels so that the interval of the division levels used by the signal level detection means 3 is ununiform with respect to the input signal.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ビデオカメラなど
に用いられる階調補正装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a gradation correction device used for a video camera or the like.

【0002】[0002]

【従来の技術】従来の階調補正装置としては特願平9−
012844号公報に記載されたものが知られている。
2. Description of the Related Art As a conventional gradation correcting apparatus, Japanese Patent Application No. 9-90, filed on Jan. 19, 1993.
The one described in JP-A-012844 is known.

【0003】図9に従来の階調補正装置の構成図を示
す。図9において、1は入力端子、3は信号レベル検出
手段、4はヒストグラム検出手段、5は階調特性設定手
段、6は階調補正手段、9は出力端子である。
FIG. 9 shows a configuration diagram of a conventional tone correction device. In FIG. 9, 1 is an input terminal, 3 is a signal level detecting means, 4 is a histogram detecting means, 5 is a gradation characteristic setting means, 6 is a gradation correcting means, and 9 is an output terminal.

【0004】従来の階調補正装置では、入力端子1より
入力した入力信号を信号レベル検出手段3でレベル検出
し、ヒストグラム検出手段4で入力信号の1画面分に相
当する輝度値のヒストグラムを算出し、階調特性設定手
段5で入力信号の輝度値の分布の度合いに応じて、傾き
が変わるような階調特性を算出し、階調補正手段6で階
調特性設定手段5で算出した階調特性により階調補正し
て出力端子9より出力する。
In the conventional tone correction device, the level of an input signal input from an input terminal 1 is detected by a signal level detecting means 3, and a histogram of a luminance value corresponding to one screen of the input signal is calculated by a histogram detecting means 4. Then, the gradation characteristic setting means 5 calculates a gradation characteristic whose inclination changes according to the degree of distribution of the luminance value of the input signal, and the gradation correction means 6 calculates the gradation characteristic calculated by the gradation characteristic setting means 5. The tone is corrected by the tone characteristics and output from the output terminal 9.

【0005】ここで、信号レベル検出手段3では入力信
号を等間隔の複数のレベルに分割し、そのレベルごとに
輝度値の分布を検出している。
Here, the signal level detecting means 3 divides the input signal into a plurality of equally-spaced levels, and detects a luminance value distribution for each level.

【0006】図10に従来の階調補正装置のヒストグラ
ム分布及び階調補正特性を示す。図10において、
(a)はヒストグラムで横軸は入力信号の分割レベル、
縦軸は入力信号の各信号レベルに対応する頻度分布(ヒ
ストグラム)である。(b)は階調補正特性で、横軸は
入力信号レベル、縦軸は出力信号レベルである。(c)
はガンマ補正特性で、横軸は入力信号レベル、縦軸は出
力信号レベルである。(d)は階調補正特性とガンマ補
正特性を含めた総合階調特性である。
FIG. 10 shows a histogram distribution and a gradation correction characteristic of a conventional gradation correction device. In FIG.
(A) is a histogram, the horizontal axis is the division level of the input signal,
The vertical axis is a frequency distribution (histogram) corresponding to each signal level of the input signal. (B) is a gradation correction characteristic, the horizontal axis is the input signal level, and the vertical axis is the output signal level. (C)
Is the gamma correction characteristic, the horizontal axis is the input signal level, and the vertical axis is the output signal level. (D) is an overall gradation characteristic including a gradation correction characteristic and a gamma correction characteristic.

【0007】なお、ガンマ補正処理は階調補正装置の出
力信号に対して、カメラの信号処理で行われる処理であ
り、対応するブロックは図9には記載されていない。
Note that the gamma correction process is a process performed by a camera signal process on the output signal of the tone correction device, and the corresponding block is not shown in FIG.

【0008】図10(a)は低輝度部と高輝度部に分布
が集中している状態を表している。図10(b)では、
図10(a)で頻度の多かった分割レベルに相当する入
力信号レベルに対応する階調補正特性の傾きが急になる
ように設定されており、頻度の多かった分割レベルのコ
ントラストが強調される。また、逆に図10(a)で頻
度の少なかった分割レベルに相当する入力信号レベルに
対応する階調補正特性の傾きは緩やかになるように設定
される。
FIG. 10A shows a state in which the distribution is concentrated in the low luminance portion and the high luminance portion. In FIG. 10B,
In FIG. 10A, the gradient of the gradation correction characteristic corresponding to the input signal level corresponding to the frequent division level is set to be steep, and the contrast of the frequent division level is emphasized. . Conversely, the slope of the gradation correction characteristic corresponding to the input signal level corresponding to the less frequently divided level in FIG. 10A is set to be gentle.

【0009】[0009]

【発明が解決しようとする課題】しかしながら、上記の
ような構成では、ビデオカメラのように、ガンマ補正
や、ニー補正を施すような機器においては、ガンマ補正
により信号レベルのうち低輝度部の階調特性は強調さ
れ、高輝度部の階調特性は抑圧されるので、最適な階調
補正特性を得ることができないという課題がある。
However, in the above configuration, in a device such as a video camera that performs gamma correction or knee correction, the level of the low-luminance portion of the signal level is reduced by the gamma correction. Since the tone characteristics are emphasized and the tone characteristics of the high-luminance portion are suppressed, there is a problem that an optimal tone correction characteristic cannot be obtained.

【0010】また、低輝度部は、ガンマ補正により3倍
から4倍のゲインがかかるため、特に入力信号レベルの
分割数が少ない場合には出力信号の低輝度部の補正レベ
ルの間隔が相対的に広くなり、階調補正を最適に調整す
るのは困難になるという課題がある。
In addition, since the low-brightness part has a gain of three to four times due to gamma correction, especially when the number of divisions of the input signal level is small, the interval between the correction levels of the low-brightness part of the output signal is relatively small. Therefore, there is a problem that it is difficult to optimally adjust the gradation correction.

【0011】また、高輝度部はニー補正により傾きが極
端に抑圧されるため、検出したヒストグラムのデータ通
り補正したのでは、高輝度部が階調不足になるという課
題がある。
In addition, since the inclination of the high luminance portion is extremely suppressed by the knee correction, there is a problem that if the correction is performed according to the data of the detected histogram, the gradation of the high luminance portion becomes insufficient.

【0012】したがって、本発明の目的は、最適な階調
補正特性を得ることができる階調補正装置を提供するこ
とである。
Accordingly, it is an object of the present invention to provide a gradation correction device capable of obtaining an optimum gradation correction characteristic.

【0013】[0013]

【課題を解決するための手段】請求項1記載の階調補正
装置は、入力信号レベルの分布範囲を複数の分割レベル
に分割し入力信号がどの分割レベルに入っているかを検
出する信号レベル検出手段と、分割レベルごとの入力信
号の分布であるヒストグラムを検出するヒストグラム検
出手段と、ヒストグラムに応じて分布の多いレベルの傾
きが急になるように階調特性を設定する階調特性設定手
段と、階調特性設定手段で設定された階調特性に応じ
て、入力信号に非線形な階調補正を施す階調補正手段
と、信号レベル検出手段で用いられる分割レベルの間隔
が入力信号に対し非均一になるように、分割レベルの間
隔を調整する分割レベル調整手段とを備えたものであ
る。
According to a first aspect of the present invention, there is provided a gradation correction apparatus for dividing a distribution range of an input signal level into a plurality of division levels and detecting which division level the input signal falls into. Means, a histogram detecting means for detecting a histogram which is a distribution of the input signal for each division level, and a gradation characteristic setting means for setting a gradation characteristic so that a gradient having a large distribution is steep according to the histogram. A tone correction means for performing non-linear tone correction on an input signal in accordance with a tone characteristic set by a tone characteristic setting means, and an interval between division levels used by a signal level detection means being different from the input signal. Division level adjusting means for adjusting the interval between division levels so as to be uniform.

【0014】請求項1記載の階調補正装置によれば、信
号レベル検出手段で入力信号レベルの分布範囲を複数の
分割レベルに分割し入力信号がどの分割レベルに入って
いるかを検出し、分割レベル調整手段で信号レベル検出
手段で用いられる分割レベルの間隔が、入力信号に対し
非均一になるように分割レベルの間隔を調整し、ヒスト
グラム検出手段で分割レベルごとの入力信号の分布であ
るヒストグラムを検出し、階調特性設定手段でヒストグ
ラムに応じて分布の多いレベルの傾きが急になるように
階調特性を設定し、階調特性設定手段で設定された階調
特性に応じて、信号に非線形な階調補正を施すという作
用を有する。
According to the first aspect of the present invention, the distribution range of the input signal level is divided into a plurality of division levels by the signal level detection means, and the division level of the input signal is detected. The level adjustment means adjusts the interval between the division levels so that the interval between the division levels used by the signal level detection means is non-uniform with respect to the input signal, and the histogram detection means shows the distribution of the input signal for each division level. Is detected by the gradation characteristic setting means, and the gradation characteristic is set so that the gradient of a level having a large distribution becomes steep in accordance with the histogram, and the signal is set in accordance with the gradation characteristic set by the gradation characteristic setting means. Has an effect of performing non-linear gradation correction on the image.

【0015】したがって、例えばビデオカメラのよう
に、ガンマ補正や、ニー補正を施すような機器におい
て、ガンマ補正により信号レベルのうち低輝度部の階調
特性が強調される場合でも、例えば低輝度部の分割レベ
ル数を細かくとって低輝度部を重視した階調補正をする
等、最適な階調補正特性を得ることができる。
Therefore, in a device such as a video camera that performs gamma correction or knee correction, even if the gradation characteristics of the low luminance portion of the signal level are emphasized by the gamma correction, for example, the low luminance portion Optimum gradation correction characteristics can be obtained, for example, by performing gradation correction with emphasis on low-luminance portions by taking the number of division levels into small values.

【0016】請求項2記載の階調補正装置は、請求項1
において、分割レベル調整手段は分割レベルの間隔が入
力信号に対し非均一になるように設定する複数の分割レ
ベル設定手段で構成され、信号レベル検出手段は入力信
号を分割レベル調整手段で設定された分割レベルと比較
する複数の比較器を有するものである。
According to a second aspect of the present invention, there is provided a gradation correcting apparatus.
, The division level adjusting means is constituted by a plurality of division level setting means for setting intervals of the division levels to be non-uniform with respect to the input signal, and the signal level detecting means sets the input signal by the division level adjusting means. It has a plurality of comparators for comparing with the division level.

【0017】請求項2記載の階調補正装置によれば、請
求項1と同様な効果がある。
According to the gradation correcting apparatus of the second aspect, the same effect as that of the first aspect is obtained.

【0018】請求項3記載の階調補正装置は、入力信号
に対して非線形な出力特性を持つ補助的階調補正手段
と、この補助的階調補正手段の出力信号を入力信号とし
て、入力信号のレベルの分布範囲を複数の分割レベルに
分割し入力信号がどの分割レベルに入っているかを検出
する信号レベル検出手段と、分割レベルごとの入力信号
の分布であるヒストグラムを検出するヒストグラム検出
手段と、ヒストグラムに応じて分布の多いレベルの傾き
が急になるように階調特性を設定する階調特性設定手段
と、階調特性設定手段で設定された階調特性に応じて、
入力信号に非線形な階調補正を施す階調補正手段とを備
えたものである。
According to a third aspect of the present invention, there is provided a gradation correcting apparatus, wherein an auxiliary gradation correcting means having a non-linear output characteristic with respect to an input signal, and an output signal of the auxiliary gradation correcting means as an input signal. Signal level detection means for dividing the distribution range of the level into a plurality of division levels and detecting which division level the input signal is in, and histogram detection means for detecting a histogram which is the distribution of the input signal for each division level A tone characteristic setting means for setting a tone characteristic so that the gradient of a level having a large distribution according to the histogram becomes steep; and a tone characteristic set by the tone characteristic setting means,
And a gradation correcting means for performing non-linear gradation correction on the input signal.

【0019】請求項3記載の階調補正装置によれば、補
助的階調補正手段を簡単な構成とすることができるた
め、小さな回路規模で請求項1と同様の階調補正特性を
得ることができる。
According to the third aspect of the present invention, since the auxiliary tone correcting means can have a simple configuration, it is possible to obtain the same tone correcting characteristic as that of the first aspect with a small circuit scale. Can be.

【0020】請求項4記載の階調補正装置は、入力信号
に対し、レベル補正を施す第1のレベル補正手段と、こ
の第1のレベル補正手段の出力信号を入力信号として、
この入力信号のレベルの分布範囲を複数の分割レベルに
分割し入力信号がどの分割レベルに入っているかを検出
する信号レベル検出手段と、分割レベルごとの入力信号
の分布であるヒストグラムを検出するヒストグラム検出
手段と、ヒストグラムに応じて分布の多いレベルの傾き
が急になるように階調特性を設定する階調特性設定手段
と、階調特性設定手段で設定された階調特性に応じて、
入力信号に非線形な階調補正を施す階調補正手段と、こ
の階調補正手段における階調補正処理の後の信号に対し
レベル補正を施す第2のレベル補正手段とを備えたもの
である。
According to a fourth aspect of the present invention, there is provided a tone correction apparatus comprising: a first level correction unit for performing a level correction on an input signal; and an output signal of the first level correction unit as an input signal.
Signal level detecting means for dividing the distribution range of the level of the input signal into a plurality of division levels and detecting which division level the input signal belongs to, and a histogram for detecting a histogram which is a distribution of the input signal for each division level Detecting means, gradation characteristic setting means for setting gradation characteristics such that the gradient of a level having a large distribution according to the histogram becomes steep, and gradation characteristics set by the gradation characteristic setting means,
It is provided with a gradation correcting means for performing a non-linear gradation correction on an input signal, and a second level correcting means for performing a level correction on a signal after the gradation correction processing in the gradation correcting means.

【0021】請求項4記載の階調補正装置によれば、信
号レベル検出手段の入力信号にオフセット値を加算する
ことによって折れ点を調整することにより、より自然な
階調特性を得ることができる。
According to the tone correcting apparatus of the present invention, a more natural tone characteristic can be obtained by adjusting a break point by adding an offset value to an input signal of the signal level detecting means. .

【0022】請求項5記載の階調補正装置は、請求項
1、請求項2、請求項3または請求項4において、階調
特性設定手段が特定の分割レベルの階調特性の傾きがヒ
ストグラムの分布に対して、より急峻になるように階調
特性を設定する重み付け手段を有するものである。
According to a fifth aspect of the present invention, in the first, second, third, or fourth aspect of the present invention, the gradation characteristic setting means determines that the gradient of the gradation characteristic at a specific division level is equal to that of the histogram. It has weighting means for setting gradation characteristics so that the distribution becomes steeper.

【0023】請求項5記載の階調補正装置によれば、請
求項1、請求項2、請求項3または請求項4と同様な効
果のほか、重み付け手段で特定の信号レベルの階調特性
の傾きがヒストグラムの分布に対して、より急峻になる
ように階調特性を設定することによって、例えばビデオ
カメラのようにガンマ補正やニー補正を施すような機器
において、ガンマ補正により信号レベルのうち低輝度部
の階調特性が強調される場合でも最適な階調補正特性を
得ることができる。
According to the tone correcting apparatus of the fifth aspect, in addition to the same effects as those of the first, second, third or fourth aspect, the weighting means can be used to obtain the tone characteristic of a specific signal level. By setting the gradation characteristics so that the slope becomes steeper with respect to the distribution of the histogram, in a device such as a video camera that performs gamma correction or knee correction, the signal level becomes lower due to gamma correction. Even when the gradation characteristics of the luminance section are emphasized, the optimum gradation correction characteristics can be obtained.

【0024】[0024]

【発明の実施の形態】(実施の形態1)以下、本発明の
第1の実施の形態の階調補正装置について、図1および
図2を参照しながら説明する。
(Embodiment 1) Hereinafter, a gradation correcting apparatus according to a first embodiment of the present invention will be described with reference to FIGS.

【0025】図1は、本発明の第1の実施の形態の階調
補正装置の構成を表す構成図である。階調補正の分割レ
ベル数は多ければ多いほど細かな階調補正が可能となる
が、それに対して回路規模は大きくなる。実際には16
分割程度が望ましいが、説明を容易にするため、第1の
実施の形態では入力信号の分割レベル数を8とする。
FIG. 1 is a configuration diagram showing a configuration of a gradation correction apparatus according to a first embodiment of the present invention. Finer gradation correction is possible as the number of gradation correction division levels increases, but the circuit scale increases. Actually 16
Although the degree of division is desirable, the number of division levels of the input signal is eight in the first embodiment for the sake of simplicity.

【0026】図1において、1は入力端子、2は分割レ
ベル調整手段、3は信号レベル検出手段、4はヒストグ
ラム検出手段、5は階調特性設定手段、6は階調補正手
段、7a〜7hは分割レベル設定手段としてのレジス
タ、8a〜8hは比較器、9は出力端子、10は信号レ
ベル判定回路、11はマルチプレクサ、12はレジスタ
(12a〜12h)、13はセレクタ、14は加算器で
ある。
In FIG. 1, 1 is an input terminal, 2 is a division level adjusting unit, 3 is a signal level detecting unit, 4 is a histogram detecting unit, 5 is a gradation characteristic setting unit, 6 is a gradation correcting unit, and 7a to 7h. Is a register as division level setting means, 8a to 8h are comparators, 9 is an output terminal, 10 is a signal level determination circuit, 11 is a multiplexer, 12 is a register (12a to 12h), 13 is a selector, and 14 is an adder. is there.

【0027】入力端子1より入力された入力信号Sin
は信号レベル検出手段3に入力される。信号レベル検出
手段3は分割レベル調整手段2の分割レベル設定手段と
してのレジスタ7a〜7hに設定された8個の分割レベ
ルデータを入力し、比較器8a〜8hで入力信号Sin
と上記8個の分割レベルデータとを比較し、信号レベル
判定回路10で入力信号が8個の分割レベルのうちどの
レベルに入っているかを判定し制御信号としてヒストグ
ラム検出手段4に伝える。
The input signal Sin input from the input terminal 1
Is input to the signal level detecting means 3. The signal level detection means 3 inputs eight division level data set in the registers 7a to 7h as division level setting means of the division level adjustment means 2, and the comparators 8a to 8h input the signal Sin.
Is compared with the above eight division level data, the signal level judgment circuit 10 judges which of the eight division levels the input signal is in, and transmits it to the histogram detection means 4 as a control signal.

【0028】ここで、レジスタ7a〜7hに設定する分
割レベルは入力信号の小さい方から最初の4分の1の範
囲を4分割し、次の4分の1の範囲を2分割し、残り2
分の1の範囲を2分割するように設定する。
Here, the division levels set in the registers 7a to 7h are such that the first quarter range is divided into four from the smaller input signal, the next quarter range is divided into two, and the remaining two parts are divided into two.
It is set to divide the range of 1/2 into two.

【0029】ヒストグラム検出手段4では、入力した制
御信号によりマルチプレクサ11とセレクタ13を制御
し、マルチプレクサ11とセレクタ13は8個のレジス
タ12a〜12hのうち入力した信号レベルに対応した
レジスタを選択する。加算器14では選択されたレジス
タ12a〜12hのいずれかの出力信号に1を加算し、
再び同じレジスタ12に格納する。この動作を1フィー
ルド期間にわたって行うことによって8個のレベルに対
応するヒストグラムデータH(0)からH(7)が得られる。
In the histogram detecting means 4, the multiplexer 11 and the selector 13 are controlled by the input control signal, and the multiplexer 11 and the selector 13 select a register corresponding to the input signal level from the eight registers 12a to 12h. The adder 14 adds 1 to the output signal of one of the selected registers 12a to 12h,
It is stored in the same register 12 again. By performing this operation over one field period, histogram data H (0) to H (7) corresponding to eight levels are obtained.

【0030】以上のようにして求められた8個のレベル
に対応するヒストグラムデータH(0)からH(7)は、テ
レビ信号の垂直ブランキング期間内に階調特性設定手段
5に転送される。
The histogram data H (0) to H (7) corresponding to the eight levels obtained as described above are transferred to the gradation characteristic setting means 5 during the vertical blanking period of the television signal. .

【0031】階調特性設定手段5内では、ヒストグラム
データH(0)からH(7)の累積積分値SH(0)からSH
(7)により階調補正特性を得て、階調補正手段6の階
調補正特性を設定する。累積積分値SH(n)は、H(n)を用
いて、SH(n)=ΣH(k) k=0,1,2,・・・ ,nで表される。
In the gradation characteristic setting means 5, the cumulative integrated values SH (0) to SH (0) of the histogram data H (0) to H (7) are obtained.
The gradation correction characteristic is obtained by (7), and the gradation correction characteristic of the gradation correction means 6 is set. The cumulative integral SH (n) is represented by SH (n) = ΣH (k) k = 0, 1, 2,..., N using H (n).

【0032】階調補正手段6では階調特性設定手段5に
より設定された階調補正特性により入力端子1から入力
する入力信号Sinに対して階調補正処理を施し出力信
号Soutを出力端子9より出力する。
The gradation correction means 6 performs gradation correction processing on the input signal Sin input from the input terminal 1 according to the gradation correction characteristics set by the gradation characteristic setting means 5, and outputs the output signal Sout from the output terminal 9. Output.

【0033】出力信号Soutはビデオカメラなどでは
図示しないガンマ補正回路により階調補正であるガンマ
補正処理が施されてカメラ出力として出力される。
The output signal Sout is subjected to gamma correction processing for gradation correction by a gamma correction circuit (not shown) in a video camera or the like, and is output as a camera output.

【0034】図2に第1の実施の形態の階調補正装置の
ヒストグラム分布及び階調補正特性を示す。図において
(a)はヒストグラムで横軸は入力信号の分割レベル、
縦軸は入力信号の各信号レベルに対応する頻度分布(ヒ
ストグラム)である。(b)は階調補正特性で、横軸は
入力信号レベル、縦軸は出力信号レベルである。(c)
はガンマ補正特性で、横軸は入力信号レベル、縦軸は出
力信号レベルである。(d)は階調補正特性とガンマ補
正特性を含めた総合階調特性である。
FIG. 2 shows a histogram distribution and gradation correction characteristics of the gradation correction device according to the first embodiment. In the figure, (a) is a histogram, the horizontal axis is the division level of the input signal,
The vertical axis is a frequency distribution (histogram) corresponding to each signal level of the input signal. (B) is a gradation correction characteristic, the horizontal axis is the input signal level, and the vertical axis is the output signal level. (C)
Is the gamma correction characteristic, the horizontal axis is the input signal level, and the vertical axis is the output signal level. (D) is an overall gradation characteristic including a gradation correction characteristic and a gamma correction characteristic.

【0035】図2(a)のように低輝度部の分割数を細
かくとっているため、低輝度部を重視した階調補正とな
っている。これにより、図2(d)の総合階調特性では
低輝度側の階調特性が図11(d)の従来の階調補正装
置の総合階調特性に比べてなめらかに補正されている。
As shown in FIG. 2A, since the number of divisions of the low-luminance portion is made small, gradation correction is performed with emphasis on the low-luminance portion. As a result, in the total gradation characteristic of FIG. 2D, the gradation characteristic on the low luminance side is corrected more smoothly than the total gradation characteristic of the conventional gradation correction device of FIG. 11D.

【0036】第1の実施の形態による本発明の効果は、
ビデオカメラのように、ガンマ補正や、ニー補正を施す
ような機器において、ガンマ補正により信号レベルのう
ち低輝度部の階調特性が強調される場合でも最適な階調
補正特性を得ることができるというものである。
The effect of the present invention according to the first embodiment is as follows.
In a device such as a video camera that performs gamma correction or knee correction, an optimum gradation correction characteristic can be obtained even when the gamma correction emphasizes the gradation characteristic of a low-luminance part in the signal level. That is.

【0037】(実施の形態2)実施の形態1で分割レベ
ルを設定したレジスタ7、信号レベルを検出した比較器
8は信号レベルの分割の数だけ必要となり回路規模が大
きくなる。
(Embodiment 2) The register 7 in which the division level is set in the first embodiment and the comparators 8 which detect the signal level are required by the number of divisions of the signal level, and the circuit scale becomes large.

【0038】第2の実施の形態による本発明の目的は、
第1の実施の形態に対してより簡単な構成で第1の実施
の形態と同様の効果を得ようと言うものである。
The object of the present invention according to the second embodiment is as follows.
This is to obtain an effect similar to that of the first embodiment with a simpler configuration than that of the first embodiment.

【0039】以下、本発明の第2の実施の形態の階調補
正装置について、図3および図4を参照しながら説明す
る。
Hereinafter, a tone correction device according to a second embodiment of the present invention will be described with reference to FIGS.

【0040】図3は第2の実施の形態の階調補正装置の
構成を示す構成図である。図3において、14a、14
bは加算器、15は分割レベル調整手段である補助的な
階調補正手段、16a、16bは増幅器、17は最小値
回路である。
FIG. 3 is a configuration diagram showing the configuration of the tone correction device according to the second embodiment. In FIG. 3, 14a, 14
b is an adder, 15 is auxiliary gradation correction means as division level adjustment means, 16a and 16b are amplifiers, and 17 is a minimum value circuit.

【0041】入力端子1に入力した入力信号Sinは補
助的階調補正手段15に入力される。
The input signal Sin inputted to the input terminal 1 is inputted to the auxiliary gradation correcting means 15.

【0042】補助的階調補正手段15では入力信号Si
nを増幅器16aで2倍した信号S0と、入力信号Si
nに加算器14aでオフセット値off 1が加算された信
号S1と、増幅器16bで1/2倍し加算器14bでオ
フセット値off 2が加算された信号S2が最小値回路1
7に入力され、3つの信号のうち最小のレベルを示す信
号が予備の階調補正が施された信号Sin2として出力
される。
In the auxiliary gradation correcting means 15, the input signal Si
n is doubled by the amplifier 16a, and the input signal Si
The signal S1 obtained by adding the offset value off1 to the n by the adder 14a and the signal S2 obtained by multiplying the output signal by 1/2 by the amplifier 16b and adding the offset value off2 by the adder 14b are the minimum value circuit 1.
7, a signal indicating the minimum level among the three signals is output as a signal Sin2 subjected to preliminary gradation correction.

【0043】ここで、オフセット値off 1を入力信号の
分割範囲の1/4、オフセット値off 2を入力信号の分
割範囲の1/2とすると、Sin2の階調特性は図4
(a)のようになる。
Here, assuming that the offset value off 1 is 1 / of the input signal division range and the offset value off 2 is の of the input signal division range, the gradation characteristic of Sin 2 is as shown in FIG.
(A).

【0044】次に補助的階調補正手段15の出力信号S
in2は信号レベル検出手段3に入力される。
Next, the output signal S of the auxiliary gradation correction means 15
in2 is input to the signal level detection means 3.

【0045】第2の実施の形態における信号レベル検出
手段3は入力信号レベルを8つのレベルに等間隔に分割
するように構成している。デジタル信号においては入力
信号の上位の3ビットにより8つのレベルの分割制御信
号を得ることができる。
The signal level detecting means 3 in the second embodiment is configured to divide the input signal level into eight levels at equal intervals. In a digital signal, a division control signal of eight levels can be obtained by the upper three bits of the input signal.

【0046】ヒストグラム検出手段4,階調特性設定手
段5、階調補正手段6の動作は第1の実施の形態に準じ
るので、ここでは省略する。
The operations of the histogram detecting means 4, the gradation characteristic setting means 5, and the gradation correcting means 6 are the same as in the first embodiment, and will not be described here.

【0047】図4に第2の実施の形態の階調補正装置の
ヒストグラム分布及び階調補正特性を示す。図4におい
て(a)は補助的階調補正手段の階調特性であり、横軸
は入力信号レベル、縦軸は出力信号レベルである。
(b)はヒストグラムで横軸は入力信号の分割レベル、
縦軸は入力信号の各信号レベルに対応する頻度分布(ヒ
ストグラム)である。(c)は階調補正特性で、横軸は
入力信号レベル、縦軸は出力信号レベルである。(d)
は階調補正特性とガンマ補正特性を含めた総合階調特性
である。
FIG. 4 shows a histogram distribution and gradation correction characteristics of the gradation correction device according to the second embodiment. In FIG. 4, (a) shows the gradation characteristics of the auxiliary gradation correction means, where the horizontal axis is the input signal level and the vertical axis is the output signal level.
(B) is a histogram, the horizontal axis is the division level of the input signal,
The vertical axis is a frequency distribution (histogram) corresponding to each signal level of the input signal. (C) is a gradation correction characteristic, the horizontal axis is the input signal level, and the vertical axis is the output signal level. (D)
Is a total gradation characteristic including a gradation correction characteristic and a gamma correction characteristic.

【0048】入力信号Sinに対し補助的階調補正手段
15で低輝度部の信号を2倍にすることにより、入力信
号Sinの4分の1の範囲に分布していた信号はSin
2では2分の1の範囲に分布することになる。入力信号
Sinの次の4分の1の範囲に分布していた信号はSi
n2では2分の1から4分の3の範囲に分布する。この
ように補助的階調補正手段15で予備の階調補正を施す
ことにより、分割範囲を設定した第1の実施の形態と同
様の範囲をヒストグラムの検出に割り当てることができ
る。そのため、ヒストグラム検出手段4で得られるヒス
トグラムの値は分割の間隔が等間隔であるのに第1の実
施の形態と同じ値が得られ、第1の実施の形態と同様の
階調特性が得られる。
By doubling the signal of the low-luminance portion with respect to the input signal Sin by the auxiliary gradation correcting means 15, the signal distributed in a quarter of the input signal Sin is reduced to Sin.
In the case of 2, it is distributed in a half range. The signal distributed in the next quarter of the input signal Sin is Si
In n2, it is distributed in the range of 1/2 to 3/4. By performing the preliminary gradation correction by the auxiliary gradation correction means 15 in this manner, the same range as in the first embodiment in which the divided range is set can be assigned to the detection of the histogram. Therefore, the values of the histogram obtained by the histogram detection means 4 are the same as those in the first embodiment even though the division intervals are equal, and the same gradation characteristics as those in the first embodiment are obtained. Can be

【0049】第2の実施の形態による本発明の効果は、
補助的階調補正手段15を簡単な構成とすることができ
るため、小さな回路規模で第1の実施の形態と同様の階
調補正特性を得ることができるというものである。
The effect of the present invention according to the second embodiment is as follows.
Since the auxiliary gradation correcting means 15 can have a simple configuration, the same gradation correction characteristics as those of the first embodiment can be obtained with a small circuit scale.

【0050】(実施の形態3)以下、本発明の第3の実
施の形態の階調補正装置について、図5および図6を参
照しながら説明する。
(Embodiment 3) Hereinafter, a gradation correcting apparatus according to a third embodiment of the present invention will be described with reference to FIGS.

【0051】第3の実施の形態による本発明の目的は、
低輝度部の階調特性の設定の自由度を上げ、最適な階調
特性を得るというものである。
The object of the present invention according to the third embodiment is as follows.
The purpose is to increase the degree of freedom in setting the gradation characteristics of the low-luminance portion and obtain the optimum gradation characteristics.

【0052】図5に第3の実施の形態の階調補正装置の
構成を示す。図5において、1は入力端子、2は分割レ
ベル調整手段、3は信号レベル検出手段、4はヒストグ
ラム検出手段、5は階調特性設定手段、6は階調補正手
段、9は出力端子、14は第1のレベル補正手段として
の加算器、18は第2のレベル補正手段としての減算器
である。
FIG. 5 shows the configuration of a tone correction device according to the third embodiment. In FIG. 5, 1 is an input terminal, 2 is a division level adjustment unit, 3 is a signal level detection unit, 4 is a histogram detection unit, 5 is a gradation characteristic setting unit, 6 is a gradation correction unit, 9 is an output terminal, 14 is Is an adder as first level correction means, and 18 is a subtractor as second level correction means.

【0053】入力端子1に入力された入力信号ははじめ
に分割レベル調整手段2に入力される。分割レベル調整
手段2では特定のオフセット値off1が第1のレベル補
正手段としての加算器14で加算され、オフセット付き
の入力信号Sin2が出力される。ここで、オフセット
値off1は1段目に相当する最も低いレベルの分割レ
ベルの幅より小さい値とする。
The input signal input to the input terminal 1 is first input to the division level adjusting means 2. In the division level adjusting means 2, a specific offset value off1 is added by an adder 14 as a first level correcting means, and an input signal Sin2 with an offset is output. Here, the offset value off1 is set to a value smaller than the width of the division level of the lowest level corresponding to the first stage.

【0054】次にオフセット付き入力信号Sin2は信
号レベル検出手段3に入力され、信号レベルが検出され
る。
Next, the input signal Sin2 with offset is inputted to the signal level detecting means 3, and the signal level is detected.

【0055】信号レベル検出手段3では、第2の実施の
形態と同様に等間隔の分割レベルで信号レベルを検出
し、ヒストグラム検出手段4でオフセット加算された入
力信号のヒストグラムが算出される。階調特性設定手段
5では、ヒストグラム検出手段4で検出されたヒストグ
ラム値に応じた階調特性を算出するが、最も低いレベル
の分割レベルに対応する信号に対しては階調補正を行わ
ず入力信号をそのまま出すように設定する。階調補正手
段6では、階調特性設定手段5で算出された階調補正特
性を入力し、階調補正された出力信号を出力する。
The signal level detecting means 3 detects signal levels at equally spaced division levels as in the second embodiment, and the histogram of the input signal subjected to offset addition by the histogram detecting means 4 is calculated. The gradation characteristic setting means 5 calculates a gradation characteristic according to the histogram value detected by the histogram detection means 4, but inputs the signal corresponding to the lowest division level without performing gradation correction. Set to output the signal as it is. The gradation correction means 6 receives the gradation correction characteristics calculated by the gradation characteristic setting means 5 and outputs a gradation-corrected output signal.

【0056】階調補正手段6の出力信号は分割レベル調
整手段2の第2のレベル補正手段としての減算器18に
より、オフセット値off 2が減じられ、出力信号Sou
tとして出力端子9から出力される。
The output value of the gradation correction means 6 is reduced by the offset value off 2 by the subtracter 18 as the second level correction means of the division level adjustment means 2, and the output signal Sou
Output from the output terminal 9 as t.

【0057】図6に第3の実施の形態の階調補正装置の
ヒストグラム分布及び階調補正特性を示す。図6におい
て(a)は分割レベル調整手段2の加算器14の出力信
号Sin2の階調特性であり、横軸は入力信号レベル、
縦軸は出力信号レベルである。(b)はヒストグラムで
横軸は入力信号の分割レベル、縦軸は入力信号の各信号
レベルに対応する頻度分布(ヒストグラム)である。
(c)は階調補正特性で、横軸は入力信号レベル、縦軸
は出力信号レベルである。(d)は分割レベル調整手段
2の減算器18の出力信号Soutの階調特性であり、横
軸は入力信号レベル、縦軸は出力信号レベルである。
(e)は階調補正特性とガンマ補正特性を含めた総合階
調特性である。
FIG. 6 shows a histogram distribution and gradation correction characteristics of the gradation correction apparatus according to the third embodiment. In FIG. 6, (a) shows the gradation characteristics of the output signal Sin2 of the adder 14 of the division level adjusting means 2, where the horizontal axis is the input signal level,
The vertical axis is the output signal level. (B) is a histogram, in which the horizontal axis represents the division level of the input signal, and the vertical axis represents the frequency distribution (histogram) corresponding to each signal level of the input signal.
(C) is a gradation correction characteristic, the horizontal axis is the input signal level, and the vertical axis is the output signal level. (D) is the gradation characteristic of the output signal Sout of the subtractor 18 of the division level adjusting means 2, where the horizontal axis is the input signal level and the vertical axis is the output signal level.
(E) is an overall gradation characteristic including a gradation correction characteristic and a gamma correction characteristic.

【0058】図6(c)では最小の分割レベルの傾きは
1倍になっている。図6(d)ではオフセット値off
2を減じ、図6(c)の特性を負側にシフトした形の特
性になっている。図6(e)では、オフセット値に相当
するレベルだけ最小の分割レベルが小さくなった形で総
合特性が形成されている。
In FIG. 6C, the gradient of the minimum division level is one. In FIG. 6D, the offset value off
By subtracting 2, the characteristic of FIG. 6C is shifted to the negative side. In FIG. 6E, the overall characteristic is formed in such a manner that the minimum division level is reduced by a level corresponding to the offset value.

【0059】折れ線で階調補正を行う場合には、その折
れ点のレベルで階調特性の傾きが不連続になり、階調補
正後の画像の階調特性が不自然となる場合があるが、本
実施の形態のように入力信号にオフセット値を加算する
ことによって折れ点を調整することにより、より自然な
階調特性を得ることができる。
When gradation correction is performed with a broken line, the gradient of the gradation characteristic becomes discontinuous at the level of the broken point, and the gradation characteristic of the image after the gradation correction may become unnatural. By adjusting a break point by adding an offset value to an input signal as in the present embodiment, a more natural gradation characteristic can be obtained.

【0060】第3の実施の形態による本発明の効果は、
入力信号にオフセット値を加算することによって折れ点
を調整することにより、より自然な階調特性を得ること
ができるというものである。
The effect of the present invention according to the third embodiment is as follows.
By adjusting a break point by adding an offset value to an input signal, a more natural gradation characteristic can be obtained.

【0061】(実施の形態4)以下、本発明の第4の実
施の形態の階調補正装置について、図7および図8を参
照しながら説明する。
(Embodiment 4) Hereinafter, a gradation correcting apparatus according to a fourth embodiment of the present invention will be described with reference to FIGS.

【0062】第4の実施の形態による本発明の目的は、
重み付け手段で特定の信号レベルの階調特性の傾きがヒ
ストグラムの分布に対して、より急峻になるように階調
特性を設定することによって、ビデオカメラのように、
ガンマ補正や、ニー補正を施すような機器において、ガ
ンマ補正により信号レベルのうち低輝度部の階調特性が
強調される場合でも最適な階調補正特性を得ることであ
る。
The object of the present invention according to the fourth embodiment is as follows.
By setting the gradation characteristic so that the slope of the gradation characteristic of a specific signal level becomes steeper with respect to the distribution of the histogram by the weighting means, as in a video camera,
In a device that performs gamma correction or knee correction, an optimum gradation correction characteristic is to be obtained even when gradation characteristics of a low luminance portion in a signal level are emphasized by gamma correction.

【0063】図7は本発明の第4の実施の形態の階調補
正装置の構成を表す構成図である。図7において、19
は重み付け手段、20は階調特性算出手段である。
FIG. 7 is a configuration diagram showing the configuration of a tone correction device according to a fourth embodiment of the present invention. In FIG. 7, 19
Is a weighting means, and 20 is a gradation characteristic calculating means.

【0064】第4の実施の形態において分割レベル調整
手段2、信号レベル検出手段3、ヒストグラム検出手段
4の動作は第3の実施の形態に準じるので、ここでは省
略する。階調特性設定手段5は階調特性算出手段20に
おいて第3の実施の形態と同様に階調補正特性を算出し
た後、算出した階調補正特性を重み付け手段19に入力
する。重み付け手段19では特定の信号レベルの階調特
性の傾きがヒストグラムの分布に対して、より急峻にな
るように階調特性を設定する。具体的には8分割された
信号レベルの階調補正特性に対し、各段の傾きが最下段
は1倍、次の3段は1/2倍、次の2段は1倍、次の2
段は2倍となるようなゲインをかける。
In the fourth embodiment, the operations of the division level adjusting means 2, the signal level detecting means 3, and the histogram detecting means 4 are the same as those of the third embodiment, and will not be described here. The gradation characteristic setting means 5 calculates the gradation correction characteristic in the gradation characteristic calculation means 20 in the same manner as in the third embodiment, and inputs the calculated gradation correction characteristic to the weighting means 19. The weighting means 19 sets the gradation characteristics so that the gradient of the gradation characteristics at a specific signal level becomes steeper with respect to the histogram distribution. Specifically, with respect to the gradation correction characteristic of the signal level divided into eight, the inclination of each stage is 1 × at the lowest stage, 倍 × at the next 3 stages, 1 × at the next 2 stages, 1 × at the next 2 stages.
The stage applies a gain that is doubled.

【0065】階調補正手段6では、階調特性設定手段5
で算出された階調補正特性を入力し、階調補正された出
力信号を出力する。
In the gradation correcting means 6, the gradation characteristic setting means 5
Is input, and an output signal whose gradation has been corrected is output.

【0066】階調補正手段6の出力信号は分割レベル調
整手段2の第2のレベル補正手段としての減算器18に
より、オフセット値off2が減じられ、出力信号Sou
tとして出力端子9から出力される。
The output value of the gradation correction means 6 is reduced by the offset value off2 by the subtracter 18 as the second level correction means of the division level adjustment means 2, and the output signal Sou
Output from the output terminal 9 as t.

【0067】図8に第4の実施の形態の階調補正装置の
階調補正特性等を示す。図8において(a)は階調補正
特性で、横軸は入力信号レベル、縦軸は出力信号レベル
である。図8(a)では重み付け前の階調補正特性を波
線で示す。(b)は階調補正特性とガンマ補正特性を含
めた総合階調特性である。
FIG. 8 shows the gradation correction characteristics and the like of the gradation correction device according to the fourth embodiment. In FIG. 8, (a) is the gradation correction characteristic, the horizontal axis is the input signal level, and the vertical axis is the output signal level. In FIG. 8A, the gradation correction characteristics before weighting are indicated by broken lines. (B) is an overall gradation characteristic including a gradation correction characteristic and a gamma correction characteristic.

【0068】図8(a)で重み付け処理により最下段の
傾きは1倍、次の3段の傾きは1/2倍に、次の2段の
傾きは1倍に、次の2段の傾きは2倍となっている。
In FIG. 8A, the slope of the lowermost stage is one time, the slope of the next three stages is 1/2, the slope of the next two stages is one time, and the slope of the next two stages is determined by the weighting process. Is doubled.

【0069】結果として、図8(b)のように、ガンマ
補正後の総合特性で、高輝度部の階調特性が急峻になっ
ていることがわかる。
As a result, as shown in FIG. 8B, it can be seen that the gradation characteristics of the high-luminance portion are steep in the overall characteristics after gamma correction.

【0070】第4の実施の形態による本発明の効果は、
重み付け手段19で特定の信号レベルの階調特性の傾き
がヒストグラムの分布に対して、より急峻になるように
階調特性を設定することによって、ビデオカメラのよう
に、ガンマ補正や、ニー補正を施すような機器におい
て、ガンマ補正により信号レベルのうち低輝度部の階調
特性が強調される場合でも最適な階調補正特性を得るこ
とができるというものである。
The effect of the present invention according to the fourth embodiment is as follows.
By setting the gradation characteristics so that the gradient of the gradation characteristics at a specific signal level becomes steeper with respect to the histogram distribution by the weighting means 19, gamma correction and knee correction can be performed as in a video camera. In such a device, the optimum gradation correction characteristic can be obtained even when the gradation characteristic of the low luminance portion of the signal level is emphasized by the gamma correction.

【0071】なお、第2の実施の形態から第4の実施の
形態で分割レベル調整手段2の分割レベルは固定値とし
て扱っているが、入力信号のダイナミックレンジやヒス
トグラムデータの分布の変化に対応して分割レベルを変
化させても良い。この場合はさらに細かな調整が可能と
なる。
Although the division levels of the division level adjusting means 2 are treated as fixed values in the second to fourth embodiments, they correspond to changes in the dynamic range of input signals and the distribution of histogram data. Alternatively, the division level may be changed. In this case, finer adjustment is possible.

【0072】また、第1の実施の形態から第4の実施の
形態で入力信号の分割レベル数を8としたが、それ以上
であってもそれ以下であっても良い。分割数を多くすれ
ば、相対的に回路規模が大きくなるが、より細かな調整
が可能となる。
Further, in the first to fourth embodiments, the number of division levels of the input signal is set to 8, but may be more or less. Increasing the number of divisions relatively increases the circuit scale, but allows finer adjustment.

【0073】また、第2の実施の形態における補助的階
調補正手段15はゲインとオフセットを変えた3種類の
信号のうち最小のものを取り出す構成となっているが、
折れ線近似である必要はない。
Further, the auxiliary gradation correcting means 15 in the second embodiment is configured to take out the smallest one of the three types of signals having different gains and offsets.
It need not be a line-line approximation.

【0074】また、第1の実施の形態から第4の実施の
形態の分割レベル調整手段2は、組み合わせて使用する
ことができる。複数の分割レベル調整手段2を組み合わ
せれば、よりよい階調補正特性を得ることができる。例
えば、第2の実施の形態および第3の実施の形態の分割
レベル調整手段2の少なくとも一方を第1の実施の形態
に加えたり、第3の実施の形態の分割レベル調整手段2
を第2の実施の形態に加えることが考えられる。さらに
第4の実施の形態の階調特性設定手段5を第1の実施の
形態または第2の実施の形態に適用することが可能であ
る。
Further, the division level adjusting means 2 of the first to fourth embodiments can be used in combination. By combining a plurality of division level adjusting means 2, better gradation correction characteristics can be obtained. For example, at least one of the division level adjustment units 2 of the second and third embodiments may be added to the first embodiment, or the division level adjustment unit 2 of the third embodiment may be added.
May be added to the second embodiment. Further, the gradation characteristic setting means 5 of the fourth embodiment can be applied to the first embodiment or the second embodiment.

【0075】また、第4の実施の形態で重み付け手段1
9で階調補正特性に対して重み付け処理を行っている
が、ヒストグラム検出手段4から入力するヒストグラム
データに対して重み付け処理を施しても同様の効果が得
られる。
Further, in the fourth embodiment, the weighting means 1
9, weighting processing is performed on the gradation correction characteristic. However, the same effect can be obtained by performing weighting processing on the histogram data input from the histogram detecting means 4.

【0076】この重み付け手段19を有する階調特性設
定手段5は、第1の実施の形態および第2の実施の形態
に適用することも可能である。また、第4の実施の形態
で重み付けの値は固定値として扱っているが、入力信号
のダイナミックレンジやヒストグラムデータの分布の変
化に対応して重み付け量を変化させても良い。この場合
はさらに細かな調整が可能となる。
The gradation characteristic setting means 5 having the weighting means 19 can be applied to the first embodiment and the second embodiment. Although the weighting value is treated as a fixed value in the fourth embodiment, the weighting amount may be changed according to a change in the dynamic range of the input signal or the distribution of the histogram data. In this case, finer adjustment is possible.

【0077】また、第4の実施の形態の重み付け量をカ
メラ信号処理で施されるガンマ補正特性と逆の特性とし
ても良い。そうすることによって、ガンマ補正による低
輝度部の強調と、高輝度部の抑圧をキャンセルすること
ができる。
Further, the weighting amount of the fourth embodiment may be a characteristic opposite to the gamma correction characteristic performed in the camera signal processing. By doing so, it is possible to cancel the emphasis of the low-luminance part and the suppression of the high-luminance part by gamma correction.

【0078】[0078]

【発明の効果】請求項1記載の階調補正装置によれば、
例えばビデオカメラのように、ガンマ補正や、ニー補正
を施すような機器において、ガンマ補正により信号レベ
ルのうち低輝度部の階調特性が強調される場合でも、例
えば低輝度部の分割レベル数を細かくとって低輝度部を
重視した階調補正をする等、最適な階調補正特性を得る
ことができる。
According to the gradation correcting apparatus of the first aspect,
For example, in a device such as a video camera that performs gamma correction or knee correction, even if the gradation characteristics of the low luminance portion of the signal level are emphasized by the gamma correction, for example, the number of division levels of the low luminance portion is reduced. Optimum gradation correction characteristics can be obtained, for example, by performing fine gradation correction with emphasis on a low luminance portion.

【0079】請求項2記載の階調補正装置によれば、請
求項1と同様な効果がある。
According to the gradation correcting apparatus of the second aspect, the same effect as that of the first aspect can be obtained.

【0080】請求項3記載の階調補正装置によれば、補
助的階調補正手段を簡単な構成とすることができるた
め、小さな回路規模で請求項1と同様の階調補正特性を
得ることができる。
According to the third aspect of the present invention, since the auxiliary tone correcting means can have a simple configuration, it is possible to obtain the same tone correction characteristics as in the first aspect with a small circuit scale. Can be.

【0081】請求項4記載の階調補正装置によれば、信
号レベル検出手段の入力信号にオフセット値を加算する
ことによって折れ点を調整することにより、より自然な
階調特性を得ることができる。
According to the tone correcting apparatus of the present invention, a more natural tone characteristic can be obtained by adjusting a break point by adding an offset value to an input signal of the signal level detecting means. .

【0082】請求項5記載の階調補正装置によれば、請
求項1、請求項2、請求項3または請求項4と同様な効
果のほか、重み付け手段で特定の信号レベルの階調特性
の傾きがヒストグラムの分布に対して、より急峻になる
ように階調特性を設定することによって、例えばビデオ
カメラのようにガンマ補正やニー補正を施すような機器
において、ガンマ補正により信号レベルのうち低輝度部
の階調特性が強調される場合でも最適な階調補正特性を
得ることができる。
According to the gradation correcting apparatus of the fifth aspect, in addition to the same effects as those of the first, second, third, and fourth aspects, the weighting means can be used to obtain a gradation characteristic of a specific signal level. By setting the gradation characteristics so that the slope becomes steeper with respect to the distribution of the histogram, in a device such as a video camera that performs gamma correction or knee correction, the signal level becomes lower due to gamma correction. Even when the gradation characteristics of the luminance section are emphasized, the optimum gradation correction characteristics can be obtained.

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

【図1】この発明の第1の実施の形態の階調補正装置の
構成を表す構成図である。
FIG. 1 is a configuration diagram illustrating a configuration of a gradation correction device according to a first embodiment of the present invention.

【図2】第1の実施の形態の階調補正装置の特性図を示
し、(a)はヒストグラム分布、(b)は階調補正特
性、(c)はガンマ補正特性、(d)は総合階調特性で
ある。
FIGS. 2A and 2B are characteristic diagrams of the gradation correction device according to the first embodiment, wherein FIG. 2A shows a histogram distribution, FIG. 2B shows a gradation correction characteristic, FIG. 2C shows a gamma correction characteristic, and FIG. This is a gradation characteristic.

【図3】第2の実施の形態の階調補正装置の構成を表す
構成図である。
FIG. 3 is a configuration diagram illustrating a configuration of a gradation correction device according to a second embodiment.

【図4】第2の実施の形態の階調補正装置の特性図を示
し、(a)は補助階調補正特性、(b)はヒストグラム
分布、(c)は階調補正特性、(d)は総合階調特性で
ある。
4A and 4B are characteristic diagrams of a tone correction device according to a second embodiment, wherein FIG. 4A shows an auxiliary tone correction characteristic, FIG. 4B shows a histogram distribution, FIG. 4C shows a tone correction characteristic, and FIG. Is the total gradation characteristic.

【図5】第3の実施の形態の階調補正装置の構成を表す
構成図である。
FIG. 5 is a configuration diagram illustrating a configuration of a gradation correction device according to a third embodiment.

【図6】第3の実施の形態の階調補正装置の特性図を示
し、(a)は出力信号Sin2の階調特性、(b)はヒ
ストグラム分布、(c)は階調補正特性、(d)はSo
utの階調特性、(e)は総合階調特性である。
FIGS. 6A and 6B are characteristic diagrams of the tone correction device according to the third embodiment, in which FIG. 6A shows the tone characteristics of the output signal Sin2, FIG. 6B shows the histogram distribution, FIG. d) is So
ut, and (e) are the total gradation characteristics.

【図7】第4の実施の形態の階調補正装置の構成を表す
構成図である。
FIG. 7 is a configuration diagram illustrating a configuration of a tone correction device according to a fourth embodiment.

【図8】第4の実施の形態の階調補正装置の特性図を示
し、(a)は階調補正特性、(b)は総合階調特性であ
る。
FIGS. 8A and 8B are characteristic diagrams of a tone correction device according to a fourth embodiment, wherein FIG. 8A shows tone correction characteristics and FIG. 8B shows total tone characteristics.

【図9】従来の階調補正装置の構成を示す構成図であ
る。
FIG. 9 is a configuration diagram showing a configuration of a conventional tone correction device.

【図10】従来の階調補正装置の特性図を示し、(a)
はヒストグラム分布、(b)は階調補正特性、(c)は
ガンマ補正特性、(d)は総合階調特性である。
FIG. 10 shows a characteristic diagram of a conventional tone correction device, and FIG.
Is a histogram distribution, (b) is a gradation correction characteristic, (c) is a gamma correction characteristic, and (d) is a total gradation characteristic.

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

1 入力端子 2 分割レベル調整手段 3 信号レベル検出手段 4 ヒストグラム検出手段 5 階調特性設定手段 6 階調補正手段 7 分割レベル設定手段としてのレジスタ 8 比較器 9 出力端子 10 信号レベル判定回路 11 マルチプレクサ 12 レジスタ 13 セレクタ 14 加算器 15 補助的階調補正手段 16 増幅器 17 最小値回路 18 減算器 19 重み付け手段 20 階調特性算出手段 REFERENCE SIGNS LIST 1 input terminal 2 division level adjustment means 3 signal level detection means 4 histogram detection means 5 gradation characteristic setting means 6 gradation correction means 7 register as division level setting means 8 comparator 9 output terminal 10 signal level judgment circuit 11 multiplexer 12 Register 13 Selector 14 Adder 15 Auxiliary tone correction means 16 Amplifier 17 Minimum value circuit 18 Subtractor 19 Weighting means 20 Tone characteristic calculation means

───────────────────────────────────────────────────── フロントページの続き (72)発明者 米山 匡幸 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 Fターム(参考) 5C021 PA02 PA17 PA53 PA66 RA00 RB03 RC06 XA01 XA31  ──────────────────────────────────────────────────続 き Continued on the front page (72) Masayuki Yoneyama, Inventor 1006 Kazuma Kadoma, Osaka Prefecture Matsushita Electric Industrial Co., Ltd. F-term (reference) 5C021 PA02 PA17 PA53 PA66 RA00 RB03 RC06 XA01 XA31

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 入力信号レベルの分布範囲を複数の分割
レベルに分割し入力信号がどの分割レベルに入っている
かを検出する信号レベル検出手段と、 前記分割レベルごとの前記入力信号の分布であるヒスト
グラムを検出するヒストグラム検出手段と、 前記ヒストグラムに応じて分布の多いレベルの傾きが急
になるように階調特性を設定する階調特性設定手段と、 前記階調特性設定手段で設定された階調特性に応じて、
前記入力信号に非線形な階調補正を施す階調補正手段
と、 前記信号レベル検出手段で用いられる前記分割レベルの
間隔が前記入力信号に対し非均一になるように、前記分
割レベルの間隔を調整する分割レベル調整手段とを備え
た階調補正装置。
1. A signal level detecting means for dividing a distribution range of an input signal level into a plurality of division levels and detecting which division level the input signal is in, and a distribution of the input signal for each division level. Histogram detection means for detecting a histogram; gradation characteristic setting means for setting a gradation characteristic so that the gradient of a level having a large distribution according to the histogram is steep; and a floor set by the gradation characteristic setting means. Depending on the tonal characteristics,
A gradation correction unit for performing non-linear gradation correction on the input signal; and adjusting the interval between the division levels so that the interval between the division levels used in the signal level detection unit is non-uniform with respect to the input signal. And a division level adjusting unit.
【請求項2】 分割レベル調整手段は分割レベルの間隔
が入力信号に対し非均一になるように設定する複数の分
割レベル設定手段で構成され、 信号レベル検出手段は入力信号を前記分割レベル調整手
段で設定された分割レベルと比較する複数の比較器を有
する請求項1記載の階調補正装置。
2. The division level adjusting means comprises a plurality of division level setting means for setting an interval between division levels so as to be non-uniform with respect to an input signal, and the signal level detecting means converts an input signal into said division level adjusting means. 2. The gradation correction device according to claim 1, further comprising a plurality of comparators for comparing the division level set in the step (c).
【請求項3】 入力信号に対して非線形な出力特性を持
つ補助的階調補正手段と、 前記補助的階調補正手段の出力信号を入力信号として、
この入力信号のレベルの分布範囲を複数の分割レベルに
分割し前記入力信号がどの分割レベルに入っているかを
検出する信号レベル検出手段と、 前記分割レベルごとの前記入力信号の分布であるヒスト
グラムを検出するヒストグラム検出手段と、 前記ヒストグラムに応じて分布の多いレベルの傾きが急
になるように階調特性を設定する階調特性設定手段と、 前記階調特性設定手段で設定された階調特性に応じて、
前記入力信号に非線形な階調補正を施す階調補正手段と
を備えた階調補正装置。
3. An auxiliary gradation correction unit having a non-linear output characteristic with respect to an input signal, and an output signal of the auxiliary gradation correction unit as an input signal.
Signal level detection means for dividing the distribution range of the level of the input signal into a plurality of division levels and detecting which division level the input signal falls into; and a histogram which is a distribution of the input signal for each division level. Histogram detection means for detecting, gradation characteristic setting means for setting gradation characteristics such that the gradient of a level having a large distribution according to the histogram is steep, and gradation characteristics set by the gradation characteristic setting means In response to the,
A gradation correction unit that performs non-linear gradation correction on the input signal.
【請求項4】 入力信号に対し、レベル補正を施す第1
のレベル補正手段と、 この第1のレベル補正手段の出力信号を入力信号とし
て、この入力信号のレベルの分布範囲を複数の分割レベ
ルに分割し前記入力信号がどの分割レベルに入っている
かを検出する信号レベル検出手段と、 前記分割レベルごとの前記入力信号の分布であるヒスト
グラムを検出するヒストグラム検出手段と、 前記ヒストグラムに応じて分布の多いレベルの傾きが急
になるように階調特性を設定する階調特性設定手段と、 前記階調特性設定手段で設定された階調特性に応じて、
前記入力信号に非線形な階調補正を施す階調補正手段
と、 この階調補正手段における階調補正処理の後の信号に対
しレベル補正を施す第2のレベル補正手段とを備えた階
調補正装置。
4. A first method for performing level correction on an input signal.
A level correction means, and using the output signal of the first level correction means as an input signal, dividing the distribution range of the level of the input signal into a plurality of division levels, and detecting which division level the input signal falls into Signal level detecting means, a histogram detecting means for detecting a histogram which is a distribution of the input signal for each of the division levels, and setting a gradation characteristic so that a gradient having a large distribution is steep according to the histogram. Tone characteristic setting means to perform, according to the tone characteristic set by the tone characteristic setting means,
A tone correction device comprising: tone correction means for performing non-linear tone correction on the input signal; and second level correction means for performing level correction on a signal after the tone correction processing by the tone correction means. apparatus.
【請求項5】 階調特性設定手段は特定の分割レベルの
階調特性の傾きがヒストグラムの分布に対して、より急
峻になるように階調特性を設定する重み付け手段を有す
る請求項1、請求項2、請求項3または請求項4記載の
階調補正装置。
5. A gradation characteristic setting means comprising weighting means for setting a gradation characteristic so that a gradient of a gradation characteristic at a specific division level becomes steeper with respect to a histogram distribution. The tone correction device according to claim 2, 3, or 4.
JP13089399A 1999-05-12 1999-05-12 Tone correction device Expired - Fee Related JP4376352B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13089399A JP4376352B2 (en) 1999-05-12 1999-05-12 Tone correction device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13089399A JP4376352B2 (en) 1999-05-12 1999-05-12 Tone correction device

Publications (2)

Publication Number Publication Date
JP2000324363A true JP2000324363A (en) 2000-11-24
JP4376352B2 JP4376352B2 (en) 2009-12-02

Family

ID=15045186

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13089399A Expired - Fee Related JP4376352B2 (en) 1999-05-12 1999-05-12 Tone correction device

Country Status (1)

Country Link
JP (1) JP4376352B2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7199840B2 (en) 2001-05-31 2007-04-03 Matsushita Electric Industrial Co., Ltd. Dynamic gray scale range adjustment apparatus and method
JP2009017200A (en) * 2007-07-04 2009-01-22 Sony Corp Image processing apparatus, image processing method, and program
JP2009032021A (en) * 2007-07-26 2009-02-12 Seiko Epson Corp Image processor, image processing method and computer program
JP2009032019A (en) * 2007-07-26 2009-02-12 Seiko Epson Corp Image processor, image processing method and computer program
JP2009032018A (en) * 2007-07-26 2009-02-12 Seiko Epson Corp Image processor, image processing method and computer program
WO2009060970A1 (en) * 2007-11-05 2009-05-14 Olympus Corporation Signal processing apparatus and signal processing program
KR100968095B1 (en) 2007-07-23 2010-07-06 르네사스 일렉트로닉스 가부시키가이샤 Video signal processing apparatus performing gamma correction by cubic interpolation computation, and method thereof
KR20110090081A (en) * 2010-02-02 2011-08-10 삼성전자주식회사 Apparatus and method for histogram equalization of image

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6243629B2 (en) 2013-05-29 2017-12-06 キヤノン株式会社 Image processing apparatus and method, and imaging apparatus

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7199840B2 (en) 2001-05-31 2007-04-03 Matsushita Electric Industrial Co., Ltd. Dynamic gray scale range adjustment apparatus and method
JP2009017200A (en) * 2007-07-04 2009-01-22 Sony Corp Image processing apparatus, image processing method, and program
US8089560B2 (en) 2007-07-04 2012-01-03 Sony Corporation Image processing apparatus, image processing method and program
KR100968095B1 (en) 2007-07-23 2010-07-06 르네사스 일렉트로닉스 가부시키가이샤 Video signal processing apparatus performing gamma correction by cubic interpolation computation, and method thereof
JP2009032021A (en) * 2007-07-26 2009-02-12 Seiko Epson Corp Image processor, image processing method and computer program
JP2009032019A (en) * 2007-07-26 2009-02-12 Seiko Epson Corp Image processor, image processing method and computer program
JP2009032018A (en) * 2007-07-26 2009-02-12 Seiko Epson Corp Image processor, image processing method and computer program
WO2009060970A1 (en) * 2007-11-05 2009-05-14 Olympus Corporation Signal processing apparatus and signal processing program
US8724898B2 (en) 2007-11-05 2014-05-13 Olympus Corporation Signal processor and storage medium storing signal processing program
KR20110090081A (en) * 2010-02-02 2011-08-10 삼성전자주식회사 Apparatus and method for histogram equalization of image
KR101643320B1 (en) * 2010-02-02 2016-07-27 삼성전자주식회사 Apparatus and method for histogram equalization of image

Also Published As

Publication number Publication date
JP4376352B2 (en) 2009-12-02

Similar Documents

Publication Publication Date Title
KR100512542B1 (en) Image quality correction circuit for video signals
JPH04271669A (en) Gradation corrector
JPH10261078A (en) Gradation correcting method for image-pickup device
JP2007104107A (en) Semiconductor integrated device and black level correction method of image sensor
JP2512562B2 (en) Gradation correction device
JPH04293365A (en) Gradation correction device
KR100297714B1 (en) Wide dynamic range imaging apparatus and image signal processing method thereof
JP3549356B2 (en) Image luminance signal gradation correction device
JP2000324363A (en) Gradation correction device
KR950000325B1 (en) Apparatus for correcting a black level of a video signal
JP2005244559A (en) Image signal processor
JP4659272B2 (en) Tone correction device
JP2003204450A (en) Imaging apparatus and video signal processing method
JP4216450B2 (en) Image processing device
JP4017810B2 (en) Gradation correction apparatus and recording medium
JP2000513905A (en) Image signal histogram calculator
JP4457787B2 (en) Video signal processing apparatus and method, and program
JP2004040325A (en) Image signal processing apparatus
JPH11164190A (en) Automatic exposure control method
KR100398979B1 (en) Apparatus and method for processing video signals
JPH11331598A (en) Gradation correcting method of image pickup device
JP2002044679A (en) Image signal processing circuit
JPH10173958A (en) Video signal processor
JPH08274639A (en) Reduction system nd method for noise added to milticomponent alalog signal in analog-digital conversion
JP3573442B2 (en) Television camera

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060112

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080904

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080916

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081107

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090818

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090909

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

Free format text: PAYMENT UNTIL: 20120918

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130918

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees