JPS617769A - Image memory write control system - Google Patents

Image memory write control system

Info

Publication number
JPS617769A
JPS617769A JP59128627A JP12862784A JPS617769A JP S617769 A JPS617769 A JP S617769A JP 59128627 A JP59128627 A JP 59128627A JP 12862784 A JP12862784 A JP 12862784A JP S617769 A JPS617769 A JP S617769A
Authority
JP
Japan
Prior art keywords
data
value
image memory
run length
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
JP59128627A
Other languages
Japanese (ja)
Inventor
Akio Munakata
昭夫 宗像
Toshiro Yagi
矢儀 俊郎
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP59128627A priority Critical patent/JPS617769A/en
Publication of JPS617769A publication Critical patent/JPS617769A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)
  • Memory System (AREA)
  • Storing Facsimile Image Data (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To write image data at high speed by controlling a write address depending on a run length value and writing the polarity of the run length value only as for a bit having a different polarity of an image memory initialized in advance. CONSTITUTION:A data inputted to a run length converter 1 is converted to a run length value and inputted to an adder 10. In this case, when the polarity of the initialized data of the image memory and that of the data bit are the same, either a Y address value (a value of an address register 7) or an X address value (a value of an address register 8) selected by a multiplexer 4 is added to the run length value and the result is outputted. Thus, the X address is updated by the run length of the image data. On the other hand, when the polarity of the output of the converter 1 is different from that of the initializing data of the image memory, the value of the address register is advanced by the run length value and the data is written in the image memory.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はホスト計算機とイメージデータ記録装置との間
にあって、イメージデータの圧縮、伸長や編集などを行
なうイメージデータ処理装置におけるイメージメモリへ
のデータの書き込みの制御に係るものである。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to data storage in an image memory in an image data processing device that is located between a host computer and an image data recording device and performs compression, expansion, editing, etc. of image data. This relates to control of writing.

〔従来の技術〕[Conventional technology]

第4図はイメージデータ処理装置の接続関係を表わした
図であって、20はホスト計算機、21はイメージデー
タ処理装置、22はイメージデータ記録装置を示してい
る。第5図はイメージデータ処理装置の構成例會示すブ
ロック図であって、23はマイクロプロセッサ、24は
インタフェース制御部、25はメモリ、26は文字制御
部、27は伸長制御部、28はイメージメモリ制御部、
29は圧縮制御部、30はイメージメモリを表わしてい
る。
FIG. 4 is a diagram showing the connection relationship of the image data processing apparatus, in which 20 represents a host computer, 21 represents an image data processing apparatus, and 22 represents an image data recording apparatus. FIG. 5 is a block diagram showing a configuration example of an image data processing device, in which 23 is a microprocessor, 24 is an interface control section, 25 is a memory, 26 is a character control section, 27 is an expansion control section, and 28 is an image memory control section. Department,
29 represents a compression control section, and 30 represents an image memory.

第4図および第5図に示すイメージデータ処理装置21
は、イン煮フェース制御部24を経由してホスト計算機
20から受は取った文字データやイメージデータをイメ
ージメモリ30上で編集して、これを再びインク7工−
ス制御部24を経由してイメージデータ記録装置22に
送出するなどの処理を行なっている。
Image data processing device 21 shown in FIGS. 4 and 5
The character data and image data received from the host computer 20 via the input interface control unit 24 are edited on the image memory 30, and this is re-inputted into the ink 7 process.
Processing such as sending the data to the image data recording device 22 via the space control unit 24 is performed.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述のイメージデータ処理装置において、イメージメモ
リには記録すべき図形や文字などのパターンと同一のド
ツト情報が書き込まれる。そのときζ′°イメージメモ
リ制御部はイメージメモリに1ビツトづつデータを書き
込むのでアクセス回数が多いため処理に長時間を要する
と云う問題点があった。
In the image data processing device described above, dot information identical to the pattern of figures, characters, etc. to be recorded is written into the image memory. At this time, the ζ'° image memory control section writes data one bit at a time to the image memory, so there is a problem that the number of accesses is large and the processing takes a long time.

例えばイメージメモリの大きさはA4サイズ1頁で、約
500にバイト(1728ビット×2286ピツト)I
Cなるので、1ビット当りのアクセス時間t”400n
sとすると1枚の画面データを書き込むのに約1.6秒
かかることになる。
For example, the size of the image memory is 1 page of A4 size, approximately 500 bytes (1728 bits x 2286 pits) I
Therefore, the access time per bit is t”400n
If it is s, it will take about 1.6 seconds to write one screen data.

本発明は、かかる従来の問題点に鑑み、イメージデータ
処理装置における、イメージメモリへのデータ書き込み
が、少ないアクセスで可能であって迅速な処理が期待出
来る制御方式を提供することを目的としている。
SUMMARY OF THE INVENTION In view of these conventional problems, it is an object of the present invention to provide a control method in which data can be written to an image memory in an image data processing device with fewer accesses and rapid processing can be expected.

〔問題点を解決するための手段〕[Means for solving problems]

そして、この目的は本発明によれば、特許請求の範囲に
記載のとおり、ホスト計算機とイメージデータ記録装置
との間に位置してデータの編集やデータの転送を行なう
イメージデータ処理装置において、イメージデータをラ
ンレングス値に変換する手段と、データの書き込みに先
立ち初期値としてイメージメモリの該当区域の全ビット
をすべて”o” tたはすべて1#にする手段と、イメ
ージメモリのアクセスに用いるアドレスレジスタの値に
前記ランレングス値を加算する手段とを設け、イメージ
メモリへのイメージデータの書き込みに際し、イメージ
メモリの初期値と同極性のデータについては書き込むこ
となく該データに係るランレングス値を加算するととに
よシアドレスレジスタの値を更新し、イメージメモリの
初期値と異なる弾性のビットのみ書き込むことを特徴と
するイメージメモリ書き込み制御方式によシ達成される
According to the present invention, this object is achieved by an image data processing device that is located between a host computer and an image data recording device and performs data editing and data transfer, as described in the claims. means for converting data into run-length values; means for setting all bits in a corresponding area of image memory to all "o" t or all 1# as an initial value prior to writing data; and an address used for accessing the image memory. means for adding the run length value to the value of the register, and when writing image data to the image memory, the run length value related to the data is added without writing data having the same polarity as the initial value of the image memory. This is achieved by an image memory write control method characterized in that the value of the seat address register is updated and only the bits whose elasticity differs from the initial value of the image memory are written.

〔作 用〕[For production]

本発明のイメージメモリ書き込み制御方式は、上述のよ
うにデータの書き込みに先立って、予めメモリの該当位
置の全ビットを0#またはl#にして置いて、これと異
なる極性のビットの場合のみ書き込む方式としているの
で、従来の様にすべてのデータピッ)t−書き込む場合
に比して、アクセス回数が減少するが、更に、書き込む
べきデータが全体的に0#の割合が多ければ初期値とし
て0″ヲ、またl#の割合が多ければ初期値としてl”
を用いることによシイメージメモリへの実際のアクセス
回数を大幅に減少せしめることが可能である。以下実施
例に基づいて詳細に説明する。
As described above, the image memory write control method of the present invention sets all bits at a corresponding memory location to 0# or l# in advance before writing data, and writes only when the bits have a different polarity. This method reduces the number of accesses compared to the conventional case of writing all data pins, but in addition, if the data to be written has a large proportion of 0# as a whole, the initial value is 0''. Wow, if the ratio of l# is large, the initial value is l”
By using this, it is possible to significantly reduce the number of actual accesses to the image memory. A detailed explanation will be given below based on examples.

〔実施例〕〔Example〕

第1図は本発明の1実施例を示すブロック図であって、
1はランレングス変換器、2〜4はマルチプレクサ、5
〜8はアドレスレジスタ、9はイメージメモリ、1oは
加算器、11はモードレジスタを表わしている。
FIG. 1 is a block diagram showing one embodiment of the present invention,
1 is a run length converter, 2 to 4 are multiplexers, 5
8 represents an address register, 9 represents an image memory, 1o represents an adder, and 11 represents a mode register.

ランレングス変換器1はイメージデータをランレングス
データに変換するもので、第2図にそのデータ変換の例
を示す。第2図において、12はイメージデータ、13
はランレングス変換器、14はランレングスデータを表
わしている。すなわち、イメージデータ12は先頭(図
の左上)から矢印の方向に1バイトづつ処理されてラン
レングスデータ14に示す様に矢印の方向に白3、黒1
、白2・・・・・・・・・として変換される( ”o”
が白に′l”が黒に対応する)。そして、このジンレン
グス変換器は例えば第3図に示すブロック図の様な構成
で実現することが可能である。第3図において、15は
データ変換ROM、16はカウンタ、17は加算器、1
8.19.19′はレジスタを示しており、データ変換
ROM15に入力された1バイトのイメージデータは先
頭ビットから読まれてビットの極性が変化する迄のビッ
トの数がランレングス値としてバイナリイで出力される
。1バイトのイメージデータの処理が終了すると+ E
ND信号によってカウンタ16はリセットされる゛が、
その前に出力されたランレングス値はレジスタ19に保
持され、またその時の極性(白または黒のいずれか)も
レジスタ18に保持される。そして、次の1バイトのイ
メージデータの処理を開始したときデータの極性がレジ
スタ18に保持されているものと同一であればレジスタ
19に保持されている値をデータ変換ROMの出力に加
算してランレングス値としている。
The run-length converter 1 converts image data into run-length data, and an example of the data conversion is shown in FIG. In FIG. 2, 12 is image data, 13
represents a run length converter, and 14 represents run length data. That is, the image data 12 is processed one byte at a time in the direction of the arrow from the beginning (top left of the figure), and as shown in run-length data 14, 3 white and 1 black are processed in the direction of the arrow.
, white 2...... is converted as ("o"
corresponds to white and 'l'' corresponds to black).This gin length converter can be realized, for example, with a configuration as shown in the block diagram shown in Fig. 3. In Fig. 3, 15 indicates data. Conversion ROM, 16 is a counter, 17 is an adder, 1
8.19.19' indicates a register, and the 1-byte image data input to the data conversion ROM 15 is read from the first bit and the number of bits until the polarity of the bit changes is expressed as a run length value in binary numbers. Output. When processing of 1 byte of image data is completed, +E
The counter 16 is reset by the ND signal, but
The previously output run length value is held in register 19, and the current polarity (either white or black) is also held in register 18. Then, when processing of the next 1 byte of image data is started, if the polarity of the data is the same as that held in register 18, the value held in register 19 is added to the output of the data conversion ROM. It is a run length value.

以上ランレングス変換器について詳述したが再び第1図
に基づいて動作全説明する。データの書き込みに先立っ
てイメージメモリ9の初期化が行なわれる。すな・わち
、アドレスレジスタ5(Yアドレス)、および6(Xア
ドレス)Kスタートアドレスをセットして“0“または
l“を書き込むことによシ全ビットを0”または“1“
にする。全ビットを総て601にするかまたは1#にす
るかは書き込むべきデータの状態により決定するもので
、通常、その後で書き込むべきデータが白(0#)の部
分が多ければo”t、tた黒(1’)の部分が多ければ
″11ヲ指定する。
The run-length converter has been described in detail above, and its entire operation will be explained again based on FIG. 1. Prior to writing data, the image memory 9 is initialized. In other words, by setting address registers 5 (Y address) and 6 (X address) K start address and writing "0" or "1", all bits are set to "0" or "1".
Make it. Whether all bits are set to 601 or 1# is determined by the state of the data to be written. Usually, if the data to be written after that has many white (0#) parts, o"t, t If there are many black (1') parts, specify "11".

続いてイメージメモリに書き込むべきデータの初期アド
レスをアドレスレジスタ5および6にセットすると、こ
れらはマルチプレクサ2または3を経由してアドレスレ
ジスタ7(Yアドレス)および8(Xアドレス)にセッ
トされる。
Subsequently, when initial addresses of data to be written to the image memory are set in address registers 5 and 6, these are set in address registers 7 (Y address) and 8 (X address) via multiplexer 2 or 3.

一方、ランレングス変換器1に入力されたデータはラン
レングス値に変換されて加算機10に入力される。この
とき、イメージメモリの初期化データとデータビットの
極性が同じであればマルチプレクサ4によって選択され
たYアドレス値(アドレスレジスタ7の値)またはXア
ドレス値(アドレスレジスタ8の値)のいずれかと前記
ランレングス値とが加算されて出力される。マルチプレ
クサ4がいずれのアドレス値を選択するかはモードレジ
スタ11の内容で指定される横書き(X方向スキャン)
か縦書き(Y方向スキャン)カニよって決まる。
On the other hand, data input to the run length converter 1 is converted into a run length value and input to the adder 10. At this time, if the polarity of the initialization data of the image memory and the data bit are the same, either the Y address value (value of address register 7) or the X address value (value of address register 8) selected by multiplexer 4 is selected. The run length value is added and output. Which address value is selected by the multiplexer 4 is specified by the contents of the mode register 11 (horizontal writing (X direction scan))
Or vertical writing (Y direction scan) depends on the crab.

例えば、横書きの場合は5ELX信号が“1#となって
、マルチプレクサ4はアドレスレジスタ8の値(Xアド
レス)を選択するので、これとランレングス値が加算さ
れてマルチプレクサ3を経由してアドレスレジスタ8に
セットされる。これによシXアドレスがイメージデータ
のランレングス値の分だけ更新される。ランレングス変
換器1の出力の極性がイメージメモリの初期化データと
異なる場合には、そのランレングス部分だけアドレスレ
ジスタの値を歩進してイメージメモリへデータ全書き込
む。
For example, in the case of horizontal writing, the 5ELX signal becomes "1#" and multiplexer 4 selects the value of address register 8 (X address), so this and the run length value are added and sent to the address register via multiplexer 3. 8. This updates the X address by the run length value of the image data. If the polarity of the output of the run length converter 1 is different from the initialization data of the image memory, the Increment the address register value by the length part and write all data to the image memory.

〔発明の効果〕〔Effect of the invention〕

以上、詳細に説明したように本発明の方式によれば、イ
メージデータめランレングス値によって、書き込みアド
レスを制御することにより予め初期化したイメージメモ
リの極性と異なるビットについてのみランレングス部分
のデータを書き込めば良く、イメージメモリの初期値と
同極性のビットの書き込みは行なわないで済むから、イ
メージメモリへのイメージデータの書き込みに際するア
クセス回数が少なく、高速な処理が期待出来るので効果
は大きい。
As described above in detail, according to the method of the present invention, data in the run length portion is written only for bits that differ from the polarity of the image memory initialized in advance by controlling the write address using the image data run length value. Since there is no need to write bits with the same polarity as the initial value of the image memory, the number of accesses when writing image data to the image memory is small, and high-speed processing can be expected, which is highly effective.

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

第1図は本発明の1実施例を示すブロック図、第2図は
ランレングス変換器のデータ変換の例を示す図、第3図
はランレングス変換器の構成例を示すブロック図、第4
図はイメージデータ処理装置の接続関係を表わした図、
第5図はイメージデータ処理装置の構成例を示すブロッ
ク図である。 1.13・・・・・・ランレングス変換器、2〜4・・
・・・・マルチプレクサ、5〜8・・・・・・アドレス
レジスタ、9・・・・・・イメージメモリ、10.17
・・・・・・加算器、11・・・・・・モードレジスタ
、12・・・・・・イメージデータ、14・・・・・・
ランレングスデータ、15・・・・・・データ変換RO
M、  16・・・・・・ カウンタ、18.19.1
9′・・・・・・レジスタ、20・・・・・・ホスト計
算a21・・・・・・イメージデータ処理装置、22 
・・・・・・イメージデータ記録装置、23・・・・・
・マイクロプロセッサ、24・・・・・・インタフェー
ス制御部25 ・=−メモリ、26・・・・・・文字制
御部 27・・・・・・伸長制御部、28・・・・・・
イメージメモリ制御部 29・・・・・・圧縮制御部、
30・・・・・イメージメモリ 悌 2 図 第 3 図 第4 図
FIG. 1 is a block diagram showing one embodiment of the present invention, FIG. 2 is a diagram showing an example of data conversion of a run-length converter, FIG. 3 is a block diagram showing an example of the configuration of the run-length converter, and FIG.
The figure shows the connection relationship of the image data processing device.
FIG. 5 is a block diagram showing an example of the configuration of an image data processing device. 1.13...Run length converter, 2-4...
...Multiplexer, 5 to 8 ... Address register, 9 ... Image memory, 10.17
...Adder, 11...Mode register, 12...Image data, 14...
Run length data, 15...Data conversion RO
M, 16... Counter, 18.19.1
9'...Register, 20...Host calculation a21...Image data processing device, 22
...Image data recording device, 23...
-Microprocessor, 24...Interface control unit 25 -=-Memory, 26...Character control unit 27...Expansion control unit, 28...
Image memory control unit 29...Compression control unit,
30... Image memory 2 Figure 3 Figure 4

Claims (1)

【特許請求の範囲】[Claims] ホスト計算機とイメージデータ記録装置との間に位置し
てデータの編集やデータの転送を行なうイメージデータ
処理装置において、イメージデータをランレングス値に
変換する手段と、データの書き込みに先立ち初期値とし
てイメージメモリの該当区域の全ビットをすべて“0”
またはすべて“1”にする手段と、イメージメモリのア
クセスに用いるアドレスレジスタの値に前記ランレング
ス値を加算する手段とを設け、イメージメモリへのイメ
ージデータの書き込みに際し、イメージメモリの初期値
と同極性のデータについては書き込むことなく該データ
に係るランレングス値を加算することによりアドレスレ
ジスタの値を更新し、イメージメモリの初期値と異なる
極性のビットのみ書き込むことを特徴とするイメージメ
モリ書き込み制御方式。
In an image data processing device that is located between a host computer and an image data recording device and performs data editing and data transfer, there is a means for converting image data into a run length value, and a means for converting image data into a run length value, and an image data processing device that is located between a host computer and an image data recording device and performs data editing and data transfer. All bits in the relevant area of memory are set to “0”
Alternatively, means for setting all "1" and means for adding the run length value to the value of the address register used for accessing the image memory are provided, and when writing image data to the image memory, the run length value is set to "1", and when writing the image data to the image memory, the value is the same as the initial value of the image memory. An image memory write control method characterized in that the value of the address register is updated by adding the run length value related to the polarity data without writing it, and only the bits of polarity different from the initial value of the image memory are written. .
JP59128627A 1984-06-22 1984-06-22 Image memory write control system Pending JPS617769A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59128627A JPS617769A (en) 1984-06-22 1984-06-22 Image memory write control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59128627A JPS617769A (en) 1984-06-22 1984-06-22 Image memory write control system

Publications (1)

Publication Number Publication Date
JPS617769A true JPS617769A (en) 1986-01-14

Family

ID=14989477

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59128627A Pending JPS617769A (en) 1984-06-22 1984-06-22 Image memory write control system

Country Status (1)

Country Link
JP (1) JPS617769A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0564111A2 (en) * 1992-03-30 1993-10-06 International Business Machines Corporation Improvements in the decoding of run length code data for storage in a bit map memory
US7483033B2 (en) 2003-04-30 2009-01-27 Yamaha Corporation Storage device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0564111A2 (en) * 1992-03-30 1993-10-06 International Business Machines Corporation Improvements in the decoding of run length code data for storage in a bit map memory
JPH05292331A (en) * 1992-03-30 1993-11-05 Internatl Business Mach Corp <Ibm> Method for decoding run length code, video controller, and data processing system
EP0564111A3 (en) * 1992-03-30 1994-04-13 Ibm
US7483033B2 (en) 2003-04-30 2009-01-27 Yamaha Corporation Storage device

Similar Documents

Publication Publication Date Title
US4104624A (en) Microprocessor controlled CRT display system
JPS61188582A (en) Multi-window writing controller
JPS617769A (en) Image memory write control system
JP2507361B2 (en) Image information processing device
JPS6362083A (en) Projection data generation system
JPS62173526A (en) Page buffer control system
JP2721154B2 (en) Image processing device
JP2837581B2 (en) Image scanner reader
JP3166323B2 (en) Image processing device
JPS6029788A (en) Image memory writing circuit
JPS62243075A (en) Image data transfer device
JPS62296278A (en) Image memory control system
JPS59172881A (en) Picture information processing system
JPS62105272A (en) Image processor
JPH0567983B2 (en)
JPS63177661A (en) Control system for picture data
JPH0381882A (en) Image data memory storage system
JPS62206690A (en) Address control system for video memory
JPS61276042A (en) Memory controller
JPS61226833A (en) Displaying system for picture information
JPS616767A (en) Picture information processing system
JPS63142966A (en) Image output device
JPS6134588A (en) Image memory control circuit
JPS63301097A (en) Method and circuit for generating density histogram
JPS63292767A (en) Picture forming device