JPS6163182A - Gamma converting circuit - Google Patents

Gamma converting circuit

Info

Publication number
JPS6163182A
JPS6163182A JP59184685A JP18468584A JPS6163182A JP S6163182 A JPS6163182 A JP S6163182A JP 59184685 A JP59184685 A JP 59184685A JP 18468584 A JP18468584 A JP 18468584A JP S6163182 A JPS6163182 A JP S6163182A
Authority
JP
Japan
Prior art keywords
data
line
gamma conversion
gamma
input
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
JP59184685A
Other languages
Japanese (ja)
Inventor
Katsuto Idei
出井 克人
Yoshinobu Mita
三田 良信
Tadashi Yoshida
正 吉田
Naoto Kawamura
尚登 河村
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP59184685A priority Critical patent/JPS6163182A/en
Publication of JPS6163182A publication Critical patent/JPS6163182A/en
Priority to US07/183,300 priority patent/US4805013A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To rewrite freely implementated gamma conversion and to read independently the converted data which are written in RAM by installing a rewriting input means which inputs a parameter to rewrite the implemetated gamma converting data. CONSTITUTION:ROM3 and input devices 4 and 5 are connected to CPU2 of a converting device, CPU2 removes a parameter to gamma-convert picture data inputted from ROM3 to input data lines 14-17, and the first data selector 6 and a data selector 7 are controlled. By the control, an address bus 18 of CPU2 and an address line 9 of RAM1 are connected. Further, CPU2 controls the second selector 8 and connects a data bus 22 and a data line 12 and the data gamma-converted at CPU2 are successively written in RAM1. Next, CPU2 changes over selectors 7 and 8, a control line 21 is connected to a control line 11, a data line 12 is connected to an output data line 13 and freely gamma- corrected data are outputted.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、画像データを線形または非線形に変換する
ガンマ変換回路に係り、特にカラー画像データを非線形
に変換するガンマ変換回路に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a gamma conversion circuit that linearly or nonlinearly converts image data, and particularly relates to a gamma conversion circuit that nonlinearly converts color image data.

〔従来技術とその問題点〕[Prior art and its problems]

従来、この種の回路で画像データ等のがンマ変換を行う
場合は、ランダムアクセスメモリ(RAM)もしくはリ
ードオンリメモリ(ROM)を使用し、それらのアドレ
ス入力に上記画像データを入力し、RAMまたはROM
に書き込まれているガンマ変換テーブルに応じてRAM
またはROMのデータ出力からガンマ変換された所望の
画像データを得るように構成されている。また、RAM
を使用してガンマ変換を行う場合は、RAMのアドレス
を入力データラインとCPUのアドレスラインとが切り
換えられるように構成し、かつ、RAMのデータライン
を出力データ線とCPUのデータ線とに切り換えられる
ように構成することにより、RAMに所望のガンマ変換
テーブルを古き込んだり、RAMを画像データの変換テ
ーブルとして使用できるように構成されている。
Conventionally, when performing Gamma conversion of image data, etc. with this type of circuit, random access memory (RAM) or read-only memory (ROM) is used, the above image data is input to the address input of these, and the RAM or read-only memory (ROM) is used. ROM
RAM according to the gamma conversion table written in
Alternatively, it is configured to obtain desired gamma-converted image data from the data output of the ROM. Also, RAM
When performing gamma conversion using By configuring it so that a desired gamma conversion table can be stored in the RAM, the RAM can be used as a conversion table for image data.

ところが、ガンマ曲線を作成するにはディジタイザ等の
入力装置を複雑に組み合せることにより任意のガンマ曲
線を作成するため、コスト高になる。また、RAMに書
き込む所望のガンマ変換テーブルをあらかじめ用意して
おき、その中から選択するものもあるが、画像データ入
力の度に選択する必要があり非常に不便であった。さら
に、作成されたガンマ曲線によるデータの変換特性を確
認するには、与えたガンマ曲線を読み出し、その値から
類推するか、またはガンマ曲線変換装置の入力特性を把
握するデータまたはテストパターンを与えて、変換特性
を調べなければならず操作性に問題があった。
However, in order to create a gamma curve, an arbitrary gamma curve is created by complexly combining input devices such as digitizers, which increases the cost. In addition, there is a method in which a desired gamma conversion table is prepared in advance to be written in the RAM and a selection is made from among the tables, but this is very inconvenient as it is necessary to select it each time image data is input. Furthermore, to check the conversion characteristics of data using the created gamma curve, either read out the given gamma curve and make an analogy from that value, or provide data or a test pattern to understand the input characteristics of the gamma curve conversion device. However, the conversion characteristics had to be investigated and there were problems with operability.

〔発明の目的〕[Purpose of the invention]

この発明は上記の点にかんがみなされたもので、ガンマ
変換データ作成手段で作成されたそれぞれのガンマ変換
データを指定アドレスに応じて自動的にランダムアクセ
スメモリに読み込み、画像データに所望のガンマ変換を
行い必要に応じて作成されたガンマ変換データを任意に
書き換えることができるガンマ変換回路を提供すること
を目的とする。
The present invention has been made in consideration of the above points, and automatically reads each gamma conversion data created by the gamma conversion data creation means into a random access memory according to a designated address, and applies desired gamma conversion to the image data. An object of the present invention is to provide a gamma conversion circuit that can arbitrarily rewrite gamma conversion data created as necessary.

〔実施例〕〔Example〕

第1図はこの発明の一実施例を示すガンマ変換装置の構
成ブロック図で、1は10ビ・ントのアドレス線と8ビ
ツトのデータ線を有するRAM (群RAM)、2はガ
ンマ変換データ作成手段となるCPUで、接続されるア
ドレス線またはデータ線を制御する。3は前記RAMI
に初期値を与えるパラメータまたはデータを送出する不
揮発性メモリ(ROM)、4.5は作成されたガンマ変
換データを書き換えるためのパラメータをRAMIに送
出する入力装置で、書換えパラメータ入力手段の相当す
る。6は識別信号に応じて画像データを選別するととも
にCPU2が送出するアドレス値をRAMIのアドレス
入力に送出する第1データセレクタ、7は制御線を切り
換えるデータセレクタ、8は前記CPU2より送出され
るガンマ変換データとRAM1からの出力データとを切
り換える第2データセレクタである。9は前記RAM1
の7ドレス入力に接続される10ビツトのアドレス線ま
たはデータ線、10は前記第1データセレクタ6とRA
MIを接続する8ビツトのアドレス線またはデータ線で
、アドレス線9の下位8ビツト使用する。11は前記デ
ータセレクタ7が選択した2ビツトのアドレス線または
制御線であり、アドレス線9の上位2ビツトを使用する
FIG. 1 is a block diagram of a gamma conversion device showing an embodiment of the present invention, in which 1 is a RAM (group RAM) having a 10-bit address line and an 8-bit data line, and 2 is a gamma conversion data generator. The CPU serving as the means controls the connected address lines or data lines. 3 is the RAMI
4.5 is an input device that sends parameters or data for rewriting the created gamma conversion data to the RAMI, and corresponds to the rewrite parameter input means. 6 is a first data selector that selects image data according to the identification signal and sends the address value sent by the CPU 2 to the address input of the RAMI; 7 is a data selector that switches control lines; 8 is a gamma signal sent from the CPU 2; This is a second data selector that switches between conversion data and output data from RAM1. 9 is the RAM1
A 10-bit address line or data line is connected to the 7 address inputs of the first data selector 6 and RA.
This is an 8-bit address line or data line that connects MI, and uses the lower 8 bits of address line 9. Reference numeral 11 denotes a 2-bit address line or control line selected by the data selector 7, and the upper 2 bits of the address line 9 are used.

12は前記RAMIのデータ入力端子に接続される8ビ
ツトのデータ線、13は8ビツトの出力データ線である
。14〜17はカラー画像を形成する4組の入力データ
線で、例えばイエロ(Y)信号、マゼンダ(M)信号、
シアン(C)信号。
12 is an 8-bit data line connected to the data input terminal of the RAMI, and 13 is an 8-bit output data line. 14 to 17 are four sets of input data lines that form a color image, for example, a yellow (Y) signal, a magenta (M) signal,
Cyan (C) signal.

ブラック(K)信号が各入力データ線14〜17に対応
している。18は10ビツトで構成されるアドレスバス
で、この内下位8ビットはアゾレスバス19に、上位2
ビツトはアドレスバス20にそれぞれ使用される。21
はデータ制御線で、第1データセレクタ6に作用して入
力データ線14〜17のうち1つを選択させるとともに
、データセレクタ7に作用しアドレス線11を接続する
A black (K) signal corresponds to each input data line 14-17. 18 is an address bus consisting of 10 bits, of which the lower 8 bits are sent to the Azores bus 19, and the upper 2 bits are sent to the Azores bus 19.
Bits are respectively used for address bus 20. 21
is a data control line which acts on the first data selector 6 to select one of the input data lines 14 to 17, and acts on the data selector 7 to connect the address line 11.

