JPH1051662A - Gamma correction circuit - Google Patents

Gamma correction circuit

Info

Publication number
JPH1051662A
JPH1051662A JP8205573A JP20557396A JPH1051662A JP H1051662 A JPH1051662 A JP H1051662A JP 8205573 A JP8205573 A JP 8205573A JP 20557396 A JP20557396 A JP 20557396A JP H1051662 A JPH1051662 A JP H1051662A
Authority
JP
Japan
Prior art keywords
gamma correction
value
input
correction value
video signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP8205573A
Other languages
Japanese (ja)
Inventor
Takashi Oyama
貴 大山
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.)
Hitachi Denshi KK
Original Assignee
Hitachi Denshi KK
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 Hitachi Denshi KK filed Critical Hitachi Denshi KK
Priority to JP8205573A priority Critical patent/JPH1051662A/en
Publication of JPH1051662A publication Critical patent/JPH1051662A/en
Pending legal-status Critical Current

Links

Landscapes

  • Picture Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain the gamma correction circuit suitable for a television camera conducting digital processing by storing gamma correction value data represented by a continuous curve in a gamma correction value storage device and reading the gamma correction value depending on a level of a video signal so as to apply the gamma correction processing to the data. SOLUTION: When power to a television camera is applied, picture required parameters are sequentially fed to a parameter input terminal 4 and given to an arithmetic operation parameter storage memory 8, in which the required parameters are sequentially stored. Then a control circuit is given to a counter 5 from an input terminal 3, the counter counts number of the received clock signals, increases number of bits of the clock signals up to number of bits required for a set dynamic range and the result is outputted to the arithmetic operation parameter storage memory 8, multipliers 6, 10 and a gamma correction value storage memory 9. Then a picked-up digital video signal is fed to a terminal 2 and given to the memory 9, then a gamma correction value corresponding to the input value is outputted from the memory 9.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ディジタル処理に
より映像信号の処理を行なうテレビジョンカメラに使用
するのに好適なガンマ補正回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a gamma correction circuit suitable for use in a television camera for processing video signals by digital processing.

【0002】[0002]

【従来の技術】テレビジョンカメラは、アナログ処理の
テレビジョンカメラ、ディジタル処理のテレビジョンカ
メラを問わず、テレビジョンカメラによる撮像からテレ
ビジョン受像機でのブラウン管の発光にいたるテレビジ
ョン系全体での入力対出力におけるガンマ値を、所要の
値となるように補正するガンマ補正回路を備えている。
ディジタル処理のテレビジョンカメラで使用している従
来のガンマ補正回路の一例を図3に示し、このガンマ補
正回路が持つ折線の連続による曲線に近似した入出力特
性を図4に示す。
2. Description of the Related Art A television camera, whether it is an analog processing television camera or a digital processing television camera, covers the entire television system from imaging by a television camera to emission of a cathode ray tube by a television receiver. A gamma correction circuit is provided which corrects a gamma value between an input and an output to a required value.
FIG. 3 shows an example of a conventional gamma correction circuit used in a digital processing television camera, and FIG. 4 shows input / output characteristics of the gamma correction circuit approximated to a curve formed by continuous broken lines.

【0003】従来技術によるガンマ補正回路の構成と動
作を説明する。図3に示す、従来のガンマ補正回路は、
入力電圧Eiにおいて出力電圧Eoとなる入出力特性と
して、下記(1)式に示す一次式の所要のパラメータK
n、Anを、入力電圧Eiの値に応じて与え、出力電圧
Eoの値を出力することにより、図4に示す、所要の直
線特性を得ており、連続させることにより所要の曲線近
似特性31としている。 Eo=Kn×Ei+An・・・・・・・・・・・・(1) 但し:n=1、2、3・・・ なお、図4において、直線32は、(1)式に、所要の
入力電圧Eiを加えたときの直線であり、角度33は、
直線32の傾きを示している。
The configuration and operation of a conventional gamma correction circuit will be described. The conventional gamma correction circuit shown in FIG.
As an input / output characteristic which becomes the output voltage Eo at the input voltage Ei, a required parameter K of a linear expression shown in the following expression (1) is used.
By providing n and An in accordance with the value of the input voltage Ei and outputting the value of the output voltage Eo, the required linear characteristics shown in FIG. 4 are obtained. And Eo = Kn × Ei + An (1) where: n = 1, 2, 3,... In FIG. This is a straight line when the input voltage Ei is added, and the angle 33 is
The inclination of the straight line 32 is shown.

