JPH0348553B2 - - Google Patents

Info

Publication number
JPH0348553B2
JPH0348553B2 JP29449085A JP29449085A JPH0348553B2 JP H0348553 B2 JPH0348553 B2 JP H0348553B2 JP 29449085 A JP29449085 A JP 29449085A JP 29449085 A JP29449085 A JP 29449085A JP H0348553 B2 JPH0348553 B2 JP H0348553B2
Authority
JP
Japan
Prior art keywords
image
memory
label
information
data
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.)
Expired
Application number
JP29449085A
Other languages
Japanese (ja)
Other versions
JPS62151986A (en
Inventor
Masaki Takakura
Hideo Takemura
Masao Izumi
Keisuke Iwasaki
Yoji Noguchi
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 JP29449085A priority Critical patent/JPS62151986A/en
Priority to US06/946,482 priority patent/US4878178A/en
Publication of JPS62151986A publication Critical patent/JPS62151986A/en
Publication of JPH0348553B2 publication Critical patent/JPH0348553B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はCRT画面に表示される画像の色彩変
更、濃度変更等を行うようにした画像処理装置に
関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image processing device that changes the color, density, etc. of an image displayed on a CRT screen.

(従来技術とその問題点) 従来より、画像処理技術の一つとして色彩の変
更を行うことがよくなされている。例えば風景画
像の中で木の葉に相当する領域の色彩のデータの
みを緑色から黄色に切り変えることにより、元の
画像とは異なつた趣の新しい画像を生成すること
が行なわれる。この処理を行うためには要するに
各画像ピクセル(画素)の赤(RED)、緑
(GREEN)、青(BLUE)の各データを夫々異な
るデータに置換すればよい。しかし、色彩を変更
するたびに上記各画像ピクセルのデータを書き換
えようとすれば当然画像メモリへのCPU等の処
理ハードウエアからのアクセス回数が増大する。
この理由により画像メモリの書き換えによる色彩
変更の処理は、必然的に処理時間が増大する。従
つて高速な応答性を必要とするシステムや、高解
像度又は画像メモリの記憶容量が極めて大きいシ
ステムには頻繁な色彩変更処理は不向きであり、
そのため、特殊な構成のハードウエア(例えば画
像処理専用のプロセツサ)の助けが必要となり、
結局ハードウエアシステムが複雑になつたり、プ
ログラミングが特殊化したりした。
(Prior art and its problems) Changing colors has traditionally been a common practice as one of image processing techniques. For example, by changing only the color data of areas corresponding to tree leaves in a landscape image from green to yellow, a new image that is different from the original image is generated. In order to perform this processing, it is sufficient to replace each of the red (RED), green (GREEN), and blue (BLUE) data of each image pixel with different data. However, if it is attempted to rewrite the data of each image pixel each time the color is changed, the number of accesses from processing hardware such as a CPU to the image memory will naturally increase.
For this reason, color change processing by rewriting the image memory inevitably increases processing time. Therefore, frequent color change processing is not suitable for systems that require high-speed response, high resolution, or extremely large storage capacity of image memory.
Therefore, the help of specially configured hardware (for example, a processor dedicated to image processing) is required.
Eventually, the hardware systems became more complex and the programming became more specialized.

また、上記画像メモリの書き換えによる色彩変
更の処理は、画像データを一旦変更してしまうと
元のデータは消されてしまう。従つて色彩変更シ
ユミレーシヨンの様に元の色彩と変更後の色彩と
を頻繁に比較するケースの多いシステムには不向
きである。
Furthermore, in the process of changing the color by rewriting the image memory, once the image data is changed, the original data is erased. Therefore, it is not suitable for a system in which the original color and the changed color are frequently compared, such as in a color change simulation.

このような観点から本願の発明者等は以下に述
べる画像処理装置を創出した。第9図にその画像
処理装置の一部のブロツク構成図を示す。
From this point of view, the inventors of the present application created the image processing device described below. FIG. 9 shows a block diagram of a part of the image processing apparatus.

1は論理画像メモリ、2はR(赤色)、G(緑
色)、B(青色)に対応して夫々設けられた濃度情
報が記憶される画像メモリである。3はルツクア
ツプテーブル、4はD/Aコンバータである。上
記論理画像メモリ1および画像メモリ2には、バ
ス8を通してマイクロプロセツサ5からアクセス
される。6はこのマイクロプロセツサ5の主記憶
装置である。上記D/Aコンバータ4の出力(ビ
デオナログ信号)はCRTに送られ画像表示が行
なわれる。上記ルツクアツプテーブル3は一種の
演算器であり、高速な信号処理が可能なスタテイ
ツクRAMで構成される。画像メモリ2及び輪理
画像メモリ1から出力されたデータは合成されて
ルツクアツプテーブル3のアドレス信号を構成す
る。ルツクアツプテーブル3の容量は例えば256
バイトであり、256種の情報を別個の情報(8ビ
ツト)に変換する。この装置では、ルツクアツプ
テーブル3の内容を変更するだけで、画像メモリ
2の内容を変更することなく色彩を変更すること
ができる。また、論理画像メモリ1にルツクアツ
プテーブル3切換えの情報を蓄えておき、ルツク
アツプテーブル3を切換えることにより、画像の
特定部分のみ色採変更することが可能である。ル
ツクアツプテーブル3の出力はラツチ7を介して
CRTに送られる。ルツクアツプテーブル3はゲ
ート9、バス8を介して、マイクロプロセツサ5
により内容が設定される。
1 is a logical image memory, and 2 is an image memory in which density information provided corresponding to R (red), G (green), and B (blue) is stored. 3 is a lookup table, and 4 is a D/A converter. The logical image memory 1 and image memory 2 are accessed from the microprocessor 5 through the bus 8. Reference numeral 6 denotes a main memory of this microprocessor 5. The output (video analog signal) of the D/A converter 4 is sent to a CRT for image display. The lookup table 3 is a type of arithmetic unit, and is composed of a static RAM capable of high-speed signal processing. The data output from the image memory 2 and the wheel image memory 1 are combined to form an address signal for the lookup table 3. For example, the capacity of lookup table 3 is 256
It is a byte and converts 256 types of information into separate information (8 bits). With this device, the color can be changed by simply changing the contents of the lookup table 3 without changing the contents of the image memory 2. Furthermore, by storing information on switching the lookup table 3 in the logical image memory 1 and switching the lookup table 3, it is possible to change the color selection of only a specific portion of the image. The output of lookup table 3 is passed through latch 7.
Sent to CRT. The lookup table 3 is connected to the microprocessor 5 via a gate 9 and a bus 8.
The contents are set by .

さて、この従来の方法では、画像メモリの他に
論理画像メモリ1が必要であり、システムが大規
模になる欠点があつた。また、複数の領域を同時
に色変更する方法が明らかにされていなかつた。
Now, in this conventional method, a logical image memory 1 is required in addition to the image memory, which has the disadvantage that the system becomes large-scale. Furthermore, a method for changing the color of multiple areas at the same time has not been disclosed.

本発明の目的は、上記従来の問題点に鑑みてな
されたものであり、特別な論理画像メモリを持た
ずに画像中の複数の領域の色彩変更を高速に実行
可能なシステムを提供することである。
An object of the present invention has been made in view of the above-mentioned conventional problems, and it is an object of the present invention to provide a system that can quickly change the color of multiple areas in an image without having a special logical image memory. be.

(問題点を解決するための手段) ところで、近年、画像メモリの低価格化に伴
い、画像情報をメモリに蓄え画像処理を行い出力
するということが一般的になつているが、この画
像の1ドツトあたり必要とされる情報量は画像の
種類によつて様々である。例えば白黒版画のよう
な画像では白か黒かの1ビツトの情報でよく、交
通標識のような画像では赤、白、黄、緑、青等の
色数なので3〜4ビツトの情報でよい。アニメー
シヨンのセル画のような画像では色数は増える
が、色はいわゆるベタ塗りでよいため、濃淡の情
報は必要なく情報量は5〜7ビツト程度でよい。
しかし、写真やテレビジヨン画像のような自然画
像を表現する場合は18ビツト程度は必要である。
(Means for solving the problem) By the way, in recent years, with the reduction in the price of image memory, it has become common to store image information in memory and perform image processing and output. The amount of information required per dot varies depending on the type of image. For example, for an image such as a black and white print, 1-bit information indicating whether it is white or black is sufficient, and for an image such as a traffic sign, 3 to 4 bits of information may be sufficient because the number of colors is red, white, yellow, green, blue, etc. Although the number of colors increases in images such as animation cels, since the colors can be painted solidly, information on shading is not necessary and the amount of information may be about 5 to 7 bits.
However, when expressing natural images such as photographs and television images, about 18 bits are required.

一方、画像を処理する立場から考えると、一般
的なマイクロプロセツサが8ビツトもしくは16ビ
ツトを処理の単位としているため、画像メモリの
1ドツトあたりの情報量は8の倍数であることが
望ましい。例えば、カラーの自然画像を入力し、
画像処理する装置では、色情報をR,G,Bに分
解して画像メモリに蓄える場合を例にとればR,
G,Bそれぞれ8ビツド計24ビツトの情報量を1
ドツトあたりに持つ装置が考えられる。このよう
な装置で先に述べたような様々な画像を蓄える
と、画像の持つ情報量と画像メモリの情報量に差
ができ画像メモリの容量に無駄が生じる。
On the other hand, from the perspective of image processing, it is desirable that the amount of information per dot in the image memory be a multiple of 8, since a typical microprocessor processes 8 or 16 bits. For example, input a color natural image,
For example, in an image processing device, when color information is separated into R, G, and B and stored in an image memory, R,
The amount of information of 8 bits each for G and B, totaling 24 bits, is 1
A device held around a dot could be considered. When such a device stores various images as described above, there is a difference between the amount of information held by the image and the amount of information in the image memory, resulting in waste of capacity of the image memory.

次に、画像中の特定領域の色彩変更を行う場
合、その領域の数は場合によつて異なる。例え
ば、着物の画像では、着物の地と帯の2つの色を
変更したい場合が多いし、アニメーシヨンのセル
画では、その画面で使われている絵具の種類の数
だけ同時に色彩変更したい場合が多い。このよう
な複数個所に別な色彩変更を行うためには、領域
にラベル付けをする必要があるが、そのラベル付
けに必要な情報量は、画像の対象により変化す
る。
Next, when changing the color of specific areas in an image, the number of areas varies depending on the case. For example, in an image of a kimono, you often want to change the two colors of the kimono's background and obi, and in animation cels, you often want to change the colors at the same time for each type of paint used in that screen. many. In order to make different color changes in multiple locations, it is necessary to label the regions, but the amount of information required for labeling varies depending on the subject of the image.

以上をまとめると次のようになる。 The above can be summarized as follows.

画像の1ドツトあたりの情報量は対象によつ
て変化する。
The amount of information per dot of an image varies depending on the object.

画像メモリの1ドツトあたりの情報量は8の
倍数であのが望ましい。
The amount of information per dot in the image memory is preferably a multiple of 8.

画像のラベルの情報量は対象によつて変化す
る。
The amount of information in an image label varies depending on the object.

本発明は上記ないしの点に着目してなされ
たもので、本発明を要約すれば、画像を構成する
各画素の濃度データおよびこの濃度データを変更
する領域に対応する画素を判別するラベルデータ
を画像が有している情報量に対応して夫々設定さ
れた所定のデータ長を有する一つのデータとして
記憶する濃度ラベル兼用メモリと、この濃度ラベ
ル兼用メモリの出力データが導入され、上記濃度
データを変更する領域に相当する画素の濃度デー
タを変更して出力するルツクアツプテーブルと、
このルツクアツプテーブルの出力に基づいて画像
を表示する表示手段と、上記濃度ラベル兼用メモ
リにラベル情報を書き込む手段とを備え、設定さ
れたラベルに対応した画像の領域の色彩変更およ
び彩色を行うことを特徴とする画像処理装置であ
る。すなわち、本発明は、画像メモリとラベル情
報メモリの両方の機能を有する濃度ラベル兼用メ
モリを用い、メモリの使用効率を高めるようにし
たものである。
The present invention has been made by focusing on the above-mentioned points. To summarize, the present invention can be summarized as follows: density data of each pixel constituting an image and label data for identifying a pixel corresponding to an area where this density data is to be changed. A density label memory that stores data as a single piece of data having a predetermined data length set in accordance with the amount of information contained in an image, and output data from this density label memory are introduced, and the density data can be stored as one piece of data. A lookup table that changes and outputs the density data of pixels corresponding to the area to be changed;
A display device for displaying an image based on the output of the lookup table and a device for writing label information into the density label memory, and changing and coloring an area of the image corresponding to the set label. This is an image processing device characterized by: That is, the present invention uses a density label dual-purpose memory that has the functions of both an image memory and a label information memory to improve memory usage efficiency.

(作用) 本発明において、濃度ラベル兼用メモリは画像
の情報と、ラベル情報のいずれをも記憶できる。
濃度ラベル兼用メモリが例えばm×n×8kビツ
ト(m.nは画像の縦横の分解能、kは整数)で構
成されているとすると、画像情報をiビツトとし
た時、ラベルの情報を濃度ラベル兼用メモリの無
駄な部分すなわち8k−iビツト中に蓄える。そ
の結果、画像の1ドツトあたりの情報量が少なく
てよい場合は、ラベルの情報量を増やすことがで
き、画像とラベルの情報量の最適な組合せを選べ
ることから、濃度ラベル兼用メモリを効果よく利
用することができる。
(Function) In the present invention, the density label memory can store both image information and label information.
For example, if the density label memory is composed of m x n x 8k bits (mn is the vertical and horizontal resolution of the image, and k is an integer), when the image information is i bits, the label information is stored in the density label memory. It is stored in the wasted part of 8k-i bits. As a result, if the amount of information per dot in the image is small, the amount of information in the label can be increased, and the optimal combination of image and label information can be selected, making the density label memory more effective. can be used.

(実施例) 以下、添付図面を参照して本発明の実施例を説
明する。
(Example) Hereinafter, an example of the present invention will be described with reference to the accompanying drawings.

第1図に赤(R)、緑(G)、青(B)の各デー
タに対して、各8ビツトの濃度ラベル兼用メモリ
22を備えた装置を示す。濃度ラベル兼用メモリ
22の出力D24はルツクアツプテーブル23の
アドレスに接続され、ルツクアツプテーブル23
の出力はラツチ27を介してD/Aコンバータ2
4に接続される。この例ではルツクアツプテーブ
ル23の出力はR,G,B各8ビツト(0〜255)
である。
FIG. 1 shows an apparatus equipped with an 8-bit density label memory 22 for each of red (R), green (G), and blue (B) data. The output D24 of the density label memory 22 is connected to the address of the lookup table 23.
The output of
Connected to 4. In this example, the output of the lookup table 23 is 8 bits each for R, G, and B (0 to 255).
It is.

D/Aコンバータ24の出力(ビデオアナログ
信号)は、CRTに送られ、画像表示が行なわれ
る。濃度ラベル兼用メモリ22および主記憶装置
26はバス28を通じて、マイクロプロセツサ2
5からアクセスされる。ルツクアツプテーブル2
3はゲート29、バス28を通じてマイクロプロ
セツサ25からアクセスされる。
The output (video analog signal) of the D/A converter 24 is sent to the CRT for image display. The concentration label memory 22 and the main memory 26 are connected to the microprocessor 2 through a bus 28.
Accessed from 5. Lookup table 2
3 is accessed from the microprocessor 25 through the gate 29 and the bus 28.

次に本装置の処理について説明する。まず、濃
度ラベル兼用メモリ22にスキヤナー、TVカメ
ラ等の手段を用い画像を濃度ラベル兼用メモリ2
2に入力する。この段階では濃度ラベル兼用メモ
リ22は1ドツトあたり、R,G,B各8ビツト
の情報を蓄えることとする。ところが、先に述べ
たように、実際に、1ドツトあたり必要な情報量
は8ビツトより小さく、また画像の種類により異
なる。例えば、着物の地と帯の色を変更したい場
合、画像情報はR,G,B各6ビツト持つておれ
ば充分である。そこで、濃度ラベル兼用メモリ2
2の上位6ビツトは画像情報用にし、下位2ビツ
トをラベル情報蓄積用にする。第2図に6ビツト
を画像情報用に、2ビツトをラベル情報用に使用
した例を示す。この場合、1色あたりの画像情報
iは0≦i<26、ラベル情報lは0≦l<22の範
囲を取ることができ、また濃度ラベル兼用メモリ
22の出力は22×i+lとなる。第3図に領域分
けされたラベル情報用メモリの例を示す。ラベル
情報用メモリには、R,G,Bそれぞれ同じ数
値、例えば着物の地の領域にはl=1を、帯の領
域にはl=2を、それ以外の領域にはl=0をマ
イクロプロセツサを用いて書き込む。このデータ
を書き込む方法は、例えば、CRT上にカーソル
を表示し、そのカーソルに対応し、ラベル情報用
メモリにそれぞれの数値を書き込むようにし、そ
のカーソルを着物の地の領域上や、帯の領域上を
動かし、ラベル情報用メモリに領域に対応した数
値を書き込んでいく方法がある。
Next, the processing of this device will be explained. First, an image is transferred to the density label memory 22 using a scanner, a TV camera, etc.
Enter 2. At this stage, the density label memory 22 stores information of 8 bits each of R, G, and B for each dot. However, as mentioned above, the amount of information required per dot is actually smaller than 8 bits, and varies depending on the type of image. For example, if you want to change the background and color of the obi of a kimono, it is sufficient to have 6 bits each of R, G, and B image information. Therefore, the density label memory 2
The upper 6 bits of 2 are used for image information, and the lower 2 bits are used for storing label information. FIG. 2 shows an example in which 6 bits are used for image information and 2 bits are used for label information. In this case, the image information i per color can take the range 0≦i<2 6 , the label information l can take the range 0≦l<2 2 , and the output of the density label memory 22 is 2 2 ×i + l. Become. FIG. 3 shows an example of label information memory divided into areas. In the label information memory, the same numerical values for R, G, and B are stored, for example, l=1 for the area of the kimono, l=2 for the obi area, and l=0 for the other areas. Write using a processor. The method for writing this data is, for example, to display a cursor on the CRT, write each numerical value corresponding to that cursor into the label information memory, and then move the cursor over the kimono ground area or obi area. There is a method of moving the top and writing a numerical value corresponding to the area into the label information memory.

次に、実際に色彩変更を行う方法を示す。 Next, we will show how to actually change the color.

濃度ラベル兼用メモリ22の出力は22×i+l
となり、l=0の場合が背景、l=1の場合が着
物の地の領域、l=2の場合が帯の領域であるの
で、R,G,B用の各ルツクアツプテーブル23
のアドレスを22×i′+l′とした時(0≦i′<26、0
≦l′<22)、l′=1のアドレスを持つルツクアツプ
テーブル23を変更すれば、着物の地の色のみ変
更することができ、また、l′=2のアドレスをも
つルツクアツプテーブル23を変更すれば、帯の
色のみ変更することができる。
The output of the density label memory 22 is 2 2 ×i+l
The case where l=0 is the background, the case where l=1 is the kimono ground area, and the case where l=2 is the obi area, so each lookup table 23 for R, G, and B is
When the address of is 2 2 ×i′+l′ (0≦i′<2 6 , 0
≦l′<2 2 ), by changing the lookup table 23 with the address l′=1, it is possible to change only the color of the background of the kimono; By changing 23, only the color of the band can be changed.

第4図に着物の地色(l′=1)をより明るく帯
(l′=2)を暗く色彩変更するルツクアツプテー
ブル23の例を示す。
FIG. 4 shows an example of the lookup table 23 for changing the background color (l'=1) of a kimono to a brighter color and the obi (l'=2) darker.

次にアニメーシヨンのセル画を彩色する場合の
例を示す。
Next, an example of coloring animation cels will be shown.

原画は第5図に示すような線画とする。着物の
例と同様にまず、濃度ラベル兼用メモリ22にス
キヤナー、TVカメラ等の手段を用い、画像を濃
度ラベル兼用メモリ22に入力する。この段階で
は濃度ラベル兼用メモリ22は1ドツトあたり
R,G,B各8ドツトの情報を蓄えることができ
る。ところが、線画の場合は1ドツトあたりの情
報量は1ビツトで充分である。そこで濃度ラベル
兼用メモリ22の上位ビツトは画像情報用にし、
下位7ビツトをラベル情報蓄積用にする。R,
G,B各8ビツトの濃淡情報から、R,G,B各
1ビツトの画像情報を作成するには原画が白黒画
像であるため、適当な閥値を設定し、2値化を行
えばよい。第6図に上位1ビツトを画像情報用
に、下位7ビツトをラベル情報用に設定した濃度
ラベル兼用メモリ22の例を示す。この場合R,
G,B各1色あたりの画像情報iはi=0、1を
とり、l=0が例えば、黒線、i=1が白い背景
領域にあたる。またラベル情報lは0≦l<27
範囲をとることができる。その結果、濃度ラベル
兼用メモリ22の出力は27×i+lとなる。ラベ
ル情報用メモリには、マイクロプロセツサを用
い、R,G,Bそれぞれ同じ数値を書き込む。ラ
ベル情報を書き込む方法としては画像情報用メモ
リに蓄えられた線画をもとに塗りつぶしていく方
法が考えられる。第7図に領域分けされたラベル
情報用メモリの例を示す。この例では13個所の領
域が設定されている。
The original drawing shall be a line drawing as shown in FIG. As in the kimono example, first, an image is input to the density label memory 22 using a scanner, a TV camera, or the like. At this stage, the density label memory 22 can store information for each of 8 R, G, and B dots per dot. However, in the case of line drawings, one bit is sufficient for the amount of information per dot. Therefore, the upper bits of the density label memory 22 are used for image information.
The lower 7 bits are used to store label information. R,
To create image information of 1 bit each for R, G, and B from shading information of 8 bits each for G and B, since the original image is a black and white image, it is only necessary to set an appropriate threshold value and perform binarization. . FIG. 6 shows an example of the density label memory 22 in which the upper 1 bit is set for image information and the lower 7 bits are set for label information. In this case R,
The image information i for each color of G and B is i=0 and 1, where l=0 corresponds to a black line and i=1 corresponds to a white background area, for example. Further, the label information l can take a range of 0≦l< 27 . As a result, the output of the density label memory 22 becomes 2 7 ×i+l. A microprocessor is used to write the same numerical value for each of R, G, and B in the label information memory. A possible method for writing label information is to fill in the line drawings stored in the image information memory. FIG. 7 shows an example of label information memory divided into areas. In this example, 13 areas are set.

次に以上の処理を行つた後実際に色付けする方
法を示す。濃度ラベル兼用メモリの出力は27×i
+lとなり、i=1の領域が背景の白地の部分で
あるので、彩色したい領域のラベル番号をl′とし
(0≦l″<127)アドレスが27+l″で表される各R,
G,Bのルツクアツプテーブル23の内容を彩色
したい色に設定すれば、ラベルl″の領域が彩色さ
れる。ルツクアツプテーブル23の出力はR,
G,B各8ビツトなので、224通りの色を表示で
きる。またルツクアツプテーブル23に書き込む
データはR,G,B各1バイトの数値だけであ
り、非常に高速である。l″を適当に選択し、R,
G,B各ルツクアツプテーブル23に3バイトの
色彩データを書き込むだけで高速に、自由に彩色
が可能である。第8図にラベル番号1,2,3の
領域を夫々赤、青、緑に彩色するルツクアツプテ
ーブル23の例を示す。またルツクアツプテーブ
ル23のアドレスφ〜27−1までのデータは、線
の領域に対応するので黒線にしたい場合は全部0
にしておけばよい。
Next, we will show how to actually color the image after performing the above processing. The output of the concentration label memory is 2 7 ×i
+l, and since the area with i=1 is the white part of the background, let the label number of the area you want to color be l'(0≦l''<127) and each R whose address is 2 7 +l'',
If you set the contents of the lookup table 23 for G and B to the desired color, the area labeled l'' will be colored.The output of the lookup table 23 will be R,
Since G and B are each 8 bits, 224 colors can be displayed. Furthermore, the data written to the lookup table 23 is only one byte of numerical value each for R, G, and B, and the processing speed is very high. Select l″ appropriately, R,
By simply writing 3 bytes of color data into each of the G and B lookup tables 23, coloring can be done quickly and freely. FIG. 8 shows an example of the lookup table 23 that colors areas with label numbers 1, 2, and 3 in red, blue, and green, respectively. Also, the data from address φ to 27-1 in the lookup table 23 corresponds to the line area, so if you want to make it a black line, all the data is 0.
Just leave it as .

(発明の効果) 以上の説明から明らかなように本発明の装置
は、画像メモリとラベル情報記憶メモリのどちら
にでも使用できる兼用メモリを用いたので、入力
画像の種類に応じ、画像の濃淡情報を多くした
り、ラベル数を多くしたり、自由に、効率よくメ
モリを使用することができ、システムの規模をお
さえ、低価格な画像処理装置をつくることができ
る。また、高速に書き換え可能なルツクアツプテ
ーブルを用いているので、設定されたラベル数に
応じた複数の領域を高速に色変更することができ
る。
(Effects of the Invention) As is clear from the above description, the apparatus of the present invention uses a dual-purpose memory that can be used as both an image memory and a label information storage memory, so that it can process image shading information according to the type of input image. It is possible to increase the number of labels, increase the number of labels, use memory freely and efficiently, reduce the scale of the system, and create a low-cost image processing device. Furthermore, since a lookup table that can be rewritten at high speed is used, it is possible to quickly change the color of a plurality of areas according to the set number of labels.

なお、この実施例ではカラー情報をR,G,B
の3原色に分解して記憶する装置を例にとつた
が、輝度、色差等他の色分解を用いた装置にも適
用可能である。
Note that in this embodiment, the color information is R, G, B.
Although we have taken as an example a device that separates and stores the three primary colors, it is also applicable to devices that use other color separations such as luminance and color difference.

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

第1図は本発明に係る画像処理装置の一部のブ
ロツク構成図、第2図は第1図の画像処理装置の
一つの実施例に使用される濃度ラベル兼用メモリ
の説明図、第3図は濃度ラベル兼用メモリ内での
一つの処理画像のラベル情報の説明図、第4図は
第1図の画像処理装置の上記一つの実施例に使用
されるルツクアツプテーブルの特性図、第5図は
いま一つの処理画像の説明図、第6図は第1図の
画像処理装置のいま一つの実施例に使用される濃
度ラベル兼用メモリの説明図、第7図は濃度ラベ
ル兼用メモリ内での第5図の処理画像のラベル情
報説明図、第8図は第6図の実施例に使用される
ルツクアツプテーブルの特性図、第9図は従来の
画像処理装置の一部のブロツク構成図である。 1……論理画像メモリ、2……画像メモリ、3
……ルツクアツプテーブル、4……D/Aコンバ
ータ、5……プロセツサ、6……主記憶部、7…
…ラツチ回路、22……ラベル兼用メモリ、23
……ルツクアツプテーブル、24……D/Aコン
バータ、25……プロセツサ、26……主記憶
部、27……ラツチ回路。
FIG. 1 is a block diagram of a part of the image processing apparatus according to the present invention, FIG. 2 is an explanatory diagram of a density label memory used in one embodiment of the image processing apparatus of FIG. 1, and FIG. 4 is an explanatory diagram of the label information of one processed image in the density label memory, FIG. 4 is a characteristic diagram of the lookup table used in the above embodiment of the image processing apparatus of FIG. 1, and FIG. 6 is an explanatory diagram of another processed image. FIG. 6 is an explanatory diagram of the density label memory used in another embodiment of the image processing apparatus shown in FIG. 1. FIG. FIG. 5 is an explanatory diagram of label information of a processed image, FIG. 8 is a characteristic diagram of a lookup table used in the embodiment of FIG. 6, and FIG. 9 is a block diagram of a part of a conventional image processing device. be. 1...Logical image memory, 2...Image memory, 3
...Lookup table, 4...D/A converter, 5...Processor, 6...Main memory, 7...
... Latch circuit, 22 ... Label memory, 23
...Lookup table, 24...D/A converter, 25...Processor, 26...Main memory section, 27...Latch circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 画像を構成する各画素の濃度データおよびこ
の濃度データを変更する領域に対応する画素を判
別するラベルデータを画像が有している情報量に
対応して夫々設定された所定のデータ長を有する
一つのデータとして記憶する濃度ラベル兼用メモ
リと、この濃度ラベル兼用メモリの出力データが
導入され、上記濃度データを変更する領域に相当
する画素の濃度データを変更して出力するルツク
アツプテーブルと、このルツクアツプテーブルの
出力に基づいて画像を表示する表示手段と、上記
濃度ラベル兼用メモリにラベル情報を書き込む手
段とを備え、設定されたラベルに対応した画像の
領域の色彩変更および彩色を行うことを特徴とす
る画像処理装置。
1 The image has density data of each pixel constituting the image and label data for identifying the pixel corresponding to the area where this density data is to be changed, each having a predetermined data length set in accordance with the amount of information contained in the image. A density label memory that stores the data as one data, a lookup table that changes and outputs the density data of pixels corresponding to the area where the density data is to be changed, and a lookup table that changes and outputs the density data of pixels corresponding to the area where the density data is to be changed is introduced. It is equipped with a display means for displaying an image based on the output of the lookup table and a means for writing label information into the density label memory, and is capable of changing and coloring an area of the image corresponding to a set label. Characteristic image processing device.
JP29449085A 1985-12-25 1985-12-25 Picture processor Granted JPS62151986A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP29449085A JPS62151986A (en) 1985-12-25 1985-12-25 Picture processor
US06/946,482 US4878178A (en) 1985-12-25 1986-12-24 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29449085A JPS62151986A (en) 1985-12-25 1985-12-25 Picture processor

Publications (2)

Publication Number Publication Date
JPS62151986A JPS62151986A (en) 1987-07-06
JPH0348553B2 true JPH0348553B2 (en) 1991-07-24

Family

ID=17808438

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29449085A Granted JPS62151986A (en) 1985-12-25 1985-12-25 Picture processor

Country Status (1)

Country Link
JP (1) JPS62151986A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2760672B2 (en) * 1991-06-03 1998-06-04 シャープ株式会社 Image processing device
JP6197478B2 (en) * 2013-08-23 2017-09-20 ブラザー工業株式会社 Image processing device

Also Published As

Publication number Publication date
JPS62151986A (en) 1987-07-06

Similar Documents

Publication Publication Date Title
JP2582999B2 (en) Color palette generation method, apparatus, data processing system, and lookup table input generation method
JPS6025794B2 (en) color graphic display device
JPS61107392A (en) Image processing system
JPH0850659A (en) Apparatus and method of ntsc-type display of full-motion animation
JP2578170B2 (en) Image display device
US5341472A (en) Efficient area description for raster displays
JPH0348553B2 (en)
JPH0782315B2 (en) Image processing device
US5920302A (en) Display scrolling circuit
JPH0767136B2 (en) Image processing device
JP2508544B2 (en) Graphic display device
JPH06343142A (en) Image display device
GB2243061A (en) Image creation system
JPS62222373A (en) Image processor
JPS6292070A (en) Memory system for picture data
JPH0728444A (en) Method for revising tone of image data
JPH06180573A (en) Image forming method
JPH03233495A (en) Image display device
JPH0497390A (en) Displaying device
JPH0224783A (en) Image display device
JPS6286467A (en) Geometric pattern converting method
JPH0812696B2 (en) Image processing device
JPS62165688A (en) Display unit
JPH0314079A (en) Graphic character superposing display system
JPS6252679A (en) Image processor