JP2000022909A - Image data encoding and decoding device - Google Patents

Image data encoding and decoding device

Info

Publication number
JP2000022909A
JP2000022909A JP10189354A JP18935498A JP2000022909A JP 2000022909 A JP2000022909 A JP 2000022909A JP 10189354 A JP10189354 A JP 10189354A JP 18935498 A JP18935498 A JP 18935498A JP 2000022909 A JP2000022909 A JP 2000022909A
Authority
JP
Japan
Prior art keywords
bit
image
image data
code
bit plane
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.)
Granted
Application number
JP10189354A
Other languages
Japanese (ja)
Other versions
JP3888500B2 (en
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 JP18935498A priority Critical patent/JP3888500B2/en
Publication of JP2000022909A publication Critical patent/JP2000022909A/en
Application granted granted Critical
Publication of JP3888500B2 publication Critical patent/JP3888500B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)
  • Image Processing (AREA)
  • Storing Facsimile Image Data (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image data encoding and decoding device which can store more images. SOLUTION: This device is equipped with an image process part which inputs document images, page by page, in the form of 4-bit digital image data and decomposes the 4-bit digital image data into four bit plane images, encoding parts 72a to 72d which compresses the decomposed bit plane images, hard disks 73a to 73d which store codes of the compressed bit plane images, an input signal switching part 71 which switches the correspondence between the codes by the bit plane images and the hard disks 73a to 73d storing them, a decoding part which expands and reproduces the codes by the bit plane images stored on the hard disks 73a to 73d, a main control part which integrates the reproduced bit plane images into 4-bit image data, and an output signal switching part which switches the correspondence between the four integrated bit plane images and bit positions of the generated 4-bit image data. Consequently, the codes by the bit planes can be stored equally on the hard disks 73a to 73d.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、デジタル複写機な
どの画像形成装置において画像データを符号化したり、
復号化されたデータを復号する画像データ符号化復号装
置に関し、特に、電子ソート機能を実現するデジタル画
像形成装置に好適な画像データ符号化復号装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to encoding image data in an image forming apparatus such as a digital copying machine,
The present invention relates to an image data encoding / decoding device that decodes decoded data, and more particularly to an image data encoding / decoding device suitable for a digital image forming device that implements an electronic sorting function.

【0002】[0002]

【従来の技術】デジタル複写機などの画像形成装置にお
いて、原稿の画像情報を読み込んだ順番に内部記憶装置
に蓄え、全原稿を読み込んだ後、内部に蓄積された画像
データを読み込み順に出力する動作を所望部数繰り返す
ことにより、コピー出力のソートを実現した、いわゆる
電子ソート機能を備えたものが提供されている。このよ
うな電子ソート機能付きの複写機は、従来の機械的にソ
ートを行う複写機に比べ、原稿の読み込みが1度で済
み、ソートを行う機械部分が必要なくなるなどの利点が
ある。画像データの蓄積を行う画像蓄積装置としては、
ハードディスクなどの大容量記憶媒体を使うのが一般的
であるが、近年、複写機の画像入出力のスピードが非常
に速くなってきており、特にデータ量が多い多値画像を
扱う場合は、1台のハードディスクにそのまま画像を蓄
積したのでは、ハードディスクのスピードがネックにな
り、電子ソート時の複写機のスピードのパフォーマンス
を落とすことになってしまう。そこで、多値画像データ
のビットプレーン毎に1台のハードディスクを割り当て
て入出力をさせる方式が提案されている。
2. Description of the Related Art In an image forming apparatus such as a digital copying machine, an operation of storing image information of an original in an internal storage device in the reading order, reading all the originals, and outputting the image data stored therein in the reading order. Is provided with a so-called electronic sort function that realizes sorting of copy output by repeating a desired number of copies. Such a copying machine with an electronic sort function has the advantages that a document is read only once and a mechanical part for sorting is not required, as compared with a conventional copying machine that performs mechanical sorting. As an image storage device that stores image data,
Generally, a large-capacity storage medium such as a hard disk is used. However, in recent years, the image input / output speed of a copying machine has become extremely high. If images are stored directly on one hard disk, the speed of the hard disk becomes a bottleneck, and the performance of the speed of the copying machine during electronic sorting is reduced. Therefore, a method has been proposed in which one hard disk is assigned to each bit plane of multi-valued image data and input / output is performed.

【0003】この従来の方式を多値4ビットの場合を例
にとって図11ないし図13に基づいて説明する。図1
1は多値ビットを複数のハードディスクに割り当てる場
合の従来例を説明するための図、図12は従来における
画像データの上位および下位ビットと符号量との関係を
説明するための図、図13は従来における各ハードディ
スクに割り当てられる各符号の一例を説明するための図
である。
The conventional system will be described with reference to FIGS. 11 to 13 taking a case of multi-valued 4 bits as an example. FIG.
1 is a diagram for explaining a conventional example in which multi-valued bits are allocated to a plurality of hard disks, FIG. 12 is a diagram for explaining the relationship between upper and lower bits of image data and a code amount in the related art, and FIG. FIG. 10 is a diagram for explaining an example of each code assigned to each hard disk in the related art.

【0004】従来では、図11に示すように、4ビット
のデータのうちの最下位ビットであるビット0は第1ハ
ードディスクに、同じく下位ビットのビット1は第2ハ
ードディスクに、上位ビットであるビット3は第3ハー
ドディスクに、同じく最上位ビットであるビット4は第
4ハードディスクにというように割り当てていた。この
場合、図示していないが、第1ないし第4の各ハードデ
ィスクに多くの枚数の原稿を蓄積するためには、ハード
ディスクの入出力の手前に符号化復号部を設けて、各ビ
ットプレーン毎にMMRやQM−Coderなどの2値
画像圧縮アルゴリズムを用いて符号化し、データ量を減
らして蓄積することが有効である。
Conventionally, as shown in FIG. 11, bit 0 which is the least significant bit of 4-bit data is assigned to the first hard disk, bit 1 of the lower bit is assigned to the second hard disk, and bit 0 which is the upper bit. Bit 3 is allocated to the third hard disk, bit 4 which is also the most significant bit is allocated to the fourth hard disk, and so on. In this case, although not shown, in order to accumulate a large number of documents on each of the first to fourth hard disks, an encoding / decoding unit is provided in front of the input / output of the hard disk, and an encoding / decoding unit is provided for each bit plane. It is effective to encode using a binary image compression algorithm such as MMR or QM-coder and reduce the amount of data to store.

【0005】しかし、ビットプレーン毎に圧縮する場
合、図12(a)に示すように画素間相関が高い上位ビ
ットプレーンの画像は圧縮率が良く、符号量が少なくな
るが、図12(b)に示すように下位ビットになるほど
画素間相関がなくなり、圧縮できず符号量が多くなると
いう問題点がある。このため、4台のハードディスクの
容量を同じにし、図11に示した割り当てで符号を蓄積
していく場合を考えると、符号量は 「第4ハードディスクに蓄積される符号量」<「第3ハ
ードディスクに蓄積される符号量」<「第2ハードディ
スクに蓄積される符号量」<「第1ハードディスクに蓄
積される符号量」 という関係が成り立つ。
[0005] However, when compression is performed for each bit plane, as shown in FIG. 12A, an image of an upper bit plane having a high correlation between pixels has a good compression rate and a small code amount. As shown in (1), there is a problem that the correlation between pixels becomes less as the lower bits become smaller, so that compression cannot be performed and the code amount increases. For this reason, considering the case where the capacity of the four hard disks is set to be the same and codes are stored by the allocation shown in FIG. 11, the code amount is “the code amount stored in the fourth hard disk” <“the third hard disk”. The amount of code stored in the first hard disk <the amount of code stored in the second hard disk <the amount of code stored in the first hard disk holds.

【0006】ここで図13に示すように、4枚の画像
(画像0〜3)を上記のようにビットプレーン毎に圧縮
し、第1ないし第4のハードディスクに蓄積すること、
すなわち第1ハードディスクには画像0〜3のビット0
の符号を、第2ハードディスクには画像0〜3のビット
1の符号を、第3ハードディスクには画像0〜3のビッ
ト2の符号を、そして第4ハードディスクには画像0〜
3のビット3の符号を蓄積することを考える。図13に
おいて縦方向の高さで符号量の多さを示し、矢印の長さ
がハードディスクの容量を示している。図13のように
符号を蓄積していった場合、上述のような符号量の関係
があるので、第1ハードディスクに空きがなくなったと
き、図示するように第2ないし第4の他のハードディス
クにはまだ空き容量がある可能性が高い。しかしなが
ら、最下位のビットプレーン画像が蓄積できなくなるの
で、これ以上画像データを符号化して貯めることができ
なくなる。
Here, as shown in FIG. 13, four images (images 0 to 3) are compressed for each bit plane as described above, and are stored in the first to fourth hard disks.
That is, bit 0 of images 0 to 3 is stored in the first hard disk.
The second hard disk has the code of bit 1 of images 0 to 3, the third hard disk has the code of bit 2 of images 0 to 3, and the fourth hard disk has images 0 to 3.
Consider storing the 3 bit 3 code. In FIG. 13, the amount of code amount is indicated by the height in the vertical direction, and the length of the arrow indicates the capacity of the hard disk. When codes are accumulated as shown in FIG. 13, since there is a relation of the code amount as described above, when the first hard disk runs out of space, as shown in FIG. Is likely to still have free space. However, since the lowest-order bit plane image cannot be stored, the image data cannot be encoded and stored any more.

【0007】このような問題に対しては、例えば特開平
6−311371号公報に見られるように、上位のビッ
トプレーンは符号化圧縮率が比較的低いMMR方式で符
号化処理し、下位のビットプレーンについてはMMR方
式よりは符号化圧縮率が高いQMコーダ方式で符号化処
理することで上記の問題を回避することが提案されてい
To solve such a problem, as shown in, for example, Japanese Patent Application Laid-Open No. Hei 6-31371, the upper bit plane is coded by the MMR method having a relatively low coding compression rate, and the lower bit plane is coded. It has been proposed to avoid the above problem by encoding the plane using a QM coder method having a higher encoding compression rate than the MMR method.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、上記の
特開平6−311371号公報に開示された方式では、
上位ビットに高い圧縮率の符号化方式を用いることがで
きないので、上位ビットの符号蓄積の効率が良くない。
また、単に高い圧縮率の符号化方式を用いても最下位ビ
ットの圧縮率とほぼ同じにすることはできない。
However, in the method disclosed in the above-mentioned Japanese Patent Application Laid-Open No. 6-311371,
Since an encoding method with a high compression ratio cannot be used for the upper bits, the efficiency of code accumulation of the upper bits is not good.
Further, simply using a coding scheme with a high compression rate cannot make the compression rate almost the same as the compression rate of the least significant bit.

【0009】本発明はこのような従来技術の実情に鑑み
てなされたもので、その目的は、各ハードディスクに均
等の量に符号を蓄積することができ、より多くの枚数の
画像を蓄積することができる画像データ符号化復号装置
を提供することにある。
The present invention has been made in view of such a situation of the prior art, and has as its object to store codes in an equal amount on each hard disk and to store a larger number of images. It is another object of the present invention to provide an image data encoding / decoding device which can perform the following.

【0010】[0010]

【課題を解決するための手段】前記目的を達成するた
め、第1手段は、原稿画像をnビットのデジタル画像デ
ータとして1頁ずつ入力する画像入力手段と、前記nビ
ットのデジタル画像データをn枚のビットプレーン画像
として分解するビットプレーン画像生成手段と、このビ
ットプレーン画像生成手段によって分解されたビットプ
レーン画像を圧縮するn個の符号化手段と、この符号化
手段によって圧縮されたビットプレーン画像の符号を格
納するn個の符号蓄積手段と、前記各ビットプレーン画
像毎の符号と該符号を蓄積するn個の符号蓄積手段との
対応を切り替える第1の信号切り替え手段と、前記n個
の符号蓄積手段に蓄積されている各ビットプレーン画像
毎の符号を伸長して再生するn個の復号手段と、この復
号手段によって再生された各ビットプレーン画像をnビ
ットの画像データに統合するビットプレーン画像統合手
段と、前記統合されるn枚のビットプレーン画像と生成
されるnビットの画像データのビット位置との対応を切
り替える第2の信号切り替え手段とを備えたことを特徴
としている。
In order to achieve the above object, the first means comprises: image input means for inputting a document image as n-bit digital image data one page at a time; Bit plane image generating means for decomposing as a single bit plane image, n encoding means for compressing the bit plane image decomposed by the bit plane image generating means, and bit plane image compressed by the encoding means N code accumulating means for storing the code of each bit plane image; first signal switching means for switching the correspondence between the code for each bit plane image and the n code accumulating means for accumulating the code; N decoding means for expanding and reproducing the code for each bit plane image stored in the code storage means, and reproducing by this decoding means Bit plane image integration means for integrating each of the obtained bit plane images into n-bit image data, and a second unit for switching a correspondence between the integrated n bit plane images and the bit positions of the generated n-bit image data. And two signal switching means.

【0011】また、第2の手段は、第1の手段におい
て、前記画像入力手段で入力された画像データのページ
毎に番号をつけて管理する画像データ管理手段と、この
画像データ管理手段でつけられた各画像の番号を参照し
て、前記第1の信号切り替え手段と第2の信号切り替え
手段を制御し、前記各対応を切り替える信号切り替え制
御手段とをさらに備えたことを特徴としている。
The second means is an image data management means for assigning a number to each page of the image data input by the image input means and managing the image data, and the image data management means. It is characterized by further comprising a signal switching control means for controlling the first signal switching means and the second signal switching means with reference to the number of each of the obtained images and for switching the correspondence.

【0012】さらに、第3の手段は、第1の手段におい
て、前記n個の符号蓄積手段の空き容量の大きさを比較
する空き容量比較手段と、この空き容量比較手段の比較
結果に基づいて前記第1の信号切り替え手段と第2の信
号切り替え手段を制御し、前記各対応を切り替える信号
切り替え制御手段とをさらに備えたことを特徴としてい
る。
Further, a third means is the first means, wherein a free capacity comparing means for comparing the size of the free capacity of the n code accumulating means and a comparison result of the free capacity comparing means. It is characterized by further comprising a signal switching control means for controlling the first signal switching means and the second signal switching means and for switching the correspondence.

【0013】[0013]

【発明の実施の形態】以下、図面を参照し、本発明の実
施の形態について説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0014】図1は本発明の実施の形態に係る複写機の
全体構成を示す機能ブロック図、図2は図1における画
像蓄積部の構成を詳細に説明するための図、図3は図2
における各符号化部とビットプレーンとの組合せの設定
を示す図、図4は図1の主制御部のメモリの各ハードデ
ィスクに対応するアドレス管理テーブルを示す図、図5
は図1の信号切り替え部の設定を画像番号の下位ビット
により切り替える場合の一例を示す表、図6は図2の各
ハードディスクに割り当てられる各符号の一例を説明す
るための図、図7は図1の画像蓄積部における復号部の
構成を説明するための図である。
FIG. 1 is a functional block diagram showing an entire configuration of a copying machine according to an embodiment of the present invention, FIG. 2 is a diagram for explaining in detail the configuration of an image storage unit in FIG. 1, and FIG.
FIG. 4 is a diagram showing an address management table corresponding to each hard disk in the memory of the main control unit in FIG. 1, and FIG.
FIG. 6 is a table showing an example in which the setting of the signal switching unit in FIG. 1 is switched by the lower bit of the image number, FIG. 6 is a diagram for explaining an example of each code assigned to each hard disk in FIG. 2, and FIG. FIG. 3 is a diagram for describing a configuration of a decoding unit in one image storage unit.

【0015】図1において、デジタル複写機は、主制御
部1と、この主制御部1に対してバスを介して接続され
た画像形成要素3,4,5,6,7,8から基本的に構
成されている。主制御部1はCPU、ROM、RAMな
どで構成され、複写装置全体を制御する。この主制御部
1にバスで接続された操作部2は、複写装置の種々の操
作および設定を行う。主制御部1にはまた、バスにより
前記画像形成要素である自動原稿送り装置3、スキャナ
4、A/D変換部5、画像処理部6、画像蓄積部7およ
び記録部8が接続されている。自動原稿送り装置3は、
これを使用するときは複数枚の原稿をセットすると、1
枚ずつスキャナ4の原稿台に原稿を搬送し、スキャナ4
が原稿を1枚ずつ読める状態にする。スキャナ4では原
稿の読み込みを行い、スキャナ4からの画像データ信号
はA/D変換部5に送られ、ここで画像データ信号を4
ビットのデジタル信号に変換する。
In FIG. 1, the digital copier comprises a main control unit 1 and image forming elements 3, 4, 5, 6, 7, and 8 connected to the main control unit 1 via a bus. Is configured. The main control unit 1 includes a CPU, a ROM, a RAM, and the like, and controls the entire copying apparatus. An operation unit 2 connected to the main control unit 1 via a bus performs various operations and settings of the copying apparatus. The main control unit 1 is also connected to the automatic document feeder 3, scanner 4, A / D converter 5, image processing unit 6, image storage unit 7, and recording unit 8, which are the image forming elements, via a bus. . The automatic document feeder 3
When using this, if you set multiple originals,
Documents are transported one by one to the platen of the scanner 4, and the scanner 4
Make the originals readable one by one. The scanner 4 reads an original, and an image data signal from the scanner 4 is sent to an A / D conversion unit 5, where the image data signal is converted to an A / D signal.
Convert to a bit digital signal.

【0016】画像処理部6では、変倍や濃度調整などの
画像処理が行われ、記録部8から読み取られた原稿をコ
ピーとして出力する。画像蓄積部7は、メモリやハード
ディスク等の記憶装置で構成され、画像処理部6からの
画像データを一時記憶した後、読み出して記録部8から
コピーとして出力することができる。画像蓄積部7に
は、蓄積量削減のため、画像データを圧縮して符号とし
て蓄積する符号化部と、符号化されたデータを伸長して
画像データに戻す復号部とを有する。画像蓄積部7は、
ソート動作時には、全ページの原稿を記憶した後、記録
部へ画像データを入力順に転送することにより、全ペー
ジのコピー出力を行い、これらの動作を必要部数分繰り
返して行う。なお、図1において、実線は制御信号の受
け渡しを、そして2重線は画像データ信号の受け渡しを
示している。
The image processing section 6 performs image processing such as scaling and density adjustment, and outputs a document read from the recording section 8 as a copy. The image storage unit 7 is configured by a storage device such as a memory or a hard disk. The image storage unit 7 can temporarily store the image data from the image processing unit 6, read it out, and output it as a copy from the recording unit 8. The image storage unit 7 includes an encoding unit that compresses image data and stores it as a code in order to reduce the amount of storage, and a decoding unit that expands the encoded data and returns it to image data. The image storage unit 7
At the time of the sorting operation, after storing the originals of all pages, the image data is transferred to the recording unit in the order of input, thereby copying and outputting all the pages, and these operations are repeated for the required number of copies. In FIG. 1, a solid line indicates transfer of a control signal, and a double line indicates transfer of an image data signal.

【0017】次に本発明の特徴部である画像蓄積部7に
ついて更に詳細に説明する。画像蓄積部7は4ビットの
画像データをビットプレーン毎に符号化して蓄積するも
ので、図2に示すように、各ビットプレーンが入力され
る入力信号切り替え部71と、ビットプレーン毎に符号
化する第1ないし第4符号化部72a、72b、72
c、72dと、これら4つの第1ないし第4符号化部7
2a〜72dにそれぞれ接続される4つの第1ないし第
4ハードディスク73a、73b、73c、73dとを
備えている。入力信号切り替え部71はどのビットプレ
ーンがどの符号化部に入力されるかを選択するもので、
その設定の組み合わせは図3に示す設定1〜4の4通り
で、各ビットプレーンが設定毎に違う符号化部とつなが
るようになっている。
Next, the image storage unit 7, which is a feature of the present invention, will be described in more detail. The image storage unit 7 encodes and stores 4-bit image data for each bit plane. As shown in FIG. 2, an input signal switching unit 71 to which each bit plane is input, and an encoding unit for each bit plane. First to fourth encoding units 72a, 72b, 72
c, 72d and these four first to fourth encoding units 7
It has four first to fourth hard disks 73a, 73b, 73c, 73d connected to 2a to 72d, respectively. The input signal switching unit 71 selects which bit plane is input to which encoding unit.
The combinations of the settings are four types of settings 1 to 4 shown in FIG. 3, and each bit plane is connected to a different encoding unit for each setting.

【0018】第1ないし第4符号化部72a〜72dか
ら第1ないし第4ハードディスク73a〜73dへ蓄積
された符号は、図4に示すように、主制御部1に備えら
れたメモリ(図示しない)内に各4ハードディスク73
a〜73dの各々に対応するアドレス管理テーブルを持
ち、入力された画像順に画像番号(画像0、1、2・・
・)で管理される。すなわち、画像番号毎に符号を格納
したテーブルのハードディスク内の書き込み開始アドレ
ス(A10、A11・・・)がメモリに記憶されてい
る。また、画像番号の下位2ビットを参照し、画像毎に
図5に示すように、信号切り替え部71の設定の変更を
行う。
Codes stored in the first to fourth hard disks 73a to 73d from the first to fourth encoding units 72a to 72d are stored in a memory (not shown) provided in the main control unit 1 as shown in FIG. 4) Hard disk 73 in each
a-73d, and has an address management table corresponding to each of the image numbers (images 0, 1, 2,...) in the order of the input images.
・). That is, the write start addresses (A10, A11...) In the hard disk of the table storing the codes for each image number are stored in the memory. Further, referring to the lower two bits of the image number, the setting of the signal switching unit 71 is changed for each image as shown in FIG.

