JP2000134478A - Image data encoding and decoding device - Google Patents

Image data encoding and decoding device

Info

Publication number
JP2000134478A
JP2000134478A JP10321282A JP32128298A JP2000134478A JP 2000134478 A JP2000134478 A JP 2000134478A JP 10321282 A JP10321282 A JP 10321282A JP 32128298 A JP32128298 A JP 32128298A JP 2000134478 A JP2000134478 A JP 2000134478A
Authority
JP
Japan
Prior art keywords
signal switching
image
image data
code
component
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
JP10321282A
Other languages
Japanese (ja)
Other versions
JP3783821B2 (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 JP32128298A priority Critical patent/JP3783821B2/en
Publication of JP2000134478A publication Critical patent/JP2000134478A/en
Application granted granted Critical
Publication of JP3783821B2 publication Critical patent/JP3783821B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To make it possible to store more images by the device which encodes a color image by components of R, G, and B, Y, M, C, and K, etc., and stores the components on storage media assigned by the components for electronic sorting. SOLUTION: The device is equipped with a converting means (image process part) which converts image data into (n) components more than two, (n) encoding parts 401 to 403 which compress image data by the converted components, (n) hard disks 601 to 603 which store the codes by the compressed components, an input signal switching part 501 which switches the correspondence between the codes by the components and the hard disks 601 to 603 by images, (n) decoding parts which expand and reproduce the codes of the components stored in the hard disks 601 to 603 by the images, and an output signal switching part which switch the correspondence between the components stored in the hard disks 601 to 603 and the decoding parts by the images.

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 forming system such as a digital copying machine that realizes an electronic sort function.

【0002】[0002]

【従来の技術】電子ソート機能を持つデジタル複写機な
どの画像形成装置は、原稿を読み込んでその画像データ
を装置内部に蓄積し、内部に蓄積された画像データを読
み込み順に出力する動作を所望部数繰り返すことによ
り、コピー出力のソートを実現する。したがって電子ソ
ート機能を持つ画像形成装置は従来の機械的にソートを
行う複写機に比べ、原稿の読み込みが1度で済む、ソー
トを行う機械部分が必要なくなる等の利点を有する。画
像蓄積装置としてはハードディスク等の大容量記憶媒体
を使うのが一般的であるが近年、複写機の画像入出力の
スピードは非常に速くなってきており、特にデータ量が
多いカラー画像を扱う場合は1台のハードディスクにそ
のまま画像データを蓄積したのでは、ハードディスクの
スピードがネックになり、電子ソート時の複写機のスピ
ードのパフォーマンスを落とすことになる。そのためカ
ラー画像データのRGB、YMCK等の成分毎に1台の
ハードディスクを割り当て入出力をさせる方式が考えら
れる。更にハードディスクに多くの枚数を蓄積するた
め、図16に示すようにハードディスク入出力の手前に
符号化部(複号部)を設け、各成分毎にJPEG等の多
値画像圧縮アルゴリズムを用いて符号化し、データ量を
減らして蓄積することが有効である。ただし、RGB別
々に画像を圧縮する場合、例えば読み込まれる画像デー
タの濃度変化がR成分>G成分>B成分の関係が続くと
濃度変化が多い画像は圧縮率が悪くなるため図17に示
すようにR成分に割り当てられたハードデイスクの領域
がなくなって、他のハードディスクの頭城にまだ空きが
あるにも関わらず、画像データを蓄積できなくなり、空
き領域が無駄になってしまう。電子ソートに関する従来
技術は特開平05−103171号等にみられるように
数多く提案されているが、上記のようにカラー画像に特
有のRGB毎のハードディスクを持つものに関しては皆
無である。
2. Description of the Related Art An image forming apparatus such as a digital copying machine having an electronic sort function reads an original, accumulates the image data in the apparatus, and outputs the image data stored therein in a read order in a desired number of copies. By repeating, sorting of the copy output is realized. Therefore, an image forming apparatus having an electronic sorting function has advantages over a conventional copying machine that mechanically sorts, such that a document is read only once and a mechanical part for sorting is not required. Generally, a large-capacity storage medium such as a hard disk is used as an image storage device, but in recent years, the speed of image input / output of a copying machine has become extremely high, particularly when a color image with a large amount of data is handled. If the image data is stored in one hard disk as it is, the speed of the hard disk becomes a bottleneck, and the speed performance of the copier at the time of electronic sorting is reduced. Therefore, a method is considered in which one hard disk is assigned to each component of color image data, such as RGB, YMCK, etc., and input / output is performed. In order to accumulate a large number of images on the hard disk, an encoding unit (decoding unit) is provided before the input / output of the hard disk as shown in FIG. 16, and each component is encoded using a multi-valued image compression algorithm such as JPEG. It is effective to reduce the amount of data and store it. However, in the case of compressing images separately for RGB, for example, if the density change of the read image data continues in the relationship of R component> G component> B component, an image having a large density change has a low compression ratio, as shown in FIG. As a result, the hard disk area allocated to the R component is no longer available, and image data cannot be stored, even though there is still room in the head of another hard disk, and the free area is wasted. Although a large number of conventional techniques relating to electronic sorting have been proposed as disclosed in Japanese Patent Application Laid-Open No. 05-103171, there is no such technique as described above having a hard disk for each of RGB which is unique to a color image.

【0003】[0003]

【発明が解決しようとする課題】本発明が解決しようと
する課題は以下の如くである。請求項1、2記載の発明
では、カラー画像をRGB、YMCK等の各成分毎に符
号化を行い、一成分毎に割り当てられた記憶媒体に蓄積
して電子ソートを行う装置において、各成分毎の符号の
記憶媒体への蓄積先を画像毎に順番に切り替えることに
より、成分固定の場合に比べ各記憶媒体に均等の量に符
号を蓄積することができ、より多くの枚数の画像を蓄積
することができるようにする。請求項1、3、4記載の
発明では、カラー画像をRGB、YMCK等の各成分毎
に符号化を行い、一成分毎に割り当てられた記憶媒体に
蓄積して電子ソートを行う装置において、各成分毎の符
号の記憶媒体への蓄積先を画像毎に現在の記憶媒体の空
き容量とこれまでの各成分毎の符号量の結果に基づき切
り替えることにより、成分固定の場合に比べ各記憶媒体
に均等の量に符号を蓄積することができ、より多くの枚
数の画像を蓄積することができるようにする。請求項
1、3、5記載の発明では、カラー画像をYCrCb等
の輝度成分色成分等の各成分毎に符号化を行い、一成分
毎に割り当てられた記憶媒体に蓄積して電子ソートを行
う装置において、各成分毎の符号の記憶媒体への蓄積先
を画像毎に現在の記憶媒体の空き容量と各成分の符号化
効率の性質に基づき切り替えることにより、成分固定の
場合に比べ各記憶媒体に均等の量に符号を蓄積すること
ができ、より多くの枚数の画像を蓄積することができる
ようにする。
The problem to be solved by the present invention is as follows. According to the first and second aspects of the present invention, a color image is encoded for each component such as RGB, YMCK, etc., and stored in a storage medium assigned for each component to perform electronic sorting. By sequentially switching the storage destination of the code in the storage medium for each image, the code can be stored in an equal amount in each storage medium as compared with the case where the component is fixed, and a larger number of images can be stored. Be able to do it. According to the first, third and fourth aspects of the present invention, a color image is encoded for each component such as RGB and YMCK, and stored in a storage medium assigned for each component to perform electronic sorting. By switching the storage destination of the code for each component to the storage medium based on the current free space of the storage medium and the result of the code amount for each component for each image, the storage destination for each storage medium is compared with the case where the component is fixed. A code can be stored in an equal amount, so that a larger number of images can be stored. According to the first, third, and fifth aspects of the present invention, a color image is encoded for each component such as a luminance component and a color component such as YCrCb, and stored in a storage medium assigned for each component to perform electronic sorting. In the device, the storage destination of the code for each component in the storage medium is switched based on the current free space of the storage medium and the nature of the coding efficiency of each component for each image, so that each storage medium is compared with the case where the component is fixed. The code can be stored in a uniform amount, and a larger number of images can be stored.

【0004】[0004]

【課題を解決するための手段】上記課題を解決するため
に、請求項1記載の発明では、カラーの原稿画像を1頁
ずつ画像データとして入力する画像入力手段と、前記画
像データを2以上のn個の成分に変換する変換手段と、
前記変換された成分毎の画像データをそれぞれ圧縮する
n個の符号化手段と、前記圧縮された成分毎の符号を格
納するn個の符号蓄積手段と、前記各成分毎の符号とそ
れを蓄積するn個の符号蓄積手段との対応を画像毎に切
り替える第1の信号切り替え手段と、前記n個の符号蓄
積手段に蓄積されている各成分の符号を画像毎に伸長し
て再生するn個の複号手段と、前記n個の符号蓄積手段
に蓄積されている各成分の符号と前記複号手段の対応を
画像毎に切り替える第2の信号切り替え手段とを備えた
ことを特徴としている。また、請求項2記載の発明で
は、請求項1記載の画像データ符号化複号装置におい
て、前記画像入力手段で入力された画像データのページ
毎に番号をつけて管理する画像データ管理手段と、この
画像データ管理手段でつけられた各画像の番号を参照し
て、前記第1の信号切り替え手段と第2の信号切り替え
手段とを制御する信号切り替え制御手段とを備えたこと
を特徴としている。また、請求項3記載の発明では、請
求項1記載の画像データ符号化復号装置において、前記
n個の符号蓄積手段の空き容量の大きさを比較する空き
容量比較手段と、この空き容量比較手段の結果に基づい
て前記第1の信号切り替え手段と第2の信号切り替え手
段を制御する信号切り替え制御手段とを備えたことを特
徴としている。また、請求項4記載の発明では、請求項
1又は3記載の画像データ符号化複号装置において、前
記第1の信号切り替え手段と第2の信号切り替え手段を
制御する信号切り替え制御手段は、前記空き容量比較手
段の結果に加えて、前に符号化を行った画像の各成分の
符号量によって制御されることを特徴としている。ま
た、請求項5記載の発明では、請求項1又は3記載の画
像データ符号化複号装置において、前記変換手段で変換
されるn個の成分が輝度成分と色成分の場合のように明
らかに符号化したときの符号量に差が出る性質を持つ場
合、前記第1の信号切り替え手段と第2の信号切り替え
手段を制御する信号切り替え制御手段は前記空き容量比
較手段の結果に加えて、前記成分間の相対的な符号化効
率の差の情報によって制御されることを特徴としてい
る。
According to a first aspect of the present invention, there is provided an image input means for inputting a color document image as image data one page at a time. conversion means for converting into n components;
N encoding means for respectively compressing the converted image data for each component, n code accumulating means for storing the code for each compressed component, and a code for each component and accumulating the same First signal switching means for switching the correspondence with the n code storage means for each image, and n number of codes for expanding and reproducing the code of each component stored in the n code storage means for each image And a second signal switching means for switching the correspondence between the code of each component stored in the n code storage means and the decoding means for each image. According to a second aspect of the present invention, in the image data encoding / decoding apparatus according to the first aspect, an image data managing unit that assigns a number to each page of the image data input by the image input unit and manages the page. The image processing apparatus further includes a signal switching control unit that controls the first signal switching unit and the second signal switching unit by referring to the numbers of the images assigned by the image data management unit. According to a third aspect of the present invention, in the image data encoding / decoding apparatus according to the first aspect, a free capacity comparing means for comparing the size of the free capacity of the n code storage means, and the free capacity comparing means. And a signal switching control means for controlling the first signal switching means and the second signal switching means based on the result of the above. According to a fourth aspect of the present invention, in the image data encoding / decoding apparatus according to the first or third aspect, the signal switching control means for controlling the first signal switching means and the second signal switching means comprises: It is characterized by being controlled by the code amount of each component of the previously coded image in addition to the result of the free space comparison means. According to the fifth aspect of the present invention, in the image data encoding / decoding apparatus according to the first or third aspect, the n components converted by the conversion means are clearly different from the case of a luminance component and a color component. In the case where there is a characteristic that the code amount at the time of encoding has a difference, the signal switching control unit that controls the first signal switching unit and the second signal switching unit includes, in addition to the result of the free space comparison unit, It is characterized by being controlled by information on the difference in relative coding efficiency between components.

【0005】[0005]

【発明の実施の形態】以下、本発明を実施の形態に基づ
き詳細に説明する。図1は本発明の実施の形態の一例を
示す画像データ符号化複号装置のブロック図である。こ
のブロック図を用いて本発明の画像データ符号化複号装
置の構成及び動作の概要を説明する。主制御部301
は、CPU、ROM、RAM等で構成され符号化複号装
置を含めた複写装置全体を制御する。操作部302では
オペレータにより種々の操作及び設定が行なわれる。自
動原稿送り装置303は必要に応じて適宜使用され、複
数枚の原稿がセットされると1枚づつスキャナ304の
原稿台に原稿を搬送し、スキャナが原稿を1枚づつ読め
る状態にする。スキャナ304は原稿の読み込みを行
う。スキャナ304からのRGB画像データ信号はA/
D変換部306で各々8ビットのデジタル信号に変換さ
れる。画像処理部306では、変倍、濃度調整等の画像
処理が行われる。記録部308は、画像処理部306か
ら画像データを受け取りカラーのコピー画像を出力す
る。画像蓄積部307は、メモリ、ハードディスク等の
記憶装置で構成され、画像処理部306からのRGB画
像データを一時記憶した後、読み出して記録部からコピ
ーとして出力することができる。画像蓄積部307は、
データ蓄積量を削減するために、RGB画像データを別
々に圧縮して符号として蓄積し、伸長して画像データに
戻す符号化複号器を有する。ソート動作時には、読み取
った原稿の全ページの画像データを画像蓄積部307の
記憶部(ハードディスク)に記憶した後、記録部308
へ画像データを入力順に転送することにより、全ページ
のコピー出力を行い、これらの動作を必要部数分繰り返
し行う。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described in detail based on embodiments. FIG. 1 is a block diagram of an image data encoding / decoding device showing an example of an embodiment of the present invention. The outline of the configuration and operation of the image data encoding / decoding device of the present invention will be described with reference to this block diagram. Main control unit 301
Is composed of a CPU, a ROM, a RAM and the like, and controls the entire copying apparatus including the encoding / decoding apparatus. In the operation unit 302, various operations and settings are performed by an operator. The automatic document feeder 303 is appropriately used as needed, and when a plurality of documents are set, the documents are conveyed one by one to the platen of the scanner 304 so that the scanner can read the documents one by one. The scanner 304 reads a document. The RGB image data signal from the scanner 304 is A /
Each of them is converted into an 8-bit digital signal by the D conversion unit 306. The image processing unit 306 performs image processing such as scaling and density adjustment. The recording unit 308 receives the image data from the image processing unit 306 and outputs a color copy image. The image storage unit 307 includes a storage device such as a memory and a hard disk. The image storage unit 307 can temporarily store the RGB image data from the image processing unit 306, read it out, and output it as a copy from the recording unit. The image storage unit 307
In order to reduce the data storage amount, the image processing apparatus has an encoding decoder that separately compresses RGB image data, stores the data as codes, decompresses the image data, and returns the image data. At the time of the sorting operation, the image data of all the pages of the read original is stored in the storage unit (hard disk) of the image storage unit 307, and then stored in the storage unit 308.
By copying the image data to the input order, all pages are copied and output, and these operations are repeated for the required number of copies.

【0006】次に本発明の特徴部をなす画像蓄積部30
7について更に詳しく説明する。図2に示すように、画
像蓄積部307ではRGB画像データを各成分の画像毎
に符号化して蓄積する。どの成分の符号がどのハードデ
ィスク601〜603に入力されるかは入力信号切り替
え部で選択を行うことができる。設定の組み合わせは図
3の表に示すように設定1〜3の3通りで各成分の符号
が設定毎に違うハードディスクに入力されるようになっ
ている。ところで符号化部401〜403から各ハード
ディスク601〜603へ蓄積された符号は、図4に示
すように主制御部301が有するメモリ内に各ハードデ
ィスク601〜603に対応するアドレス管理テーブル
を持ち、入力された画像順に画像番号(画像0、1、2
…)で管理し、画像番号毎にテーブルに符号を格納した
ハードディスク内の書き込み開始アドレス(A10、A
11…)が記憶されている。また、画像番号を3で割っ
たあまりの数に従い、図5に示すように入力信号切り替
え部の設定の変更を行う。このように画像1枚を格納す
る毎にRGB各成分の符号の格納先のハードディスクを
切り替えることにより、従来技術の場合の図17の各符
号は図6のように振り分けられ、各ハードディスク60
1〜603がほぼ均等な空き領域を確保することができ
る。したがって、これら空き領域に新たな画像の符号を
追加することが可能になる。このように蓄積された符号
データは図7に示すように各ハードディスク毎に複号部
701〜703と接続され、主制御部301で画像番号
毎にハードディスク内の開始アドレスを参照してハード
ディスクからの読み出しが行われ、読み出された符号が
複号をされビットプレーン画像に戻される。このとき出
力画像切り替え部は主制御部301で画像番号を3で割
ったあまりの数字に従い、図5に示すように各成分毎へ
の接続が切り替えられる。このように本発明によれば、
電子ソートでカラー画像デー夕をRGB毎に符号化し、
RGB毎の符号を別々のハードディスクに蓄積する方式
において画像毎に順番にRGB各成分の符号を格納する
ハードディスクを切り替えていくことにより、RGB毎
に格納先が固定の場合に比べ各ハードディスクに均等の
量に符号を蓄積することができ、より多くの枚数の画像
を蓄積することができる。
Next, an image storage unit 30 which is a feature of the present invention.
7 will be described in more detail. As shown in FIG. 2, the image storage unit 307 encodes and stores the RGB image data for each component image. Which component code is input to which hard disk 601 to 603 can be selected by the input signal switching unit. As shown in the table of FIG. 3, there are three combinations of settings, namely, settings 1 to 3, in which the sign of each component is input to a different hard disk for each setting. The codes stored in the hard disks 601 to 603 from the encoding units 401 to 403 have an address management table corresponding to each of the hard disks 601 to 603 in the memory of the main control unit 301 as shown in FIG. Image numbers (images 0, 1, 2
..), And the write start address (A10, A
11...) Are stored. Also, according to the excessive number obtained by dividing the image number by 3, the setting of the input signal switching unit is changed as shown in FIG. By switching the hard disk of the storage destination of the code of each component of RGB each time one image is stored in this manner, each code of FIG. 17 in the case of the prior art is sorted as shown in FIG.
1 to 603 can secure a substantially equal free area. Therefore, it is possible to add a new image code to these empty areas. The code data thus accumulated is connected to decoding units 701 to 703 for each hard disk as shown in FIG. 7, and the main control unit 301 refers to the start address in the hard disk for each image number and outputs the data from the hard disk. Reading is performed, and the read code is decoded and returned to the bit plane image. At this time, the output image switching unit switches the connection for each component as shown in FIG. 5 according to the excessive number obtained by dividing the image number by 3 in the main control unit 301. Thus, according to the present invention,
Encode color image data for each RGB by electronic sorting,
By switching the hard disk that stores the codes of the RGB components in order for each image in the method of storing the codes for each RGB on separate hard disks, a uniform storage is provided for each hard disk as compared with the case where the storage destination is fixed for each RGB. A code can be stored in the quantity, and a larger number of images can be stored.

【0007】ところで上記の例では画像番号を3で割っ
たあまりの数でRGB各成分とハードディスクとの対応
の切り替えを行ったが、この切り替えをハードディスク
の空き領域の大きさで切り替える方法も有効である。こ
の場合、まず図8に示すように画像0の符号がRGB各
成分毎にハードディスク601〜603に蓄積される。
ここでハードディスク(1)601の空き領域がもっと
も少なくなるので、今回最も符号量が少なかったB成分
の符号が次も符号量が少ないことが予想され、ハードデ
ィスク(1)601にB成分の符号が蓄積されるように
主制御部301で入力信号切り替え部の設定を図3の表
の設定2に切り替える。すなわち、1ページの画像が蓄
積される毎に空き領域がもっとも少なくなったハードデ
ィスクに符号量が少ないことが予想される成分の符号が
割り当てられるように設定を切り替える。この方法に従
い、2枚目の画像を格納すると図9に示すように符号が
格納される。また画像をハードディスクから複号して取
り出すときは図10に示すように主制御部301が有す
るメモリ内に各画像毎に入力信号切り替え部の設定が記
憶されているハードディスク(HD)割り当て管理テー
ブルを備えることにより、画像毎の符号の入力されたハ
ードディスクの割り当てが分かるようにできる。複号の
時はこのテーブルを参照して図7の出力信号切り替え部
を切り替えることにより、RGB各成分毎に画像を複号
できる。
In the above example, the correspondence between the RGB components and the hard disk is switched by an excessive number obtained by dividing the image number by three. However, a method of switching this switching by the size of the free space of the hard disk is also effective. is there. In this case, first, as shown in FIG. 8, the code of the image 0 is stored in the hard disks 601 to 603 for each of the RGB components.
Here, since the free area of the hard disk (1) 601 becomes the smallest, it is expected that the code of the B component having the smallest code amount this time will also have the next smaller code amount. The main control unit 301 switches the setting of the input signal switching unit to the setting 2 in the table of FIG. That is, the setting is switched so that a code of a component expected to have a small code amount is assigned to the hard disk having the smallest free area every time an image of one page is accumulated. When the second image is stored according to this method, the code is stored as shown in FIG. When decoding an image from the hard disk, as shown in FIG. 10, a hard disk (HD) allocation management table in which the setting of the input signal switching unit is stored for each image in the memory of the main control unit 301 is shown. With this arrangement, the assignment of the hard disk to which the code is input for each image can be understood. At the time of decoding, the image can be decoded for each of the RGB components by switching the output signal switching unit of FIG. 7 with reference to this table.

【0008】このように本発明では、電子ソートでカラ
ー画像データをRGB毎に符号化し、RGB毎の符号を
別々のハードディスクに蓄積する方式において、1枚の
画像を符号化した後に、空き領域の最も少ないハードデ
ィスクに最も符号量が少ないと予想される成分を符号化
して格納するように格納先を変えることにより、RGB
毎に格納先が固定の場合に比べ各ハードディスクに均等
の量に符号を蓄積することができ、より多くの枚数の画
像を蓄積することができる。ところでカラー画像を符号
化するときにRGB成分を輝度成分と色成分に変換して
から符号化を行うと成分間の冗長度が少なくなり、圧縮
率が良くなることが一般的に知られている。輝度域分と
色成分の表色系の一例としてY、Cr、Cbを用いて説
明する。Y、Cr、Cbは以下の式で計算することがで
きる。 Y=0.299R+0.5865G+0.1144B Cr=0.4998R−0.4185G−0.0813B Cb=−0.1686R−0.3311G+0.4997B ここでY成分が輝度を表し、Cr、Cb成分が色を表
す。
As described above, according to the present invention, in a system in which color image data is encoded for each RGB by electronic sorting, and a code for each RGB is stored on a separate hard disk, one image is encoded, By changing the storage destination to encode and store the component expected to have the least code amount on the least hard disk,
As compared with the case where the storage destination is fixed every time, codes can be stored in equal amounts in each hard disk, and a larger number of images can be stored. It is generally known that when a color image is encoded, if the RGB components are converted into a luminance component and a color component before encoding, the redundancy between components is reduced and the compression ratio is improved. . A description will be given using Y, Cr, and Cb as an example of a color system of a luminance region component and a color component. Y, Cr and Cb can be calculated by the following equations. Y = 0.299R + 0.5865G + 0.1144B Cr = 0.4998R-0.4185G-0.0813B Cb = -0.1686R-0.3311G + 0.4997B Here, the Y component represents luminance, and the Cr and Cb components represent color. Represent.

【0009】図11に、上記表色系変換処理を用いた場
合の実施の形態を示す。これは図1の構成に表色系変換
部1307、1309を加えたものであり、画像蓄積部
1308に入力される手前で表色系変換部(1)130
7でRGB→YCrCb変換を行い、画像蓄積部130
8の後段の表色系変換部(2)1309でYCrCb→
RGB変換を行う。次に画像蓄積部1308について説
明する。図12に示すように画像蓄積部1308ではY
CrCb画像データを各成分の画像毎に符号化して蓄積
する。どの成分の符号がどのハードディスク601〜6
03に入力されるかは入力信号切り替え部で図14の設
定に従い選択を行うことができる。このようにして符号
化を行うと一般的に輝度成分であるY成分の持つ情報量
が多いので符号量が多くなり、最初に設定1で符号を貯
えたとすると図13に示すようにハードディスク(1)
601の空き容量が最も少なくなる。このようにY成分
の符号量が常に最も多くなることが予想されるので、空
き領域が最も多いハードディスクにY成分の符号を蓄積
するように図15の設定に従い入力信号切り替え部50
1の設定を切り替えてやれば効率良く、3台のハードデ
ィスクを利用することができる。このように本発明で
は、電子ソートでカラー画像データをYCrCb等の輝
度と色成分に変換し、輝度、色成分毎に符号化し、これ
らの符号を別々のハードディスクに蓄積する方式におい
て、1枚の画像を符号化後に、空き領域の最も多いハー
ドディスクに最も符号量が多いと予想される輝度成分を
符号化して格納するように格納先を変えてやることによ
り、輝度、色成分毎に符号の格納先が固定の場合に比
べ、各ハードディスクに均等の量に符号を蓄積すること
ができ、より多くの枚数の画像を蓄積することができ
る。
FIG. 11 shows an embodiment in which the above color system conversion processing is used. This is obtained by adding the color system conversion units 1307 and 1309 to the configuration of FIG. 1, and the color system conversion unit (1) 130 before input to the image storage unit 1308.
In step 7, RGB → YCrCb conversion is performed.
8 in the color system conversion unit (2) 1309 at the subsequent stage.
Performs RGB conversion. Next, the image storage unit 1308 will be described. As shown in FIG.
The CrCb image data is encoded and stored for each component image. Which hard disk has the sign of which component
The input signal switching unit 03 can be selected by the input signal switching unit in accordance with the settings shown in FIG. When encoding is performed in this manner, the amount of information generally increases because the amount of information of the Y component, which is a luminance component, increases. If codes are initially stored at setting 1, as shown in FIG. )
601 has the least amount of free space. Since the code amount of the Y component is expected to always be the largest, the input signal switching unit 50 according to the setting of FIG.
By switching the setting of 1, the three hard disks can be used efficiently. As described above, according to the present invention, the color image data is converted into luminance and color components such as YCrCb by electronic sorting, encoded for each luminance and color component, and these codes are stored in separate hard disks. After encoding the image, the storage destination is changed so that the luminance component expected to have the largest code amount is encoded and stored in the hard disk having the largest free space, thereby storing the code for each luminance and color component. Compared to the case where the destination is fixed, codes can be stored in equal amounts in each hard disk, and a larger number of images can be stored.

