JPS6334623A - Look-up table - Google Patents

Look-up table

Info

Publication number
JPS6334623A
JPS6334623A JP61179508A JP17950886A JPS6334623A JP S6334623 A JPS6334623 A JP S6334623A JP 61179508 A JP61179508 A JP 61179508A JP 17950886 A JP17950886 A JP 17950886A JP S6334623 A JPS6334623 A JP S6334623A
Authority
JP
Japan
Prior art keywords
ram
data
rom
address
correction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP61179508A
Other languages
Japanese (ja)
Inventor
Hiroshi Onishi
宏 大西
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP61179508A priority Critical patent/JPS6334623A/en
Publication of JPS6334623A publication Critical patent/JPS6334623A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Abstract

PURPOSE:To easily change a correction data, by dividing and storing a fixed and an arbitrary correction data into a ROM and a RAM, and correcting them in two stages, at the time of performing a gradation processing in a digital picture processor. CONSTITUTION:Gradation correction tables are stored in both a RAM 2 and a ROM 5. An input picture data is supplied as an address signal 6 by an address switching circuit 1, and is corrected at the RAM 2. A data signal 7 outputted from the RAM 2 is supplied to a ROM 13 and a ROM address signal 12 by a data switching circuit 3, and is corrected in two stages. The rewrite of the content of the RAM 2 is performed by switching the address switching circuit 1, and the data switching circuit, by an address signal 4, and a rewrite data signal 8. In this way, the correction of the fixed correction data such as the gamma value of an image pickup element is performed by the ROM 13, and that of the arbitrary correction data centering the gamma value, by the RAM 2.

Description

【発明の詳細な説明】 し産業上の利用分野] この発明は、デジタル画像処理装置δにおいて、階調処
理を行なうために用いられるルックアップテーブルに関
するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a look-up table used for performing gradation processing in a digital image processing device δ.

[従来の技術] 第3図は従来のルックアップテーブルを示す構成図であ
る。同図において、(1)はアドレス切換回路、(2)
はランダム・アクセス−メモリ(以下、RAMと称す)
 、 (3)はデータ切換回路、(4)は書きかえアド
レス信号、(5)は入力画像データ、(8)はアドレス
信’j−,(7)はデータ信号、(8)は古きかえデー
タ入出力信号、(9)は出力画像データである。
[Prior Art] FIG. 3 is a configuration diagram showing a conventional lookup table. In the figure, (1) is an address switching circuit, (2)
is random access memory (hereinafter referred to as RAM)
, (3) is the data switching circuit, (4) is the rewritten address signal, (5) is the input image data, (8) is the address signal 'j-, (7) is the data signal, and (8) is the old rewritten data. The input/output signal (9) is output image data.

また、第4図および第5図は第3図における従来例の説
明を助けるためにルックアップテーブルの原理を示す図
であり、(10)はテーブル川メモリ素子、(lりは階
調補正線を示す。
4 and 5 are diagrams showing the principle of the look-up table to help explain the conventional example in FIG. shows.

従来例の動作の説明の前にルックアップテーブルの原理
を第4図について説明する。ルックアップテーブルはデ
ジタル画像データの階調を変換するための装置であり、
入力画像データを任意に変換して出力する。この装置に
は通常RAM等のメモリ素子が用いられる。第4図にお
いて、入力画像データ(5)はテーブル用メモリJ r
−(10)のアドレスとして入力される。一方、出力画
像データ(8)は入力画像データ(5)のアクセスした
アドレスのデータ値としてJトえられる。ルックアップ
テーブルは上記のように構成されるので、たとえば第5
図に示す階調補正線(11)のような特性で入力値から
出力値を得たい場合、階調補正線(11)で示されるよ
うにアドレスAにデータBというようにあらかじめデー
タを書き込んでおけば階調補正線(11)に示す階調の
補正ができる。また、このルックアップテーブルのテー
ブル内容は任意に書きかえ可能なように構成されている
Before explaining the operation of the conventional example, the principle of the look-up table will be explained with reference to FIG. A lookup table is a device for converting the gradation of digital image data.
Convert input image data arbitrarily and output it. This device usually uses a memory element such as a RAM. In FIG. 4, input image data (5) is stored in table memory J r
- Input as the address of (10). On the other hand, the output image data (8) is determined as the data value of the address accessed by the input image data (5). The lookup table is configured as described above, so for example, the fifth
If you want to obtain an output value from an input value with characteristics like the gradation correction line (11) shown in the figure, write data in advance such as data B to address A as shown by the gradation correction line (11). By doing so, the gradation shown in the gradation correction line (11) can be corrected. Further, the contents of this lookup table are configured so that they can be rewritten arbitrarily.

J二記のルックアップテーブルは、従来第4図のように
構成されていた。以下、その動作について説明する。ま
ず、テーブルの内容を書きかえる際には、アドレス切換
回路(1)が3きかえアドレス信号(4)をアドレス信
号(6)としてRA M (2)に与える。一方、デー
タ切換回路(3)が書きかえデータ入出力信号(8)を
データ信号(7)として接続する。この書きかえアドレ
ス信号(4)と書きかえデータ入出力信号(8)とは、
通常中央処理装置(Central Processi
ng Unit 、以下CPUと略称する。)に接続さ
れており、RA M (2)上の任意のアドレスのデー
タの読み出しおよび書き込みがIIf能な構成にしてあ
り、これによりテーブルの内容を任意に書き変えること
ができる。また、画像データの階調補正を行なう場合に
は、アドレス切換回路(1)が入力画像データ(5)を
アドレス信号(6)としてRA M (2)に与える一
方、データ切換回路(3)がRA M (2)のデータ
信号(7)を出力画像データ(8)として出力する。
The lookup table described in J2 has conventionally been configured as shown in FIG. The operation will be explained below. First, when rewriting the contents of the table, the address switching circuit (1) supplies the 3-change address signal (4) to the RAM (2) as an address signal (6). On the other hand, the data switching circuit (3) connects the rewritten data input/output signal (8) as a data signal (7). The rewrite address signal (4) and rewrite data input/output signal (8) are:
Usually a central processing unit (Central Processing Unit)
ng Unit, hereinafter abbreviated as CPU. ), and is configured to be able to read and write data at any address on RAM (2), thereby allowing the contents of the table to be arbitrarily rewritten. In addition, when performing gradation correction of image data, the address switching circuit (1) supplies the input image data (5) as an address signal (6) to the RAM (2), while the data switching circuit (3) The data signal (7) of RAM (2) is output as output image data (8).

[発明が解決しようとする問題点] 従来のルックアップテーブルは以上のように構成されて
いるので、階調処理を行なう前に必ずテーブルRAMの
内容を設定しなければならず、デイスプレィや撮像素子
のガンマ値等のために特定のテーブルを必ず使用する画
像処理システムにおいては、ガンマ値と変換線との複雑
な計算を実行せねばならないという問題があった。
[Problems to be Solved by the Invention] Since the conventional lookup table is configured as described above, the contents of the table RAM must be set before performing gradation processing, and the display and image sensor In an image processing system that always uses a specific table for gamma values, etc., there is a problem in that complicated calculations for gamma values and conversion lines must be performed.

この発明は上記のような問題点を解消するためになされ
たもので、変換線を入力するだけでガンマ値と変換線と
を屯ねた階調補正ができるルックアップテーブルを得る
ことを[]的とする。
This invention was made in order to solve the above-mentioned problems, and it is possible to obtain a lookup table that can perform gradation correction based on the gamma value and the conversion line by simply inputting the conversion line. target

[問題点を解決するための手段] この発明に係るルックアップテーブルは、テーブル用R
AMと直列に読出し専用メモリ(以下、ROM、!=称
する)を接続し、RAM、!−ROMを同時に使用する
ようにしたものである。
[Means for solving the problem] The lookup table according to the present invention has a table R
A read-only memory (hereinafter referred to as ROM) is connected in series with AM, and RAM, ! - ROM can be used at the same time.

[作用1 この発明においては、必ず使用するガンマ値のような補
正テーブルはROMにより供給され、任意の変換テーブ
ルはRAMにより供給される。
[Operation 1] In this invention, correction tables such as gamma values that are always used are supplied by ROM, and arbitrary conversion tables are supplied by RAM.

[発明の実施例] 以下、この発明の実施例を図面について説明する。[Embodiments of the invention] Embodiments of the present invention will be described below with reference to the drawings.

第1図はこの発明に係るルックアップテーブルの一例を
示すものである。同時において、(12)はROMアド
レス信号、(13)はROMであり。
FIG. 1 shows an example of a lookup table according to the present invention. At the same time, (12) is a ROM address signal, and (13) is a ROM.

RA M (2)にデータ切換回路(3)を介して直列
に接続されている。その他、従来例と同一部所には同−
符tンを付して説明を省略する。
It is connected in series to RAM (2) via a data switching circuit (3). In addition, the same parts as the conventional example have the same
The explanation will be omitted by adding the symbol t.

また、第2図は第1図の実施例の説明を助けるテーブル
図であり、(14)はRA M (2)の補正線、(1
5)はROM(13)の補正線、(16)は複合補正線
を示す。
Further, FIG. 2 is a table diagram to help explain the embodiment of FIG. 1, in which (14) is the correction line of RAM (2), (1
5) shows the correction line of ROM (13), and (16) shows the composite correction line.

つぎに、第1図の実施例の動作について説明する。第1
図のルックアップテーブルにおいては、RAM(2)と
ROM (13)の双方に階調補正テーブルが、1:き
こまれている。RA M (2)のテーブルは従来例と
同じように書きかえが可能な構成になっている。すなわ
ち、RA M (2)のテーブル書きかえ時には、アド
レス切換回路(1)により、!1きかえアドレス信号(
4)をアドレス信号(6)としてRA M (2)に4
え、書きかえデータ信号(8)をデータ切換回路(3)
によってデータ信号(7)とそてRA M (2)に与
えることにより、RAM(2)のテーブルの書きかえを
行なう。
Next, the operation of the embodiment shown in FIG. 1 will be explained. 1st
In the lookup table shown in the figure, the gradation correction table 1 is written into both RAM (2) and ROM (13). The table in RAM (2) has a structure that can be rewritten as in the conventional example. In other words, when rewriting the table in RAM (2), the address switching circuit (1)! 1 Change address signal (
4) to RAM (2) as address signal (6).
Eh, rewrite data signal (8) to data switching circuit (3)
By applying data signal (7) to RAM (2), the table in RAM (2) is rewritten.

以」二のようにこの実施例におけるルックアップテーブ
ルは、従来のものと同じようにRA M (2)に任意
の補正線を古きこむことができる。
As described below, the lookup table in this embodiment can store any correction line in RAM (2) in the same way as the conventional one.

一方、データ転送時には入力画像データ(5)がアドレ
ス切換回路(1)によりアドレス信号(8)としてRA
 M (2)に与えられる。RA M (2)から出力
されるデータ信号(7)はデータ切換回路(3)により
ROMアドレス信号(12)としてROM (13)に
与えられ、出力画像データ(9)はROM(13)のデ
ータ出力となる。
On the other hand, during data transfer, the input image data (5) is sent to the RA as an address signal (8) by the address switching circuit (1).
M (2) is given. The data signal (7) output from the RAM (2) is given to the ROM (13) as a ROM address signal (12) by the data switching circuit (3), and the output image data (9) is the data in the ROM (13). This becomes the output.

以上のように構成されたルックアップテーブルにおいて
は、RA M (2)とROM (13)により2段階
の補正を行なうことになる。これを第2図について説明
する。入力画像データ(5)はRp、 M (2)によ
りこのRA M (2)の補正線(14)の補正をうけ
る。つぎに、ROM(13)によりROM (13)の
補正線(15)の補正をうける。この時RA M (2
)のデータ出力はROM (13)のアドレス入力とな
るよう構成されているので、RA M (2)とROM
(13)による補正は、RA M (2)の補正線(1
4)とROM (13)の補正m(15)をかけあわせ
た複合補正線(1B)となる。
In the lookup table configured as described above, two-stage correction is performed using RAM (2) and ROM (13). This will be explained with reference to FIG. The input image data (5) is corrected by the correction line (14) of RAM (2) by Rp, M (2). Next, the correction line (15) of the ROM (13) is corrected by the ROM (13). At this time RAM (2
) is configured to be the address input of ROM (13), so RAM (2) and ROM
The correction according to (13) is based on the correction line (1
4) and the correction m(15) of ROM (13), resulting in a composite correction line (1B).

このようなルックアップテーブルは、 ROM (13)の補正線(15)が固定となるため、
複合補1E線(1B)ハROM (13)(7)補正線
(15)t−基準トし、RA M (2)の補正線(1
4)により変化することになる。つまりデイスプレィや
撮像素子のガンマ値のような固定の補正をROM(13
)により行ない、カンマ値を中心に任意の補正をRA 
M (2)により行なうことができる。
In such a lookup table, since the correction line (15) of ROM (13) is fixed,
Composite supplementary 1E line (1B) C ROM (13) (7) Correction line (15) t-reference line, RAM (2) correction line (1
4). In other words, fixed corrections such as the gamma value of the display and image sensor are stored in the ROM (13
), and make any corrections centered around the comma value in RA.
This can be done by M (2).

また、上記実施例ではROM (13)をRA M (
2)に対し1個設けたものを示したが、ROM(13)
を複数個設けて切り換えて使用してもよい。
Furthermore, in the above embodiment, ROM (13) is replaced by RAM (
For 2), one is shown, but ROM (13)
A plurality of them may be provided and used by switching.

[発明の効果〕 以上のようにこの発明によれば、ガンマ値などの固定の
補正をROMに書きこんでおき、RAMと直列に接続さ
れるように構成したので、複雑な計算を行うことなく、
ガンマ値等を中心にした階調補正ができる効果がある。
[Effects of the Invention] As described above, according to the present invention, fixed corrections such as gamma values are written in the ROM and configured to be connected in series with the RAM, thereby eliminating the need for complex calculations. ,
This has the effect of making gradation correction centered on gamma values, etc.

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

第1図はこの発明に係るルックアップテーブルの一例を
示すブロック図、第2図は第1図のものの動作を説明す
るための補正特性図、第3図は従来のルックアップテー
ブルを示すブロック図、第4図はルックアップテーブル
の原理図、第5図は第4図の原理説明のためのテーブル
図である。 (2)・・・RAM、(5)・・・入力画像データ、(
9)・・・出力画像データ、(13)・・・ROM。 なお、図中同一符号は同一もしくは相当部分を示す。
FIG. 1 is a block diagram showing an example of a lookup table according to the present invention, FIG. 2 is a correction characteristic diagram for explaining the operation of the one shown in FIG. 1, and FIG. 3 is a block diagram showing a conventional lookup table. , FIG. 4 is a diagram showing the principle of a lookup table, and FIG. 5 is a table diagram for explaining the principle of FIG. (2)...RAM, (5)...Input image data, (
9)...Output image data, (13)...ROM. Note that the same reference numerals in the figures indicate the same or corresponding parts.

Claims (2)

【特許請求の範囲】[Claims] (1)デジタル画像データの階調を任意に変換して出力
するためのルックアップテーブルにおいて、入力画像デ
ータがアドレスとして入力されるランダム・アクセス・
メモリと、このランダム・アクセス・メモリに直列的に
接続されて出力画像データを送出する読出専用メモリと
を具備したことを特徴とするルックアップテーブル。
(1) In a lookup table for arbitrarily converting and outputting the gradation of digital image data, the input image data is input as an address in a random access table.
1. A lookup table comprising: a memory; and a read-only memory serially connected to the random access memory for transmitting output image data.
(2)読み出し専用メモリを複数個設けてなる特許請求
の範囲第1項記載のルックアップテーブル。
(2) The lookup table according to claim 1, which is provided with a plurality of read-only memories.
JP61179508A 1986-07-29 1986-07-29 Look-up table Pending JPS6334623A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61179508A JPS6334623A (en) 1986-07-29 1986-07-29 Look-up table

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61179508A JPS6334623A (en) 1986-07-29 1986-07-29 Look-up table

Publications (1)

Publication Number Publication Date
JPS6334623A true JPS6334623A (en) 1988-02-15

Family

ID=16067030

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61179508A Pending JPS6334623A (en) 1986-07-29 1986-07-29 Look-up table

Country Status (1)

Country Link
JP (1) JPS6334623A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008502036A (en) * 2004-06-04 2008-01-24 テレフオンアクチーボラゲット エル エム エリクソン(パブル) Pipelined real or complex ALU

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008502036A (en) * 2004-06-04 2008-01-24 テレフオンアクチーボラゲット エル エム エリクソン(パブル) Pipelined real or complex ALU

Similar Documents

Publication Publication Date Title
JPS6259822B2 (en)
US5589889A (en) Image memory device and method of operating same
US5293483A (en) Combined image and control data image memory device
JPS6334623A (en) Look-up table
US5701436A (en) Information processing apparatus including synchronous storage having backup registers for storing the latest sets of information to enable state restoration after interruption
US6744439B1 (en) Reconfigurable color converter
JP2754589B2 (en) Digital gamma correction circuit
JPH0774973A (en) Data conversion device
JP2699482B2 (en) Data transfer control device
US7755641B2 (en) Method and system for decimating an indexed set of data elements
JPS6141273A (en) Picture processor
JP2905989B2 (en) I / O controller
JPH01161579A (en) Picture color correcting device
JPH01265717A (en) Digital filter integrated circuit device
JP6621582B2 (en) Display unevenness correction device
JPS6232818B2 (en)
JPS5893097A (en) Color switching circuit
JPS62279787A (en) Noise eliminating device for flat image pickup element fix pattern
JPS634336A (en) Arithmetic circuit for coefficient multiplication
JPH04148324A (en) Data transform device
JPH03123389A (en) Luminance adjusting system
JPH03152677A (en) Inter-digital picture data comparing device
JPS62183683A (en) Look up table
JPH02278986A (en) Picture signal processor
JPH08147458A (en) Memory control unit