【0019】このように画像1枚を格納する毎に、各ビ
ットプレーンの符号の格納先のハードディスクを切り替
えることにより、従来例においては図13に示すように
振り分けられていた各符号は、本発明の実施の形態にお
いては図6に示すように振り分けられる。すなわち、画
像0においてはビット0の符号が第1ハードディスク7
3aに、ビット1の符号が第2ハードディスク73b
に、ビット2の符号が第3ハードディスク73cに、そ
してビット3の符号が第4ハードディスク73dに振り
分けられる。次の画像1においては、ビット0の符号は
第4ハードディスク73dに、ビット1の符号は第1ハ
ードディスク73aに、ビット2の符号は第2ハードデ
ィスク73bに、そしてビット3の符号は第3ハードデ
ィスク73cに振り分けられる。以下、画像2について
は、ビット0の符号は第3ハードディスク73cに、ビ
ット1の符号は第4ハードディスク73dに、ビット2
の符号は第1ハードディスク73aに、ビット3の符号
は第2ハードディスク73bに振り分け、画像3につい
ては、ビット0の符号は第2ハードディスク73bに、
ビット1の符号は第3ハードディスク73cに、ビット
2の符号は第4ハードディスク73dに、ビット3の符
号は第1ハードディスク73aにと振り分けらられる。
これにより第1ないし第4ハードディスク73a〜73
dはほぼ均等な空き領域を確保することができ、これら
空き領域に新たな画像の符号を追加することが可能にな
る。
As described above, by switching the hard disk of the storage destination of the code of each bit plane every time one image is stored, each code which has been allocated as shown in FIG. In the embodiment, the distribution is performed as shown in FIG. That is, in the image 0, the code of the bit 0 is
3a, the code of bit 1 is the second hard disk 73b
The code of bit 2 is allocated to the third hard disk 73c, and the code of bit 3 is allocated to the fourth hard disk 73d. In the next image 1, the code of bit 0 is on the fourth hard disk 73d, the code of bit 1 is on the first hard disk 73a, the code of bit 2 is on the second hard disk 73b, and the code of bit 3 is on the third hard disk 73c. It is distributed to. Hereinafter, for image 2, the code of bit 0 is stored in the third hard disk 73c, the code of bit 1 is stored in the fourth hard disk 73d,
Is assigned to the first hard disk 73a, the code of bit 3 is assigned to the second hard disk 73b, and for image 3, the code of bit 0 is assigned to the second hard disk 73b.
The code of bit 1 is allocated to the third hard disk 73c, the code of bit 2 is allocated to the fourth hard disk 73d, and the code of bit 3 is allocated to the first hard disk 73a.
Thereby, the first to fourth hard disks 73 a to 73 a
d can secure substantially equal empty areas, and it becomes possible to add a new image code to these empty areas.

【0020】このように蓄積された符号データは、図7
に示す画像蓄積部7の復号部によって復号され、ビット
プレーン画像に戻される。復号部は第1ないし第4ハー
ドディスク73a〜73dにそれぞれ接続された第1な
いし第4復号部74a〜74dと、これら第1ないし第
4復号部74a〜74dにより復号された符号をビット
プレーンに戻すための出力信号切り替え部75とからな
る。第1ないし第4ハードディスク73a〜73dは、
主制御部1で画像番号毎に第1ないし第4ハードディス
ク73a〜73d内の開始アドレスを参照して、これら
第1ないし第4ハードディスク73a〜73dからの読
み出しを行う。出力信号切り替え部75は、主制御部1
で画像番号の下位ビットを参照して、図5に従い、各ビ
ット位置への接続を切り替える。
The code data thus accumulated is shown in FIG.
Are decoded by the decoding unit of the image storage unit 7 and returned to the bit plane image. The decoding unit returns the first to fourth decoding units 74a to 74d connected to the first to fourth hard disks 73a to 73d and the codes decoded by the first to fourth decoding units 74a to 74d to the bit plane. And an output signal switching unit 75. The first to fourth hard disks 73a to 73d are
The main controller 1 refers to the start addresses in the first to fourth hard disks 73a to 73d for each image number and performs reading from the first to fourth hard disks 73a to 73d. The output signal switching unit 75 includes the main control unit 1
The connection to each bit position is switched according to FIG. 5 by referring to the lower bits of the image number.

【0021】このように、本実施形態では、電子ソート
で多値画像データをビットプレーン毎に符号化し、ビッ
トプレーン毎の符号を別々のハードディスクに蓄積する
方式において、画像毎に各ビットプレーンを格納するハ
ードディスクを切り替えるようにした。これにより、ビ
ットプレーン固定の場合に比べ、各ハードディスクに均
等に符号を蓄積することができ、より多くの枚数の画像
を蓄積することが可能となる。
As described above, in the present embodiment, the multi-level image data is encoded for each bit plane by electronic sorting, and the code for each bit plane is stored in a separate hard disk, and each bit plane is stored for each image. Changed the hard disk to be used. As a result, compared with the case where the bit plane is fixed, codes can be stored evenly in each hard disk, and a larger number of images can be stored.

【0022】上述したビットプレーンとハードディスク
の対応の切り替えは、画像番号の下位2ビットで行って
いるが、この切り替えはハードディスクの空き領域の大
きさで行うようにしてもよい。すなわち、図8に示すよ
うに、まず最初の画像すなわち、画像0の符号が各ビッ
トプレーン毎に第1ないし第4ハードディスク73a〜
73dに蓄積される。これによりビット0の符号が蓄積
される第1ハードディスク73aの空き領域が最も少な
くなり、次には圧縮率が高くなることが予想されるの
で、2枚目の画像である画像1ではビット3の符号が第
1ハードディスク73aに蓄積されるように、主制御部
1で入力信号切り替え部71の設定を図5の設定4に切
り替える。このように、空き領域がもっとも少なくなっ
たハードディスク上に最上位のビット3の符号が割り当
てられるように、図9に従い設定を切り替える。この方
法に従い、2枚目の画像を第1ないし第4ハードディス
ク73a〜73dに格納すると、図10に示すように、
第1ないし第4ハードディスク73a〜73dに符号が
格納される。次に画像を格納するときは、第2ハードデ
ィスク73bの空き領域が少なくなるので、入力信号切
り替え部75は、図9に従い、設定3に設定する。
The above-mentioned switching between the bit plane and the hard disk is performed by the lower two bits of the image number. However, this switching may be performed by the size of the free area of the hard disk. That is, as shown in FIG. 8, the first image, that is, the code of the image 0 is assigned to each of the first to fourth hard disks 73a to 73a for each bit plane.
73d. As a result, it is expected that the free space of the first hard disk 73a in which the code of bit 0 is accumulated becomes the smallest, and that the compression ratio is expected to increase next. The main control unit 1 switches the setting of the input signal switching unit 71 to the setting 4 in FIG. 5 so that the code is stored in the first hard disk 73a. In this way, the setting is switched according to FIG. 9 so that the code of the most significant bit 3 is assigned to the hard disk having the least available space. According to this method, when the second image is stored in the first to fourth hard disks 73a to 73d, as shown in FIG.
The codes are stored in the first to fourth hard disks 73a to 73d. When the next image is to be stored, the free space in the second hard disk 73b is reduced, so the input signal switching unit 75 sets the setting 3 according to FIG.

【0023】一方、画像を第1ないし第4ハードディス
ク73a〜73dから復号して取り出すときは、図4に
示すアドレス管理テーブルの開始アドレスを第1ないし
第4ハードディスク73a〜73dの各ハードディスク
毎に設定を比較する。この開始アドレスが最も大きい値
になるハードディスクが、今読み出そうとしている画像
を蓄積したとき、空き領域が最も少ないことが分かるの
で、図9に従い、図7の出力信号切り替え部75を切り
替えれば、元のビットプレーンの位置に戻すことができ
る。
On the other hand, when an image is decoded and taken out from the first to fourth hard disks 73a to 73d, the start address of the address management table shown in FIG. 4 is set for each of the first to fourth hard disks 73a to 73d. Compare. When the hard disk having the highest start address stores the image to be read, the empty area is found to be the smallest. Therefore, according to FIG. 9, if the output signal switching unit 75 in FIG. It can be returned to the original bit plane position.

【0024】このように、ビットプレーン毎の符号を別
々のハードディスクに蓄積する方式において、画像毎に
空き領域が少ないハードディスクに対して最上位のビッ
トプレーンの符号を蓄積するように切り替えることによ
り、ビットプレーン固定の場合に比べて各ハードディス
クに均等の量の符号を蓄積することができ、より多くの
枚数の画像を蓄積することができる。
As described above, in the method of storing the codes for each bit plane on a separate hard disk, switching is performed so that the codes of the uppermost bit plane are stored in the hard disk having a small free space for each image. Compared with the case where the plane is fixed, the same amount of codes can be stored in each hard disk, and a larger number of images can be stored.

【0025】[0025]

【発明の効果】これまでの説明から明らかなように、請
求項1記載の発明によれば、画像毎に順番に各ビットプ
レーンの符号を格納する符号蓄積手段を切り替えていく
ので、各符号蓄積手段に均等の量の符号を蓄積すること
ができる。これにより、より多くの枚数の画像を蓄積す
ることが可能となる。
As is apparent from the above description, according to the first aspect of the present invention, the code storage means for storing the code of each bit plane is sequentially switched for each image. An equal amount of codes can be stored in the means. This makes it possible to store a larger number of images.

【0026】請求項2記載の発明によれば、画像データ
のページ毎に番号をつけて管理するとともに、各画像の
番号を参照しながら信号の切り替えを制御するので、多
数枚の画像も効率良く管理できる。また、各ビットプレ
ーン画像毎の符号とそれを蓄積するn個の符号蓄積手段
の対応の切り替えや、統合されるn枚のビットプレーン
画像と生成されるnビットの画像データのビット位置と
の対応の切り替えも適切に行うことができる。
According to the second aspect of the present invention, a number is assigned to each page of image data and managed, and signal switching is controlled while referring to the number of each image. Can manage. Also, the correspondence between the code for each bit plane image and the n code accumulation means for accumulating the same is switched, and the correspondence between the n bit plane images to be integrated and the bit positions of the generated n-bit image data. Can be appropriately switched.

【0027】請求項3記載の発明によれば、符号蓄積手
段の空き容量の大きさを比較して画像毎に空き領域が少
ない符号蓄積手段に対して最上位のビットプレーンの符
号を蓄積するように切り替えるので、ビットプレーン固
定の場合に比べ各符号蓄積手段に均等の量の符号を蓄積
することができる。これによって、より多くの枚数の画
像を蓄積することが可能になる。
According to the third aspect of the present invention, the size of the free space of the code storage means is compared, and the code of the most significant bit plane is stored in the code storage means having a small free area for each image. , It is possible to store an equal amount of codes in each code storage unit as compared with the case where the bit plane is fixed. This makes it possible to store a larger number of images.

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

【図1】本発明の実施の形態の全体構成を示すブロック
図である。
FIG. 1 is a block diagram showing an overall configuration of an embodiment of the present invention.

【図2】図1における画像蓄積部の構成を示す図であ
る。
FIG. 2 is a diagram illustrating a configuration of an image storage unit in FIG. 1;

【図3】図2における各符号化部とビットプレーンとの
組合せの設定の一例を示す図である。
FIG. 3 is a diagram illustrating an example of setting of a combination of each encoding unit and a bit plane in FIG. 2;

【図4】図1の主制御部のメモリの各ハードディスクに
対応するアドレス管理テーブルの一例を示す図である。
FIG. 4 is a diagram showing an example of an address management table corresponding to each hard disk in a memory of a main control unit in FIG. 1;

【図5】図1の信号切り替え部の設定を画像番号の下位
ビットにより切り替える場合の一例を示す図である。
FIG. 5 is a diagram illustrating an example of a case where the setting of a signal switching unit in FIG. 1 is switched by a lower bit of an image number.

【図6】図2の各ハードディスクに割り当てられる各符
号の一例を示す図である。
FIG. 6 is a diagram showing an example of each code assigned to each hard disk in FIG. 2;

【図7】図1の画像蓄積部における復号部の構成を示す
図である。
FIG. 7 is a diagram illustrating a configuration of a decoding unit in the image storage unit of FIG. 1;

【図8】各ビットプレーンとハードディスクの対応の切
り替えの別の方式を示す図である。
FIG. 8 is a diagram showing another method of switching the correspondence between each bit plane and a hard disk.

【図9】図8の方式におけるハードディスクと信号の切
り替えの設定を示す図である。
FIG. 9 is a diagram showing a setting of switching between a hard disk and a signal in the system of FIG. 8;

【図10】図8の方式における2枚目の画像を格納した
ときの符号の格納状態を示す図である。
FIG. 10 is a diagram illustrating a storage state of codes when a second image is stored in the method of FIG. 8;

【図11】多値ビットを複数のハードディスクに割り当
てる場合の従来例を示す図である。
FIG. 11 is a diagram showing a conventional example in which multi-valued bits are assigned to a plurality of hard disks.

【図12】従来における画像データの上位および下位ビ
ットと符号量との関係を示す図である。
FIG. 12 is a diagram showing a relationship between upper and lower bits of image data and a code amount in the related art.

【図13】従来における各ハードディスクに割り当てら
れる各符号の一例を示す図である。
FIG. 13 is a diagram showing an example of each code assigned to each hard disk in the related art.

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

1 主制御部 2 操作部 4 スキャナ 5 A/D変換部 6 画像処理部 7 画像蓄積部 8 記録部 71 入力信号切り替え部 72a,72b,72c,72d 符号化部 73a,73b,73c,73d ハードディスク 74a,73b,73c,74d 復号部 75 出力信号切り替え部 DESCRIPTION OF SYMBOLS 1 Main control part 2 Operation part 4 Scanner 5 A / D conversion part 6 Image processing part 7 Image storage part 8 Recording part 71 Input signal switching part 72a, 72b, 72c, 72d Encoding part 73a, 73b, 73c, 73d Hard disk 74a , 73b, 73c, 74d Decoding section 75 Output signal switching section

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B047 AA01 AB02 EA10 EB01 5B057 AA11 BA02 CA02 CA08 CA12 CA16 CB02 CB08 CB12 CB16 CC01 CG01 CH12 5B065 BA01 CA30 CC01 CS04 5C073 AA02 AA06 BA06 BB02 BC02 CE01  ────────────────────────────────────────────────── ─── Continued on the front page F term (reference) 5B047 AA01 AB02 EA10 EB01 5B057 AA11 BA02 CA02 CA08 CA12 CA16 CB02 CB08 CB12 CB16 CC01 CG01 CH12 5B065 BA01 CA30 CC01 CS04 5C073 AA02 AA06 BA06 BB02 BC02 CE01

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 原稿画像をnビットのデジタル画像デー
タとして1頁ずつ入力する画像入力手段と、 前記nビットのデジタル画像データをn枚のビットプレ
ーン画像として分解するビットプレーン画像生成手段
と、 このビットプレーン画像生成手段によって分解されたビ
ットプレーン画像を圧縮するn個の符号化手段と、 この符号化手段によって圧縮されたビットプレーン画像
の符号を格納するn個の符号蓄積手段と、 前記各ビットプレーン画像毎の符号と該符号を蓄積する
n個の符号蓄積手段との対応を切り替える第1の信号切
り替え手段と、 前記n個の符号蓄積手段に蓄積されている各ビットプレ
ーン画像毎の符号を伸長して再生するn個の復号手段
と、 この復号手段によって再生された各ビットプレーン画像
をnビットの画像データに統合するビットプレーン画像
統合手段と、 前記統合されるn枚のビットプレーン画像と生成される
nビットの画像データのビット位置との対応を切り替え
る第2の信号切り替え手段と、を備えたことを特徴とす
る画像データ符号化復号装置。
An image input unit for inputting a document image as n-bit digital image data one page at a time; a bit-plane image generating unit for decomposing the n-bit digital image data into n bit-plane images; N encoding means for compressing the bit plane image decomposed by the bit plane image generating means; n code accumulating means for storing the code of the bit plane image compressed by the encoding means; First signal switching means for switching the correspondence between a code for each plane image and n code storage means for storing the code, and a code for each bit plane image stored in the n code storage means. N decoding means for decompressing and reproducing, and n-bit image data for each bit plane image reproduced by the decoding means And a second signal switching unit that switches a correspondence between the n bit plane images to be integrated and a bit position of the generated n-bit image data. Characteristic image data encoding / decoding device.
【請求項2】 前記画像入力手段で入力された画像デー
タのページ毎に番号をつけて管理する画像データ管理手
段と、 この画像データ管理手段でつけられた各画像の番号を参
照して、前記第1の信号切り替え手段と第2の信号切り
替え手段を制御し、前記各対応を切り替える信号切り替
え制御手段と、をさらに備えたことを特徴とする請求項
1記載の画像データ符号化復号装置。
2. An image data management means for assigning and managing a number for each page of image data input by said image input means, and referring to the number of each image assigned by said image data management means, 2. The image data encoding / decoding apparatus according to claim 1, further comprising: a signal switching control unit that controls the first signal switching unit and the second signal switching unit and switches the correspondence.
【請求項3】 前記n個の符号蓄積手段の空き容量の大
きさを比較する空き容量比較手段と、 この空き容量比較手段の比較結果に基づいて前記第1の
信号切り替え手段と第2の信号切り替え手段を制御し、
前記各対応を切り替える信号切り替え制御手段と、をさ
らに備えたことを特徴とする請求項1記載の画像データ
符号化復号装置。
3. A free capacity comparing means for comparing the size of free capacity of the n code accumulating means, and the first signal switching means and the second signal based on a comparison result of the free capacity comparing means. Control the switching means,
2. The image data encoding / decoding apparatus according to claim 1, further comprising: signal switching control means for switching the correspondence.
JP18935498A 1998-07-03 1998-07-03 Image data encoding / decoding device Expired - Fee Related JP3888500B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18935498A JP3888500B2 (en) 1998-07-03 1998-07-03 Image data encoding / decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18935498A JP3888500B2 (en) 1998-07-03 1998-07-03 Image data encoding / decoding device

Publications (2)

Publication Number Publication Date
JP2000022909A true JP2000022909A (en) 2000-01-21
JP3888500B2 JP3888500B2 (en) 2007-03-07

Family

ID=16239931

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18935498A Expired - Fee Related JP3888500B2 (en) 1998-07-03 1998-07-03 Image data encoding / decoding device

Country Status (1)

Country Link
JP (1) JP3888500B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7693328B2 (en) 2005-09-12 2010-04-06 Sharp Kabushiki Kaisha Printing apparatus, printing processing method, and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7693328B2 (en) 2005-09-12 2010-04-06 Sharp Kabushiki Kaisha Printing apparatus, printing processing method, and storage medium

Also Published As

Publication number Publication date
JP3888500B2 (en) 2007-03-07

Similar Documents

Publication Publication Date Title
US5267052A (en) Encoding the original image data and progessively encoding the image data independently
EP0776569B1 (en) Method and system for encoding and decoding image data
JP4109404B2 (en) Encoding apparatus and encoding method
CN85108581A (en) Facsimile equipment
US4533957A (en) Method of processing picture signal to increase average run length and apparatus therefor
US6816618B1 (en) Adaptive variable length image coding apparatus
US5715329A (en) Digital copying machine with memory for compressed image data
JP2000022909A (en) Image data encoding and decoding device
JP3783821B2 (en) Image data encoding / decoding device
JPH09205647A (en) Image coder, image decoder and image processor
JP2002271791A (en) Image coder, image coding/decoding device, image coding/ decoding method, and program to perform the method
JP2000217003A (en) Coding system and decoding system
JP4729913B2 (en) Image processing apparatus and method
JP2002084425A (en) Multi-level image data compression device
JPH0323720A (en) Variable length encoding and decoding system
JP3282407B2 (en) Data compression device
Jiang A novel parallel design of a codec for black and white image compression
JP4195624B2 (en) Image processing apparatus, image forming apparatus, image reading apparatus, program, and storage medium
JP2009206907A (en) Image compression apparatus and image decompression apparatus
JP2001217722A (en) Device and method for encoding information, and computer readable storage medium
JP3632066B2 (en) Digital image copying system
JPH11275330A (en) Digital copying device
JP2002199194A (en) Image data encoding/decoding device
JP2800252B2 (en) Data compression method
JP2658158B2 (en) Image recording device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060215

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060228

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060501

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060530

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060726

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060822

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061019

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20061114

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061122

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061019

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101208

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101208

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111208

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111208

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121208

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees