JPS60185987A - Image data compression - Google Patents

Image data compression

Info

Publication number
JPS60185987A
JPS60185987A JP59041684A JP4168484A JPS60185987A JP S60185987 A JPS60185987 A JP S60185987A JP 59041684 A JP59041684 A JP 59041684A JP 4168484 A JP4168484 A JP 4168484A JP S60185987 A JPS60185987 A JP S60185987A
Authority
JP
Japan
Prior art keywords
circuit
signal
diagram
output
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.)
Pending
Application number
JP59041684A
Other languages
Japanese (ja)
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to JP59041684A priority Critical patent/JPS60185987A/en
Publication of JPS60185987A publication Critical patent/JPS60185987A/en
Pending legal-status Critical Current

Links

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 この発明はコンピュータなどによって表示される画像の
データを圧縮する方法に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a method for compressing image data displayed by a computer or the like.

従来、フンピユータなどの画像は極めて大きな容量を持
つため、特eこ画像を記憶装置などに記録する際非常に
大容量の記憶装置を必要としていた。
Conventionally, since the images of computers and the like have an extremely large capacity, a storage device with an extremely large capacity has been required to record the special images on a storage device.

これを改善する目的で、第1図(alのように画像の走
査線一本一本に着目し、画素の種類と、画素の連続量に
変換圧縮する方法が行なわれていたが、実際のコノピユ
ータは発色数が少ないものが多く、隣り同志に異なる色
を配する事によって、中間色を表現するという手法が広
く使用されている。例えば第1図(b)のように、赤色
と黄色を互い違いに配する事により橙色を表現したりす
るため、この手法を用いた画像に対しては画像圧縮効果
が全く無いという欠点を有していた。
In order to improve this, methods have been used to focus on each scanning line of an image and convert and compress it into pixel types and continuous amounts of pixels, as shown in Figure 1 (al). Many Konopiyuta have a small number of colors, and a method of expressing neutral colors by placing different colors next to each other is widely used.For example, as shown in Figure 1 (b), red and yellow are alternated. This method has the disadvantage that it has no image compression effect at all, since it expresses an orange color by placing it in the image.

この発明は上述した事情を改善するためになされたもの
であり、その目的とする所は中間色手法を用いた画像に
対しても効果の高い、実情に即した画像圧縮方法を提供
することである。
This invention was made to improve the above-mentioned situation, and its purpose is to provide an image compression method that is highly effective even for images using the intermediate color method and is suitable for actual situations. .

以下、図面を参照して実施例を説明する。第2図fa)
、(b)は実施例の説明図である。第2図(alは走査
線1本に着目した場合であるが、赤色上黄色、白色と緑
色というパターンが続いている。これを圧縮変換したも
のが第2図(1〕)である。すなわち、この例では走査
線を2画素fσに区切り、「赤黄」という画素パターン
が6個、「白縁」という画素パターンが3個、と圧縮さ
れる。
Examples will be described below with reference to the drawings. Figure 2 fa)
, (b) are explanatory diagrams of the embodiment. Figure 2 (al) is a case where attention is focused on one scanning line, but the pattern of yellow on red, white and green continues. The compression conversion of this is shown in Figure 2 (1). In this example, the scanning line is divided into two pixels fσ, and the pixel patterns of "red yellow" are compressed into six pixel patterns and the pixel patterns "white edge" are compressed into three pixel patterns.

第3図は実施例の詳細回路図である。ビデオメモリA、
B、C(2a〜2c)は画像が格納されている画像メモ
リで、通常は画像表示回路に結線されているが、本例で
は説明上省略しである。ビデオメモリが3組あるのは、
色彩を表現する為で、ビデオメモリA−Cの同一アドレ
スの同一ビットのデータにより、画面上の特定の一点の
色の種類が決定される。例えば、ビデオメモ’)A−C
からそれぞれ0.0.0が読み出されれば黒、Olo、
1で青、0.1.0で赤、■、0.0で緑などとイタ様
に構成されている。このビデオメモリA〜Cにはビデオ
メモリアドレス力ウノター1からアドレス信号が供給さ
れ、その信号に従って内部のデータが読み出される。読
み出された画像データ+2a〜!2cは、それぞれパラ
レルシリアル変換回路A−C(3a〜3c)に入力され
、シリアル変換される。この変換回路の詳細図を第4図
に示す。第4図はAのパラレルシリアル変換回路(3a
)の詳細図であるが、3組とも内部回路は同一である。
FIG. 3 is a detailed circuit diagram of the embodiment. video memory A,
B and C (2a to 2c) are image memories in which images are stored, and are normally connected to an image display circuit, but are omitted in this example for the sake of explanation. There are three sets of video memory,
This is to express colors, and the type of color of a specific point on the screen is determined by the data of the same bits at the same address in the video memories A to C. For example, video memo') A-C
If 0.0.0 is read from each, it is black, Olo,
It is structured in various ways such as 1 for blue, 0.1.0 for red, ■, 0.0 for green, etc. An address signal is supplied to the video memories A to C from the video memory address counter 1, and the internal data is read out in accordance with the signal. Read image data +2a~! 2c are respectively input to parallel-serial conversion circuits A-C (3a to 3c) and serially converted. A detailed diagram of this conversion circuit is shown in FIG. Figure 4 shows the parallel-to-serial converter circuit A (3a
), the internal circuits of all three sets are the same.

この回路はLOAD信号13が°゛1″になるとビデオ
メモリAの出力12aを内部F/F (4g〜4n)に
格納した後、クロックφ1が加わる毎にデータを2ビツ
トのシリアル信号14a、14bとして出力する。この
出力は第3図5aの一致回路に、一方がそのまま、一方
がF/F(4a、4b)を通して加えられて、一致不一
致の判定が行なわれる。−数回路A(5a)の詳細回路
図を図5に示す。EXCLUS I VEOR回路24
a、24bとNOR回路25により、入力14aと15
a、14bと15bが両者とも一致する時のみ” ! 
”、それ以外は°゛0″が出力される。この出力16a
は第3図9のN A N ])回路に入力される。−数
回路A−C(5a〜5c)も全く同一の回路であるので
、NAND回路9の出力は入力16a、16b、16c
がずべて°゛1″の時のみ” o ”となる。言い換え
れば、14aと15a、14bと+5b、14cと+5
c、14dと15d、14eと+5e、14fと15f
がそれぞれすべて等しい時のみ” o ”となる。これ
は画面上で、左右2画素と、続く2画素が同一の画素パ
ターンである事を示している。もし、このどれか1つで
も一致しない時は1″となり、画素パターンが異なった
事を示す。この不一致信号17は、プリセット端子/り
6のプリセット端子(PR)、メインメモリ8の書き込
み端子(WR)、ANDゲー)10bに加えられる。こ
の時、メイ/メモリアドレスカウ/り7によって参照さ
れるメインメモリ8の番地に、画素パターンコード20
及びプリセ、l・カウンタ6によって与えられる画素パ
ターン個数データ21を書き込む。この様子を第6図及
び第7図を用いて説明する。
This circuit stores the output 12a of the video memory A in the internal F/F (4g to 4n) when the LOAD signal 13 becomes ゛1'', and then transfers the data to the 2-bit serial signals 14a and 14b every time the clock φ1 is applied. This output is applied to the matching circuit of FIG. 3 5a, one as is and the other through F/F (4a, 4b), and a match/mismatch determination is made.-Math circuit A (5a) A detailed circuit diagram of EXCLUS I VEOR circuit 24 is shown in Figure 5.
a, 24b and the NOR circuit 25, inputs 14a and 15
Only when a, 14b and 15b both match”!
”, otherwise “0” is output. This output 16a
is input to the N A N ]) circuit in FIG. - Since the several circuits A-C (5a to 5c) are completely the same circuit, the output of the NAND circuit 9 is the input 16a, 16b, 16c.
It becomes "o" only when all are °゛1''. In other words, 14a and 15a, 14b and +5b, 14c and +5
c, 14d and 15d, 14e and +5e, 14f and 15f
It becomes "o" only when all of them are equal. This indicates that the two pixels on the left and right and the following two pixels have the same pixel pattern on the screen. If even one of these does not match, the value becomes 1'', indicating that the pixel patterns are different. WR), AND game) 10b.At this time, the pixel pattern code 20 is added to the address of the main memory 8 referenced by the memory address counter 7.
Then, the pixel pattern number data 21 given by the counter 6 is written. This situation will be explained using FIGS. 6 and 7.

第6図(alはビデオメモ’JA、B、Cの内容の一例
を示している。第7図はタイムチャートであり、第6図
(alの内容に従って、データが圧縮され、メインメモ
リ8に格納される様子を示している。最終的eこメイン
メモリ8の内容は第6図(b)の様になる。第7図にお
いて、φ1は書き込み基本クロック、φ2は読み出し基
本クロッつてある。すべての信号はφ1に同期したタイ
ミングで書き込まれ、φ2に同期して読み出される。L
OAD信号13はパラレルシリアル変換回路のタイミン
グ信号で、” ] ”の時、ビデオメモリの内容を読み
込み、IIoI+の期間クロックに従ってシリアル変換
した信号を出力する。ビデオメモリアドレスカウンタ1
は■、OAD信号13に同期したクロ、りφVAでカウ
ノトア、プする。シリアル変換された信号(14a〜f
、15a−f)は第7図に示すように出力され、−数回
路5a、5b、5cに加えられる。一致出力は16a、
16b、16cであり、従って不一致信号17が” ]
 ”の時、画素パター7が変化した事を示す。このタイ
ミングて、メインメモリ8に画素パターンコード20と
、画素パター/数データ21が書き込まれ、同時にメイ
ンメモリアドレスカウンタ7はインクリメンl−、ブリ
セ。
Figure 6 (al indicates an example of the contents of video memo 'JA, B, C. Figure 7 is a time chart, The final contents of the main memory 8 are as shown in FIG. 6(b). In FIG. 7, φ1 is the basic write clock, and φ2 is the basic read clock. All The signal is written in synchronization with φ1 and read out in synchronization with φ2.L
The OAD signal 13 is a timing signal for a parallel-to-serial conversion circuit, and when it is " ] ", the contents of the video memory are read and a serially converted signal is output according to the IIoI+ period clock. Video memory address counter 1
(2) The clock signal φVA synchronized with the OAD signal 13 is used to output the signal. Serial converted signals (14a-f
, 15a-f) are outputted as shown in FIG. 7 and applied to minus number circuits 5a, 5b, 5c. The matching output is 16a,
16b and 16c, so the mismatch signal 17 is "]
” indicates that the pixel pattern 7 has changed. At this timing, the pixel pattern code 20 and the pixel pattern/number data 21 are written to the main memory 8, and at the same time the main memory address counter 7 is incremented by .

トカウンタ6は°゛1″にプリセットされる。プリセッ
トカウンタ6は通常基本クロックに従って力マンントア
ッブしてし・るため、メインメモリ8に、1)き込まれ
る時には、画素パター7の個数を示している。
The preset counter 6 is preset to 0.1''. Since the preset counter 6 is normally updated according to the basic clock, it indicates the number of pixel patterns 7 when it is written into the main memory 8. .

以上説明したように、この発明は中間色手法を用いたコ
ノピユータ画像にも圧縮効果があるという利点を有する
As described above, the present invention has the advantage that it also has a compression effect on computer images using the intermediate color method.

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

