JPH10271342A - Binary image encoding method - Google Patents

Binary image encoding method

Info

Publication number
JPH10271342A
JPH10271342A JP9003197A JP9003197A JPH10271342A JP H10271342 A JPH10271342 A JP H10271342A JP 9003197 A JP9003197 A JP 9003197A JP 9003197 A JP9003197 A JP 9003197A JP H10271342 A JPH10271342 A JP H10271342A
Authority
JP
Japan
Prior art keywords
code
byte
encoded data
control
encoding method
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
JP9003197A
Other languages
Japanese (ja)
Inventor
Yasuyuki Nomizu
泰之 野水
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP9003197A priority Critical patent/JPH10271342A/en
Publication of JPH10271342A publication Critical patent/JPH10271342A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To insert a control code at an arbitrary position by defining the prescribed value of either '1' or '0' for discriminating a relevant code a real code as a leading bit value, when the code to be outputted is the same code as the control code which can be inserted. SOLUTION: When no control code is to be inserted, and when the code for one byte is not '0×00', such a code is outputted as it is and the code for one byte is outputted, while inserting the leading bit '0' showing that the code is the actual code. When the control code is to be inserted, it is judged whether or not the code for one byte is '0×00' and when it is not '0×00', the control code is outputted after '0×00' is outputted as an identification code. When the code is '0×00', that code for one byte is outputted as it is, and further more, the code for one byte is outputted while inserting the leading bit '0' showing that the code for one byte is the actual code. Moreover after '0×00' has been outputted as the identification code, the control byte is outputted.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、2値画像符号化方
法に関する。
[0001] The present invention relates to a binary image encoding method.

【0002】[0002]

【従来の技術】現在、G3/G4ファクシミリで使用さ
れている標準の2値画像符号化方式は3種類あり、各々
MH(Modified Huffman),MR(M
odified Read),MMR(Modifie
d MR)符号化方式と称されている。
2. Description of the Related Art At present, there are three types of standard binary image coding systems used in G3 / G4 facsimile machines, and MH (Modified Huffman) and MR (M
modified Read), MMR (Modified
d MR) coding method.

【0003】MH符号化方式が参照ラィンを必要としな
い1次元モデルの符号化方式であるのに対し、MR、M
MR符号化方式は参照ラィンを用いた2次元モデルを用
いた符号化方式である。一般的に文字画像においては、
MMR、MR、MH符号化方式の順に符号化効率は高く
なる。
While the MH coding method is a one-dimensional model coding method that does not require a reference line, MR, M
The MR coding method is a coding method using a two-dimensional model using a reference line. Generally, in a character image,
The coding efficiency increases in the order of the MMR, MR, and MH coding methods.

【0004】MH、MR符号化方式は、G3ファクシミ
リ用に規格化されたもので、伝送中に符号化データが欠
落しても、その影響が次ライン以降に次々に伝搬するの
を防ぐために、MH符号化方式においては、1ライン毎
に、MR符号化方式においては、所定の複数ライン毎に
ライン同期符号が挿入されている。
[0004] The MH and MR coding methods are standardized for G3 facsimile. In order to prevent the influence of coded data being lost during transmission from being propagated one after the next line, In the MH coding method, a line synchronization code is inserted for each line, and in the MR coding method, a line synchronization code is inserted for every predetermined plurality of lines.

【0005】これに対してMMR符号化方式はG4ファ
クシミリ用に規格化されたもので、エラーフリーな伝送
を前提にして、ライン同期符号の挿入を省き、すべての
ラインを2次元符号化することで、符号化効率を向上さ
せた符号化方式である。
On the other hand, the MMR coding system is standardized for G4 facsimile, and it is necessary to perform two-dimensional coding on all lines by omitting insertion of a line synchronization code on the premise of error-free transmission. This is an encoding method with improved encoding efficiency.

【0006】最近のG3ファクシミリ装置においても、
G3ファクシミリのオプション機能として追加された、
ECMというエラーフリー伝送を実現する誤り再送方式
を採用することで、符号化効率の最も良いMMR符号化
方式を使用可能な装置がほとんどである。
In a recent G3 facsimile machine,
Added as an optional function of G3 facsimile,
By adopting the ECM, an error retransmission scheme that realizes error-free transmission, most apparatuses can use the MMR coding scheme with the best coding efficiency.

【0007】[0007]

【発明が解決しようとする課題】MMR方式をはじめと
する従来のファクシミリの符号化方式においては、符号
化によって出力される符号化データが、基本的にはビッ
ト単位で出力され、かつ、これら符号は可変長符号であ
るために次のような大きな問題が存在する。
In a conventional facsimile coding method such as the MMR method, coded data output by coding is basically output in bit units, and these codes are output. Is a variable-length code, and therefore has the following major problem.

【0008】すなわち、符号化データ中に任意の符号を
挿入するのが困難である。また、たとえ挿入できても瞬
時にその符号を検索するのは困難である。また、MMR
符号化方式では、符号化データ中のどの位置がラインの
区切りになっているかを瞬時に判定するのが困難であ
る。
That is, it is difficult to insert an arbitrary code into the encoded data. Even if it can be inserted, it is difficult to search for the code instantly. Also, MMR
In the encoding method, it is difficult to instantaneously determine which position in the encoded data is a line break.

【0009】MH、MR符号化方式ではライン同期符
号、すなわち、EOL(End ofLine)符号
(“000000000001”)を利用することであ
る程度の解決はできる。それは、EOL符号は“0”が
11ビット続くために、符号化データを8ビット、すな
わち、1バイトずつに区切った場合、EOL符号の部分
では必ず0x00(0xは、16進数を表す接頭辞)、
すなわち、2進数で表現すれば、“0000000
0”、または、0x?0、0x0?(?は0ないしfの
いずれかの16進数)、すなわち、2進数で表現すれ
ば、“????0000”、“0000????”(?
は1または0のいずれかの2進数)というバイト列が発
生するからであり、その特有のバイト列により、符号化
データ中のどの位置がラインの区切りになっているかを
ある程度判定できる。
In the MH and MR coding methods, a certain degree of solution can be attained by using a line synchronous code, that is, an EOL (End of Line) code (“00000000001”). Since the EOL code is followed by 11 bits of "0", if the encoded data is divided into 8 bits, that is, one byte at a time, the EOL code portion always has 0x00 (0x is a prefix representing a hexadecimal number). ,
That is, if expressed in binary, "00000000"
0 "or 0x? 0, 0x0? (? Is a hexadecimal number from 0 to f), that is,"? " ? ? ? 0000 ”,“ 0000? ? ? ? "(?
Is a binary string of either 1 or 0), and it is possible to determine to a certain extent which position in the encoded data is a line break by the unique byte string.

