JP3583804B2 - Image transmission device - Google Patents

Image transmission device Download PDF

Info

Publication number
JP3583804B2
JP3583804B2 JP09081994A JP9081994A JP3583804B2 JP 3583804 B2 JP3583804 B2 JP 3583804B2 JP 09081994 A JP09081994 A JP 09081994A JP 9081994 A JP9081994 A JP 9081994A JP 3583804 B2 JP3583804 B2 JP 3583804B2
Authority
JP
Japan
Prior art keywords
transmission
encoded data
image
encoding
code buffer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP09081994A
Other languages
Japanese (ja)
Other versions
JPH07297978A (en
Inventor
泰典 辻
久 松山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP09081994A priority Critical patent/JP3583804B2/en
Publication of JPH07297978A publication Critical patent/JPH07297978A/en
Application granted granted Critical
Publication of JP3583804B2 publication Critical patent/JP3583804B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Image Input (AREA)
  • Facsimiles In General (AREA)
  • Facsimile Transmission Control (AREA)

Description

【0001】
【産業上の利用分野】
本発明は、例えば、JBIG方式で採用されている算術符号等の符号化された画像送信装置に関するものである。
【0002】
【従来の技術】
従来、G3ファクシミリ等においてMH、MR、或いはMMR符号化方式で符号化したデータを送信する場合、回線上の伝送速度に比べて符号生成速度が高速なために原稿送信時は、原稿を読取りながらリアルタイムに符号化しながら送信を行なうという方法が一般的である。
【0003】
【発明が解決しようとする課題】
ところが、JBIG方式で採用されている算術符号化を行なった場合、優勢シンボルが連続する場合には、一定時間連続して符号が生成されない場合が存在し、符号化器からの生成符号データをそのまま送信すると通信プロトコル上で待ち時間が発生し、1ページ分の符号メモリを持った場合と比較して非常に長い通信時間がかかることになる。
【0004】
そこで、本発明は、JBIG方式で採用されている算術符号等で符号化されたデータを伝送する画像送信装置において、優勢シンボルが連続する場合においても、ページメモリを持たず、かつ、メモリ間通信に近い伝送時間とすることのできる画像送信装置の提供を課題とするものである。
【0005】
【課題を解決するための手段】
請求項1にかかる画像送信装置は、符号化手段により算術符号化された画像を通信路を介して伝送する画像送信装置において、数ライン分の算術符号によって符号化された画像の符号化データを蓄積する符号バッファと、前記符号化手段により符号化データが生成される際の符号化速度、及び前記画像を伝送する際の伝送速度に基づいて、通信開始時に必要な前記符号バッファ内の符号化データ量の閾値を設定する閾値設定手段と、前記符号バッファに格納された符号化データ量が前記閾値を超えたことを検出する閾値検出手段と、前記閾値検出手段からの信号により、送信開始信号を送出する制御手段と、前記送信開始信号により前記通信路を接続し、前記符号化データを送信する送信手段とを具備することを特徴とする。
【0006】
請求項2にかかる画像送信装置は、請求項1に記載の画像送信装置において、前記符号化手段は、JBIG方式に基づいて算術符号化することを特徴とする
【0007】
【作用】
請求項1においては、符号化速度、及び伝送速度によって通信開始時に必要な符号バッファ内の符号化データ量の閾値を設定しておく。そして、符号バッファに数ライン分の算術符号によって符号化された画像の符号化データを蓄積し、前記符号バッファに格納された符号化データ量が前記閾値を超えたことを検出すると、その検出信号により、送信開始信号を送出し、前記送信開始信号により通信路を選択し、前記符号化データを送信するものである。
【0008】
請求項2においては、請求項1に記載の画像送信装置において、前記符号化手段が、JBIG方式に基づいて算術符号化するものである。
【0009】
【実施例】
以下、本発明の画像送信装置の実施例を説明する。
【0010】
図1は本発明の一実施例のJBIG符号化方式を用いた画像送信装置のブロック図、図2は本発明の一実施例のJBIG符号化方式を用いた画像送信装置の制御プログラムのフローチャートである。
【0011】
図1においては、マイクロコンピュータからなる演算制御手段5は、システム全体の制御を行なうと共に、送信開始の生成符号量の閾値の演算を行なうものである。原稿読取手段7は原稿の左上端より順次走査することにより1ラインづつ原稿を読取るものであり、通常のスキャナーである。なお、本実施例では原稿読取手段7としてスキャナーを接続した事例で説明するが、本発明を実施する場合には、画像を出力する手段であればよい。ラインバッファ6は原稿読取手段7の出力を順次ライン単位で格納できるものであり、数ライン分のイメージデータを格納できるものである。JBIG符号化手段3は演算制御手段5からの符号化開始信号により、JBIG符号化方式で符号データを生成する符号化器である。
【0012】
JBIG符号化手段3は、符号バッファ1にJBIG符号化方式で符号化した符号化データを1バイト生成する毎に書込み、アドレス制御手段4にアドレスインクリメント信号を送出する。アドレス制御手段4は、JBIG符号化手段3が符号バッファ1へ符号化データを書込むためのアドレスの発生手段であり、JBIG符号化手段3からのアドレスインクリメント信号毎に、アドレスをインクリメントする。閾値検出手段2はアドレス制御手段4のアドレスを常に監視することにより符号バッファ1内に生成された符号化データ量を検出し、また、演算制御手段5で符号化データの蓄積量の閾値を設定され、その閾値を超えたとき、演算制御手段5にその信号を出力する。
【0013】
送信手段8は、演算制御手段5からの送信スタート信号の検出により、通信すべき相手先に電話回線、光ファイバ等の有線、光通信、電波等の無線の通信路9を接続し、符号バッファ1より符号化データを読出して送信を行なう。
【0014】
更に、要部構成について説明する。
【0015】
JBIG符号化手段3は、演算制御手段5からの符号化開始信号により、JBIG符号化方式で符号データを生成する符号化器であり、符号化データが1バイト生成される毎に、符号バッファ1に符号化データを書込みアドレス制御手段4にアドレスインクリメント信号を送出する。アドレス制御手段4は、JBIG符号化手段3が符号バッファ1へ符号化データを書込むためのアドレスを発生し、JBIG符号化手段3からのアドレスインクリメント信号によりアドレスをインクリメントする。
【0016】
ここで、JBIG符号化手段3の出力である符号化データは、一定時間間隔毎に生成されるものではないので、通信時間を短縮するためには、符号バッファ1に一定量の符号化データが格納されてから送信開始することが必要である。つまり、JBIG符号化手段3からの符号化データが一定間隔で出力されないとしても、例えば、1/10秒間で120バイトの符号化データ出力が保証されているとすれば、伝送速度より計算して1/10秒間伝送するための符号化データが符号バッファ1に蓄積された時点で通信を開始すれば、通常、符号生成速度が伝送時間に十分間に合うものであるから、通信中の符号化待ち時間が削除されることになる。
【0017】
演算制御手段5は、この送信開始のための生成符号量の閾値を、JBIG符号化手段3により符号化データが生成される際の符号化速度、及び通信路9の伝送速度より演算するものであり、前述のように、1/10秒間で120バイトの符号化データ出力が保証されているものとすれば、9600bpsの伝送速度では1/10秒間伝送するための符号化データ量は120バイト,4800bpsの伝送速度では2分の1の60バイトとなりこの伝送速度値に比例する符号化データ量を閾値として閾値検出手段2に与えるものである。本実施例では、伝送速度とその伝送速度に比例する閾値の符号化データ量をマップとして格納している。したがって、JBIG符号化手段3により符号化データが生成される際の符号化速度、及び送信手段8が接続された通信路9の伝送速度、或いは受信装置側の受信速度が決定されれば、これによって、閾値の符号化データ量が決定される。
【0018】
閾値検出手段2は、アドレス制御手段4のアドレスを常に監視することにより符号バッファ1内に生成された符号化データ量を検出する。そして、生成された符号化データ量と演算制御手段5から与えられた閾値を比較し、生成符号化データ量が閾値を越えると、閾値検出手段2は演算制御手段5に対して検出信号を送出する。前記閾値検出手段2の検出信号により、演算制御手段5は送信手段8に対して送信スタート信号を送出する。
【0019】
次に、各ブロックと演算制御手段5について、本実施例のJBIG符号化方式を用いた画像送信装置の動作を説明する。
【0020】
まず、送信者が送信すべき原稿を原稿読取手段7にセットし、それが図示しないセンサにより検出され(ステップS1)、図示しない操作パネルの操作により送信先番号、原稿濃淡、読取解像度等をセットし、スタートスイッチを押す(ステップS2)と、演算制御手段5はスタートスイッチが押されたことを検出して、原稿読取手段7に読取開始信号を送出する。
【0021】
原稿読取手段7は原稿の左上端より順次走査方式により1ラインづつ原稿を読取り、演算制御手段5からの読取開始信号により1ラインの画像データをラインバッファ6に書込む。このラインバッファ6は原稿読取手段7の出力を順次ライン単位で格納でき、数ライン分のイメージデータを格納できる。原稿読取手段7がラインバッファ6に1ラインの書込みが終了すると、演算制御手段5はラインバッファ6が一杯かどうかを検出し、一杯でなければ再び原稿読取手段7に読取開始信号を送出し、この動作をラインバッファ6が一杯になるまで繰返す。また、演算制御手段5はラインバッファ6に1ライン以上の画像データが存在すれば、JBIG符号化手段3に符号化開始信号を送出して、1ライン毎の画像データの符号化をスタートさせる。そして、符号化が終了するたびにラインバッファ6の画像データ量を検出し、1ライン以上の画像データが存在すれば再度JBIG符号化手段3に符号化開始信号を送出する。この動作を原稿読取りが終了するまで行なうものである(ステップS3乃至ステップS5)。
【0022】
JBIG符号化手段3は、演算制御手段5からの符号化開始信号により、JBIG符号化方式で符号データを生成し、符号化データが1バイト生成される毎に、符号バッファ1に符号化データを書込む。更に、ラインバッファ6に1ライン以上の画像データが存在すれば、JBIG符号化手段3に符号化信号を送出して、1ライン毎の画像データを符号化する(ステップS6乃至ステップS8)。
【0023】
この間、JBIG符号化手段3は1ライン毎の画像データの符号化をする毎に、アドレス制御手段4にアドレスインクリメント信号を送出し、アドレス制御手段4はJBIG符号化手段3が符号バッファ1へ符号化データを書込むためのアドレスをインクリメントする。したがって、閾値検出手段2では符号バッファ1に格納されている符号化データのアドレス差をみることにより、符号バッファ1に蓄積された符号化データ量を判定することができる。また、JBIG符号化手段3により符号化データが生成される際の符号化速度、及び通信路9の伝送速度は、既知であるから、その符号化速度、及び伝送速度で決定された閾値を閾値検出手段2に設定する(ステップS9)。そして、閾値検出手段2でその設定した閾値と現在の符号バッファ1に格納されている符号化データ量を比較して、符号化データ量が所定の閾値以上であるか判定する(ステップS10)。現在の符号バッファ1に格納されている符号化データ量を比較して、符号化データ量が所定の閾値以上であると判定したとき、演算制御手段5は送信手段8に対して送信スタート信号を送出する。これを受けて送信手段8は、前記送信スタート信号を受けることにより、通信すべき相手先に通信路9を接続し、符号バッファ1から符号化データを読出して送信を行なう。なお、符号化データ量が所定の閾値以上であると判定したとき、演算制御手段5は送信手段8に対して送信スタート信号を送出するが、既に、これを受けて送信手段8が送信を行なっているときには、重複して送信スタート信号を送出することがない(ステップS11及びステップS12)。そして、全符号化データの送信を終了するまで、この動作を継続する(ステップS13)。
【0024】
このように、原稿読取手段7により読取られたイメージデータはJBIG等の符号化手段3により符号化され、その符号化データは符号バッファ1に蓄積される。演算制御手段5はJBIG符号化手段3により符号化データが生成される際の符号化速度、及び通信路9の伝送速度から、通信開始時に必要な符号バッファ内の符号化データ量の閾値を演算し、それを閾値検出手段2に与える。閾値検出手段2が閾値量の符号化データが蓄積されたことを検出すると、演算制御手段5は送信手段8により回線を接続し、送信を開始する。このとき、既に符号バッファ1に符号化データが格納されているので、通信路9の接続後の符号化データ待ちによる無駄な通信路9の占有時間を省略できる。
【0025】
即ち、送信スタート信号を受けた送信手段8は、通信すべき相手先に回線を接続し、通信を開始するとき、既に符号バッファ1には一定量の符号データが格納されているので、回線接続後の符号データ待ちによる余計な通信時間を省略できる。また、符号バッファ1は原稿一枚分のイメージメモリ容量ほどの大きな容量を持つ必要もなく送信を行なうことが可能となる。
【0026】
このように、上記実施例の画像送信装置は、JBIG符号化方式を用いた算術符号化された画像を通信路9を介して伝送する画像送信装置において、数ライン分の算術符号によって符号化された画像の符号化データを蓄積する符号バッファ1と、JBIG符号化手段3により符号化データが生成される際の符号化速度、及び通信路9の伝送速度によって通信開始時に必要な前記符号バッファ1内の符号化データ量の閾値を設定するステップS9からなる閾値設定手段と、前記符号バッファ1に格納された符号化データ量が前記閾値を超えたことを検出する閾値検出手段2と、前記閾値検出手段2からの信号により、送信開始信号を送出する演算制御手段5と、前記送信開始信号により回線を接続し、前記符号化データを送信する送信手段8とを具備するものであり、これを請求項1の実施例とすることができる。
【0027】
したがって、原稿読取手段7により読取られたイメージデータ等の画像は、JBIG等で符号化され、その符号化データは符号バッファ1に蓄積される。演算制御手段5はJBIG符号化手段3により符号化データが生成される際の符号化速度、及び通信路9の伝送速度から、通信開始時に必要な符号バッファ1内のデータ量の閾値を演算し、それを閾値検出手段2に与える。閾値検出手段2が閾値量の符号化データが蓄積されたことを検出すると、演算制御手段5は送信手段8により通信路9を接続し、送信を開始する。このとき、既に符号バッファ1に符号化データが格納されているので、通信路の接続が完了すると、速やかに通信を行ない、通信路の接続が完了してから送信するデータを待つ時間を短縮できる。即ち、符号バッファ1に送信すべきデータが一定量格納されてから通信路の接続を行なっているので、符号化データの待ち時間を省略できる。また、特別に原稿一枚分のイメージメモリ程度の大きなメモリ容量をもつ必要がなく手段が簡素化される。
【0028】
上記実施例では、ステップS9からなる閾値設定手段は、JBIG符号化手段3により符号化データが生成される際の符号化速度、及び通信路9の伝送速度によって通信開始時に必要な前記符号バッファ1内の符号化データ量の閾値を設定するものであるが、伝送速度は通常規格化されていることから、装置の符号化速度が決定されれば、最高のメモリ容量が決定される。したがって、閾値を特定の値に定値化することができる。
【0029】
即ち、上記実施例のJBIG符号化方式を用いた算術符号化された画像を通信路9を介して伝送する画像送信装置は、JBIG方式で算術符号化するJBIG符号化手段3の出力を、JBIG符号化手段3により符号化データが生成される際の符号化速度、及び通信路9の伝送速度に応じて画像の符号化データを一時的に符号バッファ1に蓄積し、所定の蓄積量が得られた後、回線を接続し、前記符号化データを送信する構成とすることができ、これを請求項2の実施例とすることができる。
【0030】
したがって、符号化データは符号バッファ1に蓄積され、通信開始時に必要な符号バッファ1内の符号化データ量の閾値になったとき、演算制御手段5は送信手段8により通信路9を接続し、送信を開始する。このとき、既に符号バッファ1に符号データが格納されているので、通信路9の接続が完了すると、速やかに通信を行ない、通信路9の接続が完了してから送信するデータを待つ時間を短縮できる。故に、符号バッファ1に送信すべきデータが一定量格納されてから通信路9の接続を行なっているので、符号化データ待ち時間を省略できる。また、特別に原稿一枚分のイメージメモリ程度の大きなメモリ容量をもつ必要がなく手段が簡素化される。
【0031】
ところで、上記実施例の送信手段8から出力される通信路9は、本発明を実施する場合には、電話回線、光ファイバ等の有線、光通信、電波等の無線の何れを選択してもよい。
【0032】
また、上記実施例の符号化速度、及び伝送速度によって通信開始時に必要な前記符号バッファ1内の符号化データ量の閾値を設定するステップS9からなる閾値設定手段は、閾値検出手段2からの信号により、送信開始信号を送出する演算制御手段5に、その機能を持たせたものであるが、本発明を実施する場合には、閾値検出手段2に限らず、アドレス制御手段4、閾値検出手段2の機能も、演算制御手段5に持たせることができる。
【0033】
【発明の効果】
以上のように、請求項1の画像送信装置によれば、符号化されたデータは符号バッファに蓄積され、演算制御手段は符号化手段により符号化データが生成される際の符号化速度、及び通信路の伝送速度から、通信開始時に必要な符号バッファ内のデータ量の閾値を演算し、それを閾値検出手段に与える。閾値検出手段が閾値量の符号化データが蓄積されたことを検出すると、演算制御手段は送信手段により通信路を接続し、送信を開始する。このとき、既に符号バッファに符号化データが格納されているので、通信路の接続が完了すると、速やかに通信を行ない、通信路の接続が完了してから送信するデータを待つ時間を短縮できる。また、特別に原稿一枚分のイメージメモリ程度の大きなメモリ容量をもつ必要がない。
【0035】
請求項2の画像送信装置によれば、符号化データは符号バッファに蓄積され、通信開始時に必要な符号バッファ内の符号化データ量の閾値になったとき、通信路を接続し、送信を開始する。このとき、既に符号バッファに符号化データが格納されているので、通信路の接続が完了すると、速やかに通信を行ない、通信路の接続が完了してから送信するデータを待つ時間を短縮できる。故に、符号バッファに送信すべきデータが一定量格納されてから通信路の接続を行なっているので、符号化データの待ち時間を省略できる。
【図面の簡単な説明】
【図1】図1は本発明の一実施例のJBIG符号化方式を用いた画像送信装置のブロック図である。
【図2】図2は本発明の一実施例のJBIG符号化方式を用いた画像送信装置の制御プログラムのフローチャートである。
【符号の説明】
1 符号バッファ
2 閾値検出手段
3 JBIG符号化手段
4 アドレス制御手段
5 演算制御手段
6 ラインバッファ
7 原稿読取手段
8 送信手段
9 通信路
[0001]
[Industrial applications]
The present invention relates to a coded image transmitting apparatus such as an arithmetic code employed in the JBIG system.
[0002]
[Prior art]
Conventionally, when transmitting data encoded by the MH, MR, or MMR encoding method in a G3 facsimile or the like, since the code generation speed is higher than the transmission speed on the line, the original is read while the original is being transmitted. In general, a method of performing transmission while encoding in real time is used.
[0003]
[Problems to be solved by the invention]
However, when performing arithmetic coding is employed in JBIG method, when the MPS is continuous, there are cases where code is not generated continuously a certain time, the product encoded data from the encoder If the transmission is performed as it is, a waiting time occurs in the communication protocol, and it takes much longer communication time as compared with the case where the code memory for one page is provided.
[0004]
Therefore, the present invention provides an image transmitting apparatus for transmitting data encoded by an arithmetic code or the like employed in the JBIG system, in which a page memory is not provided even when dominant symbols are continuous, and communication between memories is not performed. It is an object of the present invention to provide an image transmitting apparatus that can achieve a transmission time close to the transmission time.
[0005]
[Means for Solving the Problems]
Image transmission apparatus according to claim 1, in the image transmission apparatus for transmitting through a communication path arithmetic coded image by encoding means, the encoded data of the encoded image by arithmetic codes for several lines Based on a code buffer to be stored, a coding speed when coded data is generated by the coding unit, and a transmission speed when transmitting the image, coding in the code buffer required at the start of communication is performed. A threshold setting unit for setting a threshold of the data amount; a threshold detection unit for detecting that the encoded data amount stored in the code buffer exceeds the threshold; and a transmission start signal based on a signal from the threshold detection unit. And transmission means for connecting the communication path by the transmission start signal and transmitting the encoded data.
[0006]
An image transmitting apparatus according to a second aspect is the image transmitting apparatus according to the first aspect, wherein the encoding unit performs arithmetic encoding based on a JBIG method .
[0007]
[Action]
According to the first aspect, a threshold value of the amount of encoded data in the code buffer required at the start of communication is set according to the encoding speed and the transmission speed. Then, the encoded data of the image encoded by the arithmetic code for several lines is accumulated in the encoded buffer, and when it is detected that the encoded data amount stored in the encoded buffer exceeds the threshold, a detection signal is output. To transmit a transmission start signal, select a communication path based on the transmission start signal, and transmit the encoded data.
[0008]
According to a second aspect, in the image transmitting apparatus according to the first aspect, the encoding unit performs arithmetic encoding based on a JBIG system.
[0009]
【Example】
Hereinafter, embodiments of the image transmitting apparatus according to the present invention will be described.
[0010]
FIG. 1 is a block diagram of an image transmitting apparatus using the JBIG coding method according to one embodiment of the present invention, and FIG. 2 is a flowchart of a control program of the image transmitting apparatus using the JBIG coding method according to one embodiment of the present invention. is there.
[0011]
In FIG. 1, a calculation control means 5 comprising a microcomputer controls the entire system and calculates a threshold value of a generated code amount at the start of transmission. The document reading means 7 reads a document line by line by sequentially scanning from the upper left end of the document, and is an ordinary scanner. In this embodiment, an example in which a scanner is connected as the document reading unit 7 will be described. However, when the present invention is implemented, any unit that outputs an image may be used. The line buffer 6 is capable of sequentially storing the output of the document reading means 7 in line units, and is capable of storing image data for several lines. JBIG coding means 3 by coding start signal from the arithmetic control unit 5, an encoder for generating an encoded data at JBIG coding method.
[0012]
The JBIG encoding means 3 writes the encoded data encoded by the JBIG encoding method into the code buffer 1 every time one byte is generated, and sends an address increment signal to the address control means 4. The address control unit 4 is a unit for generating an address for the JBIG encoding unit 3 to write encoded data into the code buffer 1, and increments the address for each address increment signal from the JBIG encoding unit 3. The threshold detector 2 detects the amount of encoded data generated in the code buffer 1 by constantly monitoring the address of the address controller 4, and sets a threshold for the amount of encoded data stored by the arithmetic controller 5. Then, when the threshold value is exceeded, the signal is output to the arithmetic and control unit 5.
[0013]
The transmission means 8 connects a wireless communication path 9 such as a telephone line, a wire such as an optical fiber, an optical communication, a radio wave or the like to a destination to be communicated, upon detection of a transmission start signal from the arithmetic control means 5, and a code buffer. Then, the encoded data is read out from 1 and transmitted.
[0014]
Further, the configuration of the main part will be described.
[0015]
JBIG coding means 3, the coding start signal from the arithmetic control unit 5, an encoder for generating encoded data by JBIG coding method, each time the encoded data is 1 byte generated code buffer 1 to write encoded data and send an address increment signal to the address control means 4. The address control means 4 generates an address for the JBIG encoding means 3 to write encoded data into the code buffer 1 and increments the address by an address increment signal from the JBIG encoding means 3.
[0016]
Here, the coded data output from the JBIG coding means 3 is not generated at regular time intervals, so that a fixed amount of coded data is stored in the code buffer 1 in order to shorten the communication time. It is necessary to start transmission after being stored. In other words, even if the encoded data from the JBIG encoding means 3 is not output at regular intervals, for example, if output of encoded data of 120 bytes is guaranteed in 1/10 second, calculation is performed based on the transmission rate. If the communication is started when the coded data to be transmitted for 1/10 second is accumulated in the code buffer 1, the code generation speed is usually sufficient for the transmission time. Will be deleted.
[0017]
The arithmetic control means 5 calculates the threshold value of the generated code amount for starting the transmission from the coding speed when the coded data is generated by the JBIG coding means 3 and the transmission speed of the communication path 9. As described above, assuming that output of encoded data of 120 bytes is guaranteed in 1/10 second, the amount of encoded data to be transmitted in 1/10 second at a transmission speed of 9600 bps is 120 bytes, At a transmission speed of 4800 bps, the data amount is halved to 60 bytes, and the amount of coded data proportional to this transmission speed value is given to the threshold value detecting means 2 as a threshold value. In this embodiment, the transmission rate and the encoded data amount of the threshold value proportional to the transmission rate are stored as a map. Therefore, if the encoding speed at which encoded data is generated by the JBIG encoding unit 3 and the transmission speed of the communication path 9 to which the transmission unit 8 is connected, or the reception speed of the receiving device, are determined, Determines the threshold encoded data amount.
[0018]
The threshold detector 2 detects the amount of encoded data generated in the code buffer 1 by constantly monitoring the address of the address controller 4. Then, the generated coded data amount is compared with a threshold value given from the operation control means 5, and when the generated coded data amount exceeds the threshold value, the threshold value detection means 2 sends a detection signal to the operation control means 5. I do. The arithmetic control unit 5 sends a transmission start signal to the transmission unit 8 according to the detection signal of the threshold value detection unit 2.
[0019]
Next, the operation of the image transmitting apparatus using the JBIG encoding method of the present embodiment for each block and the arithmetic control unit 5 will be described.
[0020]
First, the sender sets a document to be transmitted on the document reading means 7, which is detected by a sensor (not shown) (step S1), and sets a destination number, document density, reading resolution and the like by operating an operation panel (not shown). Then, when the start switch is pressed (step S2), the arithmetic and control unit 5 detects that the start switch has been pressed and sends a reading start signal to the document reading unit 7.
[0021]
The document reading means 7 reads the document one line at a time from the upper left end of the document by a sequential scanning method, and writes one line of image data into the line buffer 6 according to a reading start signal from the arithmetic control means 5. The line buffer 6 can sequentially store the output of the document reading means 7 in line units, and can store image data for several lines. When the original reading means 7 finishes writing one line in the line buffer 6, the arithmetic control means 5 detects whether the line buffer 6 is full, and if not, sends a read start signal to the original reading means 7 again. This operation is repeated until the line buffer 6 becomes full. If one or more lines of image data exist in the line buffer 6, the arithmetic control unit 5 sends an encoding start signal to the JBIG encoding unit 3 to start encoding the image data for each line. Then, every time the encoding is completed, the amount of image data in the line buffer 6 is detected, and if there is one or more lines of image data, an encoding start signal is sent to the JBIG encoding means 3 again. This operation is performed until the reading of the document is completed (steps S3 to S5).
[0022]
JBIG coding means 3, the coding start signal from the arithmetic control unit 5, and generating encoded data by JBIG coding method, each time the encoded data is 1 byte generated encoded data to the code buffer 1 Write. Further, if one or more lines of image data exist in the line buffer 6, an encoded signal is sent to the JBIG encoding means 3 to encode the image data for each line (steps S6 to S8).
[0023]
During this time, the JBIG encoding means 3 sends an address increment signal to the address control means 4 every time the image data for each line is encoded. The address for writing the coded data. Therefore, the threshold value detecting means 2 can determine the amount of coded data stored in the code buffer 1 by checking the address difference of the coded data stored in the code buffer 1. Also, since the encoding speed when the encoded data is generated by the JBIG encoding means 3 and the transmission speed of the communication path 9 are known, the threshold determined by the encoding speed and the transmission speed is set to the threshold. It is set in the detection means 2 (step S9). Then, the threshold value detector 2 compares the set threshold value with the current encoded data amount stored in the code buffer 1 to determine whether the encoded data amount is equal to or larger than a predetermined threshold value (step S10). Comparing the amount of encoded data currently stored in the code buffer 1 and determining that the amount of encoded data is equal to or greater than a predetermined threshold, the arithmetic control unit 5 sends a transmission start signal to the transmitting unit 8. Send out. Upon receiving the transmission start signal, the transmission means 8 connects the communication path 9 to the other party to be communicated, reads out the encoded data from the code buffer 1, and performs transmission. When it is determined that the encoded data amount is equal to or larger than the predetermined threshold value, the arithmetic control unit 5 sends a transmission start signal to the transmission unit 8, and the transmission unit 8 has already received the transmission start signal to perform transmission. In this case, the transmission start signal is not transmitted twice (steps S11 and S12). Then, this operation is continued until the transmission of all the encoded data is completed (step S13).
[0024]
As described above, the image data read by the document reading unit 7 is encoded by the encoding unit 3 such as JBIG, and the encoded data is stored in the code buffer 1. The arithmetic control unit 5 calculates a threshold value of the amount of encoded data in the code buffer required at the start of communication from the encoding speed when encoded data is generated by the JBIG encoding unit 3 and the transmission speed of the communication path 9. Then, it is given to the threshold detecting means 2. When the threshold detecting means 2 detects that the threshold amount of encoded data has been stored, the arithmetic control means 5 connects the line by the transmitting means 8 and starts transmission. At this time, since the encoded data has already been stored in the code buffer 1, it is possible to omit unnecessary occupation time of the communication path 9 due to waiting for the encoded data after the connection of the communication path 9.
[0025]
In other words, the transmission unit 8 which receives the transmission start signal, and connects the line to the other party to be communicated, when initiating communications already since the code buffer 1 is stored a certain amount of coded data, the line It can be omitted extra communication time by the coding data waiting after connection. Further, the code buffer 1 can perform transmission without having to have a capacity as large as an image memory capacity for one document.
[0026]
As described above, in the image transmitting apparatus of the above embodiment, the image transmitting apparatus that transmits the arithmetically coded image using the JBIG encoding method via the communication path 9 is coded by the arithmetic codes for several lines. A code buffer 1 for storing the encoded data of the decoded image , and a code buffer 1 required at the start of communication depending on the encoding speed when the encoded data is generated by the JBIG encoding means 3 and the transmission speed of the communication path 9. Threshold value setting means comprising a step S9 for setting a threshold value of the coded data amount within the threshold value; threshold value detection means 2 for detecting that the coded data amount stored in the code buffer 1 exceeds the threshold value; An arithmetic control unit 5 for transmitting a transmission start signal based on a signal from the detection unit 2; a transmission unit 8 for connecting a line by the transmission start signal and transmitting the encoded data; This can be regarded as the embodiment of the first aspect.
[0027]
Therefore, an image such as image data read by the document reading means 7 is encoded by JBIG or the like, and the encoded data is stored in the code buffer 1. The arithmetic control unit 5 calculates a threshold value of the amount of data in the code buffer 1 required at the start of communication from the encoding speed when encoded data is generated by the JBIG encoding unit 3 and the transmission speed of the communication path 9. Is given to the threshold detecting means 2. When the threshold detecting unit 2 detects that the encoded data of the threshold amount has been accumulated, the arithmetic control unit 5 connects the communication path 9 by the transmitting unit 8 and starts transmission. At this time, since the coded data is already stored in the code buffer 1, when the connection of the communication path is completed, the communication is quickly performed, and the time for waiting for data to be transmitted after the connection of the communication path is completed can be reduced. . That is, since the communication path is established after a predetermined amount of data to be transmitted is stored in the code buffer 1, the waiting time of the encoded data can be omitted. Further, there is no need to have a memory capacity as large as an image memory for one document, and the means is simplified.
[0028]
In the above-described embodiment, the threshold setting means consisting of step S9 is used to determine whether the code buffer 1 required at the start of communication depends on the encoding speed when encoded data is generated by the JBIG encoding means 3 and the transmission speed of the communication path 9. The threshold of the amount of encoded data is set in the above. Since the transmission speed is usually standardized, the maximum memory capacity is determined if the encoding speed of the device is determined. Therefore, the threshold value can be fixed to a specific value.
[0029]
That is, the image transmission apparatus for transmitting over the communication channel 9 arithmetic encoded image using the JBIG coding method of the above embodiment, the output of the JBIG coding means 3 for arithmetic coding in JBIG method, JBIG The coded data of the image is temporarily stored in the code buffer 1 according to the coding speed when the coded data is generated by the coding means 3 and the transmission speed of the communication path 9 , and a predetermined storage amount is obtained. After that, a line can be connected and the encoded data can be transmitted, and this can be the embodiment of claim 2.
[0030]
Therefore, the encoded data is accumulated in the code buffer 1 and when the required amount of encoded data in the code buffer 1 at the time of starting communication becomes a threshold value, the arithmetic control means 5 connects the communication path 9 by the transmission means 8, Start sending. At this time, since the coded data is already stored in the code buffer 1, when the connection of the communication path 9 has been completed, performs immediately communication, the time to wait for data to be transmitted from the connection channel 9 is completed Can be shortened. Therefore, since the connection of the communication path 9 is performed after a predetermined amount of data to be transmitted is stored in the code buffer 1, the waiting time of the encoded data can be omitted. Further, there is no need to have a memory capacity as large as an image memory for one document, and the means is simplified.
[0031]
By the way, the communication path 9 output from the transmission means 8 of the above embodiment may be any one of a telephone line, a wire such as an optical fiber, an optical communication, and a radio wave such as a radio wave when the present invention is implemented. Good.
[0032]
The threshold setting means consisting of step S9 for setting the threshold of the amount of coded data in the code buffer 1 required at the start of communication based on the coding speed and the transmission speed of the above embodiment is a signal from the threshold detecting means 2. Thus, the arithmetic control means 5 for transmitting the transmission start signal is provided with the function. However, in the case where the present invention is implemented, the present invention is not limited to the threshold detection means 2, but the address control means 4, the threshold detection means The operation control means 5 can also have the second function.
[0033]
【The invention's effect】
As described above, according to the image transmitting apparatus of claim 1 , the encoded data is accumulated in the code buffer, and the arithmetic control unit controls the encoding speed when the encoded data is generated by the encoding unit, and From the transmission speed of the communication path, a threshold value of the data amount in the code buffer required at the start of communication is calculated, and the calculated threshold value is provided to the threshold value detection means. When the threshold value detecting means detects that the encoded data of the threshold amount has been accumulated, the arithmetic control means connects the communication path by the transmitting means and starts transmission. At this time, since the coded data is already stored in the code buffer, when the connection of the communication path is completed, the communication is quickly performed, and the time for waiting for data to be transmitted after the connection of the communication path is completed can be reduced. Also, it is not necessary to have a particularly large memory capacity such as an image memory for one document.
[0035]
According to the image transmitting apparatus of the second aspect , the coded data is accumulated in the code buffer, and when the required amount of coded data in the code buffer is reached at the time of starting communication, a communication path is connected and transmission is started. I do. At this time, since the coded data is already stored in the code buffer, the communication is quickly performed when the connection of the communication path is completed, and the time for waiting for data to be transmitted after the connection of the communication path is completed can be reduced. Therefore, since the communication path is connected after a predetermined amount of data to be transmitted is stored in the code buffer, the waiting time of the coded data can be omitted.
[Brief description of the drawings]
FIG. 1 is a block diagram of an image transmitting apparatus using a JBIG encoding method according to an embodiment of the present invention.
FIG. 2 is a flowchart of a control program of the image transmitting apparatus using the JBIG encoding method according to one embodiment of the present invention.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Code buffer 2 Threshold detection means 3 JBIG coding means 4 Address control means 5 Operation control means 6 Line buffer 7 Original reading means 8 Transmission means 9 Communication path

Claims (2)

符号化手段により算術符号化された画像を通信路を介して伝送する画像送信装置において、
数ライン分の算術符号によって符号化された画像の符号化データを蓄積する符号バッファと、
前記符号化手段により符号化データが生成される際の符号化速度、及び前記画像を伝送する際の伝送速度に基づいて、通信開始時に必要な前記符号バッファ内の符号化データ量の閾値を設定する閾値設定手段と、
前記符号バッファに格納された符号化データ量が前記閾値を超えたことを検出する閾値検出手段と、
前記閾値検出手段からの信号により、送信開始信号を送出する制御手段と、
前記送信開始信号により前記通信路を接続し、前記符号化データを送信する送信手段とを具備することを特徴とする画像送信装置。
In an image transmitting apparatus that transmits an image arithmetically encoded by an encoding unit via a communication path,
A code buffer for storing encoded data of an image encoded by arithmetic codes for several lines,
Based on an encoding speed when encoded data is generated by the encoding unit and a transmission speed when transmitting the image, a threshold value of an encoded data amount in the code buffer required at the start of communication is set. Threshold setting means,
Threshold detection means for detecting that the amount of encoded data stored in the code buffer has exceeded the threshold,
Control means for transmitting a transmission start signal by a signal from the threshold value detection means,
An image transmission apparatus comprising: a transmission unit that connects the communication path by the transmission start signal and transmits the encoded data.
前記符号化手段は、JBIG方式に基づいて算術符号化することを特徴とする請求項1に記載の画像送信装置。 The apparatus according to claim 1, wherein the encoding unit performs arithmetic encoding based on a JBIG method .
JP09081994A 1994-04-28 1994-04-28 Image transmission device Expired - Fee Related JP3583804B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP09081994A JP3583804B2 (en) 1994-04-28 1994-04-28 Image transmission device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP09081994A JP3583804B2 (en) 1994-04-28 1994-04-28 Image transmission device

Publications (2)

Publication Number Publication Date
JPH07297978A JPH07297978A (en) 1995-11-10
JP3583804B2 true JP3583804B2 (en) 2004-11-04

Family

ID=14009210

Family Applications (1)

Application Number Title Priority Date Filing Date
JP09081994A Expired - Fee Related JP3583804B2 (en) 1994-04-28 1994-04-28 Image transmission device

Country Status (1)

Country Link
JP (1) JP3583804B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4979567B2 (en) * 2007-12-19 2012-07-18 株式会社リコー Data communication apparatus, data communication method, data communication program, and recording medium

Also Published As

Publication number Publication date
JPH07297978A (en) 1995-11-10

Similar Documents

Publication Publication Date Title
US4887162A (en) Facsimile machine having retransmission function
US5077742A (en) Error-corrected facsimile communication control system
US4841373A (en) Facsimile transmission control method in which a frame of stored image data is transmitted when either a predetermined time has elapsed or a predetermined amount of image data has been stored
JP2759657B2 (en) Reception control method of facsimile machine
US5946104A (en) Data communication apparatus for setting data transmission rate in accordance with communication processing ability
JPH0828820B2 (en) Image data coding circuit
JP3583804B2 (en) Image transmission device
JP2548285B2 (en) Image data transmission method
JPH08163338A (en) Image communication equipment
JPH01119176A (en) Data transmission system
US5416785A (en) Data communication apparatus having memory control in an error correction communication mode
JP2645954B2 (en) Facsimile machine
JP3289933B2 (en) Image transmission device
JP3908132B2 (en) Image communication device
KR0121153B1 (en) Data receiving method and device of a facsimile
US5748333A (en) Image communication apparatus having the function of ECM (error correction mode communication)
JP2604188B2 (en) Facsimile machine
JP3349894B2 (en) Control method for facsimile machine
JP2904350B2 (en) Facsimile machine
US6947183B1 (en) Facsimile mail box service subscriber apparatus and operating method thereof
JP3558718B2 (en) Facsimile machine
JPH0254710B2 (en)
JPH0923326A (en) Communication method for facsimile
JPH01245762A (en) Facsimile equipment
JPH04177972A (en) Facsimile communication system

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040713

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040730

LAPS Cancellation because of no payment of annual fees