JPH0686096A - Production of gamma correction table - Google Patents

Production of gamma correction table

Info

Publication number
JPH0686096A
JPH0686096A JP4234545A JP23454592A JPH0686096A JP H0686096 A JPH0686096 A JP H0686096A JP 4234545 A JP4234545 A JP 4234545A JP 23454592 A JP23454592 A JP 23454592A JP H0686096 A JPH0686096 A JP H0686096A
Authority
JP
Japan
Prior art keywords
gamma correction
correction table
transfer information
data
gamma
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
JP4234545A
Other languages
Japanese (ja)
Other versions
JP2942072B2 (en
Inventor
Koichi Gohara
幸一 郷原
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.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film 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 Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP4234545A priority Critical patent/JP2942072B2/en
Publication of JPH0686096A publication Critical patent/JPH0686096A/en
Application granted granted Critical
Publication of JP2942072B2 publication Critical patent/JP2942072B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To provide a production method of a gamma correction table which can reduce the quantity of data on the test gamma correction value that are transferred to the gamma correction table from a control part and also can reduce the width of a transfer data bus. CONSTITUTION:The picture element data 104 outputted from an image pickup part 10 containing a CCD is converted into the digital picture element data 106 by an A/D converter 20. The data 106 is corrected by a gamma correction table contained in a gamma correction circuit part 30, and the corrected data 108 is stored in an IC memory card 50. A control part 40 controls the timing of the flow of those data and also transfers the test gamma correction value to the gamma correction table. Then the part 40 transfers only (m) less significant bits and produces more significant bits through the circuit 3 in order to reduce the width of a transfer data bus 200. Otherwise the part 40 performs the broken-straight line approximation and transfers a change point and the slope of each straight line to reduce the quantity of data to be transferred.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、受像機の受像管の発光
特性の非直線性に対応して、撮像装置側で逆特性の非線
形補正を行う際に使用するガンマ補正テーブルの作成方
法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for preparing a gamma correction table used when performing non-linear correction of inverse characteristics on the image pickup device side in response to non-linearity of light emission characteristics of a picture tube of a receiver. It is a thing.

【0002】[0002]

【従来の技術】カラー受像管の発光出力Lは、信号電圧
Eのγ乗に比例する。したがって、発光出力Lと信号電
圧Eの値を両対数軸で表すと、その傾きはγの値によっ
て定まる。この特性がガンマ特性で、カラー受像管で
は、γ=2.2 程度である。したがって、撮像装置側で得
た被写体の刺激値に比例した信号電圧をそのまま受像機
に表示すると、信号レベルが変動したときには、受像管
の非線形特性のために輝度・色相・彩度が歪んで再生さ
れることになる。そこで、逆特性の非線形補正を行う必
要があり、これがガンマ補正と呼ばれる処理である。こ
のガンマ補正は撮像装置側で行うのが経済的であり、従
来そのように行われている。
2. Description of the Related Art The emission output L of a color picture tube is proportional to the signal voltage E raised to the power γ. Therefore, when the values of the light emission output L and the signal voltage E are represented by the logarithmic axis, the slope thereof is determined by the value of γ. This characteristic is the gamma characteristic, which is about γ = 2.2 in a color picture tube. Therefore, if the signal voltage proportional to the stimulus value of the subject obtained on the image pickup device side is directly displayed on the image receiver, when the signal level fluctuates, the non-linear characteristics of the picture tube distort the brightness, hue, and saturation for reproduction. Will be done. Therefore, it is necessary to perform the inverse characteristic nonlinear correction, and this is a process called gamma correction. It is economical to perform this gamma correction on the side of the image pickup device, and it is conventionally performed as such.

【0003】たとえばディジタル電子スチルカメラ等の
撮像装置においても、たとえばICメモリカード等の画
像記憶媒体に画素データを記憶させる際に、上記ガンマ
補正を行っている。
Even in an image pickup apparatus such as a digital electronic still camera, the gamma correction is performed when pixel data is stored in an image storage medium such as an IC memory card.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、ディジ
タル電子スチルカメラ等の撮像装置の開発段階では未だ
使用する固体撮像素子、たとえば CCDのタイプは、確定
していない場合も多い。したがって、CCD の素子自体の
変更を伴う場合が存在する。このように、CCD を変更し
た場合、CCD 自体の特性によってガンマ補正値は必ずし
も一定ではなく若干の修正を要するものである。したが
って、開発段階においては、ガンマ補正用テーブルは、
固定テーブルとせず、システムコントローラ等の制御部
からガンマ補正用テーブルのメモリ領域にデータを転送
して、種々のガンマ補正値で試験を行う場合が多い。こ
のような場合、中間階調での再現性を向上するためにた
とえば画素の階調が1024階調ある画像データに対してガ
ンマ補正を施すことがある。このとき、制御部からガン
マ補正用テーブルメモリに対しては、10ビットの並列デ
ータバスによって1024階調分の大量のデータを設定して
転送しなければならないという経済性および作業効率上
の困難な課題がある。
However, in many cases, the type of solid-state image pickup device, for example, CCD, which is still used in the development stage of an image pickup device such as a digital electronic still camera, has not been determined. Therefore, there are cases where the CCD device itself is changed. In this way, when the CCD is changed, the gamma correction value is not always constant due to the characteristics of the CCD itself, and some correction is required. Therefore, at the development stage, the gamma correction table is
In many cases, instead of using a fixed table, data is transferred from a control unit such as a system controller to a memory area of a gamma correction table, and various gamma correction values are tested. In such a case, in order to improve the reproducibility in the intermediate gradation, gamma correction may be applied to image data having 1024 gradations of pixels, for example. At this time, a large amount of data for 1024 gradations must be set and transferred from the control unit to the gamma correction table memory by a 10-bit parallel data bus, which is difficult in terms of economical efficiency and work efficiency. There are challenges.

【0005】本発明はこのような従来技術の欠点を解消
し、制御部からのデータバスの幅あるいは転送データ量
を少なくしたガンマ補正テーブルの作成方法を提供する
ことを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to solve the above drawbacks of the prior art and to provide a method for creating a gamma correction table in which the width of the data bus from the control unit or the amount of transferred data is reduced.

【0006】[0006]

【課題を解決するための手段】上記目的を解決するため
に、本発明によるガンマ補正テーブルの作成方法は、撮
像装置側の入出力特性を加味して受像機のガンマ特性を
補正する際にガンマ補正曲線を一義的に定める転送情報
をデータバスを介して受けてガンマ補正テーブルを更新
するガンマ補正テーブルの作成方法において、ガンマ補
正曲線のデータ量の縮減を行い、その縮減されたデータ
を転送情報とし、この転送情報を受けてガンマ補正テー
ブルの各補正定数を生成し更新することを特徴としてい
る。
In order to solve the above-mentioned problems, a method of creating a gamma correction table according to the present invention is a method of correcting gamma characteristics when correcting the gamma characteristics of a receiver by taking into consideration the input / output characteristics of the image pickup device. In a method of creating a gamma correction table that receives transfer information that uniquely defines a correction curve via a data bus and updates the gamma correction table, the data amount of the gamma correction curve is reduced, and the reduced data is transferred information. It is characterized in that each of the correction constants of the gamma correction table is generated and updated upon receiving this transfer information.

【0007】また、本発明によるガンマ補正テーブルの
作成方法は、撮像装置側の入出力特性を加味して受像機
のガンマ特性を補正する際にガンマ補正曲線を一義的に
定める転送情報をデータバスを介して受けてガンマ補正
テーブルを更新するガンマ補正テーブルの作成方法にお
いて、自然数nビットの2進数で表現された信号の階調
データの下位mビット(mはnより小さい自然数)を転
送情報とし、上位(n−m)ビットについては、この転
送情報を受けて前記下位mビットの最上位ビットの変化
点を利用して生成し、この生成された上位ビットと下位
mビットとに基づいてガンマ補正テーブルの各補正定数
を更新することを特徴としている。
Further, in the method of creating the gamma correction table according to the present invention, when the gamma characteristic of the receiver is corrected in consideration of the input / output characteristic of the image pickup device, the transfer information which uniquely defines the gamma correction curve is transferred to the data bus. In the method for creating a gamma correction table for receiving the update via the gamma correction table, the lower m bits (m is a natural number smaller than n) of the gradation data of the signal expressed by a binary number of a natural number n bits are used as the transfer information. , Upper (n−m) bits are generated by using the change point of the most significant bit of the lower m bits in response to the transfer information, and gamma is generated based on the generated upper bits and lower m bits. It is characterized in that each correction constant in the correction table is updated.

【0008】また、本発明によるガンマ補正テーブルの
作成方法は、撮像装置側の入出力特性を加味して受像機
のガンマ特性を補正する際にガンマ補正曲線を一義的に
定める転送情報をデータバスを介して受けてガンマ補正
テーブルを更新するガンマ補正テーブルの作成方法にお
いて、ガンマ補正曲線を2次元平面で表現しX軸を信号
入力レベル、Y軸を信号出力レベルとしたとき、複数本
の折線直線で近似を行い、各直線の信号入力レベルを変
数とした一次方程式の特性データと、各直線の交点をX
軸上の座標で表した変化点とを転送情報とし、この転送
情報に基づいてガンマ補正テーブルの各補正定数を生成
し更新することを特徴としている。
Further, in the method of creating the gamma correction table according to the present invention, when the gamma characteristic of the receiver is corrected by taking into consideration the input / output characteristic of the image pickup device, the transfer information which uniquely defines the gamma correction curve is transferred to the data bus. In the method of creating a gamma correction table for receiving the via gamma correction table and updating the gamma correction table, when the gamma correction curve is represented by a two-dimensional plane and the X axis is the signal input level and the Y axis is the signal output level, a plurality of broken lines are drawn. Approximate with a straight line, the characteristic data of the linear equation with the signal input level of each straight line as a variable, and the intersection of each straight line are X
The change point represented by the coordinate on the axis is used as transfer information, and each correction constant of the gamma correction table is generated and updated based on this transfer information.

【0009】また、本発明によるガンマ補正テーブルの
作成方法は、撮像装置側の入出力特性を加味して受像機
のガンマ特性を補正する際にガンマ補正曲線を一義的に
定める転送情報をデータバスを介して受けてガンマ補正
テーブルを更新するガンマ補正テーブルの作成方法にお
いて、理想のガンマ補正曲線と実際のガンマ補正曲線と
の間での信号入力レベルに対する信号出力レベル差分
値、および信号入力レベルに対して信号出力レベルが比
例する直線と実際のガンマ補正曲線との出力レベル差分
値のいずれかを転送情報とし、この転送情報に基づいて
ガンマ補正テーブルの各補正定数を生成し更新すること
を特徴としている。
Further, in the method of creating the gamma correction table according to the present invention, when the gamma characteristic of the receiver is corrected in consideration of the input / output characteristic of the image pickup device, the transfer information which uniquely defines the gamma correction curve is stored in the data bus. In the method of creating a gamma correction table that receives via the, the gamma correction table, the signal output level difference value with respect to the signal input level between the ideal gamma correction curve and the actual gamma correction curve, and the signal input level On the other hand, one of the output level difference values between the straight line in which the signal output level is proportional and the actual gamma correction curve is used as transfer information, and each correction constant of the gamma correction table is generated and updated based on this transfer information. I am trying.

【0010】さらに、本発明によるガンマ補正テーブル
の作成方法は、上記方法のいずれかを組み合わせて転送
情報とし、この転送情報に基づいて前記ガンマ補正テー
ブルの各補正定数を生成し更新してもよい。
Further, in the method for creating a gamma correction table according to the present invention, any one of the above methods may be combined as transfer information, and each correction constant of the gamma correction table may be generated and updated based on this transfer information. .

【0011】[0011]

【作用】本発明によるガンマ補正テーブルの作成方法
は、ガンマ補正曲線を一義的に定めるデータの縮減を行
い、この縮減されたデータを転送情報とする。受信側
は、この転送情報に基づいてガンマ補正テーブルの各補
正定数を生成し更新する。
In the method of creating the gamma correction table according to the present invention, the data that uniquely defines the gamma correction curve is reduced, and this reduced data is used as the transfer information. The receiving side generates and updates each correction constant of the gamma correction table based on this transfer information.

【0012】また、本発明によるガンマ補正テーブルの
作成方法は、信号の階調をnビットの2進数で表現した
とき、下位mビットを制御部側からの転送情報とする。
上位(n−m)ビットについては、受信側で下位mビッ
トの最上位ビットの変化点を利用して生成し、この生成
した上位ビットと受信した下位mビットとに基づいてガ
ンマ補正テーブルの各補正定数を更新する。
Further, in the method of creating the gamma correction table according to the present invention, when the gradation of the signal is expressed by an n-bit binary number, the lower m bits are used as the transfer information from the control unit side.
The upper (n−m) bits are generated on the receiving side by using the change points of the most significant bits of the lower m bits, and each of the gamma correction tables is generated based on the generated upper bits and the received lower m bits. Update the correction constant.

【0013】また、本発明によるガンマ補正テーブルの
作成方法は、ガンマ補正曲線がX軸を信号入力レベル、
Y軸を信号出力レベルとした2次元平面で表されると
き、複数本の折線直線で近似を行い、各直線の信号入力
レベルを変数とした一次方程式の特性データと、各折線
の交点をX軸座標で表した入力レベルの変化点とを転送
情報とする。この転送情報に基づいてガンマ補正テーブ
ルの各補正定数を生成し更新する。
Further, in the method of creating the gamma correction table according to the present invention, the gamma correction curve has the X-axis as the signal input level,
When represented by a two-dimensional plane with the Y-axis as the signal output level, approximation is made with a plurality of broken line straight lines, and the intersection of each broken line with the characteristic data of the linear equation with the signal input level of each straight line as a variable The change point of the input level represented by the axis coordinate is used as the transfer information. Based on this transfer information, each correction constant of the gamma correction table is generated and updated.

【0014】さらに、本発明によるガンマ補正テーブル
の作成方法は、理想のガンマ補正曲線と実際のガンマ補
正曲線との間での信号入力レベルに対する信号出力レベ
ル差分値、および信号入力レベルに対して信号出力レベ
ルが比例する直線と実際のガンマ補正曲線との出力レベ
ル差分値のいずれかを転送情報とする。この転送情報に
基づいてガンマ補正テーブルの各補正定数を生成し更新
する。
Further, in the method of creating the gamma correction table according to the present invention, the signal output level difference value with respect to the signal input level between the ideal gamma correction curve and the actual gamma correction curve, and the signal with respect to the signal input level. Either the output level difference value between the straight line to which the output level is proportional and the actual gamma correction curve is used as the transfer information. Based on this transfer information, each correction constant of the gamma correction table is generated and updated.

【0015】[0015]

【実施例】次に添付図面を参照して本発明によるガンマ
補正テーブルの作成方法の実施例を詳細に説明する。図
1は、本発明のガンマ補正テーブルの作成方法の実施例
を示す概略構成ブロック図である。図2は、同実施例に
おけるガンマ補正テーブルの上位2ビット生成回路例を
表わす転送回路図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a method for creating a gamma correction table according to the present invention will be described in detail with reference to the accompanying drawings. FIG. 1 is a schematic configuration block diagram showing an embodiment of a method of creating a gamma correction table of the present invention. FIG. 2 is a transfer circuit diagram showing an example of a high-order 2 bit generation circuit of the gamma correction table in the same embodiment.

【0016】図1を参照すると、ガンマ補正テーブルの
作成を行う試験装置1は、制御部50のコントロールの下
に、たとえば CCDを用いたディジタル電子スチルカメラ
の撮像部10でのワンショット撮像出力信号毎に、後述の
制御部40で可変的に設定されたガンマ補正回路部30によ
り種々のガンマ補正を行い、この補正後の画素データを
たとえばICメモリカード50などの記憶媒体に格納する試
験装置である。同図において、本発明の理解に直接関係
のない機能は省略している。このICメモリカード50は、
不図示の画像再生装置に装着される。操作者は、画像再
生装置に再生された画像を検査することにより最適のガ
ンマ補正値を決定できる。
Referring to FIG. 1, the test apparatus 1 for creating a gamma correction table is controlled by a control unit 50 to output a one-shot image pickup output signal from an image pickup unit 10 of a digital electronic still camera using a CCD, for example. For each time, various gamma corrections are performed by the gamma correction circuit unit 30 variably set by the control unit 40 described later, and the corrected pixel data is stored in a storage medium such as the IC memory card 50. is there. In the figure, functions that are not directly related to the understanding of the present invention are omitted. This IC memory card 50
It is mounted on an image reproducing device (not shown). The operator can determine the optimum gamma correction value by inspecting the image reproduced on the image reproducing device.

【0017】本装置1は、初段にたとえばフォトダイオ
ードの画素数と同一段数の垂直CCDを配置した全画素読
出しインタライン型CCD を備えたディジタル電子スチル
カメラ撮像部10が設けられている。この撮像部10は、後
述の制御部40からのシャッタ開閉指令100 に基づいて、
たとえばグレースケールやBarbara などの試験パターン
を撮像し、被写体からの反射光量に比例した電荷をCCD
に蓄積し、同じく後述の制御部40からの読出しクロック
信号102 に基づいてこのCCD に蓄積されている電荷を転
送し、電圧レベルに変換する撮像部である。撮像部10の
出力回路104 は、A/D 変換器20に接続されている。A/D
変換器20は、本実施例では入力されたアナログ電圧レベ
ルの画素データ104 を最大1024階調のディジタル信号
(10ビット)に変換する回路部である。A/D 変換器20の
出力回路106 は、ガンマ補正回路部30に接続される。
The apparatus 1 is provided with a digital electronic still camera image pickup section 10 provided with an all-pixel readout interline CCD in which a vertical CCD having the same number of pixels as the photodiodes is arranged in the first stage. This image pickup unit 10 is based on a shutter opening / closing command 100 from a control unit 40 described later.
For example, an image of a test pattern such as grayscale or Barbara is imaged, and the charge proportional to the amount of light reflected from the subject is CCD.
Is an image pickup unit that transfers the electric charge stored in the CCD to a voltage level based on a read clock signal 102 from the control unit 40 described later. The output circuit 104 of the image pickup unit 10 is connected to the A / D converter 20. A / D
The converter 20 is a circuit unit for converting the input analog voltage level pixel data 104 into a digital signal (10 bits) with a maximum of 1024 gradations in this embodiment. The output circuit 106 of the A / D converter 20 is connected to the gamma correction circuit unit 30.

【0018】ガンマ補正回路部30は、ガンマ補正データ
を格納する不図示のたとえばS-RAMなどで構成されるル
ックアップテーブル記憶領域を備えている。ガンマ補正
回路部30は、A/D 変換器20から入力されるディジタル変
換された画素データ106 を、テーブル変換によってガン
マ補正を行う回路部である。ガンマ補正された画素デー
タ108 は、ガンマ補正回路部30から出力される。この画
素データ108 は、後述の制御部40から出力されるアドレ
ス信号110 に従ってたとえばICメモリカード50に格納さ
れる。このICメモリカード50は、本装置1に着脱自在に
装着されており、撮像試験の終わった後は本装置1から
取りはずされ、不図示の再生装置に装着されて、操作者
によるガンマ補正の効き具合の検査に供される。
The gamma correction circuit section 30 has a look-up table storage area for storing gamma correction data, which is composed of, for example, an S-RAM (not shown). The gamma correction circuit unit 30 is a circuit unit that performs gamma correction on the digitally converted pixel data 106 input from the A / D converter 20 by table conversion. The gamma-corrected pixel data 108 is output from the gamma-correction circuit unit 30. The pixel data 108 is stored in, for example, the IC memory card 50 according to an address signal 110 output from the control unit 40 described later. The IC memory card 50 is detachably attached to the apparatus 1. After the imaging test, the IC memory card 50 is removed from the apparatus 1 and attached to a reproduction device (not shown) so that the operator can perform gamma correction. Used for inspection of effectiveness.

【0019】制御部40は、データバス200 を通してガン
マ補正回路部30に対してガンマ補正情報200 を供給する
制御部である。この供給は、電源投入時およびシャッタ
開閉指令100 の合間のタイミングに操作者による制御部
40の操作によって行われる。操作者は、ガンマ補正情報
200 の補正値を制御部40からの操作によって試行的に変
更できるので、最適ガンマ補正値を見出すことが可能と
なる。また、制御部40は、ディジタル電子スチルカメラ
撮像部10に読出しクロック信号102 を供給し、ICメモリ
カード50にアドレス信号110 を供給する制御部でもあ
る。制御部40は、これらの信号を、シャッタ開閉指令10
0 を送出後に一定のタイミング制御の下で各部に送出
し、撮像部10からの画素データ104 の読出しと、ICメモ
リカード50へのアドレス信号110 の送出の同期をとる。
The control unit 40 is a control unit for supplying the gamma correction information 200 to the gamma correction circuit unit 30 through the data bus 200. This supply is performed by the operator by the control unit at the timing of turning on the power and the timing of the shutter opening / closing command 100.
It is done by 40 operations. The operator is the gamma correction information
Since the correction value of 200 can be changed on a trial basis by the operation from the control unit 40, it is possible to find the optimum gamma correction value. The control unit 40 is also a control unit that supplies a read clock signal 102 to the digital electronic still camera imaging unit 10 and an address signal 110 to the IC memory card 50. The control unit 40 sends these signals to the shutter opening / closing command 10
After sending 0, it is sent to each unit under constant timing control, and the reading of the pixel data 104 from the image pickup unit 10 and the sending of the address signal 110 to the IC memory card 50 are synchronized.

【0020】図2は、本実施例においてガンマ補正曲線
を作成する一つの回路例である。なお、本明細書におい
て、用語「曲線」は直線をも包含する広義に解釈するも
のとする。本発明のディジタル画素データは、最大1024
階調であるため、制御部40からガンマ補正回路部30へガ
ンマ補正データを並列転送する場合、本来10ビットのデ
ータバスと1本のストローブ信号ラインを必要とするは
ずである。しかし、本実施例は、データバス200 の幅を
8ビットに削減し、下位8ビットの情報をデータバス20
0 で転送し、上位2ビットについてはガンマ補正回路部
30で生成する方法をとっている。より詳しくは、制御部
40は出力バッファ回路41を有し、これは、ストローブ信
号201 の他にデータビットとして20 〜27 信号を並列
に転送し、ガンマ補正回路部30は、常時27 ビットの状
態変化を判定する。これは、いわゆるガンマ補正曲線が
入力データの階調の上昇に伴って常に上昇することを利
用している。したがって、ガンマ補正情報200 は、入力
データの下位階調から順に転送され最後に1024階調の情
報が下位8ビット分だけ転送される。
FIG. 2 is an example of a circuit for creating a gamma correction curve in this embodiment. In addition, in this specification, the term "curve" is to be interpreted in a broad sense including a straight line. The maximum digital pixel data of the present invention is 1024.
Since the gradation is used, when the gamma correction data is transferred in parallel from the control unit 40 to the gamma correction circuit unit 30, originally, a 10-bit data bus and one strobe signal line should be required. However, in this embodiment, the width of the data bus 200 is reduced to 8 bits, and the lower 8 bits of information are transferred to the data bus 20.
0 for transfer, and gamma correction circuit for upper 2 bits
I'm taking the method of generating at 30. More specifically, the control unit
40 has an output buffer circuit 41, which, in addition to forward the 2 0-2 7 signals in parallel as data bits of the strobe signal 201, a gamma correction circuit unit 30, determines a state change of normally 2 7 bits To do. This utilizes the fact that the so-called gamma correction curve always rises as the gradation of the input data rises. Therefore, the gamma correction information 200 is transferred in order from the lower gradation of the input data, and finally the information of 1024 gradations is transferred by the lower 8 bits.

【0021】上位2ビットの生成は、たとえば J-Kフリ
ップフロップ2段で構成されるカウンタ43、 44で行われ
る。カウンタ43のクロック入力CK1 は、27 ビットのラ
イン209 に接続されており、カウンタ44のクロックCK2
は、カウンタ43のQ出力に接続されている。カウンタ4
3,44のそれぞれのJおよびK入力は、電源レベルすな
わち“H”レベルに固定されている。カウンタ43のQ出
力は、28 信号としても出力される。カウンタ44のQ出
力は、29 信号として出力される。カウンタ43、44 のリ
セットRは、転送の最初のストローブ信号および電源投
入で行われる。リセット回路は発明の理解に特に関係が
ないため省略している。
The generation of the upper 2 bits is performed by the counters 43 and 44 which are composed of two JK flip-flops, for example. The clock input CK1 of the counter 43 is connected to two 7-bit line 209, the clock CK2 of the counter 44
Is connected to the Q output of the counter 43. Counter 4
The respective J and K inputs of 3, 44 are fixed to the power supply level, that is, "H" level. The Q output of the counter 43 is also output as a 2 8 signal. The Q output of the counter 44 is output as a 2 9 signal. The reset R of the counters 43 and 44 is performed by the first strobe signal of transfer and power-on. The reset circuit is omitted because it is not particularly relevant to understanding the invention.

【0022】図3は、転送データと付加ビットを含めた
受信データの変化を表わす図である。図3を参照する
と、転送情報の1024番目の階調は10進数値で表わすと10
23である。したがって、27 ビットが“1”に立ち上が
り、次ぎに“0”に立ち下がるのは、0から1023までの
間に3回ある。カウンタ43は、この27 の立下がりをク
ロックCK1 として入力する。カウンタ44は、カウンタ43
のQ出力の立下がりをクロックCK2 として入力する。カ
ウンタ43は、J入力、K入力が“H”レベルに固定され
ているため最初のクロックCK1 が入力されるとカウンタ
43のQ出力は“H”となる。また、カウンタ44のJおよ
びK入力は“H”状態に固定されている。このときはカ
ウンタ44のQ出力はまだ“L”である。そのため、すな
わち、1度目のクロック入力で28 ビットは“1”、2
9 ビットは“0”の状態を保持することになる。
FIG. 3 is a diagram showing changes in received data including transfer data and additional bits. Referring to FIG. 3, the 1024th gradation of the transfer information is represented by a decimal value of 10
23. Therefore, the 2 7 bit rises to “1” and then falls to “0” three times between 0 and 1023. The counter 43 inputs the falling edge of 2 7 as the clock CK1. Counter 44, counter 43
Input the falling edge of Q output as clock CK2. The counter 43 has the J input and the K input fixed to the “H” level, so that the counter 43 receives the first clock CK1.
The Q output of 43 becomes "H". The J and K inputs of the counter 44 are fixed to the "H" state. At this time, the Q output of the counter 44 is still "L". Therefore, that is, when the first clock is input, 2 8 bits are "1", 2
The 9th bit holds the state of "0".

【0023】2度目のクロックCK1 が入力されると、カ
ウンタ43のJおよびK入力は常に“H”状態にあるため
クロックCK1 入力によって反転しカウンタ43のQ出力は
“L”状態に反転する。カウンタ43のQ出力を入力とし
ているカウンタ44のクロックCK2 の立下がりによって、
カウンタ44のQ出力は“H”状態に反転する。すなわ
ち、2度目のクロックCK1 入力で28 ビットは“0”、
9 ビットは“1”の状態を保持することになる。
When the second clock CK1 is input, since the J and K inputs of the counter 43 are always in the "H" state, they are inverted by the clock CK1 input and the Q output of the counter 43 is inverted to the "L" state. By the falling edge of the clock CK2 of the counter 44, which receives the Q output of the counter 43,
The Q output of the counter 44 is inverted to the "H" state. That is, in the 2 8-bit second time clock CK1 input "0",
2 9 bits will retain the state of "1".

【0024】3度目のクロックCK1 が入力されると、カ
ウンタ43のQ出力は再び“H”となる。このとき、カウ
ンタ43のQ出力を入力としているカウンタ44のクロック
CK2は立ち下がらないので、カウンタ44のQ出力は変化
せず“H”状態を保持している。すなわち、3度目のク
ロックCK1 入力で28 ビットは“1”、29 ビットは
“1”の状態を保持することになる。
When the clock CK1 is input for the third time, the Q output of the counter 43 becomes "H" again. At this time, the clock of the counter 44 that receives the Q output of the counter 43 as an input
Since CK2 does not fall, the Q output of the counter 44 does not change and maintains the "H" state. That is, 2 8-bit three time clock CK1 input "1", 2 9 bit will retain the state of "1".

【0025】このことを図4を参照して説明すると、曲
線300 は制御部40からガンマ補正回路部30へ転送してル
ックアップテーブルとしてメモリ領域に格納すべきガン
マ補正曲線を表わしている。しかしながら、データバス
の幅を10ビットから8ビットに削減しているため256 以
上の数値をそのままの形で転送することはできない。そ
こで、28 および29 の情報については転送せず、20
〜27 までの8ビットの情報を転送している。転送は下
位入力レベルから行っている。まず、曲線301は入力レ
ベルと共に上昇し出力レベルが255 を超えるA点で20
〜27 の内容は出力レベルが0あるいは0近傍まで低下
する。このとき27 ビットは“1”から“0”に変化し
クロックCK1 をカウンタ43に入力する(27 ビットは数
値128以上で“1”になる。)。次いで、曲線302 が
入力レベルと共に上昇しB点で再び0近傍まで低下して
2度目のクロックCK1 を発生する。同様に曲線303 のC
点で3度目のクロックCK1 を発生する。また、曲線304
はD点で転送終了になり、20 〜27 の内容が0になる
ことによって、実際には4度目のクロックCK1 を発生す
る。このクロックによってカウンタ43および44はオーバ
ーフローしてリセット状態と同じになる。
This will be described with reference to FIG. 4. A curve 300 represents a gamma correction curve to be transferred from the control section 40 to the gamma correction circuit section 30 and stored in the memory area as a look-up table. However, since the width of the data bus has been reduced from 10 bits to 8 bits, it is not possible to transfer numbers of 256 or more as they are. Therefore, the information of 2 8 and 2 9 is not transferred and 2 0
8 bits of information up to 2 7 are transferred. The transfer starts from the lower input level. First, the curve 301 rises with the input level, and the output level exceeds 2 0
As for the contents of ~ 2 7 , the output level drops to 0 or close to 0. At this time, the 2 7 bit changes from "1" to "0" and the clock CK1 is input to the counter 43 (2 7 bit becomes "1" when the value is 128 or more). Then, the curve 302 rises with the input level and again falls near 0 at point B to generate the second clock CK1. Similarly, C of curve 303
The third clock CK1 is generated at the point. Also, curve 304
Becomes forward ends at point D, by the contents of the 2 0-2 7 becomes 0, actually generates a fourth time clock CK1. This clock causes counters 43 and 44 to overflow to the same reset state.

【0026】ガンマ補正回路部30は、曲線301 〜304 の
情報をこのような形で受けとるとカウンタ43および44で
生成した上位2ビットを付加するので、各曲線は上昇方
向に平行移動したこととなる。これによって曲線300 が
生成され、ルックアップテーブルとしてメモリ領域に格
納される。
When the gamma correction circuit section 30 receives the information of the curves 301 to 304 in this way, it adds the upper 2 bits generated by the counters 43 and 44, so that each curve is translated in the ascending direction. Become. As a result, the curve 300 is generated and stored in the memory area as a look-up table.

【0027】本実施例によれば、本来1024階調分の情報
を転送するのに、10本のデータバスを必要とするはずで
あるが、受信側のガンマ補正回路部30に簡単なカウンタ
を設けることにより、データバスを8本に削減できる。
さらに、ガンマ補正曲線を制御部40で任意に設定でき、
それをガンマ補正回路部30に転送してルックアップテー
ブルの更新を行うので、撮像部10の特性を加味した最適
なガンマ補正を施した画像を得ることができる。
According to the present embodiment, 10 data buses should be required to transfer information for 1024 gradations, but a simple counter is provided in the gamma correction circuit section 30 on the receiving side. By providing them, the data bus can be reduced to eight.
Furthermore, the gamma correction curve can be arbitrarily set by the control unit 40,
Since this is transferred to the gamma correction circuit unit 30 and the look-up table is updated, an image that has been subjected to optimum gamma correction in consideration of the characteristics of the imaging unit 10 can be obtained.

【0028】次ぎに、ガンマ補正曲線の他の作成例を図
5を参照して説明する。図5はガンマ補正曲線を折線直
線で近似した図である。図5ではたとえば4本の直線を
用いた折線直線で近似している。このような折線直線を
用いても、比較的精度の良いガンマ補正曲線の近似を得
ることができる。この折線近似を行う例では、制御部40
は、たとえばディジタイザ、マウスなどの入力装置(図
示していない)に接続されている。操作者は、この入力
装置から、図5における隣接する直線の交点を変化点と
して入力する。図5の例では、(x1,y1) 、(x2,y2) 、(x
3,y3) が変化点である。
Next, another example of creating a gamma correction curve will be described with reference to FIG. FIG. 5 is a diagram in which the gamma correction curve is approximated by a broken line. In FIG. 5, for example, a broken line using four straight lines is used for approximation. Even if such a broken line is used, a relatively accurate approximation of the gamma correction curve can be obtained. In the example of performing this polygonal line approximation, the control unit 40
Is connected to an input device (not shown) such as a digitizer or a mouse. The operator inputs the intersections of the adjacent straight lines in FIG. 5 as the change points from this input device. In the example of FIG. 5, (x 1, y 1 ), (x 2 , y 2 ), (x
3, y 3 ) is the change point.

【0029】制御部40は、変化点があたえられると、次
ぎに一次方程式で表わされる各直線の特性データを算出
する。この特性データとしての直線の傾きは、直線402
についていえば、(y2 −y1)/(x2 −x1) で表わすことが
できる。制御部40は、この傾きをそれぞれの直線につい
て計算し、結果をたとえば固定小数点データで表現した
場合、整数部と小数点以下とに分けておく。以上の計算
の後、制御部40は、図5のX軸上の変化点を表わす(x1,
x2,x3)と、各直線の傾きを表わす整数部および小数部に
よって伝送フォーマットを生成し、これをデータバス20
0 を介してガンマ補正回路部30へ転送する。ガンマ補正
回路部30は、データを受信すると、入力信号階調の1階
調から1024階調に向かって、各階調毎に各直線の傾きを
累積加算する。すなわち、この累積加算の際、図5のX
軸上の変化点を表わす入力値(x1,x2,x3)を入力階調が超
すたびに直線の傾きが変化する。したがって、1階調か
ら1024階調に向かって各階調毎に各直線の傾きを累積加
算することによって、図5の折線直線に沿ったガンマ補
正後の出力信号を作成できる。このデータはルックアッ
プテーブルとしてメモリ領域に格納される。
When the change point is given, the control unit 40 next calculates the characteristic data of each straight line represented by the linear equation. The slope of the straight line as this characteristic data is the straight line 402
For example, it can be expressed as (y 2 −y 1 ) / (x 2 −x 1 ). The control unit 40 calculates this slope for each straight line, and when the result is represented by, for example, fixed point data, divides it into an integer part and a part below the decimal point. After the above calculation, the control unit 40 represents the change point on the X axis of FIG. 5 (x 1,
x 2 , x 3 ) and the integer and fractional parts that represent the slope of each straight line, and generate a transmission format that
It is transferred to the gamma correction circuit unit 30 via 0. When receiving the data, the gamma correction circuit unit 30 cumulatively adds the slopes of the respective straight lines for each gradation from 1 gradation of the input signal gradation to 1024 gradations. That is, at the time of this cumulative addition, X in FIG.
The slope of the straight line changes each time the input gradation exceeds the input value (x 1, x 2 , x 3 ) representing the change point on the axis. Therefore, the output signal after gamma correction along the broken straight line in FIG. 5 can be created by cumulatively adding the slopes of the straight lines for each gradation from the 1st gradation to the 1024 gradations. This data is stored in the memory area as a lookup table.

【0030】なお、この作成例ではこのようにガンマ補
正回路30において各直線の傾きを累積加算することによ
って折線直線に沿ったガンマ補正曲線を求めたが、必ず
しも累積加算による方法に限るものではなく、次ぎのよ
うに行ってもよい。図5を参照すると、上記のように4
本の折線直線でガンマ補正曲線が表わされている。そこ
で、各直線の延長線がY軸と交わるY切片を求める。同
図においては、直線404 のY切片はY3 、直線403 のY
切片はY2 、直線402 のY切片はY1 であり、直線401
のY切片は0(原点)である。また、同図によれば、各
隣接直線の交点は、(x1,y1) 、(x2,y2) 、(x3,y3) が設
定入力されている。次いで、各直線の傾きを求める。こ
れは、上述のように、たとえば直線402 についていえ
ば、(y2 −y1)/(x2 −x1) で表わすことができる。制御
部40は、この傾きおよびY切片をそれぞれの直線につい
て計算する。傾きは、たとえば固定小数点データで表現
した場合、整数部と小数点以下とに分けておく。以上の
計算の後、制御部40は、図5のX軸上の変化点を表わす
(x1,x2,x3)、各直線の傾きを表わす整数部と小数部、お
よび各直線のY切片(0,Y1,2,3 )によって伝送
フォーマットを生成し、これをデータバス200 を介して
ガンマ補正回路部30へ転送する。ガンマ補正回路部30
は、データを受信すると、各直線の一次方程式Y=an
X+bn を、傾き(an )とY切片(bn )から求め
る。ガンマ補正回路部30は、4本の各直線の一次方程式
Y=an X+bn に、X軸で表わされる各入力階調を0
からx1,x1からx2,x2からx3およびx3から1023の順に4
つの一次方程式のXに代入して各Yの値を算出する。つ
まり、入力階調が0からx1の間は直線401 、x1からx2
間は直線402 、x2からx3の間は直線403 およびx3から10
23の間は直線404 を用いて、各入力階調に対する各出力
階調(Yの値)を算出する。この算出結果は、折線直線
に沿ったガンマ補正後の出力信号を表わす。このデータ
はルックアップテーブルのメモリ領域に格納される。な
お、この作成例において、折線直線の数は、3変化点の
4直線としてガンマ補正曲線近似を行ったが、この数に
限るものではなく、ガンマ補正曲線近似できる数であれ
ば他の直線数であってもよい。
In this preparation example, the gamma correction curve along the broken line is obtained by cumulatively adding the slopes of the respective straight lines in the gamma correction circuit 30 in this way, but the method is not necessarily limited to the cumulative addition. , You may proceed as follows. Referring to FIG. 5, as described above, 4
The gamma correction curve is represented by the broken line of the book. Therefore, a Y-intercept where the extension line of each straight line intersects the Y-axis is obtained. In the figure, the Y-intercept of the straight line 404 is Y 3 , and the Y-intercept of the straight line 403 is Y.
The intercept is Y 2 and the Y intercept of the straight line 402 is Y 1 , and the straight line 401
Y intercept of is 0 (origin). Further, according to the figure, (x 1, y 1 ), (x 2 , y 2 ), and (x 3, y 3 ) are set and input at the intersections of the adjacent straight lines. Next, the slope of each straight line is obtained. This can be represented by (y 2 −y 1 ) / (x 2 −x 1 ), for the straight line 402, as described above. The control unit 40 calculates the inclination and the Y intercept for each straight line. When the slope is expressed by fixed point data, for example, it is divided into an integer part and a part below the decimal point. After the above calculation, the control unit 40 represents the change point on the X axis of FIG.
(x 1, x 2 , x 3 ), an integer part and a decimal part representing the slope of each straight line, and a Y-intercept (0, Y 1, Y 2, Y 3 ) of each straight line, and generate a transmission format. The data is transferred to the gamma correction circuit unit 30 via the data bus 200. Gamma correction circuit section 30
Receives the data, the linear equation of each line Y = a n
X + b n is obtained from the slope (a n ) and the Y intercept (b n ). The gamma correction circuit unit 30 sets each input gradation represented by the X axis to 0 in the linear equation Y = a n X + b n of each of four straight lines.
To x 1 , x 1 to x 2 , x 2 to x 3 and x 3 to 1023 in this order 4
The value of each Y is calculated by substituting it into X of one linear equation. That is, the straight line 401 is between 0 and x 1 , the straight line 402 is between x 1 and x 2 , the straight line 403 is between x 2 and x 3 , and the x 3 through 10
Between 23, the straight line 404 is used to calculate each output gradation (Y value) for each input gradation. This calculation result represents the output signal after gamma correction along the broken line. This data is stored in the memory area of the lookup table. In this example of the creation, the number of broken line straight lines was set to 4 straight lines of 3 change points, and the gamma correction curve approximation was performed. May be

【0031】本実施例によれば、ガンマ補正値を変更す
るにあたって変化点を入力するだけですみ、操作が非常
に容易になると共に、データバス200 を介して転送する
情報量を大幅に削減できる。
According to the present embodiment, it is only necessary to input the change point when changing the gamma correction value, the operation becomes very easy, and the amount of information transferred via the data bus 200 can be greatly reduced. .

【0032】次ぎに、第三の補正曲線作成例を図6、図
7を参照して説明する。図6、図7は、ディジタル画素
データの入力階調を横軸にとり、出力階調を縦軸にとっ
たガンマ補正の特性曲線を表わしている。図6におい
て、曲線501 は、理想的ガンマ補正特性曲線(ガンマ値
0.45の場合)を示し、曲線502 は、撮像部10に装着され
ているCCD の入出力特性を加味して制御部40で作成した
ガンマ補正曲線を示している。制御部40は、各入力階調
について、出力階調の曲線501 と曲線502 の差分値を算
出する。この差分値は、符号ビットと共にデータバス20
0 を介してガンマ補正回路部30へたとえば入力階調の低
い方から順に転送される。ガンマ補正回路部30は、不図
示の格納テーブルに理想的ガンマ補正特性曲線のデータ
を予め保有している。ガンマ補正回路部30は、この理想
的ガンマ補正特性曲線のデータに制御部40から転送され
てきた符号(正負の極性)付きの差分値データを入力階
調の低い方から順に加算し、ガンマ補正回路部30側で曲
線502 を再現する。この再現データで、ルックアップテ
ーブルは更新される。本来、CCD の入出力特性は1対1
の直線特性であるため、この曲線501 と曲線502 の差分
値データはそれほど差のでるものではなく、符号ビット
の他にデータビットが8ビットもあれば十分である。
Next, a third correction curve generation example will be described with reference to FIGS. 6 and 7. 6 and 7 show characteristic curves of gamma correction in which the horizontal axis represents the input gradation of digital pixel data and the vertical axis represents the output gradation. In FIG. 6, a curve 501 is an ideal gamma correction characteristic curve (gamma value
Curve 502 indicates the gamma correction curve created by the control unit 40 in consideration of the input / output characteristics of the CCD mounted on the imaging unit 10. The control unit 40 calculates the difference value between the output gradation curves 501 and 502 for each input gradation. This difference value is stored in the data bus 20 together with the sign bit.
It is transferred to the gamma correction circuit section 30 via 0 in order from the one having the lowest input gradation. The gamma correction circuit unit 30 previously stores data of an ideal gamma correction characteristic curve in a storage table (not shown). The gamma correction circuit unit 30 adds the difference value data with the sign (positive and negative polarities) transferred from the control unit 40 to the data of the ideal gamma correction characteristic curve in order from the one having the lowest input gradation to perform the gamma correction. Reproduce the curve 502 on the circuit section 30 side. The lookup table is updated with this reproduction data. Originally, the input / output characteristics of CCD are 1: 1
The difference value data between the curve 501 and the curve 502 is not so different, and it is sufficient that there are 8 data bits in addition to the sign bit.

【0033】図7において、直線601 は、(出力階調)
/(入力階調)が1/1で表わされる直線である。ま
た、曲線602 は、図6の曲線502 と同じく理想的ガンマ
補正特性曲線に、撮像部10に装着されているCCD の入出
力特性を加味して制御部40で作成したガンマ補正曲線を
示している。制御部40は、各入力階調について、出力階
調の曲線602 と直線601 の差分値を算出する。ガンマ補
正曲線602 は、各入力階調について、必ず直線601 より
大きな値をとる。したがって、この場合は、符号ビット
を付けない差分値データが、データバス200 を介してガ
ンマ補正回路部30へたとえば入力階調の低い方から順に
転送される。ガンマ補正回路部30は、制御部40から転送
されてきた差分値データを入力階調の低い方から順に、
入力階調の値に加算し、ガンマ補正回路部30側で曲線60
2 を再現する。この再現データで、ルックアップテーブ
ルは更新される。この場合、差分値データは、階調数で
256階調を超えても 511階調を超えることはない。した
がって、データバス200 のバス幅は、9ビット分あれば
十分である。
In FIG. 7, a straight line 601 indicates (output gradation)
/ (Input gradation) is a straight line represented by 1/1. A curve 602 is a gamma correction curve created by the control unit 40 by adding the input / output characteristics of the CCD mounted on the imaging unit 10 to the ideal gamma correction characteristic curve like the curve 502 of FIG. There is. The control unit 40 calculates the difference value between the output gradation curve 602 and the straight line 601 for each input gradation. The gamma correction curve 602 always takes a value larger than that of the straight line 601 for each input gradation. Therefore, in this case, the difference value data without the sign bit is transferred to the gamma correction circuit unit 30 via the data bus 200 in order from the one having the lowest input gradation. The gamma correction circuit unit 30 sets the difference value data transferred from the control unit 40 in order from the one with the lowest input gradation.
Add the value to the input gradation value and set the curve 60 on the gamma correction circuit 30 side.
Reproduce 2. The lookup table is updated with this reproduction data. In this case, the difference value data is the number of gradations.
Even if it exceeds 256 gradations, it does not exceed 511 gradations. Therefore, a bus width of the data bus 200 of 9 bits is sufficient.

【0034】本実施例によれば、図6および図7のいず
れも、データバス200 のバス幅は、9ビット分あればデ
ータ転送に支障は出ず、従来10ビット分必要であったバ
ス幅を9ビット分に削減することができる。また、入力
階調の低い暗部において微妙に変化する入出力特性につ
いては、制御部40で差分値を操作することにより対応す
ることができる。
According to the present embodiment, in both FIG. 6 and FIG. 7, if the bus width of the data bus 200 is 9 bits, the data transfer will not be hindered, and the bus width of 10 bits conventionally required. Can be reduced to 9 bits. Further, the input / output characteristics that change subtly in a dark area having a low input gradation can be dealt with by operating the difference value in the control section 40.

【0035】次ぎに、第四の作成方法の例を図8を参照
して説明する。この例は、図8で示されるように、前述
の第一の例と第二の例、あるいは第三の例と第二の例の
組合せによるものである。すなわち、図8において見ら
れるように、入力階調の低い画像の暗部すなわち変化点
x1以下においては、入出力の関係が一定の関数で表わす
ことのできない変化を伴う場合がある。この場合、たと
えば入力階調が0からx1の間は、第一の作成例に述べた
ように各入力階調に対応した各出力階調のデータ、ある
いは第三の作成例に述べたように各入力階調に対応した
各出力階調の差分値データを制御部40で作成してデータ
バス200 で転送する。入力階調がx1を超えた後は第二の
作成例で述べた動作と同じ動作を行わせ、各直線の傾
き、変化点などを制御部40で作成してデータバス200 で
転送する。
Next, an example of the fourth producing method will be described with reference to FIG. This example is based on a combination of the first example and the second example, or the third example and the second example, as shown in FIG. That is, as seen in FIG. 8, the dark portion, that is, the change point of the image with low input gradation
Below x 1 , there are cases in which the input / output relationship changes with a certain function that cannot be expressed. In this case, for example, when the input gradation is between 0 and x 1 , the data of each output gradation corresponding to each input gradation, as described in the first preparation example, or as described in the third preparation example. In addition, difference value data of each output gradation corresponding to each input gradation is created by the control unit 40 and transferred by the data bus 200. After the input gradation exceeds x 1 , the same operation as the operation described in the second creation example is performed, and the inclination and change point of each straight line are created by the control unit 40 and transferred by the data bus 200.

【0036】この例によれば、入力階調の低い暗部では
出力階調をきめ細かく設定できるのに加え、それ以上の
入力階調の部分では出力階調を単調な折線直線で近似さ
せるため、精度の良いガンマ補正曲線のデータを少ない
転送データ量で、ガンマ補正回路部30に転送できる。
According to this example, the output gradation can be finely set in the dark portion where the input gradation is low, and the output gradation is approximated by a monotonous broken line in the portion where the input gradation is higher than that. The data of a good gamma correction curve can be transferred to the gamma correction circuit unit 30 with a small transfer data amount.

【0037】[0037]

【発明の効果】このように本発明によれば、ガンマ補正
曲線を一義的に定めるデータの縮減を行い、この縮減さ
れたデータを転送情報とする。受信側は、この転送情報
に基づいてガンマ補正テーブルの各補正定数を生成し更
新する。このため、データバスの削減あるいはデータバ
スを介して転送する情報量を大幅に縮減できるという効
果がある。また、本発明を試験用として適用した場合、
精度の向上と共に設定操作が容易に行えるという有利な
効果が期待できる。
As described above, according to the present invention, the data that uniquely defines the gamma correction curve is reduced, and the reduced data is used as the transfer information. The receiving side generates and updates each correction constant of the gamma correction table based on this transfer information. Therefore, there is an effect that the data bus can be reduced or the amount of information transferred via the data bus can be greatly reduced. Also, when the present invention is applied for testing,
It is possible to expect an advantageous effect that the setting operation can be easily performed while improving the accuracy.

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

【図1】本発明のガンマ補正テーブルの作成方法を実現
する試験装置の実施例の概略構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing a schematic configuration of an embodiment of a test apparatus that realizes a gamma correction table creating method of the present invention.

【図2】図1に示す実施例における転送情報の上位2ビ
ットを作成する回路の概略構成を示すブロック図であ
る。
FIG. 2 is a block diagram showing a schematic configuration of a circuit that creates upper 2 bits of transfer information in the embodiment shown in FIG.

【図3】図2に示す転送情報の上位2ビットの作成方法
を示す図である。
FIG. 3 is a diagram showing a method of creating upper 2 bits of the transfer information shown in FIG.

【図4】図2に示す転送情報の上位2ビットを付加した
ときのガンマ補正特性曲線を表わす図である。
FIG. 4 is a diagram showing a gamma correction characteristic curve when the upper 2 bits of the transfer information shown in FIG. 2 are added.

【図5】同実施例における折線直線近似によるガンマ補
正特性曲線を表わす図である。
FIG. 5 is a diagram showing a gamma correction characteristic curve by polygonal line approximation in the embodiment.

【図6】同実施例における実際のガンマ補正特性曲線と
理想ガンマ補正特性曲線の差分値を表わす図である。
FIG. 6 is a diagram showing a difference value between an actual gamma correction characteristic curve and an ideal gamma correction characteristic curve in the embodiment.

【図7】図6において、理想ガンマ補正特性曲線を直線
に置き換えたときの実際のガンマ補正特性曲線と直線の
差分値を表わす図である。
7 is a diagram showing a difference value between an actual gamma correction characteristic curve and a straight line when the ideal gamma correction characteristic curve is replaced with a straight line in FIG.

【図8】同実施例における組合わせによるガンマ補正特
性曲線を表わす図である。
FIG. 8 is a diagram showing a gamma correction characteristic curve by combination in the embodiment.

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

1 試験装置 10 ディジタル電子スチルカメラ撮像部 20 A/D 変換器 30 ガンマ補正回路部 40 制御部 50 ICメモリカード 1 Test equipment 10 Digital electronic still camera Imaging section 20 A / D converter 30 Gamma correction circuit section 40 Control section 50 IC memory card

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 撮像装置側の入出力特性を加味して受像
機のガンマ特性を補正する際にガンマ補正曲線を一義的
に定める転送情報をデータバスを介して受けてガンマ補
正テーブルを更新するガンマ補正テーブルの作成方法に
おいて、前記ガンマ補正曲線のデータ量の縮減を行い、
該縮減されたデータを前記転送情報とし、該転送情報を
受けて前記ガンマ補正テーブルの各補正定数を生成し更
新することを特徴とするガンマ補正テーブルの作成方
法。
1. A gamma correction table is updated by receiving via a data bus transfer information that uniquely defines a gamma correction curve when the gamma characteristics of a receiver are corrected in consideration of the input / output characteristics of the image pickup device. In the method of creating the gamma correction table, the data amount of the gamma correction curve is reduced,
A method of creating a gamma correction table, wherein the reduced data is used as the transfer information, and each correction constant of the gamma correction table is generated and updated in response to the transfer information.
【請求項2】 撮像装置側の入出力特性を加味して受像
機のガンマ特性を補正する際にガンマ補正曲線を一義的
に定める転送情報をデータバスを介して受けてガンマ補
正テーブルを更新するガンマ補正テーブルの作成方法に
おいて、自然数nビットの2進数で表現された信号の階
調データの下位mビット(mはnより小さい自然数)を
前記転送情報とし、上位(n−m)ビットについては、
該転送情報を受けて前記下位mビットの最上位ビットの
変化点を利用して生成し、該生成された上位ビットと前
記下位mビットとに基づいて前記ガンマ補正テーブルの
各補正定数を更新することを特徴とするガンマ補正テー
ブルの作成方法。
2. The gamma correction table is updated by receiving, via a data bus, transfer information that uniquely defines a gamma correction curve when the gamma characteristic of a receiver is corrected in consideration of the input / output characteristics of the image pickup device. In the method of creating the gamma correction table, the lower m bits (m is a natural number smaller than n) of the gradation data of the signal expressed by a binary number of a natural number n bits are used as the transfer information, and the upper (n−m) bits are ,
Receiving the transfer information, it is generated using the change point of the most significant bit of the lower m bits, and each correction constant of the gamma correction table is updated based on the generated upper bit and the lower m bits. A method for creating a gamma correction table, which is characterized in that
【請求項3】 撮像装置側の入出力特性を加味して受像
機のガンマ特性を補正する際にガンマ補正曲線を一義的
に定める転送情報をデータバスを介して受けてガンマ補
正テーブルを更新するガンマ補正テーブルの作成方法に
おいて、ガンマ補正曲線を2次元平面で表現しX軸を信
号入力レベル、Y軸を信号出力レベルとしたとき、複数
本の折線直線で近似を行い、各直線の信号入力レベルを
変数とした一次方程式の特性データと、各直線の交点を
X軸上の座標で表した変化点とを前記転送情報とし、該
転送情報に基づいて前記ガンマ補正テーブルの各補正定
数を生成し更新することを特徴とするガンマ補正テーブ
ルの作成方法。
3. The gamma correction table is updated by receiving, via a data bus, transfer information that uniquely defines a gamma correction curve when correcting the gamma characteristic of a receiver by taking into consideration the input / output characteristics of the image pickup device. In the method of creating the gamma correction table, when the gamma correction curve is represented by a two-dimensional plane and the X-axis is the signal input level and the Y-axis is the signal output level, approximation is performed with a plurality of broken line straight lines and the signal input of each straight line is performed. Characteristic data of a linear equation having a level as a variable and a change point in which the intersection of each straight line is represented by coordinates on the X axis are used as the transfer information, and each correction constant of the gamma correction table is generated based on the transfer information. A method for creating a gamma correction table, which is characterized by updating and updating.
【請求項4】 撮像装置側の入出力特性を加味して受像
機のガンマ特性を補正する際にガンマ補正曲線を一義的
に定める転送情報をデータバスを介して受けてガンマ補
正テーブルを更新するガンマ補正テーブルの作成方法に
おいて、理想のガンマ補正曲線と実際のガンマ補正曲線
との間での信号入力レベルに対する信号出力レベル差分
値、および信号入力レベルに対して信号出力レベルが比
例する直線と実際のガンマ補正曲線との出力レベル差分
値のいずれかを前記転送情報とし、該転送情報に基づい
て前記ガンマ補正テーブルの各補正定数を生成し更新す
ることを特徴とするガンマ補正テーブルの作成方法。
4. A gamma correction table is updated by receiving via a data bus transfer information that uniquely defines a gamma correction curve when the gamma characteristic of a receiver is corrected by taking the input / output characteristics of the image pickup device side into consideration. In the method of creating a gamma correction table, the signal output level difference value with respect to the signal input level between the ideal gamma correction curve and the actual gamma correction curve, and the straight line where the signal output level is proportional to the signal input level Of the output level difference value from the gamma correction curve of 1. above is used as the transfer information, and each correction constant of the gamma correction table is generated and updated based on the transfer information.
【請求項5】 請求項2ないし請求項4のいずれかに記
載のガンマ補正テーブルの作成方法において、信号入力
レベルの所定の階調以下の部分については請求項2およ
び請求項4に記載のガンマ補正テーブルの作成方法のい
ずれかを適用し、前記信号入力レベルの前記所定の階調
を超える部分については請求項3に記載のガンマ補正テ
ーブルの作成方法を適用して、前記転送情報とし、該転
送情報に基づいて前記ガンマ補正テーブルの各補正定数
を生成し更新することを特徴とするガンマ補正テーブル
の作成方法。
5. The method according to any one of claims 2 to 4, wherein the gamma correction table according to any one of claims 2 and 4 is used for a portion of a signal input level that is lower than a predetermined gradation. Any one of the correction table creation methods is applied, and the gamma correction table creation method according to claim 3 is applied to a portion of the signal input level that exceeds the predetermined gradation to obtain the transfer information. A method of creating a gamma correction table, characterized in that each correction constant of the gamma correction table is generated and updated based on transfer information.
JP4234545A 1992-09-02 1992-09-02 How to create a gamma correction table Expired - Fee Related JP2942072B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4234545A JP2942072B2 (en) 1992-09-02 1992-09-02 How to create a gamma correction table

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4234545A JP2942072B2 (en) 1992-09-02 1992-09-02 How to create a gamma correction table

Publications (2)

Publication Number Publication Date
JPH0686096A true JPH0686096A (en) 1994-03-25
JP2942072B2 JP2942072B2 (en) 1999-08-30

Family

ID=16972705

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4234545A Expired - Fee Related JP2942072B2 (en) 1992-09-02 1992-09-02 How to create a gamma correction table

Country Status (1)

Country Link
JP (1) JP2942072B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6515699B2 (en) * 1995-07-31 2003-02-04 Sony Corporation Anti-aliasing video camera processing apparatus and method
JP2007036353A (en) * 2005-07-22 2007-02-08 Fujifilm Holdings Corp Image pickup device
JP2011015000A (en) * 2009-06-30 2011-01-20 Canon Inc Device and method for transferring image data
US8648901B2 (en) 2010-11-29 2014-02-11 Kabushiki Kaisha Toshiba Imaging apparatus, imaging method and endoscope apparatus

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6515699B2 (en) * 1995-07-31 2003-02-04 Sony Corporation Anti-aliasing video camera processing apparatus and method
US7477303B2 (en) 1995-07-31 2009-01-13 Sony Corporation Anti-aliasing video camera processing apparatus and method
JP2007036353A (en) * 2005-07-22 2007-02-08 Fujifilm Holdings Corp Image pickup device
JP2011015000A (en) * 2009-06-30 2011-01-20 Canon Inc Device and method for transferring image data
US8648901B2 (en) 2010-11-29 2014-02-11 Kabushiki Kaisha Toshiba Imaging apparatus, imaging method and endoscope apparatus

Also Published As

Publication number Publication date
JP2942072B2 (en) 1999-08-30

Similar Documents

Publication Publication Date Title
EP0525527B1 (en) Look-up table based gamma and inverse gamma correction for high-resolution frame buffers
US6570611B1 (en) Image display
EP0717551B1 (en) Image processing apparatus
US8558841B2 (en) Register configuration control device, register configuration control method, and program for implementing the method
JP2788260B2 (en) Image processing device
JPH03185969A (en) Half-tone treatment of input picture element and conversion of image signal
JPH06230760A (en) Display device
KR100438648B1 (en) Effective method of computing gamma correction tables
US5589889A (en) Image memory device and method of operating same
JP2888863B2 (en) Image processing device
JP2942072B2 (en) How to create a gamma correction table
JPH1093984A (en) Image correction device for projection image display device
JP3577434B2 (en) Digital image display device
JP4052894B2 (en) Gamma correction method and apparatus for imaging means
JP3514523B2 (en) Gamma correction circuit
JP3214517B2 (en) Gamma correction circuit
JP2814769B2 (en) Image processing device
JPS6310981A (en) Video printer
JP2601059B2 (en) Image processing device
JPH01106184A (en) Image signal correcting device
JPH07298097A (en) Image pickup device
JPS58151176A (en) Video signal processor
JPH0818779A (en) Method for correcting picture data from image scanner
JPH01200781A (en) Picture processor
JPH0353674A (en) Shading correction method

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990518

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20080618

Year of fee payment: 9

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20080618

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090618

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090618

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20100618

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20100618

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20110618

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20110618

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20120618

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees