JP2975823B2 - Pseudo gradation processor - Google Patents

Pseudo gradation processor

Info

Publication number
JP2975823B2
JP2975823B2 JP5278698A JP27869893A JP2975823B2 JP 2975823 B2 JP2975823 B2 JP 2975823B2 JP 5278698 A JP5278698 A JP 5278698A JP 27869893 A JP27869893 A JP 27869893A JP 2975823 B2 JP2975823 B2 JP 2975823B2
Authority
JP
Japan
Prior art keywords
data
error data
reset
pixel
image 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 - Fee Related
Application number
JP5278698A
Other languages
Japanese (ja)
Other versions
JPH07134578A (en
Inventor
貢 小林
誠 北川
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.)
Sanyo Denki Co Ltd
Original Assignee
Sanyo Denki Co Ltd
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 Sanyo Denki Co Ltd filed Critical Sanyo Denki Co Ltd
Priority to JP5278698A priority Critical patent/JP2975823B2/en
Publication of JPH07134578A publication Critical patent/JPH07134578A/en
Application granted granted Critical
Publication of JP2975823B2 publication Critical patent/JP2975823B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、所定ビットの画像表示
データによって表示を行う表示装置に、所定ビット以上
の階調数の表示を疑似的に行うための疑似階調処理装置
に関し、更に詳しく言えば、所定ビットのデジタルドラ
イバによるLCD表示装置の階調表示を更に多階調化し
て、原画像に近い表示を行うための疑似階調処理装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pseudo-gradation processing device for simulating the display of a predetermined number of bits or more in a display device which performs display using image display data of predetermined bits. In other words, the present invention relates to a pseudo gradation processing apparatus for further increasing the gradation display of an LCD display device by a digital driver of a predetermined bit and performing a display close to an original image.

【0002】[0002]

【従来の技術】近年、マルチメディア対応のOA用高精
細カラーLCD表示装置が開発されるに至った。このカ
ラーLCDは、R、G、Bの各色毎に3ビットあるいは
4ビットのデジタルドライバを内蔵している。例えば、
3ビットのデジタルドライバを持ったカラーLCDは、
各色8階調の表示が可能で、全体で512色の表示がで
きる。しかしながら、単なるOA用のモニタとして使用
する場合にはこれで十分であるが、マルチメディア対応
として、動画や静止画などの映像を表示するには不十分
であり、更なる階調の増加が望まれていた。
2. Description of the Related Art In recent years, high-definition color LCD displays for multimedia office automation have been developed. The color LCD has a built-in 3-bit or 4-bit digital driver for each of R, G, and B colors. For example,
Color LCD with 3-bit digital driver
A display of eight gradations for each color is possible, and a total of 512 colors can be displayed. However, this is sufficient when used simply as a monitor for OA, but is insufficient for displaying video such as moving images and still images for multimedia, and further increase in gradation is desired. Was rare.

【0003】そこで、1つの画素で表示できない成分を
同じ画面フレームの周囲の隣接する画素に拡散(フレー
ム内誤差拡散)することによって疑似的に階調数を高め
る方法が発案されている。図4は、その方法の1つを用
いた疑似階調処理装置であり、1つの画素の画像データ
の表示されない下位ビットを誤差データとして保持し、
次の画素の画像データに加算することによって疑似階調
処理を行う装置であり、1色の画像データの処理装置を
示している。図4において、ラッチ回路11は、ドット
クロックDKに同期して順次印加される6ビットの原画
像データSDをラッチし演算回路12に出力する。演算
回路12は、原画像データSDと誤差データ保持回路1
3から出力される誤差データEIを加算して6ビットの
補正画像データを作成する。誤差データ保持回路13
は、補正画像データの下位2ビットをドットクロックD
Kによって保持し、次の画素の原画像データSDがラッ
チ回路11にラッチされた時に演算回路12に出力す
る。補正画像データの上位4ビットは、画像表示データ
GDとして出力され、出力ラッチ回路14に印加され
る。この4ビットの画像表示データGDによって表示を
行うことによって、隣接する画素に、下位2ビット誤差
データが順次拡散されるため、複数の画素の輝度の平均
によって、中間の階調が表示されることになる。
Therefore, a method has been proposed in which a component which cannot be displayed by one pixel is diffused into an adjacent pixel around the same screen frame (error diffusion within a frame) to thereby increase the number of gray levels in a pseudo manner. FIG. 4 shows a pseudo-gradation processing device using one of the methods, in which lower-order bits of image data of one pixel that are not displayed are held as error data,
This is a device that performs pseudo gradation processing by adding the image data to the image data of the next pixel, and shows a processing device for one-color image data. In FIG. 4, a latch circuit 11 latches 6-bit original image data SD sequentially applied in synchronization with a dot clock DK and outputs the same to an arithmetic circuit 12. The arithmetic circuit 12 includes the original image data SD and the error data holding circuit 1
The error data EI output from 3 is added to generate 6-bit corrected image data. Error data holding circuit 13
Represents the lower two bits of the corrected image data as the dot clock D
K, and output to the arithmetic circuit 12 when the original image data SD of the next pixel is latched by the latch circuit 11. The upper 4 bits of the corrected image data are output as image display data GD and applied to the output latch circuit 14. By performing display using the 4-bit image display data GD, lower 2-bit error data is sequentially diffused to adjacent pixels, so that an intermediate gradation is displayed by averaging the luminance of a plurality of pixels. become.

【0004】例えば、原画像データSDが「10001
0」であり、この原画像データSDが連続した画素の場
合、単純に上位4ビットを表示した場合には「100
0」によって全ての画素の表示がなされるため、下位2
ビット「10」の階調は表示されない。しかし、図4の
疑似階調処理装置による場合、最初に原画像データSD
「100010」に誤差データEIの「00」が加算さ
れて、補正画像データ「100010」が作られ、その
下位ビット「10」が誤差データEIとして誤差データ
保持回路13に保持され、上位4ビット「1000」が
画像表示データGDとして出力されるが、次の原画像デ
ータSDには誤差データEI「10」が加算されるた
め、補正画像データは「100100」となり、誤差デ
ータEIは「00」が保持される。この動作を繰り返す
ことによって、画素毎に「1000」と「1001]が
交互に表示されるため、2つの画素によって1/2階調
の表示が行われることになる。同様に、原画像データS
Dの最下位ビットが表す1/4階調は、4つの画素によ
って表現されることになる。
For example, if the original image data SD is "10001"
0 ", and when the original image data SD is a continuous pixel, simply displaying the upper 4 bits is" 100 ".
Since all pixels are displayed by “0”, the lower 2
The gradation of bit “10” is not displayed. However, in the case of the pseudo gradation processing apparatus of FIG.
The error data EI “00” is added to “100010” to generate corrected image data “100010”, the lower bit “10” of which is held in the error data holding circuit 13 as the error data EI, and the upper four bits “10”. Although "1000" is output as the image display data GD, the error data EI "10" is added to the next original image data SD, so that the corrected image data is "100100" and the error data EI is "00". Will be retained. By repeating this operation, “1000” and “1001” are alternately displayed for each pixel, so that the display of half gradation is performed by the two pixels.
The 階 調 gradation represented by the least significant bit of D is represented by four pixels.

【0005】従って、R、G、Bの各色にこの疑似階調
処理を施すことによって、各色の階調は、原画像データ
SDと同じ64階調が表現できる。
[0005] Therefore, by applying the pseudo gradation processing to each of the R, G, and B colors, the gradation of each color can be expressed as 64 gradations, which is the same as the original image data SD.

【0006】[0006]

【発明が解決しようとする課題】上述の疑似階調処理装
置は、誤差拡散処理は横方向の加算処理であるため、左
側の画像の影響が右側の画像に伝わり、結果的に画像表
示データに影響を及ぼすことになる。表示された画像の
動きがある場合や濃淡が変化する場合には、この疑似階
調処理によって大幅な画質の向上が達成できるが、空や
人間の顔の様な、表示された画像の濃淡がフラットな場
合に、誤差データの影響が目に認識できる程度に現れ、
表示の画質が低下してしまう。
In the above-described pseudo-gradation processing device, the error diffusion process is a horizontal addition process, so that the influence of the left image is transmitted to the right image, and consequently the image display data is changed. Will have an effect. If there is movement of the displayed image or if the shading changes, this pseudo-gradation processing can achieve a significant improvement in image quality, but the shading of the displayed image, such as the sky or a human face, can be reduced. When flat, the effect of the error data appears to be noticeable to the eye,
The display image quality is degraded.

【0007】例えば、パソコン上に自然画を表示して、
画面上をマウスカーソルが這った場合に、マウスカーソ
ルに尾が引いたように見える。即ち、濃淡のフラットな
画像中をマウスカーソルが表示されることによって、マ
ウスカーソルを表示する画像データの誤差がずっと離れ
た右側に現れ、そこに画像の変化が生じる。例えば、原
画像データ「010000」の画素が続いている状態
で、マウスカーソルを表示する原画像データのために、
ある画素で「100111」となった場合、誤差データ
は「11」となり、これが順次加算されて、誤差データ
として保持されていくので、ずっと離れた右側に画像の
変化を及ぼすのである。従って、画面上をマウスカーソ
ルが移動することによって、画像の変化も移動するため
に、尾を引いたように見えるのである。
For example, when a natural image is displayed on a personal computer,
When the mouse cursor crawls on the screen, the mouse cursor appears to have a tail. In other words, when the mouse cursor is displayed in a flat image of light and shade, an error of the image data for displaying the mouse cursor appears on the far right side, and the image changes there. For example, in the state where the pixels of the original image data “010000” continue, for the original image data for displaying the mouse cursor,
When the value of a certain pixel becomes “100111”, the error data becomes “11”, which is sequentially added and held as error data, so that the image changes to the far right side far away. Therefore, when the mouse cursor moves on the screen, the change in the image also moves, so that the image looks as if it were trailing.

【0008】また、濃淡のフラットな画像においては、
誤差データの加算による桁上がりが周期的に発生するた
めに、明るくなる画素の位置と暗くなる画素の位置が、
隣接する水平走査線で一致し、更に、各フレームに於て
も一致するために、表示画面上に縦線が現れ、画質の劣
化の原因になっていた。即ち、例えば、「10000
1」の原画像データが連続するような場合、最初の画素
の加算処理結果は、「100001」で誤差データが
「01」、次の画素の加算では、「100010」で誤
差データが「10」、次の画素の加算では 「1000
11」、誤差データ「11」、更に次の画素の加算では
「100100」、誤差データ「00」となり、これが
繰り返されることになる。従って、この場合には、4画
素周期で上位4ビットの画像表示データへの桁上がりが
周期的に発生することになる。
In a flat image of light and shade,
Since the carry due to the addition of the error data occurs periodically, the position of the brighter pixel and the position of the darker pixel are
Since the coincidence occurs in the adjacent horizontal scanning lines and also in each frame, a vertical line appears on the display screen, causing deterioration in image quality. That is, for example, “10000
When the original image data of “1” is continuous, the result of the addition processing of the first pixel is “100001” and the error data is “01”, and the addition of the next pixel is “100010” and the error data is “10”. , The next pixel addition is "1000
11 ", error data" 11 ", and further addition of the next pixel result in" 100100 "and error data" 00 ", and this is repeated. Therefore, in this case, a carry to the upper 4 bits of image display data occurs periodically in a 4-pixel cycle.

【0009】[0009]

【課題を解決するための手段】本発明は上述した点に鑑
みて創作されたものであり、画素毎に供給される各原画
像データに誤差データを加算する演算手段と、該演算手
段の結果得られた処理画像データの所定数の下位ビット
を次の誤差データとして保持する誤差データ保持手段と
を備え、前記原画像データのビット数より少ないビット
数の画像表示データに該画像表示データで表示可能な階
調数以上の階調情報を付加する疑似階調処理装置におい
て、前記原画像データを画素毎に比較することによって
画像の変化がフラットであることを検出するフラット画
像検出手段と、該フラット画像検出手段の検出出力によ
って前記誤差データの保持手段の誤差データを所定画素
数毎にリセットするリセット手段を備え、前記誤差デー
タの影響が後々まで残ることを防止した疑似階調処理装
置である。
SUMMARY OF THE INVENTION The present invention has been made in view of the above points, and has an arithmetic means for adding error data to each original image data supplied for each pixel, and a result of the arithmetic means. Error data holding means for holding a predetermined number of lower-order bits of the obtained processed image data as the next error data, and displaying the image display data with a bit number smaller than the bit number of the original image data by the image display data. A pseudo-gray-scale processing device for adding gray-scale information equal to or more than a possible number of gray levels, wherein a flat image detecting means for detecting that a change in an image is flat by comparing the original image data for each pixel; Reset means for resetting the error data of the error data holding means for each predetermined number of pixels according to the detection output of the flat image detection means, and the influence of the error data will be added later. A pseudo gradation processing device to prevent the left.

【0010】更に、前記フラット画像検出手段の出力に
基づき、前記誤差データのビット数(n)が表す数値
(2n)の整数倍の画素数毎に前記リセット手段を駆動
するリセットタイミング発生手段を備えることにより、
誤差データの影響を一定画素数内で収束するようにした
ものである。更に、前記リセットタイミング発生手段
は、水平走査線毎にリセットのタイミングを異ならし
め、また、前記リセットタイミング発生手段は、水平走
査線毎にリセットのタイミングを異ならしめると共に、
同一水平走査線においてもフレーム毎にリセットのタイ
ミングを異ならしめることにより、桁上がりの起こる位
置が分散し、画質の劣化が防止できるものである。
[0010] Further, based on the output of the flat image detecting means, reset timing generating means for driving the reset means for each pixel number equal to an integral multiple of the numerical value (2 n ) represented by the bit number (n) of the error data is provided. By preparing
The effect of the error data converges within a certain number of pixels. Further, the reset timing generating means varies the reset timing for each horizontal scanning line, and the reset timing generating means varies the reset timing for each horizontal scanning line,
By making the reset timing different for each frame even in the same horizontal scanning line, the positions where the carry occurs are dispersed and the deterioration of the image quality can be prevented.

【0011】[0011]

【作用】上述の手段によれば、フラット画像検出手段
は、画素毎に印加される原画像データを1画素前及び2
画素前と比較することによって、原画像データの変化幅
を調べ、データの変化が所定値以内であるときに、フラ
ット画面であると認識し、検出出力を発生する。この検
出出力が発生しない場合には、画像の濃淡がフラットで
ないと判別し、通常の疑似階調処理が行われる。即ち、
原画像データに誤差データが加算され、加算結果の上位
所定ビットが画像表示データとして出力され、下位所定
ビットが次の原画像データに加算するための誤差データ
として保持される。
According to the above-described means, the flat image detecting means determines whether the original image data applied to each pixel is one pixel before and two pixels before.
By comparing the original image data with that before the pixel, the change width of the original image data is checked, and when the change of the data is within a predetermined value, the image is recognized as a flat screen and a detection output is generated. If this detection output does not occur, it is determined that the density of the image is not flat, and normal pseudo gradation processing is performed. That is,
Error data is added to the original image data, the upper predetermined bits of the addition result are output as image display data, and the lower predetermined bits are held as error data for addition to the next original image data.

【0012】一方、フラット画像検出手段から検出出力
が発生すると、リセット手段が所定の画素周期で誤差デ
ータ保持手段の誤差データをリセットする。これによ
り、それまでの誤差データが、以後の画素に影響を与え
ることがなくなり、フラット画像での画質が向上する。
また、リセットタイミング発生手段によって隣接する水
平走査線毎にリセットする画素の位置を変え、また、同
一水平走査線であってもフレーム毎にリセットされる画
素の位置を変えることにより、画像表示データに桁上が
りする画素位置が画面全体でばらつくために、縦線など
の発生を防止でき、画質を向上することができる。ま
た、疑似階調処理の結果を効果的に表すことができる。
On the other hand, when a detection output is generated from the flat image detection means, the reset means resets the error data of the error data holding means at a predetermined pixel cycle. As a result, the error data up to that point does not affect subsequent pixels, and the image quality of a flat image is improved.
Further, by changing the position of the pixel to be reset for each adjacent horizontal scanning line by the reset timing generating means, and changing the position of the pixel to be reset for each frame even for the same horizontal scanning line, the image display data can be obtained. Since the position of the carry-up pixel varies throughout the screen, it is possible to prevent the occurrence of vertical lines and the like, and to improve the image quality. Further, the result of the pseudo gradation process can be effectively represented.

【0013】[0013]

【実施例】図1は本発明の実施例を示す疑似階調処理装
置のブロック図であり、R、G、Bの各色の原画像デー
タの出力部と各色のLCDドライバとの間に各々設けら
れる装置であり、6ビットの原画像データSDを処理し
て、4ビットの画像表示データGDとして4ビット入力
のLCDドライバに出力する装置である。
FIG. 1 is a block diagram of a pseudo gradation processing apparatus showing an embodiment of the present invention. The pseudo gradation processing apparatus is provided between an output section of original image data of each color of R, G and B and an LCD driver of each color. This is a device that processes 6-bit original image data SD and outputs it as 4-bit image display data GD to a 4-bit input LCD driver.

【0014】図1の疑似階調処理装置に於て、ラッチ回
路21は、ドットクロックDKに同期して入力される6
ビットの原画像データSDを順次保持する回路であり、
具体的には6個のD−FFから構成される。演算回路2
2はラッチ回路21から出力される原画像データSDと
誤差データ保持回路24から出力される1画素前の2ビ
ットの誤差データEIを加算する回路である。この演算
回路22の6ビット出力の補正画像データのうち、上位
4ビットはドットクロックDKによってラッチ回路25
に保持され、画像表示データGDとしてLCDの4ビッ
ト入力デジタルドライバに供給される。ラッチ回路25
は、4個のD−FFで構成される。
In the pseudo gradation processing apparatus shown in FIG. 1, the latch circuit 21 receives the input signal in synchronization with the dot clock DK.
A circuit for sequentially holding original image data SD of bits,
Specifically, it is composed of six D-FFs. Arithmetic circuit 2
Reference numeral 2 denotes a circuit for adding the original image data SD output from the latch circuit 21 and the 2-bit error data EI of one pixel before output from the error data holding circuit 24. Of the 6-bit output corrected image data of the arithmetic circuit 22, the upper 4 bits are latched by the latch circuit 25 by the dot clock DK.
And supplied to the 4-bit input digital driver of the LCD as image display data GD. Latch circuit 25
Is composed of four D-FFs.

【0015】一方、演算回路22の6ビット出力の補正
画像データの下位2ビットは、誤差データEIとしてリ
セット回路23を介して誤差データ保持回路24に供給
される。リセット回路23は、演算回路22からの誤差
データEIをそのまま誤差データ保持回路24に供給す
る動作と「00」のデータを供給する動作とがリセット
タイミング発生回路27の出力RESによって切り替え
られる。誤差データ保持回路24は、2個のD−FFか
ら構成され、保持動作はドットクロックDKによって制
御される。
On the other hand, the lower 2 bits of the 6-bit output corrected image data of the arithmetic circuit 22 are supplied as error data EI to an error data holding circuit 24 via a reset circuit 23. The reset circuit 23 switches between the operation of supplying the error data EI from the arithmetic circuit 22 to the error data holding circuit 24 as it is and the operation of supplying the data “00” by the output RES of the reset timing generation circuit 27. The error data holding circuit 24 is composed of two D-FFs, and the holding operation is controlled by the dot clock DK.

【0016】フラット画像検出回路26は、ドットクロ
ックDKに同期して送られてくる原画像データSDに基
づき、1画素前及び2画素前の原画像データSDと現在
供給された画素の画像データSDを比較し、その変化量
が一定値以下であることを検出して、フラットな濃淡を
持った画像であることを検出する。具体的には、ラッチ
回路21から出力される原画像データSDをドットクロ
ックDKによって保持するラッチ回路31と、ラッチ回
路31の出力をドットクロックDKによって保持するラ
ッチ回路32と、各ラッチ回路31及び32の出力と供
給された原画像データSDとを各々比較する比較回路2
8及び29と、比較回路28と29の出力の論理積をと
るAND回路30から構成されている。
The flat image detecting circuit 26, based on the original image data SD sent in synchronization with the dot clock DK, the original image data SD one pixel before and two pixels before and the image data SD of the currently supplied pixel Are compared, and it is detected that the amount of change is equal to or less than a predetermined value, and it is detected that the image has a flat shading. Specifically, a latch circuit 31 that holds the original image data SD output from the latch circuit 21 by the dot clock DK, a latch circuit 32 that holds the output of the latch circuit 31 by the dot clock DK, A comparison circuit 2 for comparing each of the output of C.32 with the supplied original image data SD
8 and 29, and an AND circuit 30 for calculating the logical product of the outputs of the comparison circuits 28 and 29.

【0017】ここで、ラッチ回路31及び32は、各々
6個のD−FFで構成され、各ビットに対して2段のシ
フトレジスタを構成している。従って、ドットクロック
DKが入力される度に、原画像データSDが順次シフト
するため、ラッチ回路31には1画素前の原画像データ
SDが保持され、ラッチ回路32には2画素前の原画像
データSDが保持される。比較回路28は原画像データ
SDとラッチ回路31の差が所定値以内であるとき検出
出力を「H」とし、比較回路29は原画像データSDと
ラッチ回路32の差が所定値以内であるとき検出出力を
「H」にする。従って、AND回路30からは、1画素
前及び2画素前の原画像データSDと現在の原画像デー
タSDの差がともに所定値以内の場合に「H」の検出出
力DETが出力される。尚、上記においては、原画像デ
ータSDの6ビットを比較対象としたが、差の許容範囲
によっては上位5ビットあるいは4ビットを比較対象に
してもよい。
Here, each of the latch circuits 31 and 32 is constituted by six D-FFs, and constitutes a two-stage shift register for each bit. Therefore, each time the dot clock DK is input, the original image data SD is sequentially shifted, so that the latch circuit 31 holds the original image data SD one pixel before, and the latch circuit 32 stores the original image data SD two pixels before. Data SD is held. The comparison circuit 28 sets the detection output to “H” when the difference between the original image data SD and the latch circuit 31 is within a predetermined value, and the comparison circuit 29 sets the detection output when the difference between the original image data SD and the latch circuit 32 is within a predetermined value. The detection output is set to “H”. Therefore, the AND circuit 30 outputs the detection output DET of “H” when the difference between the original image data SD one pixel before and two pixels before and the current original image data SD are both within a predetermined value. In the above description, the 6 bits of the original image data SD are compared, but the upper 5 bits or 4 bits may be compared depending on the allowable range of the difference.

【0018】リセットタイミング発生回路27は、ドッ
トクロックDK、水平同期信号HSY NC、垂直同期信号V
SYNCによって、リセット回路23を動作させるリセット
信号RESを発生する回路であり、フラット画像検出回
路26の出力が「H」の場合に、誤差データのリセット
をかけるドット周期のタイミングを決定するとともに、
水平走査線毎及びフレーム毎にリセットをかけるタイミ
ングを異ならしめるようにタイミングを作成するもので
ある。
The reset timing generating circuit 27 includes a dot clock DK, a horizontal synchronizing signal H SY NC , and a vertical synchronizing signal V
This is a circuit that generates a reset signal RES for operating the reset circuit 23 by SYNC . When the output of the flat image detection circuit 26 is “H”, the timing of a dot cycle for resetting error data is determined.
The timing is generated so that the timing of resetting is different for each horizontal scanning line and each frame.

【0019】次に、図1の動作を説明する。N番目の画
素の原画像データSD(N)がラッチ回路21に保持され
ると、演算回路22は1画素前の2ビットの誤差データ
EI(N-1)と原画像データSD(N)を加算し出力する。こ
の加算の結果、キャリーが発生すると、演算回路22
は、最大値、即ち、6ビットの全てが「1」のデータを
出力する。この時、フラット画像検出回路26のラッチ
回路31には1画素前の原画像データSD(N-1)が保持
され、ラッチ回路32には2画素前の原画像データSD
(N-2)が保持されている。比較回路28及び29の比較
の結果、AND回路30の検出出力DETが「L」であ
る時、リセットタイミング発生回路27の出力RESは
「L」であるため、リセット回路23は、演算回路22
からの出力の下位2ビットを誤差データEI(N)として
誤差データ保持回路24に供給する。演算回路22の出
力の上位4ビットは、画像表示データGD(N)としてラ
ッチ回路25に出力される。
Next, the operation of FIG. 1 will be described. When the original image data SD (N) of the Nth pixel is held in the latch circuit 21, the arithmetic circuit 22 calculates the 2-bit error data EI (N-1) one pixel before and the original image data SD (N) . Add and output. When a carry occurs as a result of this addition, the arithmetic circuit 22
Outputs the maximum value, that is, data in which all 6 bits are “1”. At this time, the latch circuit 31 of the flat image detection circuit 26 holds the original image data SD (N−1) one pixel before, and the latch circuit 32 stores the original image data SD (N−1) two pixels before.
(N-2) is held. As a result of the comparison between the comparison circuits 28 and 29, when the detection output DET of the AND circuit 30 is “L”, the output RES of the reset timing generation circuit 27 is “L”.
Are supplied to the error data holding circuit 24 as error data EI (N) . The upper 4 bits of the output of the arithmetic circuit 22 are output to the latch circuit 25 as image display data GD (N) .

【0020】次に、ドットクロックDKに同期して原画
像データSD(N+1)が印加されると、原画像データSD
(N+1)はラッチ回路21に保持される。同時にドットク
ロックDKによって、演算回路22から出力されていた
誤差データEI(N)は誤差データ保持回路24に保持さ
れ、画像表示データGD(N)はラッチ回路25に保持さ
れ、出力される。また、フラット画面検出回路26のラ
ッチ回路31にはラッチ回路21から出力された原画像
データSD(N)が保持され、ラッチ回路32にはラッチ
回路31に保持されていた原画像データSD(N-1)が保
持される。以下、前述と同様に原画像データSD(N+1)
の処理がなされる。
Next, when the original image data SD (N + 1) is applied in synchronization with the dot clock DK, the original image data SD (N + 1) is applied.
(N + 1) is held in the latch circuit 21. At the same time, the error data EI (N) output from the arithmetic circuit 22 is held in the error data holding circuit 24 and the image display data GD (N) is held in the latch circuit 25 and output by the dot clock DK. Further, the original image data SD outputted from the latch circuit 21 (N) is held in the latch circuit 31 of the flat screen detection circuit 26, the original image data SD (N held in the latch circuit 31 to latch circuit 32 -1) is retained. Hereinafter, the original image data SD (N + 1)
Is performed.

【0021】ところで、原画像データSD(N)がラッチ
回路21に保持されたとき、フラット画像検出回路26
の検出出力DETが「H」となり、リセットタイミング
発生回路27によってリセット信号RESを発生するタ
イミングなったとすると、リセット信号RESは「H」
になることにより、リセット回路23は、演算回路22
から出力される誤差データEI(N)の代わりに、クリア
データ「00」を誤差データ保持回路24に出力する。
従って、次のドットクロックDKの到来によって、誤差
データ保持回路24には「00」が保持され、誤差デー
タの蓄積がこの時点でクリアされる。
When the original image data SD (N) is held in the latch circuit 21, the flat image detection circuit 26
Becomes high when the reset timing generation circuit 27 generates the reset signal RES, the reset signal RES becomes high.
, The reset circuit 23 becomes the arithmetic circuit 22
The clear data “00” is output to the error data holding circuit 24 in place of the error data EI (N) output from.
Therefore, when the next dot clock DK arrives, "00" is held in the error data holding circuit 24, and the accumulation of the error data is cleared at this point.

【0022】次にリセットタイミング発生回路27の構
成及び動作について説明する。リセットタイミング発生
回路27は、図2に示すごとく、ドットクロックDKを
計数するドットカウンタ33と、水平同期信号HSYNC
計数するHカウンタ34と、垂直同期信号VSYNCを計数
するVカウンタ35と、各カウンタ33、34、35の
出力をデコードするデコーダ36から構成されている。
ドットカウンタ33は、垂直同期信号HSYNCによってリ
セットされる構成であり、水平走査線の1ライン中の画
素数を計数する。また、Hカウンタ34は、垂直同期信
号VSYNCによってリセットされる構成であり、1フレー
ム中のライン数を計数する。Vカウンタ35は、フレー
ム数を計数する。
Next, the configuration and operation of the reset timing generation circuit 27 will be described. As shown in FIG. 2, the reset timing generation circuit 27 includes a dot counter 33 for counting the dot clock DK, an H counter 34 for counting the horizontal synchronization signal H SYNC , a V counter 35 for counting the vertical synchronization signal V SYNC , It comprises a decoder 36 for decoding the output of each of the counters 33, 34, 35.
The dot counter 33 is configured to be reset by the vertical synchronization signal HSYNC , and counts the number of pixels in one horizontal scanning line. The H counter 34 is configured to be reset by the vertical synchronization signal VSYNC , and counts the number of lines in one frame. The V counter 35 counts the number of frames.

【0023】デコーダ36は、各カウンタ33、34、
35の計数値に基づいて、誤差データEIをリセットす
るタイミングを発生し、そのタイミング発生時にフラッ
ト画面検出回路26の検出出力DETが「H」の場合に
リセット信号RESを出力する。本実施例の場合、誤差
データは2ビットであるから、2ビットの最小値「0
1」で桁上がりが起こるのは、4画素毎である。従っ
て、2n(nは誤差データのビット数)の整数倍でリセ
ットをかければ、誤差データの階調表示を損なうことな
く誤差データのクリアができる。
The decoder 36 includes counters 33, 34,
A timing for resetting the error data EI is generated based on the count value of 35, and a reset signal RES is output when the detection output DET of the flat screen detection circuit 26 is "H" at the timing. In the case of this embodiment, since the error data is 2 bits, the minimum value of 2 bits “0”
The carry occurs at every 4 pixels at "1". Therefore, if the reset is performed at an integral multiple of 2 n (n is the number of bits of the error data), the error data can be cleared without impairing the gradation display of the error data.

【0024】ところが各水平走査線及び各フレームにお
いて、常に同じ位置でリセットをかけると、桁上がりす
る位置が同一画素に発生するため、これが縦線として表
示されてしまう。そこで、デコーダ36は、水平走査線
毎に異なる画素位置でリセットがかかると共にフレーム
毎に異なった画素位置でリセットがかかるようにデコー
ドを行う。
However, if reset is always performed at the same position in each horizontal scanning line and each frame, a carry-up position occurs in the same pixel, and this is displayed as a vertical line. Therefore, the decoder 36 performs decoding so that reset is performed at a different pixel position for each horizontal scanning line and reset is performed at a different pixel position for each frame.

【0025】具体的には、図3に示すようなリセット位
置及びリセット間隔を設定する。図3において、画素を
示す括弧内の数字は、画素ナンバーを示す。奇数フレー
ムの場合、ライン「0」では、画素(3)、(7)・・
・(4m+3)(m=0、1、2、3・・・)のタイミ
ングでリセット、ライン「1」では画素(1)、(5)
・・・(4m+1)のタイミングでリセット、ライン
「2」では画素(2)、(6)・・・(4m+2)のタ
イミングでリセット、ライン「3」では画素(0)、
(4)・・・(4m)のタイミングでリセットを行う。
以降のラインはライン「0」からライン「3」の繰り返
しとなる。
Specifically, a reset position and a reset interval as shown in FIG. 3 are set. In FIG. 3, a number in parentheses indicating a pixel indicates a pixel number. In the case of an odd-numbered frame, at line “0”, pixels (3), (7),.
Reset at the timing of (4m + 3) (m = 0, 1, 2, 3,...), Pixels (1), (5) in line "1"
... Reset at the timing of (4m + 1), pixel (2) at line “2”, (6)... Reset at the timing of (4m + 2), pixel (0) at line “3”,
(4) Reset is performed at the timing of (4m).
Subsequent lines are a repetition of line “0” to line “3”.

【0026】偶数フレームの場合、ライン「0」では、
画素(0)、(4)・・・(4m)のタイミング、ライ
ン「1」では、画素(2)、(6)・・・(4m+2)
のタイミング、ライン「2」では、画素(1)、(5)
・・・(4m+1)のタイミング、ライン「3」では、
画素(3)、(7)・・・(4m+3)のタイミングで
リセットを行う。以降のラインは同様にライン「0」か
らライン「3」の繰り返しとなる。
In the case of an even frame, at line "0",
At the timing of the pixels (0), (4)... (4m), and at the line “1”, the pixels (2), (6)... (4m + 2)
At the timing of the line “2”, the pixels (1) and (5)
... at timing (4m + 1), line "3"
Reset is performed at the timing of pixels (3), (7)... (4m + 3). Subsequent lines are similarly repeated from line “0” to line “3”.

【0027】図3のリセットタイミングを実現するため
に、デコーダ36は、ドットカウンタ33の計数値が、
4m、4m+1、4m+2、4m+3であることを各々
検出するデコードブロックを有し、これらのデコードブ
ロックの出力を、Hカウンタ34の計数値が4h、4h
+1、4h+2、4h+3(h=0、1、2、3・・
・)を検出するデコード出力とVカウンタ35の計数値
が奇数または偶数であることを検出するデコード出力の
組み合わせによって選択する。そして、このデコード出
力は、フラット画面検出回路26の検出出力DETと論
理積をとることによってリセット信号RESとして出力
される。
In order to realize the reset timing shown in FIG. 3, the decoder 36 sets the count value of the dot counter 33 to
4m, 4m + 1, 4m + 2, and 4m + 3, respectively. The output of these decode blocks is counted by the H counter 34 as 4h, 4h.
+1, 4h + 2, 4h + 3 (h = 0, 1, 2, 3,...
The selection is made by a combination of a decode output for detecting ()) and a decode output for detecting that the count value of the V counter 35 is an odd number or an even number. The decoded output is ANDed with the detection output DET of the flat screen detection circuit 26 to be output as a reset signal RES.

【0028】このように、ライン毎にリセットタイミン
グを異ならしめ、また、2フレーム毎にもリセットタイ
ミングを異ならしめることにより、リセットタイミング
が表示画面上に均一に分散するため、特定位置に縦線が
表示されず、画質悪化が防止できる。尚、図3の例で
は、奇数フレームと偶数フレームに於てリセットパター
ンを変えているが、4つのフレームでリセットパターン
を変え、4フレーム毎に繰り返すようにしてもよい。
As described above, by making the reset timing different for each line and making the reset timing different for every two frames, the reset timing is uniformly distributed on the display screen. No image is displayed, and deterioration of image quality can be prevented. In the example of FIG. 3, the reset pattern is changed between the odd-numbered frame and the even-numbered frame. However, the reset pattern may be changed every four frames, and may be repeated every four frames.

【0029】[0029]

【発明の効果】上述の如く本発明によれば、隣接する画
素に誤差データを順次加算する誤差拡散処理方法を用い
た疑似階調処理装置において、左側の画像データの誤差
の影響が所定画素数以内で収束するため、右側の画像デ
ータに悪影響を及ぼさない利点があり、また、中間調の
フラットな画像に対しては、正確な誤差拡散処理が保証
できるので正しい階調性能が出せるとともに、動画像や
ランダムな画像に対しては誤差のリセットによる階調表
示の本来の性能低下を防止できる。更に、フラットな画
像においてリセットのタイミングを分散させ、更に、フ
レーム間でもタイミングを分散することによって、画面
上の現れる桁上がりによる輝度変化が分散し、フラット
画像での画質の劣化を防止できるものである。
As described above, according to the present invention, in a pseudo gradation processing apparatus using an error diffusion processing method of sequentially adding error data to adjacent pixels, the influence of an error in left image data is a predetermined number of pixels. It has the advantage of not adversely affecting the image data on the right because it converges within the range. Also, for a flat image of halftone, accurate error diffusion processing can be guaranteed, so that correct gradation performance can be obtained and moving images can be displayed. For an image or a random image, it is possible to prevent the original performance degradation of the gradation display due to the reset of the error. Further, by dispersing the reset timing in a flat image, and further dispersing the timing between frames, a change in luminance due to a carry appearing on the screen is dispersed, and deterioration of the image quality in the flat image can be prevented. is there.

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

【図1】本発明の実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】図1に示された一部ブロックの構成を示すブロ
ック図である。
FIG. 2 is a block diagram showing a configuration of a partial block shown in FIG.

【図3】図2に示された構成によって実現される動作を
説明するための図である。
FIG. 3 is a diagram for explaining an operation realized by the configuration shown in FIG. 2;

【図4】従来技術を示すブロック図である。FIG. 4 is a block diagram showing a conventional technique.

【符号の説明】[Explanation of symbols]

21 ラッチ回路 22 演算回路 23 リセット回路 24 誤差データ保持回路 25 ラッチ回路 26 フラット画像検出回路 27 リセットタイミング発生回路 Reference Signs List 21 latch circuit 22 arithmetic circuit 23 reset circuit 24 error data holding circuit 25 latch circuit 26 flat image detection circuit 27 reset timing generation circuit

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) G09G 5/02 G06T 5/00 G09G 5/36 H04N 1/405 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 6 , DB name) G09G 5/02 G06T 5/00 G09G 5/36 H04N 1/405

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 画素毎に供給される各原画像データに誤
差データを加算する演算手段と、該演算手段の結果得ら
れた処理画像データの所定数の下位ビットを次の誤差デ
ータとして保持する誤差データ保持手段とを備え、前記
原画像データのビット数より少ないビット数の画像表示
データに該画像表示データで表示可能な階調数以上の階
調情報を付加する疑似階調処理装置において、 前記原画像データを画素毎に比較することによって画像
の変化がフラットであることを検出するフラット画像検
出手段と、 該フラット画像検出手段の検出出力によって前記誤差デ
ータの保持手段の誤差データを所定画素数毎にリセット
するリセット手段を備え、前記誤差データの影響が後々
まで残ることを防止した疑似階調処理装置。
An arithmetic unit for adding error data to each original image data supplied for each pixel, and a predetermined number of lower bits of processed image data obtained as a result of the arithmetic unit are held as next error data. Error data holding means, a pseudo-gray-scale processing device for adding to the image display data of the number of bits smaller than the number of bits of the original image data the gradation information of the number of gradations that can be displayed by the image display data or more, Flat image detecting means for detecting that the change of the image is flat by comparing the original image data for each pixel; and detecting the error data of the error data holding means by a detection output of the flat image detecting means for a predetermined pixel. A pseudo-gradation processing apparatus comprising reset means for resetting every number, and preventing the influence of the error data from remaining afterwards.
【請求項2】 前記フラット画像検出手段の出力に基づ
き、前記誤差データのビット数(n)が表す数値
(2n)の整数倍の画素数毎に前記リセット手段を駆動
するリセットタイミング発生手段を備えた請求項1記載
の疑似階調処理装置。
2. A reset timing generating means for driving the reset means for each pixel number which is an integral multiple of a numerical value (2 n ) represented by the bit number (n) of the error data based on an output of the flat image detecting means. The pseudo gradation processing device according to claim 1, further comprising:
【請求項3】 前記リセットタイミング発生手段は、水
平走査線毎にリセットのタイミングを異ならしめたこと
を特徴とする請求項2記載の疑似階調処理装置。
3. The pseudo gradation processing device according to claim 2, wherein said reset timing generating means makes reset timing different for each horizontal scanning line.
【請求項4】 前記リセットタイミング発生手段は、水
平走査線毎にリセットのタイミングを異ならしめると共
に、同一水平走査線においてもフレーム毎にリセットの
タイミングを異ならしめることを特徴とする請求項2記
載の疑似階調処理装置。
4. The reset timing generating means according to claim 2, wherein the reset timing is made different for each horizontal scanning line, and the reset timing is made different for each frame even in the same horizontal scanning line. Pseudo gradation processing device.
JP5278698A 1993-11-08 1993-11-08 Pseudo gradation processor Expired - Fee Related JP2975823B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5278698A JP2975823B2 (en) 1993-11-08 1993-11-08 Pseudo gradation processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5278698A JP2975823B2 (en) 1993-11-08 1993-11-08 Pseudo gradation processor

Publications (2)

Publication Number Publication Date
JPH07134578A JPH07134578A (en) 1995-05-23
JP2975823B2 true JP2975823B2 (en) 1999-11-10

Family

ID=17600942

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5278698A Expired - Fee Related JP2975823B2 (en) 1993-11-08 1993-11-08 Pseudo gradation processor

Country Status (1)

Country Link
JP (1) JP2975823B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007129362A1 (en) * 2006-04-21 2007-11-15 Fujitsu Hitachi Plasma Display Limited Display apparatus and error spread method thereof

Also Published As

Publication number Publication date
JPH07134578A (en) 1995-05-23

Similar Documents

Publication Publication Date Title
US6606099B2 (en) Display device for creating intermediate gradation levels in pseudo manner and image signal processing method
EP1408683B1 (en) Method and apparatus for reducing false contour in digital display panel using pulse number modulation
US5576731A (en) Display line dispatcher apparatus
US5400053A (en) Method and apparatus for improved color to monochrome conversion
US7233339B2 (en) Method and apparatus for performing dithering
US8089556B2 (en) Flat display and driving method thereof
KR100810567B1 (en) Reduction of contouring in liquid crystal on silicon displays by dithering
JP2003338929A (en) Image processing method and apparatus thereof
KR100218545B1 (en) Image display method and image display apparatus
JP2804686B2 (en) Image information processing method and image information processing apparatus
JP2975823B2 (en) Pseudo gradation processor
US8125436B2 (en) Pixel dithering driving method and timing controller using the same
KR100848093B1 (en) A dithering apparatus and dithering method of liquid crystal display
KR100347491B1 (en) Image Information Process Apparatus for Having a Display to Display Continuous Tones in a Pseudo Manner
JP3690860B2 (en) Image processing device
JP2003076341A (en) Sequential color display device
JP3172378B2 (en) Pseudo gradation processor
WO2004015978A2 (en) Anti-contouring display correction
JP2000050315A (en) Method and device for controlling gradation display of stereoscopic image
KR100635001B1 (en) Non-flicker displaying device by the temporal dithering
JPH03231288A (en) Liquid crystal display panel apparatus and use thereof
JPH11272236A (en) Liquid crystal display device and its half-tone control method
JP3234422B2 (en) Pseudo gradation processor
JP2820036B2 (en) Display device gradation correction circuit
JP3172431B2 (en) Pseudo gradation processor

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080903

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090903

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees