JP2619952B2 - Gradation conversion method - Google Patents
Gradation conversion methodInfo
- Publication number
- JP2619952B2 JP2619952B2 JP1119181A JP11918189A JP2619952B2 JP 2619952 B2 JP2619952 B2 JP 2619952B2 JP 1119181 A JP1119181 A JP 1119181A JP 11918189 A JP11918189 A JP 11918189A JP 2619952 B2 JP2619952 B2 JP 2619952B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- gradation
- display
- color
- point
- 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 - Lifetime
Links
Landscapes
- Digital Computer Display Output (AREA)
- Controls And Circuits For Display Device (AREA)
Description
【発明の詳細な説明】 [産業上の利用分野] 本発明は、パーソナルコンピュータなどで使用される
液晶表示装置、プラズマ表示装置などの平面型ディスプ
レイに好適な階調変換方式およびメモリ素子に関する。Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a gradation conversion method and a memory element suitable for a flat display such as a liquid crystal display device and a plasma display device used in a personal computer or the like.
[従来の技術] パーソナルコンピュータ(以下パソコンと略す)やワ
ークステーションなどでは、カラーCRTを用いたカラー
表示が一般的である。そして、多くのアプリケーション
ソフトは、カラー表示に対応して開発されている。[Prior Art] In a personal computer (hereinafter abbreviated as a personal computer) or a workstation, a color display using a color CRT is generally used. Many application softwares are developed for color display.
一方、機器の小型化のニーズに対応して、ラップトッ
プ形(ひざのせ形)と呼ばれるパソコンが数多く製品化
されている。ラップトップ形では、重量を軽くするため
と、装置を薄くするために、表示装置には、通常のCRT
ではなく、液晶やプラズマパネルが用いられる。以下、
これらを総称してパネルディスプレイと呼ぶことにす
る。 ところで、パネルディスプレイは、一部でカラー
タイプの液晶パネルが開発されているものの、まだ高価
であり、通常は単色表示である。従って、パネルディス
プレイを持つラップトップパソコン上で、カラーCRT用
のカラーアプリケーションを動作させると、色の違いが
全く見えなくなるという不都合が生じる。On the other hand, in response to the need for miniaturization of equipment, a large number of personal computers called laptop type (kneeling type) have been commercialized. In the laptop type, to reduce the weight and to make the device thinner, the display device uses a normal CRT
Instead, a liquid crystal or a plasma panel is used. Less than,
These are collectively called a panel display. By the way, the panel display is still expensive, although a color type liquid crystal panel has been developed in part, and is usually a single color display. Therefore, when a color application for a color CRT is operated on a laptop personal computer having a panel display, there is an inconvenience that a color difference is completely invisible.
そのため、パネルディスプレイでは、表示ドットの点
灯時間を変化させるなどして、階調表示を行なわせ、色
の違いを階調の違いとして表わすことが多い。このと
き、色情報をどのように階調情報へ変換するかが、表示
の見やすさという点で重要である。For this reason, in a panel display, gradation display is often performed by changing the lighting time of a display dot, and a color difference is often expressed as a gradation difference. At this time, how to convert the color information into the gradation information is important in viewability of display.
第4図は、例えば、情報処理装置において階調変換を
行なう場合の一般的な構成を表わしたブロック図であ
る。FIG. 4 is a block diagram showing a general configuration for performing gradation conversion in an information processing apparatus, for example.
同図において、1はCPU、2はCPUバス、3は表示コン
トローラ、5は表示内容を格納する表示メモリ、7は論
理色データ9を物理色データ10に変換するためのパレッ
ト回路、8は物理色データ10を階調データ11に変換する
ための階調変換回路、12はパネルディスプレイである。In the figure, 1 is a CPU, 2 is a CPU bus, 3 is a display controller, 5 is a display memory for storing display contents, 7 is a pallet circuit for converting logical color data 9 into physical color data 10, and 8 is a physical circuit. A gradation conversion circuit for converting the color data 10 into gradation data 11, and 12 is a panel display.
第5図はパレット回路7の構成例を示したものであ
る。FIG. 5 shows a configuration example of the pallet circuit 7.
同図において、パレット回路7は、表示メモリ5の出
力データである論理色データ9をアドレス入力とし、物
理色データ10をデータ出力とする一種のRAMである。第
5図の例では、表示メモリ5はプレーン0〜3の4プレ
ーン構成であり、論理色データ9は16色までの色を区別
できる。パレット回路7の内部RAMは、本例のように、
光の3原色であるRGB(Red,Green,Blue)について、そ
れぞれ6ビットの輝度情報をデータとして持たせた場合
は、 26×26×26=262,144 もの色を物理色データ10として出力できる。このとき、
パレット回路7のアドレス入力相当である論理色データ
は、4ビットであり、16色を表わせるので、本図におけ
るパレット回路7は、 16色を262,144色に変換する回路 あるいは、 262,144色中16色を表示する回路 と、言い換えることができる。このパレット回路7を
用いることで、表示メモリ5の内容を書き換えることな
く、表示色の変更ができるため、高速化が図れる。In FIG. 1, a pallet circuit 7 is a kind of RAM that receives logical color data 9 as output data of a display memory 5 as an address input and physical color data 10 as a data output. In the example of FIG. 5, the display memory 5 has a four-plane configuration of planes 0 to 3, and the logical color data 9 can distinguish up to 16 colors. The internal RAM of the pallet circuit 7 is, as in this example,
If RGB (Red, Green, Blue), which are the three primary colors of light, have 6-bit luminance information as data, 26 × 26 × 26 = 262,144 colors are output as physical color data 10 it can. At this time,
The logical color data equivalent to the address input of the pallet circuit 7 is 4 bits and can represent 16 colors. Therefore, the pallet circuit 7 in this figure is a circuit for converting 16 colors to 262,144 colors or 16 of 262,144 colors. In other words, a circuit that displays By using the pallet circuit 7, the display color can be changed without rewriting the contents of the display memory 5, so that the speed can be increased.
パレット機能は、カラールックアップテーブルとも呼
ばれ、特公昭54−37943号公報に詳細が記載されてい
る。The palette function is also called a color look-up table, and is described in detail in Japanese Patent Publication No. 54-37943.
さて、CRTにおいては、微妙な色表現が可能なため、
このような色数の多い情報をそのまま表示することがで
きる。しかし、パネルディスプレイでは、4〜16階調程
度が限度であり、これ以上階調を増やすことは技術的に
難しく、また、使用者が階調の区別を付けにくくなると
いう制約がある。By the way, in CRT, since subtle color expression is possible,
Such information having a large number of colors can be displayed as it is. However, the panel display has a limit of about 4 to 16 gradations, and it is technically difficult to increase the gradation further, and there is a restriction that it is difficult for a user to distinguish the gradation.
第6図は、上記に得られた262,144色の情報を8つの
階調に変換する階調変換回路8の一例である。FIG. 6 shows an example of the gradation conversion circuit 8 for converting the information of 262,144 colors obtained above into eight gradations.
本例では、RGBの各6ビットを2ビットずつオア回路8
1〜83によりオアすることによって、3ビットの階調デ
ータ11を作成する。In this example, each of the 6 bits of RGB is divided into two bits by an OR circuit 8.
By ORing with 1 to 83, 3-bit gradation data 11 is created.
なお、このようなカラーの表示データを白黒のディス
プレイに表示する際の色の割付けに関する技術の一例
は、特開昭59−105684号公報に記載されている。また、
パネルディスプレイで階調表示を行なう方法の1つが、
特階昭58−57192号公報に記載されている。An example of a technique relating to color assignment when such color display data is displayed on a monochrome display is described in Japanese Patent Application Laid-Open No. 59-105684. Also,
One of the methods of performing gradation display on a panel display is as follows.
It is described in JP-B-58-57192.
ところで、表示メモリ5に用いるのに好適なメモリ素
子としてデュアルポートメモリがある。第7図に、デュ
アルポートメモリのブロック図を示す。Incidentally, there is a dual-port memory as a memory element suitable for use in the display memory 5. FIG. 7 shows a block diagram of the dual port memory.
同図において、25はアドレスバッファ、26はパラレル
データ入出力バッファ、27は行デコーダ、28は列デコー
ダ、29はメモリセル、30はデータレジスタ、31はデータ
セレクタ、32はシリアルデータ入出力バッファ、33はア
ドレスポインタである。In the figure, 25 is an address buffer, 26 is a parallel data input / output buffer, 27 is a row decoder, 28 is a column decoder, 29 is a memory cell, 30 is a data register, 31 is a data selector, 32 is a serial data input / output buffer, 33 is an address pointer.
パラレルポート35からのデータアクセスは、一般のDR
AM(Dynamic Ram)と同じである。すなわち、最初にア
ドレスポート34から入力する行アドレスは、アドレスバ
ッファ25を通った後、行デコーダ27に入力され、メモリ
セル29の1行を選択し、そのデータを読み出すために用
いられる。2番目にアドレスポート34から入力する列ア
ドレスは、アドレスバッファ25を通った後、列デコーダ
28に入力され、メモリセル29から読み出した1行分のデ
ータから、1画素を表わす1ビットのパラレルデータを
選択するのに用いられる。該1ビットのパラレルデータ
は、パラレルデータ入出力バッファ26を通った後、パラ
レルポート35から出力される。Data access from the parallel port 35 is a general DR
Same as AM (Dynamic Ram). That is, the row address first input from the address port 34 is input to the row decoder 27 after passing through the address buffer 25, and is used to select one row of the memory cells 29 and read the data. The second column address input from the address port 34 passes through the address buffer 25, and then the column decoder
It is used to select 1-bit parallel data representing one pixel from one row of data input to the memory cell 28 and read from the memory cell 29. The 1-bit parallel data is output from the parallel port 35 after passing through the parallel data input / output buffer 26.
一方、シリアルポート36からのデータアクセスは、以
下に述べるように行なう。まず、アドレストポート34よ
り行アドレスを入力し、メモリセル29の1行を選択す
る。このとき、転送制御信号37をアクティブにすること
によって、メモリセル29から読み出した1行分のデータ
をデータレジスタ30に転送し、記憶する。アドレスポイ
ンタ33は、クロック信号38が1パルス入力される毎にア
ドレスポインタ値39をカウントアップする。データセレ
クタ31は、アドレスポインタ値39に従ってデータレジス
タ30のデータから1ビットずつ順に選択し、シリアルデ
ータバッファ32を通してシリアルデータポート36にデー
タを出力する。On the other hand, data access from the serial port 36 is performed as described below. First, a row address is input from the addressed port 34, and one row of the memory cells 29 is selected. At this time, by activating the transfer control signal 37, one row of data read from the memory cell 29 is transferred to the data register 30 and stored. The address pointer 33 counts up the address pointer value 39 every time one pulse of the clock signal 38 is input. The data selector 31 sequentially selects one bit at a time from the data in the data register 30 in accordance with the address pointer value 39, and outputs the data to the serial data port 36 through the serial data buffer 32.
上述のデュアルポートメモリにおいて、例えば、表示
画面の1ラインのデータをメモリセル29の1行に記憶し
ておけば、各ラインの表示に先だって1度データレジス
タ30への行データ転送を行ない、その後は、クロック信
号38を入力するだけで表示データを順に出力することが
できる。このようなデュアルポートメモリについては、
特開昭59−131979号公報において詳しく論じられてい
る。In the above-described dual port memory, for example, if data of one line of the display screen is stored in one row of the memory cell 29, row data is transferred to the data register 30 once before displaying each line, and thereafter, Can output display data in sequence only by inputting the clock signal 38. For such dual port memory,
This is discussed in detail in JP-A-59-131979.
[発明が解決しようとする課題] 先に述べた階調変換は、言い換えると、例えば、26万
色の色データを、わずか8階調ないし16階調に圧縮する
訳であるから、実際は、別の色であっても同一の階調に
なってしまい、ユーザは画面上で色の違いを認識できな
い可能性がある。これを、第6図の階調変換回路8を用
いて説明する。[Problems to be Solved by the Invention] In other words, the above-described gradation conversion compresses, for example, color data of 260,000 colors into only 8 to 16 gradations. May have the same gradation even if the color is the same, and the user may not be able to recognize the difference in color on the screen. This will be described using the gradation conversion circuit 8 in FIG.
例えば、物理色データ10のうち、R20〜R25がすべて
“1"で、G20〜G25およびB20〜B25がすべて“0"の時と、
B20〜B25がすべて“1"でG20〜G25およびR20〜R25がすべ
て“0"の時とでは、どちらも階調データ11の20〜22が
“1"となり、パネルディスプレイ12上での表示輝度は同
一となってしまう。しかし、前者はR、すなわち赤を表
示しようとしている場合であり、一方、後者はB、すな
わち青を表示しようとしている場合であるので、実際は
全く異なった色である。このように、異なった色を同じ
階調に変換してしまうという問題は、他の変換回路を用
いても、色の組合せによっては必ず発生する。For example, among the physical color data 10, in R2 0 ~R2 5 are all "1", when the G2 0 ~G2 5 and B2 0 ~ B2 5 are all "0" and,
B2 0 ~ B2 in 5 the case of all "1" in the G2 0 ~G2 5 and R2 0 ~R2 5 are all "0", both 2 0-2 2 becomes "1" of the gray scale data 11, The display luminance on the panel display 12 becomes the same. However, the former is a case in which R is to be displayed, that is, red, while the latter is a case in which B, that is, blue is to be displayed, so the colors are actually completely different. As described above, the problem of converting different colors into the same gradation always occurs depending on the combination of colors even if another conversion circuit is used.
また、仮りに、パレット回路7を取り去り、論理色デ
ータ9をそのまま階調データ11に接続した場合では、ソ
フトウェアが表示色を変更しようとして、パレット回路
7に書き込みを行なっても、無視されるだけで、表示画
面は変化しない。従って、ソフトウェアの見た目の互換
性が損なわれるという問題が生ずるため、パレット回路
7は、構成上必要であり、階調データ11はあくまで物理
色データ10から作成しなければならない。If the pallet circuit 7 is removed and the logical color data 9 is directly connected to the gradation data 11, even if the software attempts to change the display color and writes to the pallet circuit 7, it is ignored. Thus, the display screen does not change. Therefore, there arises a problem that the compatibility of software appearance is impaired. Therefore, the pallet circuit 7 is necessary in the configuration, and the gradation data 11 must be created from the physical color data 10.
また、上記のデュアルポートメモリは、表示画面への
表示データを容易に得られる点で優れているが、表示す
るラインと同時に他のラインの表示データを得ることが
できない。このため、表示するラインと他のラインの表
示データを比較して処理するためには、1ライン分のデ
ータを記憶しておく手段を別に設けなければならないと
いう問題点があった。The dual port memory is excellent in that display data on a display screen can be easily obtained, but cannot obtain display data of another line simultaneously with a line to be displayed. For this reason, in order to compare and process the display data of the line to be displayed and the display data of another line, there is a problem that a means for storing the data of one line must be provided separately.
本発明の目的は、このような問題を解決し、異なった
色が同じ階調に変換された場合にも色の境界を視覚的に
認識できる階調変換方式を提供することにある。SUMMARY OF THE INVENTION An object of the present invention is to solve such a problem and to provide a gradation conversion method capable of visually recognizing a color boundary even when different colors are converted into the same gradation.
また、本発明の他の目的は、そのような階調変換を実
現した情報処理装置を提供することにある。Another object of the present invention is to provide an information processing apparatus that realizes such gradation conversion.
また、本発明のさらに他の目的は、表示するラインと
同時に他のラインの表示データを得ることができるメモ
リ素子を提供することにある。Still another object of the present invention is to provide a memory device capable of obtaining display data of another line simultaneously with a line to be displayed.
[課題を解決するための手段] 上記目的を達成するため本発明は、カラー表示データ
を階調表示データに変換する階調変換方式であって、隣
接する表示領域で異なった色が同じあるいは近い輝度の
階調に対応付けられたことを検出する手段と、前記検出
結果に応じて、色の境界線を前記階調と1段階以上輝度
の異なる階調データとする手段とを備えることを特徴と
する。Means for Solving the Problems In order to achieve the above object, the present invention is a gradation conversion method for converting color display data into gradation display data, wherein different colors are the same or close in adjacent display areas. A means for detecting that the color is associated with the gradation of the luminance; and a means for setting a boundary line of the color to gradation data having a luminance different from the gradation by one or more steps according to the detection result. And
また、本発明は、より具体的には、カラー表示データ
を階調表示データに変換する階調変換方式であって、目
的の領域についてカラー表示データを階調変換する手
段、および、前記目的の領域に隣接する領域についてカ
ラー表示データを階調データに変換する手段と、前記目
的の領域とこれに隣接する領域について、両者のカラー
表示データを比較すると共に、両者の階調を比較して、
両者の表示色が異なっているが、階調が同等もしくは近
似する輝度に変換されている状態を検出する手段と、前
記状態が検出されたとき、両者の領域の境界線を、両者
の領域と識別可能な輝度の階調データに変更する手段と
を備えることを特徴とする。More specifically, the present invention relates to a gradation conversion method for converting color display data into gradation display data, wherein the means for performing gradation conversion of the color display data for a target area, Means for converting color display data into gradation data for an area adjacent to the area, and comparing the two color display data for the target area and the area adjacent thereto, and comparing both gradations,
Means for detecting a state in which the two display colors are different, but the gradation is converted to the same or similar luminance, and when the state is detected, the boundary between the two areas is defined as the two areas. Means for changing to gradation data of identifiable luminance.
さらに、本発明は、カラー表示データを階調表示デー
タに変換する階調変換方式であって、 表示を行なう点の論理色データと共に、該点を含む表
示ラインとは異なる表示ラインに含まれて、該点と隣接
する点の論理色データを同時に出力する表示メモリと、 前記表示メモリから出力される2点の論理色データを
各々物理色データに変換するパレット回路と、 前記表示を行なう点について物理色データを階調デー
タに変換する手段、および、該表示を行なう点と同じ表
示ライン上で隣接する点について物理色データを階調デ
ータに変換する手段、ならびに、前記隣接する表示ライ
ン上にあって該表示を行なう点に隣接する点について物
理色データを階調データに変換する手段と、 前記表示を行なう点と隣接するライン上で隣接する点
について、および、該表示を行なう点と同一ライン上で
隣接する点についてそれぞれ物理色データを比較すると
共に、これらについて階調を比較して、表示を行なう点
と隣接する2点の少なくとも一方とが、表示色が異なる
にもかかわらず階調が同等もしくは近似する輝度に変換
されている状態を検出する手段と、 前記状態が検出されたとき、それぞれの点を含む表示
領域の境界線を、該境界線を挾む領域と識別可能な輝度
の階調データに変更する手段とを備えることを特徴とす
る。Furthermore, the present invention is a gradation conversion method for converting color display data into gradation display data, wherein the display data is included in a display line different from a display line including the point together with logical color data of a point to be displayed. A display memory for simultaneously outputting logical color data of a point adjacent to the point, a pallet circuit for converting two points of logical color data output from the display memory into physical color data, and a point for performing the display. Means for converting physical color data into gradation data, means for converting physical color data into gradation data for an adjacent point on the same display line as the point at which the display is performed, and Means for converting physical color data into gradation data for a point adjacent to the point to be displayed; and for a point adjacent to the point to be displayed on a line adjacent to the point to be displayed. And comparing the physical color data with respect to the point adjacent to the point on which the display is performed on the same line, and comparing the gradations of the physical color data. At least one of the display point and the two adjacent points is Means for detecting a state in which the gradation is converted to the same or similar luminance despite different display colors; and when the state is detected, a boundary line of a display area including each point is defined by the boundary. It is characterized by comprising means for changing the area between the lines to gray-scale data of luminance that can be identified.
本発明は、カラー表示データを階調データに変換する
のみならず、n階調の表示データをm階調(n>m)の
表示データに削減する階調変換方式であって、隣接する
表示領域で異なった階調が同じあるいは近い階調に対応
付けられたことを検出する手段と、n階調の表示データ
での階調の境界線を前記対応付けの階調とは異なる階調
とする手段を備えることを特徴とする階調変換方式を提
供する。The present invention is a gradation conversion method that not only converts color display data into gradation data but also reduces display data of n gradations into display data of m gradations (n> m). Means for detecting that different gray scales are associated with the same or similar gray scales in the region, and setting a gray scale boundary line in the display data of n gray scales to a gray scale different from the gray scale of the association. The present invention provides a gradation conversion method characterized by comprising means for performing a gradation conversion.
また、本発明は、n色の表示データをm色(n>m)
の表示データに削減する色変換方式であって、隣接する
表示領域で異なった色が同じあるいは近い色に対応付け
られたことを検出する手段と、n色の表示データでの色
境界線を前記対応付けの色とは異なる色とする手段を備
えることを特徴とする色変換方式を提供する。In addition, the present invention converts display data of n colors into m colors (n> m).
Means for detecting that different colors are associated with the same or similar colors in adjacent display areas, and a color boundary line in n-color display data. There is provided a color conversion method characterized by comprising means for making a color different from the color of association.
また、本発明は、上述した階調変換方式の実施に好適
に用いられる表示メモリとして、パラレルアクセスポー
トに加え、2つのシリアルアクセスポートを備えたメモ
リ素子を提供する。Further, the present invention provides a memory element having two serial access ports in addition to a parallel access port as a display memory suitably used for implementing the above-described gradation conversion method.
さらに、本発明は、上記階調変換方式または色変換方
式を用いた情報処理装置、特に、ラップトップ形のコン
ピュータをも提供する。Further, the present invention also provides an information processing apparatus using the gradation conversion method or the color conversion method, particularly a laptop computer.
[作 用] 隣接する表示領域で異なった色が同じ階調に変換され
たことを検出する手段は、ディスプレイ上に表示する点
の表示色および階調データと、該点の1つ上または1つ
下の点、および、1つ左または1つ右の点の表示色およ
び階調データとを比較し、異なった色が同じ階調に変換
されたかどうかを判定する。前記判定の結果、異なった
色が同じ階調に変換されたことが判明した場合には、上
記表示点の階調を該階調とは異なる階調に変換して、デ
ィスプレイパネル上に表示する。前記表示の結果、隣接
する表示領域で異なった色が同じ階調に変換された場合
にも、色の境界線の部分をディスプレイパネル上で視覚
的に容易に認識することができる。[Operation] The means for detecting that different colors have been converted into the same gradation in the adjacent display areas includes the display color and gradation data of a point to be displayed on the display, and the one above or one above the point. The display color and the gradation data at the next lower point and the one left or one right point are compared, and it is determined whether or not different colors have been converted into the same gradation. As a result of the determination, if it is found that different colors have been converted to the same gradation, the gradation of the display point is converted to a gradation different from the gradation and displayed on the display panel. . As a result of the display, even when different colors are converted into the same gradation in the adjacent display areas, it is possible to easily visually recognize the boundary of the color on the display panel.
また、従来のデュアルポートメモリに追加したデータ
レジスタ、データセレクタ、シリアルデータ入出力バッ
ファおよびシリアルデータポートは、表示ラインとは異
なる表示ラインのデータを記憶し、1ビットずつ順に出
力する。これにより、表示ラインのデータと同時に、表
示ラインとは異なる表示ラインのデータを容易に得るこ
とができる。The data register, data selector, serial data input / output buffer, and serial data port added to the conventional dual port memory store data of a display line different from the display line and sequentially output one bit at a time. Thereby, simultaneously with the data of the display line, the data of the display line different from the display line can be easily obtained.
[実施例] 以下、本発明の実施例について図面を参照して説明す
る。[Example] Hereinafter, an example of the present invention will be described with reference to the drawings.
第1図は、本発明の階調変換方式の一実施例の構成を
示すブロック図である。FIG. 1 is a block diagram showing a configuration of an embodiment of a gradation conversion method according to the present invention.
本実施例は、第1図において、パレット回路7とパネ
ルディスプレイ12との間に挿入接続される。情報処理装
置は、例えば、第4図に示す階調変換回路8に代えて、
本実施例の階調変換方式を組み込むことにより構成され
る。This embodiment is inserted and connected between the pallet circuit 7 and the panel display 12 in FIG. The information processing apparatus, for example, replaces the gradation conversion circuit 8 shown in FIG.
It is configured by incorporating the gradation conversion method of the present embodiment.
本実施例を適用した情報処理方式の好適な例として
は、ラップトップ形パーソナルコンピュータやワードプ
ロセッサがある。すなわち、複数階調を用いて表示する
表示装置を有するコンピュータに好適である。Preferred examples of the information processing method to which the present embodiment is applied include a laptop personal computer and a word processor. That is, the present invention is suitable for a computer having a display device that performs display using a plurality of gradations.
第1図において、14は、1ドット記憶回路であり、デ
ィスプレイ画面上へ表示を行なおうとしている点の1ド
ット左の点の物理色データを記憶し、出力する回路であ
る。1ドット記憶回路14は、Dラッチなどにより容易に
実現できる。In FIG. 1, reference numeral 14 denotes a one-dot storage circuit which stores and outputs physical color data of a point one dot left of a point to be displayed on a display screen. The one-dot storage circuit 14 can be easily realized by a D latch or the like.
15は、1ライン記憶回路であり、ディスプレイ画面上
へ表示を行なおうとしている点の1ライン上の点の物理
色データを記憶し、出力する回路である。1ライン記憶
回路15は、ラインメモリ素子を用いることにより容易に
実現できる。ラインメモリ素子とは、シリアル入力端子
とシリアル出力端子とを持つFIFO(Fast In Fast Out)
メモリである。例えば、日立製作所製のHM63210等があ
る。Reference numeral 15 denotes a one-line storage circuit which stores and outputs physical color data of a point on one line of a point to be displayed on a display screen. The one-line storage circuit 15 can be easily realized by using a line memory element. A line memory element is a FIFO (Fast In Fast Out) with a serial input terminal and a serial output terminal
Memory. For example, there is HM63210 manufactured by Hitachi, Ltd.
16a,16b,16c,16dは、比較回路であり、2つの入力A,B
を比較し、一致した場合に論理値“1"を出力する。16a, 16b, 16c, 16d are comparison circuits, and two inputs A, B
And outputs a logical value “1” if they match.
18a,18b,18cはアンド回路、19はオア回路である。 18a, 18b and 18c are AND circuits, and 19 is an OR circuit.
17は階調変更回路であり、階調変換回路8aより出力さ
れる階調データ11を変更して出力する回路である。Reference numeral 17 denotes a gradation changing circuit which changes and outputs the gradation data 11 output from the gradation conversion circuit 8a.
20はラインカウント回路であり、ディスプレイ画面上
の最上位ラインおよび一番左のドットを表示している期
間に論理値“0"を出力する回路である。Reference numeral 20 denotes a line count circuit which outputs a logical value "0" during a period in which the topmost line and the leftmost dot on the display screen are displayed.
12は単色8階調の表示が可能なパネルディスプレイで
ある。Reference numeral 12 denotes a panel display capable of displaying eight gradations of a single color.
8a,8bおよび8cは、階調変換回路である。階調変換回
路8aは、パレット回路7の物理色データ10aを階調変換
する。1ドット記憶回路14からの物理色データ10bを階
調変換する。また、階調変換回路8cは、1ライン記憶回
路15からの物理色データを階調変換する。8a, 8b and 8c are gradation conversion circuits. The gradation conversion circuit 8a performs gradation conversion of the physical color data 10a of the palette circuit 7. The gradation conversion is performed on the physical color data 10b from the one-dot storage circuit 14. Further, the gradation conversion circuit 8c performs gradation conversion of the physical color data from the one-line storage circuit 15.
前記1ドット記憶回路14および比較回路16bは、目的
の領域における表示を行なう点と同一表示ラインの1ド
ット左の点とのカラー表示データの異同を検出し、階調
変換回路8bおよび比較回路16cは、これらの点の階調の
差異の有無を検出し、これらとこれらの検出結果の論理
積をとるアンド回路18aとを含めて、表示を行なう点と
その1ドット左の点とが、カラー表示データが異なるが
階調が同等(近似の場合を含めてもよい。以下同じ)に
変換されている状態か否かを検出する手段を構成する。The one-dot storage circuit 14 and the comparison circuit 16b detect a difference in color display data between a point to be displayed in a target area and a point one dot to the left of the same display line, and a gradation conversion circuit 8b and a comparison circuit 16c. The point to be displayed and the point one dot to the left thereof, including the AND circuit 18a which detects the presence or absence of a gradation difference between these points and the AND of these detection results, A means for detecting whether or not the display data is different but the gradation is converted to the same (including the case of approximation; the same applies hereinafter) is configured.
同様に、1ライン記憶回路15および比較器16と、階調
変換回路8cおよび比較回路16dと、アンド回路18bは、表
示を行なう点とその1ライン上の点とが、カラー表示デ
ータが異なるが階調が同等に変換されている状態が否か
を検出する手段を構成する。Similarly, the one-line storage circuit 15 and the comparator 16, the gradation conversion circuit 8c and the comparison circuit 16d, and the AND circuit 18b have different color display data between the point where display is performed and the point on one line. It constitutes means for detecting whether or not the state in which the gradation is converted to the same level.
そして、これらの検出手段の論理和をとるオア回路19
を含めて、隣接する表示領域で異なった色が同じあるい
は近い輝度の階調に対応付けられたことを検出する手段
を構成している。Then, an OR circuit 19 that takes the logical sum of these detection means
And means for detecting that different colors are associated with the same or similar luminance gradation in adjacent display areas.
また、ラインカウント回路20、アンド回路18cおよび
階調変更回路17により、前記検出結果に応じて、色の境
界線を前記階調と1段階以上輝度の異なる階調データと
する手段を構成している。The line count circuit 20, the AND circuit 18c, and the gradation changing circuit 17 constitute means for setting a color boundary line to gradation data having a luminance that is at least one step different from the gradation in accordance with the detection result. I have.
次に、本実施例の作用について説明する。 Next, the operation of the present embodiment will be described.
パレット回路7から出力された物理色データ10aは、
階調変換回路8aによって階調データ11aに変換する。ま
た、物理色データ10aは、1ドット記憶回路14および1
ライン記憶回路15に記憶される。The physical color data 10a output from the palette circuit 7 is
The data is converted into gradation data 11a by the gradation conversion circuit 8a. The physical color data 10a is stored in the one-dot storage circuits 14 and
It is stored in the line storage circuit 15.
1ドット記憶回路14から出力される1ドット左の点の
物理色データ10bは、階調変換回路8bによって階調デー
タ11bに変換すると共に、比較回路16aによって物理色デ
ータ10aと比較する。一方、1ドット左の点の階調デー
タ11bは表示する点の階調データ11aと比較回路16cで比
較する。比較回路16aおよび16cの出力は、アンド回路18
aに入力される。アンド回路18aは、比較回路16aの出力
の論理値が“0"で比較回路16cの出力の論理値が“1"の
時、すなわち1ドット左の点と物理色データが異なり階
調データが同じ時、論理値“1"を出力する。The one-dot left physical color data 10b output from the one-dot storage circuit 14 is converted into gradation data 11b by the gradation conversion circuit 8b and compared with the physical color data 10a by the comparison circuit 16a. On the other hand, the gradation data 11b at the point one dot left is compared with the gradation data 11a at the point to be displayed by the comparison circuit 16c. The outputs of the comparison circuits 16a and 16c are
Entered in a. When the logical value of the output of the comparing circuit 16a is "0" and the logical value of the output of the comparing circuit 16c is "1", that is, the physical color data is different from the dot one dot left, and the gradation data is the same. At this time, a logical value “1” is output.
同様にして、1ライン記憶回路15から出力される1ド
ット上の点の物理色データ10cについても、比較回路16
b,16d,階調変換回路8cによって表示する点との比較を行
ない、物理色データが異なり階調データが同じ時、論理
値“1"をアンド回路18bから出力する。Similarly, for the physical color data 10c of a point on one dot output from the one-line storage circuit 15, the comparison circuit 16
b, 16d, and a point to be displayed by the gradation conversion circuit 8c, and when the physical color data is different and the gradation data is the same, a logical value "1" is output from the AND circuit 18b.
さらに、2つのアンド回路18a,18bの出力の論理和を
オア回路19でとることにより、表示する点と、該点の1
ドット左あるいは1ドット上の点の物理色データが異な
り階調データが同じ時、論理値“1"となる階調変更要求
信号21を得る。Further, the OR of the outputs of the two AND circuits 18a and 18b is calculated by the OR circuit 19, so that a point to be displayed and one of the points are displayed.
When the physical color data of the dot on the left or on one dot is different and the gradation data is the same, a gradation change request signal 21 having a logical value "1" is obtained.
ところで、ディスプレイ画面上の最上位ラインあるい
は一番左の点を表示する場合には、表示する点の1ドッ
ト左あるいは上の点は存在しないので、上述のようにし
て得た階調変更要求信号21は無効である。そこで、ディ
スプレイ画面上の最上位ラインおよび一番左のドットを
表示している期間に論理値“0"となるラインカウント回
路20からのマスク信号22と階調変更要求信号21の論理積
をアンド回路18cでとり、階調変更信号23を作成する。
階調変更信号23が論理値“1"となるのは、ディスプレイ
画面上の最上位ラインあるいは一番左のドットを表示し
ている期間を除く期間に階調変更要求信号21が論理値
“1"となった場合である。By the way, when displaying the topmost line or the leftmost point on the display screen, there is no point one dot to the left or above the point to be displayed, so the tone change request signal obtained as described above is obtained. 21 is invalid. Therefore, the logical product of the mask signal 22 from the line count circuit 20 and the gradation change request signal 21 from the line count circuit 20, which becomes the logical value "0" during the period in which the uppermost line and the leftmost dot on the display screen are displayed, is ANDed. The gradation change signal 23 is generated by the circuit 18c.
The reason that the gradation change signal 23 has the logical value “1” is that the gradation change request signal 21 has the logical value “1” during a period other than the period in which the uppermost line or the leftmost dot on the display screen is displayed. ".
階調変更回路17は、階調変更信号23が論理値“1"の
時、3ビットの階調データ11aを次の表1に示すように
変更し、補正階調データ24を出力する。階調変更信号23
が論理値“0"の時は、階調データ11aを変更せずにその
まま補正階調データ24として出力する。When the gradation change signal 23 has the logical value "1", the gradation change circuit 17 changes the 3-bit gradation data 11a as shown in Table 1 below, and outputs the corrected gradation data 24. Gradation change signal 23
Is a logical value "0", the gradation data 11a is output as it is as the corrected gradation data 24 without being changed.
上記の補正階調データ24を用いることにより、隣接す
る表示領域で異なった色が同じ階調に対応付けられた場
合には、色の境界線を前記階調と1段階輝度の異なる階
調でディスプレイパネル上に表示することができる。 By using the above-described corrected gradation data 24, when different colors are associated with the same gradation in the adjacent display areas, the color boundary line is set to a gradation that is different from the gradation by one step luminance. It can be displayed on a display panel.
次に、本発明の他の実施例について説明する。 Next, another embodiment of the present invention will be described.
第2図は本実施例の構成を示すブロック図である。 FIG. 2 is a block diagram showing the configuration of this embodiment.
第2図に示す本実施例の階調変換装置は、例えば、第
4図における表示メモリ5、パレット回路7および階調
変換回路8の部分に適用される。階調変換回路8に相当
する部分は、基本的には、前記第1の実施例のものとほ
ぼ同様の構成を有する。従って、ここでは、相違点を中
心として説明する。The gradation conversion device of this embodiment shown in FIG. 2 is applied to, for example, the display memory 5, the pallet circuit 7, and the gradation conversion circuit 8 in FIG. The part corresponding to the gradation conversion circuit 8 has basically the same configuration as that of the first embodiment. Therefore, the description here will focus on the differences.
第2図は本実施例の構成を示すブロック図である。 FIG. 2 is a block diagram showing the configuration of this embodiment.
本実施例の特徴は、2ラインの表示データを同時に出
力できる表示メモリ5aを用いることにより、第1の実施
例における1ライン記憶回路15を不要としたことであ
る。The feature of the present embodiment is that the use of the display memory 5a capable of simultaneously outputting two lines of display data eliminates the need for the one-line storage circuit 15 in the first embodiment.
7aと7bは、同じパレット回路であり、同じ値が設定し
てある。7a and 7b are the same palette circuit, and the same value is set.
次に、本実施例の作用について説明する。 Next, the operation of the present embodiment will be described.
表示メモリ5aは、表示を行なう点の論理色データ9aと
共に前記点の1ドット上の点の論理色データ9bを同時に
出力する。論理色データ9bは、パレット回路7bによって
物理色データ10cに変換される。The display memory 5a simultaneously outputs the logical color data 9b of a point one dot above the point together with the logical color data 9a of the point to be displayed. The logical color data 9b is converted into physical color data 10c by the palette circuit 7b.
このようにして得られた物理色データ10cは、第1の
実施例において1ライン記憶回路15から出力される物理
色データ10cと全く同じものである。従って、第1の実
施例と同様にして、隣接する表示領域で異なった色が同
じ階調に対応付けられた場合には、色の境界線を前記階
調と1段階輝度の異なる階調でディスプレイパネル上に
表示することができる。The physical color data 10c thus obtained is exactly the same as the physical color data 10c output from the one-line storage circuit 15 in the first embodiment. Therefore, similarly to the first embodiment, when different colors are associated with the same gradation in the adjacent display areas, the color boundary line is set to a gradation having a one-step luminance different from the gradation. It can be displayed on a display panel.
第3図は、2ラインの表示データを同時に出力する表
示メモリ5aを実現するためのビデオ用メモリ素子の一例
を示すブロック図である。FIG. 3 is a block diagram showing an example of a video memory element for realizing a display memory 5a for simultaneously outputting two lines of display data.
25はアドレスバッファ、26はパラレルデータ入出力バ
ッファ、27は行デコーダ、28は列デコーダ、29はメモリ
セル、30a,30bはデータレジスタ、31a,31bはデータセレ
クタ、32a,32bはシリアルデータ入出力バッファ、33は
アドレスポインタである。25 is an address buffer, 26 is a parallel data input / output buffer, 27 is a row decoder, 28 is a column decoder, 29 is a memory cell, 30a and 30b are data registers, 31a and 31b are data selectors, and 32a and 32b are serial data input and output. The buffer 33 is an address pointer.
本実施例の特徴は、従来のデュアルポートメモリにシ
リアルポートを追加し、トリプルポートメモリとしたこ
とである。The feature of the present embodiment is that a serial port is added to a conventional dual port memory to form a triple port memory.
以下、シリアルポート36a,36bからのデータ読出し動
作を説明する。Hereinafter, the operation of reading data from the serial ports 36a and 36b will be described.
まず、表示を行なうラインのデータが記憶されている
行アドレスをアドレスポート34から入力する。このと
き、転送制御信号37aをアクティブとし、転送制御信号3
7bはインアクティブとしておくことによって、メモリセ
ル29から読み出した表示を行なうラインのデータをデー
タレジスタ30aに転送する。次に、表示を行なうライン
とは別のラインのデータが記憶されている行アドレスを
アドレスポート34から入力する。このとき、転送制御信
号37bをアクティブとし、転送制御信号37aはインアクテ
ィブとしておくことによって、メモリセル29から読み出
した表示を行なうラインとは別のラインのデータをデー
タレジスタ30bに転送する。前記転送の後、クロック信
号38を入力することによって、データセレクタ31a,31b
はそれぞれデータレジスタ30a,30bのデータから1ビッ
トずつ順に選択し、シリアルデータ入出力バッファ32a,
32bにそれぞれ出力する。シリアルデータ入出力バッフ
ァ32a,32bに入力されたデータは、シリアルポート36a,3
6bにそれぞれ出力される。First, a row address in which data of a line to be displayed is stored is input from the address port 34. At this time, the transfer control signal 37a is activated and the transfer control signal 3
7b transfers the data of the display line read from the memory cell 29 to the data register 30a by keeping it inactive. Next, a row address in which data of a line different from the line to be displayed is stored is input from the address port 34. At this time, by setting the transfer control signal 37b to be active and the transfer control signal 37a to be inactive, data on a line different from the display line read from the memory cell 29 is transferred to the data register 30b. After the transfer, by inputting the clock signal 38, the data selectors 31a, 31b
Selects one bit at a time from the data in the data registers 30a, 30b,
Output to 32b respectively. The data input to the serial data input / output buffers 32a and 32b are transmitted to the serial ports 36a and 3b.
6b.
このようにして、表示するラインと同時に他のライン
の表示データを得ることができる。In this way, display data of another line can be obtained simultaneously with the line to be displayed.
本実施例ではシリアルポートを2つ設けたが、データ
セレクタ31a,31bの出力を時分割してシリアルデータ入
出力バッファ32aに入力し、シリアルポートを1つとし
てもよい。また、データレジスタ30を1組とし、データ
セレクタ31、シリアルデータバッファ32、アドレスポイ
ンタ38を2組設けることによって、メモリセル29の1行
のデータから2組のシリアルデータを取り出してもよ
い。Although two serial ports are provided in the present embodiment, the outputs of the data selectors 31a and 31b may be time-divided and input to the serial data input / output buffer 32a so that one serial port is provided. Further, two sets of serial data may be extracted from one row of data of the memory cell 29 by providing one set of the data register 30 and providing two sets of the data selector 31, the serial data buffer 32, and the address pointer 38.
前記表示メモリは、カラー表示データを階調表示デー
タに変換する場合に限らず、他の場合、例えば、n階調
の表示データをm階調(n>m)の表示データに削減す
る階調変換方式、n色の表示データをm色(n>m)の
表示データに削減する色変換方式等にも用いることがで
きる。The display memory is not limited to a case where color display data is converted into gray scale display data, but in other cases, for example, a gray scale for reducing display data of n gray scales to display data of m gray scales (n> m). The present invention can also be used for a conversion method, a color conversion method for reducing display data of n colors to display data of m colors (n> m), and the like.
以上の実施例では、隣接する表示領域で異なった色が
同じ階調に対応付けられた場合には、色の境界線を前記
階調と1段階輝度の異なる階調でディスプレイパネル上
に表示する例を示したが、1段階でなく2段階以上輝度
の異なる階調としてもよい。また、隣接する表示領域で
異なった色が異なる階調に対応付けられた場合にも、階
調の違いをより明確にする目的に応用してもよい。In the above embodiment, when different colors are associated with the same gradation in adjacent display areas, a color boundary line is displayed on the display panel at a gradation different from the gradation by one step luminance. Although an example has been shown, the gradation may be different from one step to two or more steps in luminance. Further, even when different colors are associated with different gradations in adjacent display areas, the present invention may be applied to the purpose of clarifying the difference in gradation.
また、本発明は、多階調データを、より階調数の少な
い表示データに変換する場合に応用することもできる。Further, the present invention can also be applied to a case where multi-gradation data is converted into display data having a smaller number of gradations.
この場合、階調変換回路8a,8b,8cでは、物理色データ
からの階調データへの変換ではなく、多階調データを少
階調データに変換することとなる。そして、隣接する領
域の階調が同一または近似する状態か否か検出し、その
状態であれば、隣接領域の境界線をそれらの領域と識別
可能な輝度の階調に変更する。In this case, the gradation conversion circuits 8a, 8b, 8c do not convert physical color data into gradation data, but convert multi-gradation data into low-gradation data. Then, it is detected whether or not the gradations of the adjacent areas are the same or similar. If so, the boundary line of the adjacent area is changed to a gradation of a luminance that can be distinguished from those areas.
さらに、以上の実施例では、カラーの表示データを補
正階調データ14に変換する場合を説明したが、より色数
の少ないカラーデータへの変換に応用してもよい。以
下、この場合の実施例を第8図を用いて説明する。Further, in the above embodiment, the case where color display data is converted into the corrected gradation data 14 has been described, but the present invention may be applied to conversion into color data having a smaller number of colors. Hereinafter, an embodiment in this case will be described with reference to FIG.
本実施例は、基本的な構成は、前述した第1の実施例
のものと同様の考え方により構成される。そこで、同一
の構成要素についての説明は省略し、相違点を中心とし
て説明する。The basic configuration of this embodiment is based on the same concept as that of the first embodiment. Therefore, the description of the same components will be omitted, and the description will focus on the differences.
すなわち、本実施例では、第1図で示した第1の実施
例における階調変換回路8a,8b,8cに代えて色数削減回路
40a,40b,40cを用い、階調変更回路17に代えて色変更回
路45を用いる。46は8色の表示が可能なカラーディスプ
レイである。That is, in this embodiment, a color number reduction circuit is used instead of the gradation conversion circuits 8a, 8b, 8c in the first embodiment shown in FIG.
40a, 40b and 40c are used, and a color changing circuit 45 is used instead of the gradation changing circuit 17. 46 is a color display capable of displaying eight colors.
色数削減回路40a,40b,40cは、64色の物理色データ10
a,10b,10cを8色の物理色削減データ41a,41b,41cにする
回路である。表2に、64色の物理色データ10を構成する
RGB各2ビットの論理和をとり、RGB各1ビットから成る
8色の物理色削減データ41を作成する方式での色の対応
を示す。もちろん他の方式で色数の削減を行なってもよ
い。The number-of-colors reduction circuits 40a, 40b, and 40c provide 64 physical color data 10
This is a circuit for converting a, 10b, and 10c into eight physical color reduction data 41a, 41b, and 41c. Table 2 configures the 64 physical color data 10
The correspondence of colors in a method of taking the logical sum of each 2 bits of RGB and creating the physical color reduction data 41 of 8 colors consisting of 1 bit of each RGB is shown. Of course, the number of colors may be reduced by another method.
パレット回路7から出力された物理色データ10aは、
色数削減回路40aによって物理色削減データ41aに変換す
る。また、物理色データ10aは、1ドット記憶回路14お
よび1ライン記憶回路15に記憶される。 The physical color data 10a output from the palette circuit 7 is
The color number reduction circuit 40a converts the data into physical color reduction data 41a. The physical color data 10a is stored in the one-dot storage circuit 14 and the one-line storage circuit 15.
1ドット記憶回路14から出力される1ドット左の点の
物理色データ10bは、色数削減回路40bによって物理色削
減データ41bに変換すると共に、比較回路16aによって物
理色データ10aと比較される。一方、1ドット左の点の
物理色削減データ41bは、表示する点の物理色削減デー
タ41aと比較回路16cで比較される。比較回路16aおよび1
6cの出力はアンド回路18aに入力される。アンド回路18a
は比較回路16aの出力の論理値が“0"で比較回路16cの出
力の論理値が“1"の時、すなわち、1ドット左の点と物
理色データが異なり物理色削減データが同じ時、論理値
“1"を出力する。The one-dot left physical color data 10b output from the one-dot storage circuit 14 is converted into physical color reduction data 41b by the color number reduction circuit 40b, and is compared with the physical color data 10a by the comparison circuit 16a. On the other hand, the physical color reduction data 41b at the point one dot left is compared with the physical color reduction data 41a at the point to be displayed by the comparison circuit 16c. Comparison circuits 16a and 1
The output of 6c is input to the AND circuit 18a. AND circuit 18a
Means that when the logical value of the output of the comparison circuit 16a is "0" and the logical value of the output of the comparison circuit 16c is "1", that is, when the physical color data differs from the one dot left point and the physical color reduction data is the same, Outputs logical value "1".
同様にして、1ライン記憶回路15から出力される1ド
ット上の点の物理色データ10cについても、比較回路16
b,16d,色数削減回路40cによって表示する点との比較を
行ない、物理色データが異なり物理色削減データが同じ
時、論理値“1"をアンド回路18bから出力する。Similarly, for the physical color data 10c of a point on one dot output from the one-line storage circuit 15, the comparison circuit 16
b, 16d, and the point to be displayed by the number-of-colors reduction circuit 40c are compared. When the physical color data is different and the physical color reduction data is the same, the logical value "1" is output from the AND circuit 18b.
さらに、2つのアンド回路18a,18bの出力の論理和を
オア回路19でとることにより、表示する点と、該点の1
ドット左あるいは1ドット上の点の物理色データが異な
り、物理色削減データが同じ時、論理値“1"となる色変
更要求信号42を得る。Further, the OR of the outputs of the two AND circuits 18a and 18b is calculated by the OR circuit 19, so that a point to be displayed and one of the points are displayed.
When the physical color data of the dot on the left or on one dot is different and the physical color reduction data is the same, a color change request signal 42 having a logical value "1" is obtained.
ところで、ディスプレイ画面上の最上位ラインあるい
は一番左の点を表示する場合には、表示する点の1ドッ
ト左あるいは上の点は存在しないので、上述のようにし
て得た色変更要求信号42は無効である。そこで、ディス
プレイ画面上の最上位ラインおよび一番左のドットを表
示している期間に論理値“0"となるラインカウント回路
20からのマスク信号22と色変更要求信号42の論理積をア
ンド回路18cでとり、色変更信号43を作成する。色変更
信号43が論理値“1"となるのは、ディスプレイ画面上の
最上位ラインあるいは一番左のドットを表示している期
間を除く期間に色変更要求信号21が論理値“1"となった
場合である。By the way, when displaying the topmost line or the leftmost point on the display screen, there is no point one dot to the left or above the point to be displayed, so the color change request signal 42 obtained as described above is obtained. Is invalid. Therefore, a line count circuit that has a logical value “0” during the period in which the topmost line and the leftmost dot on the display screen are displayed
The logical product of the mask signal 22 from 20 and the color change request signal 42 is taken by an AND circuit 18c to create a color change signal 43. The reason that the color change signal 43 becomes the logical value “1” is that the color change request signal 21 becomes the logical value “1” during a period other than a period during which the uppermost line or the leftmost dot on the display screen is displayed. This is the case.
色変更回路45は、色変更信号43が論理値“1"の時、RG
B3ビットの物理色削減データ41aを、表3に示すように
変更し、補正物理色削減データ44を出力する。もちろ
ん、補正物理色削減データ44は、物理色削減データ41a
と異なっていれば、表に示した以外の対応付けによる色
を用いてもよい。When the color change signal 43 has the logical value “1”, the color change circuit 45
The B3 bit physical color reduction data 41a is changed as shown in Table 3, and corrected physical color reduction data 44 is output. Of course, the corrected physical color reduction data 44 is the physical color reduction data 41a.
If the color is different from the color shown in the table, a color based on a correspondence other than that shown in the table may be used.
補正データ色変更信号43が論理値“0"の時は、物理色
削減データ41aを変更せずに、そのまま補正物理色削減
データ44として出力する。 When the correction data color change signal 43 has the logical value “0”, the correction data color change data 43a is output as it is without changing the physical color reduction data 41a.
上記の補正物理色削減データ44を用いることにより、
隣接する表示領域で色数削減前には異なっていた色が色
数削減後は同じ色に対応付けられた場合には、色の境界
線を前記色と異なる色でディスプレイパネル上に表示す
ることができる。この場合、色変更回路45が境界線の色
変更手段として機能し、前記補正データ色変更信号を受
けて、境界線の色変更を実行する。By using the corrected physical color reduction data 44 described above,
In a case where a different color in the adjacent display area before the color number reduction is associated with the same color after the color number reduction, a color boundary line is displayed on the display panel in a color different from the color. Can be. In this case, the color changing circuit 45 functions as a boundary line color changing unit, and executes the boundary line color change in response to the correction data color change signal.
なお、上記した本発明の各実施例の階調(色)変換方
式は、その構成要素を集積し、IC化して構成することが
好ましい。この場合、他の回路と合わせてLSI化しても
よい。It is preferable that the gradation (color) conversion method in each of the embodiments of the present invention described above is configured by integrating its components and forming an IC. In this case, an LSI may be used together with other circuits.
[発明の効果] 以上述べたように、本発明の階調変換方式では、多色
表示のデータを階調データに変換する際に、隣接する表
示領域で異なった色が同じ階調に変換された場合には、
色の境界線の部分を前記階調と異なる階調で表示するこ
とができるので、色の境界を視覚的に容易に認識できる
という効果がある。[Effects of the Invention] As described above, in the gradation conversion method of the present invention, when converting multi-color display data to gradation data, different colors are converted to the same gradation in adjacent display areas. If
Since the boundary of the color can be displayed in a gradation different from the above gradation, there is an effect that the boundary of the color can be easily recognized visually.
また、本発明のトリプルポートメモリを用いることに
よって、前記階調変換方式の回路からラインメモリ等に
よる1ライン記憶回路を削除できるという効果がある。In addition, by using the triple port memory of the present invention, there is an effect that a one-line storage circuit such as a line memory can be deleted from the circuit of the gradation conversion method.
さらに、本発明を対応した表示装置を用いたライント
ップ形情報処理装置においては、従来のカラーCRT用の
カラーアプリケーションを動作させても見にくくなるこ
とはないため、ソフトウェアの互換性を保てると共に、
使用者は安心して使えるという効果がある。Further, in a line-top type information processing device using a display device corresponding to the present invention, since it is not difficult to see even when a conventional color application for a color CRT is operated, software compatibility can be maintained,
There is an effect that the user can use it with peace of mind.
第1図および第2図は本発明の階調変換方式の実施例の
構成を示すブロック図、第3図は本発明のトリプルポー
トメモリのブロック図、第4図は従来の階調変換方式の
構成を示すブロック図、第5図はパレット回路7の一構
成例を示すブロック図、第6図は階調変換回路8の一構
成例を示す論理回路図、第7図は従来のデュアルポート
メモリのブロック図、第8図は本発明の色変換方式の実
施例を示すブロック図である。 5……表示メモリ、7……パレット回路、8……階調変
換回路、9……論理色データ、10……物理色データ、11
……階調データ、12……パネルディスプレイ、14……1
ドット記憶回路、15……1ライン記憶回路、16……比較
器、17……階調変更回路、20……ラインカウント回路、
24……補正階調データ。1 and 2 are block diagrams showing a configuration of an embodiment of a gradation conversion system of the present invention, FIG. 3 is a block diagram of a triple port memory of the present invention, and FIG. FIG. 5 is a block diagram showing one configuration example of a pallet circuit 7, FIG. 6 is a logic circuit diagram showing one configuration example of a gradation conversion circuit 8, and FIG. 7 is a conventional dual-port memory. FIG. 8 is a block diagram showing an embodiment of the color conversion system of the present invention. 5: display memory, 7: palette circuit, 8: gradation conversion circuit, 9: logical color data, 10: physical color data, 11
…… Gradation data, 12 …… Panel display, 14 …… 1
Dot storage circuit, 15: 1 line storage circuit, 16: comparator, 17: gradation changing circuit, 20: line count circuit,
24: Corrected gradation data.
Claims (9)
する階調変換方式であって、 隣接する表示領域で異なった色が同じあるいは近い輝度
の階調に対応付けられたことを検出する手段と、 前記検出する手段によって、同じあるいは近い輝度の階
調に対応づけられたことが検出された隣接する表示領域
の境界に、前記階調と1段階以上輝度の異なる階調デー
タを対応づけた境界線を形成する手段とを備えることを
特徴とする階調変換方式。1. A gradation conversion method for converting color display data into gradation display data, comprising means for detecting that different colors are associated with gradations of the same or similar luminance in adjacent display areas. And a step of associating the gradation data having a luminance different from the gradation by one or more steps with a boundary of an adjacent display area detected to be correlated with a gradation having the same or close luminance by the detecting means. A means for forming a boundary line.
する階調変換方式であって、 目的の領域についてカラー表示データを階調変換する手
段、および、前記目的の領域に隣接する領域についてカ
ラー表示データを階調データに変換する手段と、 前記目的の領域とこれに隣接する領域について、両者の
カラー表示データを比較すると共に、両者の階調を比較
して、両者の表示色が異なっているが階調が同等もしく
は近似する輝度に変換されている状態を検出する手段
と、 前記検出する手段によって、両者の表示色が異なってい
るが階調が同等もしくは近似する輝度に変換されている
状態が検出された隣接する領域の境界に、両者の領域と
識別可能な輝度の階調データの境界線を形成する手段と
を備えることを特徴とする階調変換方式。2. A gradation conversion method for converting color display data into gradation display data, comprising: means for gradation-converting color display data for a target region; and color conversion for a region adjacent to the target region. Means for converting display data into gradation data; comparing the target region and the region adjacent thereto with both color display data and comparing both gradations so that both display colors are different. And a means for detecting a state in which the gradation is converted to the same or similar luminance, and the detecting means converts the two display colors to different luminances with the same or similar gradation. A means for forming a boundary line of grayscale data of luminance identifiable with both regions at a boundary between adjacent regions in which a state has been detected.
する階調変換方式であって、 表示を行なう点の論理色データと共に、該点を含む表示
ラインとは異なる表示ラインに含まれて、該点と隣接す
る点の論理色データを同時に出力する表示メモリと、 前記表示メモリから出力される2点の論理色データを各
々物理色データに変換するパレット回路と、 前記表示を行なう点について物理色データを階調データ
に変換する手段、および、該表示を行なう点と同じ表示
ライン上で隣接する点について物理色データを階調デー
タに変換する手段、ならびに、前記隣接する表示ライン
上にあって該表示を行なう点に隣接する点について物理
色データを階調データに変換する手段と、 前記表示を行なう点と隣接するライン上で隣接する点に
ついて、および、該表示を行なう点と同一ライン上で隣
接する点についてそれぞれ物理色データを比較すると共
に、これらについて階調を比較して、表示を行なう点と
隣接する2点の少なくとも一方とが、表示色が異なるに
もかかわらず階調が同等もしくは近似する輝度に変換さ
れている状態を検出する手段と、 前記状態を検出する手段によって、表示を行なう点と隣
接する2点の少なくとも一方とが、表示色が異なるにも
かかわらず階調が同等もしくは近似する輝度に変換され
ている状態が検出されたとき、それぞれの点を含む表示
領域の境界に、該境界を挾む領域と識別可能な輝度の階
調データの境界線を形成する手段とを備えることを特徴
とする階調変換方式。3. A gradation conversion system for converting color display data into gradation display data, wherein the display data is included in a display line different from a display line including the point, together with logical color data of a point to be displayed. A display memory for simultaneously outputting logical color data of a point adjacent to the point, a pallet circuit for converting each of the two points of logical color data output from the display memory into physical color data, Means for converting color data into gradation data, means for converting physical color data into gradation data at an adjacent point on the same display line as the point at which the display is performed, and Means for converting physical color data into gradation data for points adjacent to the point to be displayed, and for points adjacent to the point to be displayed on a line adjacent to the point to be displayed. In addition, physical color data is compared for each point adjacent to the point on which the display is performed on the same line, and gradations are compared for these points, so that the display point and at least one of the two adjacent points are displayed. Means for detecting a state where the gradation is converted to the same or similar luminance despite different colors; and means for detecting the state, wherein at least one of a display point and two adjacent points is displayed. When a state is detected in which the gradation is converted to the same or similar luminance despite the different display colors, the luminance which can be distinguished from the region sandwiching the boundary is located at the boundary of the display region including each point. Means for forming a boundary line of the gradation data of the above.
表示データに削減する階調変換方式であって、 隣接する表示領域で異なった階調が同じあるいは近い階
調に対応付けられたことを検出する手段と、 前記検出する手段によって、同じあるいは近い輝度の階
調に対応づけられたことが検出されたn階調の表示デー
タでの階調の境界に、前記対応付けの階調とは異なる階
調の境界線を形成する手段とを備えることを特徴とする
階調変換方式。4. A gradation conversion method for reducing display data of n gradations to display data of m gradations (n> m), wherein different gradations in the adjacent display areas are the same or close. Means for detecting the correspondence, and the boundary of the gradation in the n-gradation display data which is detected by the detection means to be correlated with the gradation of the same or similar luminance. Means for forming a boundary line of a gradation different from the attached gradation.
データに削減する色変換方式であって、 隣接する表示領域で異なった色が同じあるいは近い色に
対応付けられたことを検出する手段と、 前記検出する手段によって、隣接する表示領域で異なっ
た色が同じあるいは近い色に対応付けられたことが検出
されると、n色の表示データでの色の境界に前記対応付
けの色とは異なる色の境界線を形成する手段を備えるこ
とを特徴とする色変換方式。5. A color conversion method for reducing display data of n colors to display data of m colors (n> m), wherein different colors are associated with the same or similar colors in adjacent display areas. Detecting means for detecting that different colors have been associated with the same or similar colors in adjacent display areas by the detecting means. A color conversion method comprising: means for forming a boundary line of a color different from the color of the color.
ートに加え、データの読み出しが共に可能な2つのシリ
アルアクセスポートを具備したことを特徴とするメモリ
素子。6. A memory device, comprising two serial access ports capable of both reading data in addition to a parallel access port.
ポートに加え、データの読み出しが共に可能な2つのシ
リアルアクセスポートを備えたメモリ素子を有する請求
項3記載の階調変換方式7. A gradation conversion system according to claim 3, wherein said display memory includes a memory element having two serial access ports capable of both reading data in addition to a parallel access port.
式を用いた情報処理装置。8. An information processing apparatus using the gradation conversion method according to claim 1, 2, 3, 4, or 7.
理装置。9. An information processing apparatus using the color conversion method according to claim 5.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1119181A JP2619952B2 (en) | 1989-05-13 | 1989-05-13 | Gradation conversion method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1119181A JP2619952B2 (en) | 1989-05-13 | 1989-05-13 | Gradation conversion method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH02299019A JPH02299019A (en) | 1990-12-11 |
| JP2619952B2 true JP2619952B2 (en) | 1997-06-11 |
Family
ID=14754914
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1119181A Expired - Lifetime JP2619952B2 (en) | 1989-05-13 | 1989-05-13 | Gradation conversion method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2619952B2 (en) |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS628221A (en) * | 1985-07-04 | 1987-01-16 | Matsushita Electric Ind Co Ltd | Image signal processing device |
| JPS62151282U (en) * | 1986-03-14 | 1987-09-25 | ||
| JPH01312590A (en) * | 1988-06-10 | 1989-12-18 | Toshiba Corp | Display controller |
-
1989
- 1989-05-13 JP JP1119181A patent/JP2619952B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH02299019A (en) | 1990-12-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR910005367B1 (en) | Display controller for crt/plasma display apparatus | |
| JP2572373B2 (en) | Color display device | |
| JPH0836371A (en) | Display controller | |
| US4958301A (en) | Method of and apparatus for converting attributes of display data into desired colors in accordance with relation | |
| US5508714A (en) | Display control apparatus for converting CRT resolution into PDP resolution by hardware | |
| JPH06230760A (en) | Display device | |
| TWI667610B (en) | Automatic Gamma curve setting method for display | |
| US5880741A (en) | Method and apparatus for transferring video data using mask data | |
| US5229762A (en) | Gradation conversion system for converting color display data into gradation display data | |
| US5629723A (en) | Graphics display subsystem that allows per pixel double buffer display rejection | |
| US4922237A (en) | Flat panel display control apparatus | |
| JP2619952B2 (en) | Gradation conversion method | |
| US5717906A (en) | Frame comparison with reduced memory via changed scanline detection and post-addition rotational shifting | |
| US5559532A (en) | Method and apparatus for parallel pixel hardware cursor | |
| US5739815A (en) | Method and apparatus for displaying image | |
| US12444382B2 (en) | Source driver, display controller, and display device | |
| JPH07210143A (en) | Computer display system | |
| CN112819906B (en) | Image data processing method, device, electronic device and readable storage medium | |
| JP3017093B2 (en) | Pallet circuit | |
| JP3134975B2 (en) | Brightness synthesis circuit | |
| NL9100540A (en) | COLOR PALETTE SWITCH. | |
| JP2001203898A (en) | Method and device for expressing scale of black-and- white scale image | |
| JPH07274086A (en) | Display controller | |
| JPH06161409A (en) | Look-up table memory rewriting method and display device having look-up table memory | |
| JPH04186393A (en) | Color display device |