JPH05176185A - Coding decoding system - Google Patents

Coding decoding system

Info

Publication number
JPH05176185A
JPH05176185A JP34126091A JP34126091A JPH05176185A JP H05176185 A JPH05176185 A JP H05176185A JP 34126091 A JP34126091 A JP 34126091A JP 34126091 A JP34126091 A JP 34126091A JP H05176185 A JPH05176185 A JP H05176185A
Authority
JP
Japan
Prior art keywords
data
encoded data
image data
mmr
encoded
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.)
Withdrawn
Application number
JP34126091A
Other languages
Japanese (ja)
Inventor
Koji Okamoto
光司 岡本
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP34126091A priority Critical patent/JPH05176185A/en
Publication of JPH05176185A publication Critical patent/JPH05176185A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PURPOSE:To reduce capacity of a memory by coding image data in the unit of blocks when the image data are coded into MMR coding data. CONSTITUTION:Image data 110 by one page are inputted from a scanner 100, divided into blocks of a predetermined unit and stopped in a memory 101. The image data in the unit of blocks are coded by the MMR coding system at a coder 102 and the MMR coded data obtained as the result are divided into data in the unit of bytes and a fractional bit number caused when the MMR coded data are divided in the unit of bytes and the MMR coded data themselves are stored in a memory 103 as compressed data. Then the data are decoded in the unit of blocks through the transmission of a digital line 105 and then the memory capacity is reduced.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は2値のイメージデータの
符号化復号化方式に関し、特にMMR符号化復号化方式
を用いた符号化復号化方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a coding / decoding system for binary image data, and more particularly to a coding / decoding system using the MMR coding / decoding system.

【0002】[0002]

【従来の技術】従来、MMR符号化復号化方式では、1
ページ毎に符号化が行われ、その結果得られた1ページ
分符号化データはその1ページ分のイメージデータの符
号化データと1ページの終わりを表す符号データ、そし
て最後にフィルビットが付加され、これによりバイト単
位の符号化データが構成される。そして復号化するとき
も符号化と同様に1ページ毎に符号化を行っている。
2. Description of the Related Art Conventionally, in the MMR coding / decoding system, 1
Encoding is performed for each page, and the resulting encoded data for one page is obtained by adding encoded data of image data for one page, encoded data indicating the end of one page, and a fill bit at the end. , Thereby forming encoded data in units of bytes. Also, when decoding, the encoding is performed page by page as in the encoding.

【0003】図2は従来技術による符号化復号化回路の
フローダイアグラムである。図2において符号化復号化
回路は、イメージ209を入力するスキャナ200と、
スキャナ200から入力されたイメージ209をイメー
ジデータ210として格納するメモリ201と、メモリ
201に格納されたイメージデータ210を符号化する
符号器202と、符号器202で符号化された符号化デ
ータ211を送信する送信制御装置203およびディジ
タル回線網204と、符号化データ211を受信する受
信制御装置205と、符号化データ211を復号化する
復号器206と、復号器206で復号化されたイメージ
データ212を格納するメモリ207と、メモリ207
に格納されたイメージデータ212をイメージ213と
して出力するプリンタ208とにより構成されている。
FIG. 2 is a flow diagram of a conventional encoding / decoding circuit. In FIG. 2, the encoding / decoding circuit includes a scanner 200 for inputting an image 209,
A memory 201 that stores an image 209 input from the scanner 200 as image data 210, an encoder 202 that encodes the image data 210 stored in the memory 201, and encoded data 211 that is encoded by the encoder 202. A transmission control device 203 and a digital network 204 for transmission, a reception control device 205 for receiving the encoded data 211, a decoder 206 for decoding the encoded data 211, and image data 212 decoded by the decoder 206. 207 for storing the
And a printer 208 that outputs the image data 212 stored in the image data 213 as an image 213.

【0004】次に符号化復号化時の従来例の動作につい
て説明する。1ページ分のイメージ209をスキャナ2
00で入力する。スキャナ200で入力されたイメージ
209を1ページ分の2値のイメージデータ210とし
てメモリ201に格納する。メモリ201に格納された
1ページ分のイメージデータ210を符号器202で符
号化する。符号器202は1ページ分のイメージデータ
210の先頭ラインのイメージデータ214を1ページ
分の符号化データ211の先頭ラインの符号化データ2
17に、イメージデータ210の先頭ラインの次のライ
ンのイメージデータ215を先頭ラインの次のラインの
符号化データ218に、以下同様に符号化し、1ページ
分の最終ラインのイメージデータ216を1ページ分の
最終ラインの符号化データ219に符号化する。そして
フィルビット220をバイト単位にするように付加し、
ページ分の符号化データ211を得る。1ページ分の符
号化データ211を送信制御装置203およびディジタ
ル回線網204にて送信し、送信制御装置203および
ディジタル回線網204にて送信された1ページ分の符
号化データ211を受信制御装置205にて受信し、受
信制御装置205にて受信された符号化データ211を
復号器206で復号化する。復号器206は1ページ分
の符号化データ211の先頭ラインの符号化データ21
7を1ページ分のイメージデータ212の先頭ラインの
符号化データ221に、符号化データ211の先頭ライ
ンの次のラインの符号化データ218を先頭ラインの次
のラインのイメージデータ222に、以下同様に復号化
し、1ページ分の最終ラインの符号化データ219を1
ページ分の最終ラインのイメージデータ223を復号化
し、1ページ分のイメージデータ212を得る。1ペー
ジ分のイメージデータ212をメモリ207に格納し、
メモリ207に格納されている1ページ分のイメージデ
ータ212を1ページ分のイメージ213としてプリン
タ208に出力する。
Next, the operation of the conventional example at the time of encoding / decoding will be described. The image 209 for one page is scanned by the scanner 2
Enter 00. The image 209 input by the scanner 200 is stored in the memory 201 as binary image data 210 for one page. The image data 210 for one page stored in the memory 201 is encoded by the encoder 202. The encoder 202 converts the image data 214 of the first line of the image data 210 for one page into the encoded data 2 of the first line of the encoded data 211 for one page.
17, the image data 215 of the line next to the first line of the image data 210 is similarly coded to the coded data 218 of the line next to the first line, and so on. The encoded data 219 of the last line of the minute is encoded. Then, fill bit 220 is added in byte units,
The encoded data 211 for a page is obtained. One page of encoded data 211 is transmitted by the transmission control device 203 and the digital line network 204, and one page of encoded data 211 transmitted by the transmission control device 203 and the digital line network 204 is received by the reception control device 205. The encoded data 211 received by the reception control device 205 is decoded by the decoder 206. The decoder 206 uses the encoded data 21 of the first line of the encoded data 211 for one page.
7 to the encoded data 221 of the first line of the image data 212 for one page, the encoded data 218 of the line next to the first line of the encoded data 211 to the image data 222 of the line next to the first line, and so on. To the encoded data 219 of the final line of one page.
The image data 223 of the last line for one page is decoded to obtain the image data 212 for one page. Image data 212 for one page is stored in the memory 207,
The image data 212 for one page stored in the memory 207 is output to the printer 208 as an image 213 for one page.

【0005】図3は従来技術による他の符号化回路のフ
ローダイアグラムである。図3において符号化回路は、
イメージ304を入力するスキャナ300と、スキャナ
300から入力されたイメージ304をイメージデータ
305として格納するメモリ301と、メモリ301に
格納されたイメージデータ305を符号化する符号器3
02と、符号器302で符号化された符号化データ30
6を格納するディスク303とにより構成されている。
FIG. 3 is a flow diagram of another encoding circuit according to the prior art. In FIG. 3, the encoding circuit is
A scanner 300 that inputs an image 304, a memory 301 that stores the image 304 input from the scanner 300 as image data 305, and an encoder 3 that encodes the image data 305 stored in the memory 301.
02, and the encoded data 30 encoded by the encoder 302
6 and a disk 303 storing 6

【0006】次に符号化時の従来例の動作について説明
する。1ページ分のイメージ304をスキャナ300で
入力する。スキャナ300で入力されたイメージ304
を1ページ分の2値のイメージデータ305としてメモ
リ301に格納する。メモリ301に格納された1ペー
ジ分のイメージデータ305を符号器302で符号化す
る。符号器302は1ページ分のイメージデータ305
の先頭ラインのイメージデータ307を1ページ分の符
号化データ306の先頭ラインの符号化データ310
に、イメージデータ305の先頭ラインの次のラインの
イメージデータ308を先頭ラインの次のラインの符号
化データ311に、以下同様に符号化し、1ページ分の
最終ラインのイメージデータ309を1ページ分の最終
ラインの符号化データ312に符号化する。そしてフィ
ルビット313をバイト単位にするように付加し、ペー
ジ分の符号化データ306を得る。1ページ分の符号化
データ306をディスク303に格納する。
Next, the operation of the conventional example at the time of encoding will be described. An image 304 for one page is input by the scanner 300. Image 304 input by scanner 300
Is stored in the memory 301 as binary image data 305 for one page. The encoder 302 encodes the image data 305 for one page stored in the memory 301. The encoder 302 uses one page of image data 305.
Of the image data 307 of the first line of the first line of the encoded data 310 of the encoded data 306 of one page
In the same manner, the image data 308 of the line next to the first line of the image data 305 is similarly coded to the encoded data 311 of the line next to the first line, and the image data 309 of the last line of one page is converted into one page. The encoded data 312 of the last line is encoded. Then, the fill bit 313 is added in byte units to obtain encoded data 306 for pages. The encoded data 306 for one page is stored in the disc 303.

【0007】図4は従来技術による復号化回路のフロー
ダイアグラムである。図6において復号化回路は、符号
化データ405を格納するディスク400と、ディスク
400に格納された符号化データ405を復号化する復
号器401と、符号化データ405を復号器401で復
号化されたイメージデータ406を格納するメモリ40
2と、メモリ402に格納されているイメージデータ4
06を符号化する符号器403と、符号器403で符号
化された符号化データ407を格納するディスク404
とにより構成されている。
FIG. 4 is a flow diagram of a prior art decoding circuit. In FIG. 6, the decoding circuit includes a disk 400 that stores encoded data 405, a decoder 401 that decodes the encoded data 405 stored on the disk 400, and the decoder 401 that decodes the encoded data 405. Memory 40 for storing image data 406
2 and image data 4 stored in the memory 402
Encoder 403 for encoding 06, and a disk 404 for storing encoded data 407 encoded by the encoder 403
It is composed of and.

【0008】次に復号化時の従来例の動作について説明
する。ディスク400に格納されている1ページ分の符
号化データ405を復号器401で復号化する。復号器
401は1ページ分の符号化データ405の先頭ライン
の符号化データ408を1ページ分ののイメージデータ
406の先頭ラインのイメージデータ411に、符号化
データ405の先頭ラインの次のラインの符号化データ
409をイメージデータ406の先頭ラインの次のライ
ンのイメージデータ412に、以下同様に復号化し、1
ページ分の最終ラインの符号化データ410を1ページ
分の最終ラインのイメージデータ413に復号化し、1
ページ分のイメージデータ406を得る。1ページ分の
イメージデータ406を符号器403で1ページ分の符
号化データ407に符号化する。1ページ分の符号化デ
ータ407をディスク404に格納する。
Next, the operation of the conventional example at the time of decoding will be described. One page of encoded data 405 stored in the disk 400 is decoded by the decoder 401. The decoder 401 converts the coded data 408 of the first line of the coded data 405 for one page into the image data 411 of the head line of the image data 406 for one page, and the coded data 408 of the line next to the head line of the coded data 405. The coded data 409 is decoded into image data 412 on the line next to the first line of the image data 406 in the same manner, and 1
The encoded data 410 of the final line for one page is decoded into the image data 413 of the final line for one page, and 1
Image data 406 for a page is obtained. The image data 406 for one page is encoded by the encoder 403 into the encoded data 407 for one page. The encoded data 407 for one page is stored in the disc 404.

【0009】[0009]

【発明が解決しようとする課題】上述した従来のMMR
符号化復号化方式では1ページ単位で符号化および復号
化をするので1ページ分のイメージデータを格納するた
めの大容量のメモリが必要という問題がある。
SUMMARY OF THE INVENTION The above-mentioned conventional MMR.
In the encoding / decoding method, since encoding and decoding are performed on a page-by-page basis, there is a problem that a large-capacity memory for storing image data for one page is required.

【0010】そこで、本発明の技術的課題は、上記欠点
に鑑み、イメージデータをMMR符号化データに符号化
する場合に、ブロック単位に符号化することによってメ
モリの容量を少なくする符号化復号化方式を提供するこ
とである。
In view of the above-mentioned drawbacks, the technical problem of the present invention is to perform coding / decoding for reducing the memory capacity by coding in block units when coding image data into MMR coded data. It is to provide a method.

【0011】[0011]

【課題を解決するための手段】本発明によれば、MMR
符号化、復号化において符号化時に、1ページのイメー
ジデータをあらかじめ定められたブロック単位に分割
し、前記ブロック単位のイメージデータを符号化し、前
記符号化データをバイト単位に分割し、前記符号化デー
タおよび符号化データをバイト単位に分割した時の単数
ビット数を出力し、前記符号化データ、端数ビット数お
よび次ブロックの先頭からあらかじめ定められたバイト
数の符号化データを入力し、前記次ブロックの符号化デ
ータを端数ビット数分シフトすることにより前記符号化
データに連結し、前記符号化データを送信し、前記符号
化データを受信し、前記符号化データを復号化し、出力
することを特徴とする符号化復号化方式が得られる。
According to the present invention, an MMR is provided.
In encoding and decoding, at the time of encoding, one page of image data is divided into predetermined block units, the block unit of image data is encoded, the encoded data is divided into byte units, and the encoding is performed. Output the number of singular bits when the data and the encoded data are divided into byte units, input the encoded data, the fractional bit number and the encoded data of a predetermined number of bytes from the beginning of the next block, and Connecting the coded data of the block by the fractional bit number to the coded data, transmitting the coded data, receiving the coded data, decoding the coded data, and outputting. A characteristic encoding / decoding method is obtained.

【0012】また、本発明によれば、イメージデータを
MMR符号化データに符号化後、MH/MR符号化デー
タに変換する符号化復号化方式において、1ページのイ
メージデータをあらかじめ定められたブロック単位に分
割し、前記ブロック単位のイメージデータをMMR符号
化方式にて符号化し、前記MMR符号化データをバイト
単位に分割し、前記MMR符号化データおよびMMR符
号化データをバイト単位に分割した時の端数ビット数を
出力し、かつ復号化時に、前記MMR符号化データ、端
数ビット数および次ブロックの先頭からあらかじめ定め
られたバイト数のMMR符号化データを入力し、前記次
のブロックのMMR符号化データを端数ビット数分シフ
トすることにより前記MMR符号化データに連結し、前
記MMR符号化データをイメージデータに復号化し、前
記イメージデータをMH/MR符号化データに符号化
し、出力することを特徴とする符号化復号化方式が得ら
れる。
Further, according to the present invention, in a coding / decoding system in which image data is coded into MMR coded data and then converted into MH / MR coded data, one page of image data is determined in a predetermined block. When the image data of the block unit is encoded by the MMR encoding method, the MMR encoded data is divided into byte units, and the MMR encoded data and the MMR encoded data are divided into byte units. Output the fractional bit number of MMR coded data, and input the MMR encoded data, the fractional bit number, and the MMR encoded data of a predetermined number of bytes from the beginning of the next block when decoding the MMR code of the next block. The encoded data is connected to the MMR encoded data by shifting it by a fractional bit number to obtain the MMR encoded data. Decodes the data into image data, the image data encoded in MH / MR coded data, coding and decoding scheme is obtained and outputs.

【0013】[0013]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0014】図1は、本発明の一実施例の符号化復号化
回路フローダイアグラムである。図1において符号化復
号化回路は、イメージ110を入力するスキャナ100
と、スキャナ100から入力されたイメージ110をイ
メージデータ111として格納するメモリ101と、メ
モリ101に格納されたイメージデータ111を符号化
する符号器102と、符号器102で符号化された第n
ブロックの符号化データ112および第n+1ブロック
の符号化データ113を格納するメモリ103と、メモ
リ103に格納された第nブロックの符号化データ11
2および第n+1ブロックの先頭からあらかじ定められ
たkバイトの符号化データ114を付加した符号化デー
タ115を送信する送信制御装置104およびディジタ
ル回線網105と、送信制御装置104およびディジタ
ル回線網105により送信された符号化データ115を
受信する受信制御装置106と、受信制御回路106で
受信された符号化データ115を復号化する復号器10
7と、符号化データ115を復号器107で復号化され
たイメージデータ116を格納するメモリ108と、メ
モリ108に格納されているイメージデータ116をイ
メージ117として出力するプリンタ109とにより構
成されている。
FIG. 1 is a flow diagram of an encoding / decoding circuit according to an embodiment of the present invention. In FIG. 1, the encoding / decoding circuit is a scanner 100 that inputs an image 110.
A memory 101 that stores an image 110 input from the scanner 100 as image data 111; an encoder 102 that encodes the image data 111 stored in the memory 101; and an n-th coded by the encoder 102.
A memory 103 that stores the encoded data 112 of the block and the encoded data 113 of the (n + 1) th block, and the encoded data 11 of the nth block that is stored in the memory 103.
The transmission control device 104 and the digital circuit network 105 for transmitting the coded data 115 to which the k-bytes of the coded data 114 determined in advance from the heads of the 2nd and n + 1th blocks are added, and the transmission control device 104 and the digital circuit network 105. And a decoder 10 for decoding the encoded data 115 received by the reception control circuit 106.
7, a memory 108 that stores image data 116 obtained by decoding the encoded data 115 by the decoder 107, and a printer 109 that outputs the image data 116 stored in the memory 108 as an image 117. ..

【0015】次に符号化復号化時の実施例の動作につい
て説明する。あらかじめ定められたブロック単位に分割
したイメージ110をスキャナ100で入力する。スキ
ャナ100で入力されたイメージ110をあらかじめ定
めらたれブロック単位の2値のイメージデータ111と
してメモリ101に格納する。メモリ101に格納され
たイメージデータ111を符号器102で符号化する。
符号器102はブロック単位のブロック単位のイメージ
データ111の先頭ラインのイメージデータ118をブ
ロック単位の符号化データ112の先頭ラインの符号化
データ121に、イメージデータ111の先頭ラインの
次のラインのイメージデータ119を先頭ラインの次の
ラインの符号化データ122に、以下同様に符号化し、
ブロック単位の最終ラインのイメージデータ120をブ
ロック単位の最終ラインの符号化データ123に符号化
し、端数ビット124から端数ビット数125を得る。
第nブロックの符号化データ112と第n+1ブロック
の先頭からkバイトの符号化データ114を付加した符
号化データ115を送信制御装置104およびディジタ
ル回線網105にて送信し、送信制御装置104および
ディジタル回線網105にて送信された符号化データ1
15を復号器106にて受信し、受信制御装置106で
受信した符号化データ115を復号器107で復号化す
る。復号器107は符号化データ115の先頭ラインの
符号化データ126をブロック単位のイメージデータ1
16の先頭ラインのイメージデータ129に、符号化デ
ータ115の先頭ラインの次のラインの符号化データ1
27をブロック単位のイメージデータ116の先頭ライ
ンの次のラインのイメージデータ130に、以下同様に
復号化し、第nブロックの最終ラインの符号化データ1
28をブロック単位の最終ラインのイメージデータ13
1に復号化し、ブロック単位のイメージデータ116を
得る。ブロック単位のイメージデータ116をプリンタ
109に出力する。
Next, the operation of the embodiment at the time of encoding / decoding will be described. The scanner 100 inputs the image 110 divided into predetermined block units. The image 110 input by the scanner 100 is stored in the memory 101 as the predetermined block-unit binary image data 111. The image data 111 stored in the memory 101 is encoded by the encoder 102.
The encoder 102 converts the image data 118 of the first line of the block-by-block image data 111 into the encoded data 121 of the first line of the encoded data 112 of the block unit and the image of the line next to the first line of the image data 111. The data 119 is similarly encoded into the encoded data 122 of the line next to the first line,
The image data 120 of the final line of the block unit is encoded into the encoded data 123 of the final line of the block unit, and the fraction bit number 125 is obtained from the fraction bit 124.
The transmission controller 104 and the digital line network 105 transmit the encoded data 115 to which the encoded data 112 of the nth block and the encoded data 114 of k bytes from the beginning of the (n + 1) th block are transmitted, and the transmission controller 104 and the digital circuit 105 transmit the encoded data 115. Encoded data 1 transmitted by the network 105
15 is received by the decoder 106, and the encoded data 115 received by the reception control device 106 is decoded by the decoder 107. The decoder 107 converts the encoded data 126 of the first line of the encoded data 115 into the image data 1 in block units.
The image data 129 of the first line of 16 is the encoded data 1 of the line next to the first line of the encoded data 115.
27 is similarly decoded into image data 130 of the line next to the first line of the image data 116 in block units, and encoded data 1 of the last line of the nth block
28 is the image data of the last line in block units 13
The image data 116 is obtained by decoding each block. The image data 116 in block units is output to the printer 109.

【0016】図5は、本発明の第2の実施例の符号化回
路フローダイアグラムである。図5において符号化回路
は、イメージ504を入力するスキャナ500と、スキ
ャナ500から入力されたイメージ504をイメージデ
ータ505として格納するメモリ501と、メモリ50
1に格納されたイメージデータ505を符号化する符号
器502と、符号器502で符号化された符号化データ
506を格納するディスク503により構成されてい
る。
FIG. 5 is a coding circuit flow diagram of the second embodiment of the present invention. 5, the encoding circuit includes a scanner 500 for inputting an image 504, a memory 501 for storing the image 504 input from the scanner 500 as image data 505, and a memory 50.
1 is composed of an encoder 502 for encoding the image data 505 stored in No. 1 and a disk 503 for storing the encoded data 506 encoded by the encoder 502.

【0017】次に符号化時の実施例の動作について説明
する。あらかじめ定められたブロック単位に分割したイ
メージ504をスキャナ500で入力する。スキャナ5
00で入力されたイメージ504をあらかじめ定めらた
れブロック単位の2値のイメージデータ505としてメ
モリ501に格納する。メモリ501に格納されたイメ
ージデータ505を符号器502で符号化する。符号器
502はブロック単位のブロック単位のイメージデータ
505の先頭ラインのイメージデータ507をブロック
単位の符号化データ506の先頭ラインの符号化データ
510に、イメージデータ505の先頭ラインの次のラ
インのイメージデータ508を先頭ラインの次のライン
の符号化データ511に、以下同様に符号化し、ブロッ
ク単位の最終ラインのイメージデータ509をブロック
単位の最終ラインの符号化データ512に符号化し、端
数ビット513から端数ビット数514を得る。ブロッ
ク単位の符号化データ506をディスク503に格納す
る。
Next, the operation of the embodiment at the time of encoding will be described. The scanner 500 inputs the image 504 divided into predetermined block units. Scanner 5
The image 504 input at 00 is stored in the memory 501 as predetermined block-unit binary image data 505. The image data 505 stored in the memory 501 is encoded by the encoder 502. The encoder 502 converts the image data 507 of the first line of the block unit image data 505 into the encoded data 510 of the first line of the encoded data 506 of the block unit and the image of the line next to the first line of the image data 505. The data 508 is similarly encoded to the encoded data 511 of the line next to the first line, the image data 509 of the final line of the block unit is encoded to the encoded data 512 of the final line of the block unit, and the fractional bits 513 The fractional bit number 514 is obtained. The encoded data 506 in block units is stored in the disk 503.

【0018】図6は、本発明の第2の実施例の復号化回
路フローダイアグラムである。図2において復号化時、
第nブロックの符号化データ605および第n+1ブロ
ックの符号化データ606を格納するディスク600
と、ディスク600に格納された第nブロックの符号化
データ605および第n+1ブロックの先頭からあらか
じ定められたkバイトの符号化データ607を付加した
符号化データ608を復号器する復号器601と、第n
ブロックの符号化データ605および第n+1ブロック
の先頭からあらかじめ定められたkバイトの符号化デー
タ607を付加した符号化データ608を復号器601
で復号化されたイメージデータ609を格納するメモリ
602と、メモリ602格納されているイメージデータ
609を符号化する符号器603と、符号器603で符
号化された符号化データ610を格納ディスク604と
により構成されている。
FIG. 6 is a decoding circuit flow diagram of the second embodiment of the present invention. At the time of decoding in FIG.
A disk 600 for storing the encoded data 605 of the nth block and the encoded data 606 of the n + 1th block
And a decoder 601 for decoding the encoded data 605 with the encoded data 605 of the n-th block and the encoded data 607 of k bytes previously determined from the beginning of the (n + 1) th block stored in the disk 600. , Nth
The decoder 601 converts the encoded data 605 of the block and the encoded data 608 of the predetermined k bytes from the head of the (n + 1) th block to the encoded data 608.
A memory 602 for storing the image data 609 decoded by 1., an encoder 603 for encoding the image data 609 stored in the memory 602, and a storage disk 604 for storing the encoded data 610 encoded by the encoder 603. It is composed by.

【0019】次に復号化時の実施例の動作について説明
する。ディスク600に格納されている第nブロックの
符号化データ605と第n+1ブロックの先頭からkバ
イトの符号化データ607を付加した符号化データ60
8を得る。符号化データ608を復号器601で復号化
する。復号器601は符号化データ608の先頭ライン
の符号化データ611をブロック単位のイメージデータ
609の先頭ラインのイメージデータ614に、符号化
データ608の先頭ラインの次のラインの符号化データ
612をブロック単位のイメージデータ609の先頭ラ
インの次のラインのイメージデータ615に、以下同様
に復号化し、第nブロックの最終ラインの符号化データ
613をブロック単位の最終ラインのイメージデータ6
16に復号化し、ブロック単位のイメージデータ609
を得る。ブロック単位のイメージデータ609を符号器
603でブロック単位の符号化データ610に符号化す
る。ブロック単位の符号化データ610をディスク60
4に格納する。
Next, the operation of the embodiment at the time of decoding will be described. Encoded data 60 to which the encoded data 605 of the nth block stored in the disk 600 and the encoded data 607 of k bytes from the head of the (n + 1) th block are added
Get 8. The encoded data 608 is decoded by the decoder 601. The decoder 601 blocks the coded data 611 of the head line of the coded data 608 into the image data 614 of the head line of the image data 609 in block units, and the coded data 612 of the line next to the head line of the coded data 608. The image data 615 of the line next to the first line of the unit image data 609 is similarly decoded, and the encoded data 613 of the final line of the nth block is converted into the image data 6 of the final line of the block unit.
Image data 609 that is decoded into 16 and is in block units
To get The image data 609 in block units is encoded by the encoder 603 into encoded data 610 in block units. The encoded data 610 in block units is stored on the disk 60.
Store in 4.

【0020】[0020]

【発明の効果】以上説明したように本発明は、MMR符
号化復号化方式において、1ページのイメージデータを
あらかじめ定められたブロック単位に分割し、そのブロ
ック単位のイメージデータを符号化し、その結果得られ
た符号化データをバイト単位に分割し、符号化データお
よび符号化バータをバイト単位に分割した時の端数ビッ
ト数を圧縮データとして保持することによりブロック単
位で符号化および復号化することができ、このことより
メモリ容量を少なくできるという効果がある。
As described above, according to the present invention, in the MMR coding / decoding system, one page of image data is divided into predetermined block units, and the image data of each block unit is coded. It is possible to encode and decode in block units by dividing the obtained encoded data into byte units, and retaining the fractional bit number when the encoded data and encoded verter are divided into byte units as compressed data. This can be achieved, and this has the effect of reducing the memory capacity.

【0021】また、本発明は、イメージデータをMMR
符号化データに符号化後、MH/MR符号化データに変
換する符号化復号化方式において、1ページのイメージ
データをあらかじめ定められたブロック単位に分割し、
そのブロック単位のイメージデータをMMR符号化方式
にて符号化し、その結果得られたMMR符号化データを
バイト単位に分割し、MMR符号化データおよびMMR
符号化データをバイト単位に分割した時の端数ビット数
を圧縮データとして保持することによりブロック単位で
符号化および復号化することができ、このことよメモリ
の容量を少なくできるという効果がある。
The present invention also converts image data into MMR.
In the encoding / decoding method of encoding into encoded data and then converting into MH / MR encoded data, one page of image data is divided into predetermined block units,
The image data of the block unit is encoded by the MMR encoding method, the resulting MMR encoded data is divided into byte units, and the MMR encoded data and the MMR are obtained.
By holding the fractional bit number when the encoded data is divided into byte units as compressed data, encoding and decoding can be performed in block units, which has the effect of reducing the memory capacity.

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

【図1】本発明の第1の実施例に係る符号化復号化時の
フローを示すブロック図である。
FIG. 1 is a block diagram showing a flow at the time of encoding / decoding according to a first embodiment of the present invention.

【図2】従来技術による符号化復号化時のフローを示す
ブロック図である。
FIG. 2 is a block diagram showing a flow at the time of encoding / decoding according to a conventional technique.

【図3】従来技術による符号化時のフローを示すブロッ
ク図である。
FIG. 3 is a block diagram showing a flow at the time of encoding according to a conventional technique.

【図4】従来技術による復号化時のフローを示すブロッ
ク図である。
FIG. 4 is a block diagram showing a flow at the time of decoding according to a conventional technique.

【図5】本発明の第2の実施例に係る符号化時のフロー
を示すブロック図である。
FIG. 5 is a block diagram showing a flow at the time of encoding according to the second embodiment of the present invention.

【図6】本発明の第2の実施例に係る復号化時のフロー
を示すブロック図である。
FIG. 6 is a block diagram showing a flow at the time of decoding according to the second embodiment of the present invention.

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

100,200,300,500 スキャナ 101,103,108,201,207,301,4
02,501,602 メモリ 102,202,302,403,502,603
符号器 104,203 送信制御装置 105,204 ディジタル回線網 106,205 受信制御装置 107,206,401,601 復号器 109,208 プリンタ
100, 200, 300, 500 Scanners 101, 103, 108, 201, 207, 301, 4
02, 501, 602 memory 102, 202, 302, 403, 502, 603
Encoder 104,203 Transmission control device 105,204 Digital circuit network 106,205 Reception control device 107,206,401,601 Decoder 109,208 Printer

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 MMR符号化、復号化において符号化時
に、 1ページのイメージデータをあらかじめ定められたブロ
ック単位に分割し、 前記ブロック単位のイメージデータを符号化し、 前記符号化データをバイト単位に分割し、 前記符号化データおよび符号化データをバイト単位に分
割した時の単数ビット数を出力し、 前記符号化データ、端数ビット数および次ブロックの先
頭からあらかじめ定められたバイト数の符号化データを
入力し、 前記次ブロックの符号化データを端数ビット数分シフト
することにより前記符号化データに連結し、 前記符号化データを送信し、 前記符号化データを受信し、 前記符号化データを復号化し、出力することを特徴とす
る符号化復号化方式。
1. MMR encoding / decoding, when encoding, divides one page of image data into predetermined block units, encodes the block unit of image data, and encodes the encoded data into byte units. Divide and output the singular number of bits when the coded data and the coded data are divided into byte units, the coded data, the fractional bit number and the coded data of a predetermined number of bytes from the beginning of the next block , The encoded data of the next block is connected to the encoded data by shifting the encoded data by a fractional bit number, the encoded data is transmitted, the encoded data is received, and the encoded data is decoded. A coding / decoding method characterized by digitizing and outputting.
【請求項2】 イメージデータをMMR符号化データに
符号化後、MH/MR符号化データに変換する符号化復
号化方式において、 1ページのイメージデータをあらかじめ定められたブロ
ック単位に分割し、 前記ブロック単位のイメージデータをMMR符号化方式
にて符号化し、 前記MMR符号化データをバイト単位に分割し、 前記MMR符号化データおよびMMR符号化データをバ
イト単位に分割した時の端数ビット数を出力し、 かつ復号化時に、 前記MMR符号化データ、端数ビット数および次ブロッ
クの先頭からあらかじめ定められたバイト数のMMR符
号化データを入力し、 前記次のブロックのMMR符号化データを端数ビット数
分シフトすることにより前記MMR符号化データに連結
し、 前記MMR符号化データをイメージデータに復号化し、 前記イメージデータをMH/MR符号化データに符号化
し、出力することを特徴とする符号化復号化方式。
2. An encoding / decoding method of encoding image data into MMR encoded data and then converting it into MH / MR encoded data, wherein image data of one page is divided into predetermined block units, and Image data in block units is encoded by an MMR encoding method, the MMR encoded data is divided into byte units, and the MMR encoded data and the MMR encoded data are divided into byte units, and a fractional bit number is output. In addition, at the time of decoding, the MMR encoded data, the fractional bit number, and the MMR encoded data of a predetermined number of bytes from the beginning of the next block are input, and the MMR encoded data of the next block is input as the fractional bit number. The MMR encoded data is connected to the MMR encoded data by shifting by an amount, and the MMR encoded data is imaged. Decrypts the data, the image data encoded in MH / MR coded data, coding and decoding method and outputs.
JP34126091A 1991-12-24 1991-12-24 Coding decoding system Withdrawn JPH05176185A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34126091A JPH05176185A (en) 1991-12-24 1991-12-24 Coding decoding system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34126091A JPH05176185A (en) 1991-12-24 1991-12-24 Coding decoding system

Publications (1)

Publication Number Publication Date
JPH05176185A true JPH05176185A (en) 1993-07-13

Family

ID=18344665

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34126091A Withdrawn JPH05176185A (en) 1991-12-24 1991-12-24 Coding decoding system

Country Status (1)

Country Link
JP (1) JPH05176185A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008091967A (en) * 2006-09-29 2008-04-17 Brother Ind Ltd Image-forming system, image-forming device, and copying machine

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008091967A (en) * 2006-09-29 2008-04-17 Brother Ind Ltd Image-forming system, image-forming device, and copying machine
US8259362B2 (en) 2006-09-29 2012-09-04 Brother Kogyo Kabushiki Kaisha Image forming system, image forming apparatus and copying apparatus

Similar Documents

Publication Publication Date Title
US7133832B2 (en) Recording and reproducing apparatus for use with optical recording medium having real-time, losslessly encoded data
JP2955363B2 (en) Method for encoding image data
JPH07264417A (en) Image coding method
JPH05176185A (en) Coding decoding system
JP2000217003A (en) Coding system and decoding system
JPH05244440A (en) Coding decoding system
JP2633683B2 (en) Vector quantizer
JPH036066Y2 (en)
AU672321B2 (en) Data encoding and decoding apparatus and method
JPH06245200A (en) Method and device for scanning two-dimensional data by energy distribution
JPH01158825A (en) Adaptive type coding control system
JPH04172873A (en) Encoding/decoding system
JPS63155957A (en) Binary picture information compressing device
JPS59219071A (en) Picture coding transmission system
JPH04318764A (en) Facsimile equipment
JP3230551B2 (en) Image processing apparatus and method
JPS58136172A (en) Facsimile code transmission method
JPH04172768A (en) Facsimile equipment
JPH0824334B2 (en) Facsimile machine
JPS63260364A (en) Code converting method for facsimile picture signal
JPS6281880A (en) Data compression system
JPS6065669A (en) Picture coding system
JPS6068769A (en) Electronic mail control system
JPH0732458B2 (en) Code converter
JPS6068777A (en) Decoding system of facsimile two-dimension code

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990311