JPH05308531A - Facsimile equipment - Google Patents
Facsimile equipmentInfo
- Publication number
- JPH05308531A JPH05308531A JP4136331A JP13633192A JPH05308531A JP H05308531 A JPH05308531 A JP H05308531A JP 4136331 A JP4136331 A JP 4136331A JP 13633192 A JP13633192 A JP 13633192A JP H05308531 A JPH05308531 A JP H05308531A
- Authority
- JP
- Japan
- Prior art keywords
- encoding
- memory
- image
- coding
- page
- 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
- Compression Of Band Width Or Redundancy In Fax (AREA)
- Image Processing (AREA)
Abstract
(57)【要約】
【目的】 各種符号化方式の特徴を有効に活用して適切
な符号化を行うことができるファクシミリ装置を提供す
ることを目的とする。
【構成】 ファクシミリ装置の動作モードに応じて予め
決められた異なる符号化方式を用いて符号化を行うこと
により、例えばメモリ送信画像等の通信画像は、エラー
に対する影響の少ないMR符号化方式での蓄積を行い、
メモリコピー画像等の即時的な画像は、MR符号化方式
よりも圧縮効率のよいMMR符号化方式での蓄積を行
う。また、メモリ残量を検出して、残量が小さい場合に
圧縮効率のよいMMR符号化方式を選択する。さらに、
最適な符号化方式をユーザが選択できるようにする。
(57) [Abstract] [Purpose] It is an object of the present invention to provide a facsimile apparatus capable of performing appropriate encoding by effectively utilizing the characteristics of various encoding methods. By performing encoding using a different encoding method that is predetermined according to the operation mode of the facsimile apparatus, a communication image such as a memory transmission image can be encoded by an MR encoding method that has little influence on errors. Accumulation,
Immediate images such as memory copy images are stored using the MMR coding method, which has a higher compression efficiency than the MR coding method. In addition, the remaining memory amount is detected, and when the remaining amount is small, the MMR encoding method with good compression efficiency is selected. further,
Allow the user to select the optimal coding scheme.
Description
【0001】[0001]
【産業上の利用分野】本発明は、画像メモリを有するフ
ァクシミリ装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a facsimile machine having an image memory.
【0002】[0002]
【従来の技術】従来より、この種のファクシミリ装置で
は、メモリ送信やメモリコピー等のために画像データを
画像メモリに蓄積する場合、常に同一の符号化方式を用
いて符号化を行っていた。例えば、メモリ送信画像もメ
モリコピー画像も、MR符号化方式(パラメータK=
8)により符号化を行い蓄積するといった具合である。2. Description of the Related Art Conventionally, in this type of facsimile apparatus, when image data is stored in an image memory for memory transmission or memory copying, the same encoding method is always used for encoding. For example, for both the memory transmission image and the memory copy image, the MR coding method (parameter K =
8) Encoding and storage are performed.
【0003】[0003]
【発明が解決しようとする課題】しかし、一般にMMR
符号化方式はMR符号化方式に比べるとデータの圧縮率
はいいが、画像メモリのビット欠陥等によるエラーに対
する影響が大きい。However, in general, MMR is used.
The encoding method has a better data compression rate than the MR encoding method, but has a great influence on an error due to a bit defect of the image memory.
【0004】したがって、MR符号化方式のみの蓄積で
はビット欠陥等によるエラーに対する影響は少ないが、
最初から画像メモリが少容量である場合や、メモリ送信
予約等により画像メモリを使用し蓄積に使用可能な画像
メモリの容量が残り少ない場合などには、メモリオーバ
ーとなりやすいという欠点があった。Therefore, the accumulation of only the MR coding system has little effect on errors due to bit defects and the like,
When the image memory has a small capacity from the beginning, or when the image memory is used due to a memory transmission reservation and the available image memory has a small remaining capacity, there is a drawback that the memory is easily overrun.
【0005】一方、MMR符号化方式のみの蓄積では、
メモリオーバーとなる可能性はMR符号化方式よりも低
いが、例えば長年月の使用によってビット欠陥等が生じ
た場合のエラーによる影響が大きく、メモリ送信画像等
を蓄積する方法としては信頼性が低いという欠点があっ
た。On the other hand, in the storage of only the MMR coding system,
Although the possibility of memory over is lower than that of the MR encoding method, it is less reliable as a method of accumulating memory transmission images, etc., due to the large influence of errors when bit defects etc. occur due to long-term use. There was a drawback.
【0006】このため従来は、画像データを画像メモリ
に蓄積するに際し、常に同一の符号化方式を用いて符号
化を行うことから、動作モードによっては不適切な符号
化となってしまう問題がある。For this reason, conventionally, when the image data is stored in the image memory, the same encoding method is always used for encoding. Therefore, there is a problem that the encoding becomes improper depending on the operation mode. ..
【0007】本発明は、各符号化方式の特徴を有効に活
用して適切な符号化を行うことができるファクシミリ装
置を提供することを目的とする。It is an object of the present invention to provide a facsimile apparatus capable of performing proper encoding by effectively utilizing the characteristics of each encoding method.
【0008】[0008]
【課題を解決するための手段】本発明は、ファクシミリ
装置の動作モードに応じて予め決められた異なる符号化
方式を用いて符号化を行うことにより、例えば、メモリ
送信画像等の通信画像は、エラーに対する影響の少ない
MR符号化方式での蓄積を行い、メモリコピー画像等の
即時的な画像は、MR符号化方式よりも圧縮効率のよい
MMR符号化方式での蓄積を行う。SUMMARY OF THE INVENTION According to the present invention, a communication image such as a memory transmission image is transmitted by performing encoding using a different encoding method determined in advance according to an operation mode of a facsimile apparatus. Accumulation is performed by the MR encoding method that has less influence on errors, and an immediate image such as a memory copy image is accumulated by the MMR encoding method having a higher compression efficiency than the MR encoding method.
【0009】また、本発明は、画像データを画像メモリ
に蓄積する場合に、画像メモリの未使用容量と符号化切
換容量との比較により、例えば未使用容量のほうが大き
ければ、MR符号化方式を選択し、未使用容量のほうが
小さければ、MMR符号化方式を選択する。Further, according to the present invention, when the image data is stored in the image memory, the MR coding system is selected by comparing the unused capacity of the image memory with the coding switching capacity, for example, if the unused capacity is larger. If the unused capacity is smaller, the MMR coding method is selected.
【0010】さらに、本発明は、蓄積符号化設定手段に
よって設定された符号化方式を用いてユーザが最適な符
号化方式を選択できるようにする。Furthermore, the present invention enables the user to select the optimum coding method by using the coding method set by the storage coding setting means.
【0011】[0011]
【実施例】図1は、本発明のファクシミリ装置の第1実
施例を示すブロック図である。1 is a block diagram showing a first embodiment of a facsimile apparatus of the present invention.
【0012】主制御部1は、マイクロプロセッサ、プロ
グラムメモリ用ROM、ワークエリア用RAM等により
構成され、装置全体の動作を制御するものである。The main controller 1 is composed of a microprocessor, a ROM for program memory, a RAM for work area, etc., and controls the operation of the entire apparatus.
【0013】画像メモリ2は、D−RAM等により構成
され、符号化処理部8aにより符号化された画像データ
を蓄積するためのものである。The image memory 2 is composed of a D-RAM or the like, and is for accumulating the image data coded by the coding processing section 8a.
【0014】制御データ記憶メモリ3は、S−RAM等
により構成され、操作者が登録した設定値や装置の管理
データ等を格納するためのものである。The control data storage memory 3 is composed of an S-RAM or the like, and is for storing the set values registered by the operator, the management data of the apparatus, and the like.
【0015】通信制御部4は、モデム、NCU(網制御
装置)等により構成され、回線を通して相手通信装置と
の間で画情報等のやりとりを行うものである。The communication control unit 4 is composed of a modem, an NCU (network control unit) and the like, and exchanges image information and the like with a partner communication unit through a line.
【0016】操作部5は、キーボード等により構成さ
れ、操作者が各種入力を行うためのものである。The operation unit 5 is composed of a keyboard or the like, and is used by the operator to make various inputs.
【0017】表示部6は、LCD等により構成され、各
種表示を行うものである。The display section 6 is composed of an LCD or the like and performs various displays.
【0018】読取部7は、CCDイメージセンサ、原稿
搬送機構、画像処理デバイス等で構成され、原稿を光学
的に読み取って電気的な画像データに変換し、さらに補
正処理を施して高精細な画像データを出力するものであ
る。The reading unit 7 is composed of a CCD image sensor, a document feeding mechanism, an image processing device, etc., and optically reads a document, converts it into electrical image data, and further corrects it to obtain a high-definition image. It outputs data.
【0019】符号化処理部8aは、生の画像データを符
号化(MH、MR、MMR等)するものである。The encoding processing unit 8a is for encoding (MH, MR, MMR, etc.) raw image data.
【0020】復号化処理部8bは、符号化された画像デ
ータを生の画像データに復元するものである。The decoding processing section 8b restores the encoded image data to raw image data.
【0021】記録制御部9は、感熱プリンタもしくはレ
ーザプリンタ等により構成され、画情報等を記録紙上に
出力するものである。The recording control unit 9 is composed of a thermal printer, a laser printer or the like, and outputs image information and the like on recording paper.
【0022】ここで、符号化処理部8aにより行われる
符号化方式としては、 (A)CCITT勧告T.4に1次元符号化方式として
記載されているMH符号化方式 (B)CCITT勧告T.4に2次元符号化方式として
記載されているMR符号化方式 (C)CCITT勧告T.4に拡張2次元符号化方式と
して、また、CCITT勧告T.6にベーシックファク
シミリ符号化方式として記載されているMMR符号化方
式 などがあげられる。Here, as the encoding method performed by the encoding processing unit 8a, (A) CCITT Recommendation T. MH coding method described as a one-dimensional coding method in (4) CCITT Recommendation T.4. MR coding method described as a two-dimensional coding method in (C) CCITT Recommendation T.4. 4 as an extended two-dimensional encoding method, and CCITT recommendation T.264. The MMR encoding method described as the basic facsimile encoding method in 6 is cited.
【0023】これらの符号化についての詳しい説明は、
上記CCITT勧告に記載されているので、簡略化して
説明する。For a detailed description of these encodings, see
Since it is described in the above CCITT recommendation, it will be briefly described.
【0024】まず、MH符号化方式は、画像データの各
走査線をランレングス化し、このランレングス化された
データをMH符号に変換する。この処理を全走査線にわ
たって行う符号化方式である。First, in the MH encoding system, each scan line of image data is run-length, and the run-length data is converted into an MH code. This is a coding method in which this processing is performed over all scanning lines.
【0025】次に、MR符号化方式は、白黒の変化画素
を前走査線(参照ライン)の対応する参照画素と比較し
て、そのずれを符号化する方式である。この符号化方式
は、常に前の走査線と比較しながら符号化を進めるの
で、圧縮率はMH符号化方式よりもいいが、エラーライ
ンがあった場合、その影響を後続の走査線が受けてしま
うという欠点がある。この欠点を補うために「パラメー
タK」なるものを設定し、例えば、パラメータK=4の
場合、先頭の走査線はMH符号化を行い、続く3本の走
査線はMR符号化を行う。以後、4本毎にこれを繰り返
すことにより、エラーによって影響を受ける部分を制限
している。Next, the MR encoding method is a method of comparing a black-and-white change pixel with a corresponding reference pixel of a previous scanning line (reference line) and encoding the shift. Since this coding method always advances the coding while comparing it with the previous scanning line, the compression rate is better than that of the MH coding method. However, if there is an error line, the subsequent scanning line is affected by it. There is a drawback that it ends up. In order to compensate for this drawback, a parameter "K" is set. For example, when the parameter K = 4, the leading scanning line is MH encoded and the following three scanning lines are MR encoded. After that, by repeating this for every four lines, the part affected by the error is limited.
【0026】また、MMR符号化方式は、ページ内の最
初の走査線のための参照ラインとして仮想的に白ライン
を想定し、以後、全走査線にわたってMR符号化を行う
符号化方式である。従って、この方式では、MR符号化
方式よりもさらに圧縮率はよくなるが、エラーラインが
あった場合、それ以後の走査線は全く復元できなくな
る。The MMR encoding method is an encoding method in which a white line is virtually assumed as a reference line for the first scanning line in a page and thereafter MR encoding is performed over all scanning lines. Therefore, with this method, the compression rate is better than with the MR encoding method, but if there is an error line, the scanning lines after that cannot be restored at all.
【0027】この様に、MH、MR、MMRの順に、デ
ータの圧縮率はよくなるが、その半面、エラーがあった
場合の後続ラインへの影響は大きくなる。As described above, the compression ratio of data is improved in the order of MH, MR, and MMR, but on the other hand, if an error occurs, the influence on the subsequent line becomes large.
【0028】図2、図3は、この実施例における画像メ
モリの管理方法を説明する模式図である。2 and 3 are schematic diagrams for explaining the method of managing the image memory in this embodiment.
【0029】図2に示す画像管理レコード、ページ管理
レコード、図3に示すブロック管理テーブルは、画像メ
モリ2内に画像データを蓄積しておくために必要な管理
情報であり、制御データ記憶メモリ3内に格納されてい
る。The image management record and page management record shown in FIG. 2 and the block management table shown in FIG. 3 are management information necessary for accumulating image data in the image memory 2, and are the control data storage memory 3 It is stored in.
【0030】画像管理レコードは、送信、コピー等で画
像メモリ2内に画像データが蓄積される毎に一つ生成さ
れ、その画像データが消去されるまで保持される。画像
管理レコード内には、ファイルの属性(送信、受信等)
や、第1ページ目のページ管理レコードへのポインタ等
がある。One image management record is generated each time image data is stored in the image memory 2 by transmission, copying, etc., and is held until the image data is deleted. File attributes (send, receive, etc.) in the image management record
And a pointer to the page management record of the first page.
【0031】ページ管理レコードは、1ページ蓄積する
毎に生成され、画像メモリ2内の画像データ1ページ分
を管理する。ページ管理レコードには、モード(符号化
方式、主走査幅、副走査方向密度等)やページ番号、次
ページのページ管理レコードへのポインタ、第1メモリ
ブロック情報等がある。最終ページのページ管理レコー
ドのポインタ部分は終了コード(NULL)がセットさ
れる。ここでメモリブロックとは、画像メモリ2をある
一定サイズごとのブロックに分割したものである。The page management record is generated each time one page is stored, and manages one page of image data in the image memory 2. The page management record includes a mode (encoding method, main scanning width, sub-scanning direction density, etc.), page number, a pointer to the page management record of the next page, first memory block information, and the like. An end code (NULL) is set in the pointer portion of the page management record of the last page. Here, the memory block is one in which the image memory 2 is divided into blocks of a certain fixed size.
【0032】ブロック管理テーブルは、上記メモリブロ
ックに対して1対1のエリアをもち、画像メモリ2内の
画像データを管理している。各エリアには、次の画像デ
ータが格納されているブロックのエリアへのポインタが
格納されており、そのページの最終ブロックのエリアに
は、終了コード(NULL)がセットされる。また、ブ
ロック管理テーブルの先頭から空きエリアを検索するこ
とにより、画像メモリ2内の未使用のメモリブロックを
得ることができる。The block management table has an area of one-to-one with respect to the memory block and manages the image data in the image memory 2. A pointer to the area of the block in which the next image data is stored is stored in each area, and the end code (NULL) is set in the area of the last block of the page. Moreover, an unused memory block in the image memory 2 can be obtained by searching a free area from the beginning of the block management table.
【0033】画像メモリ2内の画像データを読み出す際
には、まず、画像管理レコードより第1ページ目のペー
ジ管理レコードへのポインタを得る。そして、そのペー
ジ管理レコードより第1メモリブロック情報を得、ブロ
ック管理テーブル内の当該ブロックのエリアから終了コ
ード(NULL)が見つかるまで、ポインタで順にたど
って行く。次に、先程のページ管理レコードより次ペー
ジ管理レコードへのポインタを得、同様の処理を、ペー
ジ管理レコードのポインタ部分が終了(NULL)にな
るまで行えばよい。When reading the image data in the image memory 2, first, a pointer to the page management record of the first page is obtained from the image management record. Then, the first memory block information is obtained from the page management record, and the pointer is sequentially followed until the end code (NULL) is found from the area of the block in the block management table. Next, the pointer to the next page management record is obtained from the previous page management record, and the same processing is performed until the pointer part of the page management record ends (NULL).
【0034】図4は、この実施例におけるメモリ送信時
の処理を説明するフローチャートである。このメモリ送
信時の処理は、次の5つの制御で実行される。 (A1)まず、読取制御部7で原稿を読み取り、生の画
像データを出力する。 (A2、A3)次に、生の画像データを符号化処理部8
aによりMR符号化方式で符号化し、上述の管理方法に
より画像メモリ2に蓄積する。 (A4)そして、少なくとも1ページのメモリ蓄積が終
了すると、画像メモリ2に蓄積されているMR符号化さ
れた画像データを復号化処理部8bにより生画像データ
に順次復元する。さらに、復元した画像データを、符号
化処理部8aにより相手受信機に合わせた符号化方式
(MH、MR、MMR等)で符号化する。 (A5)最後に符号化した画像データを通信制御部4に
より回線に送出する。FIG. 4 is a flow chart for explaining the processing at the time of memory transmission in this embodiment. The processing at the time of this memory transmission is executed under the following five controls. (A1) First, the reading control unit 7 reads a document and outputs raw image data. (A2, A3) Next, the raw image data is encoded by the encoding processing unit 8
It is encoded by the MR encoding method by a and stored in the image memory 2 by the management method described above. (A4) Then, when the memory storage of at least one page is completed, the MR-coded image data stored in the image memory 2 is sequentially restored to the raw image data by the decoding processing unit 8b. Further, the restored image data is encoded by the encoding processing unit 8a by an encoding method (MH, MR, MMR, etc.) adapted to the receiver of the other party. (A5) The last encoded image data is sent to the line by the communication control unit 4.
【0035】なお、上記(A2)と(A4)で用いられ
る符号化処理部8aは、それぞれ別々のものであっても
よい。The encoding processing units 8a used in the above (A2) and (A4) may be different from each other.
【0036】図5は、この実施例におけるメモリコピー
時の処理を説明するフローチャートである。このメモリ
コピー時の処理は、次の4つの制御で実行される。 (B1)まず、読取制御部7で原稿を読み取り、生画像
データを出力する。 (B2、B3)次に、生画像データを符号化処理部8a
によりMMR符号化方式で符号化し、上記管理方法によ
り画像メモリ2に蓄積する。 (B4)そして、少なくとも1ページのメモリ蓄積が終
了すると、画像メモリ2に蓄積されているMMR符号化
された画像データを、復号化処理部8bにより生画像デ
ータに順次復元する。 (B5)最後に復元した画像データを記録制御部9によ
り記録紙に記録する。FIG. 5 is a flow chart for explaining the processing at the time of memory copy in this embodiment. The processing at the time of this memory copy is executed under the following four controls. (B1) First, the reading control unit 7 reads a document and outputs raw image data. (B2, B3) Next, the raw image data is encoded by the encoding processing unit 8a.
Is encoded by the MMR encoding method and stored in the image memory 2 by the above management method. (B4) Then, when the memory storage of at least one page is completed, the MMR encoded image data stored in the image memory 2 is sequentially restored to the raw image data by the decoding processing unit 8b. (B5) The recording control unit 9 records the finally restored image data on the recording paper.
【0037】以上のように、この第1実施例では、上記
(A2)および(B2)の画像メモリ2に蓄積する時点
で、メモリ送信画像はMR符号化方式、メモリコピー画
像はMMR符号化方式と、それぞれ異なる符号化方式を
用いて符号化を行うことにより、メモリ送信画像にはエ
ラーに対する影響の少ないMR符号化方式を用いて信頼
性を保ちつつ、メモリコピー画像のように即時的な画像
には、圧縮率の高いMMR符号化方式を用いてメモリの
使用効率を向上させるものである。As described above, in the first embodiment, the memory transmission image is the MR coding system and the memory copy image is the MMR coding system at the time of accumulating in the image memory 2 of the above (A2) and (B2). By performing encoding using different encoding methods, an MR image encoding method that is less affected by an error is used for the memory transmission image to maintain reliability, and an immediate image such as a memory copy image is obtained. In order to improve the efficiency of memory usage, the MMR coding method with a high compression rate is used.
【0038】なお、上記第1実施例では、メモリ送信画
像/メモリコピー画像は、それぞれMR符号化方式/M
MR符号化方式を用いているが、MH符号化方式/MR
符号化方式やMH符号化方式/MMR符号化方式など、
処理の実情に応じて他の組み合わせを用いるものであっ
てもよい。In the first embodiment, the memory transmission image / memory copy image is MR coding system / M, respectively.
MR coding system is used, but MH coding system / MR
Coding system, MH coding system / MMR coding system, etc.
Other combinations may be used depending on the actual conditions of processing.
【0039】また、どちらもMR符号化方式を用いて、
メモリ送信画像ではパラメータK=4、メモリコピー画
像ではパラメータK=8のように、パラメータのみを切
り換えるようにしてもよい。つまり、このようなパラメ
ータのみの変更も、本発明における異なる符号化方式に
含まれるものである。Further, both of them use the MR coding method,
Only the parameters may be switched, such as the parameter K = 4 for the memory transmission image and the parameter K = 8 for the memory copy image. That is, such a change of only the parameters is included in the different encoding methods of the present invention.
【0040】また、上記第1実施例では、各動作(送
信、コピー等)に応じて予め決められた符号化方式は、
それぞれ固定されたものとなっているが、操作部5によ
り操作者が予め符号化方式を設定できるようにしてもよ
い。Further, in the first embodiment, the encoding method predetermined according to each operation (transmission, copy, etc.) is
Although each is fixed, the operator may be allowed to set the encoding method in advance by the operation unit 5.
【0041】次に、本発明の第2実施例について説明す
る。この第2実施例は、画像データを画像メモリ2に蓄
積する場合に、画像メモリ2の未使用容量と所定の符号
化切換容量との比較により、メモリオーバーとなり易い
か否かに符号化方式を選択して符号化を行うようにした
ものである。Next, a second embodiment of the present invention will be described. In the second embodiment, when the image data is stored in the image memory 2, a coding method is used to determine whether the memory is likely to run out by comparing the unused capacity of the image memory 2 with a predetermined coding switching capacity. This is selected and encoded.
【0042】図6は、この第2実施例における画像デー
タのメモリ蓄積動作を示すフローチャートである。な
お、符号化方式を選択する動作以外の構成および制御に
ついては、上記第1実施例(図1〜図5)と同様である
ものとする。FIG. 6 is a flow chart showing the memory accumulation operation of image data in the second embodiment. The configuration and control other than the operation of selecting the encoding system are the same as those in the first embodiment (FIGS. 1 to 5).
【0043】図6において、画像メモリ2への蓄積が開
始されると、まず、未使用の画像管理レコードの獲得、
および各設定を行い(S1)、次に未使用のページ管理
レコードの獲得、および各設定を行う(S2)。なお、
これらの管理レコードが獲得できない場合には、メモリ
オーバーフローによるエラー終了となる。In FIG. 6, when the storage in the image memory 2 is started, first, an unused image management record is acquired,
And each setting is performed (S1), then an unused page management record is acquired, and each setting is performed (S2). In addition,
If these management records cannot be obtained, an error will occur due to memory overflow.
【0044】また、以上の管理レコードの獲得、設定が
行われると、次に画像メモリ2の未使用容量を算出する
(S3)。この未使用容量は、例えばブロック管理テー
ブルの空きエリアを検索すること等により簡単に算出で
きる。When the management record is acquired and set as described above, the unused capacity of the image memory 2 is calculated (S3). This unused capacity can be easily calculated, for example, by searching a free area in the block management table.
【0045】次に、このファクシミリ装置に設定されて
いる符号化切換容量と、上記S3で算出された未使用容
量とを比較し(S4)、未使用容量のほうが大きけれ
ば、MR符号化方式を選択し(S5)、未使用容量のほ
うが小さければ、MMR符号化方式を選択し(S6)、
先に獲得したページ管理レコードに設定する。なお、符
号化切換容量は、未使用容量の多い少ないに基づいて、
いずれの符号化方式を選択したらよいかを決定するため
の基準値を示すものであり、予め制御データ記憶メモリ
3に記憶されている。Next, the coding switching capacity set in this facsimile is compared with the unused capacity calculated in S3 (S4). If the unused capacity is larger, the MR coding system is selected. If the unused capacity is smaller (S5), the MMR encoding method is selected (S6),
Set in the page management record acquired earlier. Note that the encoding switching capacity is based on the large amount of unused capacity and
The reference value indicates a reference value for determining which encoding method should be selected, and is stored in the control data storage memory 3 in advance.
【0046】次に、未使用のブロック管理テーブルを獲
得、設定し(S7)、先に選択された符号化方式を用い
て符号化処理部8aにより符号化し、該当メモリブロッ
クに蓄積していく(S8)。このようにして1ページ分
の原稿が終了するまで蓄積を繰り返すが(S10)、途
中で該当メモリブロックが一杯になった場合は、S7に
戻る(S9)。Next, an unused block management table is acquired and set (S7), encoded by the encoding processing unit 8a using the previously selected encoding method, and accumulated in the corresponding memory block ( S8). In this way, the accumulation is repeated until the original for one page is completed (S10), but if the corresponding memory block becomes full in the middle, the process returns to S7 (S9).
【0047】なお、S7において、未使用のブロック管
理テーブルが獲得できない場合には、エラー終了(メモ
リオーバーフロー)となる。If an unused block management table cannot be acquired in S7, an error end (memory overflow) occurs.
【0048】また、S10において、1ページ分の原稿
が終了したら、次ページがあるかどうかを判断し(S1
1)、次ページがあれば、S2に戻り、次ページがなけ
れば、画像メモリ2への蓄積終了となる。Further, in S10, when the original for one page is completed, it is judged whether or not there is a next page (S1).
1) If there is a next page, the process returns to S2, and if there is no next page, the accumulation in the image memory 2 ends.
【0049】このようにして、一定の符号化切換容量を
基準として、画像メモリ2の未使用領域が大きいかどう
かを判定し、大きければ、エラーに対する影響の少ない
MR符号化による蓄積を行い、小さければ、圧縮効率の
高いMMR符号化による蓄積を行う。In this way, it is judged whether or not the unused area of the image memory 2 is large with reference to a constant coding switching capacity. For example, the storage is performed by MMR encoding with high compression efficiency.
【0050】なお、上記第2実施例では、MR符号化方
式とMMR符号化方式を用いているが、MH符号化方式
とMR符号化方式やMH符号化方式とMMR符号化方式
など、処理の実情に応じて他の組み合わせを用いるもの
であってもよい。Although the MR coding system and the MMR coding system are used in the second embodiment, the processing such as the MH coding system and the MR coding system or the MH coding system and the MMR coding system is performed. Other combinations may be used depending on the actual situation.
【0051】また、どちらもMR符号化方式を用いて、
未使用容量が大きいときにはパラメータK=4、未使用
容量が小さいときにはパラメータK=8というように、
パラメータのみを切り換えるようにしてもよい。つま
り、このようなパラメータのみの変更も、本発明におけ
る異なる符号化方式に含まれるものである。Further, both of them use the MR coding method,
When the unused capacity is large, the parameter K = 4, and when the unused capacity is small, the parameter K = 8.
You may make it switch only a parameter. That is, such a change of only the parameters is included in the different encoding methods of the present invention.
【0052】また、上記第2実施例では、符号化切換容
量は、そのファクシミリ装置で固定されたものとなって
いるが、操作部5により操作者が設定できるようにして
もよい。In the second embodiment, the encoding switching capacity is fixed by the facsimile machine, but it may be set by the operator using the operation unit 5.
【0053】また、上記第2実施例では、未使用容量と
符号化切換容量との比較を1ページ蓄積する毎に行って
いるが、1通信(あるいは1コピー)の最初でのみ比較
し、ページが変わっても符号化方式を変えないようにし
ても良い。これは、図6において、S3からS6の動作
を最初のページだけで行うようにすればよい。In the second embodiment, the unused capacity and the coding switching capacity are compared every time one page is stored, but the comparison is made only at the beginning of one communication (or one copy), and the page is compared. The encoding method may not be changed even when the value of the symbol changes. This can be achieved by performing the operations of S3 to S6 only in the first page in FIG.
【0054】次に、本発明の第3実施例について説明す
る。この第3実施例は、蓄積符号化設定手段によって設
定された符号化方式を用いてユーザが最適な符号化方式
を選択できるようにしたものである。Next, a third embodiment of the present invention will be described. In the third embodiment, the user can select the optimum coding method by using the coding method set by the storage coding setting means.
【0055】図7は、この第3実施例における画像デー
タのメモリ蓄積動作を示すフローチャートである。な
お、符号化方式を選択する動作以外の構成および制御に
ついては、上記第1実施例(図1〜図5)と同様である
ものとする。FIG. 7 is a flow chart showing the memory accumulation operation of image data in the third embodiment. The configuration and control other than the operation of selecting the encoding system are the same as those in the first embodiment (FIGS. 1 to 5).
【0056】図6において、画像メモリ2への蓄積が開
始されると、まず、未使用の画像管理レコードの獲得、
および各設定を行い(S21)、次に未使用のページ管
理レコードの獲得、および各設定を行う(S22)。な
お、これらの管理レコードが獲得できない場合には、メ
モリオーバーフローによるエラー終了となる。In FIG. 6, when the storage in the image memory 2 is started, first, an unused image management record is acquired,
And each setting is performed (S21), then an unused page management record is acquired, and each setting is performed (S22). If these management records cannot be acquired, the process ends in error due to memory overflow.
【0057】また、以上の管理レコードの獲得、設定が
行われると、次に蓄積符号化設定手段により選択された
符号化方式を、S22で獲得したページ管理レコードに
設定する(S23)。ここで蓄積符号化設定手段とは、
例えば操作部5上のキーを押下する毎に符号化が切り換
り、表示部6上の各符号化に対応したLEDの点灯によ
り、現在選択されている符号化をオペレータに知らせる
ものである。When the management record is acquired and set as described above, the coding method selected by the storage coding setting means is set in the page management record acquired in S22 (S23). Here, the storage coding setting means is
For example, each time the key on the operation unit 5 is pressed, the encoding is switched, and the LED corresponding to each encoding on the display unit 6 is turned on to notify the operator of the currently selected encoding.
【0058】次に、未使用のブロック管理テーブルを獲
得、設定し(S24)、先に設定された符号化方式を用
いて符号化処理部8aにより符号化し、該当メモリブロ
ックに蓄積していく(S25)。このようにして1ペー
ジ分の原稿が終了するまで蓄積を繰り返すが(S2
7)、途中で該当メモリブロックが一杯になった場合
は、S24に戻る(S26)。Next, an unused block management table is acquired and set (S24), encoded by the encoding processing unit 8a using the previously set encoding method, and stored in the corresponding memory block ( S25). In this way, the accumulation is repeated until the original for one page is completed (S2
7) If the memory block is full during the process, the process returns to S24 (S26).
【0059】なお、S24において、未使用のブロック
管理テーブルが獲得できない場合には、エラー終了(メ
モリオーバーフロー)となる。If an unused block management table cannot be acquired in S24, an error end (memory overflow) occurs.
【0060】また、S27において、1ページ分の原稿
が終了したら、次ページがあるかどうかを判断し(S2
8)、次ページがあれば、S22に戻り、次ページがな
ければ、画像メモリ2への蓄積終了となる。In S27, when the original for one page is completed, it is determined whether there is a next page (S2
8) If there is a next page, the process returns to S22, and if there is no next page, the storage in the image memory 2 ends.
【0061】このようにして、オペレータが選択した符
号化方式により符号化を行って画像メモリ2に蓄積する
ことができる。In this way, the image can be stored in the image memory 2 by being encoded by the encoding method selected by the operator.
【0062】なお、上記第3実施例では、蓄積符号化設
定手段として、LED点灯によって選択するようにして
いるが、表示部6上のLCD表示によって選択する構成
としてもよい。In the third embodiment, the storage coding setting means is selected by turning on the LED, but it may be selected by the LCD display on the display section 6.
【0063】また、上記第3実施例では、選択する符号
化方式については、具体的に述べていないが、上述した
MH、MR、MMRの各符号化方式や、その他の符号化
方式を選択するようにしてもよいし、MR符号化方式の
パラメータKを選択するようにしてもよい。つまり、こ
のようなパラメータのみの変更も、本発明における異な
る符号化方式に含まれるものである。In the third embodiment, the coding system to be selected is not specifically described, but the above-mentioned MH, MR, MMR coding systems and other coding systems are selected. Alternatively, the parameter K of the MR coding method may be selected. That is, such a change of only the parameters is included in the different encoding methods of the present invention.
【0064】また、上記第3実施例では、符号化方式の
変更を1ページ蓄積する毎に行っているが、1通信(あ
るいは1コピー)の最初でのみ選択し、ページが変わっ
ても符号化方式を変えないようにしてもよい。これは、
図7において、S23の動作を最初のページだけで行う
ようにすればよい。In the third embodiment, the coding method is changed every time one page is stored. However, the coding method is selected only at the beginning of one communication (or one copy), and the coding is performed even if the page is changed. The method may not be changed. this is,
In FIG. 7, the operation of S23 may be performed only on the first page.
【0065】また、以上の各実施例では、画像メモリ2
に蓄積される画像データとして、メモリ送信画像とメモ
リコピー画像を用いたが、メモリ受信画像についても同
様に適用することができる。In each of the above embodiments, the image memory 2
Although the memory transmission image and the memory copy image are used as the image data to be stored in, the same can be applied to the memory reception image.
【0066】また、通信管理レポート等の各種レポート
を出力する際に、1ページ分を全て符号化して画像メモ
リ2に蓄積した後、それを復号化しながら印字する場合
のレポート画像についても同様に適用することができ
る。Also, when outputting various reports such as a communication management report, the same applies to a report image in which one page is entirely encoded and stored in the image memory 2 and then printed while being decoded. can do.
【0067】[0067]
【発明の効果】以上説明したように、本発明によれば、
例えばメモリ送信画像等の画像データは、エラーに対す
る影響の少ない符号化方式での蓄積を行い、メモリコピ
ー画像等の即時的な画像は、より圧縮効率の高い符号化
方式での蓄積を行う等、動作モードに応じて異なる符号
化を行うことにより、通信画像に対する信頼性を保ちつ
つ、画像メモリの使用効率を向上できる。As described above, according to the present invention,
For example, image data such as a memory transmission image is stored by a coding method that has little influence on errors, and immediate images such as a memory copy image are stored by a coding method with higher compression efficiency. By performing different encoding depending on the operation mode, it is possible to improve the usage efficiency of the image memory while maintaining the reliability of the communication image.
【0068】また、本発明によれば、画像データを画像
メモリに蓄積する場合に、画像メモリの未使用容量と符
号化切換容量との比較結果に応じて異なる符号化を行う
ことにより、メモリオーバーの危険性に応じて最適な符
号化方式を選択できる。Further, according to the present invention, when the image data is stored in the image memory, different encoding is performed according to the result of comparison between the unused capacity of the image memory and the encoding switching capacity, so that the memory overflow occurs. The optimum encoding method can be selected according to the risk of.
【0069】また、本発明によれば、蓄積符号化設定手
段によってユーザが最適な符号化方式を選択できる。Further, according to the present invention, the user can select the optimum coding method by the storage coding setting means.
【図1】本発明の第1実施例を示すブロック図である。FIG. 1 is a block diagram showing a first embodiment of the present invention.
【図2】上記実施例における画像メモリの管理方法を説
明する模式図である。FIG. 2 is a schematic diagram illustrating a method of managing an image memory in the above embodiment.
【図3】上記実施例における画像メモリの管理方法を説
明する模式図である。FIG. 3 is a schematic diagram illustrating a method of managing an image memory in the above embodiment.
【図4】上記実施例におけるメモリ送信時の処理を説明
するフローチャートである。FIG. 4 is a flowchart illustrating a process at the time of memory transmission in the above embodiment.
【図5】上記実施例におけるメモリコピー時の処理を説
明するフローチャートである。FIG. 5 is a flowchart illustrating a process at the time of memory copy in the above embodiment.
【図6】本発明の第2実施例の動作を示すフローチャー
トである。FIG. 6 is a flowchart showing the operation of the second embodiment of the present invention.
【図7】本発明の第3実施例の動作を示すフローチャー
トである。FIG. 7 is a flowchart showing the operation of the third embodiment of the present invention.
1…主制御部、 2…画像メモリ、 3…制御データ記憶メモリ、 4…通信制御部、 5…操作部、 6…表示部、 7…読取部、 8a…符号化処理部、 8b…復号化処理部、 9…記録制御部。 DESCRIPTION OF SYMBOLS 1 ... Main control part, 2 ... Image memory, 3 ... Control data storage memory, 4 ... Communication control part, 5 ... Operation part, 6 ... Display part, 7 ... Reading part, 8a ... Encoding process part, 8b ... Decoding Processing unit, 9 ... Recording control unit.
───────────────────────────────────────────────────── フロントページの続き (72)発明者 大谷 篤志 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内 (72)発明者 木口 雅夫 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Atsushi Otani 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Inc. (72) Inventor Masao Kiguchi 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Within the corporation
Claims (4)
と、この符号化データを蓄積する画像メモリとを有する
ファクシミリ装置において、 上記符号化処理部は、複数の符号化方式を有し、その符
号化に際して、ファクシミリ装置の動作モードに応じて
予め決められた異なる符号化方式を用いて符号化を行う
ことを特徴とするファクシミリ装置。1. A facsimile apparatus having an encoding processing unit for encoding image data and an image memory for accumulating the encoded data, wherein the encoding processing unit has a plurality of encoding systems, In encoding, a facsimile apparatus is characterized in that encoding is performed by using different encoding methods which are predetermined according to an operation mode of the facsimile apparatus.
と、この符号化データを蓄積する画像メモリとを有する
ファクシミリ装置において、 上記符号化処理部は、複数の符号化方式を有するととも
に、上記画像メモリの未使用容量を算出する算出手段
と、上記画像メモリの未使用容量と符号化切換容量とを
比較する比較手段とを備え、この比較手段による比較結
果に基づいて異なる符号化方式を用いて符号化を行うこ
とを特徴とするファクシミリ装置。2. A facsimile apparatus having an encoding processing unit for encoding image data and an image memory for accumulating the encoded data, wherein the encoding processing unit has a plurality of encoding systems and A calculation unit for calculating the unused capacity of the image memory and a comparison unit for comparing the unused capacity of the image memory with the encoding switching capacity are provided, and different encoding methods are used based on the comparison result by the comparison unit. A facsimile machine characterized by performing encoding by means of.
とするファクシミリ装置。3. A facsimile apparatus according to claim 2, further comprising means for setting the encoding switching capacity.
と、この符号化データを蓄積する画像メモリとを有する
ファクシミリ装置において、 蓄積符号化設定手段を有し、この設定手段で設定された
符号化方式を用いて画像データを符号化し、画像メモリ
への蓄積を行うことを特徴とするファクシミリ装置。4. A facsimile apparatus having an encoding processing unit for encoding image data and an image memory for accumulating the encoded data, comprising storage encoding setting means, and a code set by this setting means. A facsimile apparatus characterized in that image data is encoded by using an encoding method and stored in an image memory.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4136331A JPH05308531A (en) | 1992-04-28 | 1992-04-28 | Facsimile equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4136331A JPH05308531A (en) | 1992-04-28 | 1992-04-28 | Facsimile equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH05308531A true JPH05308531A (en) | 1993-11-19 |
Family
ID=15172726
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4136331A Pending JPH05308531A (en) | 1992-04-28 | 1992-04-28 | Facsimile equipment |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH05308531A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6208434B1 (en) | 1997-02-27 | 2001-03-27 | Brother Kogyo Kabushiki Kaisha | Copying apparatus in a facsimile machine |
| JP2012198598A (en) * | 2011-03-18 | 2012-10-18 | Nec Corp | Data storage device and data storage method |
-
1992
- 1992-04-28 JP JP4136331A patent/JPH05308531A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6208434B1 (en) | 1997-02-27 | 2001-03-27 | Brother Kogyo Kabushiki Kaisha | Copying apparatus in a facsimile machine |
| JP2012198598A (en) * | 2011-03-18 | 2012-10-18 | Nec Corp | Data storage device and data storage method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4533035B2 (en) | Image encoding apparatus and method, computer program, and computer-readable storage medium | |
| US6178005B1 (en) | Image processing apparatus that controls a blank to be a predetermined length in accordance with the size of the recording medium | |
| EP0449528A2 (en) | Image processing apparatus | |
| US4894843A (en) | Data communication system | |
| JPH0828820B2 (en) | Image data coding circuit | |
| JPH05308531A (en) | Facsimile equipment | |
| US6982806B2 (en) | Facsimile apparatus, control method for facsimile apparatus, and computer-readable storage medium storing control program for facsimile apparatus | |
| US5745245A (en) | Communication apparatus | |
| JP2003234881A (en) | Facsimile machine | |
| JP3734082B2 (en) | Image processing apparatus and image data storage method of image processing apparatus | |
| JP3263212B2 (en) | Image transmission method, image recording method, image transmission device, and image recording device | |
| JP3592139B2 (en) | Recording apparatus, image processing apparatus and method thereof | |
| JPH06152979A (en) | Image processing device | |
| JP3056589B2 (en) | Facsimile machine | |
| JPH08191395A (en) | Communication equipment | |
| JP3124574B2 (en) | Image forming device | |
| JP3364348B2 (en) | Communication device | |
| JP3062340B2 (en) | Facsimile machine | |
| JPH0884229A (en) | Image forming device | |
| JPH077589A (en) | Transmission control method for facsimile machine | |
| JPH11215382A (en) | Facsimile machine | |
| JPH04264877A (en) | Facsimile equipment | |
| JPH10224537A (en) | Facsimile machine | |
| JPH08191396A (en) | Communication equipment | |
| JPH0951411A (en) | Facsimile equipment |