JPH10276348A - Video signal processing circuit, camera employing it and gamma correction method - Google Patents

Video signal processing circuit, camera employing it and gamma correction method

Info

Publication number
JPH10276348A
JPH10276348A JP9080399A JP8039997A JPH10276348A JP H10276348 A JPH10276348 A JP H10276348A JP 9080399 A JP9080399 A JP 9080399A JP 8039997 A JP8039997 A JP 8039997A JP H10276348 A JPH10276348 A JP H10276348A
Authority
JP
Japan
Prior art keywords
data
gamma curve
correction
characteristic
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
JP9080399A
Other languages
Japanese (ja)
Inventor
Naoyasu Gamo
直泰 蒲生
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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP9080399A priority Critical patent/JPH10276348A/en
Publication of JPH10276348A publication Critical patent/JPH10276348A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide the video signal processing circuit that realizes both gradation emphasis in the vicinity of a black level and emphasized S/N functions by means of same signal processing while making the circuit scale small, to provide the camera employing the circuit and to provide the gamma correction method. SOLUTION: The gamma correction circuit is formed to be a ROM table system gamma correction circuit provided with a gamma ROM 11 that generates data of a standard gamma curve characteristic with respect to a received correction object Y signal, with a correction data generating section 12 that generates correction data to correct a characteristic of an area around a black level of a standard gamma curve characteristic and with a subtractor 13 that subtracts the correction data from data of the standard gamma curve characteristic. Then both gradation emphasis in the vicinity of a black level and emphasized S/N functions are realized by means of same signal processing.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、映像信号処理回路
およびこれを用いたカメラ、並びにガンマ補正方法に関
し、特に映像信号をガンマ(γ)補正する回路を含む映
像信号処理回路およびこれを用いたカメラ、並びにガン
マ補正方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a video signal processing circuit, a camera using the same, and a gamma correction method, and more particularly to a video signal processing circuit including a circuit for gamma (γ) correction of a video signal and using the same. The present invention relates to a camera and a gamma correction method.

【0002】[0002]

【従来の技術】被写体の階調を正しく表現するために
は、ビデオカメラからモニターに至るまでのシステム全
体のガンマを1にする必要がある。このため、例えばC
CD(Charge Coupled Device) 撮像素子から出力される
映像信号を処理する映像信号処理回路内にガンマ補正回
路を設け、総合ガンマ特性が1になるようにしている。
このガンマ補正回路において、入力される補正対象の映
像信号に対して標準のガンマカーブ特性を持つデータを
生成する方式として、ROM(read-only memory)テーブ
ル方式と直線近似方式が知られている。
2. Description of the Related Art In order to correctly express the gradation of a subject, the gamma of the entire system from the video camera to the monitor must be set to 1. Therefore, for example, C
A gamma correction circuit is provided in a video signal processing circuit that processes a video signal output from a CD (Charge Coupled Device) image pickup device so that the overall gamma characteristic becomes 1.
In this gamma correction circuit, a ROM (read-only memory) table method and a linear approximation method are known as methods for generating data having a standard gamma curve characteristic for an input video signal to be corrected.

【0003】図12に、ROMテーブル方式のガンマ補
正回路の従来例を示す。この従来例に係るガンマ補正回
路は、例えばCCD撮像素子から出力される輝度(Y)
信号を補正対象とし、この入力Y信号に対してガンマ補
正をなすためのものであり、Y信号に対して標準のガン
マカーブ特性のデータをテーブルとして持つガンマRO
M101と、Y信号に対してニー(knee)特性を持
つデータを生成するニー生成部102と、Y信号のレベ
ルが所定の標準レベル以上になったことを検出する標準
レベル検波回路103と、通常はガンマROM101の
出力データを選択し、入力Y信号のレベルが標準レベル
以上のときには標準レベル検波回路103の出力に基づ
いてニー生成部102の出力データを選択して出力する
セレクタ104とから構成されている。
FIG. 12 shows a conventional example of a ROM table type gamma correction circuit. The gamma correction circuit according to this conventional example has a luminance (Y) output from a CCD image sensor, for example.
A signal to be corrected is used to perform gamma correction on the input Y signal. A gamma RO having standard gamma curve characteristic data for the Y signal as a table is provided.
M101; a knee generator 102 for generating data having knee characteristics with respect to the Y signal; a standard level detection circuit 103 for detecting that the level of the Y signal has exceeded a predetermined standard level; And a selector 104 for selecting output data of the gamma ROM 101 and selecting and outputting output data of the knee generating unit 102 based on the output of the standard level detection circuit 103 when the level of the input Y signal is higher than the standard level. ing.

【0004】ところで、現在、ガンマ補正回路において
は、その用いられるアプリケーションによって特徴のあ
る形のガンマカーブ特性を描いている。このガンマカー
ブ特性において、その低レベル領域、即ち黒付近のデー
タに対して階調度を重視するか、ノイズレベルを抑えて
S/Nを重視するかにより、ガンマカーブ特性の低レベ
ル領域のカーブ特性が変わってくる。すなわち、黒付近
の階調を重視した場合には、図13に示すように、低レ
ベル領域が急峻なガンマカーブ特性となり、黒付近のノ
イズの低減(S/N重視)を目指した場合には、図14
に示すように、低レベル領域がゆるやかなガンマカーブ
特性となる。
[0004] By the way, in the gamma correction circuit at present, a gamma curve characteristic having a characteristic shape is drawn depending on an application to be used. In the gamma curve characteristic, the curve characteristic of the low level region of the gamma curve characteristic depends on whether the gradation is emphasized for the data in the low level area, that is, the data near black, or the S / N is emphasized while suppressing the noise level. Will change. That is, as shown in FIG. 13, when the tone near black is emphasized, the low-level region has a steep gamma curve characteristic, and when the noise near black is reduced (S / N is emphasized), , FIG.
As shown in (1), the low-level region has a gentle gamma curve characteristic.

【0005】したがって、黒付近の階調を重視したガン
マ補正回路を実現する場合には、図13に示すようなガ
ンマカーブ特性を標準とするデータをガンマROM10
1に格納しておけば良く、また黒付近のS/Nを重視し
たガンマ補正回路を実現する場合には、図14に示すよ
うなガンマカーブ特性を標準とするデータをガンマRO
M101に格納しておけば良かった。
Therefore, in order to realize a gamma correction circuit which emphasizes the gradation near black, data having a standard gamma curve characteristic as shown in FIG.
1, and when a gamma correction circuit that emphasizes S / N near black is realized, data having a gamma curve characteristic as a standard as shown in FIG.
It should have been stored in M101.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上述し
た従来例に係るガンマ補正回路において、黒付近の階調
重視およびS/N重視の両機能を同時に満足しようとし
た場合は、ガンマROM101を2系統設けて図13に
示すガンマカーブ特性のデータと図14に示すガンマカ
ーブ特性のデータをそれぞれ格納することになるため、
その分だけ回路規模が大きくなってしまう。しかも、黒
付近の階調やS/Nを多段階に切り換え可能な構成とす
るためには、その分だけガンマROM101を設ける必
要があり、回路規模がさらに大規模なものとなってしま
う。
However, in the above-described gamma correction circuit according to the conventional example, if both functions of emphasizing gradation near black and emphasizing S / N are to be satisfied at the same time, two systems of gamma ROM 101 are required. Since the data of the gamma curve characteristic shown in FIG. 13 and the data of the gamma curve characteristic shown in FIG. 14 are stored respectively,
The circuit scale is increased accordingly. In addition, in order to change the gray scale and S / N in the vicinity of black in multiple stages, it is necessary to provide the gamma ROM 101 correspondingly, and the circuit scale is further increased.

【0007】本発明は、上記課題に鑑みてなされたもの
であり、その目的とするところは、黒付近の階調重視お
よびS/N重視の両機能を、回路規模を小規模に抑えつ
つ同一信号処理にて実現可能な映像信号処理回路および
これを用いたカメラ、並びにガンマ補正方法を提供する
ことにある。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned problems, and has as its object to realize both functions of emphasizing gradation near black and emphasizing S / N while maintaining a small circuit scale. An object of the present invention is to provide a video signal processing circuit which can be realized by signal processing, a camera using the same, and a gamma correction method.

【0008】[0008]

【課題を解決するための手段】本発明による映像信号処
理回路は、入力される補正対象の映像信号に対して標準
のガンマカーブ特性のデータを生成するガンマカーブデ
ータ生成手段と、標準のガンマカーブ特性の低レベル領
域の特性を補正する補正データを生成する補正データ生
成手段と、ガンマカーブデータ生成手段で生成された標
準のガンマカーブ特性のデータと補正データ生成手段で
生成された補正データとを演算する演算手段とを備えた
構成となっている。
A video signal processing circuit according to the present invention comprises a gamma curve data generating means for generating standard gamma curve characteristic data for an input video signal to be corrected, and a standard gamma curve. Correction data generating means for generating correction data for correcting the characteristic in the low-level region of the characteristic; and standard gamma curve characteristic data generated by the gamma curve data generating means and correction data generated by the correction data generating means. And an operation means for performing an operation.

【0009】上記構成の映像信号処理回路において、ガ
ンマカーブデータ生成手段は、入力される映像信号に対
して標準のガンマカーブ特性のデータを生成するための
ものである。ここで、ROMテーブル方式の場合は、入
力される映像信号に対して標準のガンマカーブ特性のデ
ータをテーブルとして持つガンマROMがガンマカーブ
データ生成手段に相当し、直線近似方式の場合は、入力
される映像信号に対して直線近似のデータを出力する直
線近似回路がガンマカーブデータ生成手段に相当する。
この標準のガンマカーブ特性のデータにより、黒付近の
階調を重視した標準のガンマカーブ特性に基づくガンマ
補正が行われる。
In the video signal processing circuit having the above configuration, the gamma curve data generating means is for generating data of standard gamma curve characteristics for an input video signal. Here, in the case of the ROM table system, a gamma ROM having data of standard gamma curve characteristics as a table with respect to an input video signal corresponds to the gamma curve data generation means. A linear approximation circuit that outputs linear approximation data for a video signal corresponds to gamma curve data generation means.
Based on the data of the standard gamma curve characteristics, gamma correction based on the standard gamma curve characteristics with emphasis on the gradation near black is performed.

【0010】一方、補正データ生成手段は、ガンマカー
ブデータ生成手段で生成される標準のガンマカーブ特性
の低レベル領域の特性、即ち黒付近の特性を補正する補
正データを、入力される映像信号に基づいて生成する。
そして、演算手段において、ガンマカーブデータ生成手
段で生成された標準のガンマカーブ特性のデータに対し
て、補正データ生成手段で生成された補正データを演算
する。これにより、標準のガンマカーブ特性の黒付近の
特性が補正される。すなわち、減算処理の場合には、黒
付近のS/Nを重視したガンマ補正が行われ、加算処理
の場合には、黒付近の階調度を重視したガンマ補正が行
われる。
On the other hand, the correction data generating means applies correction data for correcting the characteristic of the low-level region of the standard gamma curve characteristic generated by the gamma curve data generating means, that is, the characteristic near black, to the input video signal. Generate based on
Then, the calculating means calculates the correction data generated by the correction data generating means with respect to the data of the standard gamma curve characteristics generated by the gamma curve data generating means. As a result, the characteristic near the black of the standard gamma curve characteristic is corrected. That is, in the case of subtraction processing, gamma correction is performed with emphasis on S / N near black, and in the case of addition processing, gamma correction is performed with emphasis on gradation near black.

【0011】[0011]

【発明の実施の形態】以下、本発明の実施の形態につい
て図面を参照しつつ詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0012】図1は、本発明が適用されるカメラシステ
ムの基本構成の一例を示すブロック図である。固体撮像
素子、例えばCCD撮像素子1の撮像面上には、被写体
(図示せず)からの像光がレンズ2を含む光学系を介し
て入射される。CCD撮像素子1は、タイミングジェネ
レータ(図示せず)から発生される各種のタイミング信
号によって露光時間(シャッタスピード)、信号電荷の
読み出し、垂直転送、水平転送などの制御が行われるこ
とにより、入射光を画素単位で電気信号に変換して出力
する。
FIG. 1 is a block diagram showing an example of a basic configuration of a camera system to which the present invention is applied. Image light from a subject (not shown) is incident on an imaging surface of a solid-state imaging device, for example, a CCD imaging device 1 via an optical system including a lens 2. The CCD image pickup device 1 controls the exposure time (shutter speed), signal charge readout, vertical transfer, horizontal transfer, and the like according to various timing signals generated from a timing generator (not shown), so that incident light is controlled. Is converted into an electric signal in pixel units and output.

【0013】このCCD撮像素子1から出力されるアナ
ログ映像信号は、プリアンプ3に供給されて信号成分が
サンプルホールドされるとともに、適正なレベルに合わ
せるためにゲインコントロール(AGC)処理が行われ
る。プリアンプ3を経たアナログ映像信号は、A/Dコ
ンバータ4でデジタル化された後、ディレイライン5に
供給される。ディレイライン5からは、1H(Hは水平
走査期間)相当期間および2H相当期間だけ遅延された
デジタル映像信号H1DおよびH2Dが出力される。そ
して、デジタル映像信号H1Dは、Y(輝度)信号処理
回路6およびC(クロマ)信号処理回路7の双方に供給
され、デジタル映像信号H2DはC信号処理回路7のみ
に供給される。
The analog video signal output from the CCD image pickup device 1 is supplied to a preamplifier 3 where the signal component is sampled and held, and a gain control (AGC) process is performed to adjust the signal component to an appropriate level. The analog video signal that has passed through the preamplifier 3 is digitized by an A / D converter 4 and then supplied to a delay line 5. From the delay line 5, digital video signals H1D and H2D delayed by a period corresponding to 1H (H is a horizontal scanning period) and a period corresponding to 2H are output. Then, the digital video signal H1D is supplied to both the Y (luminance) signal processing circuit 6 and the C (chroma) signal processing circuit 7, and the digital video signal H2D is supplied only to the C signal processing circuit 7.

【0014】Y信号処理回路6において、入力されたデ
ジタル映像信号H1DはLPF(ローパスフィルタ)6
1を通過することによってC信号成分がカットされてY
信号データとなる。このY信号データは、ガンマ補正回
路62でガンマ補正がなされた後、ホワイトクリップ回
路63で一定レベル以上のY信号レベルがホワイトクリ
ップレベルにクリップされる。そして、ブランキング
(BLK)付加回路64でブランキング信号が付加さ
れ、さらにシンク(SYNC)付加回路65で同期信号
が付加され、さらに位相調整回路66で位相調整が行わ
れる。
In the Y signal processing circuit 6, the input digital video signal H 1 D is converted into an LPF (low-pass filter) 6.
1, the C signal component is cut by passing through Y
It becomes signal data. The Y signal data is subjected to gamma correction by the gamma correction circuit 62, and then the Y signal level equal to or higher than a certain level is clipped to the white clip level by the white clip circuit 63. Then, a blanking signal is added by a blanking (BLK) adding circuit 64, a synchronizing signal is added by a sync (SYNC) adding circuit 65, and a phase adjustment is performed by a phase adjusting circuit 66.

【0015】C信号処理回路7において、入力されたデ
ジタル映像信号H1D,H2DはRGB変換回路71で
R(赤),G(緑),B(青)の3原色信号データに変
換される。このR,G,B信号データは、ホワイトバラ
ンス回路72でホワイトバランスがとられ、ガンマ補正
回路73でガンマ補正がなされた後、色相(HUE)ゲ
イン回路74でR−Y,B−Yの色差信号データに変換
される。そして、ブランキング/バースト回路75でブ
ランキング信号が付加され、続いてバースト信号が付加
された後エンコーダ76で変調され、さらに位相調整回
路77で位相調整が行われる。
In the C signal processing circuit 7, the input digital video signals H1D and H2D are converted by an RGB conversion circuit 71 into three primary color signal data of R (red), G (green) and B (blue). The R, G, and B signal data are white-balanced by a white balance circuit 72, gamma-corrected by a gamma correction circuit 73, and then subjected to a hue (HUE) gain circuit 74 to obtain the RY, BY color difference. It is converted to signal data. Then, a blanking signal is added by a blanking / burst circuit 75, subsequently, a burst signal is added, modulated by an encoder 76, and further subjected to phase adjustment by a phase adjustment circuit 77.

【0016】Y信号処理回路6でガンマ補正や位相調整
などの信号処理が行われたY信号データは、D/Aコン
バータ8でアナログY信号に変換されて後段の回路へ供
給される。C信号処理回路7でホワイトバランスやガン
マ補正などの信号処理が行われたC信号データは、D/
Aコンバータ9でアナログC信号に変換されて後段の回
路へ供給される。なお、Y信号処理回路6およびC信号
処理回路7における信号処理のための各種パラメータの
設定は、マイクロコンピュータ(以下、マイコンと略称
する)10によって行われる。
The Y signal data subjected to signal processing such as gamma correction and phase adjustment in the Y signal processing circuit 6 is converted into an analog Y signal by a D / A converter 8 and supplied to a subsequent circuit. The C signal data on which signal processing such as white balance and gamma correction has been performed by the C signal
The signal is converted into an analog C signal by the A converter 9 and supplied to a subsequent circuit. The setting of various parameters for signal processing in the Y signal processing circuit 6 and the C signal processing circuit 7 is performed by a microcomputer (hereinafter abbreviated as a microcomputer) 10.

【0017】上記構成のカメラシステムにおいて、一例
として、Y信号処理回路6におけるガンマ補正回路62
に本発明が適用される。図2は、本発明によるガンマ補
正回路の一実施形態を示すブロック図である。なお、本
実施形態においては、例えばROMテーブル方式のガン
マ補正回路に適用した場合を例に採って説明するものと
する。
In the camera system having the above configuration, as an example, the gamma correction circuit 62 in the Y signal processing circuit 6
The present invention is applied to: FIG. 2 is a block diagram showing one embodiment of the gamma correction circuit according to the present invention. In this embodiment, a case where the present invention is applied to, for example, a ROM table type gamma correction circuit will be described as an example.

【0018】本実施形態に係るガンマ補正回路は、ガン
マカーブデータ生成手段としてのガンマROM11と、
補正データ生成手段としての黒補正データ生成部12
と、演算手段としての減算器13と、ニー生成部14
と、標準レベル検波回路15と、セレクタ16とから構
成されている。
The gamma correction circuit according to this embodiment includes a gamma ROM 11 as gamma curve data generation means,
Black correction data generation unit 12 as correction data generation means
And a subtractor 13 as a calculating means, and a knee generating unit 14
, A standard level detection circuit 15 and a selector 16.

【0019】ガンマROM11は、入力される補正対象
のY信号データに対して、図13に示す標準のガンマカ
ーブ特性のうち、標準レベル以下の特性のデータをテー
ブルとして持っている。黒補正データ生成部12は、図
1のマイコン10から与えられる補正量設定情報に応じ
て、入力Y信号データの低域データに対して、標準のガ
ンマカーブ特性の低レベル領域、即ち黒付近の特性を補
正する補正データを生成する。この黒圧縮データ生成部
12の具体的な構成については後述する。
The gamma ROM 11 has, as a table, data of characteristics below the standard level among the standard gamma curve characteristics shown in FIG. 13 for the input Y signal data to be corrected. The black correction data generation unit 12 converts the low-frequency data of the input Y signal data into a low-level region having a standard gamma curve characteristic, Correction data for correcting characteristics is generated. The specific configuration of the black compressed data generation unit 12 will be described later.

【0020】減算器13は、入力Y信号データに応じて
ガンマROM11から出力されるガンマカーブ特性のデ
ータから、入力Y信号データに応じて黒補正データ生成
部12から出力される補正データを減算する処理を行
い、その減算データをセレクタ16の一方の入力とす
る。ニー生成部14は、入力Y信号データに対して、図
13に示す標準のガンマカーブ特性のうち、標準レベル
を越える特性のデータ、即ちニー特性を持つデータを生
成し、セレクタ16の他方の入力とする。
The subtractor 13 subtracts the correction data output from the black correction data generator 12 according to the input Y signal data from the gamma curve characteristic data output from the gamma ROM 11 according to the input Y signal data. The processing is performed, and the subtracted data is used as one input of the selector 16. The knee generating unit 14 generates, for the input Y signal data, data having characteristics exceeding the standard level among the standard gamma curve characteristics shown in FIG. And

【0021】標準レベル検波回路15は、例えば、標準
レベルを比較基準レベルとし、入力Y信号データを比較
入力とするコンパレータからなる構成となっており、入
力Y信号データのレベルが標準レベル以上になったこと
を検出すると、その検波出力によってセレクタ16を切
り換える。セレクタ16は、通常は減算器13の減算デ
ータを選択し、入力輝度信号のレベルが標準レベル以上
のときには標準レベル検波回路15の出力に基づいてニ
ー生成部14の出力データを選択して出力する構成とな
っている。
The standard level detection circuit 15 is composed of, for example, a comparator that uses the standard level as a comparison reference level and uses the input Y signal data as a comparison input, and the level of the input Y signal data becomes higher than the standard level. When this is detected, the selector 16 is switched according to the detection output. The selector 16 normally selects the subtraction data of the subtractor 13, and selects and outputs the output data of the knee generation unit 14 based on the output of the standard level detection circuit 15 when the level of the input luminance signal is equal to or higher than the standard level. It has a configuration.

【0022】図3は、黒補正データ生成部12の回路構
成の一例を示すブロック図である。本例においては、n
ビットのY信号データが黒補正データ生成部12に入力
されるものとする。本例に係る黒補正データ生成部12
は、データ生成手段としての例えば黒補正デコーダ21
と、NOR回路22と、AND回路23と、特性変換手
段としての例えばビットシフト回路24とから構成され
ている。
FIG. 3 is a block diagram showing an example of the circuit configuration of the black correction data generation unit 12. In this example, n
It is assumed that bit Y signal data is input to the black correction data generation unit 12. Black correction data generation unit 12 according to this example
Is, for example, a black correction decoder 21 as data generation means.
, A NOR circuit 22, an AND circuit 23, and a bit shift circuit 24 as a characteristic conversion means.

【0023】黒補正デコーダ21は、nビットのY信号
データのうちの低域データ、即ち下位aビット(a<
n)のデータを入力とし、このデータを所定の特性を持
つデータにデコードし、そのデコードデータをAND回
路23の一方の入力とする。NOR回路22は、nビッ
トのY信号データのうちの(n−a)ビットの各データ
を入力とし、Y信号データがaビット以下のとき高レベ
ル(論理“1”)、aビットを越えるとき低レベル(論
理“0”)となる出力を発生し、AND回路23の他方
の入力とする。
The black correction decoder 21 outputs low-frequency data of n-bit Y signal data, that is, lower a bits (a <
The data of (n) is input, the data is decoded into data having predetermined characteristics, and the decoded data is input to one input of the AND circuit 23. The NOR circuit 22 receives (na) bits of the n-bit Y signal data as input, and when the Y signal data is a bit or less, it is at a high level (logic "1") and when the Y signal data exceeds a bit. An output of low level (logic “0”) is generated and used as the other input of the AND circuit 23.

【0024】AND回路23は、NOR回路22の出力
の論理に基づいて、黒補正デコーダ21のデコードデー
タの通過/遮断の制御を行う。すなわち、NOR回路2
2の出力が論理“1”のとき、黒補正デコーダ21のデ
コードデータをそのまま通過させ、NOR回路22の出
力が論理“0”のとき、黒補正デコーダ21のデコード
データを遮断する。ビットシフト回路24は、AND回
路23を通過したデータを、マイコン10から与えられ
るm(m<a)ビットの補正量設定情報に応じて設定さ
れるビット数分だけシフトすることにより、黒補正デコ
ーダ21でデコードされたデータの特性を変換する。
The AND circuit 23 controls passing / blocking of the decoded data of the black correction decoder 21 based on the logic of the output of the NOR circuit 22. That is, the NOR circuit 2
When the output of the NOR circuit 22 is logic "1", the decode data of the black correction decoder 21 is passed as it is, and when the output of the NOR circuit 22 is logic "0", the decode data of the black correction decoder 21 is cut off. The bit shift circuit 24 shifts the data that has passed through the AND circuit 23 by the number of bits set according to the correction amount setting information of m (m <a) bits given from the microcomputer 10 to thereby provide a black correction decoder. 21 converts the characteristics of the decoded data.

【0025】なお、本例では、黒補正デコーダ21でデ
コードされたデータの特性を、マイコン10から与えら
れる補正量設定情報に基づいて変換する特性変換手段と
してビットシフト回路24を用いた例を示したが、これ
に限定されるものではない。他の例としては、例えば、
AND回路23を通過したデータに対して、マイコン1
0から与えられる補正量設定情報に応じた係数を乗ずる
乗算器や、AND回路23を通過したデータから、マイ
コン10から与えられる補正量設定情報に基づくデコー
ド値を減ずる減算器などによって構成することも可能で
ある。
In this embodiment, an example is shown in which a bit shift circuit 24 is used as a characteristic conversion means for converting the characteristics of data decoded by the black correction decoder 21 based on correction amount setting information given from the microcomputer 10. However, it is not limited to this. As another example, for example,
The data that has passed through the AND circuit 23 is
A multiplier that multiplies a coefficient corresponding to the correction amount setting information given from 0, a subtractor that subtracts a decode value based on the correction amount setting information given from the microcomputer 10 from data passed through the AND circuit 23, or the like may be used. It is possible.

【0026】次に、上記構成の一実施形態に係るガンマ
補正回路において、ガンマ補正を行う際の処理手順につ
いて、図4の入出力特性図を用いて図5のフローチャー
トにしたがって説明する。なお、図4において、(A)
は入力Y信号データに対するガンマROM11の出力の
特性を、(B)は入力Y信号データに対する黒補正デー
タ生成部12の出力の特性を、(C)は入力Y信号デー
タに対する減算器13の出力の特性を、(D)は入力Y
信号データに対する本ガンマ補正回路の出力の特性をそ
れぞれ示している。
Next, the processing procedure for performing gamma correction in the gamma correction circuit according to one embodiment of the above configuration will be described with reference to the input / output characteristic diagram of FIG. 4 and the flowchart of FIG. In FIG. 4, (A)
Is the output characteristic of the gamma ROM 11 for the input Y signal data, (B) is the output characteristic of the black correction data generation unit 12 for the input Y signal data, and (C) is the output characteristic of the subtractor 13 for the input Y signal data. (D) is the input Y
The output characteristics of the gamma correction circuit with respect to the signal data are shown respectively.

【0027】Y信号データが入力されると(ステップS
11)、この入力Y信号データを受けてガンマROM1
1からは図4(A)に示すような標準のガンマカーブ特
性のデータが出力され(ステップS12)、また黒補正
データ生成部12からは図4(B)に示すような補正デ
ータが出力される(ステップS13)。ここで、黒補正
データ生成部12から出力される補正データの特性は、
マイコン10から与えられる補正量設定情報に応じて可
変となっている。例えば、図3に示す回路例の場合に
は、図4(B)の特性図において、膨らみが最大の特性
x1を基準の特性とし、ビットシフト回路24でのシフ
ト量が多くなるにしたがって膨らみが小さくなる特性x
2,x3,…となる。
When the Y signal data is input (step S
11), receiving the input Y signal data, the gamma ROM 1
1 outputs standard gamma curve characteristic data as shown in FIG. 4A (step S12), and the black correction data generator 12 outputs correction data as shown in FIG. 4B. (Step S13). Here, the characteristics of the correction data output from the black correction data generation unit 12 are as follows:
It is variable according to the correction amount setting information given from the microcomputer 10. For example, in the case of the circuit example shown in FIG. 3, in the characteristic diagram of FIG. 4B, the characteristic x1 having the largest bulge is set as a reference characteristic, and the bulge increases as the shift amount in the bit shift circuit 24 increases. Characteristics x that become smaller
2, x3, ...

【0028】この黒補正データ生成部12で生成された
補正データは、ガンマROM11から出力される標準の
ガンマカーブ特性のデータから減算器13によって減算
処理される(ステップS14)。これにより、減算器1
3の減算データとして、図4(C)に示すように、補正
データが0の場合には、ガンマROM11から出力され
る標準のガンマカーブ特性のデータがそのまま得られ、
補正データが最大の特性x1の場合には、標準のガンマ
カーブ特性の黒付近がなだらかな特性y1のデータが得
られる。
The correction data generated by the black correction data generation unit 12 is subjected to a subtraction process by the subtractor 13 from the standard gamma curve characteristic data output from the gamma ROM 11 (step S14). Thereby, the subtracter 1
As shown in FIG. 4C, when the correction data is 0 as the subtraction data of 3, the data of the standard gamma curve characteristic output from the gamma ROM 11 is obtained as it is.
When the correction data has the maximum characteristic x1, data of a characteristic y1 in which the vicinity of black of the standard gamma curve characteristic is gentle is obtained.

【0029】そして、入力Y信号データが標準レベル以
下の領域であるか否かを判定し(ステップS15)、標
準レベル以下の領域であれば、減算器13の減算データ
をセレクタ16によって選択し(ステップS16)、入
力Y信号データが標準レベルを越える領域であれば、ニ
ー生成部14で生成されたニー特性を持つデータをセレ
クタ16によって選択する(ステップS17)。入力Y
信号データが標準レベル以下であるか否かは標準レベル
検波回路15によって判断され、この標準レベル検波回
路15の出力によってセレクタ16の切換え制御が行わ
れる。
Then, it is determined whether or not the input Y signal data is in a region below the standard level (step S15). If it is in the region below the standard level, the subtraction data of the subtractor 13 is selected by the selector 16 (step S15). Step S16) If the input Y signal data exceeds the standard level, the selector 16 selects the data having the knee characteristic generated by the knee generating section 14 (step S17). Input Y
Whether or not the signal data is below the standard level is determined by the standard level detection circuit 15, and the output of the standard level detection circuit 15 controls switching of the selector 16.

【0030】上述したように、入力される補正対象のY
信号データに対して標準のガンマカーブ特性のデータを
生成するとともに、この標準のガンマカーブ特性の低レ
ベル領域の特性を補正する補正データを生成し、この補
正データを標準のガンマカーブ特性のデータから減算処
理するようにしたことにより、標準のガンマカーブ特性
のデータに基づいて黒付近の階調重視およびS/N重視
の両機能を実現することができる。
As described above, the input Y to be corrected is
In addition to generating standard gamma curve characteristic data for the signal data, it also generates correction data for correcting the low-level characteristic of the standard gamma curve characteristic, and converts this correction data from the standard gamma curve characteristic data. By performing the subtraction processing, it is possible to realize both the functions of emphasizing gradation near black and emphasis on S / N based on the data of the standard gamma curve characteristics.

【0031】これにより、黒付近の階調重視のためのデ
ータとS/N重視のためのデータの両方をガンマROM
に持たせる必要がないため、LSI化する際に、双方の
データを持たせる場合に比べて、ガンマROMにおける
ゲート規模(回路規模)を大幅に縮小化することができ
る。しかも、補正データの特性を可変とし、その特性を
マイコン10側から被写体の条件、例えば被写体の明る
さに応じて変え、ノイズレベルを抑えることにより、黒
付近のS/Nが良いY信号データを得ることができる。
Thus, both the data for emphasizing gradation near black and the data for emphasizing S / N can be stored in the gamma ROM.
Therefore, the gate scale (circuit scale) of the gamma ROM can be greatly reduced as compared with the case where both data are provided when forming an LSI. In addition, the characteristics of the correction data are made variable, and the characteristics are changed from the microcomputer 10 according to the conditions of the subject, for example, the brightness of the subject, and the noise level is suppressed. Obtainable.

【0032】また、黒補正データ生成部12において
は、黒補正データ(黒圧縮データ)を入力Y信号データ
の数ビットによるデコードデータで構成し、しかもその
デコードデータの特性の変換をビットシフト回路24に
よるビットシフトによって行うようにしているため、回
路規模を小さく抑えることができる。一例として、デー
タを2系統分持つ場合に比べると、入力9ビットに対し
て4ビット圧縮する条件の下で約90%の回路規模の削
減が可能となる。
In the black correction data generator 12, the black correction data (black compressed data) is composed of decoded data of several bits of the input Y signal data, and the conversion of the characteristics of the decoded data is performed by a bit shift circuit 24. , The circuit scale can be reduced. As an example, it is possible to reduce the circuit size by about 90% under the condition of compressing 9 bits of input data by 4 bits, as compared with the case of storing data for 2 systems.

【0033】図6は、本発明によるガンマ補正回路の他
の実施形態を示すブロック図であり、本実施形態におい
ても、ROMテーブル方式のガンマ補正回路に適用した
場合を例に採って説明するものとする。
FIG. 6 is a block diagram showing another embodiment of the gamma correction circuit according to the present invention. In this embodiment, a case where the present invention is applied to a ROM table type gamma correction circuit will be described as an example. And

【0034】本実施形態に係るガンマ補正回路は、ガン
マカーブデータ生成手段としてのガンマROM31と、
補正データ生成手段としての黒補正データ生成部32
と、演算手段としての加算器33と、ニー生成部34
と、標準レベル検波回路35と、セレクタ36とから構
成されている。
The gamma correction circuit according to this embodiment includes a gamma ROM 31 as gamma curve data generating means,
Black correction data generation unit 32 as correction data generation means
And an adder 33 as a calculating means, and a knee generating unit 34
, A standard level detection circuit 35, and a selector 36.

【0035】ガンマROM31は、入力される補正対象
のY信号データに対して、図13に示す標準のガンマカ
ーブ特性のうち、標準レベル以下の特性のデータをテー
ブルとして持っている。黒補正データ生成部32は、図
1のマイコン10から与えられる補正量設定情報に応じ
て、入力Y信号データの低域データに対して、標準のガ
ンマカーブ特性の低レベル領域、即ち黒付近の特性を補
正する補正データを生成する。この黒圧縮データ生成部
32としては、図3に示す回路構成のものが用いられ
る。
The gamma ROM 31 has, as a table, data of characteristics below the standard level among the standard gamma curve characteristics shown in FIG. 13 for the input Y signal data to be corrected. The black correction data generation unit 32, based on the correction amount setting information given from the microcomputer 10 in FIG. Correction data for correcting characteristics is generated. As the black compressed data generation unit 32, one having a circuit configuration shown in FIG. 3 is used.

【0036】加算器33は、入力Y信号データに応じて
ガンマROM31から出力されるガンマカーブ特性のデ
ータに対して、入力Y信号データに応じて黒補正データ
生成部32から出力される補正データを加算する処理を
行い、その加算データをセレクタ36の一方の入力とす
る。ニー生成部34は、入力Y信号データに対して、図
13に示す標準のガンマカーブ特性のうち、標準レベル
を越える特性のデータ、即ちニー特性を持つデータを生
成し、セレクタ36の他方の入力とする。
The adder 33 converts the correction data output from the black correction data generator 32 according to the input Y signal data with respect to the gamma curve characteristic data output from the gamma ROM 31 according to the input Y signal data. The adding process is performed, and the added data is used as one input of the selector 36. The knee generating unit 34 generates data having characteristics exceeding the standard level, that is, data having knee characteristics, out of the standard gamma curve characteristics shown in FIG. And

【0037】標準レベル検波回路35は、例えば、標準
レベルを比較基準レベルとし、入力Y信号データを比較
入力とするコンパレータからなる構成となっており、入
力Y信号データのレベルが標準レベル以上になったこと
を検出すると、その検波出力によってセレクタ36を切
り換える。セレクタ36は、通常は加算器33の加算デ
ータを選択し、入力輝度信号のレベルが標準レベル以上
のときには標準レベル検波回路35の出力に基づいてニ
ー生成部34の出力データを選択して出力する構成とな
っている。
The standard level detection circuit 35 is composed of, for example, a comparator using the standard level as a comparison reference level and using the input Y signal data as a comparison input, and the level of the input Y signal data becomes higher than the standard level. When this is detected, the selector 36 is switched according to the detection output. The selector 36 normally selects the added data of the adder 33, and when the level of the input luminance signal is equal to or higher than the standard level, selects and outputs the output data of the knee generating section 34 based on the output of the standard level detection circuit 35. It has a configuration.

【0038】上述したように、入力される補正対象のY
信号データに対して標準のガンマカーブ特性のデータを
生成するとともに、この標準のガンマカーブ特性の低レ
ベル領域の特性を補正する補正データを生成し、この補
正データを標準のガンマカーブ特性のデータに対して加
算するようにしたことにより、図7に示すように、低レ
ベル領域の特性が急峻となり、黒付近の階調度をより重
視したガンマカーブ特性を得ることができる。また、低
レベル領域の特性は、先の実施形態の場合と同様に、マ
イコン10から与えられる補正量設定情報に応じて任意
に設定可能となっている。
As described above, the input Y to be corrected is
In addition to generating standard gamma curve characteristic data for the signal data, it also generates correction data for correcting the low-level characteristic of the standard gamma curve characteristic, and converts the correction data into standard gamma curve characteristic data. By performing the addition, as shown in FIG. 7, the characteristics in the low-level region become steep, and a gamma curve characteristic that places more importance on the gradation near black can be obtained. Further, the characteristics of the low-level region can be arbitrarily set in accordance with the correction amount setting information provided from the microcomputer 10 as in the case of the above embodiment.

【0039】なお、上記各実施形態では、標準のガンマ
カーブ特性のデータと補正データとを演算する手段とし
て、減算器13又は加算器33を用いた場合について説
明したが、減算器および加算器の双方を用いて標準のガ
ンマカーブ特性のデータに対して補正データの減算およ
び加算を選択的に行う構成とすることも可能である。こ
れによれば、黒付近の階調度をより重視したガンマカー
ブ特性と、S/Nを重視したガンマカーブ特性の双方を
同一信号処理にて実現できることになる。
In the above embodiments, the case where the subtractor 13 or the adder 33 is used as means for calculating the data of the standard gamma curve characteristic and the correction data has been described. It is also possible to adopt a configuration in which the subtraction and the addition of the correction data are selectively performed on the data of the standard gamma curve characteristics by using both of them. According to this, both the gamma curve characteristic that places more importance on the gradation near black and the gamma curve characteristic that places importance on the S / N can be realized by the same signal processing.

【0040】また、上記各実施形態は、標準のガンマカ
ーブ特性を任意に設定可能な構成の可変ガンマ方式のガ
ンマ補正回路にも適用することができる。この可変ガン
マ方式のガンマ補正回路においては、ダイナミックレン
ジの拡大などを目的として、そのダイナミックレンジに
応じたガンマカーブ特性の設定が行われる。図8は、可
変ガンマ方式のガンマ補正回路への適用例を示すブロッ
ク図である。
Further, each of the above embodiments can be applied to a gamma correction circuit of a variable gamma system in which a standard gamma curve characteristic can be arbitrarily set. In the gamma correction circuit of the variable gamma system, gamma curve characteristics are set according to the dynamic range for the purpose of expanding the dynamic range. FIG. 8 is a block diagram showing an example of application to a gamma correction circuit of a variable gamma method.

【0041】本適用例に係るガンマ補正回路において
は、ガンマカーブデータ生成手段として、ROM41、
乗算器42、加算器43および直線データ生成部44が
設けられている。ROM41には、標準レベルまでの入
力Y信号データに対して、図9(A)に実線で示すよう
なガンマカーブ特性のデータがテーブルとして格納され
ている。乗算器42は、ROM41から出力されるデー
タに対して、図1のマイコン10から与えられるROM
カーブ選択情報に基づくデコードデータを乗算すること
により、図9(A)に実線で示すガンマカーブ特性に対
して点線で示す各種のガンマカーブ特性のデータを生成
する。
In the gamma correction circuit according to this application example, the ROM 41 is used as gamma curve data generation means.
A multiplier 42, an adder 43, and a straight line data generator 44 are provided. The ROM 41 stores, as a table, data of gamma curve characteristics as indicated by a solid line in FIG. 9A for input Y signal data up to the standard level. The multiplier 42 is provided for the data output from the ROM 41 to the ROM provided from the microcomputer 10 in FIG.
By multiplying the decode data based on the curve selection information, data of various gamma curve characteristics indicated by dotted lines with respect to the gamma curve characteristics indicated by solid lines in FIG. 9A is generated.

【0042】一方、直線データ生成部44には、標準レ
ベルまでの入力Y信号データに対して、図9(B)に示
すように、ある傾斜角を持った直線データがテーブルと
して格納されている。この直線データ生成部44から出
力される直線データが、乗算器42から出力されるデー
タと加算器43で加算されることで、図9(C)に実線
で示すようなガンマカーブ特性のデータが生成される。
そして、マイコン10から与えられるROMカーブ選択
情報に応じて乗算器42の出力データのガンマカーブ特
性が図9(A)に点線で示すように変化することで、加
算器43の出力データのガンマカーブ特性も、図9
(C)に点線で示すように変化する。
On the other hand, the straight line data generator 44 stores, as a table, straight line data having a certain inclination angle with respect to the input Y signal data up to the standard level, as shown in FIG. 9B. . The straight line data output from the straight line data generation unit 44 is added to the data output from the multiplier 42 by the adder 43, so that data having a gamma curve characteristic as shown by a solid line in FIG. Generated.
Then, the gamma curve characteristic of the output data of the multiplier 42 changes as indicated by the dotted line in FIG. 9A according to the ROM curve selection information given from the microcomputer 10, whereby the gamma curve of the output data of the adder 43 is changed. The characteristics are also shown in FIG.
(C) changes as shown by the dotted line.

【0043】以上の構成が、可変ガンマ方式のガンマ補
正回路に特有な回路部分である。そして、本適用例で
は、この回路部分に対して例えば図2の実施形態に係る
回路が付加されたものである。すなわち、黒補正データ
生成部45では、図1のマイコン10から与えられる補
正量設定情報に応じて、入力Y信号データの低域データ
に対して、標準のガンマカーブ特性の低レベル領域、即
ち黒付近の特性を補正する補正データが生成される。
The above configuration is a circuit portion unique to the variable gamma gamma correction circuit. In this application example, for example, a circuit according to the embodiment of FIG. 2 is added to this circuit portion. In other words, the black correction data generation unit 45 converts the low-frequency data of the input Y signal data into a low-level region having a standard gamma curve characteristic, that is, a black level, according to the correction amount setting information given from the microcomputer 10 in FIG. Correction data for correcting nearby characteristics is generated.

【0044】減算器46は、入力Y信号データに応じて
加算器43から出力されるガンマカーブ特性のデータか
ら、入力Y信号データに応じて黒補正データ生成部45
から出力される補正データを減算する処理を行い、その
減算データをセレクタ47の一方の入力とする。可変ニ
ー生成部48は、入力Y信号データに対して、標準レベ
ルを越える特性のデータ、即ちニー特性を持つデータを
生成し、セレクタ47の他方の入力とする。この可変ニ
ー生成部48は、ROMカーブ選択時にその選択情報に
対応して図1のマイコン10から与えられるニー特性選
択情報に基づいてニー特性が可変な構成となっている。
The subtractor 46 converts the gamma curve characteristic data output from the adder 43 in accordance with the input Y signal data into a black correction data generator 45 in accordance with the input Y signal data.
Is performed, and the subtracted data is used as one input of the selector 47. The variable knee generator 48 generates data having characteristics exceeding the standard level, that is, data having knee characteristics, with respect to the input Y signal data, and uses the data as the other input of the selector 47. The variable knee generator 48 has a configuration in which the knee characteristic is variable based on the knee characteristic selection information given from the microcomputer 10 in FIG. 1 corresponding to the selection information when the ROM curve is selected.

【0045】標準レベル検波回路49は、入力Y信号デ
ータのレベルを監視し、そのレベルが標準レベル以上に
なったことを検出すると、その検波出力によってセレク
タ47を切り換える。セレクタ47は、通常は減算器4
6の減算データを選択し、入力輝度信号のレベルが標準
レベル以上のときには、標準レベル検波回路49の出力
に基づいて、可変ニー生成部48の出力データを選択し
て出力する構成となっている。
The standard level detection circuit 49 monitors the level of the input Y signal data and, when detecting that the level has exceeded the standard level, switches the selector 47 according to the detection output. The selector 47 usually has the subtractor 4
6 is selected, and when the level of the input luminance signal is equal to or higher than the standard level, the output data of the variable knee generator 48 is selected and output based on the output of the standard level detection circuit 49. .

【0046】上述したように、本発明は、可変ガンマ方
式のガンマ補正回路にも適用することができる。これに
より、ダイナミックレンジの拡大などを目的として、そ
のダイナミックレンジに応じたガンマカーブ特性を設定
できることに加え、被写体の条件に応じてS/Nを任意
に設定できることになる。以上の本適用例では、可変ガ
ンマ方式のガンマ補正回路に、演算手段として減算器を
用いた実施形態を適用するとしたが、演算手段として加
算器を用いた実施形態、さらには演算手段として減算器
および加算器を用いた実施形態も同様に適用可能であ
る。
As described above, the present invention can be applied to a gamma correction circuit of a variable gamma system. As a result, for the purpose of expanding the dynamic range, etc., it is possible to set a gamma curve characteristic according to the dynamic range, and to arbitrarily set the S / N according to the condition of the subject. In the present application example described above, the embodiment using the subtractor as the calculating means is applied to the gamma correction circuit of the variable gamma method. However, the embodiment using the adder as the calculating means, and further the subtractor as the calculating means. An embodiment using an adder is also applicable.

【0047】なお、以上説明した本発明の各実施形態お
よび適用例では、ROMテーブル方式のガンマ補正回路
に適用した場合について説明したが、これに限定される
ものではなく、直線近似方式のガンマ補正回路にも同様
に適用可能である。ここで、ROMテーブル方式ではガ
ンマROMが用いられるのに対し、直線近似方式では直
線近似回路が用いられる点で、両方式のガンマ補正回路
の構成に違いがある。すなわち、直線近似方式のガンマ
補正回路に適用する場合は、図2および図6において、
ガンマROM11,31を直線近似回路に置換したもの
となる。
In each embodiment and application example of the present invention described above, a case where the present invention is applied to a ROM table type gamma correction circuit is described. However, the present invention is not limited to this. It is equally applicable to circuits. Here, the gamma ROM is used in the ROM table method, whereas the linear approximation circuit is used in the linear approximation method. That is, when applied to a linear approximation type gamma correction circuit, in FIGS.
The gamma ROMs 11 and 31 are replaced with linear approximation circuits.

【0048】直線近似方式の場合のガンマカーブ特性の
一例を図10に示す。また、この場合の直線近似回路の
回路構成の一例を図11に示す。この例の直線近似回路
は、入力Y信号データに応じて直線A,B,Cの各デー
タを得る例えば3個の係数器51,52,53と、これ
ら係数器51,52,53の各出力データのうちの1つ
のデータを選択的に出力するセレクタ54と、入力Y信
号データに基づいて直線A,B,Cの各データのうちの
1つのデータを選択すべくセレクタ54を切換え制御す
るデコーダ(比較器)55とから構成されている。
FIG. 10 shows an example of the gamma curve characteristic in the case of the linear approximation method. FIG. 11 shows an example of a circuit configuration of the linear approximation circuit in this case. The straight line approximation circuit of this example includes, for example, three coefficient units 51, 52, and 53 for obtaining data of lines A, B, and C according to input Y signal data, and outputs of the coefficient units 51, 52, and 53, respectively. A selector 54 for selectively outputting one of the data and a decoder for switching and controlling the selector 54 to select one of the data of the straight lines A, B and C based on the input Y signal data (Comparator) 55.

【0049】このように、直線近似方式のガンマ補正回
路に適用した場合には、標準のガンマカーブ特性の低レ
ベル領域(黒付近の領域)、例えば図10の直線Aの特
性を補正データを用いて補正するようにすることで、先
述した一実施形態あるいは他の実施形態の場合と同様
に、ノイズレベルを低減してS/Nを重視したり、黒付
近の階調度を重視したガンマ補正を適宜行うことができ
る。
As described above, when the present invention is applied to the gamma correction circuit of the linear approximation method, the low-level region (region near black) of the standard gamma curve characteristic, for example, the characteristic of the straight line A in FIG. As in the case of the above-described embodiment or another embodiment, the S / N is reduced by emphasizing the noise level, or the gamma correction is performed by emphasizing the gradation near black as in the case of the above-described embodiment or other embodiments. It can be performed as appropriate.

【0050】以上説明した本発明の各実施形態および適
用例では、図1に示すカメラシステムにおいて、Y信号
処理回路6のガンマ補正回路62に適用した場合、即ち
Y信号に対してガンマ補正処理を行う場合について説明
したが、C信号処理回路7のガンマ補正回路73、即ち
C信号に対してガンマ補正処理を行う場合にも同様に適
用することが可能であり、同様な作用効果を得ることが
できる。
In the embodiments and application examples of the present invention described above, in the camera system shown in FIG. 1, when applied to the gamma correction circuit 62 of the Y signal processing circuit 6, that is, the gamma correction processing is performed on the Y signal. Although the description has been given of the case where the gamma correction is performed, the gamma correction circuit 73 of the C signal processing circuit 7, that is, the case where the gamma correction is performed on the C signal can be similarly applied. it can.

【0051】[0051]

【発明の効果】以上説明したように、本発明によれば、
入力される補正対象の映像信号に対して標準のガンマカ
ーブ特性のデータを生成するとともに、標準のガンマカ
ーブ特性の低レベル領域の特性を補正する補正データを
生成し、標準のガンマカーブ特性のデータと補正データ
とを演算することによってガンマ補正を行うようにした
ことにより、ガンマカーブ特性のデータを複数種類分容
易しなくても、複数種類のガンマカーブ特性に基づくガ
ンマ補正を、同一信号処理にて実現できるため、回路規
模を小規模に抑えつつ黒付近の階調やS/Nを多段階に
切り換えることができることになる。
As described above, according to the present invention,
Generates standard gamma curve characteristics data for the input video signal to be corrected, and generates correction data for correcting the low-level region characteristics of the standard gamma curve characteristics. Gamma correction by calculating the gamma curve characteristics and the correction data allows gamma correction based on multiple types of gamma curve characteristics to be performed in the same signal Therefore, the gradation and S / N near black can be switched in multiple stages while the circuit scale is kept small.

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

【図1】本発明に係るカメラシステムの基本構成の一例
を示すブロック図である。
FIG. 1 is a block diagram showing an example of a basic configuration of a camera system according to the present invention.

【図2】本発明によるガンマ補正回路の一実施形態を示
すブロック図である。
FIG. 2 is a block diagram showing an embodiment of a gamma correction circuit according to the present invention.

【図3】黒補正データ生成部の回路構成の一例を示すブ
ロック図である。
FIG. 3 is a block diagram illustrating an example of a circuit configuration of a black correction data generation unit.

【図4】本発明の一実施形態に係る入出力特性図であ
る。
FIG. 4 is an input / output characteristic diagram according to an embodiment of the present invention.

【図5】本発明に係るガンマ補正方法の手順を示すフロ
ーチャートである。
FIG. 5 is a flowchart illustrating a procedure of a gamma correction method according to the present invention.

【図6】本発明によるガンマ補正回路の他の実施形態を
示すブロック図である。
FIG. 6 is a block diagram showing another embodiment of the gamma correction circuit according to the present invention.

【図7】本発明の他の実施形態に係る入出力特性図であ
る。
FIG. 7 is an input / output characteristic diagram according to another embodiment of the present invention.

【図8】本発明の適用例を示すブロック図である。FIG. 8 is a block diagram showing an application example of the present invention.

【図9】本発明の適用例に係る入出力特性図である。FIG. 9 is an input / output characteristic diagram according to an application example of the present invention.

【図10】直線近似方式のガンマカーブ特性図である。FIG. 10 is a gamma curve characteristic diagram of a linear approximation method.

【図11】直線近似回路の一例を示すブロック図であ
る。
FIG. 11 is a block diagram illustrating an example of a linear approximation circuit.

【図12】従来例を示すブロック図である。FIG. 12 is a block diagram showing a conventional example.

【図13】黒付近の階調重視の場合のガンマカーブ特性
図である。
FIG. 13 is a gamma curve characteristic diagram in the case where priority is given to gradation near black.

【図14】黒付近のS/N重視の場合のガンマカーブ特
性図である。
FIG. 14 is a gamma curve characteristic diagram in the case where importance is placed on S / N near black.

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

1 CCD撮像素子 4 A/Dコンバータ 6
Y信号処理回路 7 C信号処理回路 8,9 D/Aコンバータ 10 マイクロコンピュータ 11,31 ガンマR
OM 12,32,45 黒補正データ生成部 13,46
減算器 14,34 ニー生成部 15,35,49 標準レ
ベル検波回路 16,36,47 セレクタ 21 黒補正デコーダ 24 ビットシフト回路 33,43 加算器 4
8 可変ニー生成部
1 CCD imaging device 4 A / D converter 6
Y signal processing circuit 7 C signal processing circuit 8,9 D / A converter 10 Microcomputer 11,31 Gamma R
OM 12, 32, 45 Black correction data generation unit 13, 46
Subtractors 14, 34 Knee generators 15, 35, 49 Standard level detector 16, 36, 47 Selector 21 Black correction decoder 24 Bit shift circuit 33, 43 Adder 4
8 Variable knee generator

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 入力される補正対象の映像信号に対して
標準のガンマカーブ特性のデータを生成するガンマカー
ブデータ生成手段と、 前記標準のガンマカーブ特性の低レベル領域の特性を補
正する補正データを生成する補正データ生成手段と、 前記ガンマカーブデータ生成手段で生成された標準のガ
ンマカーブ特性のデータと前記補正データ生成手段で生
成された補正データとを演算する演算手段とを備えたこ
とを特徴とする映像信号処理回路。
1. A gamma curve data generating means for generating standard gamma curve characteristic data for an input video signal to be corrected, and correction data for correcting a characteristic of the standard gamma curve characteristic in a low level region. Correction data generating means for generating the data, and calculating means for calculating the data of the standard gamma curve characteristics generated by the gamma curve data generating means and the correction data generated by the correction data generating means. Characteristic video signal processing circuit.
【請求項2】 前記演算手段は、前記ガンマカーブデー
タ生成手段で生成された標準のガンマカーブ特性のデー
タから前記補正データ生成手段で生成された補正データ
を減算する減算器であることを特徴とする請求項1記載
の映像信号処理回路。
2. The method according to claim 1, wherein said calculating means is a subtractor for subtracting the correction data generated by said correction data generating means from the data of the standard gamma curve characteristics generated by said gamma curve data generating means. The video signal processing circuit according to claim 1.
【請求項3】 前記演算手段は、前記ガンマカーブデー
タ生成手段で生成された標準のガンマカーブ特性のデー
タに対して、前記補正データ生成手段で生成された補正
データを加算する加算器であることを特徴とする請求項
1記載の映像信号処理回路。
3. The arithmetic unit is an adder that adds correction data generated by the correction data generation unit to data of standard gamma curve characteristics generated by the gamma curve data generation unit. The video signal processing circuit according to claim 1, wherein:
【請求項4】 前記ガンマカーブデータ生成手段で生成
される標準のガンマカーブ特性が可変であることを特徴
とする請求項1記載の映像信号処理回路。
4. The video signal processing circuit according to claim 1, wherein standard gamma curve characteristics generated by said gamma curve data generation means are variable.
【請求項5】 前記補正データ生成手段は、前記映像信
号の低域データに対して所定の特性を持つデータを生成
するデータ生成手段と、前記データ生成手段で生成され
たデータの特性を外部から与えられる情報に基づいて変
換する特性変換手段とを有することを特徴とする請求項
1記載の映像信号処理回路。
5. The correction data generation unit includes: a data generation unit configured to generate data having predetermined characteristics with respect to low-frequency data of the video signal; 2. The video signal processing circuit according to claim 1, further comprising: a characteristic conversion unit configured to perform conversion based on provided information.
【請求項6】 前記データ生成手段は、前記映像信号の
低域データを前記所定の特性を持つデータにデコードす
るデコーダからなることを特徴とする請求項5記載の映
像信号処理回路。
6. The video signal processing circuit according to claim 5, wherein said data generation means comprises a decoder for decoding low-frequency data of said video signal into data having said predetermined characteristic.
【請求項7】 前記特性変換手段は、前記データ生成手
段で生成されたデータを前記外部から与えられる情報に
応じたビット数分だけシフトするビットシフト回路から
なることを特徴とする請求項5記載の映像信号処理回
路。
7. The characteristic conversion means comprises a bit shift circuit for shifting data generated by the data generation means by the number of bits according to the information provided from the outside. Video signal processing circuit.
【請求項8】 入射光を電気信号に変換して出力する撮
像素子と、前記撮像素子の撮像面上に被写体からの入射
光を導く光学系と、前記撮像素子から出力される映像信
号を処理する映像信号処理回路とを備えたカメラであっ
て、 前記映像信号処理回路は、 前記撮像素子から出力される映像信号に対して標準のガ
ンマカーブ特性のデータを生成するガンマカーブデータ
生成手段と、 前記標準のガンマカーブ特性の低レベル領域の特性を補
正する補正データを生成する補正データ生成手段と、 前記ガンマカーブデータ生成手段で生成された標準のガ
ンマカーブ特性のデータと前記補正データ生成手段で生
成された補正データとを演算する演算手段とを有するこ
とを特徴とするカメラ。
8. An image pickup device for converting incident light into an electric signal and outputting the electric signal, an optical system for guiding incident light from a subject on an image pickup surface of the image pickup device, and processing a video signal output from the image pickup device. A video signal processing circuit comprising: a gamma curve data generating unit configured to generate data of a standard gamma curve characteristic for a video signal output from the imaging device; Correction data generating means for generating correction data for correcting the characteristic of the low-level region of the standard gamma curve characteristic; and standard gamma curve characteristic data generated by the gamma curve data generating means and the correction data generating means. A calculating means for calculating the generated correction data.
【請求項9】 入力される補正対象の映像信号に対して
標準のガンマカーブ特性のデータを生成するとともに、
前記標準のガンマカーブ特性の低レベル領域の特性を補
正する補正データを生成し、 前記標準のガンマカーブ特性のデータと前記補正データ
とを演算することを特徴とするガンマ補正方法。
9. Generating standard gamma curve characteristic data for an input video signal to be corrected,
A gamma correction method, comprising: generating correction data for correcting characteristics of a low-level region of the standard gamma curve characteristics; and calculating data of the standard gamma curve characteristics and the correction data.
JP9080399A 1997-03-31 1997-03-31 Video signal processing circuit, camera employing it and gamma correction method Pending JPH10276348A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9080399A JPH10276348A (en) 1997-03-31 1997-03-31 Video signal processing circuit, camera employing it and gamma correction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9080399A JPH10276348A (en) 1997-03-31 1997-03-31 Video signal processing circuit, camera employing it and gamma correction method

Publications (1)

Publication Number Publication Date
JPH10276348A true JPH10276348A (en) 1998-10-13

Family

ID=13717220

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9080399A Pending JPH10276348A (en) 1997-03-31 1997-03-31 Video signal processing circuit, camera employing it and gamma correction method

Country Status (1)

Country Link
JP (1) JPH10276348A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6795091B2 (en) 2001-02-28 2004-09-21 Samsung Electronics Co., Ltd. Display apparatus and method for gamma correcting a video signal therein

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6795091B2 (en) 2001-02-28 2004-09-21 Samsung Electronics Co., Ltd. Display apparatus and method for gamma correcting a video signal therein

Similar Documents

Publication Publication Date Title
JP4003399B2 (en) Image processing apparatus and method, and recording medium
JP4928765B2 (en) Semiconductor integrated device and black level correction method for image sensor
US6593970B1 (en) Imaging apparatus with dynamic range expanded, a video camera including the same, and a method of generating a dynamic range expanded video signal
US5767899A (en) Image pickup device
US7755681B2 (en) Apparatus and method of gamma correction in digital image processing device
US5255093A (en) Apparatus and a method for limiting gain in a digital gamma corrector
JP3134784B2 (en) Image synthesis circuit
US6922209B1 (en) Imaging apparatus and image signal processing method producing wide dynamic range
US5255080A (en) Contrast corrector for video signal
JP4404289B2 (en) Video signal processing apparatus and method
JP2004328564A (en) Color correcting apparatus, color correcting method, color correcting program, and digital camera using color correcting apparatus
JP2005538593A (en) Signal restoration method, imaging device, computer program product
JPH10210323A (en) Gradation correction device and video signal processor using the same
JPH11313336A (en) Signal processor and photographing signal processing method
JPH11313338A (en) Signal processor and photographing signal processing method
JP2003204450A (en) Imaging apparatus and video signal processing method
JPH0723287A (en) Image pickup device
JP4240261B2 (en) Image processing apparatus and method, and recording medium
JPH10276348A (en) Video signal processing circuit, camera employing it and gamma correction method
JPH09224186A (en) Video camera and control correcting device
JP2935389B2 (en) Video signal processing device and nonlinear signal processing device
JP3897445B2 (en) Imaging apparatus and image signal processing method
JP5754929B2 (en) Image processing apparatus and image processing method
JP4326029B2 (en) Imaging device
JPH11220749A (en) Camera signal processor and camera signal processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040329

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061027

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061031

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070313