JPH08163369A - Facsimile equipment - Google Patents

Facsimile equipment

Info

Publication number
JPH08163369A
JPH08163369A JP6295283A JP29528394A JPH08163369A JP H08163369 A JPH08163369 A JP H08163369A JP 6295283 A JP6295283 A JP 6295283A JP 29528394 A JP29528394 A JP 29528394A JP H08163369 A JPH08163369 A JP H08163369A
Authority
JP
Japan
Prior art keywords
data
information
image data
buffer memory
jbig
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
JP6295283A
Other languages
Japanese (ja)
Inventor
Masaru Saruwatari
賢 猿渡
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP6295283A priority Critical patent/JPH08163369A/en
Publication of JPH08163369A publication Critical patent/JPH08163369A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE: To shorten the time required for decoding or picture data encoded to the JBIG code. CONSTITUTION: At the time or reception at code data in the JBIG encoding system, data is written in a buffer memory 11 and is written in a buffer memory 12; and when data is written up to the position of the 8th byte in the buffer memory 12, data in the buffer memory no is encoded. When the mast of data appears thereafter, information in a determined position from the last is taken as information of the subscanning length, and the decoding processing is executed based on this information.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、JBIG符号化方式を
用いた画像データの通信を行なうファクシミリ装置に関
するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a facsimile machine for communicating image data using the JBIG encoding system.

【0002】[0002]

【従来の技術】JBIG(Joint bi-level Image Group)
符号化方式が、ITU−Tによって勧告化(T.82)
され、ファクシミリによる画像の送受信にも有効である
ことから、いくつかのメーカーでは、この符号化方式に
従って画像の符号化、復号化を行なう回路や、当該回路
を搭載したファクシミリ装置の開発を進めている。
2. Description of the Related Art JBIG (Joint bi-level Image Group)
Encoding system recommended by ITU-T (T.82)
Since it is also effective for transmitting and receiving images by facsimile, some manufacturers are promoting the development of circuits for encoding and decoding images according to this encoding method, and facsimile machines equipped with such circuits. There is.

【0003】JBIG符号化方式によるデータの構造
は、1ページ毎にパラメータ部であるBIHと、画像デ
ータPSCDを含むBIDから構成される。上記の符号
化方式を用いてファクシミリで送信を行なう場合、BI
H、あるいはBIDの中のPSCDの前に、NEWLE
Nマーカコードにてページの副走査長を入れなければな
らない。ここで、ファクシミリのダイレクト送信機能に
着目したとき、送信側では、画像の読取りを終了するま
では副走査長を知ることはできない。すなわち、PSC
Dの前に副走査長の情報を持たせることは不可能であ
る。
The data structure according to the JBIG encoding system is composed of BIH which is a parameter portion for each page and BID which includes image data PSCD. When transmitting by facsimile using the above encoding method, BI
In front of H or PSCD in BID, NEWLE
The sub-scan length of the page must be entered with the N marker code. Here, when focusing on the direct transmission function of the facsimile, the transmission side cannot know the sub-scan length until the reading of the image is completed. That is, PSC
It is impossible to carry sub-scan length information before D.

【0004】そこで、NEWLENマーカコードをPS
CDの後に配置することによって、画像データの後に副
走査長を伝えることができるよう勧告の変更がなされ
た。
Therefore, the NEWLEN marker code is PS
The recommendation was changed so that the sub-scan length can be transmitted after the image data by placing the CD after the CD.

【0005】しかし、現存するいくつかのJBIG符号
化方式による符号化、復号化を行なう回路は、上記の変
更に対応していないため、PSCDの後にNEWLEN
マーカコードが存在するデータを受け取った場合には、
上記従来の回路のみの処理では、正常に復号化を行なう
ことができない。
However, some existing circuits for encoding and decoding according to the JBIG encoding method do not support the above-mentioned changes, and therefore NEWLEN is added after PSCD.
If you receive data with marker code,
Decoding cannot be normally performed by the above-described conventional processing only by the circuit.

【0006】また、従来のファクシミリ装置では、受信
したデータの中に取り出さなければならない情報が存在
し、この情報が受信データの中で出現する位置について
未知である場合には、受信データを、初めからこの情報
が出現するまで全て調べている。
Further, in the conventional facsimile apparatus, if there is information to be extracted in the received data and it is unknown about the position where this information appears in the received data, the received data will be treated first. I'm investigating all this until the appearance of this information.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、上記従
来の方法では、JBIG符号化方式により、NEWLE
NマーカコードがPSCDの後に付加されたときの受信
を行なう場合には、必要とする副走査長の情報が受信デ
ータの後端部分に含まれ、かつ、副走査長は、受信デー
タの最後端から一定の位置に置かれることが決められて
おり、受信データを初めから全て調べることは、処理時
間を無駄に消費してしまうことになる、という問題があ
る。
However, in the above-mentioned conventional method, NEWWLE is used by the JBIG encoding method.
When reception is performed when the N marker code is added after PSCD, the required sub-scan length information is included in the trailing end portion of the received data, and the sub-scan length is the trailing end of the received data. Since it is decided to be placed in a fixed position from the above, there is a problem that checking all the received data from the beginning consumes processing time unnecessarily.

【0008】本発明は、上述の課題に鑑みてなされたも
ので、その目的とするところは、副走査長の情報の取り
出しを迅速に行ない、復号化に要する時間を減少させる
ことのできるファクシミリ装置を提供することである。
The present invention has been made in view of the above-mentioned problems, and an object of the present invention is to provide a facsimile apparatus capable of quickly extracting sub-scan length information and reducing the time required for decoding. Is to provide.

【0009】[0009]

【課題を解決するための手段】及び[Means for Solving the Problems] and

【作用】上記の目的を達成するため、本発明は、JBI
G符号化された画像データの送受信を行なうファクシミ
リ装置において、受信画像データを蓄積する複数の格納
手段と、前記格納手段における前記画像データの書込み
量を検知する検知手段と、前記書込み量が所定量に達し
た場合、前記画像データの所定位置の情報を取り出す手
段と、前記情報を副走査長の情報として前記JBIG符
号化された画像データを復号化する復号化手段とを備え
る。
In order to achieve the above object, the present invention provides a JBI.
In a facsimile device that transmits and receives G-encoded image data, a plurality of storage means for accumulating received image data, a detection means for detecting the writing amount of the image data in the storage means, and the writing amount being a predetermined amount. When it reaches, the information processing apparatus further comprises means for taking out information at a predetermined position of the image data, and decoding means for decoding the JBIG-coded image data by using the information as information about a sub-scanning length.

【0010】以上の構成において、JBIG方式の復号
化に要する時間を短くするよう機能する。
In the above configuration, it functions to shorten the time required for JBIG decoding.

【0011】[0011]

【実施例】以下、添付図面を参照して、本発明に係る好
適な実施例を詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

【0012】図1は、本発明の実施例に係るファクシミ
リ装置の構成を示すブロック図である。同図において、
符号1は、本装置全体の制御を、例えば、CPU(中央
制御部)によって行なう制御部、2は、画像を読み込む
ためのスキャナ、3は、スキャナ2の制御を行なうスキ
ャナ制御部、4は、画像を印刷、出力するプリンタ、5
は、プリンタ4の制御を行なうプリンタ制御部である。
FIG. 1 is a block diagram showing the configuration of a facsimile apparatus according to an embodiment of the present invention. In the figure,
Reference numeral 1 is a control unit that controls the entire apparatus by, for example, a CPU (central control unit), 2 is a scanner for reading an image, 3 is a scanner control unit that controls the scanner 2, and 4 is a scanner control unit. Printers that print and output images, 5
Is a printer control unit that controls the printer 4.

【0013】また、符号6は、JBIG符号化方式に従
って画像の符号化、復号化を行なうJBIG回路、7
は、オペレータが操作を行なう操作部、8は、種々の情
報を表示する表示部、9は、所定のプログラムを格納す
るためのプログラムメモリ、10は、制御データ等のデ
ータを記憶させるデータメモリ、11,12は、受信し
たデータをデータメモリ10に渡す前に、一時的に蓄積
を行なうバッファメモリ1,2、13は、回線15を収
容し、本装置における通信を司る通信制御部、そして、
14は、上記の各構成要素を電気的に相互に接続するバ
スである。
Reference numeral 6 is a JBIG circuit for encoding and decoding an image according to the JBIG encoding method, 7
Is an operating unit operated by an operator, 8 is a display unit for displaying various information, 9 is a program memory for storing a predetermined program, 10 is a data memory for storing data such as control data, Buffer memories 1, 2 and 13 for temporarily storing the received data before passing the received data to the data memory 10 accommodate a line 15 and a communication control unit for controlling communication in the present device, and
Reference numeral 14 is a bus that electrically connects the above-described components to each other.

【0014】次に、上記構成をとる、本実施例に係るフ
ァクシミリ装置の動作について説明する。
Next, the operation of the facsimile apparatus according to this embodiment having the above configuration will be described.

【0015】図2,図3,図4は、本実施例に係るファ
クシミリ装置におけるデータ処理制御手順(シーケン
ス)を示すフローチャートである。
2, 3 and 4 are flow charts showing a data processing control procedure (sequence) in the facsimile apparatus according to the present embodiment.

【0016】まず、図2において、本ファクシミリ装置
に着信があると(ステップS201)、受信処理を行な
う(ステップS202)。そして、次に、受信したデー
タがJBIG符号化方式による符号データであるかどう
かを調べる(ステップS203)。
First, in FIG. 2, when an incoming call is received by the facsimile apparatus (step S201), a receiving process is performed (step S202). Then, it is checked whether or not the received data is coded data according to the JBIG coding method (step S203).

【0017】上記のステップS203で、受信したデー
タがJBIGデータではないと判断されれば、従来の公
知の出力処理を行なう(ステップS204)。しかし、
受信したデータがJBIGデータであるならば、受信デ
ータのBIH内、もしくはPSCDの前に、NEWLE
Nマーカコードにて副走査長が示されているかどうかを
調べる(ステップS205)。そして、上記の位置に副
走査長が存在すれば、通常のデータ転送によってJBI
G回路6にデータを渡し(ステップS206)、復号化
処理を行なって(ステップS207)、そのデータを出
力する(ステップS208)。
If it is determined in the above step S203 that the received data is not JBIG data, a conventionally known output process is performed (step S204). But,
If the received data is JBIG data, NEWLE in the BIH of the received data or before PSCD
It is checked whether or not the sub-scan length is indicated by the N marker code (step S205). Then, if the sub-scan length exists at the above position, JBI can be performed by normal data transfer.
The data is passed to the G circuit 6 (step S206), a decoding process is performed (step S207), and the data is output (step S208).

【0018】一方、受信データのBIH内、もしくはP
SCDの前にNEWLENマーカコードに副走査長がな
ければ、以下の処理を行なう。
On the other hand, in the BIH of the received data, or P
If the NEWLEN marker code has no sub-scan length before SCD, the following processing is performed.

【0019】すなわち、通常のデータ転送と同様、バッ
ファメモリ1(11)に画像データを書き込み(図3の
ステップS301)、続くステップS302で、データ
の終了を判断する。そして、このバッファが満杯(FU
LL)になると(ステップS303での判定がYe
s)、バッファメモリ2(12)に画像データを書き込
む(ステップS304)。
That is, like the normal data transfer, the image data is written in the buffer memory 1 (11) (step S301 in FIG. 3), and the end of the data is determined in the following step S302. And this buffer is full (FU
LL) (Yes in the determination in step S303)
s), the image data is written in the buffer memory 2 (12) (step S304).

【0020】このように、バッファメモリ2(12)に
データの書込みを行ない、ステップS305でデータの
未終了が判定された場合、データを8バイト書き込んだ
時点で(ステップS306でYes)、バッファメモリ
1(11)のデータを、JBIGにて復号化を行なうJ
BIG回路6に渡す(ステップS307)。そして、ス
テップS309で、バッファメモリ2(12)をバッフ
ァメモリ1(11)とし、処理をステップS301に戻
して、上記の一連の書込み処理を繰り返す。
In this way, when the data is written in the buffer memory 2 (12) and it is determined in step S305 that the data is not yet completed, the data is written in 8 bytes (Yes in step S306). J that decrypts the data of 1 (11) with JBIG
It is passed to the BIG circuit 6 (step S307). Then, in step S309, the buffer memory 2 (12) is set to the buffer memory 1 (11), the process is returned to step S301, and the series of writing processes described above is repeated.

【0021】上記の処理において、バッファメモリ1
(11)及びバッファメモリ2(12)にデータを書き
込み中、1ページのデータが終了した場合(ステップS
302,S305でYes)、これらのバッファメモリ
に書き込まれたデータの後端部8バイトを取り出す(図
4のステップS401)。そして、取り出したデータか
ら、NEWLENマーカコードで示される副走査長を取
り出し、それを終端コード(SDNORM/SDRS
T)+副走査長という形に変換し(ステップS40
2)、変換後のデータを、改めてバッファメモリのデー
タ後端部に書き加える(ステップS403)。
In the above processing, the buffer memory 1
(11) and while writing data to the buffer memory 2 (12), when one page of data is completed (step S
302, Yes in S305), the rear end 8 bytes of the data written in these buffer memories are taken out (step S401 in FIG. 4). Then, the sub-scanning length indicated by the NEWLEN marker code is extracted from the extracted data, and it is used as the end code (SDNORM / SDRS
(T) + sub-scan length (step S40
2) Then, the converted data is newly added to the data rear end of the buffer memory (step S403).

【0022】その後、通常の処理と同様に復号化処理
(ステップS404)、出力処理(ステップS405)
を行なう。
Thereafter, the decoding process (step S404) and the output process (step S405) are performed as in the normal process.
Perform

【0023】図5は、上記の画像データの処理の流れを
簡潔に示すもので、同図を参照すると、通信制御部13
を介して、受信した画像データがバッファメモリ1(1
1)及びバッファメモリ2(12)に書き込まれ、バッ
ファメモリ2(12)にデータが8バイト書き込まれた
時点で、バッファメモリ1(11)内のデータがJBI
G回路6に渡される様子が分かる。
FIG. 5 briefly shows the flow of processing of the above-mentioned image data. Referring to FIG. 5, the communication control unit 13
Image data received via the buffer memory 1 (1
1) and the buffer memory 2 (12) are written, and at the time when 8 bytes of data are written in the buffer memory 2 (12), the data in the buffer memory 1 (11) is JBI.
You can see how it is passed to the G circuit 6.

【0024】以上説明したように、本実施例によれば、
JBIG符号化方式による符号データを受信した場合、
バッファメモリ1にデータが書き込まれ、さらにバッフ
ァメモリ2にデータを書き込んで、バッファメモリ2
の、ある決められた位置までデータ書き込みを行なった
時点で、バッファメモリ1のデータを符号化し、その
後、データの最後端が現われた時点で、最後端から決め
られた位置にある情報を取り出すことで、受信データを
初めから全て調べることなしに、副走査長の情報を取り
出すことができ、復号化にかかる時間を減少できる。
As described above, according to this embodiment,
When the coded data according to the JBIG encoding method is received,
Data is written in the buffer memory 1, data is further written in the buffer memory 2, and
Of the buffer memory 1 is encoded at the time when the data is written to a predetermined position, and then, at the time when the last end of the data appears, the information at the predetermined position is extracted from the last end. Thus, the information of the sub-scan length can be taken out without checking all the received data from the beginning, and the time required for decoding can be reduced.

【0025】なお、上記実施例においては、バッファメ
モリ2への書込みデータ量を8バイトとしているが、8
バイトに限定されるものではない。すなわち、取り出す
情報が8バイトであるとき、最低8バイトの書込みが必
要であるが、送信側で余分なデータが付加される場合も
有り得るため、8バイトより多い情報としても、上記実
施例と同様の効果を得ることができる。
In the above embodiment, the write data amount to the buffer memory 2 is 8 bytes.
It is not limited to bytes. That is, when the information to be extracted is 8 bytes, at least 8 bytes must be written. However, extra data may be added on the transmitting side. Therefore, even if the information has more than 8 bytes, it is the same as the above embodiment. The effect of can be obtained.

【0026】また、上記実施例では、JBIG符号化方
式においてPSCDの後にNEWLENマーカコードが
付加された場合について説明したが、NEWLENマー
カコードの検出に限定するものではない。例えば、新規
のマーカコードで副走査長が指定される場合にも適用可
能であり、副走査長が2バイト固定で設定される場合に
も適用可能である。
In the above embodiment, the case where the NEWLEN marker code is added after the PSCD in the JBIG encoding method has been described, but the invention is not limited to the detection of the NEWLEN marker code. For example, it is also applicable when the sub-scan length is specified by a new marker code, and also when the sub-scan length is fixed at 2 bytes.

【0027】本発明は、複数の機器から構成されるシス
テムに適用しても、1つの機器から成る装置に適用して
も良い。また、本発明は、システムあるいは装置にプロ
グラムを供給することによって達成される場合にも適用
できることは言うまでもない。
The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device. Further, it goes without saying that the present invention can be applied to the case where it is achieved by supplying a program to a system or an apparatus.

【0028】[0028]

【発明の効果】以上説明したように、本発明によれば、
受信画像データの終端部分から所定位置にある情報をも
とに、当該受信画像データの復号化処理を行なうこと
で、復号化に要する処理速度を早めることができる。
As described above, according to the present invention,
By performing the decoding process of the received image data based on the information located at the predetermined position from the end portion of the received image data, the processing speed required for the decoding can be increased.

【0029】[0029]

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

【図1】本発明の実施例に係るファクシミリ装置の全体
構成を示すブロック図である。
FIG. 1 is a block diagram showing an overall configuration of a facsimile apparatus according to an embodiment of the present invention.

【図2】実施例に係るファクシミリ装置におけるデータ
制御処理手順を示すフローチャートである。
FIG. 2 is a flowchart showing a data control processing procedure in the facsimile apparatus according to the embodiment.

【図3】実施例に係るファクシミリ装置におけるデータ
制御処理手順を示すフローチャートである。
FIG. 3 is a flowchart showing a data control processing procedure in the facsimile apparatus according to the embodiment.

【図4】実施例に係るファクシミリ装置におけるデータ
制御処理手順を示すフローチャートである。
FIG. 4 is a flowchart showing a data control processing procedure in the facsimile apparatus according to the embodiment.

【図5】実施例に係る装置での画像データの流れを示す
図である。
FIG. 5 is a diagram showing a flow of image data in the apparatus according to the embodiment.

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

1 制御部 2 スキャナ 3 スキャナ制御部 4 プリンタ 5 プリンタ制御部 6 JBIG回路 7 操作部 8 表示部 9 プログラムメモリ 10 データメモリ 11 バッファメモリ1 12 バッファメモリ2 13 通信制御部 14 バス 15 回線 1 Control Section 2 Scanner 3 Scanner Control Section 4 Printer 5 Printer Control Section 6 JBIG Circuit 7 Operation Section 8 Display Section 9 Program Memory 10 Data Memory 11 Buffer Memory 1 12 Buffer Memory 2 13 Communication Control Section 14 Bus 15 Lines

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 JBIG符号化された画像データの送受
信を行なうファクシミリ装置において、 受信画像データを蓄積する複数の格納手段と、 前記格納手段における前記画像データの書込み量を検知
する検知手段と、 前記書込み量が所定量に達した場合、前記画像データの
所定位置の情報を取り出す手段と、 前記情報を副走査長の情報として前記JBIG符号化さ
れた画像データを復号化する復号化手段とを備えること
を特徴とするファクシミリ装置。
1. A facsimile apparatus for transmitting and receiving JBIG-encoded image data, a plurality of storage means for accumulating received image data, a detection means for detecting a writing amount of the image data in the storage means, When the writing amount reaches a predetermined amount, a unit for extracting information at a predetermined position of the image data, and a decoding unit for decoding the JBIG-coded image data by using the information as information about a sub-scanning length are provided. A facsimile device characterized by the above.
【請求項2】 前記情報は、前記所定量の画像データの
最後端から、あらかじめ決められた位置にある情報であ
ることを特徴とする請求項1に記載のファクシミリ装
置。
2. The facsimile apparatus according to claim 1, wherein the information is information at a predetermined position from the end of the predetermined amount of image data.
【請求項3】 さらに、前記情報を前記復号化手段が処
理できる形式に変換する手段と、 前記変換後の情報を前記所定量の画像データの後端部に
付加する手段とを備えることを特徴とする請求項1に記
載のファクシミリ装置。
3. The apparatus further comprises means for converting the information into a format that can be processed by the decoding means, and means for adding the converted information to the rear end of the predetermined amount of image data. The facsimile apparatus according to claim 1.
【請求項4】 前記情報は固定長の情報であることを特
徴とする請求項1に記載のファクシミリ装置。
4. The facsimile apparatus according to claim 1, wherein the information is fixed length information.
【請求項5】 前記情報は可変長の情報であることを特
徴とする請求項1に記載のファクシミリ装置。
5. The facsimile apparatus according to claim 1, wherein the information is variable length information.
JP6295283A 1994-11-29 1994-11-29 Facsimile equipment Withdrawn JPH08163369A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6295283A JPH08163369A (en) 1994-11-29 1994-11-29 Facsimile equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6295283A JPH08163369A (en) 1994-11-29 1994-11-29 Facsimile equipment

Publications (1)

Publication Number Publication Date
JPH08163369A true JPH08163369A (en) 1996-06-21

Family

ID=17818603

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6295283A Withdrawn JPH08163369A (en) 1994-11-29 1994-11-29 Facsimile equipment

Country Status (1)

Country Link
JP (1) JPH08163369A (en)

Similar Documents

Publication Publication Date Title
JPS6242551B2 (en)
JPH08163369A (en) Facsimile equipment
JPS6180943A (en) Sending confirming system of facsimile
JP2844775B2 (en) Facsimile machine
KR100529321B1 (en) Method and apparatus controlling a monitor by a printer
JP3149294B2 (en) Facsimile machine
JP3129906B2 (en) Facsimile machine
JP3181787B2 (en) Image transmission method and apparatus
JP2790755B2 (en) Facsimile machine
JPH0646185A (en) Facsimile equipment
JPH10116162A (en) Image output device and its control method
JPH05328104A (en) Facsimile equipment
JPH11177735A (en) Facsimile equipment
JPH10224622A (en) Facsimile equipment
JPH0723200A (en) Communication control method
JPH08317190A (en) Facsimile equipment
JPH06225058A (en) Facsimile equipment
JPH08307645A (en) Facsimile equipment
JPH0795343A (en) Composite equipment
JPH05244397A (en) Information recorder
JPS6276860A (en) Picture communication equipment
JPH09270899A (en) Facsimile equipment
JPH0888764A (en) Facsimile equipment
JPH09321932A (en) Facsimile communication system and its method
JPH0983543A (en) Facsimile equipment

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: 20020205