第1図(a)は従来例の説明図、fb)は中間色手法の
説明図、第2図(a)、(blは本発明の一実施例の説
明図、第3図は実施例の回路構成図、第4図はパラレル
シリアル変換回路A(3a)の詳細回路図、第5図は一
致回路A(5a )の詳細回路図、第6図fa)はビデ
オメモリA、B、C(2a、2b、2C)の内容の一例
を示す図、第6図(b)は例に従った圧縮結果を示す図
、第7図は例に従ったタイムチャートを示す図である。 1・°゛ビデオメモリアドレスカウンタ2・・・ビデオ
メモリ、3・・・パラレルシリアル変換回路、4・・・
フリップフロップ、5・・・−数回路、6・・・プリセ
ットカウンタ、7・・・メインメモリアドレスカウンタ
、8・・・メインメモリ、9・・・NANDAND回路
0・・・AND回路、l 1・・・ビデオメモリアドレ
ス信号、12・ビデオメモリ出力、13・・LOAD信
号、14゛パラレルシリアル変換回路出力、15・・・
フリップフロップ出力、16・・・−数回路出力、17
・・・不一致信号、18・・・メインメモリアドレス力
ウソタ用クロック(φMA)、19・・・メインメモリ
アドレス信号、20・・・画素パターンコード、21・
・・画素ハターン数データ、22・・・トライステート
ゲート、23・ (7バータ、24=・EXCLUS 
I VE OR回路、25・・・NOROR 回路図1図) 力 点 範1図(い 榮4図 シリアル忠カ 一致出力 茄6図(0,、>
FIG. 1(a) is an explanatory diagram of the conventional example, fb) is an explanatory diagram of the intermediate color method, FIGS. 2(a) and (bl are explanatory diagrams of an embodiment of the present invention, and FIG. 3 is a circuit diagram of the embodiment) 4 is a detailed circuit diagram of parallel-serial conversion circuit A (3a), FIG. 5 is a detailed circuit diagram of matching circuit A (5a), and FIG. 6 fa) is a detailed circuit diagram of video memory A, B, C (2a). , 2b, 2C), FIG. 6(b) is a diagram showing compression results according to the example, and FIG. 7 is a diagram showing a time chart according to the example. 1.°゛Video memory address counter 2...Video memory, 3...Parallel-serial conversion circuit, 4...
Flip-flop, 5...-number circuit, 6... Preset counter, 7... Main memory address counter, 8... Main memory, 9... NAND AND circuit 0... AND circuit, l 1. ...Video memory address signal, 12.Video memory output, 13..LOAD signal, 14' parallel-serial conversion circuit output, 15..
Flip-flop output, 16...-number circuit output, 17
... Mismatch signal, 18... Main memory address power counter clock (φMA), 19... Main memory address signal, 20... Pixel pattern code, 21.
... Pixel pattern number data, 22 ... Tri-state gate, 23 (7 bits, 24 = EXCLUS
I VE OR circuit, 25...NOROR Circuit diagram 1 diagram) Emphasis range diagram 1 diagram (Iei 4 diagram Serial faithful power match output 茄6 diagram (0,, >

Claims (1)

【特許請求の範囲】[Claims] コノピユータなどによって表示される画像を、複数の画
素を一括した画素パターンのコード化符号と、該画素バ
ター/の個数とに変換する事を特徴とする画像データ圧
縮方法。
An image data compression method characterized by converting an image displayed by a computer or the like into a coded code of a pixel pattern including a plurality of pixels and the number of the pixel patterns.
JP59041684A 1984-03-05 1984-03-05 Image data compression Pending JPS60185987A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59041684A JPS60185987A (en) 1984-03-05 1984-03-05 Image data compression

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59041684A JPS60185987A (en) 1984-03-05 1984-03-05 Image data compression

Publications (1)

Publication Number Publication Date
JPS60185987A true JPS60185987A (en) 1985-09-21

Family

ID=12615247

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59041684A Pending JPS60185987A (en) 1984-03-05 1984-03-05 Image data compression

Country Status (1)

Country Link
JP (1) JPS60185987A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63201779A (en) * 1987-02-18 1988-08-19 Canon Inc Picture processor
JPS63201780A (en) * 1987-02-18 1988-08-19 Canon Inc Picture processor
US5692210A (en) * 1987-02-18 1997-11-25 Canon Kabushiki Kaisha Image processing apparatus having parallel processors for communicating and performing positional control over plural areas of image data in accordance with designated position instruction

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63201779A (en) * 1987-02-18 1988-08-19 Canon Inc Picture processor
JPS63201780A (en) * 1987-02-18 1988-08-19 Canon Inc Picture processor
US5692210A (en) * 1987-02-18 1997-11-25 Canon Kabushiki Kaisha Image processing apparatus having parallel processors for communicating and performing positional control over plural areas of image data in accordance with designated position instruction
US6477281B2 (en) 1987-02-18 2002-11-05 Canon Kabushiki Kaisha Image processing system having multiple processors for performing parallel image data processing

Similar Documents

Publication Publication Date Title
JP2572373B2 (en) Color display device
JPH058438B2 (en)
JPH0222957B2 (en)
US20030234795A1 (en) Apparatus and method for converting of pixels from YUV format to RGB format using color look-up tables
KR900003762A (en) High Speed Saturation Inverter
JPS60185987A (en) Image data compression
JPH01189690A (en) Double screen display controller
JPH0334777A (en) Picture signal encoder, picture signal decoder and picture signal display device
CN102541796B (en) Electronic device
CN203722733U (en) Image format converter
KR950006448B1 (en) Data changing circuit of pip tv system
JPS5836904B2 (en) Shape editing processing method
JPH02310588A (en) Picture signal processor
JPS6155692A (en) Image reduction display unit
JPS62191886A (en) Image display circuit
JPS58225725A (en) Pulse width moldulating circuit
JPS6210692A (en) Video signal generation circuit
JPS6153692A (en) Image display unit
JPS6228794A (en) Crt display unit
JPS63201692A (en) Conversion system for screen data
JPH01142791A (en) Image display circuit
JPS6279497A (en) Display data priority controller for display
JPH0296A (en) Display writing device
JPS63256991A (en) Editing memory
JPS61232488A (en) Address conversion for real brightness conversion table