JPS6252679A - Image processor - Google Patents

Image processor

Info

Publication number
JPS6252679A
JPS6252679A JP19294085A JP19294085A JPS6252679A JP S6252679 A JPS6252679 A JP S6252679A JP 19294085 A JP19294085 A JP 19294085A JP 19294085 A JP19294085 A JP 19294085A JP S6252679 A JPS6252679 A JP S6252679A
Authority
JP
Japan
Prior art keywords
image
data
color
image memory
area
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
JP19294085A
Other languages
Japanese (ja)
Inventor
Hideo Takemura
英夫 竹村
Masao Izumi
泉 正夫
Keisuke Iwasaki
圭介 岩崎
Yoji Noguchi
要治 野口
Masaki Takakura
正樹 高倉
Yasukuni Yamane
康邦 山根
Nobutoshi Gako
宣捷 賀好
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP19294085A priority Critical patent/JPS6252679A/en
Publication of JPS6252679A publication Critical patent/JPS6252679A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Generation (AREA)

Abstract

PURPOSE:To speedily modify and restore a color by rewriting a look-up table so as to modify the color of an image. CONSTITUTION:When only the color of an image A is changed to other colors, in case of the image A present in a background B, first a processor 5 transmits a data D1 to a logic image memory 1. Then the value of a pixel corresponding to an area A where the color is modified is stored previously as '1' in the logic image memory 1, while the value of a pixel corresponding to an area B where the color is not modified is set as '0' in the memory 1. The value D3 ('1' in this case) of the pixel corresponding to the area A is transmitted to the look-up table LUT 3 from the logic image memory 1, while a dark and light image data D4 corresponding to the area A is transmitted from an image memory 2. As a result, data on addresses outputted from the LUT 3 becomes C7...C11, which is transmitted to a DA converter 4 and used for image display.

Description

【発明の詳細な説明】 く技術分野〉 本発明は特に画像の色彩変更、濃度変更等が可能な画像
処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION Technical Field> The present invention particularly relates to an image processing device capable of changing color, density, etc. of an image.

〈従来技術〉 従来、画像処理技術の一つとして色彩の変更ケ行なうこ
とがよくなされた。例えば風景画像の中で木の葉に相当
する領域の色彩のデータのみ勿緑色から黄色に切り変え
ることにより、元の画像とは異なった趣の新しい画像を
生成することが行なわれた。この処理の為には要するに
各画像ビクセルのRED、GREEN、BLUEの各デ
ータを夫々異なるデータに置換すればよい。しかし、色
彩ケ変更するたびに上記各画像ピクセルのデータで書き
換えようとすれば当然画像メモリへのCPU等の処理ハ
ードウェアからのアクセス回数が増大する。
<Prior Art> In the past, changing colors has often been done as one of the image processing techniques. For example, by changing only the color data of areas corresponding to leaves in a landscape image from green to yellow, a new image with a different flavor from the original image has been generated. In short, for this process, each of the RED, GREEN, and BLUE data of each image pixel may be replaced with different data. However, if the data of each image pixel is to be rewritten every time the color is changed, the number of accesses from processing hardware such as a CPU to the image memory will naturally increase.

この理由により画像メモリの書き変えによる色彩変更の
処理は、必然的に処理時間が増大する。従って高速な応
答性?必要とするシステムや、高解像度又は画像メモリ
の記憶容量が極めて大きいシステムには頻繁な色彩変更
処理は不向きであり、その為、特殊な構成のハードウェ
ア(例えば画像処理専用のプロセッサ)の助けが必要と
なり、結局ハードウェアシステムが複雑になったり、プ
ログラミングが特殊化し7c ’) L fc。
For this reason, color change processing by rewriting the image memory inevitably increases processing time. Therefore fast responsiveness? Frequent color changing operations are not suitable for systems that require high resolution or extremely large image memory storage capacities, and therefore require the aid of specially configured hardware (e.g., a dedicated image processing processor). 7c ') L fc.

又、上記画像メモリの書き換えによる色形変更の処理は
、画像データケ一旦変更してしまうと元のデータは消さ
れてしまう。従って色彩変更シュミレーションの様に元
の色彩と変更後の色彩と?頻繁に比較するケースの多い
システムには不向きである。
Furthermore, in the process of changing the color form by rewriting the image memory, once the image data is changed, the original data is erased. Therefore, like in a color change simulation, what are the original colors and the changed colors? It is unsuitable for systems that require frequent comparisons.