22は前記CPU2のデータバスで、第2データセレク
タ8に接続される。なお、ROM3の内容はRAM1に
初期状態を作るデータでもいいし、後述するCPU2の
機能により、入力データ線14〜17より入力されるカ
ラー画像データをガンマ変換するためのガンマ曲線を決
定する8つ(2つが1組で各入力データ線14〜17に
対応する)のパラメータでもよい。
22 is a data bus of the CPU 2, which is connected to the second data selector 8. Note that the contents of ROM3 may be data that creates an initial state in RAM1, or eight data that determine gamma curves for gamma converting color image data input from input data lines 14 to 17 by the function of CPU2, which will be described later. (A set of two parameters corresponds to each input data line 14 to 17).

次に動作について説明する。Next, the operation will be explained.

まず、電源が投入されるとCPU2はプログラムに応じ
て図示されない周辺機器を通常用いられる手段によって
初期化する。次にCPU2はROM3から入力データ線
14に入力される画像データをガンマ変換するための第
1のパラメータの組ayとbyを取り出す。CPU2は
第1データセレクタ6を制御してアドレスバス19とア
ドレス線1oおよびデータセレクタ7を制御してアドレ
スバス2oとアドレス線11を接続して、CPU2のア
ドレスバス18をRAM1のアドレス入力に接続する。
First, when the power is turned on, the CPU 2 initializes peripheral devices (not shown) according to a program using commonly used means. Next, the CPU 2 retrieves from the ROM 3 a first parameter set ay and by for gamma converting the image data input to the input data line 14. The CPU 2 controls the first data selector 6 to control the address bus 19, the address line 1o, and the data selector 7 to connect the address bus 2o and the address line 11, and connects the address bus 18 of the CPU 2 to the address input of the RAM 1. do.

ざらにCPU2は第2データセレクタ8を制御してデー
タバス22をデータ線12を介してRAMIのデータ入
力に接続する。次にCPU2は10ビツトからなるアド
レスバス18の上位2ビツトで構成するアドレスバス゛
20およびアドレス線11を“0”にし、アドレス線1
9すなわちアドレス線10のアドレスを°“0〜255
°°まで順次変化させながら、上記第1のパラメータの
組ayとbyにより後述する方法でCPU2で計算され
るガンマ曲線に相当するガンマ変換データをデータバス
22、すなわちデータ線12を介して、通常用いられる
方法でRAM1の下位256バイトに書き込む、続いて
、CPU2はROM3から入力データ線15に入力され
る画像データをガンマ変換するための第2のパラメータ
の組amとbmを取り出し、アドレス線2oおよびアド
レス線11を“°lパにし。
In general, the CPU 2 controls the second data selector 8 to connect the data bus 22 to the data input of the RAMI via the data line 12. Next, the CPU 2 sets the address bus 20 and the address line 11 made up of the upper two bits of the address bus 18 made up of 10 bits to "0", and sets the address line 11 to "0".
9, that is, the address of address line 10 is 0 to 255.
The gamma conversion data corresponding to the gamma curve calculated by the CPU 2 by the method described later using the first parameter set ay and by is sent via the data bus 22, that is, the data line 12, while Then, the CPU 2 retrieves the second set of parameters am and bm for gamma converting the image data input to the input data line 15 from the ROM 3, and writes them to the lower 256 bytes of the RAM 1 using the method used. And set the address line 11 to "°l".

前述同様にRAMIの続く256バイトにガンマ変換デ
ータを書き込む。続いて、CPU2はROM3から入力
データ線16に入力される画像データをガンマ変換する
ための第3のパラメータの組aCとbcを取り出し、ア
ドレス線20およびアドレス線11を°°2″にし、前
述同様にRAM1の続く256バイトにガンマ変換デー
タを書き込む。続いて、CPU2はROM3から入力デ
ータ線17に入力される画像データをガンマ変換するた
めの第4のパラメータの組akとbkを取り出し、アド
レス線20およびアドレス線11を“°3″°にし、前
述同様にRAM1の続く256バイトにガンマ変換デー
タを書き込む0次にCPU2はデータセレクタ7を切り
換えて制御線21を制御線11に接続するとともに第2
データセレクタ8を切り換えてデータ線12を出力デー
タ線13に接続する。これにより、RAM1はCPU2
から切り離され、入力データ線14〜17から入力され
る画像データ信号Y、M、C,にと制御線21より入力
される識別信号とによって決定されるRAM1のガンマ
変換データを出力データ線13に出力する。このように
、上記識別信号は第1データセレクタ6に作用して入力
データ線14〜17のうち1つを選択し、RAMIの上
位アドレスとなって、書き込まれた1つのガンマ変換テ
ーブル(ガンマ変換データの集合体)中の1つを選択す
る。従って、例えば制御線21に入力される識別信号が
“1′”の場合は、入力データ線15より画像データ信
号Mがデータ線10に接続され、画像データ信号M“°
0〜255”は実質データ線9上で°“256〜5 t
 t ”とになり、RAM1の2番目に作成されたガン
マ変換テーブルによってデータ変換されて出力データ線
13に送出される。
As before, gamma conversion data is written in the next 256 bytes of RAMI. Subsequently, the CPU 2 retrieves a third set of parameters aC and bc for gamma converting the image data input to the input data line 16 from the ROM 3, sets the address line 20 and the address line 11 to °°2'', and performs the above-mentioned process. Similarly, gamma conversion data is written into the next 256 bytes of RAM 1. Next, CPU 2 retrieves the fourth parameter set ak and bk for gamma conversion of the image data input to input data line 17 from ROM 3, and addresses The line 20 and the address line 11 are set to "3" degrees, and gamma conversion data is written to the next 256 bytes of RAM 1 as described above.Next, the CPU 2 switches the data selector 7 and connects the control line 21 to the control line 11. Second
The data selector 8 is switched to connect the data line 12 to the output data line 13. As a result, RAM1 is
The gamma conversion data of the RAM 1 determined by the image data signals Y, M, and C input from the input data lines 14 to 17 and the identification signal input from the control line 21 is sent to the output data line 13. Output. In this way, the identification signal acts on the first data selector 6 to select one of the input data lines 14 to 17, becomes the upper address of RAMI, and becomes one of the written gamma conversion tables (gamma conversion table). data collection). Therefore, for example, when the identification signal input to the control line 21 is "1'", the image data signal M is connected to the data line 10 from the input data line 15, and the image data signal M"°
0 to 255" is on the actual data line 9 °"256 to 5 t
t'', the data is converted by the second created gamma conversion table in RAM 1, and sent to output data line 13.

ところが、入力データ線14〜17のすべての信号に対
しそのガンマ変換が常に好ましい結果をもたらすとはか
ぎらない。例えばC画像に対応するRAMI内の512
〜767番地に格納されている第3のガンマ変換テーブ
ルを書き換えたい場合は、入力装置4.5よりその曲線
を作るためのパラメータの組ac  ’ 、 bc ’
を入力すると、CPU2は第1データセレクタ6、デー
タセレクタ7、第2データセレクタ8を制御して、前述
同様アドレスバス19とデータ線1oおよびアドレスバ
ス2oと制御線11さらにはデータバス22とデータ線
12をそれぞれ接続する。そして、アドレスバス2oを
“2゛にしてアドレスバス19をO〜255まで順次変
化させ、実質的にデータ線9の下位8ビツトにアドレス
データ512〜767をRAMIのアドレス入力端に入
力し、入力装置4.5より入力されたパラメータac’
However, the gamma conversion does not always produce favorable results for all the signals on the input data lines 14-17. For example, 512 in RAMI corresponding to C image
If you want to rewrite the third gamma conversion table stored at addresses ~767, input the set of parameters ac', bc' for creating that curve from the input device 4.5.
When input, the CPU 2 controls the first data selector 6, the data selector 7, and the second data selector 8, and as described above, the address bus 19 and the data line 1o, the address bus 2o and the control line 11, and the data bus 22 and the data Connect the wires 12 respectively. Then, the address bus 2o is set to "2", the address bus 19 is sequentially changed from 0 to 255, and the address data 512 to 767 are input to the address input terminal of the RAMI into the lower 8 bits of the data line 9. Parameter ac' input from device 4.5
.

bc ’からCPU2が計算したガンマ曲線を形成する
ガンマ変換データ512〜767をRAM1のデータ入
力端に順次書き込む。この書き込みが終了すると、デー
タセレクタ7.8はそれぞれ制御線21.11をデータ
線12および出力データ線13を接続する。なお、通常
必要とされるRAM1のチップイネーブル端、リード/
ライト端。
Gamma conversion data 512 to 767 forming a gamma curve calculated by the CPU 2 from bc' are sequentially written to the data input terminal of the RAM 1. When this writing is completed, data selector 7.8 connects control line 21.11 to data line 12 and output data line 13, respectively. Note that the normally required chip enable end of RAM1, lead/
light end.

制御線およびROM3のチップイネーブル端、アドレス
、リード線さらには入力装置4.5のアドレス線1割込
線等は公知の技術により接続されており、特に図示して
いない。
The control lines, the chip enable end of the ROM 3, the address and lead lines, and the address line 1 interrupt line of the input device 4.5 are connected by known techniques and are not particularly shown.