【0010】これに対しMMR符号化方式では、符号化
データ中にEOL符号のようなライン同期符号が存在し
ないため、結局は符号化データを復号して元の画データ
に戻してからでないと、ラインの区切り等を判定できな
いことになってしまい、これは非常に大きな問題であ
る。
On the other hand, in the MMR encoding method, since a line synchronization code such as an EOL code does not exist in the encoded data, the encoded data must be decoded and returned to the original image data after all. This means that it is not possible to determine a line break or the like, which is a very serious problem.

【0011】一方、最新の符号化方式であるJPEGや
JBIG符号化方式では、符号化データはバイト単位で
出力されるために上記のような問題は起こらない。ま
た、JPEGやJBIGではマーカコードと呼ばれる制
御符号を符号列中に任意に挿入でき、非常に有効に利用
している。例えば、任意のライン数で同期を取りたい場
合や、途中で符号化パラメータを変更したい場合等に利
用している。
On the other hand, in the latest encoding schemes such as JPEG and JBIG encoding schemes, the above-mentioned problem does not occur because encoded data is output in byte units. In JPEG and JBIG, a control code called a marker code can be arbitrarily inserted into a code string, and is very effectively used. For example, it is used when it is desired to synchronize with an arbitrary number of lines, or when it is desired to change an encoding parameter on the way.

【0012】しかし、JPEGやJBIG符号化方式
は、いずれの方式ともMH、MR、MMR符号化方式に
比べると符号化処理が非常に複雑であり、コスト的に不
利であるという問題がある。
However, the JPEG and JBIG coding methods have a problem that the coding processing is very complicated and costly disadvantageous as compared with the MH, MR and MMR coding methods.

【0013】本発明は係る事情に鑑みてなされたもので
あり、MMR符号化方式で符号化された符号化データに
おいても、任意の位置に制御符号を挿入することができ
る2値画像符号化方法を提供することを目的とする。
The present invention has been made in view of the above circumstances, and a binary image encoding method capable of inserting a control code at an arbitrary position even in encoded data encoded by the MMR encoding method. The purpose is to provide.

【0014】[0014]

【課題を解決するための手段】上記目的を達成するた
め、請求項1記載の2値画像符号化方法は、符号化デー
タに挿入し得る制御符号を予め定めておく一方、MMR
符号化方式で符号化された符号化データをバイト単位の
符号として順次出力し、その出力される符号が前記符号
化データ中に挿入され得る前記制御符号と同一の符号で
ある場合には、当該符号に続けて、当該符号が実際の符
号であることを判別するための1または0のいずれかの
所定値を先頭ビット値とする実符号判別符号を出力する
ことを特徴とする。
According to a first aspect of the present invention, there is provided a binary image encoding method, wherein a control code which can be inserted into encoded data is determined in advance while MMR is used.
The encoded data encoded by the encoding method is sequentially output as a code in byte units, and when the output code is the same code as the control code that can be inserted into the encoded data, After the code, a real code discrimination code having a predetermined value of 1 or 0 as a leading bit value for discriminating that the code is an actual code is output.

【0015】請求項2記載の2値画像符号化方法は、符
号化データに挿入し得る識別符号を16進数“00”と
予め定めておく一方、MMR符号化方式で符号化された
符号化データをバイト単位の符号として順次出力し、そ
の出力される符号が前記符号化データ中に挿入され得る
前記識別符号と同一の符号である場合には、当該符号に
続けて、1または0のいずれかの所定値を先頭ビット値
とする実符号判別符号を出力することにより、前記識別
符号に続けて、前記実符号判別符号の先頭ビット値とは
異なる値を先頭ビット値とする任意の制御符号の挿入を
可能としたことを特徴とする。
According to a second aspect of the present invention, in the binary image encoding method, an identification code which can be inserted into encoded data is predetermined as a hexadecimal number "00", while the encoded data encoded by the MMR encoding method is defined. Are sequentially output as codes in byte units, and when the output code is the same code as the identification code that can be inserted into the encoded data, either 1 or 0 follows the code. By outputting a real code discriminating code having a predetermined value as a leading bit value, following the identification code, an arbitrary control code having a leading bit value different from the leading bit value of the real code discriminating code It is characterized in that insertion is possible.

【0016】請求項3記載の2値画像符号化方法は、符
号化データに挿入し得る識別符号を16進数“00”と
予め定めておく一方、MMR符号化方式で符号化された
符号化データをバイト単位の符号として順次出力し、そ
の出力される符号が前記符号化データ中に挿入され得る
前記識別符号と同一の符号である場合には、当該識別符
号と同一の符号に続けて出力される符号を、先頭ビット
のみが1または0のいずれかの所定値で残りのビットは
続く符号化データで構成した符号とするすることによ
り、前記識別符号に続けて、前記識別符号と同一の符号
に続けて出力される符号の先頭ビット値とは異なる値を
先頭ビット値とする任意の制御符号の挿入を可能とした
ことを特徴とする。
According to a third aspect of the present invention, in the binary image encoding method, the identification code that can be inserted into the encoded data is predetermined as a hexadecimal number “00”, while the encoded data encoded by the MMR encoding method is set. Are sequentially output as codes in byte units, and when the output code is the same code as the identification code that can be inserted into the encoded data, the code is output following the same code as the identification code. The first bit is a predetermined value of either 1 or 0 and the remaining bits are codes composed of the following coded data, so that the same code as the identification code follows the identification code. , An arbitrary control code having a value different from the leading bit value of the code outputted after the leading bit value can be inserted.

【0017】請求項4記載の2値画像符号化方法は、請
求項1、2または3のいずれかの記載の2値画像符号化
方法において、前記制御符号または識別符号を前記符号
化データに挿入する際に、直前の1バイト分の符号が確
定していない場合には、当該1バイト中の未確定の分の
ビットを0で埋めて、当該1バイト分の符号を確定して
から、前記制御符号または識別符号を挿入することを特
徴とする。
According to a fourth aspect of the present invention, in the binary image encoding method according to any one of the first to third aspects, the control code or the identification code is inserted into the encoded data. At this time, if the code of the immediately preceding byte is not determined, the bits of the undetermined one in the byte are padded with 0, and the code of the byte is determined. A control code or an identification code is inserted.

【0018】[0018]

【発明の実施形態】以下添付図面を参照しながら本発明
の実施の形態について詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the accompanying drawings.

【0019】図1は、本発明の実施の形態に係る2値画
像符号化方法が適用されるファクシミリ装置間で、伝送
路を介して画像伝送する場合のブロック構成を示してい
る。
FIG. 1 shows a block configuration in a case where an image is transmitted via a transmission path between facsimile apparatuses to which a binary image encoding method according to an embodiment of the present invention is applied.

【0020】同図において、先ず送信側では、画像読取
り部1においてCCDイメージセンサ等を用いて原稿を
読み取り、続く画像処理部2で送信データを適切なデー
タにするための処理を行い、最後に符号化部3において
符号化を行って作成された符号化データを伝送路を介し
て受信側へ送出する。
In the figure, first, on the transmitting side, an image reading section 1 reads a document using a CCD image sensor or the like, and a subsequent image processing section 2 performs processing for converting transmission data into appropriate data. The encoded data generated by performing the encoding in the encoding unit 3 is transmitted to the receiving side via the transmission path.

【0021】一方、受信側で画像を再生するときは、符
号化データを複号部4により複号し、画像処理部5で出
力装置に適した画像処理を行い、プロッター等の画像出
力部6に出力することでハードコピーを得る。なお、画
像処理部2または5で行われる処理の例としては、解像
度変換、サイズ変換等が挙げられる。
On the other hand, when an image is reproduced on the receiving side, the encoded data is decoded by the decoding unit 4, the image processing unit 5 performs image processing suitable for the output device, and the image output unit 6 such as a plotter is used. To get a hard copy. Note that examples of processing performed by the image processing unit 2 or 5 include resolution conversion and size conversion.

【0022】上記の符号化部3、復号部4で使われる符
号化方式の例としては従来からのMH、MR、MMR符
号化方式や最新のJBIG方式等がある。本発明は、そ
れらのうち、MMR符号化方式に関連するものである
が、MMR符号化方式自体は、ITU−Tの標準勧告書
等により既によく知られたものであるため、以後の説明
では、本発明と関連する点以外の詳細な説明は省略す
る。
Examples of the encoding system used in the encoding unit 3 and the decoding unit 4 include a conventional MH, MR, MMR encoding system and the latest JBIG system. The present invention relates to the MMR coding method among them. However, since the MMR coding method itself is already well-known by the ITU-T standard recommendation and the like, the following description will be made. Detailed descriptions other than those related to the present invention will be omitted.

【0023】次にG3ファクシミリにおける通信手順を
図2を参照して簡単に説明する。同図において、送信側
が受信側に発呼すると、受信側は受信状態になったこと
を知らせる信号(CED)を送信側に返す。続いて受信
側は、メーカー仕様(NSF)や受信側の持っている機
能(CSI、DIS)を送信側に知らせる。送信側は受
信側から受け取った受信側の機能を参照して送信側モー
ド(TSI、DCS)を決定し受信側に伝える。
Next, a communication procedure in the G3 facsimile will be briefly described with reference to FIG. In the figure, when the transmitting side calls the receiving side, the receiving side returns to the transmitting side a signal (CED) indicating that the receiving state has been entered. Subsequently, the receiving side notifies the transmitting side of the manufacturer specifications (NSF) and the functions (CSI, DIS) of the receiving side. The transmitting side refers to the function of the receiving side received from the receiving side, determines the transmitting side mode (TSI, DCS), and notifies the receiving side.

【0024】続いて、受信側のモデムを準備(TRAI
NING)させて通信スピードテスト(TCF)を行
う。通信テストがうまく完了すると受信側は送信側に通
信テストが完了(CFR)したことを伝える。送信側は
画情報の伝送のために受信側のモデムを再度準備(RE
TRAIN)させた後に画情報の伝送(MESSAG
E)を開始する。このとき伝送されるのが、符号化部3
で符号化されたデータである。
Next, the modem on the receiving side is prepared (TRAI
NING) to perform a communication speed test (TCF). Upon successful completion of the communication test, the receiving side informs the transmitting side that the communication test has been completed (CFR). The sender prepares the receiving modem again for transmission of image information (RE
TRAIN) and transmission of image information (MESSAG
Start E). What is transmitted at this time is the encoding unit 3
Is the data encoded with.

【0025】画情報の伝送が終了すると送信側は受信側
に対して送信終了を伝える信号(EOP)を送出する。
受信側は画像がうまく受け取れたことを確認した後に送
信側に対して画情報の伝送が正常に終了(MCF)した
ことを伝える。以上の手続きが終了すると送信側が受信
側に回線を切る(DCN)ことを伝えて回線を切断す
る。このようにして送受信装置間で符号化データとして
の画情報の伝送が行われる。
When the transmission of the image information is completed, the transmitting side sends a signal (EOP) notifying the receiving side of the end of the transmission.
After confirming that the image has been successfully received, the receiving side informs the transmitting side that the transmission of the image information has been completed normally (MCF). When the above procedure is completed, the transmitting side informs the receiving side of disconnecting the line (DCN) and disconnects the line. In this way, image information as encoded data is transmitted between the transmitting and receiving apparatuses.

【0026】次に、符号化部3において行われる、本発
明に係る2値画像符号化方法について、図3を参照して
説明する。なお、同図に示す処理手順の前提なるのは、
符号化部3が画像処理部2からの画像データを、内部的
に従来と同様のMMR符号化方式で符号化することによ
り、符号化データをビット単位で内部的に出力し、その
内部的に出力されるビット単位の符号化データを、図3
に示す手順により処理するということである。
Next, the binary image encoding method according to the present invention performed in the encoding unit 3 will be described with reference to FIG. The processing procedure shown in FIG.
The encoding unit 3 internally encodes the image data from the image processing unit 2 using the same MMR encoding scheme as the conventional one, thereby internally outputting the encoded data in bit units. The output bit-unit encoded data is shown in FIG.
The processing is performed according to the procedure shown in FIG.

【0027】以上の前提で、図3において、符号化部3
は、画像処理部2からの画像データのMMR符号化方式
による符号化が終了したかを判断し(判断101)、終
了した場合(判断101のYes)は、終端符号、すな
わち、ITU−T勧告に規定されたファクシミリブロッ
ク終端(EOFB)符号(2進数では、“000000
000001000000000001”、バイト単位
の16進数では、“0x00”“0x10”“0x0
1”の3バイト)を出力して処理を終了する。
On the premise of the above, in FIG.
Determines whether the encoding of the image data from the image processing unit 2 by the MMR encoding method has been completed (decision 101), and if the encoding has been completed (Yes in decision 101), the terminal code, that is, the ITU-T Recommendation Facsimile block end (EOFB) code (in binary, "000000"
0000001000000000001 ”, in hexadecimal notation in byte units,“ 0x00 ”“ 0x10 ”“ 0x0 ”
1 "is output, and the process is terminated.

【0028】終了していない場合(判断101のNo)
は、MMR符号化を続行し(処理102)、符号が1バ
イト分になるまで、MMR符号化を繰り返す(判断10
3のNoループ)、符号が1バイト分になると(判断1
03のYes)、ラインの同期を取る等の目的のため
に、制御符号を挿入するかを判断する(判断104)。
If not completed (No in decision 101)
Continues the MMR encoding (process 102) and repeats the MMR encoding until the code becomes 1 byte (decision 10).
3 (No loop of No. 3), when the code becomes one byte (decision 1)
03 (Yes), it is determined whether a control code is to be inserted for the purpose of synchronizing lines or the like (decision 104).

【0029】制御符号を挿入しない場合(判断104の
No)は、1バイト分の符号が“0x00”かを判断し
(判断105)、“0x00”でない場合(判断105
のNo)は、そのまま、その1バイト分の符号を出力す
る(処理108)。“0x00”である場合(判断10
5のYes)は、そのまま、その1バイト分の符号、す
なわち、“0x00”を出力し(処理106)、さら
に、その1バイト分の符号“0x00”が、実際の符号
であることを示す、先頭ビット‘0’を挿入した1バイ
トの符号を出力する(処理107)。なお、その先頭ビ
ット‘0’を挿入した1バイト符号は、先頭ビットのみ
が‘0’で残りの7ビットが、続くMMR符号化データ
で構成された符号である。
If the control code is not inserted (No in decision 104), it is determined whether the code for one byte is "0x00" (decision 105), and if it is not "0x00" (decision 105).
No) outputs the 1-byte code as it is (process 108). If “0x00” (judgment 10
5 (Yes), the code for one byte, that is, “0x00” is output as it is (process 106), and further, the code “0x00” for one byte is an actual code. A one-byte code with the leading bit '0' inserted is output (process 107). The one-byte code with the leading bit '0' inserted is a code composed of only the leading bit '0' and the remaining seven bits composed of the following MMR encoded data.

【0030】制御符号を挿入する場合(判断104のY
es)は、1バイト分の符号が“0x00”かを判断し
(判断109)、“0x00”でない場合(判断109
のNo)は、識別符号としての“0x00”を出力して
から(処理110)、制御バイト、すなわち、制御符号
を出力する(処理111)。なお、その制御バイトは、
先頭ビットのみが‘1’で、残りの7ビットが正味の制
御符号として使用される。
When inserting a control code (Y in decision 104)
es) determines whether the code for one byte is “0x00” (decision 109), and if it is not “0x00” (decision 109)
No) outputs “0x00” as an identification code (process 110), and then outputs a control byte, that is, a control code (process 111). The control byte is
Only the first bit is '1' and the remaining 7 bits are used as a net control code.

【0031】1バイト分の符号が“0x00”である場
合(判断109のYes)は、そのまま、その1バイト
分の符号、すなわち、“0x00”を出力し(処理11
2)、さらに、その1バイト分の符号“0x00”が、
実際の符号であることを示す、先頭ビット‘0’を挿入
した1バイトの符号を出力し(処理113)、更に、識
別符号としての“0x00”を出力してから(処理11
4)、制御バイト、すなわち、制御符号を出力する(処
理115)。なお、その制御バイトは、先頭ビットのみ
が‘1’で、残りの7ビットが正味の制御符号として使
用される。
If the code for one byte is "0x00" (Yes in decision 109), the code for one byte, that is, "0x00" is output as it is (step 11).
2) Further, the code “0x00” for one byte is
A one-byte code with the leading bit '0' inserted, indicating that it is an actual code, is output (process 113), and “0x00” as an identification code is output (process 11).
4) Output a control byte, that is, a control code (process 115). In the control byte, only the first bit is “1”, and the remaining 7 bits are used as a net control code.

【0032】処理107、108、111または115
の後は、判断101に戻る。
Process 107, 108, 111 or 115
After that, the process returns to the determination 101.

【0033】このように、図3に示す手順の本実施の形
態に係る符号化方法は、基本的に従来のMMR符号化方
式と同じであるが、符号をバイト単位で出力するために
バイトになったかどうかを判断している点(判断10
3)と、制御符号を挿入する場合を考慮して制御符号を
挿入する際の識別符号(“0x00”)と実際の符号と
を区別するための処理(処理107、処理113)が加
わっている点が特徴である。
As described above, the encoding method according to the present embodiment of the procedure shown in FIG. 3 is basically the same as the conventional MMR encoding method. Point to determine whether or not
3) and a process (process 107, process 113) for distinguishing the actual code from the identification code (“0x00”) when inserting the control code in consideration of the case where the control code is inserted. The feature is the point.

【0034】なお、図3に示す手順においては、識別符
号を“0x00”とし、実際の符号と識別符号が同じで
あった場合に、その識別符号と同じ実際の符号の後に付
加する先頭ビットを‘0’とする一方、制御バイトの先
頭ビットを‘1’とすることで、符号“0x00”が、
実際の符号であるのか、識別符号であるのかを区別して
いるが、識別符号と同じ実際の符号の後に付加する先頭
ビットを‘1’とする一方、制御バイトの先頭ビットを
‘0’とすることによっても、符号“0x00”が、実
際の符号であるのか、識別符号であるのかを区別でき
る。また、“0x00”は、発明者の確認によれば、I
TU−Tの標準チャート#1(A4、200dpi)を
符号化した場合には、バイトに区切った符号化データ中
に4バイトしか登場しない符号であるため、制御符号を
挿入するための識別符号として、最も実際の符号化デー
タ中に登場しにくいバイトを用いていることになり、実
際の符号が識別符号と同じである場合に、識別符号と同
じ実際の符号の後の符号バイトに、実際の符号の判別の
ために先頭ビット‘0’が付加される機会をほとんどな
くすことで、冗長性を低くして、効率の良い符号化が実
現可能である。また、識別符号と同じ実際の符号の後の
符号バイトの先頭ビット‘0’以外の7ビットは、MM
R符号化データであるため、無駄のない符号化が可能で
ある。
In the procedure shown in FIG. 3, the identification code is set to "0x00", and if the actual code and the identification code are the same, the first bit added after the actual code same as the identification code is added. By setting the first bit of the control byte to “1” while setting it to “0”, the code “0x00” becomes
Whether the code is an actual code or an identification code is distinguished. The first bit added after the actual code same as the identification code is set to “1”, while the first bit of the control byte is set to “0”. This also makes it possible to distinguish whether the code “0x00” is an actual code or an identification code. Also, “0x00” is, according to the confirmation of the inventor, I
When the TU-T standard chart # 1 (A4, 200 dpi) is encoded, since only 4 bytes appear in encoded data divided into bytes, it is used as an identification code for inserting a control code. In other words, when the actual code is the same as the identification code, the code byte following the actual code that is the same as the identification code is used as the actual byte. Eliminating the opportunity of adding the first bit “0” for code determination makes it possible to reduce the redundancy and achieve efficient coding. Also, the 7 bits other than the first bit “0” of the code byte after the actual code same as the identification code are
Since the data is R-encoded data, encoding without waste is possible.

【0035】図4に、本実施の形態に係る符号化方法で
作成される符号列の例を従来のMMR符号化方式との比
較で示す。
FIG. 4 shows an example of a code string generated by the coding method according to the present embodiment in comparison with a conventional MMR coding method.

【0036】同図においては、符号が丁度バイト境界で
区切れる場合、符号が丁度バイト境界で区切れない場
合、及び、通常の符号で“0x00”が出てきた場合に
ついて示している。なお、同図において、Pが差し示す
符号列は、MMR符号化方式におけるPassモードに
対する符号であり、V(0)、VR(1)、VR(2)
またはVL(1)が差し示す符号列は、各垂直モードに
対する符号を示している。
FIG. 3 shows a case where a code is just separated at a byte boundary, a case where a code is not exactly separated at a byte boundary, and a case where "0x00" appears with a normal code. Note that, in the same figure, the code string indicated by P is a code for the Pass mode in the MMR coding system, and is V (0), VR (1), VR (2).
Alternatively, the code string indicated by VL (1) indicates a code for each vertical mode.

【0037】符号が丁度バイト境界で区切れる場合に示
されるように、本発明のMMR符号化では、制御符号
(この場合は、“0x8f”)が、識別符号(“0x0
0”)と共に符号列に挿入されている。また、制御符号
“0x8f”のバイトを構成する8ビット(“1000
1111”)のうちの先頭ビットの‘1’が、当該バイ
トが制御バイトであることを示し、残りのビット(“0
001111”)が正味の制御符号を意味している。
As shown when the codes are just separated by byte boundaries, in the MMR coding of the present invention, the control code (in this case, “0x8f”) is replaced by the identification code (“0x0f”).
0 ”) and 8 bits (“ 1000 ”) constituting the byte of the control code“ 0x8f ”.
1111 "), the leading bit" 1 "indicates that the byte is a control byte, and the remaining bits (" 0 "
001111 ") means the net control code.

【0038】また、符号が丁度バイト境界で区切れない
場合に示されるように、本発明のMMR符号化では、制
御符号(この場合は、“0x8f”)が、識別符号
(“0x00”)と共に符号列に挿入されるのに先立っ
て、図3に示した手順においては説明をしなかったが、
1バイト分の符号を確定するために、この場合は、挿入
ビットとして6個の連続する“0”を追加することで、
すでに確定していた3ビットの符号列VL(1)(“0
10”)の後部の2ビットの(“10”)が、8ビッ
ト、すなわち、1バイトの符号として確定する。なお、
“0”を追加しても符号としては問題は生じない。
Also, as shown when the code is not just separated by a byte boundary, in the MMR coding of the present invention, the control code (in this case, “0x8f”) is used together with the identification code (“0x00”). Prior to being inserted into the code sequence, the procedure shown in FIG. 3 was not described,
In order to determine the code of one byte, in this case, by adding six consecutive “0” as insertion bits,
The 3-bit code string VL (1) (“0
10 "), the last two bits (" 10 ") are determined as eight bits, that is, a one-byte code.
Even if "0" is added, no problem occurs as a code.

【0039】また、通常の符号で“0x00”が出てき
た場合には、本発明のMMR符号化では、その実際の符
号である“0x00”の後に、その“0x00”が識別
符号ではなく、実際の符号であることを示すための先頭
ビット‘0’が挿入されている。したがって、“0x0
0”の後の符号“0xa1”のバイトを構成する8ビッ
ト(“10100001”)の先頭にビット‘0’が挿
入された9ビット(“010100001”)の先頭か
らの8ビット(“01010000”)、すなち、“0
x50”が、実際の符号である“0x00”の後に続く
ことになり、9ビットのうちの最後尾のビット‘1’
は、次の符号バイトの先頭に押し出されることなる。こ
れにより、符号化データ列中に“0x00”の符号バイ
トが出現した場合には、続くバイトの先頭ビットによ
り、その“0x00”が、識別符号であるか、実際の符
号であるかを即時に判定できるため、識別符号であれ
ば、続く7ビットの正味の制御符号を符号化データ列中
から取り出すことができ、実際の符号であれば、その実
際の符号に続く符号バイトの先頭ビットを除外すること
で、正しい符号化データ列を得ることができる。
When “0x00” appears in a normal code, in the MMR coding of the present invention, after the actual code “0x00”, the “0x00” is not an identification code. A leading bit '0' is inserted to indicate that it is an actual code. Therefore, "0x0
8 bits (“01010000”) from the beginning of 9 bits (“010100001”) in which a bit “0” is inserted at the beginning of the 8 bits (“10100001”) constituting the byte of code “0xa1” after “0” , That is, "0
x50 ”follows the actual code“ 0x00 ”, and the last bit“ 1 ”of the 9 bits
Will be pushed to the beginning of the next code byte. Accordingly, when a code byte of “0x00” appears in the encoded data string, whether the “0x00” is an identification code or an actual code is immediately determined by the leading bit of the subsequent byte. Since it can be determined, if it is an identification code, the subsequent 7-bit net control code can be extracted from the encoded data string, and if it is an actual code, the first bit of the code byte following the actual code is excluded. By doing so, a correct encoded data string can be obtained.

【0040】以上のように本発明の実施の形態に係る符
号化方法においては、MMR符号化方式の符号出力に追
加の処理を行うことで、従来からの問題である、符号列
中に任意の符号を挿入するのが困難である点や、たとえ
挿入されても瞬時にその符号を検索するのは困難である
点、ラインの区切りを瞬時に見つけられない点等の問題
を解決できる。また、任意の制御符号を挿入し、かつそ
の符号を瞬時に検索することが可能であるので、広範囲
なアプリケーションを実現できる可能性を持っている。
As described above, in the encoding method according to the embodiment of the present invention, an additional process is performed on the code output of the MMR encoding system, so that an arbitrary It is possible to solve problems such as difficulty in inserting a code, difficulty in searching for the code instantly even if it is inserted, and difficulty in finding a line break instantly. Further, since an arbitrary control code can be inserted and the code can be searched instantaneously, there is a possibility that a wide range of applications can be realized.

【0041】なお、以上説明した実施の形態において
は、本発明に係る2値画像符号化方法をファクシミリ装
置に適用した例について説明したが、本発明は、それに
限らず、画像ファイリング装置や、その他の画像を扱う
装置に対しても同様に適用可能なものである。
In the above-described embodiment, an example in which the binary image encoding method according to the present invention is applied to a facsimile apparatus has been described. However, the present invention is not limited to this, and may be applied to an image filing apparatus and other devices. The same can be applied to a device that handles images of the above type.

【0042】[0042]

【発明の効果】請求項1に係る発明によれば、JPEG
やJBIG符号化方式において使用可能なマーカコード
のように、MMR符号化方式で符号化された符号化デー
タに対しても、制御符号を任意に挿入できるように符号
をバイト単位で出力し、さらに、制御符号と実際の符号
とが同じであった場合に、それが実際の符号であること
を区別するために、当該符号が実際の符号であることを
判別するための1または0のいずれかの所定値を先頭ビ
ット値とする実符号判別符号を続けて出力するため、復
号時に誤りのない再生画像を得ることができる効果を得
る。また、前記実符号判別符号が、実符号判別符号であ
るかは、その先頭ビット値により簡単に判別することが
できる。また、符号化データの任意の位置に制御符号を
挿入できるために、扱いやすく、かつ応用範囲の広い符
号化を実現できる。
According to the first aspect of the present invention, JPEG
And a marker code that can be used in the JBIG encoding method, and outputs a code in byte units so that a control code can be arbitrarily inserted into encoded data encoded in the MMR encoding method. When the control code and the actual code are the same, either 1 or 0 for discriminating that the code is the actual code to distinguish it from the actual code. Since the real code discriminating code having the predetermined value as the leading bit value is continuously output, an effect is obtained that a reproduced image without error at the time of decoding can be obtained. Whether or not the real code discrimination code is the real code discrimination code can be easily discriminated by its leading bit value. Further, since a control code can be inserted at an arbitrary position in the encoded data, it is possible to realize encoding that is easy to handle and has a wide application range.

【0043】請求項2に係る発明によれば、文字画像等
をMMR符号化方式で符号化して得られた符号化データ
をバイト単位の符号に区切った場合、その1バイトの符
号が、16進数“00”になる機会が非常に少ないこと
に着目して、制御符号を挿入するための識別符号とし
て、最も実際の符号化データ中に登場しにくいバイトを
用いることで、実際の符号が前記識別符号と同じである
場合に、前記実符号判別符号が付加される機会をほとん
どなくし、冗長性を低くして、効率の良い2値画像符号
化が実現できる。実際、ITU−Tの標準チャート#1
(A4、200dpi)を符号化した場合には、バイト
に区切った符号化データ中には、16進数“00”のバ
イトは、4バイトしか登場しないということを発明者は
確認している。また、前記符号化データ中に何らかの制
御符号が挿入されていることは、その前に置かれた前記
識別符号により判断できるため、前記符号化データ中の
任意の位置に任意の制御符号を挿入でき、扱いやすく、
かつ、応用範囲の広い符号化を実現できる。また、実際
の符号が前記識別符号とたまたま同じになったのか、あ
るいは、前記識別符号が前記制御符号に付随して挿入さ
れたのかは、前記実符号判別符号の先頭ビット値と前記
制御符号の先頭ビット値が互いに異なっているため、前
記識別符号、または、前記識別符号と同一の実際の符号
に続く符号の先頭ビット値により、簡単に区別すること
ができ、処理の高速化が可能となる。
According to the second aspect of the present invention, when encoded data obtained by encoding a character image or the like by the MMR encoding method is divided into codes in byte units, the code of one byte is a hexadecimal number. Paying attention to the fact that the chance of becoming "00" is extremely small, by using a byte which hardly appears in actual encoded data as an identification code for inserting a control code, When the code is the same as the code, there is almost no chance of adding the real code discrimination code, the redundancy is reduced, and efficient binary image coding can be realized. Actually, ITU-T standard chart # 1
The inventor has confirmed that when (A4, 200 dpi) is encoded, only four bytes of hexadecimal “00” appear in the encoded data divided into bytes. Also, since any control code is inserted into the encoded data can be determined by the identification code placed before it, any control code can be inserted at any position in the encoded data. , Easy to handle,
In addition, encoding with a wide range of applications can be realized. Whether the actual code happens to be the same as the identification code or whether the identification code is inserted along with the control code is determined by the first bit value of the real code determination code and the control code. Since the first bit values are different from each other, the identification code or the first bit value of the code following the same actual code as the identification code can be easily distinguished, and the processing can be speeded up. .

【0044】請求項3に係る発明によれば、文字画像等
をMMR符号化方式で符号化して得られた符号化データ
をバイト単位の符号に区切った場合、その1バイトの符
号が、16進数“00”になる機会が非常に少ないこと
に着目して、制御符号を挿入するための識別符号とし
て、最も実際の符号化データ中に登場しにくいバイトを
用いることで、実際の符号が前記識別符号と同じである
場合に、それに続けて出力される符号に、その識別符号
と同じ実際の符号が実際の符号であることを判別するた
めの先頭ビットが付加される機会をほとんどなくし、冗
長性を低くして、効率の良い2値画像符号化が実現でき
る。また、前記符号化データ中に何らかの制御符号が挿
入されていることは、その前に置かれた前記識別符号に
より判断できるため、前記符号化データ中の任意の位置
に任意の制御符号を挿入でき、扱いやすく、かつ、応用
範囲の広い符号化を実現できる。また、実際の符号が前
記識別符号とたまたま同じになったのか、あるいは、前
記識別符号が前記制御符号に付随して挿入されたのか
は、前記識別符号、または、前記識別符号と同一の実際
の符号に続く符号の先頭ビット値により、簡単に区別す
ることができ、処理の高速化が可能となる。また、前記
識別符号と同一の実際の符号に続く符号の先頭ビット以
外は、続く符号化データで構成されているため、無駄の
ない符号化が可能となる。
According to the third aspect of the invention, when encoded data obtained by encoding a character image or the like by the MMR encoding method is divided into codes in byte units, the code of one byte is a hexadecimal number. Paying attention to the fact that the chance of becoming "00" is extremely small, by using a byte which hardly appears in actual encoded data as an identification code for inserting a control code, When the code is the same as the code, there is almost no chance that a leading bit for discriminating that the actual code identical to the identification code is the actual code is added to the code output subsequently, and the redundancy is reduced. , And efficient binary image encoding can be realized. Also, since any control code is inserted into the encoded data can be determined by the identification code placed before it, any control code can be inserted at any position in the encoded data. In addition, encoding that is easy to handle and has a wide range of applications can be realized. Whether the actual code happened to be the same as the identification code or whether the identification code was inserted along with the control code is the same as the identification code or the same actual code as the identification code. It can be easily distinguished by the leading bit value of the code following the code, and the processing can be speeded up. Also, since the bits other than the first bit of the code following the actual code identical to the identification code are composed of the following coded data, coding without waste is possible.

【0045】請求項4に係る発明によれば、前記制御符
号または識別符号をライン終了時等に挿入する場合にお
いては、符号がまだバイトとして確定されていない場合
が考えられが、その際には残りビットを確定して符号出
力することで制御符号や識別符号を挿入することができ
る。残りビットを“1”または“0”のどららで埋める
かについては、“1”は既に符号として予約されている
ため、必然的に“0”用いなければならないが、“0”
で埋めても符号としては問題は生じない。このように、
符号がまだ1バイト分確定していなくても、“0”で残
りビットを埋めて符号を確定することで、何の問題もな
く制御符号や識別符号を挿入でき、広範囲な応用が可能
になる。
According to the fourth aspect of the present invention, when the control code or the identification code is inserted at the end of a line or the like, the code may not be determined as a byte yet. By determining the remaining bits and outputting the code, a control code and an identification code can be inserted. Regarding whether to fill the remaining bits with “1” or “0”, “1” is already reserved as a code, so “0” must be used inevitably.
Even if padding is used, no problem occurs as a code. in this way,
Even if the code has not yet been determined for one byte, the control code and the identification code can be inserted without any problem by filling the remaining bits with "0" and determining the code, thereby enabling a wide range of applications. .

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

【図1】本発明の実施の形態に係る2値画像符号化方法
が適用されるファクシミリ装置間で、伝送路を介して画
像伝送する場合のブロック構成を示す図である。
FIG. 1 is a diagram showing a block configuration in a case where an image is transmitted via a transmission path between facsimile apparatuses to which a binary image encoding method according to an embodiment of the present invention is applied.

【図2】G3ファクシミリにおける通信手順を示す図で
ある。
FIG. 2 is a diagram showing a communication procedure in a G3 facsimile.

【図3】符号化部において行われる本発明に係る2値画
像符号化方法の手順を示すフローチャートである。
FIG. 3 is a flowchart illustrating a procedure of a binary image encoding method according to the present invention performed in an encoding unit.

【図4】本発明の実施の形態に係る2値画像符号化方法
で作成される符号列の例を従来のMMR符号化方式と比
較して示す図である。
FIG. 4 is a diagram showing an example of a code string generated by a binary image coding method according to an embodiment of the present invention, in comparison with a conventional MMR coding method.

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

1 画像読取り部 2 画像処理部 3 符号化部 4 復号部 5 画像処理部 6 画像出力部 DESCRIPTION OF SYMBOLS 1 Image reading part 2 Image processing part 3 Encoding part 4 Decoding part 5 Image processing part 6 Image output part

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 符号化データに挿入し得る制御符号を予
め定めておく一方、MMR符号化方式で符号化された符
号化データをバイト単位の符号として順次出力し、その
出力される符号が前記符号化データ中に挿入され得る前
記制御符号と同一の符号である場合には、当該符号に続
けて、当該符号が実際の符号であることを判別するため
の1または0のいずれかの所定値を先頭ビット値とする
実符号判別符号を出力することを特徴とする2値画像符
号化方法。
1. A control code that can be inserted into encoded data is determined in advance, and encoded data encoded by the MMR encoding method is sequentially output as a code in byte units. If the code is the same as the control code that can be inserted into the encoded data, a predetermined value of 1 or 0 following the code is used to determine that the code is an actual code. And outputting a real code discrimination code having the first bit value as a first bit value.
【請求項2】 符号化データに挿入し得る識別符号を1
6進数“00”と予め定めておく一方、MMR符号化方
式で符号化された符号化データをバイト単位の符号とし
て順次出力し、その出力される符号が前記符号化データ
中に挿入され得る前記識別符号と同一の符号である場合
には、当該符号に続けて、1または0のいずれかの所定
値を先頭ビット値とする実符号判別符号を出力すること
により、前記識別符号に続けて、前記実符号判別符号の
先頭ビット値とは異なる値を先頭ビット値とする任意の
制御符号の挿入を可能としたことを特徴とする2値画像
符号化方法。
2. An identification code that can be inserted into encoded data is 1
The hexadecimal number “00” is predetermined, while the encoded data encoded by the MMR encoding method is sequentially output as a byte unit code, and the output code can be inserted into the encoded data. If the code is the same as the identification code, by outputting a real code identification code having a predetermined value of 1 or 0 as the first bit value following the code, A binary image encoding method, wherein an arbitrary control code having a value different from the head bit value of the real code discrimination code as a head bit value can be inserted.
【請求項3】 符号化データに挿入し得る識別符号を1
6進数“00”と予め定めておく一方、MMR符号化方
式で符号化された符号化データをバイト単位の符号とし
て順次出力し、その出力される符号が前記符号化データ
中に挿入され得る前記識別符号と同一の符号である場合
には、当該識別符号と同一の符号に続けて出力される符
号を、先頭ビットのみが1または0のいずれかの所定値
で残りのビットは続く符号化データで構成した符号とす
るすることにより、前記識別符号に続けて、前記識別符
号と同一の符号に続けて出力される符号の先頭ビット値
とは異なる値を先頭ビット値とする任意の制御符号の挿
入を可能としたことを特徴とする2値画像符号化方法。
3. An identification code that can be inserted into encoded data is 1
The hexadecimal number “00” is predetermined, while the encoded data encoded by the MMR encoding method is sequentially output as a byte unit code, and the output code can be inserted into the encoded data. If the code is the same as the identification code, the code output following the same code as the identification code is a coded data in which only the first bit is a predetermined value of 1 or 0 and the remaining bits are the following coded data. By following the identification code, an arbitrary control code having a value different from the first bit value of the code output following the same code as the first code following the identification code may be used. A binary image encoding method characterized in that insertion is possible.
【請求項4】 前記制御符号または識別符号を前記符号
化データに挿入する際に、直前の1バイト分の符号が確
定していない場合には、当該1バイト中の未確定の分の
ビットを0で埋めて、当該1バイト分の符号を確定して
から、前記制御符号または識別符号を挿入することを特
徴とする請求項1、2または3のいずれかの記載の2値
画像符号化方法。
4. When inserting the control code or the identification code into the encoded data, if the code of the immediately preceding one byte is not determined, the bits of the undetermined one byte are replaced by the undetermined bits. 4. The binary image encoding method according to claim 1, wherein the control code or the identification code is inserted after padding with 0 to determine the code for the one byte. .
JP9003197A 1997-03-26 1997-03-26 Binary image encoding method Pending JPH10271342A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9003197A JPH10271342A (en) 1997-03-26 1997-03-26 Binary image encoding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9003197A JPH10271342A (en) 1997-03-26 1997-03-26 Binary image encoding method

Publications (1)

Publication Number Publication Date
JPH10271342A true JPH10271342A (en) 1998-10-09

Family

ID=13987307

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9003197A Pending JPH10271342A (en) 1997-03-26 1997-03-26 Binary image encoding method

Country Status (1)

Country Link
JP (1) JPH10271342A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7324022B2 (en) 2005-01-28 2008-01-29 Nec Corporation Data encoding apparatus, data decoding apparatus and data encoding/decoding system
JP2011109361A (en) * 2009-11-17 2011-06-02 Fujitsu Ltd Data encoding program, data decoding program, and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7324022B2 (en) 2005-01-28 2008-01-29 Nec Corporation Data encoding apparatus, data decoding apparatus and data encoding/decoding system
JP2011109361A (en) * 2009-11-17 2011-06-02 Fujitsu Ltd Data encoding program, data decoding program, and method

Similar Documents

Publication Publication Date Title
US4887162A (en) Facsimile machine having retransmission function
JPH10271342A (en) Binary image encoding method
JPH1098623A (en) Binary image encoding method
JPS6351429B2 (en)
JP3159811B2 (en) Demodulator
KR0128667B1 (en) Mh code decoding device
JPH04313960A (en) Picture data transmitter and picture data receiver
JP2653490B2 (en) Image data encoding / decoding method and facsimile apparatus
JP3376095B2 (en) Image communication device
JP3429944B2 (en) Facsimile machine
JPH03210822A (en) Coding/decoding method
JP2641883B2 (en) Image communication device
US5398116A (en) Image communication apparatus
JP2537346B2 (en) Facsimile machine
JP2568254B2 (en) Data communication device
JPH0690361A (en) Encoding/decoding method
JPH0773325B2 (en) Facsimile communication method
JPH03210823A (en) Coding/decoding method
JPH0797805B2 (en) Equipment
JPH0215779A (en) Facsimile equipment
JPS63237665A (en) Image communication device
JPH01141434A (en) data communication equipment
JPH10178533A (en) Data transmission method for facsimile machine
JPH06296229A (en) Fax machine
JPH02134980A (en) Device for thinning stored facsimile code

Legal Events

Date Code Title Description
A977 Report on retrieval

Effective date: 20050523

Free format text: JAPANESE INTERMEDIATE CODE: A971007

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050531

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050801

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050830