く目的〉 本発明は以上の従来問題点に鑑みなされたものであり、
比較的簡単な構成でありながら画像の部分的な色彩変更
?高速に実行可能なシステム?提供することrその目的
とする。
Purpose> The present invention has been made in view of the above conventional problems,
Is it possible to partially change the color of an image with a relatively simple configuration? A system that can run quickly? Its purpose is to provide.

〈実施例〉 以下、本発明に係る画像処理装置の一実施例につき図面
ケ用いて詳細に説明7行なう0第1図に本発明に係る画
像処理装置の一実施例の一部ブロック構成図r示す。1
は後述する論理画像メモリ、2はR(赤色)、G(緑色
)、B(青色)に対応して夫々設けられ濃度情報が記憶
される画像メモリであるo3はルックアップテーブル、
4HD/AコンバータであるOD/Aコンノく−メ4の
出力(ビデオアナログ信号)flcRTに送られ画像表
示が行なわれる。上記ルックアップテーブル3は一種の
演算器であり、高速な信号処理が可能なスタティックR
A Mで構成される0画像メモリ2及び論理画像メモリ
1から出力されたデータは合成されてルックアップテー
ブル3のアドレス信号に構成する0ルツクアツプテーブ
ル3の容量は例えば256バイトであジ、256種の情
報勿別個の情報(8ビツト)に変換する0但しここでは
、ルックアップテーブル3のアドレス信号の最下位ビッ
トが1の時はデータが切り換わり、最下位ビットがOの
時はデータが切り換わらない様にルックアンプテーブル
3のテーブルデータr決めておく。
<Embodiment> Hereinafter, an embodiment of the image processing apparatus according to the present invention will be explained in detail with reference to the drawings. FIG. 1 is a partial block diagram of an embodiment of the image processing apparatus according to the present invention. show. 1
2 is a logical image memory to be described later; 2 is an image memory provided corresponding to R (red), G (green), and B (blue) and stores density information; o3 is a look-up table;
The output (video analog signal) of OD/A converter 4, which is a 4HD/A converter, is sent to flcRT for image display. The lookup table 3 is a type of arithmetic unit, and is a static R
The data output from the 0 image memory 2 and the logical image memory 1, which are composed of A. Type information Converts to separate information (8 bits) 0 However, here, when the least significant bit of the address signal of lookup table 3 is 1, the data is switched, and when the least significant bit is O, the data is switched. Table data r of look amplifier table 3 is determined so as not to switch.

第2図に示す様に背景Bの中に画像Aが存在する場合に
おいて、画像Aの色彩のみt別の色に変更したい場合は
次の様に処理?行なう。
As shown in Figure 2, when image A exists in background B, if you want to change only the color of image A to a different color, do the following process? Let's do it.

第1圀のプロセッサ5の処理によってデータDIが論理
画像メモリlに送られ、この論理画像メモリ1に予め色
彩全変更する領域Aに相当するビクセル(画素)の値i
1として記憶させ色彩全変更しない領域Bに相当するビ
クセル(画素)の値toとして記憶させる。一方、プロ
セッサ5の処理によってデータD2が画像メモリ2に送
られ、画像メモ!J2(mXnのビクセルから成り立つ
場合、mXnX8ビツトの容量)には7ピツトからなる
濃淡画像データが記憶される。
The data DI is sent to the logical image memory 1 by the processing of the processor 5 in the first region, and the value i of the pixel corresponding to the area A whose color is to be completely changed is stored in this logical image memory 1 in advance.
1 and is stored as the value to of a pixel corresponding to area B where the color is not completely changed. On the other hand, data D2 is sent to the image memory 2 through processing by the processor 5, and the image memo! Grayscale image data consisting of 7 pits is stored in J2 (capacity of mXnX8 bits when composed of mXn pixels).

次に第3図のデータの流れに示される様に、画像表示7
行なう場合において、ルックアンプテーブル3に論理画
像メモリlから色彩ケ変更する領域Aに相当するビクセ
ルの値D3(この場合1)が送られ、画像メモリ2から
上記領域Aに相当する7ピツトの濃淡画像データD4 
(a7a6a5a4a 3 a 2 a 1)が送ら′
i″した時にルックアップテーブル3の上位7ビソトの
D4と最下位1ビツトD3とによって指定されるアドレ
スのデータはC7C6C3C4C3C2C11であり、
このデータD5に変換され、これがD/Aコンバータ4
へ送うれるー。一方ルツクアップテーブル3に論理画像
メモ+71から色彩?変更しない領域Bに相当するビク
セルの値D3(この場O)が送られ、画像メモリ2から
上記領域Bに相当する7ピツトの濃淡画像データD4(
b7b6b5b4b3b2bりが送られた時にルックア
ンプテーブル3の、上位7ピツトのD4と最下位lピッ
)D3とによって指定されるアドレスのデータはb7b
6b5b4b3b2b、0であジ、このデータD5に変
換され、これがD/Aコンバータ4へ送ら几る。
Next, as shown in the data flow in Figure 3, the image display 7
In this case, the pixel value D3 (1 in this case) corresponding to the area A to be changed is sent from the logical image memory l to the look amplifier table 3, and the 7-pit shading corresponding to the area A is sent from the image memory 2. Image data D4
(a7a6a5a4a 3 a 2 a 1) is sent'
i'', the data at the address specified by the upper 7 bits D4 and the lowest 1 bit D3 of lookup table 3 is C7C6C3C4C3C2C11.
This data is converted to D5, which is sent to the D/A converter 4.
I'll send it to you. On the other hand, color from logical image memo +71 in lookup table 3? The pixel value D3 (in this case O) corresponding to the area B that will not be changed is sent, and the 7-pit grayscale image data D4 (in this case O) corresponding to the area B is sent from the image memory 2.
When b7b6b5b4b3b2b is sent, the data at the address specified by D4 of the top 7 pits and D3 of the lowest 7 pits in look amplifier table 3 is b7b.
6b5b4b3b2b, 0 is converted into this data D5, which is sent to the D/A converter 4.

上記の如くルックアップテーブル3のテーブルデータの
内容ケ適宜調整しておけば入力アドレス値の最下位ビッ
トが1か0かで夫々異なるルックアップテーブルの内容
?参照するため濃淡画像データの変更、無変更の制御を
容易に実行することができる。
If the contents of the table data of lookup table 3 are adjusted as described above, the contents of the lookup table will differ depending on whether the least significant bit of the input address value is 1 or 0. Since it is referenced, it is possible to easily control whether or not to change the grayscale image data.

具体的に言えば第4図(a)に示す如く上記D3の値(
0又はl)にかかわらず入力アドレス値と全く同一のデ
ータが出力されるようにルックアップテーブル3のテー
ブルデータ?形成すれば色彩の変更は無い。しかし第4
図(b)に示す如く、上記D3の値に応じて入力アドレ
ス値と異なるデータが出さnるようにルックアップテー
ブル3のテーブルデータケ形成すれば特定の部分のみ(
ここでは領域A)の色彩の変更が行なわれる。即ち奇数
アドレスのデータのみが持ち上がることによって領域A
の明度が向上する。この処理は一種の強調処理であるが
ルックアップテーブル3のテーブルデータケ切り換えれ
ば領域Aの濃淡の2値化、反転等の他の処理も実行可能
である。
Specifically, as shown in FIG. 4(a), the value of D3 (
Table data of lookup table 3 so that exactly the same data as the input address value is output regardless of whether the input address value is 0 or l)? Once formed, there is no change in color. But the fourth
As shown in Figure (b), if the table data of the lookup table 3 is formed so that data different from the input address value is output according to the value of D3, only a specific part (
Here, the color of area A) is changed. In other words, only the data at odd addresses are raised, so that area A
brightness improves. This processing is a kind of emphasis processing, but by switching the table data of the lookup table 3, other processing such as binarization and inversion of the shading of the area A can also be executed.

く効果〉 以上の本発明によればルックアップテーブルの書き換え
によって画像の色彩変更業実行するものであるので、従
来の画像メモリに対する直接的書き換え処理に比べてご
く少ない処理で実行可能であり、又画像メモリ自体の内
容は保存されるものであるから、高速に色彩の変更、復
元を行なうことができる。
Effects> According to the present invention, the color change of an image is performed by rewriting the lookup table, so it can be performed with much less processing than the conventional direct rewriting processing for the image memory. Since the contents of the image memory itself are saved, colors can be changed and restored at high speed.

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

第1図は本発明に係る画像処理装置の一実施例の一部ブ
ロック構成図、第2図は画像の説明図、第3図はデータ
の流れの説明図、第4図はルソ・クアップテーブルの特
性図を示す。 図中、l:論理画像メモリ 2:画像メモリ3コルツク
アツプテーブル 4:D/Aコンバータ 5:プロセッ
サ 6:主記憶部 7:ラッチ回路 8:ゲート 代理人 弁理士 福 士 愛 慕(他2名)87図 第2図 第3図 (a)                      
       (b)第4図
Fig. 1 is a partial block diagram of an embodiment of an image processing device according to the present invention, Fig. 2 is an explanatory diagram of an image, Fig. 3 is an explanatory diagram of data flow, and Fig. 4 is a Luso backup table. The characteristic diagram of In the figure, l: logical image memory 2: image memory 3 cork backup table 4: D/A converter 5: processor 6: main memory 7: latch circuit 8: gate agent Patent attorney Ai Mu Fuku (and 2 others) )87Figure 2Figure 3(a)
(b) Figure 4

Claims (1)

【特許請求の範囲】[Claims] 1.画像を構成する各画素の濃度データを記憶する画像
メモリと、 前記濃度データを変更する領域に相当する画素を判別す
るデータを記憶する論理画像メモリと、 前記画像メモリ及び前記論理画像メモリの出力データが
導入され、前記濃度データを変更する領域に相当する画
素の濃度データを書き換え設定するルックアップテーブ
ルと、 該ルックアップテーブルの出力に基いて画像を表示する
表示手段と、 を具備したことを特徴とする画像処理装置。
1. an image memory that stores density data of each pixel constituting an image; a logical image memory that stores data that determines a pixel corresponding to an area in which the density data is to be changed; and output data of the image memory and the logical image memory. is introduced, and is characterized by comprising: a lookup table for rewriting and setting the density data of pixels corresponding to the area where the density data is to be changed; and a display means for displaying an image based on the output of the lookup table. Image processing device.
JP19294085A 1985-08-30 1985-08-30 Image processor Pending JPS6252679A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19294085A JPS6252679A (en) 1985-08-30 1985-08-30 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19294085A JPS6252679A (en) 1985-08-30 1985-08-30 Image processor

Publications (1)

Publication Number Publication Date
JPS6252679A true JPS6252679A (en) 1987-03-07

Family

ID=16299535

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19294085A Pending JPS6252679A (en) 1985-08-30 1985-08-30 Image processor

Country Status (1)

Country Link
JP (1) JPS6252679A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5825144A (en) * 1993-11-18 1998-10-20 Kao Corporation Drive control apparatus for a rotating machine

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51844A (en) * 1974-06-20 1976-01-07 Tokyo Broadcasting Syst
JPS55105293A (en) * 1978-12-18 1980-08-12 Ibm Raster scanning color graphic system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51844A (en) * 1974-06-20 1976-01-07 Tokyo Broadcasting Syst
JPS55105293A (en) * 1978-12-18 1980-08-12 Ibm Raster scanning color graphic system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5825144A (en) * 1993-11-18 1998-10-20 Kao Corporation Drive control apparatus for a rotating machine

Similar Documents

Publication Publication Date Title
JP3201039B2 (en) Display device
JPH07210134A (en) Apparatus and system for processing of data
JPH02301822A (en) Computer system
KR19990028944A (en) Method and apparatus for generating shading on a flat panel display
US5375198A (en) Process for performing a windowing operation in an array move, a graphics computer system, a display system, a graphic processor and a graphics display system
JPH02297587A (en) Screen display device
JPS6358395A (en) Color display device
JPS6252679A (en) Image processor
JPH0213990A (en) Graphic memory apparatus
JPH0519734A (en) Image processor
JP2001051657A (en) Color liquid crystal display
JPH0473799A (en) Picture display device
JPS61133983A (en) Image display unit
JPH0348553B2 (en)
US5818465A (en) Fast display of images having a small number of colors with a VGA-type adapter
JP2502879B2 (en) Liquid crystal display gamma correction circuit
JPS6363089A (en) Enhancement display device
JPS6252680A (en) Image processor
JPH0421895A (en) Image display device
JP2619087B2 (en) Bitmap display control device
JPH0497390A (en) Displaying device
JPS6146988A (en) Display function expander
JPS63153586A (en) Image display device
JPH0651751A (en) Image display device
JPH02278986A (en) Picture signal processor