JP2949760B2 - Image data expansion method - Google Patents

Image data expansion method

Info

Publication number
JP2949760B2
JP2949760B2 JP2050840A JP5084090A JP2949760B2 JP 2949760 B2 JP2949760 B2 JP 2949760B2 JP 2050840 A JP2050840 A JP 2050840A JP 5084090 A JP5084090 A JP 5084090A JP 2949760 B2 JP2949760 B2 JP 2949760B2
Authority
JP
Japan
Prior art keywords
image data
compressed image
line
storage area
row
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
JP2050840A
Other languages
Japanese (ja)
Other versions
JPH03253893A (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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2050840A priority Critical patent/JP2949760B2/en
Publication of JPH03253893A publication Critical patent/JPH03253893A/en
Application granted granted Critical
Publication of JP2949760B2 publication Critical patent/JP2949760B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はイメージデータ展開方式、特に2次元圧縮さ
れたイメージデータの展開方式に関するものである。
Description: BACKGROUND OF THE INVENTION The present invention relates to an image data expansion system, and more particularly to a system for expanding two-dimensionally compressed image data.

(従来技術) 2次元圧縮されたイメージデータ(以下圧縮イメージ
データと略す)の、ある行を展開するためには、一行目
の復元の場合を除いて、一般にその直前の少なくとも1
行の復元済みのデータが必要である。そのため圧縮イメ
ージデータのある範囲を展開するときには、それ以前の
行の復元済みデータが無ければ、圧縮イメージデータの
最初の行から展開する必要がある。
(Prior Art) In order to decompress a certain line of two-dimensionally compressed image data (hereinafter abbreviated as compressed image data), generally, at least one line immediately before the first line is restored, except for the case of decompression of the first line.
You need restored data for a row. Therefore, when decompressing a certain range of the compressed image data, it is necessary to decompress the data from the first row of the compressed image data if there is no decompressed data of the previous row.

従来、ワードプロセッサのように圧縮イメージデータ
を含む文書を上下にスクロールしながら表示する場合に
は、次の二つの処理方式のどちらかの処理がなされてい
た。
Conventionally, when displaying a document including compressed image data while scrolling it up and down as in a word processor, one of the following two processing methods has been performed.

第一の処理方式は、展開した復元済イメージデータを
すべて記憶しておく方式であり、第二の処理の方式は、
表示中の範囲を含むある範囲(以下記憶範囲と略す)の
復元済イメージデータのみ記憶しており、スクロールに
より表示範囲がずれても、表示範囲の上端が記憶範囲の
上端以下ならば記憶済の復元済イメージデータを利用し
て展開し、上向きスクロールにより表示範囲の上端が記
憶範囲の上端よりも上になると圧縮イメージデータの先
頭から展開を開始するという方式である。
The first processing method is a method of storing all the restored restored image data, and the second processing method is
Only the restored image data of a certain range (hereinafter, abbreviated as a storage range) including the range being displayed is stored. Even if the display range is shifted by scrolling, if the upper end of the display range is equal to or lower than the upper end of the storage range, the stored image data is stored. This is a method in which decompression is performed using restored image data, and decompression is started from the beginning of the compressed image data when the upper end of the display range becomes higher than the upper end of the storage range by upward scrolling.

(発明が解決しようとする課題) しかしながら、前記第1の処理方式の場合には、展開
済イメージデータを記憶するのに大きな記憶領域を必要
とするという問題点があり、また前記第2の処理方式の
場合には、上向きスクロール後の表示範囲の上端が記憶
範囲の上端よりも上になると、圧縮イメージデータの最
初の行から展開し直す必要があり、展開時間が長くなる
という問題点があった。
(Problems to be Solved by the Invention) However, in the case of the first processing method, there is a problem that a large storage area is required to store the expanded image data, and the second processing method is also required. In the case of the method, when the upper end of the display range after the upward scroll is higher than the upper end of the storage range, it is necessary to decompress from the first line of the compressed image data, and the decompression time becomes longer. Was.

本発明は上述した問題点を解決するためになされたも
のであり、展開したイメージデータを記憶するための大
きな記憶領域を必要とせず、また、上向きスクロール時
にも圧縮イメージデータの最初の行から展開し直す必要
がないイメージデータ展開方式を提供する事を目的とす
る。
The present invention has been made to solve the above-described problems, does not require a large storage area for storing the expanded image data, and expands the compressed image data from the first line even when scrolling upward. The purpose is to provide an image data expansion method that does not need to be redone.

(課題点を解決するための手段) 本発明のイメージデータ展開方式は、2次元圧縮イメ
ージデータの最初の行から所定行間隔で、該行の展開済
イメージデータを記憶する第1記憶領域と第1記憶領域
に記憶の展開済イメージデータに対する行の次行の2次
元圧縮イメージデータの先頭アドレスを記憶する第2記
憶領域とを有する展開基準情報記憶手段を備え、第1記
憶領域に記憶の展開済イメージデータ中、表示範囲の上
端以前でかつ表示範囲の上端に最も近い行の展開済イメ
ージデータを展開基準として次行の2次元圧縮イメージ
データを展開していくことを特徴とするものである。
(Means for Solving the Problems) According to the image data expanding method of the present invention, a first storage area for storing expanded image data of a two-dimensional compressed image data at a predetermined line interval from a first line and a second storage area are provided. And a second storage area for storing the start address of the two-dimensional compressed image data in the next row of the row for the expanded image data stored in one storage area, and expanding the storage in the first storage area. In the processed image data, the two-dimensional compressed image data in the next row is expanded based on the expanded image data in the row closest to the upper end of the display range before the upper end of the display range. .

(作 用) 上記の如く構成した本発明のイメージデータ展開方式
においては、圧縮イメージデータを最初の行から展開す
るとき、圧縮イメージデータの最初の行から所定行間隔
毎で該行の展開イメージデータを第1記憶領域に記憶
し、次の行の圧縮イメージデータの先頭アドレスを第2
記憶領域に記憶しておく。
(Operation) In the image data expanding method of the present invention configured as described above, when the compressed image data is expanded from the first line, the expanded image data of the line is arranged at predetermined line intervals from the first line of the compressed image data. Is stored in the first storage area, and the start address of the compressed image data of the next row is stored in the second storage area.
It is stored in a storage area.

ついで、上向きのスクロール時には、第1記憶領域に
記憶されている展開済イメージデータの内、表示範囲の
上端以前であって、かつ表示範囲の上端に最も近い行の
展開済イメージデータを基準として、次行の圧縮イメー
ジデータが展開される。
Then, at the time of upward scrolling, of the expanded image data stored in the first storage area, based on the expanded image data of the line before the upper end of the display range and closest to the upper end of the display range, The compressed image data on the next line is expanded.

したがって、展開基準情報記憶手段には所定行間隔毎
の展開イメージデータおよび次行の圧縮イメージデータ
の先頭アドレスを記憶すればよいため、展開基準情報記
憶手段の記憶容量は少なくてすみ、さらに展開時に最初
の行から展開していく必要もないため、展開時間も短か
くてすむことになる。
Therefore, the expansion reference information storage means may store the start address of the expansion image data for each predetermined row interval and the start address of the compressed image data of the next row. Since there is no need to expand from the first line, the development time is short.

(実施例) 以下、本発明を実施例により説明する。(Examples) Hereinafter, the present invention will be described with reference to examples.

第1図は本発明の一実施例の構成を示すブロック図で
あり、テキストおよび圧縮イメージデータを含む文書を
扱うワードプロセッサの場合を例示している。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, and illustrates the case of a word processor that handles a document including text and compressed image data.

本実施例のイメージデータ展開方式ではプログラムを
記憶させたROM1、表示装置2、入力装置3、テキストデ
ータおよび圧縮イメージデータからなる文書データが記
憶された読み書き可能な外部記憶装置4、RAM5および中
央処理装置6を備えている。RAM5はテキストデータ記憶
領域51、圧縮イメージデータ記憶領域52、1行イメージ
バッファ領域53、前行イメージバッフア領域54、展開基
準情報記憶領域55を有する。
In the image data expansion system of this embodiment, a ROM 1 storing a program, a display device 2, an input device 3, an external readable and writable storage device 4 storing document data composed of text data and compressed image data, a RAM 5, and a central processing unit The device 6 is provided. The RAM 5 has a text data storage area 51, a compressed image data storage area 52, a one-row image buffer area 53, a previous-row image buffer area 54, and a decompression reference information storage area 55.

入力装置から入力された指示にともない、ROM1に記憶
のプログラムの制御のもとにテキストデータ展開手段61
として働く中央処理装置6により、外部記憶装置4に記
憶のテキストデータはテキストデータ記憶領域51に書き
込まれ、展開されて、表示装置2に表示され、また同様
に、ROM1に記憶のプログラムの制御のもとにイメージデ
ータ展開手段62として働く中央処理装置6により、外部
記憶装置4に記憶の圧縮イメージデータは圧縮イメージ
データ記憶領域52に書き込まれ、1行イメージバッフア
領域53、前行イメージバッフア領域54、展開基準情報記
憶領域55に記憶の記憶内容と協働して展開されて、表示
装置2に表示される。
In accordance with an instruction input from the input device, text data expanding means 61 is controlled under the control of a program stored in ROM 1.
The text data stored in the external storage device 4 is written into the text data storage area 51 by the central processing unit 6 which functions as a storage device, expanded and displayed on the display device 2, and similarly, the control of the program stored in the ROM 1 is performed. The compressed image data stored in the external storage device 4 is written into the compressed image data storage area 52 by the central processing unit 6 which originally functions as the image data expanding means 62, and the one-line image buffer area 53 and the previous-line image buffer The data is developed in the area 54 and the development reference information storage area 55 in cooperation with the stored contents and displayed on the display device 2.

つぎに圧縮イメージデータの展開について第2図のフ
ロートチヤートにしたがって説明する。
Next, the expansion of the compressed image data will be described with reference to the flowchart of FIG.

まず、圧縮イメージデータの1行目から展開する場合
には(ステップS1)、最初に一行目の展開のために、少
なくとも1行目の圧縮イメージデータが圧縮イメージデ
ータ記憶領域52に書き込まれる(ステップS2)。圧縮イ
メージデータ記憶領域52の記憶データに対してイメージ
復元処理が行われ(ステップS3)、1行目のイメージデ
ータが一行イメージバッファ領域53に書き込まれる。そ
して表示範囲内なら一行イメージバッファの領域53に書
き込まれれたデータは表示装置2により表示される(ス
テップS4)。この時、所定行間隔(ここではたとえば32
行間隔とする)の行のイメージデータ(ステップS5
は、その行の圧縮イメージデータ末尾+1の、外部記憶
装置4における文書データ上のアドレス値(すなわち次
の行の圧縮イメージデータの先頭のアドレス値)ととも
に、展開基準情報領域55に順次記録される(ステップ
S6)。そして、この行が表示範囲の最終行でなければ
(ステップS7)、一行イメージバッファ領域53の内容は
前行イメージバッファ54に移され(ステップS8)、少な
くとも次の1行の圧縮イメージデータが圧縮イメージデ
ータ記憶領域52に読み込まれる(ステップS9)。二行目
以降の展開では、ステップS3のイメージ復元処理におい
て前行イメージバッファ54が参照されながら、ステップ
S3からステップS9の処理が繰返される。表示範囲内のす
べての行のイメージデータに対して(ステップS7)、イ
メージ復元処理が行なわれ、展開が終了する。
First, when the compressed image data is expanded from the first line (step S 1 ), at least the compressed image data of the first line is written to the compressed image data storage area 52 for the expansion of the first line (step S 1 ). step S 2). An image decompression process is performed on the data stored in the compressed image data storage area 52 (step S 3 ), and the first row of image data is written into the one row image buffer area 53. The data written in the area 53 of the line image buffer if the display range is displayed by the display device 2 (Step S 4). At this time, a predetermined line interval (here, for example, 32
Image data row of the line spacing) (Step S 5)
Are sequentially recorded in the decompression reference information area 55 together with the address value of the end of the compressed image data of the line + 1 on the document data in the external storage device 4 (that is, the start address value of the compressed image data of the next line). (Step
S 6). Then, if the last line of this row display range (step S 7), the contents of the line image buffer area 53 are transferred to previous line image buffer 54 (Step S 8), at least next line compressed image data There are read the compressed image data storage area 52 (step S 9). The development of the second line below while the previous line image buffer 54 is referred to in the image restoration process in step S 3, step
The process of step S 9 are repeated from S 3. For the image data of all rows in the display range (step S 7), the image restoration process is performed, development is completed.

上記により圧縮イメージデータから順次表示範囲内の
すべての行の圧縮イメージデータが復元処理される。こ
の処理の途中において、32行間隔毎に各32行目の復元イ
メージデータおよび次の行の圧縮イメージデータの先頭
アドレスが展開基準情報記憶領域55に記憶されている。
As described above, the compressed image data of all the rows within the display range is sequentially restored from the compressed image data. During this process, the decompressed image data of the 32nd row and the start address of the compressed image data of the next row are stored in the decompression reference information storage area 55 at intervals of 32 rows.

つぎに、イメージデータの途中の行から展開する場合
には(ステップS1)、展開基準情報領域55に記憶された
行のうち、表示範囲の上端以前でもっとも近い行を基準
行として(ステップS10)前行イメージバッファに領域5
4読み込み(ステップS11)、次の1行の圧縮イメージデ
ータを圧縮イメージデータ記憶領域52に読み込む(ステ
ップS9)。そして表示範囲の上端まではステップS4での
表示を省略しながら、ステップS3からステップS9の処理
が繰返され、その後ステップS4で表示をしながら表示範
囲の最終行まで(ステップS7)、圧縮イメージデータが
展開される。
Next, when the image data is expanded from a middle line (step S 1 ), among the lines stored in the expansion reference information area 55, the closest line before the upper end of the display range is set as the reference line (step S 1). 10 ) Area 5 in the previous image buffer
4 is read (step S 11), reads the compressed image data of the next line to the compressed image data storage area 52 (step S 9). And while up to the upper end of the display range to suppress the display in step S 4, the process of step S 9 from step S 3 is repeated, then the last line of the display range while the display in step S 4 (step S 7 ), The compressed image data is expanded.

(発明の効果) 以上説明した如く本発明のイメージデータ展開方式に
よれば、二次元圧縮のイメージデータを上下にスクロー
ルしながら表示する時に、展開済のイメージデータをす
べて記憶しておく必要はなく、ある間隔の行データのみ
を記憶しておけばよく、記憶手段の容量が小さく済むと
いう効果がある。
(Effect of the Invention) As described above, according to the image data expanding method of the present invention, when displaying the two-dimensionally compressed image data while scrolling it up and down, it is not necessary to store all the expanded image data. In this case, only the row data at a certain interval need be stored, so that the capacity of the storage means can be reduced.

また、上向きスクロール時にもイメージデータの先頭
から展開する必要がなく、上記の展開基準情報記憶手段
に記憶してある行のうち、展開範囲の上端以前でもっと
も近い行からの展開で済むため、展開に要する時間も短
く済むという効果がある。
Also, it is not necessary to expand from the beginning of the image data at the time of upward scrolling, and it is possible to expand from the closest line before the upper end of the expansion range among the lines stored in the expansion reference information storage means. This has the effect of shortening the time required.

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

第1図は本発明の一実施例の構成を示すブロック図。 第2図は本発明の一実施例の作用の説明に供するフロー
チャート。 1……ROM、2……表示装置、3……入力装置、4……
外部記憶装置、5……RAM、6……中央処理装置、51…
…テキストデータ記憶領域、52……圧縮イメージデータ
記憶領域、53……1行イメージバッファ領域、54……前
行イメージバッファ領域、55……展開基準情報記憶領
域。
FIG. 1 is a block diagram showing the configuration of one embodiment of the present invention. FIG. 2 is a flowchart for explaining the operation of one embodiment of the present invention. 1 ... ROM, 2 ... Display device, 3 ... Input device, 4 ...
External storage device, 5 RAM, 6 Central processing unit, 51
... text data storage area, 52 ... compressed image data storage area, 53 ... one row image buffer area, 54 ... previous row image buffer area, 55 ... expansion reference information storage area.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】2次元圧縮イメージデータを展開するイメ
ージデータ展開方式であって、2次元圧縮イメージデー
タの最初の行から所定行間隔で、該行の展開済イメージ
データを記憶する第1記憶領域と第1記憶領域に記憶の
展開済イメージデータに対する行の次行の2次元圧縮イ
メージデータの先頭アドレスを記憶する第2記憶領域と
を有する展開基準情報記憶手段を備え、第1記憶領域に
記憶の展開済イメージデータ中、表示範囲の上端以前で
かつ表示範囲の上端に最も近い行の展開済イメージデー
タを展開基準として次行の2次元圧縮イメージデータを
展開していくことを特徴とするイメージデータ展開方
式。
An image data decompression method for decompressing two-dimensional compressed image data, wherein a first storage area for storing decompressed image data of a two-dimensional compressed image data at a predetermined line interval from a first line of the two-dimensional compressed image data A decompression reference information storage unit having a first storage area and a second storage area for storing a head address of two-dimensional compressed image data in a row next to a row corresponding to decompressed image data stored in the first storage area; Wherein the two-dimensional compressed image data of the next row is expanded based on the expanded image data of the row before the upper end of the display range and closest to the upper end of the display range in the expanded image data. Data expansion method.
JP2050840A 1990-03-03 1990-03-03 Image data expansion method Expired - Fee Related JP2949760B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2050840A JP2949760B2 (en) 1990-03-03 1990-03-03 Image data expansion method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2050840A JP2949760B2 (en) 1990-03-03 1990-03-03 Image data expansion method

Publications (2)

Publication Number Publication Date
JPH03253893A JPH03253893A (en) 1991-11-12
JP2949760B2 true JP2949760B2 (en) 1999-09-20

Family

ID=12869943

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2050840A Expired - Fee Related JP2949760B2 (en) 1990-03-03 1990-03-03 Image data expansion method

Country Status (1)

Country Link
JP (1) JP2949760B2 (en)

Also Published As

Publication number Publication date
JPH03253893A (en) 1991-11-12

Similar Documents

Publication Publication Date Title
JP2949760B2 (en) Image data expansion method
JP3045359B2 (en) Image processing device
JP2598935B2 (en) Writing method to text memory
JPS62288977A (en) Composition system
JP2821409B2 (en) Image memory
JP2789623B2 (en) Window output device
JPH06168307A (en) Image data storing device
JP2830239B2 (en) Input display control device
JPH09245032A (en) Document preparation device and page replacing method
JPH06242770A (en) Display screen controller
JPH0462677B2 (en)
JPH077391B2 (en) Document processor
JPS5856182A (en) Incomplete document stand-by control system of document drawing-up device
JPH0325828B2 (en)
JPH036772A (en) Image processor
JPH10105549A (en) Document editing processing method
JPH0546751A (en) Data terminal equipment
JPH06236369A (en) Word processor and replacing method for page
JPH03133672A (en) Image forming apparatus
JPH01287693A (en) Picture information output device
KR19990012928A (en) How to reduce DRAM refresh time
JPS61219266A (en) System for processing compressed picture data
JPS6032090A (en) Crt display terminal
JPH04130547A (en) Information processing system
JPS60129786A (en) Image memory

Legal Events

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

Free format text: PAYMENT UNTIL: 20080709

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090709

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees