JPH11275331A - Facsimile machine - Google Patents
Facsimile machineInfo
- Publication number
- JPH11275331A JPH11275331A JP10098432A JP9843298A JPH11275331A JP H11275331 A JPH11275331 A JP H11275331A JP 10098432 A JP10098432 A JP 10098432A JP 9843298 A JP9843298 A JP 9843298A JP H11275331 A JPH11275331 A JP H11275331A
- Authority
- JP
- Japan
- Prior art keywords
- image data
- data amount
- encoding
- data
- encoded
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Storing Facsimile Image Data (AREA)
- Compression Of Band Width Or Redundancy In Fax (AREA)
Abstract
(57)【要約】
【課題】本発明はメモリに画像データを蓄積する際に、
画像データを非圧縮とするか否かを速やかに判断し処理
時間を短縮するファクシミリ装置を提供する。
【解決手段】ファクシミリ装置は、画像データをSAF
に蓄積する際、DCRに符号化を継続するか否かの判断
時点を指定するチェックワード数Wを設定した後、ライ
ンバッファから画像データを順次DCRにワード単位で
転送して、DCRで順次ワード単位で符号化する。DC
Rは、転送ワード数がチェックワード数Wになると、当
該時点での符号化前ワード数Mと符号化後ワード数Nの
比(N/M)を算出して、比が「1」以上であるかチェ
ックする。DCRは、N/M≧1であると、CPUに割
り込みをかけてその旨を通知し、比が「1」未満である
と、1ライン分の画像データの符号化処理を終了した
後、CPUに割り込みをかけて、画像データの符号化処
理が終了した旨及びN/Mの算出結果を通知する。CP
Uは、符号化処理がN/M≧1終了であると、DCRを
非符号化モードで再スタートさせて、当該ラインの処理
を再処理させる。
(57) [Summary] The present invention provides a method for storing image data in a memory.
Provided is a facsimile apparatus which promptly determines whether or not image data is to be uncompressed and shortens processing time. A facsimile apparatus converts image data to SAF.
When storing in the DCR, after setting the number of check words W specifying the time point of determining whether to continue the encoding in the DCR, the image data is sequentially transferred from the line buffer to the DCR in word units, and the word data is sequentially stored in the DCR. Encode in units. DC
When the transfer word number becomes the check word number W, R calculates the ratio (N / M) of the pre-encoding word number M and the post-encoding word number N at that time, and when the ratio is “1” or more, Check if there is. If N / M ≧ 1, the DCR interrupts the CPU and notifies the CPU. If the ratio is less than “1”, the DCR terminates the encoding process for one line of image data, and To notify that the encoding process of the image data is completed and the calculation result of N / M. CP
When the encoding process is completed with N / M ≧ 1, the U restarts the DCR in the non-encoding mode, and reprocesses the line.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、ファクシミリ装置
に関し、詳細には、画像データを圧縮するか否かを適切
に判断して、処理時間を短縮するファクシミリ装置に関
する。[0001] 1. Field of the Invention [0002] The present invention relates to a facsimile apparatus, and more particularly, to a facsimile apparatus that appropriately determines whether or not image data is to be compressed and shortens processing time.
【0002】[0002]
【従来の技術】従来からファクシミリ装置においては、
原稿から読み取った画像データや受信画像データを画像
メモリ等の記憶手段に記憶するに際して、ITU−T勧
告T.4に示されているMH(Modified Huffman)方法
あるいはMR(Modufied Relative element address de
signate )方法等の画像符号化処理方法により符号化し
て、記憶手段の有効利用を図っている。2. Description of the Related Art Conventionally, in a facsimile machine,
When storing image data read from a document or received image data in a storage means such as an image memory, etc. MH (Modified Huffman) method or MR (Modufied Relative element address de
signate) method and the like, so that the storage means is effectively used.
【0003】ところが、上記符号化方法で画像データを
符号化すると、1ライン中の変化点が多い場合等におい
ては、符号化データのデータ量の方が符号化前の生の画
像データのデータ量よりも多くなり、かえって記憶手段
の利用効率が悪くなることがある。However, when image data is encoded by the above-described encoding method, when the number of change points in one line is large, the data amount of the encoded data is smaller than the data amount of the raw image data before encoding. And the use efficiency of the storage means may be reduced.
【0004】そこで、従来、1ラインの画像データの符
号化量に所定の閾値を設定して、1ライン毎に画像デー
タを符号化して、当該符号化量が当該設定した閾値を越
えると、当該ラインの符号化を中止して、当該ラインの
画像データを生データのまま、すなわち、非圧縮の状態
でメモリに格納するファクシミリ装置が提案されている
(特開平6−197189号公報等参照)。Therefore, conventionally, a predetermined threshold value is set for the coding amount of one line of image data, and image data is coded for each line. When the coding amount exceeds the set threshold value, There has been proposed a facsimile apparatus in which encoding of a line is stopped and the image data of the line is stored in a memory as raw data, that is, in an uncompressed state (see Japanese Patent Application Laid-Open No. 6-197189).
【0005】[0005]
【発明が解決しようとする課題】しかしながら、このよ
うな従来のファクシミリ装置にあっては、1ラインの画
像データを符号化して、当該符号化量が予め設定した閾
値を越えると、当該ラインの画像データを生データのま
まメモリに格納するようになっていたため、1ライン単
位に画像データを符号化して符号化データが所定の閾値
を越えるまで、当該ラインデータを符号化してメモリに
格納するのか、生データのまま格納するのかが判断され
ず、処理時間が長くかかり、ファクシミリ装置における
画像データの処理時間が長くかかるという問題があっ
た。However, in such a conventional facsimile apparatus, when one line of image data is encoded, and the amount of encoding exceeds a predetermined threshold, the image of the line is rejected. Since the data is stored in the memory as raw data, whether the line data is coded and stored in the memory until the coded data exceeds a predetermined threshold value by coding the image data in units of one line, It is not determined whether to store the raw data as it is, and it takes a long processing time, and there is a problem that the processing time of the image data in the facsimile apparatus takes a long time.
【0006】そこで、請求項1記載の発明は、画像デー
タを所定の符号化方式で符号化して、画像記憶手段に記
憶させる際、1ラインの画像データの符号化処理の途中
の所定の判断時点で当該ラインの当該判断時点までの符
号化画像データのデータ量が所定の閾値データ量に達し
たか否かを判断し、当該判断時点で符号化画像データの
データ量が閾値データ量に達していると、当該ラインを
非符号化処理して画像記憶手段に蓄積することにより、
符号化画像データのデータ量が閾値データ量に達してい
るかを、従来のように1ライン分の符号化処理が完了し
た時点で判断するよりも速い時点で判断して、画像デー
タを非符号化処理する際の処理時間を短縮し、画像デー
タの処理時間を短くすることのできるファクシミリ装置
を提供することを目的としている。Therefore, according to the first aspect of the present invention, when the image data is encoded by a predetermined encoding method and stored in the image storage means, a predetermined determination point in the middle of the encoding processing of one line of image data is performed. It is determined whether the data amount of the encoded image data of the line up to the determination time has reached a predetermined threshold data amount, and the data amount of the encoded image data has reached the threshold data amount at the determination time. In this case, the line is de-encoded and stored in the image storage unit,
It is determined whether the data amount of the encoded image data has reached the threshold data amount at a time earlier than when the encoding processing for one line is completed as in the related art, and the image data is non-encoded. It is an object of the present invention to provide a facsimile apparatus capable of shortening the processing time in processing and shortening the processing time of image data.
【0007】請求項2記載の発明は、符号化画像データ
のデータ量が閾値データ量に達したか否かを判断する判
断時点が入力手段から設定入力されると、当該入力手段
から設定入力された判断時点で、符号化画像データのデ
ータ量が閾値データ量に達したか否かを判断することに
より、画像データの種類等に応じて判断時点の自由度を
向上させて、画像データを非符号化処理する際の処理時
間をより一層短縮し、画像データの処理時間をより一層
短くすることのできるファクシミリ装置を提供すること
を目的としている。According to a second aspect of the present invention, when a judgment time point for judging whether or not the data amount of the encoded image data has reached the threshold data amount is set and input from the input means, the setting and input is performed from the input means. At the time of the determination, it is determined whether or not the data amount of the encoded image data has reached the threshold data amount, so that the degree of freedom at the time of the determination is improved in accordance with the type of the image data, etc. It is an object of the present invention to provide a facsimile apparatus which can further reduce the processing time for encoding processing and further reduce the processing time of image data.
【0008】請求項3記載の発明は、原稿の画像を読み
取って画像データを出力する読取手段による原稿の読取
モードを通常の2値読取モードと中間調読取モードとに
切り換える読取モード切換手段により読取モードが選択
されると、当該読取モードに応じて、符号化画像データ
のデータ量が閾値データ量に達したか否かを判断する判
断時点を変化させることにより、例えば、符号化画像デ
ータのデータ量の多くなる中間調読取モードにおいて
は、2値読取モードの場合よりも判断時点を早い時点に
自動的に設定して、画像データを非符号化処理する際の
処理時間をより一層短縮し、画像データの処理時間をよ
り一層短くするとともに、利用性の良好なファクシミリ
装置を提供することを目的としている。According to a third aspect of the present invention, a reading mode switching means for switching a reading mode of a document by a reading means for reading an image of the document and outputting image data between a normal binary reading mode and a halftone reading mode. When the mode is selected, by changing the determination time point for determining whether or not the data amount of the encoded image data has reached the threshold data amount according to the reading mode, for example, the data of the encoded image data is changed. In the halftone reading mode in which the amount is large, the judgment time is automatically set earlier than in the case of the binary reading mode, and the processing time when the image data is non-encoded is further reduced, It is an object of the present invention to provide a facsimile apparatus which can further shorten the processing time of image data and has good usability.
【0009】請求項4記載の発明は、符号化画像データ
のデータ量が閾値データ量に達したと連続して判断した
連続非符号化ライン数をカウントして、当該連続非符号
化ライン数に応じて、符号化画像データのデータ量が閾
値データ量に達したか否かを判断する判断時点を変化さ
せることにより、符号化画像データのデータ量が閾値デ
ータ量に達する可能性の大きい場合に、判断時点を早い
時点に自動的に設定して、画像データを非符号化処理す
る際の処理時間をより一層短縮し、画像データの処理時
間をより一層短くすることのできるファクシミリ装置を
提供することを目的としている。According to a fourth aspect of the present invention, the number of continuous non-coding lines that are continuously determined that the data amount of the coded image data has reached the threshold data amount is counted, and the number of continuous non-coding lines is counted. Accordingly, by changing the determination time point for determining whether the data amount of the encoded image data has reached the threshold data amount, it is possible to increase the possibility that the data amount of the encoded image data will reach the threshold data amount. A facsimile apparatus capable of automatically setting a determination time point to an earlier time point to further reduce the processing time when performing non-coding processing on image data and to further shorten the processing time for image data. It is intended to be.
【0010】[0010]
【課題を解決するための手段】請求項1記載の発明のフ
ァクシミリ装置は、画像データを所定の符号化方式で符
号化する符号化手段と、前記符号化手段で符号化された
画像データを蓄積する画像記憶手段と、前記符号化手段
で符号化された符号化画像データのデータ量が所定の閾
値データ量に達したか否かを判断するデータ量判断手段
と、前記符号化手段を制御して前記画像データを符号化
させるとともに、1ラインの前記画像データの前記符号
化手段による符号化処理の途中の所定の判断時点で当該
ラインの当該判断時点までの前記符号化画像データのデ
ータ量が前記閾値データ量に達したか否かを前記データ
量判断手段に判断させ、前記データ量判断手段が前記符
号化画像データのデータ量が前記閾値データ量に達した
と判断すると、前記符号化手段に当該ラインを非符号化
処理させて前記画像記憶手段に蓄積させる制御手段と、
を備えることにより、上記目的を達成している。According to a first aspect of the present invention, there is provided a facsimile apparatus which encodes image data by a predetermined encoding method, and stores the image data encoded by the encoding means. Controlling the encoding means, and a data amount determining means for determining whether a data amount of the encoded image data encoded by the encoding means has reached a predetermined threshold data amount. At the time of a predetermined determination in the middle of the encoding process of the one line of the image data by the encoding means, the data amount of the encoded image data up to the determination of the line is reduced. When the data amount determining unit determines that the data amount of the encoded image data has reached the threshold data amount, the data amount determining unit determines whether or not the threshold data amount has been reached. And control means for storing in the image storage means the line is processed uncoded the encoding means,
With the provision of the above, the above object is achieved.
【0011】上記構成によれば、画像データを所定の符
号化方式で符号化して、画像記憶手段に記憶させる際、
1ラインの画像データの符号化処理の途中の所定の判断
時点で当該ラインの当該判断時点までの符号化画像デー
タのデータ量が所定の閾値データ量に達したか否かを判
断し、当該判断時点で符号化画像データのデータ量が閾
値データ量に達していると、当該ラインを非符号化処理
して画像記憶手段に蓄積するので、符号化画像データの
データ量が閾値データ量に達しているかを、従来のよう
に1ライン分の符号化処理が完了した時点で判断するよ
りも速い時点で判断して、画像データを非符号化処理す
る際の処理時間を短縮することができ、画像データの処
理時間を短くすることができる。According to the above arrangement, when the image data is encoded by a predetermined encoding method and stored in the image storage means,
At a predetermined decision point in the middle of encoding processing of one line of image data, it is determined whether or not the data amount of the encoded image data of the line up to the decision point has reached a predetermined threshold data amount. If the data amount of the encoded image data has reached the threshold data amount at the time, the line is de-encoded and stored in the image storage means, so that the data amount of the encoded image data reaches the threshold data amount. Can be determined at a point earlier than when the encoding processing for one line is completed as in the related art, and the processing time when the image data is non-encoded can be reduced. Data processing time can be reduced.
【0012】この場合、例えば、請求項2に記載するよ
うに、前記ファクシミリ装置は、前記データ量判断手段
の前記判断時点を設定入力する入力手段を、さらに備
え、前記制御手段は、当該入力手段から設定入力された
前記判断時点で、前記データ量判断手段に前記符号化画
像データのデータ量が前記閾値データ量に達したか否か
を判断させるものであってもよい。In this case, for example, as set forth in claim 2, the facsimile apparatus further includes input means for setting and inputting the determination time point of the data amount determining means, and the control means includes the input means. And determining whether the data amount of the coded image data has reached the threshold data amount at the time of the determination input by the setting.
【0013】上記構成によれば、符号化画像データのデ
ータ量が閾値データ量に達したか否かを判断する判断時
点が入力手段から設定入力されると、当該入力手段から
設定入力された判断時点で、符号化画像データのデータ
量が閾値データ量に達したか否かを判断しているので、
画像データの種類等に応じて判断時点の自由度を向上さ
せて、画像データを非符号化処理する際の処理時間をよ
り一層短縮することができ、画像データの処理時間をよ
り一層短くすることができる。According to the above arrangement, when the judgment time for judging whether or not the data amount of the coded image data has reached the threshold data amount is set and input from the input means, the judgment set and input from the input means is performed. At this point, since it is determined whether the data amount of the encoded image data has reached the threshold data amount,
By improving the degree of freedom at the time of determination according to the type of image data, etc., it is possible to further reduce the processing time when performing non-coding processing on image data, and further shorten the processing time of image data. Can be.
【0014】また、例えば、請求項3に記載するよう
に、前記ファクシミリ装置は、原稿の画像を読み取って
画像データを出力する読取手段と、前記読取手段による
前記原稿の読取モードを通常の2値読取モードと中間調
読取モードとに切り換える読取モード切換手段と、をさ
らに備え、前記符号化手段は、前記読取手段の読み取っ
た前記原稿の画像データを符号化し、前記制御手段は、
前記読取モード切換手段により選択された読取モードに
応じて、前記データ量判断手段の前記判断時点を変化さ
せるものであってもよい。For example, as set forth in claim 3, the facsimile apparatus reads a document image and outputs image data, and sets the reading mode of the document by a normal binary mode. A reading mode switching unit that switches between a reading mode and a halftone reading mode, wherein the encoding unit encodes the image data of the document read by the reading unit, and the control unit includes:
The determination point of the data amount determining means may be changed according to the reading mode selected by the reading mode switching means.
【0015】上記構成によれば、原稿の画像を読み取っ
て画像データを出力する読取手段による原稿の読取モー
ドを通常の2値読取モードと中間調読取モードとに切り
換える読取モード切換手段により読取モードが選択され
ると、当該読取モードに応じて、符号化画像データのデ
ータ量が閾値データ量に達したか否かを判断する判断時
点を変化させるので、例えば、符号化画像データのデー
タ量の多くなる中間調読取モードにおいては、2値読取
モードの場合よりも判断時点を早い時点に自動的に設定
して、画像データを非符号化処理する際の処理時間をよ
り一層短縮することができ、画像データの処理時間をよ
り一層短くすることができるとともに、ファクシミリ装
置の利用性を向上させることができる。According to the above arrangement, the reading mode is switched by the reading mode switching means for switching the reading mode of the document by the reading means for reading the image of the document and outputting the image data between the normal binary reading mode and the halftone reading mode. When selected, the judgment time point for judging whether the data amount of the encoded image data has reached the threshold data amount is changed in accordance with the reading mode. For example, when the data amount of the encoded image data is large, In the halftone reading mode, the determination time is automatically set earlier than in the case of the binary reading mode, so that the processing time when the image data is non-encoded can be further reduced, The processing time of the image data can be further shortened, and the usability of the facsimile apparatus can be improved.
【0016】さらに、例えば、請求項4に記載するよう
に、前記制御手段は、前記データ量判断手段が前記符号
化画像データのデータ量が前記閾値データ量に達したと
連続して判断した連続非符号化ライン数をカウントし
て、当該連続非符号化ライン数に応じて、前記データ量
判断手段の前記判断時点を変化させるものであってもよ
い。Further, for example, as set forth in claim 4, the control means determines that the data amount determining means has continuously determined that the data amount of the encoded image data has reached the threshold data amount. The number of uncoded lines may be counted, and the determination point of the data amount determining means may be changed according to the number of consecutive uncoded lines.
【0017】上記構成によれば、符号化画像データのデ
ータ量が閾値データ量に達したと連続して判断した連続
非符号化ライン数をカウントして、当該連続非符号化ラ
イン数に応じて、符号化画像データのデータ量が閾値デ
ータ量に達したか否かを判断する判断時点を変化させる
ので、符号化画像データのデータ量が閾値データ量に達
する可能性の大きい場合に、判断時点を早い時点に自動
的に設定して、画像データを非符号化処理する際の処理
時間をより一層短縮することができ、画像データの処理
時間をより一層短くすることができる。According to the above configuration, the number of continuous non-coding lines that are continuously determined that the data amount of the coded image data has reached the threshold data amount is counted, and according to the number of continuous non-coding lines. Since the determination time for determining whether or not the data amount of the encoded image data has reached the threshold data amount is changed, when the data amount of the encoded image data is highly likely to reach the threshold data amount, the determination time Can be automatically set at an earlier point in time to further reduce the processing time when performing non-coding processing on image data, and further reduce the processing time for image data.
【0018】[0018]
【発明の実施の形態】以下、本発明の好適な実施の形態
を添付図面に基づいて詳細に説明する。なお、以下に述
べる実施の形態は、本発明の好適な実施の形態であるか
ら、技術的に好ましい種々の限定が付されているが、本
発明の範囲は、以下の説明において特に本発明を限定す
る旨の記載がない限り、これらの態様に限られるもので
はない。Preferred embodiments of the present invention will be described below in detail with reference to the accompanying drawings. It should be noted that the embodiments described below are preferred embodiments of the present invention, and therefore, various technically preferable limitations are added. However, the scope of the present invention is not limited to the following description. The embodiments are not limited to these embodiments unless otherwise specified.
【0019】図1及び図2は、本発明のファクシミリ装
置の一実施の形態を示す図であり、図1は、本発明のフ
ァクシミリ装置の一実施の形態を適用したファクシミリ
装置1の要部回路ブロック図である。FIGS. 1 and 2 show an embodiment of a facsimile apparatus according to the present invention. FIG. 1 shows a main circuit of a facsimile apparatus 1 to which an embodiment of the facsimile apparatus of the present invention is applied. It is a block diagram.
【0020】図1において、ファクシミリ装置1は、C
PU(Central Processing Unit )2、ROM(Read O
nly Memory)3、RAM(Random Access Memory)4、
DCR(符号化・復号化部)5、DMAC(Direct Mem
ory Access Controller :DMAコントローラ)6、プ
ロッタ7、オペポート8、スキャナ9、モデム10、N
CU(Network Control Unit)11及びSAF(Store
And Forward )12等を備えており、上記主要各部は、
バス13により接続されている。In FIG. 1, a facsimile machine 1 has a C
PU (Central Processing Unit) 2, ROM (Read O
nly Memory) 3, RAM (Random Access Memory) 4,
DCR (encoding / decoding unit) 5, DMAC (Direct Mem
ory Access Controller: DMA controller) 6, plotter 7, operation port 8, scanner 9, modem 10, N
CU (Network Control Unit) 11 and SAF (Store
And Forward) 12 etc., and the above main parts are
They are connected by a bus 13.
【0021】ROM3には、ファクシミリ装置1として
の基本制御処理プログラム及び後述する符号化制御処理
プログラム等の各種制御プログラムが格納されていると
ともに、これらの制御プログラムを実行するのに必要な
システムデータや各種データが格納されている。The ROM 3 stores various control programs such as a basic control processing program as the facsimile machine 1 and an encoding control processing program to be described later. The ROM 3 stores system data and data necessary for executing these control programs. Various data are stored.
【0022】RAM4は、CPU2のワークメモリとし
て利用されるとともに、画像データのラインバッファ等
としても利用される。The RAM 4 is used as a work memory for the CPU 2 and also as a line buffer for image data.
【0023】CPU(制御手段)2は、ROM3内のプ
ログラムに基づいてRAM4をワークメモリとして使用
しつつ、ファクシミリ装置1の各部を制御し、ファクシ
ミリ装置1としての基本処理を実行するとともに、後述
する符号化制御処理等の各種処理を実行する。The CPU (control means) 2 controls each part of the facsimile machine 1 while using the RAM 4 as a work memory based on a program in the ROM 3 to execute basic processing as the facsimile machine 1 and to be described later. Various processes such as an encoding control process are executed.
【0024】DCR5は、後述するスキャナ9で読み取
った原稿の画像データをSAF12に格納する際のメモ
リの有効利用を図るために、また、NCU11を介して
ファクシミリ通信を行う際の通信時間の短縮を図るため
に、画像データに対して上記MH方式、MR方式、MM
R符号化方式、あるいは、算術符号化方式等の種々の符
号化方式で符号化し、また、符号化された画像データを
復号化する。また、DCR5は、CPU2によりチェッ
クワード数Wが設定されると、転送されてくる画像デー
タのワード数が当該チェックワード数Wになった時点を
判断時点として、符号化された画像データのデータ量
(ワード数)が所定の閾値データ量(例えば、当該判断
時点までに転送されてきた画像データのワード数である
非符号化ワード数)に達しているか判断して、その判断
結果をCPU2に通知する。したがって、DCR5は、
符号化手段及びデータ量判断手段として機能する。The DCR 5 is used to effectively use a memory when storing image data of a document read by the scanner 9 described later in the SAF 12, and to shorten a communication time when performing facsimile communication via the NCU 11. In order to achieve this, the MH method, MR method, MM
Encoding is performed by various encoding methods such as an R encoding method or an arithmetic encoding method, and the encoded image data is decoded. When the number of check words W is set by the CPU 2, the DCR 5 determines the data amount of the encoded image data as a time when the number of words of the transferred image data reaches the number of check words W. It is determined whether or not (the number of words) has reached a predetermined threshold data amount (for example, the number of uncoded words which is the number of words of the image data transferred up to the time of the determination), and the determination result is notified to the CPU 2. I do. Therefore, DCR5 is
It functions as an encoding unit and a data amount determination unit.
【0025】DMAC6は、入出力装置とメモリ、ある
いはメモリ同士のデータの受け渡しを、CPU2を経由
せずに、直接行うDMA転送を制御し、例えば、RAM
4とSAF12との間やRAM4とスキャナ9との間の
DMA転送を制御して、データの処理速度を向上させて
いる。The DMAC 6 controls a DMA transfer that directly transfers data between the input / output device and the memory or between the memories without passing through the CPU 2.
DMA transfer between the RAM 4 and the SAF 12 and between the RAM 4 and the scanner 9 are controlled to improve the data processing speed.
【0026】プロッタ7は、例えば、サーマル素子を利
用したサーマル記録装置あるいは電子写真式記録装置等
が使用されており、受信した画像データやスキャナ9で
読み取った画像データに基づいて画像を記録紙に記録出
力する。As the plotter 7, for example, a thermal recording device using a thermal element or an electrophotographic recording device is used, and an image is formed on recording paper based on received image data and image data read by the scanner 9. Record and output.
【0027】オペポート(入力手段、読取モード切換手
段)8は、テンキーやスタートキー等の各種操作キーを
備えるとともに、ディスプレイ(例えば、液晶ディスプ
レイ)を備え、操作キーからは、送信操作等の各種命令
が入力され、ディスプレイには、操作キーから入力され
た命令内容やファクシミリ装置1からオペレータに通知
する各種情報が表示される。オペポート8からは、特
に、後述する符号化制御処理において、DCR5による
符号化後のワード数が符号化前のワード数になったかの
チェックを行う1ラインの途中の何ワード目であるかの
チェックワード数Wの入力操作、スキャナ9での原稿の
読み取りを単純2値で行うのか、誤差拡散法等の中間調
で行うのかの読取モードの入力操作等が行われる。An operation port (input means, reading mode switching means) 8 includes various operation keys such as a numeric keypad and a start key, and also includes a display (for example, a liquid crystal display). Is input, and on the display, the content of the command input from the operation keys and various information notified from the facsimile machine 1 to the operator are displayed. From the operation port 8, in particular, in an encoding control process to be described later, a check word indicating a word in the middle of one line for checking whether the number of words after encoding by the DCR 5 has become the number of words before encoding. An input operation of several W, an input operation of a reading mode of whether the reading of the original by the scanner 9 is performed in a simple binary or a halftone such as an error diffusion method are performed.
【0028】スキャナ(読取手段)9は、例えば、CC
D(Charge Coupled Device )を利用したイメージスキ
ャナ等が利用されており、一般に、ADF(自動原稿送
り装置)を備えている。ADFには、複数枚の原稿がセ
ットされ、ADFは、セットされた原稿を1枚ずつスキ
ャナ9の原稿読取位置に送給する。スキャナ9は、AD
Fから搬送されてきた原稿を走査し、原稿の画像を所定
の解像度で読み取る。The scanner (reading means) 9 is, for example, a CC
An image scanner using a D (Charge Coupled Device) or the like is used, and generally includes an ADF (Automatic Document Feeder). A plurality of documents are set on the ADF, and the ADF feeds the set documents one by one to a document reading position of the scanner 9. The scanner 9 is an AD
The document conveyed from F is scanned, and the image of the document is read at a predetermined resolution.
【0029】NCU11には、回線L、例えば、公衆電
話回線あるいは専用回線が接続されており、NCU11
は、回線Lからの発呼に対して自動着呼し、また、回線
Lへの自動発呼処理を行う。また、NCU11は、通信
制御部を内蔵しており、当該通信制御部により、相手フ
ァクシミリ装置との間でファクシミリ制御信号を交換
し、ファクシミリ通信手順を実行する。A line L, for example, a public telephone line or a dedicated line, is connected to the NCU 11.
Automatically receives an incoming call from the line L, and performs an automatic call processing to the line L. Also, the NCU 11 has a built-in communication control unit, and the facsimile control signal is exchanged with the other facsimile apparatus by the communication control unit to execute a facsimile communication procedure.
【0030】モデム10は、NCU11に接続されてお
り、CPU2の制御下で動作して、送信信号の変調及び
受信信号の復調を行う。The modem 10 is connected to the NCU 11 and operates under the control of the CPU 2 to modulate a transmission signal and demodulate a reception signal.
【0031】SAF(画像記憶手段)12は、ハードデ
ィスクあるいはRAM等で構成され、画像データをファ
イル単位で記憶するとともに、記憶している画像データ
を管理する管理データを記憶している。このSAF12
は、画像データをDCR5で符号化された符号化データ
の状態で、また、符号化されていない生データの状態で
記憶する。The SAF (image storage means) 12 is composed of a hard disk, a RAM, or the like, stores image data in file units, and stores management data for managing the stored image data. This SAF12
Stores image data in a state of encoded data encoded by DCR5 and in a state of raw data not encoded.
【0032】次に、本実施の形態の作用を説明する。フ
ァクシミリ装置1は、画像データをSAF12に格納す
るのにDCR5により画像データを符号化する際に、1
ラインの途中の予め設定されたチェックワード数Wのワ
ード目において、符号化後の画像データのデータ量(ワ
ード数)が符号化前の画像データのデータ量(ワード
数)以上となったかをチェックして、符号化処理を継続
するか、符号化処理を中止して、生の画像データをSA
F12に蓄積するかを制御するところにその特徴があ
る。Next, the operation of the present embodiment will be described. When the facsimile apparatus 1 encodes the image data by the DCR 5 to store the image data in the SAF 12, the facsimile apparatus 1
In the word of the preset check word number W in the middle of the line, it is checked whether the data amount (word number) of the encoded image data is equal to or larger than the data amount (word number) of the image data before encoding. Then, the encoding process is continued or the encoding process is stopped and the raw image data is
The feature lies in controlling whether the data is stored in F12.
【0033】すなわち、ファクシミリ装置1は、1ライ
ンのうちの何ワード目に、オペレータにより予め符号化
処理後のワード数が符号化処理前のワード数以上になっ
たかどうかをチェックさせる判断時点としてのチェック
ワード数Wがオペポート8から入力設定され、CPU2
は、当該チェックワード数Wが設定入力されると、設定
入力されたチェックワード数WをRAM4に格納する。In other words, the facsimile machine 1 determines at what word in one line the operator checks in advance whether the number of words after the encoding process is equal to or greater than the number of words before the encoding process. The number of check words W is input and set from the operation port 8, and the CPU 2
When the number W of check words is set and input, the number W of check words set and input is stored in the RAM 4.
【0034】例えば、画像データがB4幅であると、1
ラインのワード数は、「128」であるため、オペレー
タは、例えば、チェックワード数Wとして、「50」
(W=50)を設定入力する。For example, if the image data has a B4 width, 1
Since the number of words in the line is “128”, the operator sets the number of check words W to “50”, for example.
(W = 50) is set and input.
【0035】そして、ファクシミリ装置1は、画像デー
タをSAF12に蓄積する際、例えば、スキャナ9で読
み取った画像データをSAF12に蓄積する際、RAM
4のラインバッファに1ライン分の画像データを転送す
ると、RAM4のラインバッファから画像データをワー
ド単位でDCR5にDMA転送し、DCR5で所定の符
号化方式により符号化した後、符号化した画像データを
SAF12に蓄積するが、この符号化に際して、符号化
した画像データのデータ量が符号化前の画像データのデ
ータ量に達したかチェックし、達しているときには、当
該ラインの画像データを符号化することなく、SAF1
2に蓄積する。When the facsimile apparatus 1 stores image data in the SAF 12, for example, when storing image data read by the scanner 9 in the SAF 12,
When the image data for one line is transferred to the line buffer of No. 4, the image data is DMA-transferred from the line buffer of the RAM 4 to the DCR 5 in word units, coded by the DCR 5 according to a predetermined coding method, and then coded. Is stored in the SAF 12. At the time of this encoding, it is checked whether or not the data amount of the encoded image data has reached the data amount of the image data before the encoding. Without doing, SAF1
Store in 2.
【0036】すなわち、CPU2は、図2に示すよう
に、スキャナ9の読み取った画像データをSAF12に
蓄積する際、まず、スキャナ9の読み取った画像データ
を2値化して、RAM4のラインバッファに一旦格納し
(ステップS1)、1ライン分の画像データがラインバ
ッファに格納されたかチェックする(ステップS2)。
ステップS2で、1ライン分の画像データがRAM4の
ラインバッファに格納されると、CPU2は、DCR5
に判断時点としてのチェックワード数W(例えば、W=
50)を設定した後(ステップS3)、DCR5を起動
させて(ステップS4)、DMAC6の制御下で、RA
M4のラインバッファから画像データをDCR5にワー
ド単位で転送し、DCR5に順次画像データをワード単
位で符号化させる。DCR5で符号化の完了した画像デ
ータは、DMAC6の制御下でDCR5からSAF12
にDMA転送されて、SAF12に格納される。That is, as shown in FIG. 2, when accumulating the image data read by the scanner 9 in the SAF 12, the CPU 2 first binarizes the image data read by the scanner 9 and temporarily stores the image data in the line buffer of the RAM 4 as shown in FIG. It is stored (step S1), and it is checked whether image data for one line has been stored in the line buffer (step S2).
When the image data for one line is stored in the line buffer of the RAM 4 in step S2, the CPU 2
The number of check words W at the time of determination (for example, W =
After setting (50) (step S3), the DCR 5 is started (step S4), and the RA is controlled under the control of the DMAC 6.
The image data is transferred from the M4 line buffer to the DCR 5 in word units, and the DCR 5 sequentially encodes the image data in word units. The image data that has been encoded by the DCR 5 is transferred from the DCR 5 to the SAF 12 under the control of the DMAC 6.
Is DMA-transferred and stored in the SAF 12.
【0037】DCR5は、チェックワード数Wが設定さ
れて順次画像データがワード毎に転送されてくると、当
該転送されてくる画像データを所定の符号化方式で順次
符号化するとともに、転送されてきたワード数がチェッ
クワード数Wになったか、すなわち、判断時点になった
かチェックして、転送されてきたワード数がチェックワ
ード数Wになると、当該1ラインにおいて転送されてき
たワード数がチェックワード数Wになった時点での符号
化前の画像データのワード数(以下、符号化前ワード数
という。)を、Mとし、当該符号化前ワード数Mの画像
データを符号化した符号化後の画像データのワード数
(以下、符号化後ワード数という。)を、Nとしたと
き、比N/Mを算出して、当該比N/Mが「1」以上で
あるか(N/M≧1)チェックする。DCR5は、この
時点で、比N/Mが「1」以上(N/M≧1)である
と、CPU2に割り込みをかけて、符号化後ワード数が
符号化前ワード数以上になった旨を通知し、この時点
で、比N/Mが「1」未満(N/M<1)であると、符
号化処理を継続して、1ライン分の画像データの符号化
処理を終了すると、上記比N/Mを算出した後、CPU
2に割り込みをかけて、1ライン分の画像データの符号
化処理が終了した旨及び比N/Mの算出結果を通知す
る。例えば、チェックワード数Wとして「50」が設定
されており、転送されてきたワード数が「50」になる
と、DCR5は、比L=N/Mを算出し、このとき、符
号化後ワード数Nが「60」であると、L=N/M=
1.2≧1となるため、DCR5は、1ライン分の処理
を終了していなくても、CPU2に割り込みをかける。When the number of check words W is set and the image data is sequentially transferred for each word, the DCR 5 sequentially codes the transferred image data by a predetermined coding method and transfers the data. It is checked whether the number of transferred words has become the number of check words W, that is, whether or not it has reached the judgment point. When the number of transferred words becomes the number of check words W, the number of words transferred in the one line is checked word. The number of words of the image data before encoding at the time when the number W is reached (hereinafter, referred to as the number of words before encoding) is represented by M, When the number of words of the image data (hereinafter, referred to as the number of words after encoding) is N, the ratio N / M is calculated, and whether the ratio N / M is “1” or more (N / M ≧ 1) To Ekku. If the ratio N / M is “1” or more (N / M ≧ 1) at this time, the DCR 5 interrupts the CPU 2 and informs the CPU 2 that the number of words after encoding has become equal to or greater than the number of words before encoding. At this point, if the ratio N / M is less than “1” (N / M <1), the encoding process is continued, and the encoding process of one line of image data is completed. After calculating the ratio N / M, the CPU
Then, an interrupt is issued to notify that the encoding process of the image data for one line has been completed and the calculation result of the ratio N / M. For example, “50” is set as the number of check words W, and when the number of transferred words becomes “50”, the DCR 5 calculates a ratio L = N / M. When N is “60”, L = N / M =
Since 1.2 ≧ 1, the DCR 5 interrupts the CPU 2 even if the processing for one line has not been completed.
【0038】CPU2は、DCR5から割り込みが入る
かチェックし(ステップS5)、割り込みが入ると、D
CR5からの通知により、符号化後ワード数Nが符号化
前ワード数Mに達することなく終了したか(N/M<
1)、すなわち、正常終了か、あるいは、符号化後ワー
ド数Nが符号化前ワード数M以上になって終了したか
(N/M≧1終了か)を判別する(ステップS6)。The CPU 2 checks whether an interrupt is received from the DCR 5 (step S5).
According to the notification from CR5, whether the number of words after encoding N has not reached the number of words before encoding M or not (N / M <
1) That is, it is determined whether the processing has been completed normally or the processing has been completed (N / M ≧ 1) (step S6).
【0039】ステップS6で、正常終了すると、CPU
2は、1ページ分の画像データの符号化及びSAF12
への格納が完了したかチェックし(ステップS9)、1
ページ分の画像データの処理が完了していないときに
は、ステップS1に戻って、次の1ライン分の画像デー
タをRAM4のラインバッファに格納する処理から上記
同様に処理する。In step S6, when the processing is completed normally, the CPU
Reference numeral 2 denotes encoding of one page of image data and SAF12.
It is checked whether or not the storage in the storage has been completed (step S9).
If the processing of the image data for the page has not been completed, the process returns to step S1, and the same processing as described above starts from the processing for storing the image data for the next one line in the line buffer of the RAM 4.
【0040】ステップS6で、DCR5での符号化処理
がN/M≧1終了であると、CPU2は、DCR5を非
圧縮モード(非符号化モード)で再スタートさせて、当
該ラインの処理を非圧縮(非符号化)で再処理させ(ス
テップS7)、DCR5から割り込みが入るかチックす
る(ステップS8)。なお、DCR5での符号化処理が
N/M≧1終了で終了するのは、上述のように、転送さ
れてきたワード数がチェックワード数Wになったとき
に、N/M≧1となって終了するときと、転送されてき
たワード数がチェックワード数Wになったときには、N
/M<1であるが、1ライン全てを符号化したときに、
N/M≧1となって終了するときと、がある。In step S6, if the encoding process in the DCR 5 is completed with N / M ≧ 1, the CPU 2 restarts the DCR 5 in the non-compression mode (non-encoding mode), and the processing of the line is not performed. The data is reprocessed by compression (non-coding) (step S7), and an interruption or tick is received from the DCR 5 (step S8). It should be noted that the encoding process in DCR5 ends when N / M ≧ 1 ends, as described above, when the number of transferred words reaches the number of check words W, N / M ≧ 1. When the number of transferred words reaches the number of check words W, N
/ M <1, but when all one line is encoded,
There are times when N / M ≧ 1 and the process ends.
【0041】DCR5は、非圧縮モードにセットされて
再スタートが指示されると、当該ラインを符号化するこ
となく、処理した画像データをSAF12に転送し、1
ライン全ての処理を終了すると、CPU2に割り込みを
かける。When the DCR 5 is set to the non-compression mode and instructed to restart, the DCR 5 transfers the processed image data to the SAF 12 without encoding the line, and
When all the lines have been processed, the CPU 2 is interrupted.
【0042】CPU2は、DCR5から割り込みが入る
と、当該ラインの非符号化での処理が終了したと判断し
て、1ページ分の画像データの符号化及びSAF12へ
の格納が完了したかチェックし(ステップS9)、1ペ
ージ分の画像データの処理が完了していないときには、
ステップS1に戻って、次の1ライン分の画像データを
RAM4のラインバッファに格納する処理から上記同様
に処理する(ステップS1〜ステップS9)。When an interrupt is received from the DCR 5, the CPU 2 determines that the non-coding process of the line has been completed, and checks whether the coding of the image data for one page and the storage in the SAF 12 have been completed. (Step S9) When the processing of the image data for one page is not completed,
Returning to step S1, the process from storing the next one line of image data in the line buffer of the RAM 4 is performed in the same manner as described above (steps S1 to S9).
【0043】ステップS9で、1ページ分の処理を完了
すると、CPU2は、1ページ分の画像データのSAF
12への格納処理を終了する。なお、画像データが複数
ページあるときには、上記同様の処理を当該ページ分繰
り返し行う。When the processing for one page is completed in step S9, the CPU 2 sets the SAF of the image data for one page.
Then, the process of storing the data in the storage unit 12 is completed. When there are a plurality of pages of image data, the same processing as described above is repeated for the pages.
【0044】また、ファクシミリ装置1は、スキャナ9
での原稿の読取時に、原稿の読取精度が単純2値ではな
く、中間調がオペポート8で選択されると、CPU2
が、上記チェックワード数Wを、オペレータにより設定
されているチェックワード数Wの値よりも小さな値、例
えば、チェックワード数Wとして、「50」が設定され
ていると、例えば、「40」をDCR5にセットする。Further, the facsimile machine 1 has a scanner 9
When the original reading accuracy is not simple binary and the halftone is selected by the operation port 8 when reading the original by the
However, if the number of check words W is set to a value smaller than the value of the number of check words W set by the operator, for example, “50” is set as the number of check words W, for example, “40” is set. Set to DCR5.
【0045】したがって、DCR5は、転送されてくる
ワード数が、単純2値の場合よりも少ないワード数の時
点で、符号化後ワード数Nが符号化前ワード数M以上に
なったかチェックし、当該時点で符号化後ワード数Nが
符号化前ワード数M以上になっていると、CPU2に割
り込みをかけてその旨を通知する。Accordingly, the DCR 5 checks whether the number N of words after encoding has become equal to or greater than the number M of words before encoding when the number of words to be transferred is smaller than that in the simple binary case. If the number N of words after encoding is equal to or more than the number M of words before encoding at that time, the CPU 2 is notified of the fact by interrupting the CPU 2.
【0046】その結果、単純2値の場合よりも符号化後
のワード数Nが多くなる可能性の大きい中間調の場合
に、符号化後ワード数Nが符号化前ワード数M以上にな
ったかを速やかに判断することができ、処理時間を向上
させることができる。As a result, in the case of a halftone in which the number of words N after encoding is likely to be larger than that in the simple binary case, is the number N of words after encoding greater than the number M of words before encoding? Can be determined quickly, and the processing time can be improved.
【0047】さらに、符号化することなくSAF12に
蓄積するライン数が多くなると、チェックワード数Wの
値を小さく設定するようにしてもよい。すなわち、上記
図2の処理において、CPU2は、ステップS6で、D
CR5から割り込みが発生して、DCR5の処理が符号
化後ワード数Nが符号化前ワード数M以上になって終了
(N/M≧1終了)すると、RAM4を利用して、非符
号化処理で終了した連続非符号化ライン数をカウント
し、当該連続非符号化ライン数が、オペポート8の操作
で予め設定された所定のライン数になると、DCR5に
設定するチェックワード数Wを設定されたチェックワー
ド数Wよりも小さい値に設定する。例えば、オペポート
8の操作でチェックワード数Wとして、「50」が設定
されていると、CPU2は、連続非符号化ライン数が所
定のライン数になると、DCR5に設定するチェックワ
ード数Wとして、例えば、「30」を設定する。Further, when the number of lines stored in the SAF 12 without encoding increases, the value of the number of check words W may be set to a small value. That is, in the process of FIG. 2, the CPU 2 determines in step S6 that D
When an interrupt is generated from the CR5 and the processing of the DCR5 is completed after the number N of words after encoding becomes equal to or more than the number M of words before encoding (N / M ≧ 1 end), non-encoding processing is performed using the RAM4. The number of consecutive non-coded lines that have been completed in step is counted, and when the number of continuous non-coded lines reaches a predetermined number of lines preset by operating the operation port 8, the number of check words W set in the DCR 5 is set. It is set to a value smaller than the number of check words W. For example, if “50” is set as the number of check words W by operating the operation port 8, the CPU 2 sets the number of check words W to be set in the DCR 5 when the number of continuous non-coding lines reaches a predetermined number. For example, “30” is set.
【0048】したがって、DCR5は、非符号化ライン
が所定数連続すると、非符号化ラインが連続しない場合
よりも速い時点で、符号化後ワード数Nが符号化前ワー
ド数M以上になったかチェックし、当該時点で符号化後
ワード数Nが符号化前ワード数M以上になっていると、
CPU2に割り込みをかけてその旨を通知する。Therefore, the DCR 5 checks whether the number N of words after encoding has become equal to or more than the number M of words before encoding at a point in time when a predetermined number of non-coding lines continue, faster than when non-coding lines do not continue. Then, if the number N of words after encoding is equal to or greater than the number M of words before encoding at that time,
An interrupt is issued to the CPU 2 to notify that effect.
【0049】その結果、非符号化ラインが連続して、非
符号化ラインの発生する可能性の大きい場合に、符号化
後ワード数Nが符号化前ワード数M以上になったか否か
を速やかに判断することができ、処理時間を向上させる
ことができる。As a result, if the non-coded lines are consecutive and the possibility of the occurrence of the non-coded lines is large, it is immediately determined whether or not the number N of words after coding is equal to or more than the number M of words before coding. And the processing time can be improved.
【0050】このように、本実施の形態のファクシミリ
装置1によれば、画像データを所定の符号化方式で符号
化して、SAF12に記憶させる際、1ラインの画像デ
ータの符号化処理の途中の転送画像データのワード数が
チェックワード数Wになった時点を判断時点として当該
ラインの当該判断時点までの符号化画像データのデータ
量であるワード数が閾値データ量である元画像データの
ワード数に達したか否かを判断し、当該判断時点で符号
化画像データのデータ量が閾値データ量に達している
と、当該ラインを非符号化処理してSAF12に蓄積し
ている。As described above, according to the facsimile apparatus 1 of the present embodiment, when the image data is encoded by the predetermined encoding method and stored in the SAF 12, the image data of one line is in the middle of the encoding process. The time when the number of words of the transfer image data becomes the number of check words W is determined as the determination time, and the number of words of the original image data in which the number of words of the coded image data of the line up to the determination time is the threshold data amount Is determined, and if the data amount of the coded image data has reached the threshold data amount at the time of the determination, the line is subjected to non-coding processing and stored in the SAF 12.
【0051】したがって、符号化画像データのデータ量
が閾値データ量に達しているかを、従来のように1ライ
ン分の符号化処理が完了した時点で判断するよりも速い
時点で判断して、画像データを非符号化処理する際の処
理時間を短縮することができ、画像データの処理時間を
短くすることができる。Therefore, whether the data amount of the coded image data has reached the threshold data amount is determined at a time earlier than when the coding processing for one line is completed as in the related art. It is possible to reduce the processing time when performing non-coding processing on data, and to shorten the processing time for image data.
【0052】また、符号化画像データのデータ量が閾値
データ量に達したか否かを判断する判断時点がオペポー
ト8から設定入力されると、当該設定入力された判断時
点で、符号化画像データのデータ量が閾値データ量に達
したか否かを判断しているので、画像データの種類等に
応じて判断時点の自由度を向上させて、画像データを非
符号化処理する際の処理時間をより一層短縮することが
でき、画像データの処理時間をより一層短くすることが
できる。When a decision point for judging whether or not the data amount of the coded image data has reached the threshold data amount is set and input from the operation port 8, the coded image data is It is determined whether or not the data amount of the image data has reached the threshold data amount, so that the degree of freedom at the time of the determination is improved in accordance with the type of image data and the like, and the processing time for performing the non-coding processing of the image data is improved. Can be further reduced, and the processing time of the image data can be further reduced.
【0053】さらに、スキャナ9による原稿の読取モー
ドが、オペポート8により通常の2値読取モードと中間
調読取モードとに切り換えて選択されると、当該選択さ
れた読取モードに応じて、符号化画像データのデータ量
が閾値データ量に達したか否かを判断する判断時点を変
化させているので、例えば、符号化画像データのデータ
量の多くなる中間調読取モードにおいては、2値読取モ
ードの場合よりも判断時点を早い時点に自動的に設定し
て、画像データを非符号化処理する際の処理時間をより
一層短縮することができ、画像データの処理時間をより
一層短くすることができるとともに、ファクシミリ装置
1の利用性を向上させることができる。Further, when the reading mode of the original by the scanner 9 is switched and selected by the operation port 8 between the normal binary reading mode and the halftone reading mode, the encoded image is read in accordance with the selected reading mode. Since the determination time point for determining whether the data amount of the data has reached the threshold data amount is changed, for example, in the halftone reading mode in which the data amount of the encoded image data increases, the binary reading mode The judgment time is automatically set earlier than the case, and the processing time when the image data is non-encoded can be further reduced, and the processing time of the image data can be further reduced. At the same time, the usability of the facsimile machine 1 can be improved.
【0054】また、符号化画像データのデータ量が閾値
データ量に達したと連続して判断した連続非符号化ライ
ン数をカウントして、当該連続非符号化ライン数に応じ
て、符号化画像データのデータ量が閾値データ量に達し
たか否かを判断する判断時点を変化させているので、符
号化画像データのデータ量が閾値データ量に達する可能
性の大きい場合に、判断時点を早い時点に自動的に設定
して、画像データを非符号化処理する際の処理時間をよ
り一層短縮することができ、画像データの処理時間をよ
り一層短くすることができる。Also, the number of continuous non-coding lines that are continuously determined that the data amount of the coded image data has reached the threshold data amount is counted, and the coded image data is counted according to the number of continuous non-coding lines. Since the determination time point for determining whether the data amount of the data has reached the threshold data amount is changed, if the data amount of the encoded image data is likely to reach the threshold data amount, the determination time point is set earlier. By automatically setting the time point, the processing time when the image data is de-encoded can be further reduced, and the processing time of the image data can be further reduced.
【0055】以上、本発明者によってなされた発明を好
適な実施の形態に基づき具体的に説明したが、本発明は
上記のものに限定されるものではなく、その要旨を逸脱
しない範囲で種々変更可能であることはいうまでもな
い。Although the invention made by the inventor has been specifically described based on the preferred embodiments, the present invention is not limited to the above-described embodiment, and various modifications may be made without departing from the gist of the invention. It goes without saying that it is possible.
【0056】例えば、上記実施の形態においては、閾値
データ量として符号化前ワード数Mを採用し、符号化後
ワード数Nが符号化前ワード数M以上になると、当該ラ
インの画像データの符号化を中止して、非符号化の状態
で画像データをSAF12に蓄積しているが、閾値デー
タ量としては、符号化前ワード数に限るものではなく、
例えば、オペポート8から適宜設定されたデータ量であ
ってもよい。For example, in the above embodiment, the number M of words before encoding is adopted as the threshold data amount, and when the number N of words after encoding becomes equal to or more than the number M of words before encoding, the code of the image data of the line is rewritten. The coding is stopped, and the image data is stored in the SAF 12 in a non-coded state. However, the threshold data amount is not limited to the number of words before coding.
For example, the data amount may be appropriately set from the operation port 8.
【0057】[0057]
【発明の効果】請求項1記載の発明のファクシミリ装置
によれば、画像データを所定の符号化方式で符号化し
て、画像記憶手段に記憶させる際、1ラインの画像デー
タの符号化処理の途中の所定の判断時点で当該ラインの
当該判断時点までの符号化画像データのデータ量が所定
の閾値データ量に達したか否かを判断し、当該判断時点
で符号化画像データのデータ量が閾値データ量に達して
いると、当該ラインを非符号化処理して画像記憶手段に
蓄積するので、符号化画像データのデータ量が閾値デー
タ量に達しているかを、従来のように1ライン分の符号
化処理が完了した時点で判断するよりも速い時点で判断
して、画像データを非符号化処理する際の処理時間を短
縮することができ、画像データの処理時間を短くするこ
とができる。According to the facsimile apparatus of the first aspect of the present invention, when the image data is encoded by a predetermined encoding method and stored in the image storage means, during the encoding of one line of image data. It is determined whether or not the data amount of the encoded image data of the line up to the determination time has reached a predetermined threshold data amount at the predetermined determination time, and the data amount of the encoded image data If the data amount has been reached, the line is de-encoded and stored in the image storage means. Therefore, it is determined whether or not the data amount of the encoded image data has reached the threshold data amount as in the conventional case. The determination can be made at a point earlier than the determination at the time when the encoding processing is completed, and the processing time for performing the non-coding processing on the image data can be reduced, and the processing time for the image data can be reduced.
【0058】請求項2記載の発明のファクシミリ装置に
よれば、符号化画像データのデータ量が閾値データ量に
達したか否かを判断する判断時点が入力手段から設定入
力されると、当該入力手段から設定入力された判断時点
で、符号化画像データのデータ量が閾値データ量に達し
たか否かを判断しているので、画像データの種類等に応
じて判断時点の自由度を向上させて、画像データを非符
号化処理する際の処理時間をより一層短縮することがで
き、画像データの処理時間をより一層短くすることがで
きる。According to the facsimile apparatus of the second aspect of the present invention, when a judgment time point for judging whether or not the data amount of the coded image data has reached the threshold data amount is set and input from the input means, the input is performed. Since it is determined whether or not the data amount of the coded image data has reached the threshold data amount at the time of the determination input by setting from the means, the degree of freedom at the determination time is improved according to the type of image data and the like. As a result, the processing time for performing the non-coding processing on the image data can be further reduced, and the processing time for the image data can be further reduced.
【0059】請求項3記載の発明のファクシミリ装置に
よれば、原稿の画像を読み取って画像データを出力する
読取手段による原稿の読取モードを通常の2値読取モー
ドと中間調読取モードとに切り換える読取モード切換手
段により読取モードが選択されると、当該読取モードに
応じて、符号化画像データのデータ量が閾値データ量に
達したか否かを判断する判断時点を変化させるので、例
えば、符号化画像データのデータ量の多くなる中間調読
取モードにおいては、2値読取モードの場合よりも判断
時点を早い時点に自動的に設定して、画像データを非符
号化処理する際の処理時間をより一層短縮することがで
き、画像データの処理時間をより一層短くすることがで
きるとともに、ファクシミリ装置の利用性を向上させる
ことができる。According to the facsimile apparatus of the present invention, the reading means for reading the image of the original and outputting the image data switches the original reading mode between the normal binary reading mode and the halftone reading mode. When the reading mode is selected by the mode switching means, the determination time point for determining whether the data amount of the encoded image data has reached the threshold data amount is changed in accordance with the reading mode. In the halftone reading mode in which the data amount of the image data is large, the judgment time is automatically set earlier than in the binary reading mode, so that the processing time for performing the non-encoding processing on the image data is reduced. The processing time of image data can be further shortened, and the usability of the facsimile apparatus can be improved.
【0060】請求項4記載の発明のファクシミリ装置に
よれば、符号化画像データのデータ量が閾値データ量に
達したと連続して判断した連続非符号化ライン数をカウ
ントして、当該連続非符号化ライン数に応じて、符号化
画像データのデータ量が閾値データ量に達したか否かを
判断する判断時点を変化させるので、符号化画像データ
のデータ量が閾値データ量に達する可能性の大きい場合
に、判断時点を早い時点に自動的に設定して、画像デー
タを非符号化処理する際の処理時間をより一層短縮する
ことができ、画像データの処理時間をより一層短くする
ことができる。According to the facsimile apparatus of the present invention, the number of continuous non-coding lines which are determined to be continuous when the data amount of the coded image data has reached the threshold data amount is counted. Depending on the number of coding lines, the time point for determining whether the data amount of the coded image data has reached the threshold data amount is changed, so that the data amount of the coded image data may reach the threshold data amount. In the case where is large, the judgment time is automatically set to an earlier time, so that the processing time when the image data is uncoded can be further reduced, and the processing time of the image data can be further reduced. Can be.
【図1】本発明のファクシミリ装置の一実施の形態を適
用したファクシミリ装置の回路ブロック図。FIG. 1 is a circuit block diagram of a facsimile apparatus to which an embodiment of the facsimile apparatus of the present invention is applied.
【図2】図1のファクシミリ装置による符号化制御処理
を示すフローチャート。FIG. 2 is a flowchart showing an encoding control process by the facsimile apparatus of FIG. 1;
1 ファクシミリ装置 2 CPU 3 ROM 4 RAM 5 DCR 6 DMAC 7 プロッタ 8 オペポート 9 スキャナ 10 モデム 11 NCU 12 SAF 13 バス DESCRIPTION OF SYMBOLS 1 Facsimile machine 2 CPU 3 ROM 4 RAM 5 DCR 6 DMAC 7 Plotter 8 Operation port 9 Scanner 10 Modem 11 NCU 12 SAF 13 Bus
Claims (4)
る符号化手段と、前記符号化手段で符号化された画像デ
ータを蓄積する画像記憶手段と、前記符号化手段で符号
化された符号化画像データのデータ量が所定の閾値デー
タ量に達したか否かを判断するデータ量判断手段と、前
記符号化手段を制御して前記画像データを符号化させる
とともに、1ラインの前記画像データの前記符号化手段
による符号化処理の途中の所定の判断時点で当該ライン
の当該判断時点までの前記符号化画像データのデータ量
が前記閾値データ量に達したか否かを前記データ量判断
手段に判断させ、前記データ量判断手段が前記符号化画
像データのデータ量が前記閾値データ量に達したと判断
すると、前記符号化手段に当該ラインを非符号化処理さ
せて前記画像記憶手段に蓄積させる制御手段と、を備え
たことを特徴とするファクシミリ装置。An encoding means for encoding the image data by a predetermined encoding method; an image storage means for storing the image data encoded by the encoding means; and an image data encoded by the encoding means. A data amount determining unit for determining whether the data amount of the encoded image data has reached a predetermined threshold data amount; and controlling the encoding unit to encode the image data, At a predetermined point in time during the encoding process of the data by the encoding means, the data amount determination is made as to whether the data amount of the encoded image data of the line up to the determination point has reached the threshold data amount. When the data amount determination unit determines that the data amount of the encoded image data has reached the threshold data amount, the data amount determination unit causes the encoding unit to perform a non-encoding process on the line and store the image. Facsimile apparatus characterized by and a control means for storing the stage.
断手段の前記判断時点を設定入力する入力手段を、さら
に備え、前記制御手段は、当該入力手段から設定入力さ
れた前記判断時点で、前記データ量判断手段に前記符号
化画像データのデータ量が前記閾値データ量に達したか
否かを判断させることを特徴とする請求項1記載のファ
クシミリ装置。2. The facsimile machine further comprises input means for setting and inputting the judgment time of the data amount judging means, and the control means controls the data at the judgment time set and input from the input means. 2. A facsimile apparatus according to claim 1, wherein said amount judging means judges whether or not the data amount of said encoded image data has reached said threshold data amount.
み取って画像データを出力する読取手段と、前記読取手
段による前記原稿の読取モードを通常の2値読取モード
と中間調読取モードとに切り換える読取モード切換手段
と、をさらに備え、前記符号化手段は、前記読取手段の
読み取った前記原稿の画像データを符号化し、前記制御
手段は、前記読取モード切換手段により選択された読取
モードに応じて、前記データ量判断手段の前記判断時点
を変化させることを特徴とする請求項1または請求項2
記載のファクシミリ装置。3. The facsimile apparatus according to claim 1, wherein said facsimile apparatus reads a document image and outputs image data, and switches a reading mode of said document between a normal binary reading mode and a halftone reading mode. And a mode switching unit, wherein the encoding unit encodes the image data of the document read by the reading unit, and the control unit responds to a reading mode selected by the reading mode switching unit. 3. The method according to claim 1, wherein the determination time of the data amount determination unit is changed.
A facsimile machine as described.
前記符号化画像データのデータ量が前記閾値データ量に
達したと連続して判断した連続非符号化ライン数をカウ
ントして、当該連続非符号化ライン数に応じて、前記デ
ータ量判断手段の前記判断時点を変化させることを特徴
とする請求項1から請求項3のいずれかに記載のファク
シミリ装置。4. The control means counts the number of continuous non-coding lines continuously determined by the data amount determining means that the data amount of the coded image data has reached the threshold data amount, and 4. The facsimile apparatus according to claim 1, wherein said determination point of said data amount determination means is changed according to the number of continuous non-coding lines.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10098432A JPH11275331A (en) | 1998-03-25 | 1998-03-25 | Facsimile machine |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10098432A JPH11275331A (en) | 1998-03-25 | 1998-03-25 | Facsimile machine |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH11275331A true JPH11275331A (en) | 1999-10-08 |
Family
ID=14219651
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP10098432A Pending JPH11275331A (en) | 1998-03-25 | 1998-03-25 | Facsimile machine |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH11275331A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002152520A (en) * | 2000-11-07 | 2002-05-24 | Matsushita Electric Ind Co Ltd | Image coding apparatus and method |
-
1998
- 1998-03-25 JP JP10098432A patent/JPH11275331A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002152520A (en) * | 2000-11-07 | 2002-05-24 | Matsushita Electric Ind Co Ltd | Image coding apparatus and method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH06274605A (en) | Image processor | |
| JPS63276967A (en) | Transmission control system for digital facsimile equipment | |
| US5933247A (en) | Image communication apparatus capable of parallel processing of image storage and transmission | |
| JPH0828820B2 (en) | Image data coding circuit | |
| JPH11275331A (en) | Facsimile machine | |
| JP3734082B2 (en) | Image processing apparatus and image data storage method of image processing apparatus | |
| JP3270232B2 (en) | Data compression device | |
| KR0121153B1 (en) | Facsimile data receiving method and device | |
| JP4514994B2 (en) | Facsimile multifunction machine | |
| JP3085000B2 (en) | Communication terminal device with storage function | |
| JPH06152889A (en) | Picture processor | |
| JP3060450U (en) | Fax reception data processor | |
| JP3192248B2 (en) | Image signal encoding device | |
| JPH0836511A (en) | Data management device and method | |
| US6738521B2 (en) | Coding device and coding method | |
| JP2000138837A (en) | Image information processing device | |
| KR0154698B1 (en) | How do I save paper in my fax? | |
| JP2751826B2 (en) | Facsimile machine | |
| JP2006049998A (en) | Facsimile machine | |
| JP3617592B2 (en) | Facsimile apparatus and facsimile transmission control method | |
| JPH0637949A (en) | Fax machine | |
| JP4279887B2 (en) | Arithmetic coding apparatus, arithmetic coding method, and arithmetic decoding apparatus | |
| JPH06152811A (en) | Fax machine | |
| JPH06197189A (en) | Fax machine | |
| JP2002344710A (en) | Image storage device |