【0004】図3に示すガンマ補正回路21において、
22はディジタルの映像信号入力端子、23はメモリに
記憶されているデータを読み出すためのアドレス信号を
発生するアドレス信号発生回路、25は、あらかじめ、
演算式Kn・X+AnのパラメータKn、Anの所要の
複数の値が記録されているメモリ、24は、入力端子2
2からのディジタルの映像信号とメモリ25からのパラ
メータKnとの乗算を行なう乗算器、26は、乗算器2
4からのディジタルの映像信号とパラメータKnとの乗
算値に、メモリ25からのパラメータAnを加算する加
算器、27はガンマ補正をしたディジタルの映像信号の
出力端子を示す。
In the gamma correction circuit 21 shown in FIG.
22 is a digital video signal input terminal, 23 is an address signal generating circuit for generating an address signal for reading data stored in the memory, and 25 is a
A memory in which a plurality of required values of parameters Kn and An of the arithmetic expression Kn · X + An are recorded.
A multiplier for multiplying the digital video signal from the memory 2 by the parameter Kn from the memory 25;
An adder for adding the parameter An from the memory 25 to the multiplied value of the digital video signal from No. 4 and the parameter Kn, and 27 denotes an output terminal of the gamma-corrected digital video signal.

【0005】撮像した映像信号がディジタル化され、映
像信号入力端子22に印加されると、ディジタルの映像
信号(Ei)は、アドレス信号発生回路23と乗算器2
4とに入力される。一方のアドレス信号発生回路23
は、入力したディジタル映像信号の信号レベルEiに応
じたアドレス信号を発生し、メモリ25へ出力する。メ
モリ25は、アドレス信号発生回路23から入力したア
ドレス信号によりアドレスを指定され、あらかじめ記憶
されている演算式Kn・X+Anの複数のパラメータK
n、Anの中から、指定されたパラメータKnを乗算器
24へ、指定されたパラメータAnを加算器26へ出力
する。
When the captured video signal is digitized and applied to the video signal input terminal 22, the digital video signal (Ei) is converted into an address signal generation circuit 23 and a multiplier 2.
4 is input. One address signal generating circuit 23
Generates an address signal corresponding to the signal level Ei of the input digital video signal and outputs it to the memory 25. The memory 25 has an address designated by an address signal input from the address signal generation circuit 23, and stores a plurality of parameters K of an arithmetic expression Kn · X + An stored in advance.
The specified parameter Kn is output to the multiplier 24 and the specified parameter An is output to the adder 26 from n and An.

【0006】他方の乗算器24は、映像信号入力端子2
2から入力したディジタル映像信号(Ei)とメモリ2
5から入力したパラメータKnとの乗算を行ない、乗算
値Kn×Eiを加算器26へ出力する。加算器26は、
乗算器24から入力したディジタル映像信号とパラメー
タKnとの乗算値Kn×Eiと、メモリ25から入力し
たパラメータAnとの加算を行ない、ガンマ補正をした
ディジタルの映像信号Kn×Ei+Anを映像信号出力
端子27へ出力する。映像信号出力端子27からは、ガ
ンマ補正したディジタルの映像信号(Eo)が、他の回
路へ出力される。
The other multiplier 24 is connected to the video signal input terminal 2
Digital video signal (Ei) input from memory 2 and memory 2
The multiplication with the parameter Kn input from 5 is performed, and the multiplication value Kn × Ei is output to the adder 26. The adder 26
A multiplication value Kn × Ei of the digital video signal input from the multiplier 24 and the parameter Kn is added to the parameter An input from the memory 25, and the gamma-corrected digital video signal Kn × Ei + An is output to the video signal output terminal. 27. From the video signal output terminal 27, a gamma corrected digital video signal (Eo) is output to another circuit.

【0007】[0007]

【発明が解決しようとする課題】従来技術によるガンマ
補正回路は、本来曲線であるべきガンマ補正の入出力特
性が折線の連続による曲線であるため、曲線に近似させ
るために折線による分割を多くしなければ補正エラーが
増大するという問題があった。本発明は、前記問題を解
決するために、二次演算式の所要の複数のパラメータを
記憶する演算パラメータ記憶装置と、二次演算式の演算
をする複数の乗算器および加算器で曲線の連続によるガ
ンマ補正値データを生成してガンマ補正値記憶装置に記
憶し、映像信号のレベルに応じガンマ補正値を読み出
し、ガンマ補正を行なうようにしたガンマ補正回路を提
供することを目的とする。
In the gamma correction circuit according to the prior art, since the input / output characteristic of gamma correction, which should be a curve, is a curve formed by a series of broken lines, the number of divisions by broken lines is increased in order to approximate the curve. Otherwise, there is a problem that the correction error increases. In order to solve the above-mentioned problem, the present invention provides an operation parameter storage device that stores a plurality of required parameters of a quadratic operation expression, and a plurality of multipliers and adders that perform an operation of a quadratic operation expression. It is an object of the present invention to provide a gamma correction circuit which generates gamma correction value data according to the above, stores the data in a gamma correction value storage device, reads a gamma correction value according to the level of a video signal, and performs gamma correction.