【0010】[0010]

【発明の効果】以上説明したように、本発明によれば以
下のような優れた効果を発揮できる。請求項1、2記載
の発明によれば、カラー画像をRGB等の各成分毎に符
号化し、一成分毎に割り当てられた記憶媒体に蓄積して
電子ソートを行う装置において、各成分毎の符号の記憶
媒体への蓄積先を画像毎に順番に切り替えることによ
り、成分固定の場合に比べ各記憶媒体に均等の量に符号
を蓄積することができ、より多くの枚数の画像を蓄積す
ることができる。請求項1、3、4記載の発明によれ
ば、カラー画像をRGB等の各成分毎に符号化し、一成
分毎に割り当てられた記憶媒体に蓄積して電子ソートを
行う装置において、各成分毎の符号の記憶媒体への蓄積
先を画像毎に現在の記憶媒体の空き容量とこれまでの各
成分毎の符号量の結果に基づき切り替えることにより、
成分固定の場合に比べ各記憶媒体に均等の量に符号を蓄
積することができ、より多くの枚数の画像を蓄積するこ
とができる。請求項1、3、5記載の発明によれば、カ
ラー画像をYCrCb等の輝度成分、色成分等の各成分
毎に符号化し、一成分毎に割り当てられた記憶媒体に蓄
積して電子ソートを行う装置において、各成分毎の符号
の記憶媒体への蓄積先を画像毎に現在の記憶媒体の空き
容量と各成分の符号化効率の性質に基づき切り替えるこ
とにより、成分固定の場合に比べ各記憶媒体に均等の量
に符号を蓄積することができ、より多くの枚数の画像を
蓄積することができる。
As described above, according to the present invention, the following excellent effects can be exhibited. According to the first and second aspects of the present invention, in a device for encoding a color image for each component such as RGB and storing it in a storage medium allocated for each component and performing electronic sorting, a code for each component is provided. By switching the storage destination in the storage medium in order for each image, the code can be stored in an equal amount in each storage medium as compared with the case of fixed component, and a larger number of images can be stored. it can. According to the present invention, a color image is encoded for each component such as RGB and stored in a storage medium allocated for each component to perform electronic sorting. By switching the storage destination of the code in the storage medium for each image based on the current free space of the storage medium and the result of the code amount for each component so far,
Compared to the case of fixed components, codes can be stored in equal amounts in each storage medium, and a larger number of images can be stored. According to the first, third and fifth aspects of the present invention, a color image is encoded for each component such as a luminance component and a color component such as YCrCb, and stored in a storage medium allocated for each component to perform electronic sorting. In the apparatus, the storage destination of the code for each component in the storage medium is switched for each image based on the current free space of the storage medium and the nature of the coding efficiency of each component, so that each storage is compared with the case where the component is fixed. The code can be stored in a uniform amount on the medium, and a larger number of images can be stored.

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

【図1】本発明に係る画像データ符号化複号装置の全体
構成を例示するブロック図である。
FIG. 1 is a block diagram illustrating an overall configuration of an image data encoding / decoding device according to the present invention.

【図2】図1中に示す画像蓄積部の機能ブロック図であ
る。
FIG. 2 is a functional block diagram of an image storage unit shown in FIG.

【図3】RGB画像データを各成分の画像毎に符号化し
て蓄積する際、どの成分の符号がどのハードディスクに
入力されるかの組み合わせを表した図である。
FIG. 3 is a diagram showing a combination of which component code is input to which hard disk when RGB image data is encoded and stored for each component image.

【図4】各ハードディスクに対応するアドレス管理テー
ブルを示す説明図である。
FIG. 4 is an explanatory diagram showing an address management table corresponding to each hard disk.

【図5】画像番号を3で割った余りの数と入力信号切り
替え部の設定との対応関係を表にした図である。
FIG. 5 is a table showing the correspondence between the number of remainders obtained by dividing the image number by 3 and the setting of the input signal switching unit.

【図6】各ハードディスクへの各符号の振り分け状態を
例示した図である。
FIG. 6 is a diagram exemplifying a distribution state of each code to each hard disk.

【図7】図1中に示す画像蓄積部の機能ブロック図であ
る。
FIG. 7 is a functional block diagram of an image storage unit shown in FIG.

【図8】画像0のRGB成分の各符号が別々のハードデ
ィスクに蓄積された状態を例示した図である。
FIG. 8 is a diagram exemplifying a state in which respective codes of RGB components of an image 0 are stored in different hard disks.

【図9】図8の状態に続いて画像1のRGB成分の各符
号が別々のハードディスクに蓄積された状態を例示した
図である。
9 is a diagram exemplifying a state in which the respective codes of the RGB components of the image 1 are stored in separate hard disks following the state of FIG.

【図10】HD管理テーブルを示す説明図である。FIG. 10 is an explanatory diagram showing an HD management table.

【図11】本発明の実施の形態の別の例を示す画像デー
タ符号化複号装置のブロック図である。
FIG. 11 is a block diagram of an image data encoding / decoding device showing another example of the embodiment of the present invention.

【図12】図11中に示す画像蓄積部の機能ブロック図
である。
12 is a functional block diagram of the image storage unit shown in FIG.

【図13】画像0のYCrCb画像データの各成分の各
符号が別々のハードディスクに蓄積された状態を例示し
た図である。
FIG. 13 is a diagram exemplifying a state in which each code of each component of YCrCb image data of image 0 is stored in a separate hard disk.

【図14】YCrCb画像データを各成分の画像毎に符
号化して蓄積する際、どの成分の符号がどのハードディ
スクに入力されるかの組み合わせを表した図である。
FIG. 14 is a diagram showing combinations of codes of which components are input to which hard disks when YCrCb image data is encoded for each component image and stored.

【図15】空き領域が最も多いハードディスクにY成分
の符号を蓄積する入力信号切り替え部の設定を例示した
図である。
FIG. 15 is a diagram exemplifying a setting of an input signal switching unit that stores a Y-component code in a hard disk having the largest free area.

【図16】従来技術における画像蓄積部の機能ブロック
図である。
FIG. 16 is a functional block diagram of an image storage unit according to the related art.

【図17】従来技術におけるRGB成分の各符号の各ハ
ードディスクへの蓄積状態を例示した図である。
FIG. 17 is a diagram exemplifying an accumulation state of each code of RGB components in each hard disk in the related art.

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

304:スキャナ(画像入力手段)、306:画像処理
部(変換手段)、307:画像蓄積部(符号化手段)、
308:主制御部(信号切り替え制御手段)、401〜
403:符号化部(複号手段)、501:入力信号切り
替え部(第1の信号切り替え手段)、601〜603:
ハードディスク(符号蓄積手段)、701〜703:復
号部(第2の信号切り替え手段)、1304:スキャナ
(画像入力手段)、1306:画像処理部(変換手
段)、1307:画像蓄積部(符号化手段)、130
8:主制御部(信号切り替え制御手段)。
304: scanner (image input unit), 306: image processing unit (conversion unit), 307: image storage unit (encoding unit),
308: main control unit (signal switching control means), 401 to
403: coding section (decoding means), 501: input signal switching section (first signal switching means), 601 to 603:
Hard disk (code storage unit), 701 to 703: decoding unit (second signal switching unit), 1304: scanner (image input unit), 1306: image processing unit (conversion unit), 1307: image storage unit (coding unit) ), 130
8: Main control unit (signal switching control means).

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 カラーの原稿画像を1頁ずつ画像データ
として入力する画像入力手段と、前記画像データを2以
上のn個の成分に変換する変換手段と、前記変換された
成分毎の画像データをそれぞれ圧縮するn個の符号化手
段と、前記圧縮された成分毎の符号を格納するn個の符
号蓄積手段と、前記各成分毎の符号とそれを蓄積するn
個の符号蓄積手段との対応を画像毎に切り替える第1の
信号切り替え手段と、前記n個の符号蓄積手段に蓄積さ
れている各成分の符号を画像毎に伸長して再生するn個
の複号手段と、前記n個の符号蓄積手段に蓄積されてい
る各成分の符号と前記複号手段との対応を画像毎に切り
替える第2の信号切り替え手段とを備えたことを特徴と
する画像データ符号化複号装置。
1. An image input unit for inputting a color document image as image data one page at a time, a conversion unit for converting the image data into two or more n components, and image data for each of the converted components N encoding means for respectively compressing the codes, n code accumulating means for storing the code for each compressed component, n codes for each of the components, and n for accumulating the code
A first signal switching means for switching the correspondence with the number of code storage means for each image, and n number of reproduction means for expanding and reproducing the code of each component stored in the n code storage means for each image. Image data comprising: signal means; and second signal switching means for switching, for each image, the correspondence between the code of each component stored in the n code storage means and the decoding means. Encoding decoder.
【請求項2】 請求項1記載の画像データ符号化複号装
置において、前記画像入力手段にて入力された画像デー
タのページ毎に番号をつけて管理する画像データ管理手
段と、この画像データ管理手段でつけられた各画像の番
号を参照して、前記第1の信号切り替え手段と第2の信
号切り替え手段とを制御する信号切り替え制御手段とを
備えたことを特徴とする画像データ符号化復号装置。
2. An image data encoding / decoding apparatus according to claim 1, wherein said image data management means assigns a number to each page of the image data inputted by said image input means and manages said page. Image data encoding / decoding comprising signal switching control means for controlling the first signal switching means and the second signal switching means with reference to the numbers of the respective images given by the means. apparatus.
【請求項3】 請求項1記載の画像データ符号化復号装
置において、前記n個の符号蓄積手段の空き容量の大き
さを比較する空き容量比較手段と、この空き容量比較手
段の結果に基づいて前記第1の信号切り替え手段と第2
の信号切り替え手段を制御する信号切り替え制御手段と
を備えたことを特徴とする画像データ符号化複号装置。
3. An image data encoding / decoding apparatus according to claim 1, wherein said n number of code accumulating means compares a free capacity with a free capacity comparing means, and based on a result of said free capacity comparing means. The first signal switching means and the second signal switching means;
And a signal switching control unit for controlling the signal switching unit.
【請求項4】 請求項1又は3記載の画像データ符号化
複号装置において、前記第1の信号切り替え手段と第2
の信号切り替え手段を制御する信号切り替え制御手段
は、前記空き容量比較手段の結果に加えて、前に符号化
を行った画像の各成分の符号量によって制御されること
を特徴とする画像データ符号化複号装置。
4. The image data encoding / decoding device according to claim 1, wherein said first signal switching means and said second signal switching means are connected to each other.
The signal switching control means for controlling the signal switching means is controlled by the code amount of each component of the previously coded image in addition to the result of the free space comparison means. Compound decoding device.
【請求項5】 請求項1又は3記載の画像データ符号化
複号装置において、前記変換手段により変換されるn個
の成分が輝度成分と色成分の場合のように明らかに符号
化したときの符号量に差が出る性質を持つ場合、前記第
1の信号切り替え手段と第2の信号切り替え手段を制御
する信号切り替え制御手段は前記空き容量比較手段の結
果に加えて、前記成分間の相対的な符号化効率の差の情
報によって制御されることを特徴とする画像データ符号
化複号装置。
5. The image data encoding / decoding apparatus according to claim 1, wherein said n components converted by said conversion means are clearly encoded as in the case of a luminance component and a color component. In the case where the code amount has a property of being different, the signal switching control means for controlling the first signal switching means and the second signal switching means has a relative capacity between the components in addition to the result of the free space comparison means. An image data encoding / decoding apparatus controlled by information on a difference in encoding efficiency.
JP32128298A 1998-10-26 1998-10-26 Image data encoding / decoding device Expired - Fee Related JP3783821B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32128298A JP3783821B2 (en) 1998-10-26 1998-10-26 Image data encoding / decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32128298A JP3783821B2 (en) 1998-10-26 1998-10-26 Image data encoding / decoding device

Publications (2)

Publication Number Publication Date
JP2000134478A true JP2000134478A (en) 2000-05-12
JP3783821B2 JP3783821B2 (en) 2006-06-07

Family

ID=18130830

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32128298A Expired - Fee Related JP3783821B2 (en) 1998-10-26 1998-10-26 Image data encoding / decoding device

Country Status (1)

Country Link
JP (1) JP3783821B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8305624B2 (en) 2007-09-28 2012-11-06 Fuji Xerox Co., Ltd. Image formation system, image formation program recording medium, and image formation method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8305624B2 (en) 2007-09-28 2012-11-06 Fuji Xerox Co., Ltd. Image formation system, image formation program recording medium, and image formation method

Also Published As

Publication number Publication date
JP3783821B2 (en) 2006-06-07

Similar Documents

Publication Publication Date Title
US4992887A (en) Method of storing and transmitting image data as an image file suitable for an image search
US7257264B2 (en) Image processing apparatus and method for compression-encoding image area information
EP1271926B1 (en) Image processing method, apparatus and computer program for compression-encoding
US6008847A (en) Temporal compression and decompression for video
US7127115B2 (en) Image processing apparatus and method, computer program, and storage medium
US6388588B2 (en) Encoding device and encoding method for changing code amount of compressed image data
JP2001507195A (en) Apparatus and method for hybrid compression of raster data
EP0607484B1 (en) Method and device for encoding and decoding image data
EP0776569B1 (en) Method and system for encoding and decoding image data
JPH11252563A (en) Image coder, image decoder, image processing unit, image coding method, image decoding method and image processing method
US5708509A (en) Digital data processing device
JP3872217B2 (en) Dither image binary expression processing method, dither image compression binary expression decompression method, and dither image compression and decompression system
US6593935B2 (en) Image processor
JPH09205647A (en) Image coder, image decoder and image processor
JPH0622143A (en) Transmission of image signal and encoding system for enhancement of reduction efficiency of data in storage
JP2000134478A (en) Image data encoding and decoding device
JP2001016473A5 (en)
JP3888500B2 (en) Image data encoding / decoding device
JP2002084425A (en) Multi-level image data compression device
JP3998115B2 (en) Image processing apparatus and image processing method
JP2001217722A (en) Device and method for encoding information, and computer readable storage medium
JPH0323720A (en) Variable length encoding and decoding system
JPH07146927A (en) Image file device
JP4598678B2 (en) Encoding apparatus and encoding method
JP3421463B2 (en) Quantization table generation device for image compression device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050830

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050912

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051111

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: 20060306

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060308

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20100324

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110324

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120324

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130324

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20140324

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees