JP2002199194A - Image data encoding/decoding device - Google Patents

Image data encoding/decoding device

Info

Publication number
JP2002199194A
JP2002199194A JP2000395756A JP2000395756A JP2002199194A JP 2002199194 A JP2002199194 A JP 2002199194A JP 2000395756 A JP2000395756 A JP 2000395756A JP 2000395756 A JP2000395756 A JP 2000395756A JP 2002199194 A JP2002199194 A JP 2002199194A
Authority
JP
Japan
Prior art keywords
code
codes
decoding
hard disk
image data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2000395756A
Other languages
Japanese (ja)
Inventor
Yoshimichi Kanda
好道 神田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2000395756A priority Critical patent/JP2002199194A/en
Publication of JP2002199194A publication Critical patent/JP2002199194A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimiles In General (AREA)
  • Storing Facsimile Image Data (AREA)

Abstract

PROBLEM TO BE SOLVED: To store codes of more documents by switching hard disks in an imaging device which encodes picture data obtained by simultaneous read of both the front face and the rear face of a document and stores codes of respective faces in two hard disks and performs electronic sorting. SOLUTION: Image data of both the front face and the rear face of the document are inputted and is encoded simultaneously, and codes of both faces are stored in hard disks 1 and 2 (omitted in Figure) via hard disk I/F parts 1 (505) and 2 (510), and a code data switching part 504 is provided between encoding/decoding parts 1 (503) and 2 (509) for decoding of stored codes and hard disk I/F parts 1 (505) and 2 (510), and setting A or B is selected as its switching state, so that codes of both faces can be stored in one disk, if the empty capacity of the other disk is too small to store a new page.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、原稿画像情報を読
み込んだ順番に内部記憶装置に蓄え、全原稿読み込み
後、内部に蓄積された画像データを読み込み順に出力
し、出力動作を所望部数繰り返すことにより、電子ソー
ト機能を実現するデジタル複写機などの画像形成システ
ムに用いて好適な画像データ符号化復号装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of storing original image information in an internal storage device in the reading order, and after reading all the originals, outputting the image data stored therein in the reading order, and repeating the output operation for a desired number of copies. Accordingly, the present invention relates to an image data encoding / decoding apparatus suitable for use in an image forming system such as a digital copying machine that realizes an electronic sorting function.

【0002】[0002]

【従来の技術】電子ソート機能を持つデジタル複写機な
どの画像形成装置は、原稿を複数枚読み込んでその画像
データを複写機内部に蓄積し、内部に蓄積された画像デ
ータを読み込み順に出力する動作を所望部数繰り返すこ
とにより、コピー出力のソートを実現する。このように
従来の機械的にソートを行う複写機に比べ、原稿の読み
込みが1度で済む、ソートを行う機械部分が必要なくな
る等の利点がある。画像蓄積装置としてはハードディス
ク等の大容量記憶媒体を使うのが一般的であり、複写機
で扱う画像のデータ量が多いので、ハードディスク入出
力の手前に符号化復号部を有し、画像データの情報量を
少なくして蓄積する構成が多い。
2. Description of the Related Art An image forming apparatus such as a digital copying machine having an electronic sort function reads a plurality of originals, stores the image data in the copying machine, and outputs the image data stored therein in reading order. Is repeated a desired number of times, so that the copy output is sorted. As described above, there are advantages in that the document is read only once and a mechanical part for sorting is not required, as compared with a conventional copying machine that mechanically sorts. Generally, a large-capacity storage medium such as a hard disk is used as an image storage device, and since the amount of image data handled by the copying machine is large, an encoding / decoding unit is provided before the input / output of the hard disk, and There are many configurations in which the amount of information is reduced and stored.

【0003】また、複写機に用いる原稿読み取り装置で
は原稿の両面を読みとれるものがあり、その中で表裏両
面同時読み取りが行える原稿読み取り装置は、原稿を片
面ずつ読む機構のものに比べて読み取り速度が速く、ま
た原稿を裏返したりしないので原稿の傷みも少ない。
Some document reading apparatuses used in copiers can read both sides of a document. Among them, a document reading apparatus capable of simultaneous reading on both sides of a document has a higher reading speed than that of a mechanism that reads a document one side at a time. The document is fast and the document is not turned over, so there is little damage to the document.

【0004】従来の表裏両面同時読み取りの原稿読み取
り装置の機構図を図13に示す。図において、1は表裏
両面に画像データが記録された原稿であり、搬送ローラ
ーにより所定の経路で挿入、搬送され、表裏両面に配置
された画像読み取り部により両面の画像を同時に読み取
られる。画像読み取り部は、原稿厚版2a,2b,光源
3a,3b、レンズ4a,4b,読み取りセンサ5a,
5bからなる。
FIG. 13 shows a mechanism diagram of a conventional document reading apparatus for simultaneous reading on both sides. In FIG. 1, reference numeral 1 denotes a document on which image data is recorded on both front and back sides, which is inserted and conveyed along a predetermined path by a conveying roller, and images on both sides are simultaneously read by image reading units arranged on both front and back sides. The image reading unit includes original thick plates 2a, 2b, light sources 3a, 3b, lenses 4a, 4b, reading sensors 5a,
5b.

【0005】両面同時読み取りが行え、かつ電子ソート
が行えるデジタル複写機を図14のブロック図に示す。
画像データの読み取り時は、読み取りセンサ201,2
04で画像データを読み取り、A/D変換部202,2
05でデジタル信号に変換し、画像処理部203,20
6でガンマ変換、画質補正、変倍などの画像処理を行
う。両面同時読み取りのため、図示のように表面、裏面
について前記各処理ブロックを2系統有する。これらの
デジタル画像データは1ページ毎に画像格納部207に
格納され、原稿の全ページ格納後、表、裏の順番でプリ
ンタ等で構成される画像出力部208へ画像データを読
み出して紙上に両面の印字を行う。操作部210から主
制御部211を介して指定された部数分、画像格納部に
格納された両面の画像の全ページを繰り返し出力するこ
とにより、所定部数の仕分けされた出力画像を得ること
ができる。
FIG. 14 is a block diagram showing a digital copying machine capable of performing both-side simultaneous reading and electronic sorting.
When reading image data, the reading sensors 201 and
04, the image data is read, and the A / D converters 202, 2
In step 05, the digital signals are converted into digital signals,
In step 6, image processing such as gamma conversion, image quality correction, and scaling is performed. For simultaneous reading on both sides, there are two systems of each of the above processing blocks on the front side and the back side as shown in the figure. These digital image data are stored in the image storage unit 207 for each page, and after storing all pages of the document, the image data is read out to the image output unit 208 composed of a printer or the like in the order of front and back, and both sides are printed on paper. Is printed. By repeatedly outputting all pages of the double-sided image stored in the image storage unit by the number of copies specified from the operation unit 210 via the main control unit 211, a sorted output image of a predetermined number of copies can be obtained. .

【0006】画像格納部207について図15により更
に詳しく説明する。画像格納部においては、表面の画像
データが画像処理部(表)からメモリ制御部1(30
1)に入力され、メモリ制御部1(301)ではメモリ
1(302)に対してアドレスを発生して画像データを
メモリ1(302)に格納する。メモリ1(302)に
1ページ分の画像が蓄積された後、メモリ制御部1(3
01)はメモリ1(302)から画像データを読み出
し、符号化復号部1(303)に出力する。符号化復号
部1(303)では画像の統計的性質を利用した符号化
を行い、符号を生成し、生成された符号はハードディス
クI/F部1(304)を介してハードディスク1(3
05)に蓄積される。
The image storage unit 207 will be described in more detail with reference to FIG. In the image storage unit, the image data of the front surface is transferred from the image processing unit (table) to the memory control unit 1 (30).
1), the memory controller 1 (301) generates an address for the memory 1 (302) and stores the image data in the memory 1 (302). After an image for one page is accumulated in the memory 1 (302), the memory control unit 1 (3
01) reads image data from the memory 1 (302) and outputs it to the encoding / decoding unit 1 (303). The encoding / decoding unit 1 (303) performs encoding using the statistical properties of the image to generate a code, and the generated code is transmitted to the hard disk 1 (3) via the hard disk I / F unit 1 (304).
05).

【0007】ハードディスク1(305)に蓄積された
符号を復号して出力するときは、ハードディスク1(3
05)から符号をハードディスクI/F部1(304)
を介して符号化復号部1(303)へ出力する。符号化
復号部1(303)では符号を復号してメモリ制御部1
(301)へ出力する。メモリ制御部1(301)では
アドレスを発生してメモリ1(302)に復号された画
像データを展開し、1ページ分が展開された後、メモリ
制御部1(301)はメモリ1(302)から画像デー
タを読み出し、出力信号切り替え部311へ出力する。
出力信号切り替え部311では信号のパス切り替えを行
い、メモリ制御部1(301)からの画像データを画像
出力部へ出力する。裏面に関しても表面と同様な処理ブ
ロックを有し、最後に出力信号切り替え部311で信号
のパスを切り替え、画像出力部へ画像データを出力す
る。
When decoding and outputting the codes stored in the hard disk 1 (305), the hard disk 1 (3
05) the code from the hard disk I / F unit 1 (304)
To the encoding / decoding unit 1 (303). The encoding / decoding unit 1 (303) decodes the code and performs the memory control unit 1
Output to (301). The memory control unit 1 (301) generates an address and expands the decoded image data in the memory 1 (302). After one page is expanded, the memory control unit 1 (301) sets the memory 1 (302). , And outputs the image data to the output signal switching unit 311.
The output signal switching unit 311 performs signal path switching, and outputs image data from the memory control unit 1 (301) to the image output unit. The back side has the same processing blocks as the front side. Finally, the output signal switching unit 311 switches the signal path, and outputs image data to the image output unit.

【0008】[0008]

【発明が解決しようとする課題】このように表面と裏面
で別々のハードディスクに蓄積する構成では、原稿の種
類により、常に裏面の符号量が表面の符号量より多くな
る場合、図16に示すようにN枚の原稿の符号を蓄積し
た時のようにハードディスク1とハードディスク2では
空き領域に大きな差が出ることになる。このような場
合、ハードディスク2の空き容量が無くなり、裏面の符
号が蓄積できなくなると、ハードディスク1にいくら空
き領域があっても新たに原稿の符号を蓄積することがで
きず、ハードディスク1側の空き領域が無駄になってし
まうという問題があった。電子ソートに関する従来技術
は、例えば特開平05−103171号公報等多く提案
されているが、前記の両面画像を2台のハードディスク
を用い、蓄積する時の問題を解決するためのものはなか
った。
In such a configuration in which the front and back surfaces are stored in separate hard disks, if the code amount on the back surface is always larger than the code amount on the front surface depending on the type of the document, as shown in FIG. Thus, there is a large difference in the free space between the hard disk 1 and the hard disk 2 as in the case where the codes of N originals are stored in the hard disk 1. In such a case, if the free space of the hard disk 2 is exhausted and the codes on the back surface cannot be stored, no matter how much free space the hard disk 1 has, the codes of the original cannot be newly stored, and the free space on the hard disk 1 side cannot be stored. There is a problem that the area is wasted. Many conventional techniques relating to electronic sorting have been proposed, for example, in Japanese Patent Laid-Open Publication No. 05-103171, but there has been no solution to the problem of storing two-sided images using two hard disks.

【0009】請求項1および2記載の発明の目的は、原
稿の表裏両面を同時に読み取り、各々の面に対して符号
化を行い、これらの符号を割り当てられた2台の記憶媒
体に蓄積して電子ソートを行う装置において、1台の記
憶媒体の空き容量が新たなページを記憶できる容量以下
の場合、もう1台の記憶媒体に両面の符号を蓄積するよ
うに切り替えを行うことにより、蓄積先固定の時に比
べ、より多くの枚数の符号データを記憶媒体に蓄積する
ことができるようにすることである。
An object of the present invention is to read both sides of a document at the same time, code each side, and store these codes in two assigned storage media. In a device that performs electronic sorting, if the free space of one storage medium is equal to or less than the capacity that can store a new page, switching is performed so that double-sided codes are stored in another storage medium, and the storage destination is changed. An object of the present invention is to allow a larger number of pieces of code data to be stored in a storage medium as compared with a fixed time.

【0010】請求項1および3記載の発明の目的は、原
稿の表裏両面を同時に読み取り、各々の面に対して符号
化を行い、これらの符号を割り当てられた2台の記憶媒
体に蓄積して電子ソートを行う装置において、奇数ペー
ジ、偶数ページ毎に蓄積先の記憶媒体を交互に切り替え
ることにより、蓄積先固定の時に比べてより多くの枚数
の符号データを記憶媒体に蓄積することができるように
することである。
An object of the present invention is to read both sides of a document at the same time, encode each side, and store these codes in two assigned storage media. In an apparatus that performs electronic sorting, by alternately switching the storage medium of the storage destination for each of odd-numbered pages and even-numbered pages, a larger number of code data can be stored in the storage medium than when the storage destination is fixed. It is to be.

【0011】請求項1および4記載の発明の目的は、原
稿の表裏両面を同時に読み取り、各々の面に対して符号
化を行い、これらの符号を割り当てられた2台の記憶媒
体に蓄積して電子ソートを行う装置において、空き容量
が大きい蓄積手段に符号量が多い面の符号を蓄積するよ
うに蓄積先の記憶媒体を、読み取り原稿のページ毎に切
り替えることにより、蓄積先固定の時に比べてより多く
の枚数の符号データを記憶媒体に蓄積することができる
ようにすることである。
An object of the invention described in claims 1 and 4 is to simultaneously read the front and back surfaces of an original, perform encoding on each surface, and store these codes in two assigned storage media. In a device that performs electronic sorting, the storage medium of the storage destination is switched for each page of the read document so that the code of the surface with a large code amount is stored in the storage unit having a large free space, so that the storage destination is compared with when the storage destination is fixed. An object of the present invention is to enable a larger number of code data to be stored in a storage medium.

【0012】[0012]

【課題を解決するための手段】上記の目的を達成するた
めに、本発明による画像データ符号化復号装置において
は、原稿の表面、裏面の2面の画像データを同時に入力
する画像入力手段と、両面2枚の画像データの符号化を
行う2個の符号化手段と、2個の符号化手段によって生
成された原稿の表面、裏面に対応する符号を蓄積する2
個の符号蓄積手段と、2個の符号蓄積手段に蓄積された
原稿の表面、裏面に対応する符号の復号を行う2個の復
号手段と、2個の符号蓄積手段と2個の符号化手段およ
び2個の復号手段との間に位置し、これらの接続を切り
替えることにより、2個の符号蓄積手段と2個の符号化
手段との組み合わせ、および2個の符号蓄積手段と2個
の復号手段との組み合わせを切り替える符号データ切り
替え手段と、復号時に参照され、2個の復号手段に正し
く表面、裏面の符号が割り当てられるように符号データ
切り替え手段の設定により変化する表面、裏面の符号情
報の格納先を記憶する符号格納先記憶手段とを備えてい
る。
In order to achieve the above object, an image data encoding / decoding apparatus according to the present invention comprises: an image input means for simultaneously inputting image data of two sides, ie, a front side and a back side of a document; Two encoding units for encoding two-sided image data, and accumulating codes corresponding to the front and back surfaces of the document generated by the two encoding units.
Code storage means, two decoding means for decoding codes corresponding to the front and back surfaces of the document stored in the two code storage means, two code storage means and two coding means And two decoding means, and by switching these connections, a combination of two code accumulation means and two encoding means, and two code accumulation means and two decoding means Code data switching means for switching the combination with the means, and code information on the front and back sides which are referred to during decoding and which are changed by the setting of the code data switching means so that the codes on the front and back sides are correctly assigned to the two decoding means. Code storage destination storage means for storing the storage destination.

【0013】[0013]

【発明の実施の形態】以下、本発明の実施形態を図面と
共に説明する。本実施形態では、従来技術の問題を解決
するため、画像蓄積部で表面、裏面の画像データの符号
を蓄積するハードディスクの割り当ての変更を行う。本
実施形態の特徴である画像蓄積部の構成例について図1
を参照して説明する。本構成例では従来技術の図15の
画像蓄積部(画像格納部)の構成に加え、ハードディス
クI/F部1(505),2(510)の前段に符号デ
ータ切り替え部504を有し、図1のように構成されて
いる。
Embodiments of the present invention will be described below with reference to the drawings. In the present embodiment, in order to solve the problem of the related art, the assignment of the hard disk for storing the codes of the image data on the front surface and the back surface is changed in the image storage unit. FIG. 1 shows a configuration example of an image storage unit which is a feature of the present embodiment.
This will be described with reference to FIG. In this configuration example, in addition to the configuration of the image storage unit (image storage unit) of FIG. 15 of the related art, a code data switching unit 504 is provided at a stage preceding the hard disk I / F units 1 (505) and 2 (510). It is configured as shown in FIG.

【0014】符号データ切り替え部504以外の機能
は、図15の従来技術で説明した構成と同じである。図
15における301から311は、図1では501から
503,505から512に対応している。
The functions other than the code data switching unit 504 are the same as those of the configuration described in the prior art of FIG. Reference numerals 301 to 311 in FIG. 15 correspond to 501 to 503 and 505 to 512 in FIG.

【0015】符号データ切り替え部504により図2に
示すように信号の接続を切り替えることができる。すな
わち、設定Aでは、表面画像の符号はハードディスクI
/F部1(505)を介してハードディスク1(50
6)に、裏面画像の符号はハードディスクI/F部2
(510)を介してハードディスク2(511)に入出
力され、設定Bでは、その反対に表面画像の符号はハー
ドディスク2(511)、裏面画像の符号はハードディ
スク1(506)に入出力される。
The connection of signals can be switched by the code data switching section 504 as shown in FIG. That is, in the setting A, the sign of the surface image is the hard disk I
/ F unit 1 (505) via the hard disk 1 (50
6), the symbol of the back image is the hard disk I / F unit 2
(510), input / output to / from the hard disk 2 (511). In the setting B, the sign of the front image is input / output to / from the hard disk 2 (511) and the sign of the back image is input / output to the hard disk 1 (506).

【0016】次に、図3のフローチャートを用いて主制
御部(図14の主制御部211)が原稿1枚の両面画像
の符号データを画像蓄積部に蓄積する設定動作の第1の
実施形態について説明する。まず、両面同時に読み取ら
れた画像データがメモリ1(502)に表画像、メモリ
2(508)に裏画像として蓄積される(ステップS
1、以下ステップ略))。次にハードディスク1(50
6),2(511)にこれらの画像の符号データを蓄積
が可能かチェックを行う(S2)。
Next, a first embodiment of a setting operation in which the main control unit (main control unit 211 in FIG. 14) stores the code data of the double-sided image of one document in the image storage unit using the flowchart of FIG. Will be described. First, image data read simultaneously on both sides is stored as a front image in the memory 1 (502) and as a back image in the memory 2 (508) (step S).
1, the following steps are omitted)). Next, the hard disk 1 (50
It is checked whether the code data of these images can be stored in 6) and 2 (511) (S2).

【0017】符号データは原画像データ以下の符号量に
なるため、1台のハードディスクにつき、原画像データ
1ページ分の空き領域があれば、新たに符号データを蓄
積可能とする。従って、ハードディスク1(506)か
つ2(511)の空き領域≧原画像1ページ分であれ
ば、両方のハードディスク1,2にそのまま両面を格納
することができるので、符号切り替え部504の設定を
図2の設定Aとして(S3)、メモリ1(502),2
(508)内の画像を符号化したデータをハードディス
ク1(506),2(511)に同時に蓄積する(S
4)。
Since the code data has a code amount equal to or less than the original image data, if one hard disk has a free area for one page of the original image data, the code data can be newly stored. Therefore, if the free space of the hard disk 1 (506) and the free area of the hard disk 2 (511) ≧ one page of the original image, both sides can be stored in both the hard disks 1 and 2 without change. 2 as setting A (S3), memories 1 (502), 2
Data obtained by encoding the image in (508) is simultaneously stored in the hard disks 1 (506) and 2 (511) (S
4).

【0018】ハードディスク1(506)に1ページ分
の空き領域がない場合は、符号切り替え部504の設定
を図2の設定Bとし(S5)、まずメモリ1(502)
内の画像を符号化してハードディスク2(511)に蓄
積し(S6)、次に設定Aにして(S7)、メモリ2
(508)内の画像を符号化してハードディスク2(5
11)に蓄積する(S8)。このようにしてハードディ
スク1(506)の空き領域がなくなった場合でも、表
面の符号データをハードディスク2(511)に蓄積す
ることにより、両面の蓄積を続けて行うことができる。
If there is no free space for one page in the hard disk 1 (506), the code switching unit 504 is set to the setting B in FIG. 2 (S5), and the memory 1 (502) first.
Are stored in the hard disk 2 (511) (S6), and then set to A (S7).
The image in (508) is encoded and the hard disk 2 (5
11) (S8). Even when the free space of the hard disk 1 (506) is exhausted in this way, by storing the code data on the front surface in the hard disk 2 (511), the data can be continuously stored on both surfaces.

【0019】また、ハードディスク2(511)の空き
領域が先になくなった場合は、符号切り替え部504の
設定を図2の設定Aとし(S9)、まずメモリ1(50
2)内の画像を符号化してハードディスク1(506)
に蓄積し(S10)、次に設定Bにして(S11)、メ
モリ2(508)内の画像を符号化してハードディスク
1(506)に蓄積する(S12)というように、両面
を空き領域のあるハードディスク1(506)に蓄積す
る。
When the free space of the hard disk 2 (511) is exhausted first, the setting of the code switching unit 504 is set to the setting A of FIG. 2 (S9), and the memory 1 (50) is first set.
2) Encoding the image in the hard disk 1 (506)
(S10), then set to B (S11), and encode the image in the memory 2 (508) and store it on the hard disk 1 (506) (S12). The data is stored in the hard disk 1 (506).

【0020】これら蓄積の情報は図4に示すような各原
稿の表面裏面の符号格納先を示す蓄積先管理テーブルに
記録される。復号の際にはこのテーブルを参照し、符号
データ切り替え部504を切り替えることにより、符号
蓄積先のハードディスクから、表面が符号化復号部1
(503)、裏面が符号化復号部2(509)で復号を
行えるように各符号データの読み出しが行われる。
The storage information is recorded in a storage destination management table as shown in FIG. At the time of decoding, by referring to this table and switching the code data switching unit 504, the front side of the encoding / decoding unit 1
(503) Each code data is read out so that the back side can be decoded by the encoding / decoding unit 2 (509).

【0021】このように本実施形態によれば、両面同時
読み取りを行い、各面を2台のハードディスクに割り当
て蓄積するデジタル複写機において、1台のハードディ
スクの空き領域がなくなった場合、両面の符号データを
片方の空き領域があるハードディスクに蓄積することに
より、片方のハードディスクの空き領域を無駄にするこ
となく、両面の蓄積を続けて行うことができる。
As described above, according to the present embodiment, in a digital copying machine that performs simultaneous reading on both sides and allocates and stores each side to two hard disks, if there is no free space on one hard disk, the codes on both sides are used. By accumulating the data on the hard disk having one free space, it is possible to continuously store data on both sides without wasting the free space on one hard disk.

【0022】次に、画像蓄積部に蓄積する設定動作の第
2の実施形態を説明する。上記第1の実施形態において
は、一方のハードディスクの空き領域がなくなった場
合、空き領域がある方のハードディスクに両面の符号デ
ータを入れることにより、片方のハードディスクの空き
領域が無駄になることを防いだが、この場合一つのハー
ドディスクに表面と裏面の符号を順番に格納する必要が
あるため、表面と裏面を別々のハードディスクに蓄積す
る場合に比べ、約2倍の時間がかかってしまう。
Next, a description will be given of a second embodiment of the setting operation for storing data in the image storage unit. In the first embodiment, when the free space of one hard disk is exhausted, the code data of both sides is put into the hard disk having the free space to prevent the free space of one hard disk from being wasted. However, in this case, since it is necessary to store the codes of the front and back sides in one hard disk in order, it takes about twice as long as storing the front and back sides in separate hard disks.

【0023】また、両面原稿において、例えば定型書式
の原稿束においては表面と裏面の符号量が偏りやすい。
例えば、図5のような契約書では、表面には簡単な文書
と契約者のサインが書かれ、裏面に細かく多くの字で契
約内容が書かれているため、裏面の符号量が表面より多
くなる。このような書式のN枚の両面画像を図1の画像
蓄積部のハードディスクに蓄積した場合、表面、裏面で
符号を蓄積するハードディスクが固定されていて、かつ
表面の符号量<裏面の符号量の関係があるため、図6に
示すようにハードディスク2の空き領域がハードディス
ク1に比べて大きな差で少なくなり、ハードディスク1
に空き容量が多く残っているにもかかわらず、両面の画
像蓄積ができなくなってしまう。本実施形態は上記のよ
うな問題を解決するものである。
In a double-sided original, for example, in a fixed-format original bundle, the code amount of the front surface and the back surface tends to be uneven.
For example, in a contract as shown in FIG. 5, a simple document and a contractor's signature are written on the front side, and the contract details are written in many characters on the back side. Become. When N double-sided images of such a format are stored in the hard disk of the image storage unit of FIG. 1, the hard disk for storing codes on the front and back sides is fixed, and the code amount of the front side <the code amount of the back side. 6, the free space of the hard disk 2 is reduced by a large difference as compared with the hard disk 1 as shown in FIG.
Despite a large amount of free space remaining, image storage on both sides becomes impossible. This embodiment solves the above-mentioned problem.

【0024】本実施形態においては、図1の画像蓄積部
を以下のように制御することで上記問題を解決する。次
に、図7のフローチャートを用いて本実施形態における
主制御部が原稿1枚の両面画像の符号データを画像蓄積
部に蓄積する設定動作について説明する。
In the present embodiment, the above problem is solved by controlling the image storage section of FIG. 1 as follows. Next, a setting operation in which the main control unit according to the present embodiment stores the code data of the double-sided image of one document in the image storage unit will be described with reference to the flowchart of FIG.

【0025】まず、両面同時に読み取られた画像データ
がメモリ1(502)に表画像、メモリ2(508)に
裏画像として蓄積される(S21)。読み込み原稿の枚
数が奇数番目の時は(S22/YES)、符号データ切
り替え部504の設定を図2の設定Aとし(S23)、
メモリ1(502)からの符号データをハードディスク
1(506)、メモリ2(508)からの符号データを
ハードディスク2(511)に蓄積する(S24)。
First, image data read simultaneously on both sides is stored as a front image in the memory 1 (502) and as a back image in the memory 2 (508) (S21). When the number of read originals is odd (S22 / YES), the setting of the code data switching unit 504 is set to the setting A of FIG. 2 (S23).
The code data from the memory 1 (502) is stored in the hard disk 1 (506), and the code data from the memory 2 (508) is stored in the hard disk 2 (511) (S24).

【0026】読み込み原稿の枚数が隅数番目の時は(S
22/NO)、符号データ切り替え部504の設定を図
2の設定Bとし(S25)、メモリ1(502)からの
符号データをハードディスク2(511)、メモリ2
(508)からの符号データをハードディスク1(50
6)に蓄積する(S24)。
When the number of read originals is the number of corners, (S
22 / NO), the setting of the code data switching unit 504 is set as setting B in FIG. 2 (S25), and the code data from the memory 1 (502) is stored in the hard disk 2 (511) and the memory 2
The encoded data from (508) is transferred to the hard disk 1 (50
6) (S24).

【0027】このように原稿毎に両面の符号を交互のハ
ードディスクに入力することにより、図8に示すように
片方のハードディスクに偏って空き容量が少なくなるこ
とを防ぐことができ、速度を落とすことなく、より多く
の両面原稿の符号を蓄積することができる。
By inputting the double-sided codes for each original into the alternate hard disk in this manner, it is possible to prevent the free space from being reduced due to one hard disk as shown in FIG. 8 and to reduce the speed. Instead, more double-sided document codes can be stored.

【0028】次に、第3の実施形態について説明する。
上記第1、第2の実施形態によれば、比較的良い確率で
2台のハードディスクの容量を均等に使うことができる
が、本実施形態は、図1の構成にハードを追加すること
により、更にハードディスクの容量を均等に無駄なく使
用できるようにしたものである。
Next, a third embodiment will be described.
According to the first and second embodiments, the capacities of the two hard disks can be used equally with a relatively good probability. However, in the present embodiment, by adding hardware to the configuration of FIG. Further, the capacity of the hard disk can be evenly used without waste.

【0029】本実施形態による構成を図9に示す。図9
においては、符号量計数部1(513),2(514)
が追加されている。他の部分には図1と対応する部分に
同一番号を付して重複する説明を省略する。また、図9
のデータの流れは図1の場合とほぼ同じである。
FIG. 9 shows a configuration according to the present embodiment. FIG.
, The code amount counting units 1 (513) and 2 (514)
Has been added. The other portions are denoted by the same reference numerals as those corresponding to FIG. 1, and redundant description will be omitted. FIG.
Is almost the same as that of FIG.

【0030】追加された符号量計数部1(513),2
(514)は、メモリ制御部1(501),2(50
7)からメモリ1(502),2(508)へ蓄積され
る画像データの符号化を行い、符号量をカウントして結
果を保持する。ここで生成された符号は符号量カウント
後に破棄される。この符号量の値を参照することによ
り、主制御部は符号データ切り替え部504の設定を切
り替え、各ハードディスクに入力される符号データを振
り分ける。
The added code amount counting units 1 (513), 2
(514) is the memory control unit 1 (501), 2 (50
7) Encode the image data stored in the memories 1 (502) and 2 (508), count the code amount, and hold the result. The code generated here is discarded after the code amount is counted. By referring to the value of the code amount, the main control unit switches the setting of the code data switching unit 504, and sorts the code data input to each hard disk.

【0031】図10のフローチャートを用いて本実施形
態における主制御部が原稿1枚の両面画像の符号データ
を画像蓄積部に蓄積する設定動作を示す。まず、両面同
時に読みとられた画像データがメモリ1(502)に表
画像、メモリ2(508)に裏画像として蓄積される
(S31)。同時に符号量計数部1(513),2(5
14)で符号量がカウントされ、表面符号量>裏面符号
量の時は表面の符号量が大きいことを示すフラグFFL
AG=1とし、そうでないときはFFLAG=0とする
(S32からS34)。
A setting operation in which the main control unit in this embodiment stores the code data of the double-sided image of one document in the image storage unit using the flowchart of FIG. First, the image data read simultaneously on both sides is stored as a front image in the memory 1 (502) and as a back image in the memory 2 (508) (S31). At the same time, the code amount counting units 1 (513) and 2 (5
In 14), the code amount is counted, and a flag FFL indicating that the code amount of the front surface is large when the front code amount is larger than the back code amount.
AG = 1, otherwise FFLAG = 0 (S32 to S34).

【0032】また、ハードディスクの空き容量を比較
し、ハードディスクの空き容量がハードディスク1(5
06)>ハードディスク2(511)の時はハードディ
スク1(506)の空き容量が大きいことを示すHFL
AG=1とし、そうでない場合はHFLAG=0とする
(S35からS37)。これらのフラグの結果が、FF
LAG=1かつHFLAG=1(表面の符号量が大き
く、かつハードディスク1(506)の空き容量が大き
い)、またはFFLAG=0かつHFLAG=0(裏面
の符号量が大きく、かつハードディスク2(511)の
空き容量が大きい)場合は、符号データ切り替え部50
4の設定を図2の設定Aにし、それ以外の場合は設定B
にする(S38からS40)。この設定をした後、メモ
リ1(502)、2(508)からの画像データの符号
を接続先のハードディスクに蓄積する(S41)。
The free space of the hard disk is compared, and the free space of the hard disk is
06)> HFL indicating that the free space of hard disk 1 (506) is large when hard disk 2 (511)
AG = 1, otherwise HFLAG = 0 (S35 to S37). The result of these flags is FF
LAG = 1 and HFLAG = 1 (the code amount on the front side is large and the free space of the hard disk 1 (506) is large), or FFLAG = 0 and HFLAG = 0 (the code amount on the back side is large and the hard disk 2 (511)) If the free space is large), the code data switching unit 50
The setting of No. 4 is changed to the setting A of FIG.
(S38 to S40). After this setting, the codes of the image data from the memories 1 (502) and 2 (508) are stored in the connected hard disk (S41).

【0033】例えば図11に示すように、ハードディス
クに原稿1,2の両面の画像の符号が蓄積されており、
ハードデイスク1の空き容量が大きい場合(HFLAG
=1)、3枚目の両面の画像を蓄積する時、表面の符号
量が裏面の符号量より大きいと符号切り替え部では設定
Aになり、表面の符号がハードディスク1、裏面の符号
がハードディスク2に蓄積され、図12に示すようにハ
ードディスク内部では領域が占有される。
For example, as shown in FIG. 11, the codes of the images on both sides of the originals 1 and 2 are stored on the hard disk.
When the free space on hard disk 1 is large (HFLAG
= 1) When storing the third double-sided image, if the code amount on the front side is larger than the code amount on the back side, the code switching unit sets to A, the sign on the front side is hard disk 1, and the sign on the back side is hard disk 2 The area is occupied in the hard disk as shown in FIG.

【0034】このように本実施形態によれば、ハードデ
ィスクの空き容量が大きい方に符号量が多くなる面の符
号をページ毎に順次蓄積することにより、ハードディス
ク1,2の片方に偏って空き容量が少なくなることを防
ぐことができ、速度を落とすことなく、より多くの両面
原稿の符号を蓄積することができる。
As described above, according to the present embodiment, the codes of the surface having the larger code amount are sequentially accumulated for each page in the direction of the free space of the hard disk, so that the free space is biased toward one of the hard disks 1 and 2. Can be prevented, and more double-sided original codes can be accumulated without reducing the speed.

【0035】[0035]

【発明の効果】請求項1および2記載の発明によれば、
原稿の表裏両面を同時に読み取り、各々の面に対して符
号化を行い、これらの符号を割り当てられた2台の記憶
媒体に蓄積して電子ソートを行う装置において、1台の
記憶媒体の空き容量が新たなページを記憶できる容量以
下の場合、もう1台の記憶媒体に両面の符号を蓄積する
ように切り替えを行うことにより、蓄積先固定の時に比
べ、より多くの枚数の符号データを記憶媒体に蓄積する
ことができる。
According to the first and second aspects of the present invention,
In an apparatus that reads both sides of a manuscript simultaneously, encodes each side, and stores these codes in two assigned storage media for electronic sorting, the free space of one storage medium Is smaller than the capacity for storing a new page, by switching to store the double-sided code in another storage medium, more code data can be stored in the storage medium than when the storage destination is fixed. Can be accumulated.

【0036】請求項1および3記載の発明によれば、原
稿の表裏両面を同時に読み取り、各々の面に対して符号
化を行い、これらの符号を割り当てられた2台の記憶媒
体に蓄積して電子ソートを行う装置において、奇数ペー
ジ、偶数ページ毎に蓄積先の記憶媒体を交互に切り替え
ることにより、蓄積先固定の時に比べ、より多くの枚数
の符号データを記憶媒体に蓄積することができる。請求
項2記載の発明に比べ、全体の蓄積枚数は少なくなる可
能性があるが、符号蓄積の速度低下はなくなる。
According to the first and third aspects of the present invention, both the front and back sides of a document are read simultaneously, coding is performed on each side, and these codes are stored in two assigned storage media. In the device that performs the electronic sorting, by alternately switching the storage medium of the storage destination for each of the odd-numbered page and the even-numbered page, a larger number of code data can be stored in the storage medium than when the storage destination is fixed. As compared with the second aspect of the invention, the total number of stored images may be smaller, but the speed of code storage is not reduced.

【0037】請求項1および4記載の発明によれば、原
稿の表裏両面を同時に読み取り、各々の面に対して符号
化を行い、これらの符号を割り当てられた2台の記憶媒
体に蓄積して電子ソートを行う装置において、空き容量
が大きい蓄積手段に符号量が多い面の符号を蓄積するよ
うに蓄積先の記憶媒体を、読み取り原稿のページ毎に切
り替えることにより、蓄積先固定の時に比べ、より多く
の枚数の符号データを記憶媒体に蓄積することができ
る。請求項3記載の発明に比べ、ハード量は多くなる
が、全体の蓄積枚数を多くできる可能性が高い。
According to the first and fourth aspects of the present invention, the front and back sides of a document are read simultaneously, encoding is performed on each side, and these codes are stored in two assigned storage media. In a device that performs electronic sorting, the storage medium of the storage destination is switched for each page of the read document so that the code of the surface with a large amount of code is stored in the storage unit having a large free space. More code data can be stored in the storage medium. Compared with the third aspect of the present invention, although the amount of hardware is increased, there is a high possibility that the total number of stored images can be increased.

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

【図1】本発明の第1、第2の実施形態による符号化復
号装置における画像蓄積部の構成を示すブロック図であ
る。
FIG. 1 is a block diagram illustrating a configuration of an image storage unit in an encoding / decoding device according to first and second embodiments of the present invention.

【図2】本発明の第1から第3の実施形態による符号デ
ータ切り替え部の設定を示すブロック図である。
FIG. 2 is a block diagram illustrating settings of a code data switching unit according to first to third embodiments of the present invention.

【図3】本発明の第1の実施形態による動作を示すフロ
ーチャートである。
FIG. 3 is a flowchart showing an operation according to the first embodiment of the present invention.

【図4】蓄積先管理テーブルを示す構成図である。FIG. 4 is a configuration diagram showing a storage destination management table.

【図5】原稿が契約書の場合における表面および裏面を
示す構成図である。
FIG. 5 is a configuration diagram illustrating a front surface and a back surface when a document is a contract.

【図6】符号を蓄積する2つのハードディスクの蓄積先
が固定されている場合の各ディスクの空き領域の状態を
示す構成図である。
FIG. 6 is a configuration diagram showing a state of a free area of each disk when storage destinations of two hard disks for storing codes are fixed.

【図7】本発明の第2の実施形態による動作を示すフロ
ーチャートである。
FIG. 7 is a flowchart showing an operation according to the second embodiment of the present invention.

【図8】本発明の第2の実施形態による2つのハードデ
ィスクの空き領域の状態を示す構成図である。
FIG. 8 is a configuration diagram showing a state of a free area of two hard disks according to a second embodiment of the present invention.

【図9】本発明の第3の実施形態による符号化復号装置
における画像蓄積部の構成を示すブロック図である。
FIG. 9 is a block diagram illustrating a configuration of an image storage unit in an encoding / decoding device according to a third embodiment of the present invention.

【図10】本発明の第3の実施形態による動作を示すフ
ローチャートである。
FIG. 10 is a flowchart showing an operation according to a third embodiment of the present invention.

【図11】本発明の第3の実施形態による2つのハード
ディスクの空き領域の状態を示す構成図である。
FIG. 11 is a configuration diagram showing a state of a free area of two hard disks according to a third embodiment of the present invention.

【図12】本発明の第3の実施形態による2つのハード
ディスクの空き領域の状態を示す構成図である。
FIG. 12 is a configuration diagram showing a state of free areas of two hard disks according to a third embodiment of the present invention.

【図13】本発明を適用し得る従来の表裏両面同時読み
取り原稿読み取り装置を示す構成図である。
FIG. 13 is a configuration diagram showing a conventional document reading apparatus for simultaneous reading of both front and back sides to which the present invention can be applied.

【図14】本発明を適用し得る従来の電子ソートを行う
デジタル複写機を示すブロック図である。
FIG. 14 is a block diagram showing a conventional digital copying machine that performs electronic sorting to which the present invention can be applied.

【図15】図14の画像格納部を示すブロック図であ
る。
FIG. 15 is a block diagram showing the image storage unit of FIG. 14;

【図16】従来技術において符号が格納されるハードデ
ィスクの符号配置構成を示す図である。
FIG. 16 is a diagram showing a code arrangement configuration of a hard disk in which codes are stored in the related art.

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

501 メモリ制御部1 502 メモリ1 503 符号化復号部1 504 符号データ切り替え部 505 ハードディスクI/F部1 506 ハードディスク1 507 メモリ制御部2 508 メモリ2 509 符号化復号部2 510 ハードディスクI/F部2 511 ハードディスク2 512 出力信号切り替え部 513 符号量計数部1 514 符号量計数部2 211 主制御部 501 Memory control unit 1 502 Memory 1 503 Encoding / decoding unit 1 504 Code data switching unit 505 Hard disk I / F unit 1 506 Hard disk 1 507 Memory control unit 2 508 Memory 2 509 Encoding / decoding unit 2 510 Hard disk I / F unit 2 511 Hard disk 2 512 Output signal switching unit 513 Code amount counting unit 1 514 Code amount counting unit 2 211 Main control unit

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 原稿の表面、裏面の2面の画像データを
同時に入力する画像入力手段と、 前記両面2枚の画像データの符号化を行う2個の符号化
手段と、 前記2個の符号化手段によって生成された原稿の表面、
裏面に対応する符号を蓄積する2個の符号蓄積手段と、 前記2個の符号蓄積手段に蓄積された原稿の表面、裏面
に対応する符号の復号を行う2個の復号手段と、 前記2個の符号蓄積手段と前記2個の符号化手段及び2
個の復号手段との間に位置し、これらの接続を切り替え
ることにより、前記2個の符号蓄積手段と前記2個の符
号化手段との組み合わせ、および前記2個の符号蓄積手
段と前記2個の復号手段との組み合わせを切り替える符
号データ切り替え手段と、 復号時に参照され、前記2個の復号手段に正しく表面、
裏面の符号が割り当てられるように前記符号データ切り
替え手段の設定により変化する表面、裏面の符号情報の
格納先を記憶する符号格納先記憶手段、とを備えたこと
を特徴とする画像データ符号化復号装置。
1. An image input means for simultaneously inputting image data of two surfaces of a front side and a back side of a document, two encoding units for encoding the two-sided image data, and the two codes Of the manuscript generated by the
Two code storage means for storing codes corresponding to the back side; two decoding means for decoding codes corresponding to the front and back sides of the document stored in the two code storage means; Code storage means and the two coding means and 2
Between the two code accumulating units and the two encoding units, and the combination of the two code accumulating units and the two encoding units. Code data switching means for switching the combination with the decoding means of the above, which is referred to at the time of decoding, and the two decoding means correctly
Image data encoding / decoding comprising: a code storage destination storage means for storing a storage destination of code information of a front surface and a back surface which is changed by setting of the code data switching means so that a code of the back surface is assigned. apparatus.
【請求項2】 ページ蓄積後に前記2個の符号蓄積手段
の片方の空き容量が設定値以下になったとき、前記2個
の符号化手段による符号を、前記2個の符号蓄積手段の
うちの空き容量が設定値以下になっていない方に蓄積す
るように前記符号データ切り替え手段を制御する制御手
段を備えたことを特徴とする請求項1記載の画像データ
符号化復号装置。
2. When the free space of one of the two code storage units becomes equal to or less than a set value after storing the page, the codes of the two code storage units are replaced with the codes of the two code storage units. 2. The image data encoding / decoding apparatus according to claim 1, further comprising control means for controlling said code data switching means so as to accumulate data in a direction in which free space is not less than a set value.
【請求項3】 奇数ページ、偶数ページの入力毎に前記
符号データ切り替え手段を切り替えることにより、表
面、裏面の符号と蓄積先の2個の符号蓄積手段との組み
合わせを交互に切り替えることを特徴とする請求項1記
載の画像データ符号化復号装置。
3. The method according to claim 1, wherein the code data switching means is switched every time an odd-numbered page or an even-numbered page is input, thereby alternately switching the combination of the codes on the front and back sides and the two code storage means of the storage destination. The image data encoding / decoding device according to claim 1.
【請求項4】 表面、裏面の符号蓄積以前に符号量を計
算する符号量計算手段と、前記2個の符号蓄積手段の空
き容量を記憶する空き容量記憶手段とを備え、前記符号
量計算手段と前記空き容量記憶手段の情報に基づいて、
空き容量が大きい方の符号蓄積手段に符号量が多い面の
符号を蓄積するように前記符号データ切り替え手段を前
記制御手段により制御することを特徴とする請求項1記
載の画像データ符号化復号装置。
4. A code amount calculating means for calculating a code amount before code accumulation on the front and back sides, and a free space storing means for storing free space of the two code storing means, wherein the code amount calculating means is provided. And information on the free space storage means,
2. The image data encoding / decoding apparatus according to claim 1, wherein said code data switching means is controlled by said control means so that codes of a surface having a large code amount are stored in a code storage means having a larger free space. .
JP2000395756A 2000-12-26 2000-12-26 Image data encoding/decoding device Pending JP2002199194A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000395756A JP2002199194A (en) 2000-12-26 2000-12-26 Image data encoding/decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000395756A JP2002199194A (en) 2000-12-26 2000-12-26 Image data encoding/decoding device

Publications (1)

Publication Number Publication Date
JP2002199194A true JP2002199194A (en) 2002-07-12

Family

ID=18861165

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000395756A Pending JP2002199194A (en) 2000-12-26 2000-12-26 Image data encoding/decoding device

Country Status (1)

Country Link
JP (1) JP2002199194A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018006848A (en) * 2016-06-28 2018-01-11 京セラドキュメントソリューションズ株式会社 Image forming apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018006848A (en) * 2016-06-28 2018-01-11 京セラドキュメントソリューションズ株式会社 Image forming apparatus

Similar Documents

Publication Publication Date Title
US7123385B2 (en) Image processing apparatus
JP3581037B2 (en) Image processing device
JPH08307618A (en) Image recorder
US5581295A (en) Method and apparatus for resequencing image data for a printhead
JP2002199194A (en) Image data encoding/decoding device
JP2003051952A (en) Image processing apparatus
JP2725683B2 (en) Variable length encoding and decoding method
JP3888500B2 (en) Image data encoding / decoding device
JPH10243130A (en) Image processing unit and image processing method for the image processing unit
US7463375B2 (en) Copier encoding gray-level image data into format for storage and decoding to print remaining copies if memory has large enough storage capacity
JP3632066B2 (en) Digital image copying system
JP2000134478A (en) Image data encoding and decoding device
JPH0397372A (en) Copying device
JP2007286750A (en) Image processing device and image formation device
EP0624301B1 (en) Apparatus and method for processing of image data
JP2001086305A (en) Compound image processor
JPH10150541A (en) Photo-finishing system
JPS62164376A (en) Picture data restoration device
JPS5932243A (en) Picture converting recorder
JP2001245101A (en) Image processing equipment
JPH01278176A (en) Picture signal encoding circuit
JP2002125105A (en) Image processor, image processing method, and computer- readable storage medium with program stored to execute the method
JPH09284516A (en) Picture storage device
JPH09284515A (en) Image processing unit
JP2009141947A (en) Apparatus, method and program for processing image