【0008】[0008]

【課題を解決するための手段】前記目的を達成するため
に、本発明のガンマ補正回路は、二次演算式Eo=an
・Ei2 +bn ・Ei+cn の所要の複数の演算パラメ
ータを、ガンマ補正をする映像信号について設定したダ
イナミックレンジの値に応じて複数記憶する演算パラメ
ータ記憶装置と、クロック信号を、ガンマ補正をする映
像信号について設定したダイナミックレンジの値に応じ
て所要の数だけ順次カウントするカウンタと、該カウン
タからのカウント出力信号と前記演算パラメータ記憶装
置からの二次演算式の複数の演算パラメータとを、二次
演算式に合わせ乗算および加算することによりガンマ補
正値を演算するように構成した複数の乗算器および加算
器と、前記複数の乗算器および加算器からの所要の複数
のガンマ補正値を、前記カウンタからのカウント出力信
号で順次記憶し、ガンマ補正をする映像信号のレベルに
応じたガンマ補正値を読み出すガンマ補正値記憶装置と
を有しており、入力する二次演算式の所要の複数の演算
パラメータを前記演算パラメータ記憶装置に記憶し、入
力するクロック信号を前記カウンタで順次カウントし、
カウントしたカウント出力信号で前記演算パラメータ記
憶装置から複数の演算パラメータを順次読み出し、カウ
ントしたカウント出力信号と複数の演算パラメータとを
前記複数の乗算器および加算器で乗算および加算するこ
とによりガンマ補正値を演算し、カウントしたカウント
出力信号で複数のガンマ補正値を順次前記ガンマ補正値
記憶装置に記憶し、映像信号を前記ガンマ補正値記憶装
置に入力し、映像信号のレベルに応じたガンマ補正値を
読み出し出力することによりガンマ補正を行なうように
したものである。
Means for Solving the Problems] To achieve the above object, the gamma correction circuit of the present invention, the secondary computing equation Eo = a n
Required of · Ei 2 + b n · Ei + c n a plurality of operation parameters, and the arithmetic parameter storage unit for storing a plurality according to the value of the dynamic range set for the video signal to the gamma correction, the clock signal, the gamma correction A counter for sequentially counting a required number in accordance with the value of the dynamic range set for the video signal; and a count output signal from the counter and a plurality of calculation parameters of a secondary calculation expression from the calculation parameter storage device. A plurality of multipliers and adders configured to calculate a gamma correction value by multiplying and adding according to the following arithmetic expression, and a plurality of required gamma correction values from the plurality of multipliers and the adder, Gamma correction value according to the level of the video signal to be stored and gamma corrected sequentially with the count output signal from the counter A gamma correction value storage device that reads out, stores a plurality of required calculation parameters of a secondary calculation expression to be input in the calculation parameter storage device, sequentially counts input clock signals with the counter,
A plurality of operation parameters are sequentially read from the operation parameter storage device with the counted output signal, and the counted output signal and the plurality of operation parameters are multiplied and added by the plurality of multipliers and adders, thereby obtaining a gamma correction value. Is calculated, and a plurality of gamma correction values are sequentially stored in the gamma correction value storage device using the counted output signal, and a video signal is input to the gamma correction value storage device, and a gamma correction value corresponding to the level of the video signal is calculated. Is read and output to perform gamma correction.

【0009】さらに詳しくは、本発明のガンマ補正回路
は、二次演算式Eo=an ・Ei2+bn ・Ei+cn
に合わせ乗算および加算することによりガンマ補正値を
演算するように構成した複数の乗算器および加算器が、
入力するカウンタからのカウント出力信号と演算パラメ
ータ記憶装置からのパラメータan とを乗算して乗算値
n ・Eiを出力する乗算器と、入力する該乗算器から
の乗算値an ・Eiと前記演算パラメータ記憶装置から
のパラメータbn とを加算して加算値an ・Ei+bn
を出力する加算器と、入力するカウンタからのカウント
出力信号と前記加算器からの加算値an ・Ei+bn
を乗算して乗算値an ・Ei2 +bn ・Eiを出力する
乗算器と、入力する該乗算器からの乗算値an ・Ei2
+bn ・Eiと演算パラメータ記憶装置からのパラメー
タcn とを加算してガンマ補正値an ・Ei2 +bn
Ei+cn を出力する加算器とからなるものである。
[0009] More specifically, the gamma correction circuit of the present invention, the secondary computing equation Eo = a n · Ei 2 + b n · Ei + c n
A plurality of multipliers and adders configured to calculate a gamma correction value by multiplying and adding according to
Count output signal from the input to the counter and the calculation parameters Parameter a n a multiplier for outputting a multiplication value a n · Ei by multiplying from the storage device, and the multiplication value a n · Ei from the multiplier to the input The parameter b n from the operation parameter storage device is added to add the value a n · Ei + b n
An adder for outputting, a multiplier for outputting the added value from the count output signal and the adder by multiplying the a n · Ei + b n multiplier a n · Ei 2 + b n · Ei from the counter to enter , The multiplied value a n · Ei 2 from the multiplier
+ B n · Ei and the parameter c n from the operation parameter storage device to add the gamma correction value a n · Ei 2 + b n ·
It is made of an adder for outputting ei + c n.

【0010】本発明の作用について説明すると、本発明
のガンマ補正回路は、入力する二次演算式の所要の複数
の演算パラメータを演算パラメータ記憶装置に記憶す
る。ついで、入力するクロック信号をカウンタで順次カ
ウントし、カウントしたカウント出力信号で前記演算パ
ラメータ記憶装置から複数の演算パラメータを順次読み
出し、カウントしたカウント出力信号と複数の演算パラ
メータとを複数の乗算器および加算器で乗算および加算
することによりガンマ補正値を演算して、カウントした
カウント出力信号で複数のガンマ補正値を順次前記ガン
マ補正値記憶装置に記憶する。ガンマ補正する映像信号
を複数のガンマ補正値を記憶した前記ガンマ補正値記憶
装置に入力し、映像信号のレベルに応じたガンマ補正値
を読み出して出力することによりガンマ補正を行なう。
The operation of the present invention will be described. The gamma correction circuit of the present invention stores a plurality of required operation parameters of an input quadratic operation expression in an operation parameter storage device. Then, the input clock signal is sequentially counted by a counter, a plurality of operation parameters are sequentially read from the operation parameter storage device with the counted output signal, and the counted output signal and the plurality of operation parameters are multiplied by a plurality of multipliers and A gamma correction value is calculated by multiplication and addition by an adder, and a plurality of gamma correction values are sequentially stored in the gamma correction value storage device using the counted output signals. The video signal to be gamma corrected is input to the gamma correction value storage device storing a plurality of gamma correction values, and the gamma correction is performed by reading and outputting the gamma correction value corresponding to the level of the video signal.

【0011】[0011]

【発明の実施の形態】ディジタル処理のテレビジョンカ
メラで使用する本発明のガンマ補正回路の実施の形態
を、図1に示すブロック図、図2に示すガンマ補正入出
力特性図を使用して説明をする。本発明のガンマ補正回
路は、二次式による曲線の連続による所要の補正曲線に
よりガンマ補正を行なうものである。図1に示す、本発
明のガンマ補正回路は、入力電圧Eiにおいて出力電圧
Eoとなる入出力特性として、下記(2)式に示す二次
式の所要のパラメータan 、bn 、cn を、入力電圧E
iの値に応じて与え、出力電圧Eoの値を出力すること
により、図2に示す、所要の曲線特性を得ており、連続
させることにより所要の補正特性としている。 Eo=an ・Ei2 +bn ・Ei+cn ・・・・・(2) 但し:n=1、2、3、・・・ (2)式の演算式は、例えば図2に示すように、n=1
において曲線15、n=2において曲線16、n=3に
おいて曲線17となるが、パラメータは、しきい値A、
しきい値B上で接するように決定する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a gamma correction circuit of the present invention used in a digital processing television camera will be described with reference to a block diagram shown in FIG. 1 and a gamma correction input / output characteristic diagram shown in FIG. do. The gamma correction circuit of the present invention performs gamma correction using a required correction curve based on a series of quadratic curves. 1, the gamma correction circuit of the present invention, as input-output characteristics in the input voltage Ei becomes the output voltage Eo, the required parameters a n quadratic equation shown in the following equation (2), b n, the c n , Input voltage E
By giving the value according to the value of i and outputting the value of the output voltage Eo, the required curve characteristic shown in FIG. 2 is obtained, and the required correction characteristic is obtained by making it continuous. Eo = a n · Ei 2 + b n · Ei + c n ····· (2) where: n = 1,2,3, ··· (2 ) expression of the arithmetic expression, for example, as shown in FIG. 2, n = 1
, A curve 16 when n = 2, and a curve 17 when n = 3.
It is determined to be in contact on the threshold value B.

【0012】図1に示すガンマ補正回路1において、2
はガンマ補正をするディジタルの映像信号入力端子、3
はクロック信号の入力端子、4はパラメータの入力端
子、5は、クロック入力端子3から入力するクロック信
号を所要の数のクロック信号までカウントするカウン
タ、8は、パラメータ入力端子4から入力する演算式a
n・X2 +bn ・X+cn のパラメータan 、bn 、cn
の所要の複数の値を記憶する演算パラメータ格納用メ
モリ、6は、カウンタ5から入力するカウント出力信号
と、演算パラメータ格納用メモリ8から入力するパラメ
ータan とを乗算する乗算器、7は、乗算器6から入力
する乗算値と、演算パラメータ格納用メモリ8から入力
するパラメータbn とを加算する加算器、10は、カウ
ンタ5から入力するカウント出力信号と、加算器7から
入力する加算値とを乗算する乗算器、11は、乗算器1
0から入力する乗算値と、演算パラメータ格納用メモリ
8から入力するパラメータcn とを加算しガンマ補正値
とする加算器、9は、カウンタ5から入力するカウント
出力信号により、加算器11から入力するガンマ補正値
をあらかじめ記憶しておき、入力端子2から入力する映
像信号の入力レベルに応じたガンマ補正値を読み出し、
ガンマ補正した映像信号を出力するガンマ補正値格納用
メモリ、12はガンマ補正をしたディジタルの映像信号
出力端子を示す。
In the gamma correction circuit 1 shown in FIG.
Are digital video signal input terminals for gamma correction, 3
Is a clock signal input terminal, 4 is a parameter input terminal, 5 is a counter for counting the clock signal input from the clock input terminal 3 to a required number of clock signals, 8 is an arithmetic expression input from the parameter input terminal 4 a
parameters a n of n · X 2 + b n · X + c n, b n, c n
Operation parameter storage memory for storing a predetermined plurality of values of, 6, and a count output signal to be input from the counter 5, a multiplier for multiplying the parameters a n input from the operation parameter storage memory 8, 7, The adder 10 adds the multiplied value input from the multiplier 6 and the parameter b n input from the operation parameter storage memory 8. The adder 10 outputs the count output signal input from the counter 5 and the added value input from the adder 7. , And 11 is a multiplier 1
A multiplier value input from 0, adder for a gamma correction value by adding the parameters c n input from the operation parameter storage memory 8, 9, the count output signal input from the counter 5, the input from the adder 11 The gamma correction value to be stored is stored in advance, and the gamma correction value corresponding to the input level of the video signal input from the input terminal 2 is read out,
A gamma correction value storage memory that outputs a gamma corrected video signal, and 12 denotes a gamma corrected digital video signal output terminal.

【0013】本発明のガンマ補正回路を備えるテレビジ
ョンカメラの電源がオンになると、図1に示すガンマ補
正回路のブロック図には記載されていない回路で発生し
た演算式Eo=an ・X2 +bn ・X+cn の右辺の所
要の複数のパラメータan 、bn 、cn がパラメータ入
力端子4に順次印加され、演算パラメータ格納用メモリ
8に入力し、所要の複数のパラメータan 、bn 、cn
は演算パラメータ格納用メモリ8に順次記憶される。つ
いで、クロック信号が入力端子3からカウンタ5に入力
し、カウンタ5は、入力したクロック信号をカウントし
て、カウント出力を0から1つずつ設定したダイナミッ
クレンジのビット数まで(映像信号入力レベルに相当)
上げ、演算パラメータ格納用メモリ8、乗算器6、乗算
器10、ガンマ補正値格納用メモリ9へ出力する。
[0013] When the power of the television camera provided with a gamma correction circuit of the present invention is turned on, the arithmetic equation Eo = a n · X 2 to the block diagram of the gamma correction circuit occurred in the circuit that are not listed in FIG. 1 + b n · X + c n required multiple parameters a n on the right side of, b n, is c n is sequentially applied to the parameter input terminal 4, and input to the arithmetic parameter storage memory 8, the required plurality of parameters a n, b n , c n
Are sequentially stored in the operation parameter storage memory 8. Next, the clock signal is input from the input terminal 3 to the counter 5, and the counter 5 counts the input clock signal and changes the count output from 0 to the number of bits of the dynamic range set one by one (to the video signal input level). Equivalent)
Output to the memory 8 for storing operation parameters, the multiplier 6, the multiplier 10, and the memory 9 for storing gamma correction values.

【0014】ここで、カウンタ5は、例えば入力端子2
に入力されるディジタルの映像信号のダイナミックレン
ジが10ビット(0〜1023)で設定されていると、
カウンタ5は入力したクロック信号を0〜1023まで
カウントして出力し、演算パラメータ格納用メモリ8
は、0〜1023までのカウント出力に合わせ、順次パ
ラメータan を乗算器6へ、パラメータbn を加算器7
へ、パラメータcn を加算器11へ出力する。この場
合、カウンタ5の出力値が、図2に示すしきい値A以下
ならば曲線15の演算式、しきい値Aとしきい値Bとの
間であれば曲線16の演算式、しきい値B以上ならば曲
線17の演算式で演算するように、演算パラメータ格納
用メモリ8からパラメータan 、bn 、cn を出力す
る。乗算器6は、カウンタ5から入力したクロック信号
のカウント出力と、演算パラメータ格納用メモリ8から
入力したパラメータan とを乗算して、乗算値anEi
を加算器7へ出力する。
Here, the counter 5 has, for example, the input terminal 2
If the dynamic range of the digital video signal input to the device is set to 10 bits (0 to 1023),
The counter 5 counts the input clock signal from 0 to 1023 and outputs it.
Is combined with the count output of the up 1023, the multiplier 6 in sequence parameters a n, the adder parameter b n 7
And outputs the parameter c n to the adder 11. In this case, if the output value of the counter 5 is equal to or less than the threshold value A shown in FIG. If B or more, parameters a n , b n , and c n are output from the calculation parameter storage memory 8 so that the calculation is performed using the calculation formula of the curve 17. The multiplier 6 has a count output of the clock signal inputted from the counter 5, by multiplying the parameters a n input from the operation parameter storage memory 8, the multiplication value a n Ei
Is output to the adder 7.

【0015】加算器7は、乗算器6から入力した乗算値
n ・Eiと、演算パラメータ格納用メモリ8から入力
したパラメータbn とを加算して、加算値an ・Ei+
nを乗算器10へ出力する。乗算器10は、加算器7
から入力した加算値an ・Ei+bn と、カウンタ5か
ら入力したクロック信号のカウント出力とを乗算して、
乗算値an ・Ei2 +bn ・Eiを加算器11へ出力す
る。加算器11は、乗算器10から入力した乗算値an
・Ei2 +bn ・Eiと、演算パラメータ格納用メモリ
8から入力したパラメータcn とを加算して、加算値
(この加算値はガンマ補正値である)an ・Ei2 +b
n ・Ei+cn をガンマ補正値格納用メモリ9へ出力す
る。ガンマ補正値格納用メモリ9は、加算器11から入
力したガンマ補正値an ・Ei2 +bn ・Ei+cn
を、カウンタ5から入力したクロック信号のカウント出
力に応じ、順次、全ガンマ補正値について記憶する。
The adder 7 adds the multiplication value a n · Ei input from the multiplier 6 and the parameter b n input from the operation parameter storage memory 8 to obtain an addition value a n · Ei +
b n is output to the multiplier 10. The multiplier 10 includes the adder 7
Is multiplied by the count output of the clock signal input from the counter 5 and the added value a n · Ei + b n input from
The multiplied value a n · Ei 2 + b n · Ei is output to the adder 11. The adder 11 calculates the multiplied value a n input from the multiplier 10
Ei 2 + b n · Ei is added to the parameter c n input from the calculation parameter storage memory 8 and an added value (this added value is a gamma correction value) a n · Ei 2 + b
The n · Ei + c n outputs to the gamma correction value storage memory 9. The gamma correction value storage memory 9 stores the gamma correction value a n · Ei 2 + b n · Ei + c n input from the adder 11.
Are sequentially stored for all gamma correction values according to the count output of the clock signal input from the counter 5.

【0016】ついで、ガンマ補正値格納用メモリ9に全
ガンマ補正値(例えば、ディジタルの映像信号のダイナ
ミックレンジが10ビットで設定されていると、102
4個について)の記憶が完了したならば、撮像したディ
ジタルの映像信号を映像信号入力端子2に印加し、ガン
マ補正値格納用メモリ9に入力して、映像信号のレベル
Eiに合わせリードアドレスとして入力すると、その値
に対応したガンマ補正値がガンマ補正値格納用メモリ9
から出力され、結果的にガンマ補正を行なったことにな
り、ガンマ補正をした映像信号を出力端子12へ出力す
る。映像信号出力端子12からは、ガンマ補正をしたデ
ィジタルの映像信号Eoが他の回路へ出力される。
Next, in the gamma correction value storage memory 9, all gamma correction values (for example, if the dynamic range of a digital video signal is set to 10 bits, 102
After the storage of (4) is completed, the captured digital video signal is applied to the video signal input terminal 2 and input to the gamma correction value storage memory 9 to be used as a read address according to the level Ei of the video signal. When input, the gamma correction value corresponding to that value is stored in the gamma correction value storage memory 9.
, And as a result, the gamma correction is performed, and the gamma-corrected video signal is output to the output terminal 12. From the video signal output terminal 12, a gamma-corrected digital video signal Eo is output to another circuit.

【0017】[0017]

【発明の効果】本発明によれば、二次演算式の所要の複
数のパラメータを記憶する演算パラメータ記憶装置と、
二次演算式の演算をする複数の乗算器および加算器で曲
線の連続によるガンマ補正値データを生成してガンマ補
正値記憶装置に記憶し、映像信号のレベルに応じガンマ
補正値を読み出し、ガンマ補正を行なうようにしたガン
マ補正回路を提供することができる。
According to the present invention, an operation parameter storage device for storing required plural parameters of a quadratic operation expression,
A plurality of multipliers and adders that perform a quadratic operation generate gamma correction value data based on a continuous curve and store the data in a gamma correction value storage device. A gamma correction circuit that performs the correction can be provided.

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

【図1】本発明によるガンマ補正回路のブロック図。FIG. 1 is a block diagram of a gamma correction circuit according to the present invention.

【図2】本発明によるガンマ補正回路のガンマ補正入出
力特性図。
FIG. 2 is a gamma correction input / output characteristic diagram of a gamma correction circuit according to the present invention.

【図3】従来のガンマ補正回路のブロック図。FIG. 3 is a block diagram of a conventional gamma correction circuit.

【図4】従来のガンマ補正回路のガンマ補正入出力特性
図。
FIG. 4 is a gamma correction input / output characteristic diagram of a conventional gamma correction circuit.

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

1、21 ガンマ補正回路 2、22 映像信号入力端子 3 クロック信号入力端子 4 パラメータ入力端子 5 カウンタ 6、10、24 乗算器 7、11、26 加算器 8 演算パラメータ格納用メモリ 9 ガンマ補正値格納用メモリ 12、27 ガンマ補正をした映像信号出力端子 23 アドレス信号発生回路 25 メモリ 1, 21 Gamma correction circuit 2, 22 Video signal input terminal 3 Clock signal input terminal 4 Parameter input terminal 5 Counter 6, 10, 24 Multiplier 7, 11, 26 Adder 8 Operation parameter storage memory 9 Gamma correction value storage Memory 12, 27 Gamma-corrected video signal output terminal 23 Address signal generation circuit 25 Memory

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 二次演算式Eo=an ・Ei2 +bn
Ei+cn の所要の複数の演算パラメータを、ガンマ補
正をする映像信号について設定したダイナミックレンジ
の値に応じて複数記憶する演算パラメータ記憶装置と、 クロック信号を、ガンマ補正をする映像信号について設
定したダイナミックレンジの値に応じて所要の数だけ順
次カウントするカウンタと、 該カウンタからのカウント出力信号と前記演算パラメー
タ記憶装置からの二次演算式の複数の演算パラメータと
を、二次演算式に合わせ乗算および加算することにより
ガンマ補正値を演算するように構成した複数の乗算器お
よび加算器と、前記複数の乗算器および加算器からの所
要の複数のガンマ補正値を、前記カウンタからのカウン
ト出力信号で順次記憶し、ガンマ補正をする映像信号の
レベルに応じたガンマ補正値を読み出すガンマ補正値記
憶装置とを有し、 入力する二次演算式の所要の複数の演算パラメータを前
記演算パラメータ記憶装置に記憶し、入力するクロック
信号を前記カウンタで順次カウントし、カウントしたカ
ウント出力信号で前記演算パラメータ記憶装置から複数
の演算パラメータを順次読み出し、カウントしたカウン
ト出力信号と複数の演算パラメータとを前記複数の乗算
器および加算器で乗算および加算することによりガンマ
補正値を演算し、カウントしたカウント出力信号で複数
のガンマ補正値を順次前記ガンマ補正値記憶装置に記憶
し、映像信号を前記ガンマ補正値記憶装置に入力し、映
像信号のレベルに応じたガンマ補正値を読み出し出力す
ることによりガンマ補正を行なうようにしたことを特徴
とするガンマ補正回路。
1. A secondary computing equation Eo = a n · Ei 2 + b n ·
Dynamic a required plurality of operation parameters of ei + c n, a calculation parameter storage unit for storing a plurality according to the value of the dynamic range set for the video signal to the gamma correction, the clock signal, and sets the video signal to the gamma correction A counter for sequentially counting a required number according to the value of the range; a count output signal from the counter and a plurality of operation parameters of a secondary operation expression from the operation parameter storage device, multiplied according to the secondary operation expression And a plurality of multipliers and adders configured to calculate a gamma correction value by adding, and a plurality of required gamma correction values from the plurality of multipliers and adder, a count output signal from the counter. To sequentially read out the gamma correction value according to the level of the video signal to be gamma corrected A correction value storage device, storing a plurality of required calculation parameters of a secondary calculation expression to be input in the calculation parameter storage device, sequentially counting clock signals to be input by the counter, and counting the counted output signal A plurality of operation parameters are sequentially read from the operation parameter storage device, and a gamma correction value is calculated by multiplying and adding the counted output signal and the plurality of operation parameters by the plurality of multipliers and adders. A plurality of gamma correction values are sequentially stored in the gamma correction value storage device based on the counted output signal, a video signal is input to the gamma correction value storage device, and a gamma correction value corresponding to the level of the video signal is read and output. A gamma correction circuit characterized by performing gamma correction by:
【請求項2】 請求項1記載のものにおいて、二次演算
式Eo=an ・Ei2 +bn ・Ei+cn に合わせ乗算
および加算することによりガンマ補正値を演算するよう
に構成した複数の乗算器および加算器は、 入力するカウンタからのカウント出力信号と演算パラメ
ータ記憶装置からのパラメータan とを乗算して乗算値
n ・Eiを出力する乗算器と、 入力する該乗算器からの乗算値an ・Eiと前記演算パ
ラメータ記憶装置からのパラメータbn とを加算して加
算値an ・Ei+bn を出力する加算器と、 入力するカウンタからのカウント出力信号と前記加算器
からの加算値an ・Ei+bn とを乗算して乗算値an
・Ei2 +bn ・Eiを出力する乗算器と、 入力する該乗算器からの乗算値an ・Ei2 +bn ・E
iと演算パラメータ記憶装置からのパラメータcn とを
加算してガンマ補正値an ・Ei2 +bn ・Ei+cn
を出力する加算器とからなることを特徴とするガンマ補
正回路。
2. A plurality of multiplications according to claim 1, wherein the multiplication and the multiplication are performed in accordance with the quadratic expression Eo = a n Ei 2 + b n Ei + c n to calculate the gamma correction value. vessels and adder and multiplier to output the parameters a n a multiplication value a n · Ei by multiplying the count output signal from the arithmetic parameter storage unit from the counter that inputs the multiplication from the multiplier to the input addition of the value a and n · Ei and the arithmetic parameter storage unit by adding the parameter b n from the additional value a n · Ei + b n to output the adder, the adder and the count output signal from the counter input value a n · Ei + b n and the multiplication to the multiplication value a n
A multiplier for outputting Ei 2 + b n · Ei, and a multiplied value a n · Ei 2 + b n · E from the multiplier for input
i and the parameter c n from the operation parameter storage device are added to obtain a gamma correction value a n · Ei 2 + b n · Ei + c n
A gamma correction circuit, comprising:
JP8205573A 1996-08-05 1996-08-05 Gamma correction circuit Pending JPH1051662A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8205573A JPH1051662A (en) 1996-08-05 1996-08-05 Gamma correction circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8205573A JPH1051662A (en) 1996-08-05 1996-08-05 Gamma correction circuit

Publications (1)

Publication Number Publication Date
JPH1051662A true JPH1051662A (en) 1998-02-20

Family

ID=16509134

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8205573A Pending JPH1051662A (en) 1996-08-05 1996-08-05 Gamma correction circuit

Country Status (1)

Country Link
JP (1) JPH1051662A (en)

Similar Documents

Publication Publication Date Title
US4240113A (en) Picture manipulation in video systems
JP2549753B2 (en) Gamma correction circuit and method
JP2924079B2 (en) Gamma correction circuit
US4724544A (en) Method of processing image signal
WO2002065760A1 (en) Screen correcting method and imaging device
JPH0865546A (en) Circuit and method for generating shading correction coefficient
EP0397712B1 (en) Method for approximating a value which is a nonlinear function of the linear average of pixel data
JPH09307789A (en) Image processing unit
US7554577B2 (en) Signal processing device
JPH1051662A (en) Gamma correction circuit
JPH0566751A (en) Gradation correcting circuit
US7664809B2 (en) Method and device for calculating modulo operations
JP2835098B2 (en) Ghost removal device
KR19980025383A (en) Frequency inverter
JPH07203249A (en) Method and apparatus for correcting edge of video signal
JP2003224740A (en) Nonlinear signal processing apparatus and image signal processing apparatus
JP3331626B2 (en) Cyclic noise reduction device
JP3045245B2 (en) Gamma correction circuit
JP2001086365A (en) Gamma correction circuit and knee correction circuit
JP3091563B2 (en) Non-linear converter
CN110889814B (en) Visible light image histogram enhancement method and device based on Sysgen
KR100197814B1 (en) Interpolation method using rom table
JP2817367B2 (en) Linear / float converter and tone generator using the converter
JP2003069857A (en) Data correction circuit
JPH06189160A (en) Digital gamma correcting device