次にガンマ変換テーブルの書換え作業について説明する
Next, the work of rewriting the gamma conversion table will be explained.

入力装置4,5より任意のパラメータai  (第2図
に示す)、bi(第3図に示す)が入力されると、まず
、下記の直線の方程式が決定され、Y=ai  (X−
bi )    ”・(1)次いで、CPU2が上記第
(1)式で決定されたYを用いて下記の第(2)式より
ガンマ変換データをd=o〜255まで計算する。なお
、[コはガウス記号である。
When arbitrary parameters ai (shown in FIG. 2) and bi (shown in FIG. 3) are input from the input devices 4 and 5, the equation of the following straight line is determined, and Y=ai (X-
bi ) ”・(1) Next, the CPU 2 calculates gamma conversion data from d=o to 255 from the following equation (2) using Y determined by the above equation (1). is a Gaussian symbol.

ただし、Yi =a (Xi−b)  forb≦Xi
≦(255/a)+b Yi=Ofor X i < b Yi =255      for X i >  (255/ a )  + bYi=−
ab          forX i < Oかつ 
 b<。
However, Yi = a (Xi-b) forb≦Xi
≦(255/a)+b Yi=Of Xi<b Yi=255 for Xi>(255/a)+bYi=-
ab forX i < O and
b<.

とする。shall be.

第4図はa=2 、b=63のパラメータに対してガン
マ変換データO〜255を第(1)式、第(2)式に基
づいて計算した例を示している。ただし、第2式におい
てn=9とした。
FIG. 4 shows an example of gamma conversion data O~255 calculated based on equations (1) and (2) for parameters a=2 and b=63. However, in the second equation, n=9.

第5図〜第6図は同じく上記手順に従って計算されたガ
ンマ曲線であり、実線はYiを示し、破線はTable
(d)を示し、かつ、横軸はテーブル番号(d)0〜2
55を表し、縦軸はガンマ変換値をそれぞれ表している
5 and 6 are gamma curves similarly calculated according to the above procedure, where the solid line indicates Yi and the broken line indicates Table
(d), and the horizontal axis is the table number (d) 0 to 2
55, and the vertical axis represents the gamma conversion value.

次にテストモードとしてRAMIに作成されているガン
マ変換テーブルの内容(Table(d) )を出力す
る方法について説明する。
Next, a method of outputting the contents of the gamma conversion table (Table(d)) created in the RAMI as a test mode will be explained.

CPU2は第1データセレクタ6とデータセレクタ7を
制御してアドレスバス18を実質的にRAM1のアドレ
ス9に接続する。続いて、CPU2は第2データセレク
タ8を制御してRAMIのデータ線12を出力データ線
13に接続する。その後、普通の手段によりCPU2は
アドレスバス18にO〜1023のアドレスデータをす
べて出力する。その時、出力データ線13にはRAMI
の内容がすべて送出される。
The CPU 2 controls the first data selector 6 and the data selector 7 to substantially connect the address bus 18 to the address 9 of the RAM 1. Subsequently, the CPU 2 controls the second data selector 8 to connect the RAMI data line 12 to the output data line 13. Thereafter, the CPU 2 outputs all address data from 0 to 1023 to the address bus 18 by ordinary means. At that time, the output data line 13 has a RAMI
All contents are sent.

次に第7図のフローチャートを参照しなからガンマ変換
テーブルの作成および出力準備動作について説明する。
Next, the gamma conversion table creation and output preparation operations will be described with reference to the flowchart of FIG.

なお、5L−316は各ステップを表す。Note that 5L-316 represents each step.

まず、CPU2が第1データセレクタ6を制御してアド
レス線19とデータ線10とを接続するとともに(S 
L) 、同じくデータセレクタ7を制御してアドレスバ
ス20とアドレス線11とを接続しくS2)、同じく第
2データセレクタ8を制御してデータバス22とデータ
線12とを接続する(S3)。続いて、CPU2がアド
レスバス20に0″′を送出する(S4)。次いで、ア
ドレスバス2oに“4″が送出されているかどうかを判
断しくS5)、Noの場合はROM3よりパラメータの
組ayとbyを取り込み(S6)、CPU2がアドレス
バス19に“0″を送出する(S7)。続いて、アドレ
スバス19のアドレス値が256 ”であるかどうかを
判断しくS8)、Noにの場合は、上述の通りCPU2
がガンマ変換データ0〜255を計算しくS9)、ガン
マ変換データ0〜255をデータバス22に送出しくS
 10) 、このガンマ変換データ0〜255をデータ
線12よりRAM1のデータ入力端子に書き込み(31
1)、次いで、アドレス19のアドレス値を“°1′′
インクリメントしステップS8へ戻る(S l 2)。
First, the CPU 2 controls the first data selector 6 to connect the address line 19 and the data line 10 (S
L) Similarly, the data selector 7 is controlled to connect the address bus 20 and the address line 11 (S2), and the second data selector 8 is similarly controlled to connect the data bus 22 and the data line 12 (S3). Next, the CPU 2 sends 0'' to the address bus 20 (S4). Next, it is determined whether "4" is sent to the address bus 2o (S5), and if No, the parameter set ay is sent from the ROM 3. and by (S6), and the CPU 2 sends "0" to the address bus 19 (S7).Next, it is determined whether the address value of the address bus 19 is "256" (S8), and if No As mentioned above, CPU2
calculates the gamma conversion data 0 to 255 (S9) and sends the gamma conversion data 0 to 255 to the data bus 22.
10) Write this gamma conversion data 0 to 255 from the data line 12 to the data input terminal of RAM1 (31
1), then set the address value of address 19 to “°1″
The value is incremented and the process returns to step S8 (S l 2).

一方、ステップS8の判断でYESの場合は、アドレス
バス20のアドレス値を°“1°°インクリメントしス
テップS5へ戻る(S l 3)。一方、ステップS5
の判断でYESの場合は作成されたガンマ変換データの
出力準備動作に移り、まず、第1データセレクタ6の制
御を制御線21に移しくS l 4)、CPU2がデー
タセレクタ7を切り換えて制御線21とアドレス線11
とを接続するとともに(S 15) 、第2データセレ
クタ8を切り換えてデータ線12と出力データ線13を
接続しくS 16) 、出力準備を終了する。
On the other hand, if the determination in step S8 is YES, the address value of the address bus 20 is incremented by 1° and the process returns to step S5 (S l 3).
If the judgment is YES, the process moves to the output preparation operation of the created gamma conversion data, and first, the control of the first data selector 6 is transferred to the control line 21 (S l 4), and the CPU 2 switches the data selector 7 and controls it. line 21 and address line 11
(S15), the second data selector 8 is switched to connect the data line 12 and the output data line 13 (S16), and the output preparation is completed.

次に第8図を参照しなからガンマ変換テーブルの書き換
え動作について説明する。なお、S21〜S31は各ス
テップを表す。
Next, the gamma conversion table rewriting operation will be described with reference to FIG. Note that S21 to S31 represent each step.

まず、CPU2が第1データセレクタ6を制御してアド
レス線19とデータ線10とを接続するとともに(52
1)、同じくデータセレクタ7を制御してアドレスバス
20とアドレス線11とを接続しく322)、同じく第
2データセレクタ8を制御してデータバス22とデータ
線12とを接続する(S 23) 、続いて、CPU2
が新たなガンマ曲線を形成するためのパラメータac’
およびbc’を入力装置4,5より取り込む(S 24
)、次いで、制御線21より入力される識別信号、例え
ば“2パに応じてアドレスバス2oをセットしく525
)、アドレスバス19に“0゛′を送出する(326)
。続いて、アドレスバス19のアドレス値が’ 256
 ”であるかどうかを判断しく327)、Noならばス
テップs24で取り込んだパラメータac’およびbc
’に応じてCPU2がガンマ変換データ“256 ”を
計算しく528)、CPU2が第2データセレクタ8を
制御してデータバス22とデータ線12を接続しく52
9)、  ステップ328で計算したガンマ変換データ
をRAMI内の512〜767番地に新たに書き込む(
S 30)。次いで、アドレスバス19のアドレス値を
“°1′′インクリメントレステップS27へ戻る(S
31)。一方、ステップS27でYESの場合は書き込
み動作を終了する。
First, the CPU 2 controls the first data selector 6 to connect the address line 19 and the data line 10 (52
1) Similarly, the data selector 7 is controlled to connect the address bus 20 and the address line 11 (322), and the second data selector 8 is similarly controlled to connect the data bus 22 and the data line 12 (S23). , followed by CPU2
The parameter ac' for forming a new gamma curve
and bc' are taken in from the input devices 4 and 5 (S24
), then an identification signal input from the control line 21, for example, "Set the address bus 2o according to the 2-pass signal 525".
), sends "0'' to address bus 19 (326)
. Subsequently, the address value of address bus 19 becomes '256.
327), and if No, the parameters ac' and bc taken in step s24 are
528), the CPU 2 calculates the gamma conversion data "256" according to
9), Newly write the gamma conversion data calculated in step 328 to addresses 512 to 767 in RAMI (
S30). Next, the address value of the address bus 19 is incremented by "°1" and the process returns to step S27 (S
31). On the other hand, if YES in step S27, the write operation ends.

次に第9図のフローチャートを参照しながら疑似信号発
生動作につい、て説明する。なお、S41〜347は各
ステップを表す。
Next, the pseudo signal generation operation will be explained with reference to the flowchart of FIG. Note that S41 to S347 represent each step.

まず、CPU2が第1データセレクタ6を制御してアド
レスバス19とデータ線1Qとを接続しく541)、 
 また、同じくデータセレクタ7を制御してアドレスバ
ス20と制御線11とを接続しく542)、  さらに
、同じく第2データセレクタ8を制御してデータ線12
と出力データ線13とを接続する(S 43)。次いで
、CPU2がアドレスバス18に°“0″゛を送出し疑
似信号送出準備を整え(S44)、[いて、アドレス1
8のアドレス値が“1024”であるかどうかを判断し
く545)、NOならばRAM1に格納されているガン
マ変換デーダ“0〜1024”を順次データ線12を介
してデータ線13に出力する(346)。次いで、アド
レスバス18のアドレス値を“1゛インクリメントして
ステップ545へ戻る(S 47)。このステップ34
5〜S47の繰り返しにより、入力データ線14〜17
にあたかもカラー画像データが送出されたかのように疑
似信号(ガンマ変換データ)がRAMIより出力される
。一方、ステップS45の判断で、YESの場合は疑似
信号発生動作を終了する。
First, the CPU 2 controls the first data selector 6 to connect the address bus 19 and the data line 1Q (541),
Similarly, the data selector 7 is controlled to connect the address bus 20 and the control line 11 (542), and the second data selector 8 is also controlled to connect the data line 12 (542).
and the output data line 13 (S43). Next, the CPU 2 sends "0" to the address bus 18 to prepare for sending a pseudo signal (S44),
8 is "1024" (545), and if NO, the gamma conversion data "0 to 1024" stored in the RAM 1 are sequentially output to the data line 13 via the data line 12 ( 346). Next, the address value of the address bus 18 is incremented by "1" and the process returns to step 545 (S47).
By repeating steps 5 to S47, input data lines 14 to 17
A pseudo signal (gamma conversion data) is output from the RAMI as if color image data were sent. On the other hand, if the determination in step S45 is YES, the pseudo signal generation operation is ended.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、この発明は作成されたガンマ変換
データを書き換えるだめのパラメータを入力する書換え
パラメータ入力手段を設けたので、作成されたガンマ変
換データを随意に書き換えることができる。また、ガン
マ変換データ作成手段が発生するアドレス値に応じてR
AMに書き込まれたガンマ変換データを独自に読み出せ
るのでガンマ変換データの疑似信号発生器として使用で
きる等の利点を有する。
As explained above, since the present invention is provided with a rewrite parameter input means for inputting parameters for rewriting the created gamma conversion data, the created gamma conversion data can be rewritten at will. In addition, according to the address value generated by the gamma conversion data creation means,
Since the gamma conversion data written in the AM can be independently read out, it has the advantage that it can be used as a pseudo signal generator for gamma conversion data.

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

第1図はこの発明の一実施例を示すガンマ変換回路の構
成ブロック図、第2図、第3図はガンマ変換データ書換
え用の入力パラメータを示す図、第4図はガンマ変換デ
ータの計算値例を示す図、第5図、第6図はガンマ変換
データ特性を示す波形図、第7図はガンマ変換テーブル
の作成および出力準備動作を説明するフローチャート、
第8図はガンマ変換テーブルの書き換え動作を説明する
フローチャート、第9図は疑似信号発生動作を説明する
フローチャートである。 図中、1はRAM、2はCPU、3はROM、4.5は
入力装置、6は第1データセレクタ、7はデータセレク
タ、8は第2データセレクタ、9.1o、11はアドレ
ス線、12はデータ線、13は出力データ線、14〜1
7は入力データ線、18,19.20はアドレスバス、
21は制御線、22はデータバスである。 第1図 第2図 第3図 第4図 第5図
FIG. 1 is a configuration block diagram of a gamma conversion circuit showing an embodiment of the present invention, FIGS. 2 and 3 are diagrams showing input parameters for rewriting gamma conversion data, and FIG. 4 is a diagram showing calculated values of gamma conversion data. Figures 5 and 6 are waveform diagrams showing gamma conversion data characteristics; Figure 7 is a flowchart illustrating gamma conversion table creation and output preparation operations;
FIG. 8 is a flowchart for explaining the gamma conversion table rewriting operation, and FIG. 9 is a flowchart for explaining the pseudo signal generation operation. In the figure, 1 is a RAM, 2 is a CPU, 3 is a ROM, 4.5 is an input device, 6 is a first data selector, 7 is a data selector, 8 is a second data selector, 9.1o, 11 are address lines, 12 is a data line, 13 is an output data line, 14-1
7 is an input data line, 18, 19.20 is an address bus,
21 is a control line, and 22 is a data bus. Figure 1 Figure 2 Figure 3 Figure 4 Figure 5

Claims (2)

【特許請求の範囲】[Claims] (1)それぞれの画像データ信号に付加された識別信号
に応じて不揮発性メモリよりガンマ変換データを作成す
るためのパラメータを読み出すとともに、このパラメー
タに応じてガンマ変換データ作成手段で作成されたガン
マ変換データをランダムアクセスメモリのデータ入力に
書き込んでおき、このランダムアクセスメモリのアドレ
ス入力に入力されるそれぞれの画像データに所望のガン
マ変換を行うガンマ変換回路において、作成された前記
ガンマ変換データを書き換えるためのパラメータを入力
する書換えパラメータ入力手段を具備したことを特徴と
するガンマ変換回路。
(1) In accordance with the identification signal added to each image data signal, the parameters for creating gamma conversion data are read from the nonvolatile memory, and the gamma conversion data is created by the gamma conversion data creation means in accordance with the parameters. To rewrite the created gamma conversion data in a gamma conversion circuit that writes data to the data input of a random access memory and performs desired gamma conversion on each image data input to the address input of this random access memory. 1. A gamma conversion circuit comprising a rewriting parameter input means for inputting a parameter.
(2)書換えパラメータ入力手段よりパラメータの入力
がない場合は、不揮発性メモリに格納されているパラメ
ータを読み出すことを特徴とする特許請求の範囲第(1
)項記載のガンマ変換回路。
(2) If no parameters are input from the rewriting parameter input means, the parameters stored in the nonvolatile memory are read out.
) The gamma conversion circuit described in section 2.
JP59184685A 1984-09-05 1984-09-05 Gamma converting circuit Pending JPS6163182A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP59184685A JPS6163182A (en) 1984-09-05 1984-09-05 Gamma converting circuit
US07/183,300 US4805013A (en) 1984-09-05 1988-04-11 Image data conversion system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59184685A JPS6163182A (en) 1984-09-05 1984-09-05 Gamma converting circuit

Publications (1)

Publication Number Publication Date
JPS6163182A true JPS6163182A (en) 1986-04-01

Family

ID=16157577

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59184685A Pending JPS6163182A (en) 1984-09-05 1984-09-05 Gamma converting circuit

Country Status (1)

Country Link
JP (1) JPS6163182A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0519723A (en) * 1991-07-09 1993-01-29 Sharp Corp Liquid crystal display device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58186291A (en) * 1982-04-23 1983-10-31 Sony Corp Gradation converting method of color video signal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58186291A (en) * 1982-04-23 1983-10-31 Sony Corp Gradation converting method of color video signal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0519723A (en) * 1991-07-09 1993-01-29 Sharp Corp Liquid crystal display device

Similar Documents

Publication Publication Date Title
JPS6163181A (en) Gamma converting circuit
JPS6163182A (en) Gamma converting circuit
JPS6163183A (en) Gamma converting circuit
JP2702408B2 (en) Image conversion system
JPS61141488A (en) Color signal processing circuit
JPS5851684A (en) Video signal synthesizing system
JP2005176202A (en) Color reproduction editing apparatus and method thereof
JP3039657B2 (en) Image processing device
JP2921850B2 (en) Image processing device
JPH01321542A (en) Data converting circuit
JPH0273779A (en) Color correction circuit
JP2983579B2 (en) Display control device
JPH0214717B2 (en)
JPH01120965A (en) Color adjusting method
JP2610022B2 (en) Color image processing equipment
JPH06180567A (en) Image processor
JPH11187419A (en) Unit and method for signal processing
JPH0944412A (en) Memory testing circuit
JPS6339059B2 (en)
JPH11237870A (en) Drawing method for drawing data structuring virtual layer by color palette operation
JPH02216501A (en) Method and device for generating control memory
JPH07123261A (en) Multilevel picture dot processing unit
JPH0728445A (en) Image display controller
JPH081557B2 (en) Image display device
JPS60194669A (en) Gradation correcting circuit