JP2005128875A - Storage device, image forming device and program - Google Patents

Storage device, image forming device and program Download PDF

Info

Publication number
JP2005128875A
JP2005128875A JP2003364988A JP2003364988A JP2005128875A JP 2005128875 A JP2005128875 A JP 2005128875A JP 2003364988 A JP2003364988 A JP 2003364988A JP 2003364988 A JP2003364988 A JP 2003364988A JP 2005128875 A JP2005128875 A JP 2005128875A
Authority
JP
Japan
Prior art keywords
compression
image data
unit
storage
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
JP2003364988A
Other languages
Japanese (ja)
Inventor
Goro Noda
悟朗 野田
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2003364988A priority Critical patent/JP2005128875A/en
Publication of JP2005128875A publication Critical patent/JP2005128875A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To attain quick data transfer at a fixed speed by using a storage device having a plurality of storage areas whose data reading speeds are different. <P>SOLUTION: A CPU 201 assigns a storage area whose reading speed is the highest from the dead area of a storage medium 211 having storage areas whose data reading speeds are different to inputted image data. The CPU 201 calculates the threshold of a data compression rate satisfying the data transfer speed requested by an output part 209 from the reading speed of the assigned storage area and the data transfer speed. The CPU 201 compares the compression rate of the image data compressed by a reversible compressing part 2041 with the threshold. When the compression rate of the compressed image data is less than the threshold, an irreversible compressing part 2042 compresses the input image data at the compression rate which is not less than the threshold. The image data compressed at the compression rate which is not less than the threshold are stored in the assigned storage area. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、大容量のデータを格納するための記憶装置に関する。   The present invention relates to a storage device for storing a large amount of data.

近年、コピー機能、プリンタ機能等を兼ね備えたデジタル複合機においては、複数ページからなる原稿を電子的にソートして印刷することのできる電子ソート機能を備えたものが供給されている。電子ソート機能は、例えば、コピーを行う原稿の全ページを読み取り、そのデータを一旦記憶媒体に格納し、その後、格納されたデータをページ順に読み出して印刷することを繰り返す。これによって、複数部数のコピー出力を1回の画像読み取りで実現することができる。また、プリント出力の際にも、ページ記述言語で記述された文書データをネットワーク経由でデジタル複合機に送信し、デジタル複合機内でビットマップデータに展開し、全ページを上記と同様に記憶媒体に格納することで、同様な電子ソートが実現される。   In recent years, digital multi-function peripherals having a copy function, a printer function, and the like have been provided with an electronic sort function capable of electronically sorting and printing a document consisting of a plurality of pages. For example, the electronic sort function repeatedly reads all pages of a document to be copied, temporarily stores the data in a storage medium, and then reads and prints the stored data in page order. Thereby, a plurality of copies can be output by one image reading. In print output, document data described in a page description language is transmitted to a digital multifunction peripheral via a network, and is converted into bitmap data in the digital multifunction peripheral, and all pages are stored in a storage medium in the same manner as described above. By storing, the same electronic sort is realized.

電子ソートを実現するには、前述したように文書の全ページのデータを記憶媒体に一旦格納する必要がある。データ転送速度が高速な記憶媒体としては、半導体メモリがある。しかしながら、デジタル複合機において多数ページの画像データを格納するには数ギガバイトの容量が必要であり、そのような大容量の半導体メモリは高価であるため、採用することは困難である。そこで、比較的安価であり、多量のデータを記憶可能な媒体としてハードディスク装置に代表されるような回転型の記憶媒体が多用されている。しかし、これらの回転型記憶媒体を用いた場合、コスト的な問題は解消されるが、データの転送速度の面では問題が残る。ハードディスク装置においては、大容量化を目的としてゾーンビット記録方式が用いられている。ゾーンビット記録方式においては、図1のようにディスク盤面は同心円状の複数のゾーンに分割されている。ゾーンの各々は、複数のセクタに分割されており、外側のゾーンほどセクタの数が多くなっている。1セクタあたりの書き込み容量は同一である。これによって外側のゾーンほど記憶容量が大きくなっている。従って、外側のゾーンほどデータの書き込み/読み出し速度は高速になる。仮に同じデータ量の2つのデータが外周部と内周部に格納されているとすると、データ量が同じであるにも関わらず、外周部に格納されたデータの方が読み出し速度が速いことになる。   In order to realize electronic sorting, it is necessary to temporarily store data of all pages of a document in a storage medium as described above. As a storage medium having a high data transfer speed, there is a semiconductor memory. However, in order to store a large number of pages of image data in a digital multi-function peripheral, a capacity of several gigabytes is required, and such a large-capacity semiconductor memory is expensive and difficult to adopt. Therefore, a rotary storage medium represented by a hard disk device is widely used as a medium that is relatively inexpensive and can store a large amount of data. However, when these rotary storage media are used, the cost problem is solved, but the problem remains in terms of data transfer speed. In the hard disk device, a zone bit recording method is used for the purpose of increasing the capacity. In the zone bit recording system, the disk surface is divided into a plurality of concentric zones as shown in FIG. Each zone is divided into a plurality of sectors, and the outer zone has a larger number of sectors. The write capacity per sector is the same. As a result, the outer zone has a larger storage capacity. Therefore, the data writing / reading speed becomes higher in the outer zone. If two pieces of data with the same data amount are stored in the outer peripheral part and the inner peripheral part, the data stored in the outer peripheral part has a faster reading speed even though the data amount is the same. Become.

ハードディスク上に格納されたデータを用いて印刷を行う画像形成装置においては、印刷の速度にあわせた一定の速度でデータをハードディスクから印刷出力部に転送することが必要となる。しかし、上記のように複数のゾーンにまたがってデータが格納されると、内周部に格納されたデータは外周部に比して読み出し速度が遅く、その結果、一定速度で印刷ができないという不都合が生じる。   In an image forming apparatus that performs printing using data stored on a hard disk, it is necessary to transfer data from the hard disk to the print output unit at a constant speed in accordance with the printing speed. However, when data is stored across a plurality of zones as described above, the data stored in the inner peripheral portion has a lower reading speed than the outer peripheral portion, and as a result, printing cannot be performed at a constant speed. Occurs.

このような不都合を防止し、一定速度で、かつ、高速なデータ転送を行うことを目的として種々の技術が提案されている(例えば、特許文献1、2)。
特許文献1に記載の技術では、書き込み/読み出し速度が異なる複数の記憶領域を有する記憶媒体に画像データを記憶する際に、画像データの使用目的に応じて格納する位置を決定する。具体的には、電子ソートの対象となる文書のように一定速度で、かつ、高速な転送が必要なデータは、転送速度が比較的高速な外周部に格納し、他のデータは、転送速度が比較的低速な内周部に格納する。このようにして、一定速度で、かつ、高速なデータ転送の実現を図っている。
特許文献2に記載の技術では、プリンタにデータ転送速度が異なる複数の記憶装置が備えられている。プリンタの印刷処理速度とデータ転送速度との関係により各記憶装置毎に必要とされるデータ圧縮率の下限値が定められている。所定の圧縮方式により画像データを圧縮した後、その圧縮率が下限値を上回る記憶装置を選択して、その記憶装置に圧縮データを格納する。
特開2000−32243号公報 特開平9−193488号公報
Various techniques have been proposed for the purpose of preventing such inconvenience and performing high-speed data transfer at a constant speed (for example, Patent Documents 1 and 2).
In the technique described in Patent Document 1, when image data is stored in a storage medium having a plurality of storage areas with different writing / reading speeds, the storage position is determined according to the purpose of use of the image data. Specifically, data that needs to be transferred at a constant speed and at a high speed, such as a document that is subject to electronic sorting, is stored on the outer periphery where the transfer speed is relatively high, and other data is transferred at a transfer speed. Is stored in a relatively low speed inner periphery. In this way, high-speed data transfer is achieved at a constant speed.
In the technique described in Patent Document 2, a printer includes a plurality of storage devices having different data transfer rates. The lower limit value of the data compression rate required for each storage device is determined by the relationship between the printing processing speed of the printer and the data transfer speed. After the image data is compressed by a predetermined compression method, a storage device whose compression rate exceeds the lower limit value is selected, and the compressed data is stored in the storage device.
JP 2000-32243 A JP-A-9-193488

しかしながら、特許文献1に記載の技術では、一定速度、かつ、高速なデータ転送が必要な場合に使用可能な記憶領域が限定されるため、使用する領域を増やしたい場合には、領域を拡張する作業が必要となり、利便性に欠ける。特許文献2に記載の技術では、複数の記憶装置を用いるため、コストが高くなってしまう。
本発明は、上述した背景の下になされたものであり、データの読み出し速度が異なる複数の記憶領域を有する記憶装置を用いて、一定速度で、かつ、高速なデータ転送を行うことのできる技術の提供を目的とする。
However, in the technique described in Patent Document 1, since a storage area that can be used is limited when high-speed data transfer is necessary at a constant speed, the area is expanded when it is desired to increase the area to be used. Work is necessary and lacks convenience. The technique described in Patent Document 2 uses a plurality of storage devices, which increases the cost.
The present invention has been made under the background described above, and is a technology capable of performing high-speed data transfer at a constant speed using a storage device having a plurality of storage areas with different data reading speeds. The purpose is to provide.

上述の課題を解決するために、本発明は、データの読み出し速度が異なる複数の記憶領域を有する記憶部と、前記記憶部から読み出された画像データに基づいて画像を出力する出力部と、前記記憶部の空き領域の中から読み出し速度の最も速い記憶領域を、入力された画像データに割り当てる割り当て手段と、前記割り当て手段により割り当てられた記憶領域の読み出し速度と、前記出力部によって要求されるデータ転送速度とから、該データ転送速度を満たすデータ圧縮率の閾値を求める閾値算出手段と、画像データを圧縮する圧縮手段と、前記圧縮手段により圧縮された画像データの圧縮率と前記閾値算出手段により求められた閾値とを比較する比較手段と、前記圧縮手段により圧縮された画像データの圧縮率が前記閾値未満である場合に、前記入力された画像データを前記閾値以上の圧縮率で圧縮する再圧縮手段と、前記圧縮手段または前記再圧縮手段により前記閾値以上の圧縮率で圧縮された画像データを前記割り当て手段により割り当てられた記憶領域に格納する格納手段とを有する記憶装置を提供する。   In order to solve the above-described problem, the present invention provides a storage unit having a plurality of storage areas with different data reading speeds, an output unit that outputs an image based on image data read from the storage unit, An allocation unit that allocates the storage area having the fastest reading speed among the free areas of the storage unit to the input image data, the reading speed of the storage area allocated by the allocation unit, and the output unit A threshold value calculation means for obtaining a threshold value of a data compression rate satisfying the data transfer speed from the data transfer speed, a compression means for compressing image data, a compression rate of the image data compressed by the compression means, and the threshold value calculation means The comparison means for comparing the threshold value obtained by the above and the compression rate of the image data compressed by the compression means is less than the threshold value A recompression unit that compresses the input image data at a compression rate equal to or higher than the threshold value, and image data that has been compressed at a compression rate equal to or higher than the threshold value by the compression unit or the recompression unit is allocated by the allocation unit. And a storage device for storing in the storage area.

また、本発明は、コンピュータ装置を、データの読み出し速度が異なる複数の記憶領域を有する記憶部の空き領域の中から読み出し速度の最も速い記憶領域を、入力された画像データに割り当てる割り当て手段と、前記割り当て手段により割り当てられた記憶領域の読み出し速度と、前記記憶部から読み出された画像データに基づいて画像を出力する出力部によって要求されるデータ転送速度とから、該データ転送速度を満たすデータ圧縮率の閾値を求める閾値算出手段と、画像データを圧縮する圧縮手段と、前記圧縮手段により圧縮された画像データの圧縮率と前記閾値算出手段により求められた閾値とを比較する比較手段と、前記圧縮手段により圧縮された画像データの圧縮率が前記閾値未満である場合に、前記入力された画像データを前記閾値以上の圧縮率で圧縮する再圧縮手段と、前記圧縮手段または前記再圧縮手段により前記閾値以上の圧縮率で圧縮された画像データを前記割り当て手段により割り当てられた記憶領域に格納する格納手段として機能させるためのプログラムを提供する。   Further, the present invention provides an assigning means for allocating a storage area having the fastest reading speed among the free areas of the storage unit having a plurality of storage areas having different data reading speeds to the input image data. Data satisfying the data transfer speed from the read speed of the storage area allocated by the allocating means and the data transfer speed requested by the output section that outputs an image based on the image data read from the storage section A threshold value calculating means for obtaining a threshold value of the compression ratio, a compressing means for compressing the image data, a comparing means for comparing the compression ratio of the image data compressed by the compressing means with the threshold value obtained by the threshold value calculating means, When the compression rate of the image data compressed by the compression unit is less than the threshold, the input image data is Re-compression means for compressing at a compression rate equal to or higher than the threshold value, and storage means for storing the image data compressed at the compression rate equal to or higher than the threshold value by the compression means or the re-compression means in the storage area allocated by the allocation means Provide a program to function as

本発明によれば、割り当て手段が、データの読み出し速度が異なる複数の記憶領域を有する記憶部の空き領域の中から読み出し速度の最も速い記憶領域を、入力された画像データに割り当てる。閾値算出手段が、前記割り当て手段により割り当てられた記憶領域の読み出し速度と、前記記憶部から読み出された画像データに基づいて画像を出力する出力部によって要求されるデータ転送速度とから、該データ転送速度を満たすデータ圧縮率の閾値を求める。比較手段が、圧縮手段により圧縮された画像データの圧縮率と前記閾値算出手段により求められた閾値とを比較する。再圧縮手段が、圧縮手段により圧縮された画像データの圧縮率が前記閾値未満である場合に、前記入力された画像データを前記閾値以上の圧縮率で圧縮する。格納手段が、前記圧縮手段または前記再圧縮手段により前記閾値以上の圧縮率で圧縮された画像データを前記割り当て手段により割り当てられた記憶領域に格納する。   According to the present invention, the assigning means assigns the storage area having the fastest reading speed among the free areas of the storage unit having a plurality of storage areas having different data reading speeds to the input image data. The threshold value calculation means uses the data read speed of the storage area assigned by the assignment means and the data transfer speed required by the output section that outputs an image based on the image data read from the storage section. A threshold value of the data compression rate that satisfies the transfer rate is obtained. The comparison unit compares the compression rate of the image data compressed by the compression unit with the threshold value obtained by the threshold value calculation unit. When the compression rate of the image data compressed by the compression unit is less than the threshold value, the recompression unit compresses the input image data at a compression rate equal to or higher than the threshold value. A storage unit stores the image data compressed by the compression unit or the recompression unit at a compression rate equal to or higher than the threshold in the storage area allocated by the allocation unit.

本発明によれば、ハードディスクの外周部から順にデータを格納し、かつ、出力部の要求転送速度を満たすように各領域の読み出し速度に応じてデータ圧縮を施して画像データを格納するから、大容量の画像データの高速かつ一定速度での転送が可能となる。また、記憶領域を限定することなく、出力部が要求する転送速度を満たした上で、データを格納することが可能となる。   According to the present invention, data is stored in order from the outer periphery of the hard disk, and image data is stored by performing data compression according to the reading speed of each area so as to satisfy the required transfer rate of the output unit. It is possible to transfer a large amount of image data at a high speed and at a constant speed. Further, it is possible to store data while satisfying the transfer rate required by the output unit without limiting the storage area.

以下、図面を参照して、本発明の実施の一形態について説明する。ここでは、本発明にかかる記憶装置を備えた複写機の例を用いて説明する。
[第1実施形態]
[構成]
図2は、記憶装置20を備えた複写機2のハードウェア構成を示す図である。CPU(Central Processing Unit)201は、記憶装置20全体の制御を司る。入力部207は、フィーダを備えており、フィーダに載置された文書原稿を1ページずつ取り込んで、その画像を読み取り、画像データを生成する。入力部207から入力された画像データは圧縮部204の可逆圧縮部2041で圧縮され、システムメモリ202に一旦格納される。所定の量(例えば、1ページ分)の画像データの圧縮が完了したら、記憶媒体制御部210がCPU201からの指示に従って、記憶媒体211に画像データを転送する。記憶媒体211は、ハードディスク装置である。記憶媒体211での画像データの格納位置は、予め管理テーブル2061に記憶されており、管理部206からの通知に従って制御される。
出力部209は、画像データに基づいて電子写真方式により画像を印刷する。出力部209で画像を出力する際には、CPU201からの指示により、指定された画像データを記憶媒体制御部210が記憶媒体211から読み出し、システムメモリ202に転送する。システムメモリ202に転送された画像データは伸張部208に転送され、逐次伸張されて出力部209に送られる。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings. Here, a description will be given using an example of a copying machine provided with a storage device according to the present invention.
[First Embodiment]
[Constitution]
FIG. 2 is a diagram illustrating a hardware configuration of the copying machine 2 including the storage device 20. A CPU (Central Processing Unit) 201 controls the entire storage device 20. The input unit 207 includes a feeder, takes in a document original placed on the feeder one page at a time, reads the image, and generates image data. The image data input from the input unit 207 is compressed by the lossless compression unit 2041 of the compression unit 204 and temporarily stored in the system memory 202. When compression of a predetermined amount (for example, one page) of image data is completed, the storage medium control unit 210 transfers the image data to the storage medium 211 in accordance with an instruction from the CPU 201. The storage medium 211 is a hard disk device. The storage position of the image data in the storage medium 211 is stored in advance in the management table 2061 and is controlled according to the notification from the management unit 206.
The output unit 209 prints an image by an electrophotographic method based on the image data. When the output unit 209 outputs an image, the storage medium control unit 210 reads the designated image data from the storage medium 211 in accordance with an instruction from the CPU 201 and transfers it to the system memory 202. The image data transferred to the system memory 202 is transferred to the expansion unit 208, and is sequentially expanded and sent to the output unit 209.

記憶媒体211は、ハードディスク装置であり、複数のディスク30を備えている。図3に示すように、ディスク30の記録面は、ゾーンビット記録方式によって同心円状に分割されている。ここでは、分割数が3つである例を用いて説明するが、分割数は3つに限るものではない。データ読み出し速度は、図4に示すように、領域Aが20MB/sec以上、領域Bが15MB/sec以上、領域Cが10MB/sec以上となっている。
図4のデータ転送要求速度について述べる。複写機やプリンタ等の装置では、出力部は一定速度でデータを受け取る必要があり、その速度は出力部の性能により決定されている。この速度を満たすことができない場合、出力部が出力を一時停止させたり、出力速度を低下させたりする必要が生じ、出力の効率が低下することになってしまう。ここでは、δMB/sec以上のデータ転送速度が要求されているものとする。
The storage medium 211 is a hard disk device and includes a plurality of disks 30. As shown in FIG. 3, the recording surface of the disk 30 is concentrically divided by a zone bit recording method. Here, an example in which the number of divisions is three will be described, but the number of divisions is not limited to three. As shown in FIG. 4, the data reading speed is 20 MB / sec or more in the area A, 15 MB / sec or more in the area B, and 10 MB / sec or more in the area C.
The data transfer request speed in FIG. 4 will be described. In an apparatus such as a copying machine or a printer, the output unit needs to receive data at a constant speed, and the speed is determined by the performance of the output unit. When this speed cannot be satisfied, the output unit needs to temporarily stop the output or reduce the output speed, resulting in a decrease in output efficiency. Here, it is assumed that a data transfer rate of δMB / sec or more is required.

管理部206は出力部209が要求するデータ転送要求速度と記憶媒体211の各領域の読み出し速度から、各領域の圧縮率の閾値を算出し、管理テーブル2061に記憶させる。圧縮率は、圧縮前のデータ量を圧縮後のデータ量で除したものと定義する。例えば、圧縮前のデータ量が100MB、圧縮後のデータ量が50MBであるとすれば、この場合の圧縮率は、2.0となる。圧縮前の画像のデータ量は、画像のサイズで決まる。例えば、A4サイズのカラー画像を300bpi(bit per inch)でスキャンし、測色値を24bitで量子化した場合、1ライン(短辺方向の画素1列分)のデータ量は7000byte程度である。   The management unit 206 calculates the compression rate threshold value of each area from the data transfer request speed requested by the output unit 209 and the read speed of each area of the storage medium 211, and stores it in the management table 2061. The compression rate is defined as the amount of data before compression divided by the amount of data after compression. For example, if the data amount before compression is 100 MB and the data amount after compression is 50 MB, the compression rate in this case is 2.0. The amount of image data before compression is determined by the size of the image. For example, when an A4-size color image is scanned at 300 bpi (bit per inch) and the colorimetric values are quantized at 24 bits, the data amount of one line (one column of pixels in the short side direction) is about 7000 bytes.

圧縮率の閾値は、印刷を停止させたり、印刷速度を低下させたりせずに、出力部209が所定の速度で画像の印刷を行うことができるための最低限の圧縮率である。すなわち、閾値より高い圧縮率で圧縮された画像データが記憶部に格納されている場合は、出力部209が印刷を行っている間に次のページの画像データを読み出して印刷に備えることができる。圧縮率の閾値は、出力部209のデータ転送要求速度を当該領域の読み出し速度で除することによって求められる。例えば、データ転送要求速度が40MB/sec、読み出し速度が20MB/secであるとすれば、この場合の圧縮率の閾値は2.0となる。   The compression rate threshold is a minimum compression rate that enables the output unit 209 to print an image at a predetermined speed without stopping printing or reducing the printing speed. That is, when image data compressed at a compression rate higher than the threshold value is stored in the storage unit, the image data of the next page can be read and prepared for printing while the output unit 209 performs printing. . The threshold value of the compression rate is obtained by dividing the data transfer request speed of the output unit 209 by the read speed of the area. For example, if the data transfer request rate is 40 MB / sec and the read rate is 20 MB / sec, the compression rate threshold in this case is 2.0.

管理テーブル2061を作成するにあたっては、各領域のデータ読み出し速度が判明していることが必要であるが、データ読み出し速度は事前に計測しておいてもよいし、記憶装置に計測手段を設け、記憶装置起動時にデータ読み出し速度を計測することとしてもよい。図4はこのようにして作成された管理テーブル2061の例を示す図である。
次にデータの圧縮率の管理単位について述べる。図6に示すように、文書を表す画像データのデータ量は、ライン、ページ、ジョブという3つの単位で管理される。ラインは、1列分の画素の連なりであり、ページは複数のラインの画像データで表される。ジョブは文書全体である。
In creating the management table 2061, it is necessary to know the data reading speed of each area. However, the data reading speed may be measured in advance, or a measuring unit is provided in the storage device. The data reading speed may be measured when the storage device is activated. FIG. 4 is a diagram showing an example of the management table 2061 created in this way.
Next, the management unit of the data compression rate will be described. As shown in FIG. 6, the amount of image data representing a document is managed in three units: line, page, and job. A line is a series of pixels for one column, and a page is represented by image data of a plurality of lines. A job is an entire document.

データの圧縮率は、ライン単位で管理する。その理由を以下に述べる。画像データの圧縮率をライン毎に見ると、一般的には、図7に示すように、その圧縮率にはばらつきが生じる。この際、あるラインの圧縮率が閾値未満であると、出力するべきデータの到着が遅れるから、そのラインの出力時に出力部209が一時停止することを余儀なくされる。従って、本発明では、一定速度での出力を可能とするために、ライン毎に圧縮率を閾値と比較して、閾値未満である場合には、後述する再圧縮を行う。   The data compression rate is managed in line units. The reason is described below. When the compression rate of the image data is viewed for each line, generally, the compression rate varies as shown in FIG. At this time, if the compression rate of a certain line is less than the threshold value, the arrival of data to be output is delayed, so the output unit 209 is forced to pause when outputting the line. Therefore, in the present invention, in order to enable output at a constant speed, the compression rate is compared with a threshold value for each line, and if it is less than the threshold value, recompression described later is performed.

本実施形態では、最初の圧縮に用いる圧縮方式として、画質劣化のない可逆圧縮方式を用いる。可逆圧縮方式としては、例えば、JBIG(Joint Bi-lebel Image experts Group)を用いることが可能である。また、最初の圧縮で閾値以上の圧縮率を得られない場合には、可逆圧縮方式よりも高い圧縮率が得られる非可逆圧縮方式を用いて再圧縮を行う。非可逆圧縮方式としては、例えば、JPEG(Joint Photographic Coding Expert Group)を用いることが可能である。ただし、圧縮方式は上記の例に限定されるものではなく、同等の圧縮率が得られる他の方式を用いてもよい。   In this embodiment, a reversible compression method without image quality deterioration is used as the compression method used for the first compression. For example, JBIG (Joint Bi-lebel Image experts Group) can be used as the lossless compression method. In addition, when a compression rate equal to or higher than the threshold cannot be obtained by the first compression, recompression is performed using an irreversible compression method that can obtain a higher compression rate than the lossless compression method. As the lossy compression method, for example, JPEG (Joint Photographic Coding Expert Group) can be used. However, the compression method is not limited to the above example, and other methods that can obtain an equivalent compression rate may be used.

[動作]
上記の構成による記憶装置の動作について、記憶装置を備えた複写機の例を用いて説明する。図5は、記憶装置の動作を示すフロー図である。なお、複写機には電源が投入されているものとする。
まず、記憶装置の管理部206は、画像データを記憶媒体211のどの位置に格納するかを記憶媒体制御部210に通知する(ステップS501)。格納位置は、管理部206が、その時点で空いている領域の中で最も読み出し速度の速い領域を探し出すことによって決定される。
[Operation]
The operation of the storage device having the above configuration will be described using an example of a copying machine including the storage device. FIG. 5 is a flowchart showing the operation of the storage device. It is assumed that the copying machine is turned on.
First, the management unit 206 of the storage device notifies the storage medium control unit 210 which position in the storage medium 211 the image data is stored (step S501). The storage position is determined by the management unit 206 searching for an area with the fastest reading speed among the vacant areas at that time.

次に、入力部207によって文書1ページ分が読み取られ、読み取られたページを表す画像データが生成される(ステップS502)。
生成された画像データはライン単位で可逆圧縮部2041に送られ、所定の圧縮パラメータを用いてライン単位で圧縮される(ステップS503)。
圧縮されたデータは、ライン単位でシステムメモリ202に格納される(ステップS504)。
Next, one page of the document is read by the input unit 207, and image data representing the read page is generated (step S502).
The generated image data is sent to the lossless compression unit 2041 line by line, and is compressed line by line using a predetermined compression parameter (step S503).
The compressed data is stored in the system memory 202 in units of lines (step S504).

ここで、CPU201は、ページに含まれるすべてのラインが入力されたかどうかを判定し(ステップS505)、未入力のラインが残っているならば、ステップS502に戻り、ラインの入力を行う。
すべてのラインが入力されたならば、圧縮率の判定を行う(ステップS506)。ここでは、CPU201が、指定された格納位置の圧縮率の閾値を管理テーブル2061から抽出し、システムメモリ202に格納されている各ラインの圧縮率を閾値と比較する。そして、当該ページのすべてのラインの圧縮率が閾値以上である場合には(ステップS506:YES)、当該ページの画像データを指定された格納位置に格納する(ステップS507)。
Here, the CPU 201 determines whether or not all the lines included in the page have been input (step S505), and if there are any uninput lines, the process returns to step S502 to input the lines.
If all lines have been input, the compression rate is determined (step S506). Here, the CPU 201 extracts the compression rate threshold value of the designated storage location from the management table 2061 and compares the compression rate of each line stored in the system memory 202 with the threshold value. If the compression rate of all lines on the page is equal to or greater than the threshold (step S506: YES), the image data of the page is stored in the designated storage position (step S507).

一方、ステップS506で、閾値以上の圧縮率が得られていないラインが存在する場合には(ステップS506:NO)、再圧縮を行う。まず、CPU201は、システムメモリ202に格納されている画像データを読み出し、この画像データを伸張部208に送る。伸張部208に送られた画像データは伸張され(ステップS508)、バッファメモリ205に転送される(ステップS509)。管理部206は、閾値以上の圧縮率を得ることができるように非可逆圧縮部2042に圧縮パラメータを設定する(ステップS510)。   On the other hand, if there is a line for which a compression ratio equal to or higher than the threshold is not obtained in step S506 (step S506: NO), recompression is performed. First, the CPU 201 reads out image data stored in the system memory 202 and sends this image data to the decompression unit 208. The image data sent to the decompression unit 208 is decompressed (step S508) and transferred to the buffer memory 205 (step S509). The management unit 206 sets a compression parameter in the irreversible compression unit 2042 so that a compression rate equal to or higher than the threshold can be obtained (step S510).

次に、バッファメモリ205に格納されている画像データは非可逆圧縮部2042に送られ、非可逆圧縮方式による再圧縮が施される(ステップS503)。
再圧縮された画像データは、システムメモリ202に転送され(ステップS504)、圧縮率と閾値との比較(ステップS506)が行われた後。記憶媒体211の指定された格納位置に格納される(ステップS507)。CPU201は、この一連の処理をすべてのページに対して施す。
Next, the image data stored in the buffer memory 205 is sent to the irreversible compression unit 2042 and recompressed by the irreversible compression method (step S503).
After the recompressed image data is transferred to the system memory 202 (step S504) and the comparison between the compression rate and the threshold (step S506) is performed. The data is stored in the designated storage location of the storage medium 211 (step S507). The CPU 201 performs this series of processing on all pages.

図8(a)は、1つのジョブに含まれるすべてのページの画像データが記憶媒体211に格納され終えたときの状態を表す一覧表である。図8(b)は、各ページの格納位置を表す図である。ジョブ全体でn+5ページであり、画像データは、読み出し速度が最も高速である領域Aから、その領域で規定された圧縮率の閾値以上に圧縮されて格納される。ここでは領域Aだけではすべてのページを格納することができないため、n+2ページ目以降は領域Bにもデータを格納している。領域Bは領域Aよりも読み出し速度が遅いため、格納されるデータの圧縮率の閾値βは領域Aの閾値αよりも高い値になっている(β>α)。これによって、保証転送速度の欄に示されているように、すべてのページについて、出力部209が要求する転送速度δMB/secでのデータ転送が可能となる。   FIG. 8A is a list showing a state when the image data of all pages included in one job has been stored in the storage medium 211. FIG. 8B shows the storage position of each page. The entire job has n + 5 pages, and the image data is compressed from the area A where the reading speed is the fastest to be compressed to be equal to or higher than a compression rate threshold defined in the area. Here, not all pages can be stored in the area A alone, and therefore data is also stored in the area B after the n + 2nd page. Since the reading speed of the area B is slower than that of the area A, the threshold value β of the compression rate of the stored data is higher than the threshold value α of the area A (β> α). As a result, as shown in the column of guaranteed transfer rate, data transfer at a transfer rate δMB / sec requested by the output unit 209 is possible for all pages.

以上説明したように、本発明によれば、ハードディスクの外周部から順にデータを格納し、かつ、出力部の要求転送速度を満たすように各領域の読み出し速度に応じてデータ圧縮を施して画像データを格納するから、大容量の画像データの高速かつ一定速度での転送が可能となる。また、記憶領域を限定することなく、出力部が要求する転送速度を満たした上で、データを格納することが可能となる。
また、画素の1列分毎に圧縮率を管理することにより、ラインによって印刷速度が低下することを防止することができる。再圧縮には非可逆圧縮方式を用いるので、最初の圧縮(可逆圧縮)における圧縮率を上回る圧縮率での再圧縮を行うことができる。再圧縮の際には、可逆圧縮の施された画像データを伸張して用いるから、圧縮前の画像データを保持しておく必要がない。
As described above, according to the present invention, image data is stored in order from the outer periphery of the hard disk, and is subjected to data compression in accordance with the reading speed of each area so as to satisfy the required transfer rate of the output unit. Therefore, large-capacity image data can be transferred at a high speed and at a constant speed. Further, it is possible to store data while satisfying the transfer rate required by the output unit without limiting the storage area.
Further, by managing the compression rate for each column of pixels, it is possible to prevent the printing speed from being lowered by the line. Since an irreversible compression method is used for recompression, recompression can be performed at a compression rate that exceeds the compression rate in the first compression (reversible compression). At the time of recompression, since the image data subjected to lossless compression is expanded and used, there is no need to hold the image data before compression.

[第2実施形態]
上述の第1実施形態においては、図2に示すように管理部206および非可逆圧縮部2042をハードウェアで構成していたが、本発明の第2実施形態における記憶装置90は、CPU901がプログラムを実行することにより管理部および非可逆圧縮部として機能するように構成されている。図9は、このように構成された記憶装置90を備えた複写機9のハードウェア構成を示す図である。ここでは、管理テーブルはシステムメモリ902の管理テーブル領域910に格納されている。また、システムメモリ902には再圧縮領域911が設けられており、伸張済みの画像データを再圧縮領域911に保持させ、CPU901が非可逆圧縮方式による再圧縮を行う。
[Second Embodiment]
In the first embodiment described above, the management unit 206 and the irreversible compression unit 2042 are configured by hardware as shown in FIG. 2, but the storage device 90 in the second embodiment of the present invention is programmed by the CPU 901. Are configured to function as a management unit and an irreversible compression unit. FIG. 9 is a diagram illustrating a hardware configuration of the copying machine 9 including the storage device 90 configured as described above. Here, the management table is stored in the management table area 910 of the system memory 902. Further, the system memory 902 is provided with a recompression area 911. The decompressed image data is held in the recompression area 911, and the CPU 901 performs recompression by the irreversible compression method.

図10は、このように構成された記憶装置90の動作を示すフロー図である。図5と共通なステップについては、同一の符号を付している。図5で示されたフローとの違いは、圧縮率が閾値未満であると判定された場合の処理(ステップS1008〜S1010)である。再圧縮が必要となった画像データはCPU901により伸張され、再度、システムメモリ902内の再圧縮領域911に格納される(S1008)。CPU901は、この画像データを非可逆圧縮方式により圧縮するための圧縮パラメータを設定し(ステップS1009)、画像データの圧縮を行う(S1010)。圧縮されたデータは再度、システムメモリ902に格納され、CPU901は、圧縮率が所定の閾値以上であるかどうかを判定する(ステップS506)。閾値以上である場合には(ステップS506:YES)、画像データは記憶媒体907に格納される。
上記の構成によれば、管理テーブルや非可逆圧縮方式の更新/変更を行う際に、プログラムを入れ換えるだけでよいため、ハードウェアに改変を加える必要がない。
FIG. 10 is a flowchart showing the operation of the storage device 90 configured as described above. Steps common to FIG. 5 are given the same reference numerals. The difference from the flow shown in FIG. 5 is processing (steps S1008 to S1010) when it is determined that the compression rate is less than the threshold. The image data that needs to be recompressed is decompressed by the CPU 901 and stored again in the recompression area 911 in the system memory 902 (S1008). The CPU 901 sets a compression parameter for compressing the image data by the irreversible compression method (step S1009), and compresses the image data (S1010). The compressed data is stored again in the system memory 902, and the CPU 901 determines whether or not the compression rate is equal to or greater than a predetermined threshold (step S506). If it is equal to or greater than the threshold (step S506: YES), the image data is stored in the storage medium 907.
According to the above configuration, when updating / changing the management table and the irreversible compression method, it is only necessary to replace the program, so there is no need to modify the hardware.

[第3実施形態]
本発明の第3実施形態は、第2実施形態における記憶装置90において、さらに、圧縮方式をユーザが指定できるように構成したものである。例えば、図11に示すように、固定圧縮方式モード、可変圧縮方式モードを設け、いずれかを指定することを促す画面を複写機の表示パネルに表示させる。可変圧縮方式モードとは、上記の実施形態で説明したモードであり、最初に可逆圧縮方式で画像データを圧縮し、圧縮率が閾値未満である場合には非可逆圧縮方式で再圧縮するモードである。一方、固定圧縮方式モードは、初回の圧縮と再圧縮とに、ともに非可逆圧縮方式を用いるモードである。非可逆圧縮方式を用いる理由は以下のとおりである。上記の実施形態においては、可逆圧縮方式による圧縮率が閾値未満である場合には非可逆圧縮方式で再圧縮することとしていた。この場合、1つのジョブの中に可逆圧縮方式によって圧縮されたページと非可逆圧縮方式によって圧縮されたページが混在することになる。写真のような自然画像で構成されたジョブの場合、ページ毎に圧縮方式が異なることにより画質の微妙な違いが生じることになる。非可逆圧縮方式は可逆圧縮方式よりも圧縮率が高いため、非可逆圧縮方式により圧縮された画像は可逆圧縮方式によるものよりも画質が低下するが、ここでは、ページ間の画質の統一を優先させ、すべてのページを非可逆圧縮方式で圧縮する。
[Third Embodiment]
In the third embodiment of the present invention, the storage device 90 in the second embodiment is configured such that the user can specify the compression method. For example, as shown in FIG. 11, a fixed compression method mode and a variable compression method mode are provided, and a screen that prompts the user to designate one is displayed on the display panel of the copying machine. The variable compression mode is a mode described in the above embodiment, and is a mode in which image data is first compressed by a lossless compression method and recompressed by an irreversible compression method when the compression rate is less than a threshold value. is there. On the other hand, the fixed compression method mode is a mode in which the lossy compression method is used for both the initial compression and the recompression. The reason for using the lossy compression method is as follows. In the above embodiment, when the compression rate by the lossless compression method is less than the threshold, recompression is performed by the lossy compression method. In this case, a page compressed by the lossless compression method and a page compressed by the lossy compression method are mixed in one job. In the case of a job composed of a natural image such as a photograph, a subtle difference in image quality occurs due to different compression methods for each page. Since the lossy compression method has a higher compression ratio than the lossless compression method, the image quality of the image compressed by the lossy compression method is lower than that of the lossless compression method. And compress all pages using a lossy compression method.

この固定圧縮方式モードによる圧縮を行う場合、管理テーブルに書き込まれる内容は図12のようになる。画像データの格納に使用する領域が複数の領域にまたがる場合には、それらの中で最も高い閾値が適用される。領域Aのみの場合には、領域Aの圧縮率閾値αが適用される。領域Aと領域Bにまたがる場合には領域Bの閾値βが、領域Cにまでまたがる場合には領域Cの閾値γが適用される。ここで、α<β<γである。
図13は、可変圧縮方式モードと固定圧縮方式モードを選択可能に構成された記憶装置の動作を示すフロー図である。図10と共通のステップには同一の符号を付している。まず、CPU901は、複写機9の表示パネルに図11に示す画面を表示させる(ステップS1301)。ユーザによりモードを指定する指示が入力されると、CPU901は、入力された指示がいずれのモードを指定する指示であるかを判定し(ステップS1302)。
When compression is performed in the fixed compression mode, the contents written in the management table are as shown in FIG. When the area used for storing the image data extends over a plurality of areas, the highest threshold value among them is applied. In the case of only the area A, the compression ratio threshold value α of the area A is applied. The threshold value β of the region B is applied when the region A and the region B are extended, and the threshold value γ of the region C is applied when the region A is extended to the region C. Here, α <β <γ.
FIG. 13 is a flowchart showing the operation of the storage device configured to be able to select the variable compression mode and the fixed compression mode. Steps common to those in FIG. 10 are denoted by the same reference numerals. First, the CPU 901 displays the screen shown in FIG. 11 on the display panel of the copier 9 (step S1301). When an instruction for specifying a mode is input by the user, the CPU 901 determines which mode is specified by the input instruction (step S1302).

、可変圧縮方式モードが指定された場合には(ステップS1302:YES)、ステップS501以降の処理を行う。一方、固定圧縮方式モードが指定された場合には(ステップS1302:NO)、ステップS1303以降の処理を行う。
まず、CPU901は画像データを格納する領域を指定し(ステップS1303)、非可逆圧縮方式での圧縮パラメータを設定する(ステップS1304)。画像データが入力されると(ステップS1305)、その画像データはシステムメモリ902へ転送される(ステップS1306)。CPU901は、システムメモリ902へ転送された画像データを非可逆圧縮方式により圧縮する(ステップS1307)。そして、圧縮された画像データの圧縮率と閾値とを比較し(ステップS1308)、圧縮率が閾値以上であるならば(ステップS1308:YES)記憶媒体907に格納する(ステップS507)。圧縮率が閾値未満であるならば(ステップS1308:NO)、ステップS1304に戻り、より高い圧縮率が得られるように圧縮パラメータを設定し直してステップS1305以降の処理を行う。
上記の構成によれば、圧縮方式の違いに起因するページ間の画質の違いが生じることを防止することができる。
When the variable compression method mode is designated (step S1302: YES), the processing after step S501 is performed. On the other hand, when the fixed compression mode is designated (step S1302: NO), the processing after step S1303 is performed.
First, the CPU 901 designates an area for storing image data (step S1303), and sets a compression parameter for the lossy compression method (step S1304). When image data is input (step S1305), the image data is transferred to the system memory 902 (step S1306). The CPU 901 compresses the image data transferred to the system memory 902 by an irreversible compression method (step S1307). Then, the compression rate of the compressed image data is compared with a threshold value (step S1308), and if the compression rate is equal to or higher than the threshold value (step S1308: YES), it is stored in the storage medium 907 (step S507). If the compression rate is less than the threshold (step S1308: NO), the process returns to step S1304, the compression parameters are reset so that a higher compression rate can be obtained, and the processing from step S1305 is performed.
According to said structure, it can prevent that the difference in the image quality between pages resulting from the difference in a compression system arises.

[変形例]
以上説明した形態に限らず、本発明は種々の形態で実施可能である。例えば、上述の実施形態を以下のように変形した形態でも実施可能である。
画像データの圧縮率をライン単位でなくページ単位で管理することとしてもよい。
画像データの最初の圧縮および再圧縮の両方に可逆圧縮方式を用いてもよい。この場合、再圧縮の際の可逆圧縮方式は、最初の圧縮における可逆圧縮方式よりも高い圧縮率が得られる方式であってもよいし、圧縮パラメータを変更することによって最初の圧縮よりも高い圧縮率を得るようにしてもよい。
[Modification]
The present invention is not limited to the form described above, and can be implemented in various forms. For example, the embodiment described above can be modified as follows.
The compression rate of the image data may be managed in units of pages instead of units of lines.
A lossless compression method may be used for both initial compression and recompression of image data. In this case, the lossless compression method at the time of re-compression may be a method that can obtain a higher compression rate than the lossless compression method in the first compression, or a higher compression than the first compression by changing the compression parameter. You may make it get a rate.

圧縮前の画像データを最初の圧縮後も保持しておき、再圧縮の際に、最初の圧縮で圧縮された画像データを伸張するのではなく、圧縮前の画像データを用いるようにしてもよい。
上述の実施形態においては、記憶部がハードディスク装置である記憶装置の例を示したが、記憶部は例えば半導体メモリ等の記憶装置であってもよい。また、本発明にかかる記憶装置を、プリンタ等、複写機以外の画像形成装置に用いてもよい。
The image data before compression may be retained after the first compression, and the image data before compression may be used instead of decompressing the image data compressed by the first compression at the time of recompression. .
In the above-described embodiment, an example of a storage device in which the storage unit is a hard disk device has been described, but the storage unit may be a storage device such as a semiconductor memory. The storage device according to the present invention may be used in an image forming apparatus other than a copying machine, such as a printer.

ハードディスクの記録面を示す図である。It is a figure which shows the recording surface of a hard disk. 記憶装置20を備えた複写機2のハードウェア構成を示す図である。2 is a diagram illustrating a hardware configuration of a copying machine 2 including a storage device 20. FIG. ハードディスクの記録面を示す図である。It is a figure which shows the recording surface of a hard disk. 管理テーブルの例を示す図である。It is a figure which shows the example of a management table. 記憶装置20の動作を示すフロー図である。4 is a flowchart showing the operation of the storage device 20. FIG. 画像データのデータ量を表す単位を示す図である。It is a figure which shows the unit showing the data amount of image data. ライン毎の圧縮率のばらつきを示す図である。It is a figure which shows the dispersion | variation in the compression rate for every line. 画像データが記憶媒体に格納されたときの状態を表す一覧表である。It is a list showing a state when image data is stored in a storage medium. 各ページの画像データの格納位置を表す図である。It is a figure showing the storage position of the image data of each page. 記憶装置90を備えた複写機9のハードウェア構成を示す図である。2 is a diagram showing a hardware configuration of a copying machine 9 provided with a storage device 90. FIG. 第2実施形態における記憶装置90の動作を示すフロー図である。It is a flowchart which shows operation | movement of the memory | storage device 90 in 2nd Embodiment. 第3実施形態における複写機9の表示パネルの表示例を示す図である。It is a figure which shows the example of a display of the display panel of the copying machine 9 in 3rd Embodiment. 固定圧縮方式モードにおいて管理テーブルに書き込まれる内容を示す図である。It is a figure which shows the content written in the management table in fixed compression system mode. 第3実施形態における記憶装置90の動作を示すフロー図である。It is a flowchart which shows operation | movement of the memory | storage device 90 in 3rd Embodiment.

符号の説明Explanation of symbols

201…CPU、202…システムメモリ、203…バス制御部、204…圧縮部、2041…可逆圧縮部、2042…非可逆圧縮部、205…バッファメモリ、206…管理部、207…入力部、208…伸張部、209…出力部、210…記憶媒体制御部、211…記憶媒体。 201 ... CPU, 202 ... system memory, 203 ... bus control unit, 204 ... compression unit, 2041 ... reversible compression unit, 2042 ... irreversible compression unit, 205 ... buffer memory, 206 ... management unit, 207 ... input unit, 208 ... Decompression unit, 209... Output unit, 210... Storage medium control unit, 211.

Claims (7)

データの読み出し速度が異なる複数の記憶領域を有する記憶部と、
前記記憶部から読み出された画像データに基づいて画像を出力する出力部と、
前記記憶部の空き領域の中から読み出し速度の最も速い記憶領域を、入力された画像データに割り当てる割り当て手段と、
前記割り当て手段により割り当てられた記憶領域の読み出し速度と、前記出力部によって要求されるデータ転送速度とから、該データ転送速度を満たすデータ圧縮率の閾値を求める閾値算出手段と、
画像データを圧縮する圧縮手段と、
前記圧縮手段により圧縮された画像データの圧縮率と前記閾値算出手段により求められた閾値とを比較する比較手段と、
前記圧縮手段により圧縮された画像データの圧縮率が前記閾値未満である場合に、前記入力された画像データを前記閾値以上の圧縮率で圧縮する再圧縮手段と、
前記圧縮手段または前記再圧縮手段により前記閾値以上の圧縮率で圧縮された画像データを前記割り当て手段により割り当てられた記憶領域に格納する格納手段と
を有する記憶装置。
A storage unit having a plurality of storage areas with different data reading speeds;
An output unit that outputs an image based on the image data read from the storage unit;
An allocating means for allocating a storage area with the fastest reading speed from the free area of the storage unit to the input image data;
Threshold calculation means for obtaining a threshold value of a data compression rate that satisfies the data transfer speed from the read speed of the storage area allocated by the allocation means and the data transfer speed requested by the output unit;
Compression means for compressing image data;
A comparison means for comparing the compression ratio of the image data compressed by the compression means with the threshold value obtained by the threshold value calculation means;
Recompression means for compressing the input image data at a compression ratio equal to or higher than the threshold when the compression ratio of the image data compressed by the compression means is less than the threshold;
A storage unit configured to store the image data compressed by the compression unit or the recompression unit at a compression ratio equal to or higher than the threshold in a storage area allocated by the allocation unit.
前記比較手段は、画像データを構成する画素値の1列分毎に圧縮率と閾値とを比較し、
前記再圧縮手段は、画像データの圧縮率が閾値未満である画素の列が存在する場合には、当該ページの入力画像データを前記閾値以上の圧縮率で圧縮する
ことを特徴とする請求項1に記載の記憶装置。
The comparison means compares the compression rate and the threshold value for each column of pixel values constituting the image data,
The re-compression unit compresses the input image data of the page at a compression rate equal to or higher than the threshold when there is a column of pixels whose compression rate is less than the threshold. The storage device described in 1.
前記圧縮手段は、可逆圧縮方式によりデータの圧縮を行い、
前記再圧縮手段は、非可逆圧縮方式によりデータの圧縮を行う
ことを特徴とする請求項1に記載の記憶装置。
The compression means compresses data by a reversible compression method,
The storage device according to claim 1, wherein the recompression unit compresses data by a lossy compression method.
可逆圧縮方式によって圧縮された画像データを伸張する伸張手段を有し、
前記再圧縮手段は、前記圧縮手段により圧縮された画像データの圧縮率が前記閾値にみたない場合に、該画像データを前記伸張手段を用いて伸張し、伸張された画像データを前記閾値以上の圧縮率で圧縮する
ことを特徴とする請求項1に記載の記憶装置。
Having decompression means for decompressing the image data compressed by the lossless compression method;
The recompressing unit decompresses the image data using the decompressing unit when the compression rate of the image data compressed by the compressing unit does not meet the threshold value, and the decompressed image data exceeds the threshold value. The storage device according to claim 1, wherein compression is performed at a compression rate.
前記記憶部はハードディスク装置であることを特徴とする請求項1に記載の記憶装置。   The storage device according to claim 1, wherein the storage unit is a hard disk device. 請求項1乃至5に記載の記憶装置を備えたことを特徴とする画像形成装置。   An image forming apparatus comprising the storage device according to claim 1. コンピュータ装置を、
データの読み出し速度が異なる複数の記憶領域を有する記憶部の空き領域の中から読み出し速度の最も速い記憶領域を、入力された画像データに割り当てる割り当て手段と、
前記割り当て手段により割り当てられた記憶領域の読み出し速度と、前記記憶部から読み出された画像データに基づいて画像を出力する出力部によって要求されるデータ転送速度とから、該データ転送速度を満たすデータ圧縮率の閾値を求める閾値算出手段と、
画像データを圧縮する圧縮手段と、
前記圧縮手段により圧縮された画像データの圧縮率と前記閾値算出手段により求められた閾値とを比較する比較手段と、
前記圧縮手段により圧縮された画像データの圧縮率が前記閾値未満である場合に、前記入力された画像データを前記閾値以上の圧縮率で圧縮する再圧縮手段と、
前記圧縮手段または前記再圧縮手段により前記閾値以上の圧縮率で圧縮された画像データを前記割り当て手段により割り当てられた記憶領域に格納する格納手段
として機能させるためのプログラム。
Computer equipment,
An assigning means for allocating a storage area with the fastest reading speed among the free areas of the storage unit having a plurality of storage areas with different data reading speeds to the input image data;
Data satisfying the data transfer speed from the read speed of the storage area allocated by the allocating means and the data transfer speed requested by the output section that outputs an image based on the image data read from the storage section A threshold value calculating means for obtaining a threshold value of the compression rate;
Compression means for compressing image data;
A comparison means for comparing the compression ratio of the image data compressed by the compression means with the threshold value obtained by the threshold value calculation means;
Recompression means for compressing the input image data at a compression ratio equal to or higher than the threshold when the compression ratio of the image data compressed by the compression means is less than the threshold;
A program for functioning as storage means for storing image data compressed by the compression means or the recompression means at a compression rate equal to or higher than the threshold in a storage area allocated by the allocation means.
JP2003364988A 2003-10-24 2003-10-24 Storage device, image forming device and program Pending JP2005128875A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003364988A JP2005128875A (en) 2003-10-24 2003-10-24 Storage device, image forming device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003364988A JP2005128875A (en) 2003-10-24 2003-10-24 Storage device, image forming device and program

Publications (1)

Publication Number Publication Date
JP2005128875A true JP2005128875A (en) 2005-05-19

Family

ID=34643801

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003364988A Pending JP2005128875A (en) 2003-10-24 2003-10-24 Storage device, image forming device and program

Country Status (1)

Country Link
JP (1) JP2005128875A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007028029A (en) * 2005-07-14 2007-02-01 Matsushita Electric Ind Co Ltd Device and method for processing image
JP2018079636A (en) * 2016-11-17 2018-05-24 富士ゼロックス株式会社 Image processing device and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007028029A (en) * 2005-07-14 2007-02-01 Matsushita Electric Ind Co Ltd Device and method for processing image
JP2018079636A (en) * 2016-11-17 2018-05-24 富士ゼロックス株式会社 Image processing device and program

Similar Documents

Publication Publication Date Title
US6519052B1 (en) Image processing method and apparatus to select a data compression method according to a size of an output image
US9967423B2 (en) Image forming apparatus and method for controlling image forming apparatus
JP3861964B2 (en) Printer and image data processing method in the printer
US20020122198A1 (en) Method and apparatus for image processing, and storage medium
JPH10327404A (en) Method and system for compressing photographic image
US20030156760A1 (en) Layer based compression of digital images
JP3733759B2 (en) Printer control apparatus and method, recording medium storing printer control program, and printer system
JP2005128875A (en) Storage device, image forming device and program
JP3869992B2 (en) Information processing apparatus, image processing apparatus, and methods thereof
JP5928505B2 (en) Image processing apparatus, image processing method and image processing program in the same
JP2001146046A (en) Printing system
US8582153B2 (en) Image forming apparatus and method
JPH05244367A (en) Image processor
JP3458501B2 (en) Encoding device
JP3926030B2 (en) Image forming apparatus
JPH10208031A (en) Image processor
JPH0955835A (en) Image processor
JP6260372B2 (en) Image processing apparatus and image data processing method
JP2013016005A (en) Information processing device, control method therefor, and control program
JP2004289603A (en) Image forming apparatus, image forming method, and image forming program
JP2007286750A (en) Image processing device and image formation device
JP2002029101A (en) Controlling method for reading and writing data of hard disc in image processing device
JP2017163349A (en) Image data processing apparatus, image forming apparatus, and image data processing method
JPH0793210A (en) Shared memory managing system
JP2006253946A (en) Image processing apparatus, auxiliary storage apparatus control program, and recording medium