JP2007281823A - Image processing apparatus and image forming apparatus - Google Patents

Image processing apparatus and image forming apparatus Download PDF

Info

Publication number
JP2007281823A
JP2007281823A JP2006104605A JP2006104605A JP2007281823A JP 2007281823 A JP2007281823 A JP 2007281823A JP 2006104605 A JP2006104605 A JP 2006104605A JP 2006104605 A JP2006104605 A JP 2006104605A JP 2007281823 A JP2007281823 A JP 2007281823A
Authority
JP
Japan
Prior art keywords
data
image
image data
compression
compressed
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
JP2006104605A
Other languages
Japanese (ja)
Other versions
JP4450810B2 (en
Inventor
Kosuke Harada
浩介 原田
Tokiyuki Okano
時行 岡野
Makoto Higuchi
誠 樋口
Soichi Takada
聡一 高田
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP2006104605A priority Critical patent/JP4450810B2/en
Priority to US11/729,779 priority patent/US7813565B2/en
Priority to CNB2007100958307A priority patent/CN100574361C/en
Publication of JP2007281823A publication Critical patent/JP2007281823A/en
Application granted granted Critical
Publication of JP4450810B2 publication Critical patent/JP4450810B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processing apparatus the capacity of an image memory of which can be decreased and the operating efficiency of which can be enhanced, and to provide an image forming apparatus provided with the image processing apparatus. <P>SOLUTION: A storage area for storing compression data is divided into a plurality of division areas each having a data length Ls, each division area comprises two areas comprising a first area with a data length Ld and a second area with a data length La (Ls=Ld+La), a plurality of the first areas are collected from higher-order addresses to lower-order addresses to configure memory areas D1 for the compression image data, and a plurality of the second areas are collected from higher-order addresses to lower-order addresses to configure memory areas A1 for the compression attribute data. An image memory controle section sequentially writes the compression image data from the higher-order addresses to the lower-order addresses of the memory areas D1 for the compression image data and sequentially writes the compression attribute data from the higher-order addresses to the lower-order addresses of the memory areas A1 for the compression attribute data. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、画像データ及び画像データの特徴量を抽出して得られた属性データを記憶する画像処理装置及び該画像処理装置を備えた画像形成装置に関する。   The present invention relates to an image processing apparatus that stores image data and attribute data obtained by extracting feature values of the image data, and an image forming apparatus including the image processing apparatus.

近年、インターネットに代表される情報処理の高速化又は情報量の増大化に伴って、オフィスに設置されたデジタル複合機は、ファックス、プリント、コピーなどの処理に加えて、作成された文書、図面などをデータベース化してファイルするドキュメントファイル処理などの機能も備えており、多くのユーザによって共用されるととともに、大量の画像データを高速に処理するようになってきている。   In recent years, with the speeding up of information processing represented by the Internet or the increase in the amount of information, digital multifunction devices installed in offices have created documents and drawings in addition to processing such as faxing, printing, and copying. It is also equipped with a function such as a document file processing for filed in a database and is shared by many users, and a large amount of image data is processed at high speed.

従来、デジタル複合機では、高速アクセスが可能な半導体メモリを1次記憶装置(画像メモリ)とし、比較的アクセス時間が低速なハードディスクドライブ(HDD)を2次記憶装置として構成し、原稿を読込んで取得した画像データを圧縮し、圧縮された圧縮データを1次記憶装置にバッファリングしつつ、HDDに保存することにより、大量の画像データをできるだけ高速処理するとともに、記憶装置全体の記憶容量の削減が行われていた。   Conventionally, in a digital multi-function peripheral, a semiconductor memory that can be accessed at high speed is used as a primary storage device (image memory), and a hard disk drive (HDD) that has a relatively low access time is configured as a secondary storage device. By compressing the acquired image data and buffering the compressed data in the primary storage device and storing it in the HDD, a large amount of image data is processed as fast as possible and the storage capacity of the entire storage device is reduced. Was done.

記憶容量を削減する例として、特許文献1では、カメラデータをJPEGフォーマットによる圧縮処理を行い、圧縮処理が施されていないカメラデータエリアを回避するように圧縮された圧縮データを上書きすることにより、記憶容量を削減するデジタルカメラが提案されている。   As an example of reducing the storage capacity, in Patent Document 1, the camera data is compressed by the JPEG format, and the compressed data compressed to avoid the camera data area not subjected to the compression process is overwritten. Digital cameras that reduce the storage capacity have been proposed.

また、デジタル複合機の場合、多様な原稿に対する高画質再現を実現するために、画像データに加えて、画像データの特徴量(例えば、局所マスクで求められる注目画素周辺の濃度情報、濃度勾配など)を抽出し、抽出結果に基づいて、原稿種別の判定及び所要の処理に用いる属性データ(例えば、文字、写真など)を生成する。画像データと属性データとは異なるデータであり、また圧縮方式も異なるため、圧縮して1次記憶装置(画像メモリ)にバッファリングする場合、夫々異なる記憶領域を設ける必要がある。   In the case of a digital multi-function peripheral, in addition to image data, in order to realize high image quality reproduction for various documents, the feature amount of image data (for example, density information around the target pixel required by a local mask, density gradient, etc.) ) Are extracted, and attribute data (for example, characters, photos, etc.) used for determination of the document type and required processing is generated based on the extraction result. Since the image data and the attribute data are different data, and the compression method is also different, it is necessary to provide different storage areas for compression and buffering in the primary storage device (image memory).

例えば、図10は従来の画像メモリ(1次記憶装置)のメモリマップの例を示す模式図である。図10(a)は、例えば、1頁の原稿(A4、カラー)を読込んで取得した画像データ及び該画像データに基づいて生成された属性データを圧縮し、圧縮して得られた圧縮画像データ及び圧縮属性データ夫々を2次記憶装置(例えば、HDD)に保存する前に、バッファリング(記憶)するための圧縮画像データ用メモリ領域d1及び圧縮属性データ用メモリ領域a1を示す。圧縮画像データ用メモリ領域d1及び圧縮属性データ用メモリ領域a1は、連続して設けられている。   For example, FIG. 10 is a schematic diagram showing an example of a memory map of a conventional image memory (primary storage device). FIG. 10A shows, for example, compressed image data obtained by compressing and compressing image data obtained by reading a one-page document (A4, color) and attribute data generated based on the image data. In addition, a compressed image data memory area d1 and a compressed attribute data memory area a1 for buffering (storing) before storing the compressed attribute data in the secondary storage device (for example, HDD) are shown. The compressed image data memory area d1 and the compressed attribute data memory area a1 are provided continuously.

また、原稿が複数頁に亘る場合には、さらに、2頁目の原稿、3頁目の原稿、…から取得した画像データ夫々に対応する圧縮画像データ及び圧縮属性データを記憶するための圧縮画像データ用メモリ領域及び圧縮属性データ用メモリ領域d2、a2、d3、a3、…(いずれも不図示)が連続して設けられる。また、圧縮画像データ用メモリ領域d1及び圧縮属性データ用メモリ領域a1のメモリサイズは、画像データ及び属性データ夫々の圧縮率を予め定めておくことにより設定される。図10(b)は圧縮画像データ及び圧縮属性データ夫々を書き込んだ場合の画像メモリの占有状況を示す。
特開平11−239321号公報
Further, when the document covers a plurality of pages, the compressed image data for storing compressed image data and compressed attribute data corresponding to the image data acquired from the second page document, the third page document,. A data memory area and compressed attribute data memory areas d2, a2, d3, a3,... (All not shown) are provided in succession. The memory sizes of the compressed image data memory area d1 and the compressed attribute data memory area a1 are set by predetermining the compression rates of the image data and the attribute data. FIG. 10B shows the occupation state of the image memory when the compressed image data and the compressed attribute data are written.
JP-A-11-239321

しかしながら、特許文献1の例にあっては、非圧縮データが記憶された領域に圧縮されたデータを上書きすることにより、メモリ容量を低減することができるものの、処理されるデータは1種類のみであるため、画像データ及び属性データの如く異なるデータを取り扱う場合にもメモリ容量を低減することができるデジタル複合機が望まれていた。   However, in the example of Patent Document 1, although the memory capacity can be reduced by overwriting the compressed data in the area where the non-compressed data is stored, only one type of data is processed. Therefore, there has been a demand for a digital multi-function peripheral that can reduce the memory capacity even when different data such as image data and attribute data are handled.

また、図10に示すような従来の例にあっては、予め確保される圧縮画像データ用メモリ領域d1及び圧縮属性データ用メモリ領域a1は、画像データなどの特性により圧縮率が変動した場合であっても、メモリ領域が競合せず、確実に圧縮データをバッファリングできるように、大き目のサイズを設定してある。実際に画像データ及び属性データを圧縮した場合に、圧縮画像データ及び圧縮属性データ夫々が圧縮画像データ用メモリ領域d1及び圧縮属性データ用メモリ領域a1よりかなり小さくなるときは、比較的大きなサイズの分断化されたメモリ領域f1、f2が生じる。このため、予め大きな容量の画像メモリを準備する必要があるとともに、画像メモリの使用効率が悪く、画像メモリの容量を低減するとともに使用効率を良くすることが望まれていた。   Further, in the conventional example as shown in FIG. 10, the compression image data memory area d1 and the compression attribute data memory area a1 secured in advance are the cases where the compression rate fluctuates due to the characteristics of the image data and the like. Even in such a case, the large size is set so that the compressed data can be surely buffered without competing the memory areas. When the compressed image data and the compressed attribute data are considerably smaller than the compressed image data memory area d1 and the compressed attribute data memory area a1 when the image data and the attribute data are actually compressed, the relatively large size is divided. Memory regions f1 and f2 are generated. For this reason, it is necessary to prepare an image memory having a large capacity in advance, and the use efficiency of the image memory is poor, and it has been desired to reduce the capacity of the image memory and improve the use efficiency.

本発明は、斯かる事情に鑑みてなされたものであり、記憶領域を複数の連続した所定のデータ長の分割領域に分割し、該分割領域夫々を第1データ長の第1領域及び第2データ長の第2領域で二分する手段を備え、圧縮画像データを第1領域夫々に記憶し、圧縮属性データを第2領域夫々に記憶することにより、画像メモリの容量を低減するとともに使用効率を高くすることができる画像処理装置及び該画像処理装置を備える画像形成装置を提供することを目的とする。   The present invention has been made in view of such circumstances, and divides a storage area into a plurality of continuous divided areas having a predetermined data length, and each of the divided areas has a first data length and a second data area. By providing means for dividing the data length into the second area, the compressed image data is stored in each first area, and the compression attribute data is stored in each second area, thereby reducing the capacity of the image memory and improving the use efficiency. An object of the present invention is to provide an image processing apparatus that can be made high and an image forming apparatus that includes the image processing apparatus.

また、本発明の他の目的は、画像データが読み出された場合、該画像データが記憶された記憶領域に設定された分割領域に、前記画像データに基づいて得られた圧縮画像データ及び圧縮属性データを記憶することにより、画像データ用の画像メモリと圧縮データ用の画像メモリとを共用して、さらに画像メモリの容量を低減するとともに使用効率を高くすることができる画像処理装置及び該画像処理装置を備える画像形成装置を提供することにある。   Another object of the present invention is that when image data is read, the compressed image data obtained based on the image data and the compressed image data are divided into divided areas set in a storage area in which the image data is stored. By storing the attribute data, the image memory for image data and the image memory for compressed data are shared, and the image processing apparatus capable of further reducing the capacity of the image memory and increasing the use efficiency, and the image An object of the present invention is to provide an image forming apparatus including a processing device.

また、本発明の他の目的は、第1データ長又は第2データ長を変更する変更手段を備えることにより、圧縮画像データ及び圧縮属性データの大きさに拘わらず、分断化される画像メモリを少なくして、使用効率を高くすることができる画像処理装置及び該画像処理装置を備える画像形成装置を提供することにある。   Another object of the present invention is to provide an image memory to be divided regardless of the size of the compressed image data and the compressed attribute data by providing a changing means for changing the first data length or the second data length. An object of the present invention is to provide an image processing apparatus capable of increasing the use efficiency by reducing the number and an image forming apparatus including the image processing apparatus.

また、本発明の他の目的は、画像データ及び/又は属性データの圧縮率に基づいて、第1データ長又は第2データ長を変更することにより、多様な画像に応じて、圧縮率が変動した場合でも、分断化される画像メモリを少なくして、使用効率を高くすることができる画像処理装置及び該画像処理装置を備える画像形成装置を提供することにある。   Another object of the present invention is to change the compression ratio according to various images by changing the first data length or the second data length based on the compression ratio of image data and / or attribute data. Even in such a case, it is an object of the present invention to provide an image processing apparatus and an image forming apparatus including the image processing apparatus that can reduce the number of divided image memories and increase the use efficiency.

また、本発明の他の目的は、画像データ毎に及び/又は属性データ毎に算出された圧縮率に基づいて、画像データ及び/又は属性データの圧縮率の統計値(例えば、平均圧縮率など)を算出し、算出された統計値に基づいて、第1データ長又は第2データ長を変更することにより、ユーザの使用状況に応じて、画像メモリの使用効率を高くすることができる画像処理装置及び該画像処理装置を備える画像形成装置を提供することにある。   Another object of the present invention is to provide a statistical value of the compression rate of image data and / or attribute data (for example, an average compression rate, etc.) based on the compression rate calculated for each image data and / or for each attribute data. ) And changing the first data length or the second data length on the basis of the calculated statistical value, the image processing that can increase the use efficiency of the image memory according to the use situation of the user An apparatus and an image forming apparatus including the image processing apparatus are provided.

また、本発明の他の目的は、記憶領域を複数の連続した所定のデータ長の分割領域に分割し、該分割領域夫々を第1データ長の第1領域及び第2データ長の第2領域で二分する手段を備え、処理後画像データを第1領域夫々に記憶し、属性データを第2領域夫々に記憶することにより、異なるデータを扱う必要がある場合でも、画像メモリの容量を低減するとともに使用効率を高くすることができる画像処理装置及び該画像処理装置を備える画像形成装置を提供することにある。   Another object of the present invention is to divide a storage area into a plurality of continuous areas having a predetermined data length, and each of the divided areas is a first area having a first data length and a second area having a second data length. The image memory capacity is reduced even if it is necessary to handle different data by storing the processed image data in each first area and storing the attribute data in each second area. Another object of the present invention is to provide an image processing apparatus capable of increasing the use efficiency and an image forming apparatus including the image processing apparatus.

本発明に係る画像処理装置は、画像データ及び該画像データの特徴量を抽出して得られた属性データを圧縮し、圧縮された圧縮画像データ及び圧縮属性データを記憶する画像処理装置において、記憶領域を複数の連続した所定のデータ長の分割領域に分割する手段と、前記分割領域夫々を第1データ長の第1領域及び第2データ長の第2領域で二分する手段とを備え、圧縮画像データを前記第1領域夫々に記憶し、圧縮属性データを前記第2領域夫々に記憶するように構成してあることを特徴とする。   An image processing apparatus according to the present invention compresses attribute data obtained by extracting image data and a feature amount of the image data, and stores the compressed image data and the compressed attribute data. Means for dividing the region into a plurality of continuous regions having a predetermined data length, and means for dividing each of the divided regions into a first region having a first data length and a second region having a second data length. The image data is stored in each of the first areas, and the compression attribute data is stored in each of the second areas.

本発明に係る画像処理装置は、画像データを記憶する手段と、画像データが記憶された記憶領域に前記分割領域を複数連続して設定する設定手段と、記憶された画像データを読み出す読出手段とを備え、該読出手段で画像データが読み出された場合、該画像データが記憶された記憶領域に設定された分割領域に、前記画像データに基づいて得られた圧縮画像データ及び圧縮属性データを記憶するように構成してあることを特徴とする。   An image processing apparatus according to the present invention comprises: means for storing image data; setting means for continuously setting a plurality of the divided areas in a storage area in which image data is stored; and reading means for reading out the stored image data. When the image data is read by the reading means, the compressed image data and the compression attribute data obtained based on the image data are stored in the divided area set in the storage area where the image data is stored. It is configured to memorize.

本発明に係る画像処理装置は、前記第1データ長又は第2データ長を変更する変更手段を備えることを特徴とする。   The image processing apparatus according to the present invention is characterized by comprising a changing means for changing the first data length or the second data length.

本発明に係る画像処理装置は、画像データの圧縮率を算出する算出手段を備え、前記変更手段は、前記算出手段で算出された圧縮率に基づいて、前記第1データ長又は第2データ長を変更するように構成してあることを特徴とする。   The image processing apparatus according to the present invention includes a calculation unit that calculates a compression rate of image data, and the changing unit is configured to calculate the first data length or the second data length based on the compression rate calculated by the calculation unit. It is characterized by changing.

本発明に係る画像処理装置は、画像データ毎に算出された圧縮率に基づいて、画像データの圧縮率の統計値を算出する手段を備え、前記変更手段は、前記手段で算出された統計値に基づいて、前記第1データ長又は第2データ長を変更するように構成してあることを特徴とする。   The image processing apparatus according to the present invention includes means for calculating a statistical value of the compression ratio of the image data based on the compression ratio calculated for each image data, and the changing means includes the statistical value calculated by the means Based on the above, the first data length or the second data length is changed.

本発明に係る画像処理装置は、属性データの圧縮率を算出する算出手段を備え、前記変更手段は、前記算出手段で算出された圧縮率に基づいて、前記第1データ長又は第2データ長を変更するように構成してあることを特徴とする。   The image processing apparatus according to the present invention includes a calculation unit that calculates a compression rate of attribute data, and the changing unit is configured to calculate the first data length or the second data length based on the compression rate calculated by the calculation unit. It is characterized by changing.

本発明に係る画像処理装置は、属性データ毎に算出された圧縮率に基づいて、属性データの圧縮率の統計値を算出する手段を備え、前記変更手段は、前記手段で算出された統計値に基づいて、前記第1データ長又は第2データ長を変更するように構成してあることを特徴とする。   The image processing apparatus according to the present invention includes means for calculating a statistical value of the compression ratio of attribute data based on the compression ratio calculated for each attribute data, and the changing means includes the statistical value calculated by the means Based on the above, the first data length or the second data length is changed.

本発明に係る画像処理装置は、画像データに所定の処理をして得られた処理後画像データ及び前記画像データの特徴量を抽出して得られた属性データを記憶する画像処理装置において、記憶領域を複数の連続した所定のデータ長の分割領域に分割する手段と、前記分割領域夫々を第1データ長の第1領域及び第2データ長の第2領域で二分する手段とを備え、処理後画像データを前記第1領域夫々に記憶し、属性データを前記第2領域夫々に記憶するように構成してあることを特徴とする。   An image processing apparatus according to the present invention is an image processing apparatus that stores post-processing image data obtained by performing predetermined processing on image data and attribute data obtained by extracting feature amounts of the image data. Means for dividing an area into a plurality of continuous areas having a predetermined data length, and means for dividing each of the divided areas into a first area having a first data length and a second area having a second data length. Post image data is stored in each of the first areas, and attribute data is stored in each of the second areas.

本発明に係る画像形成装置は、前述の本発明のいずれか1つに係る画像処理装置と、該画像処理装置が画像処理した画像データに基づき、画像の形成を行う画像形成手段とを備えたことを特徴とする。   An image forming apparatus according to the present invention includes an image processing apparatus according to any one of the above-described present invention, and an image forming unit that forms an image based on image data image-processed by the image processing apparatus. It is characterized by that.

本発明にあっては、記憶領域(例えば、画像メモリの記憶領域)を上位アドレスから下位アドレスに向かって複数の連続した所定のデータ長の分割領域に分割し、各分割領域夫々を第1データ長の第1領域及び第2データ長の第2領域で二分する。圧縮画像データ及び圧縮属性データをメモリアドレスの上位アドレスから下位アドレスに向かって記憶する場合、圧縮画像データを各分割領域の第1領域に順次記憶し、圧縮属性データを各分割領域の第2領域に順次記憶する。圧縮画像データ及び圧縮属性データ夫々は、上位アドレス側の分割領域から順次記憶され、記憶領域は、上位アドレス側から下位アドレス側に向かって順次圧縮画像データ及び圧縮属性データで占有される。   In the present invention, the storage area (for example, the storage area of the image memory) is divided into a plurality of continuous divided areas having a predetermined data length from the upper address toward the lower address, and each divided area is first data. Bisection is performed by a first region having a long length and a second region having a second data length. When storing the compressed image data and the compressed attribute data from the upper address to the lower address of the memory address, the compressed image data is sequentially stored in the first area of each divided area, and the compressed attribute data is stored in the second area of each divided area. Are stored in sequence. Each of the compressed image data and the compressed attribute data is sequentially stored from the divided area on the upper address side, and the storage area is occupied by the compressed image data and the compressed attribute data sequentially from the upper address side to the lower address side.

これにより、従来のように、圧縮画像データ用の記憶領域と圧縮属性データ用の記憶領域とを記憶領域の上位アドレス側から下位アドレス側に向かって連続して確保して、圧縮画像データ及び圧縮属性データをメモリアドレスの上位アドレスから下位アドレスに向かって記憶する場合に、圧縮画像データ及び圧縮属性データのサイズが見込み以下のときに、圧縮画像データ用の記憶領域と圧縮属性データ用の記憶領域の夫々に、比較的大きな分断化された未使用の記憶領域が生じることを抑制し、分断化された未使用の記憶領域を従来よりも小さくする。   As a result, the storage area for the compressed image data and the storage area for the compression attribute data are continuously secured from the upper address side to the lower address side of the storage area as in the past, so that the compressed image data and the compressed image data are compressed. When the attribute data is stored from the upper address to the lower address of the memory address, the storage area for the compressed image data and the storage area for the compressed attribute data when the sizes of the compressed image data and the compressed attribute data are less than expected In this case, the occurrence of a relatively large divided unused storage area is suppressed, and the divided unused storage area is made smaller than before.

本発明にあっては、画像データが読み出された場合、該画像データが記憶された記憶領域に設定された分割領域の第1領域及び第2領域夫々に、前記画像データに基づいて得られた圧縮画像データ及び圧縮属性データを記憶する。これにより、記憶領域に記憶された画像データが上位アドレスから下位アドレスに向かって順次読み出された場合、読み出されて未使用になった記憶領域に、読み出された画像データに対応する圧縮画像データ及び圧縮属性データを上書きして、画像データ用の記憶領域と圧縮画像データ及び圧縮属性データ用の記憶領域とを共用する。   In the present invention, when image data is read out, it is obtained based on the image data in each of the first area and the second area of the divided area set as the storage area where the image data is stored. The compressed image data and the compressed attribute data are stored. As a result, when the image data stored in the storage area is sequentially read from the upper address to the lower address, the compressed data corresponding to the read image data is stored in the storage area that has been read and is not used. The image data and the compression attribute data are overwritten, and the storage area for the image data and the storage area for the compressed image data and the compression attribute data are shared.

本発明にあっては、変更手段で第1データ長又は第2データ長を変更する。例えば、第1データ長を長くする(又は第2データ長を短くする)ことにより、1つの分割領域で占有される圧縮画像データのサイズを大きくし(又は圧縮属性データのサイズを小さくし)、記憶領域の上位アドレスから下位アドレスに向かって圧縮画像データ及び圧縮属性データが記憶される場合に、圧縮画像データによる記憶領域の占有度合いを大きくする。また、第1データ長を短くする(又は第2データ長を長くする)ことにより、1つの分割領域で占有される圧縮属性データのサイズを大きくし(又は圧縮画像データのサイズを小さくし)、記憶領域の上位アドレスから下位アドレスに向かって圧縮画像データ及び圧縮属性データが記憶される場合に、圧縮属性データによる記憶領域の占有度合いを大きくする。   In the present invention, the changing unit changes the first data length or the second data length. For example, by increasing the first data length (or shortening the second data length), the size of the compressed image data occupied by one divided area is increased (or the size of the compression attribute data is decreased), When the compressed image data and the compression attribute data are stored from the upper address to the lower address of the storage area, the degree of occupation of the storage area by the compressed image data is increased. Further, by shortening the first data length (or increasing the second data length), the size of the compression attribute data occupied by one divided region is increased (or the size of the compressed image data is decreased), When the compressed image data and the compression attribute data are stored from the upper address to the lower address of the storage area, the degree of occupation of the storage area by the compression attribute data is increased.

本発明にあっては、画像データの圧縮率(元の画像データのサイズに対する圧縮画像データのサイズの比率)を算出し、算出された圧縮率に基づいて、第1データ長又は第2データ長を変更する。例えば、画像データの圧縮率が大きい(圧縮度合いが小さい)場合、第1データ長を長くする(又は第2データ長を短くする)ことにより、記憶領域の上位アドレスから下位アドレスに向かって圧縮画像データ及び圧縮属性データが記憶される場合に、圧縮画像データによる記憶領域の占有度合いを大きくする。また、画像データの圧縮率が小さい(圧縮度合いが大きい)場合、第1データ長を短くする(又は第2データ長を長くする)ことにより、記憶領域の上位アドレスから下位アドレスに向かって圧縮画像データ及び圧縮属性データが記憶される場合に、圧縮画像データによる記憶領域の占有度合いを小さくする。   In the present invention, the compression rate of the image data (the ratio of the size of the compressed image data to the size of the original image data) is calculated, and the first data length or the second data length is calculated based on the calculated compression rate. To change. For example, when the compression rate of the image data is large (the degree of compression is small), the compressed image is moved from the upper address to the lower address of the storage area by increasing the first data length (or shortening the second data length). When data and compressed attribute data are stored, the degree of occupation of the storage area by the compressed image data is increased. Further, when the compression rate of the image data is small (the degree of compression is large), the compressed image is compressed from the upper address of the storage area toward the lower address by shortening the first data length (or lengthening the second data length). When data and compressed attribute data are stored, the degree of occupation of the storage area by the compressed image data is reduced.

本発明にあっては、画像データ毎に算出された圧縮率に基づいて、画像データの圧縮率の統計値(例えば、平均圧縮率、最大圧縮率など)を算出し、算出された統計値に基づいて、第1データ長又は第2データ長を変更する。例えば、1回目のジョブで複数頁分の画像データを処理する場合、各頁の画像データに対する圧縮率を算出し、1回目のジョブにおける平均圧縮率を算出する。2回目のジョブを処理する場合、1回目のジョブで得られた平均圧縮率に基づいて、第1データ長又は第2データ長を変更する。以降、同様にジョブ毎に算出される平均圧縮率に基づいて、次のジョブにおける第1データ長又は第2データ長を変更する。これにより、ジョブ毎にユーザが使用する画像データの圧縮度合いを把握して、次のジョブに適用する。   In the present invention, based on the compression rate calculated for each image data, a statistical value of the compression rate of the image data (for example, an average compression rate, a maximum compression rate, etc.) is calculated, and the calculated statistical value Based on this, the first data length or the second data length is changed. For example, when processing image data for a plurality of pages in the first job, the compression rate for the image data of each page is calculated, and the average compression rate in the first job is calculated. When processing the second job, the first data length or the second data length is changed based on the average compression rate obtained in the first job. Thereafter, similarly, the first data length or the second data length in the next job is changed based on the average compression rate calculated for each job. As a result, the degree of compression of the image data used by the user for each job is grasped and applied to the next job.

本発明にあっては、属性データの圧縮率(元の属性データのサイズに対する圧縮属性データのサイズの比率)を算出し、算出された圧縮率に基づいて、第1データ長又は第2データ長を変更する。例えば、属性データの圧縮率が大きい(圧縮度合いが小さい)場合、第2データ長を長くする(又は第1データ長を短くする)ことにより、記憶領域の上位アドレスから下位アドレスに向かって圧縮画像データ及び圧縮属性データが記憶される場合に、圧縮属性データによる記憶領域の占有度合いを大きくする。また、属性データの圧縮率が小さい(圧縮度合いが大きい)場合、第2データ長を短くする(又は第1データ長を長くする)ことにより、記憶領域の上位アドレスから下位アドレスに向かって圧縮画像データ及び圧縮属性データが記憶される場合に、圧縮属性データによる記憶領域の占有度合いを小さくする。   In the present invention, the compression rate of attribute data (the ratio of the compression attribute data size to the original attribute data size) is calculated, and the first data length or the second data length is calculated based on the calculated compression rate. To change. For example, when the compression rate of the attribute data is large (the degree of compression is small), the compressed image is compressed from the upper address of the storage area toward the lower address by increasing the second data length (or shortening the first data length). When data and compressed attribute data are stored, the degree of occupation of the storage area by the compressed attribute data is increased. Further, when the compression rate of attribute data is small (the degree of compression is large), the compressed image is compressed from the upper address of the storage area toward the lower address by shortening the second data length (or lengthening the first data length). When data and compressed attribute data are stored, the degree of storage area occupied by the compressed attribute data is reduced.

本発明にあっては、属性データ毎に算出された圧縮率に基づいて、属性データの圧縮率の統計値(例えば、平均圧縮率、最大圧縮率など)を算出し、算出された統計値に基づいて、第1データ長又は第2データ長を変更する。例えば、1回目のジョブで複数頁分の属性データを処理する場合、各頁の属性データに対する圧縮率を算出し、1回目のジョブにおける平均圧縮率を算出する。2回目のジョブを処理する場合、1回目のジョブで得られた平均圧縮率に基づいて、第1データ長又は第2データ長を変更する。以降、同様にジョブ毎に算出される平均圧縮率に基づいて、次のジョブにおける第1データ長又は第2データ長を変更する。これにより、ジョブ毎にユーザが使用する画像データに対応する属性データの圧縮度合いを把握して、次のジョブに適用する。   In the present invention, based on the compression rate calculated for each attribute data, a statistical value of the compression rate of the attribute data (for example, average compression rate, maximum compression rate, etc.) is calculated, and the calculated statistical value Based on this, the first data length or the second data length is changed. For example, when processing attribute data for a plurality of pages in the first job, the compression rate for the attribute data of each page is calculated, and the average compression rate in the first job is calculated. When processing the second job, the first data length or the second data length is changed based on the average compression rate obtained in the first job. Thereafter, similarly, the first data length or the second data length in the next job is changed based on the average compression rate calculated for each job. Thus, the degree of compression of the attribute data corresponding to the image data used by the user is grasped for each job and applied to the next job.

本発明にあっては、記憶領域を上位アドレスから下位アドレスに向かって複数の連続した所定のデータ長の分割領域に分割し、各分割領域夫々を第1データ長の第1領域及び第2データ長の第2領域で二分する。処理後画像データ及び属性データをメモリアドレスの上位アドレスから下位アドレスに向かって記憶する場合、処理後画像データを各分割領域の第1領域に順次記憶し、属性データを各分割領域の第2領域に順次記憶する。これにより、処理後画像データ及び属性データ夫々は、上位アドレス側の分割領域から順次記憶され、記憶領域は、上位アドレス側から下位アドレス側に向かって順次処理後画像データ及び属性データで占有される。これにより、分断化された未使用の記憶領域を従来よりも小さくする。   In the present invention, the storage area is divided into a plurality of continuous areas having a predetermined data length from the upper address toward the lower address, and each of the divided areas is divided into a first area and a second data having a first data length. Divide into long second regions. When storing the processed image data and the attribute data from the upper address to the lower address of the memory address, the processed image data is sequentially stored in the first area of each divided area, and the attribute data is stored in the second area of each divided area. Are stored in sequence. As a result, the processed image data and the attribute data are sequentially stored from the divided area on the upper address side, and the storage area is occupied by the processed image data and the attribute data sequentially from the upper address side to the lower address side. . Thereby, the divided unused storage area is made smaller than the conventional one.

本発明にあっては、記憶領域を複数の連続した所定のデータ長の分割領域に分割し、該分割領域夫々を第1データ長の第1領域及び第2データ長の第2領域で二分する手段を備え、圧縮画像データを第1領域夫々に記憶し、圧縮属性データを第2領域夫々に記憶することにより、画像メモリの容量を低減し、画像メモリの使用効率を高くすることができる。また、搭載する画像メモリを小さくしてコストを低減することができ、画像処理装置をより小型化することができる。さらに、HDDなどの2次記憶装置を用いる場合、画像メモリ(1次記憶装置)に十分なバッファ領域を確保することが可能となり、2次記憶装置へのデータ転送速度に制限されることがなく、2次記憶装置を画像メモリとの間のバッファリング以外の他の機能と共用することが容易になる。   In the present invention, the storage area is divided into a plurality of continuous divided areas having a predetermined data length, and each of the divided areas is divided into a first area having a first data length and a second area having a second data length. Means for storing the compressed image data in each of the first areas and storing the compressed attribute data in each of the second areas, thereby reducing the capacity of the image memory and increasing the use efficiency of the image memory. Moreover, the image memory to be mounted can be reduced to reduce the cost, and the image processing apparatus can be further downsized. Further, when a secondary storage device such as an HDD is used, a sufficient buffer area can be secured in the image memory (primary storage device), and the data transfer rate to the secondary storage device is not limited. It becomes easy to share the secondary storage device with functions other than buffering with the image memory.

また、本発明にあっては、画像データが読み出された場合、該画像データが記憶された記憶領域に設定された分割領域に、前記画像データに基づいて得られた圧縮画像データ及び圧縮属性データを記憶することにより、画像データ用の画像メモリと圧縮データ用の画像メモリとを共用して、さらに画像メモリの容量を低減するとともに使用効率を高くすることができる。   In the present invention, when image data is read, the compressed image data and the compression attribute obtained based on the image data are divided into divided areas set in the storage area where the image data is stored. By storing data, the image memory for image data and the image memory for compressed data can be shared, and the capacity of the image memory can be further reduced and the use efficiency can be increased.

また、本発明にあっては、第1データ長又は第2データ長を変更する変更手段を備えることにより、圧縮画像データ及び圧縮属性データの大きさに拘わらず、分断化される画像メモリを少なくして、使用効率を高くすることができる。   Further, according to the present invention, by providing a changing unit that changes the first data length or the second data length, the image memory to be divided is reduced regardless of the sizes of the compressed image data and the compressed attribute data. Thus, the use efficiency can be increased.

また、本発明にあっては、画像データ及び/又は属性データの圧縮率に基づいて、第1データ長又は第2データ長を変更することにより、多様な画像に応じて、圧縮率が変動した場合でも、圧縮率に依存することなく、分断化される画像メモリを少なくして、使用効率を高くすることができる。   Further, in the present invention, the compression rate varies according to various images by changing the first data length or the second data length based on the compression rate of the image data and / or attribute data. Even in this case, it is possible to increase the usage efficiency by reducing the number of image memories to be divided without depending on the compression rate.

また、本発明にあっては、画像データ毎に及び/又は属性データ毎に算出された圧縮率に基づいて、画像データ及び/又は属性データの圧縮率の統計値(例えば、平均圧縮率など)を算出し、算出された統計値に基づいて、第1データ長又は第2データ長を変更することにより、例えば、ユーザが使用する画像データをジョブ毎に判断して、画像メモリの使用効率を高くすることができる。   In the present invention, based on the compression rate calculated for each image data and / or for each attribute data, the statistical value of the compression rate of the image data and / or attribute data (for example, the average compression rate) And the first data length or the second data length is changed based on the calculated statistical value, for example, the image data used by the user is determined for each job, and the use efficiency of the image memory is increased. Can be high.

また、本発明にあっては、記憶領域を複数の連続した所定のデータ長の分割領域に分割し、該分割領域夫々を第1データ長の第1領域及び第2データ長の第2領域で二分する手段を備え、処理後画像データを第1領域夫々に記憶し、属性データを第2領域夫々に記憶することにより、異なるデータを扱う場合において、夫々のバッファリング領域を確保する必要があるときであっても、画像メモリの容量を低減するとともに使用効率を高くすることができる。   In the present invention, the storage area is divided into a plurality of continuous areas having a predetermined data length, and each of the divided areas is divided into a first area having a first data length and a second area having a second data length. It is necessary to secure each buffering area when handling different data by providing a means for dividing the image data, storing processed image data in each first area, and storing attribute data in each second area. Even at times, the capacity of the image memory can be reduced and the usage efficiency can be increased.

以下、本発明に係る画像処理装置を備える画像形成装置の一例としてのデジタル複合機を実施の形態を示す図面に基づいて説明する。図1は本発明に係るデジタル複合機100の内部構成を示すブロック図である。図に示すように、デジタル複合機100は、画像処理装置10、画像読取部30、印字処理部40などを備えている。また、画像処理装置10は、画像入力部11、画像メモリ制御部12、画像処理部13、画像データ圧縮部14、属性データ圧縮部15、画像メモリ16、記憶部17、制御部18、ROM19、RAM20、画像データ伸張部21、属性データ伸張部22、印字画像生成部23などを備えている。   Hereinafter, a digital multi-function peripheral as an example of an image forming apparatus including an image processing apparatus according to the present invention will be described with reference to the drawings illustrating an embodiment. FIG. 1 is a block diagram showing an internal configuration of a digital multifunction peripheral 100 according to the present invention. As shown in the figure, the digital multi-function peripheral 100 includes an image processing apparatus 10, an image reading unit 30, a print processing unit 40, and the like. The image processing apparatus 10 includes an image input unit 11, an image memory control unit 12, an image processing unit 13, an image data compression unit 14, an attribute data compression unit 15, an image memory 16, a storage unit 17, a control unit 18, a ROM 19, A RAM 20, an image data expansion unit 21, an attribute data expansion unit 22, a print image generation unit 23, and the like are provided.

画像読取部30は、例えば、自動原稿送り装置(ADF、Automatic Document Feeder)であり、トレイに載置された原稿を原稿センサ(不図示)で検知し、検知した原稿を搬送しつつ移動する原稿に光を照射し、原稿からの反射光をCCD(不図示)で光電変換してアナログ信号に変換し、得られたアナログ信号をA/D変換器(不図示)でデジタル信号に変換する。画像読取部30は、変換して得られたデジタル信号(RGBデータ)を画像処理装置10へ出力する。   The image reading unit 30 is, for example, an automatic document feeder (ADF), which detects a document placed on a tray by a document sensor (not shown), and moves while conveying the detected document. The reflected light from the document is photoelectrically converted into an analog signal by a CCD (not shown), and the obtained analog signal is converted into a digital signal by an A / D converter (not shown). The image reading unit 30 outputs a digital signal (RGB data) obtained by the conversion to the image processing apparatus 10.

画像入力部11は、画像読取部30から入力されたRGBデータ(画像データ)を画像メモリ制御部12へ出力するためのインタフェース機能を備える。   The image input unit 11 has an interface function for outputting RGB data (image data) input from the image reading unit 30 to the image memory control unit 12.

画像メモリ制御部12は、画像データ、圧縮画像データ、圧縮属性データを画像メモリ16に記憶(バッファリング)するためのアドレスを指定するアドレス指定レジスタ、データの書込み又は読込み(読み出し)を指示する信号生成部(いずれも不図示)などを備えている。画像メモリ制御部12は、画像入力部11から入力された画像データを、例えば、原稿1頁分の画像データを複数のデータブロックに分け、データブロック毎に画像メモリ16へ書込むための書込信号を生成して、画像データを画像メモリ16に記憶する。なお、複数頁分の画像データがある場合、順次画像データを画像メモリ16に記憶する。   The image memory control unit 12 is an address designation register for designating an address for storing (buffering) image data, compressed image data, and compressed attribute data in the image memory 16, and a signal for instructing data writing or reading (reading). A generation unit (both not shown) is provided. The image memory control unit 12 divides the image data input from the image input unit 11 into, for example, image data for one page of a document into a plurality of data blocks, and writes the data into the image memory 16 for each data block. A signal is generated and the image data is stored in the image memory 16. If there is image data for a plurality of pages, the image data is sequentially stored in the image memory 16.

また、画像メモリ制御部12は、画像メモリ16に記憶した原稿1頁分の画像データを複数のデータブロックに分け、データブロック毎に画像メモリ16から読込むための読込信号を生成して、画像データを画像メモリ16から読込み、読込んだ画像データを画像処理部13へ出力する。なお、複数頁分の画像データがある場合、順次画像データを画像メモリ16から読込み、画像データを画像処理部13へ出力する。   Further, the image memory control unit 12 divides the image data for one page of the document stored in the image memory 16 into a plurality of data blocks, generates a read signal for reading from the image memory 16 for each data block, and outputs the image data. The image data is read from the image memory 16 and the read image data is output to the image processing unit 13. If there is a plurality of pages of image data, the image data is sequentially read from the image memory 16 and the image data is output to the image processing unit 13.

画像処理部13は、入力された画像データに対して、画像読取部30の照明系、結像系、撮像系などで生じた各種の歪みを取り除く補正処理、画像データのカラーバランスを整える処理、濃度変換処理、倍率変換処理、濃度反転などの編集処理などを行い、処理後の画像データを画像データ圧縮部14へ出力する。   The image processing unit 13 performs a correction process for removing various distortions generated in the illumination system, the imaging system, the imaging system, and the like of the input image data, a process for adjusting the color balance of the image data, Editing processing such as density conversion processing, magnification conversion processing, and density inversion is performed, and the processed image data is output to the image data compression unit 14.

また、画像処理部13は、入力された画像データに基づいて、原稿の画像中の各画素が、文字領域、写真領域、その他の領域の何れであるかを判定し分離するための属性データを生成する。より具体的には、画像処理部13は、入力された画像データに基づいて、画像中の注目画素を含むM×N画素マスク(例えば、3×3)を設定し、注目画素とその近傍画素との濃度情報、濃度勾配などの特徴量を抽出し、画素毎(又は画素ブロック毎)の属性データを生成し、生成した属性データを属性データ圧縮部15へ出力する。   Further, the image processing unit 13 determines attribute data for determining and separating each pixel in the image of the document from a character area, a photographic area, and other areas based on the input image data. Generate. More specifically, the image processing unit 13 sets an M × N pixel mask (for example, 3 × 3) including the target pixel in the image based on the input image data, and the target pixel and its neighboring pixels And extract feature data such as density information and density gradient, generate attribute data for each pixel (or each pixel block), and output the generated attribute data to the attribute data compression unit 15.

画像データ圧縮部14は、例えば、JPEG方式のデータ圧縮機能を備え、画像処理部13から入力された画像データに対して不可逆圧縮によるデータ圧縮を行う。画像データ圧縮部14は、圧縮した圧縮画像データを所定のデータサイズのデータブロック毎に順次画像メモリ制御部12へ出力する。なお、圧縮方式は、JPEGに限定されるものではなく、他の方式であってもよい。   The image data compression unit 14 includes, for example, a JPEG data compression function, and performs data compression by irreversible compression on the image data input from the image processing unit 13. The image data compression unit 14 sequentially outputs the compressed image data compressed to the image memory control unit 12 for each data block having a predetermined data size. Note that the compression method is not limited to JPEG, and may be another method.

属性データ圧縮部15は、例えば、LHA方式などのデータ圧縮機能を備え、画像処理部13から入力された属性データに対して可逆圧縮によるデータ圧縮を行う。属性データ圧縮部15は、圧縮した圧縮属性データを所定のデータサイズのデータブロック毎に順次画像メモリ制御部12へ出力する。なお、圧縮方式は、LHA方式などに限定されるものではなく、他の方式であってもよい。   The attribute data compression unit 15 includes, for example, a data compression function such as an LHA method, and performs data compression by lossless compression on the attribute data input from the image processing unit 13. The attribute data compression unit 15 sequentially outputs the compressed attribute data to the image memory control unit 12 for each data block having a predetermined data size. The compression method is not limited to the LHA method or the like, and may be another method.

画像メモリ制御部12は、画像データ圧縮部14及び属性データ圧縮部15夫々から入力された圧縮画像データ及び圧縮属性データを複数のデータブロックに分け、データブロック毎に画像メモリ16へ書込むための書込信号を生成して、圧縮画像データ及び圧縮属性データを画像メモリ16に記憶する。これにより、画像メモリ制御部12は、圧縮画像データ及び圧縮属性データを記憶部17(例えば、HDDで構成される2次記憶装置)に記憶する前に画像メモリ16にバッファリングする。   The image memory control unit 12 divides the compressed image data and the compression attribute data input from the image data compression unit 14 and the attribute data compression unit 15 into a plurality of data blocks, and writes the data blocks to the image memory 16 for each data block. A write signal is generated, and the compressed image data and the compressed attribute data are stored in the image memory 16. As a result, the image memory control unit 12 buffers the compressed image data and the compression attribute data in the image memory 16 before storing them in the storage unit 17 (for example, a secondary storage device composed of an HDD).

画像メモリ制御部12は、画像データ及び属性データ夫々に対して、圧縮処理前のデータサイズと圧縮処理後のデータサイズに基づいて、圧縮率を演算する演算部を備えている。また、画像メモリ制御部12は、画像データ及び属性データ毎に演算した圧縮率を記憶しておき、複数の圧縮率に基づいて、平均圧縮率(又は最大圧縮率など)を算出する算出部を備えている。また、画像メモリ制御部12は、算出した圧縮率(又は平均圧縮率など)に基づいて、アドレス指定レジスタに設定する数値を変更して、後述する圧縮画像データ用メモリ領域D1の連続データ長Ld、圧縮属性データ用メモリ領域A1の連続データ長Laを変更する(図2参照)。   The image memory control unit 12 includes a calculation unit that calculates a compression rate for each of the image data and the attribute data based on the data size before the compression process and the data size after the compression process. Further, the image memory control unit 12 stores a compression rate calculated for each image data and attribute data, and a calculation unit that calculates an average compression rate (or a maximum compression rate) based on a plurality of compression rates. I have. Further, the image memory control unit 12 changes the numerical value set in the addressing register based on the calculated compression rate (or average compression rate, etc.), and the continuous data length Ld of the compressed image data memory area D1 described later. Then, the continuous data length La of the compression attribute data memory area A1 is changed (see FIG. 2).

図2は画像メモリ16の圧縮画像データ及び圧縮属性データ用のメモリマップの例を示す模式図である。図2(a)に示すように、圧縮データを記憶する記憶領域は、上位アドレスから下位アドレスに向かって、頁毎の記憶領域が連続して設けられている。1頁分の記憶領域は、データ長がLsの複数の分割領域で分割され、各分割領域は、データ長がLdの第1領域及びデータ長がLaの第2領域で二分され(Ls=Ld+La)、上位アドレスから下位アドレスに向かって複数の第1領域が集合して圧縮画像データ用メモリ領域D1を構成し、上位アドレスから下位アドレスに向かって複数の第2領域が集合して圧縮属性データ用メモリ領域A1を構成している。2頁目の構成も同様である。なお、図中上位アドレスを下側に、下位アドレスを上側にする構成でもよい。   FIG. 2 is a schematic diagram showing an example of a memory map for compressed image data and compressed attribute data in the image memory 16. As shown in FIG. 2A, the storage area for storing the compressed data is continuously provided for each page from the upper address to the lower address. The storage area for one page is divided into a plurality of divided areas with a data length of Ls, and each divided area is divided into a first area with a data length of Ld and a second area with a data length of La (Ls = Ld + La). ), A plurality of first areas are aggregated from the upper address to the lower address to form a compressed image data memory area D1, and a plurality of second areas are aggregated from the upper address to the lower address to compress the compressed attribute data. The memory area A1 is configured. The configuration of the second page is the same. In the figure, the upper address may be on the lower side and the lower address may be on the upper side.

図2(b)に示すように、画像メモリ制御部12が、圧縮画像データ及び圧縮属性データを画像メモリ16に書込む場合、圧縮画像データを圧縮画像データ用メモリ領域D1の上位アドレスから下位アドレスに向かって順次書込み、圧縮属性データを圧縮属性データ用メモリ領域A1の上位アドレスから下位アドレスに向かって順次書込む。これにより、圧縮画像データ及び圧縮属性データ夫々は、画像メモリ16の上位アドレス側から順次記憶され、記憶領域は、上位アドレス側から下位アドレス側に向かって順次圧縮画像データ及び圧縮属性データで占有されるため、比較的大きな分断化された未使用の記憶領域が生じることを抑制し、分断化された未使用の記憶領域(メモリ領域F1)を小さくすることができる。   As shown in FIG. 2B, when the image memory control unit 12 writes the compressed image data and the compression attribute data to the image memory 16, the compressed image data is transferred from the upper address to the lower address of the compressed image data memory area D1. Are sequentially written, and the compression attribute data is sequentially written from the upper address to the lower address of the compression attribute data memory area A1. Thereby, the compressed image data and the compressed attribute data are sequentially stored from the upper address side of the image memory 16, and the storage area is occupied by the compressed image data and the compressed attribute data sequentially from the upper address side to the lower address side. Therefore, it is possible to suppress the generation of a relatively large divided unused storage area, and to reduce the divided unused storage area (memory area F1).

画像メモリ制御部12は、画像メモリ16に記憶(バッファリング)した圧縮画像データ及び圧縮属性データを読込むための読込信号を生成して、画像メモリ16から圧縮画像データ及び圧縮属性データを複数のデータブロックに分けて読込み、読込んだ圧縮画像データ及び圧縮属性データを記憶部17に記憶する。   The image memory control unit 12 generates a read signal for reading the compressed image data and the compression attribute data stored (buffered) in the image memory 16, and stores the compressed image data and the compression attribute data from the image memory 16 into a plurality of data blocks. The compressed image data and the compressed attribute data that have been read are stored in the storage unit 17.

記憶部17に記憶された圧縮画像データ及び圧縮属性データに基づいて、記録紙に画像を形成(印字)する場合、画像メモリ制御部12は、記憶部17から圧縮画像データ及び圧縮属性データを読込み、読込んだ圧縮画像データ及び圧縮属性データ夫々を画像データ伸張部21、属性データ伸張部22へ出力する。   When forming (printing) an image on recording paper based on the compressed image data and the compression attribute data stored in the storage unit 17, the image memory control unit 12 reads the compressed image data and the compression attribute data from the storage unit 17. The read compressed image data and compressed attribute data are output to the image data decompression unit 21 and the attribute data decompression unit 22, respectively.

画像データ伸張部21は、画像メモリ制御部12から入力された圧縮画像データを伸張処理して、処理後の画像データを印字画像生成部23へ出力する。   The image data decompression unit 21 decompresses the compressed image data input from the image memory control unit 12 and outputs the processed image data to the print image generation unit 23.

属性データ伸張部22は、画像メモリ制御部12から入力された圧縮属性データを伸張処理して、処理後の属性データを印字画像生成部23へ出力する。   The attribute data decompression unit 22 decompresses the compressed attribute data input from the image memory control unit 12 and outputs the processed attribute data to the print image generation unit 23.

制御部18は、例えば、マイクロコンピュータで構成され、画像処理装置10全体の処理を制御する。すなわち、制御部18は、ROM19に記憶されている自身の制御手順を示す制御プログラムをRAM20にロードすることにより、制御プログラムで示された制御手順に従って画像処理装置10の動作を制御する。例えば、制御部18は、ジョブ管理を行うことにより、1つのジョブで複数処理される各画像データの圧縮率の平均圧縮率を算出するように画像メモリ制御部12へ指示するとともに、算出された平均圧縮率を用いて次のジョブで処理される画像データを圧縮して画像メモリ16に記憶する際の圧縮画像データ用メモリ領域D1のデータ長Ld、圧縮属性データ用メモリ領域A1のデータ長Laを設定するように指示することもできる。   The control unit 18 is composed of, for example, a microcomputer, and controls processing of the entire image processing apparatus 10. That is, the control unit 18 controls the operation of the image processing apparatus 10 according to the control procedure indicated by the control program by loading the RAM 20 with a control program indicating its own control procedure stored in the ROM 19. For example, the control unit 18 instructs the image memory control unit 12 to calculate the average compression rate of the compression rates of each piece of image data processed in a single job by performing job management, and the calculated The data length Ld of the compressed image data memory area D1 and the data length La of the compressed attribute data memory area A1 when the image data to be processed in the next job is compressed and stored in the image memory 16 using the average compression rate Can also be instructed to set.

印字画像生成部23は、入力された画像データ及び該画像データに対応する属性データに基づいて、RGBデータをYMCKデータに変換し、画像メモリ制御部12を通じて変換後の画像データ(YMCKデータ)を印字処理部40へ出力する。より具体的には、印字画像生成部23は、RGBデータをCMYKの色空間に変換するとともに、属性データに基づいて、色補正処理、階調補正処理、又は印字処理部40の特性に合わせた二値化処理若しくは所定の階調の画像生成処理などを行う。   The print image generation unit 23 converts RGB data into YMCK data based on the input image data and attribute data corresponding to the image data, and converts the converted image data (YMCK data) through the image memory control unit 12. Output to the print processing unit 40. More specifically, the print image generation unit 23 converts the RGB data into a CMYK color space and matches the characteristics of the color correction process, the gradation correction process, or the print processing unit 40 based on the attribute data. A binarization process or an image generation process with a predetermined gradation is performed.

印字処理部40は、画像処理装置10から入力された画像データに基づいて、用紙上に画像を形成し、画像が形成された用紙を排出する。印字処理部40は、例えば、感光体ドラム、感光体ドラムを所定の電位に帯電させる帯電器、感光体ドラム表面に静電潜像を形成するレーザ書込装置、感光体ドラム表面の静電潜像にトナーを供給して顕像化する現像装置、感光体ドラム表面のトナー像を用紙に転写する転写装置などを備えている(いずれも不図示)。なお、印字処理部40は、電子写真方式に限定されるものではなく、インクジェット方式、熱転写方式などいずれの方式のものでもよい。   The print processing unit 40 forms an image on a sheet based on the image data input from the image processing apparatus 10, and discharges the sheet on which the image is formed. The print processing unit 40 includes, for example, a photosensitive drum, a charger that charges the photosensitive drum to a predetermined potential, a laser writing device that forms an electrostatic latent image on the surface of the photosensitive drum, and an electrostatic latent image on the surface of the photosensitive drum. The image forming apparatus includes a developing device that supplies toner to an image to make the image visible, and a transfer device that transfers the toner image on the surface of the photosensitive drum to a sheet (all not shown). The print processing unit 40 is not limited to the electrophotographic method, and may be any method such as an ink jet method or a thermal transfer method.

次に画像処理装置10の動作について説明する。図3は画像データの記憶処理の手順を示すタイムチャートである。画像入力部11は、例えば、1頁分の原稿から読み取ったRGBデータ(画像データ)を画像メモリ制御部12へ出力し、画像メモリ制御部12は、入力されたRGBデータをトリガとして時刻t1から書込信号を生成して、所定のデータブロック毎に画像メモリ16へ書込み処理を行う。   Next, the operation of the image processing apparatus 10 will be described. FIG. 3 is a time chart showing the procedure of image data storage processing. The image input unit 11 outputs, for example, RGB data (image data) read from a document for one page to the image memory control unit 12, and the image memory control unit 12 uses the input RGB data as a trigger from time t1. A writing signal is generated, and writing processing to the image memory 16 is performed for each predetermined data block.

画像メモリ制御部12は、時刻t1の書込信号の生成開始時点から所定の時間(RGBデータの書込みに必要な時間)経過後の時刻t2において、画像メモリ16に記憶したRGBデータを読込むための読込信号を生成して、所定のデータブロック毎に画像メモリ16からの読込み処理を行う。   The image memory control unit 12 reads the RGB data stored in the image memory 16 at a time t2 after a lapse of a predetermined time (a time necessary for writing RGB data) from the start of generation of the write signal at the time t1. A signal is generated, and reading processing from the image memory 16 is performed for each predetermined data block.

画像メモリ制御部12は、画像メモリ16から読込まれたRGBデータを画像処理部13へ出力し、時刻t3において、画像処理部13は、RGBデータ及び該RGBデータに基づいて生成された属性データ夫々を画像データ圧縮部14及び属性データ圧縮部15へ出力する。   The image memory control unit 12 outputs the RGB data read from the image memory 16 to the image processing unit 13, and at time t3, the image processing unit 13 respectively generates the RGB data and attribute data generated based on the RGB data. Are output to the image data compression unit 14 and the attribute data compression unit 15.

画像データ圧縮部14及び属性データ圧縮部15夫々は、圧縮処理をして得られた圧縮画像データ及び圧縮属性データを所定のデータブロック毎に画像メモリ制御部12へ出力する。画像メモリ制御部12は、時刻t4において、圧縮画像データ及び圧縮属性データを画像メモリ16に記憶(バッファリング)するための書込信号を生成して、所定のデータブロック毎に画像メモリ16へ書込み処理を行う。   Each of the image data compression unit 14 and the attribute data compression unit 15 outputs the compressed image data and the compression attribute data obtained by the compression process to the image memory control unit 12 for each predetermined data block. The image memory control unit 12 generates a write signal for storing (buffering) the compressed image data and the compressed attribute data in the image memory 16 at time t4, and writes the write signal to the image memory 16 for each predetermined data block. Process.

画像メモリ制御部12は、時刻t4の書込信号の生成開始時点から所定の時間(圧縮画像データ及び圧縮属性データの書込みに必要な時間)経過後の時刻t5において、画像メモリ16に記憶した圧縮画像データ及び圧縮属性データを読込むための読込信号を生成して、所定のデータブロック毎に記憶部17への書込み処理を行う。これにより、圧縮画像データ及び圧縮属性データは、記憶部17で保持される。2頁目以降の原稿から読み取った画像データについても、同様の処理が行われる。   The image memory control unit 12 stores the compressed data stored in the image memory 16 at time t5 after a predetermined time (time required for writing the compressed image data and the compressed attribute data) has elapsed since the start of generation of the write signal at time t4. A read signal for reading image data and compression attribute data is generated, and a write process to the storage unit 17 is performed for each predetermined data block. Thereby, the compressed image data and the compressed attribute data are held in the storage unit 17. Similar processing is performed on image data read from the second and subsequent pages.

図4は画像データの圧縮率と圧縮後のデータサイズとの関係を示す図表である。この場合、圧縮前の元の画像データのサイズは約100MBである。例えば、圧縮率が10%である場合、元の画像データ(約100MB)が9.96MBまで圧縮されている。   FIG. 4 is a table showing the relationship between the compression rate of image data and the data size after compression. In this case, the size of the original image data before compression is about 100 MB. For example, when the compression rate is 10%, the original image data (about 100 MB) is compressed to 9.96 MB.

図5は属性データの圧縮率と圧縮後のデータサイズとの関係を示す図表である。この場合、圧縮前の元の属性データのサイズは約33MBである。例えば、圧縮率が10%である場合、元の画像データ(約33MB)が3.32MBまで圧縮されている。   FIG. 5 is a chart showing the relationship between the compression rate of attribute data and the data size after compression. In this case, the size of the original attribute data before compression is about 33 MB. For example, when the compression rate is 10%, the original image data (about 33 MB) is compressed to 3.32 MB.

図6は圧縮画像データ用メモリ領域D1及び圧縮属性データ用メモリ領域A1の連続データ長Ld、Laと圧縮率との関係を示す図表である。図において、圧縮前の元の画像データのサイズは約100MBであり、圧縮前の元の属性データのサイズは約33MBである。また、画像データ用の連続データ長Ldと属性データ用の連続データ長Laの合計はLsであり、この場合、Lsは21048バイトである。これは、例えば、RGB各8ビット(合計24ビット)、A4位の原稿を600dpiで読み取った場合、画像データのサイズは、7016画素×4961ラインとなり、1ライン当り7016画素×24ビット=21048バイトとなるため、1ライン当りのデータ長として設定することができる。   FIG. 6 is a chart showing the relationship between the continuous data lengths Ld and La of the compressed image data memory area D1 and the compressed attribute data memory area A1 and the compression rate. In the figure, the size of the original image data before compression is about 100 MB, and the size of the original attribute data before compression is about 33 MB. The total of the continuous data length Ld for image data and the continuous data length La for attribute data is Ls. In this case, Ls is 21048 bytes. For example, if an RGB document is read at 600 dpi with 8 bits each for RGB (24 bits in total) at 600 dpi, the size of the image data is 7016 pixels × 4961 lines, and 7016 pixels × 24 bits per line = 21,048 bytes. Therefore, it can be set as the data length per line.

画像データ用の連続データ長Ldは、例えば、次のように設定することができる。すなわち、Ld=Ls×(Ds×RD)/(Ds×RD+As×RA)。ここで、Lsは1ライン当りのデータ長(分割領域のデータ長)、Dsは圧縮前画像データのサイズ、RDは画像データの圧縮率、Asは圧縮前属性データのサイズ、RAは属性データの圧縮率である。   For example, the continuous data length Ld for image data can be set as follows. That is, Ld = Ls × (Ds × RD) / (Ds × RD + As × RA). Here, Ls is the data length per line (data length of the divided area), Ds is the size of the pre-compression image data, RD is the compression rate of the image data, As is the size of the pre-compression attribute data, and RA is the attribute data. Compression rate.

図に示すように、画像データの圧縮率が10%であり、属性データの圧縮率が、例えば、20%から小さくなるに応じて、圧縮画像データ用メモリ領域D1の連続データ長Ldを長くし、一方、圧縮属性データ用メモリ領域A1の連続データ長Laを短くする。これにより、記憶領域の上位アドレスから下位アドレスに向かって圧縮画像データ及び圧縮属性データが記憶される場合に、圧縮画像データによる記憶領域の占有度合いを大きくし、圧縮属性データによる記憶領域の占有度合いを小さくする。これにより、圧縮後の画像データ及び属性データを画像メモリ16に記憶する場合に、画像データ及び属性データで占有される分割領域の数の差分を小さくして分断化された未使用メモリを少なくすることができる。   As shown in the figure, when the compression rate of the image data is 10% and the compression rate of the attribute data is reduced from, for example, 20%, the continuous data length Ld of the compressed image data memory area D1 is increased. On the other hand, the continuous data length La of the compression attribute data memory area A1 is shortened. As a result, when the compressed image data and the compression attribute data are stored from the upper address to the lower address of the storage area, the degree of occupation of the storage area by the compressed image data is increased, and the degree of occupation of the storage area by the compression attribute data Make it smaller. As a result, when the compressed image data and attribute data are stored in the image memory 16, the difference in the number of divided areas occupied by the image data and attribute data is reduced to reduce the unused unused memory. be able to.

図7は圧縮画像データ用メモリ領域D1及び圧縮属性データ用メモリ領域A1の連続データ長Ld、Laと圧縮率との関係を示す図表である。この場合は、図に示すように、属性データの圧縮率が20%であり、画像データの圧縮率が、例えば、20%から小さくなるに応じて、圧縮画像データ用メモリ領域D1の連続データ長Ldを短くし、一方、圧縮属性データ用メモリ領域A1の連続データ長Laを長くする。これにより、記憶領域の上位アドレスから下位アドレスに向かって圧縮画像データ及び圧縮属性データが記憶される場合に、圧縮属性データによる記憶領域の占有度合いを大きくし、圧縮画像データによる記憶領域の占有度合いを小さくする。これにより、圧縮後の画像データ及び属性データを画像メモリ16に記憶する場合に、画像データ及び属性データで占有される分割領域の数の差分を小さくして分断化された未使用メモリを少なくすることができる。   FIG. 7 is a chart showing a relationship between the continuous data lengths Ld and La of the compressed image data memory area D1 and the compressed attribute data memory area A1 and the compression rate. In this case, as shown in the figure, the compression rate of the attribute data is 20%, and the continuous data length of the compressed image data memory area D1 is reduced as the compression rate of the image data is reduced from, for example, 20%. Ld is shortened, while the continuous data length La of the compression attribute data memory area A1 is lengthened. As a result, when the compressed image data and the compression attribute data are stored from the upper address to the lower address of the storage area, the degree of occupation of the storage area by the compression attribute data is increased, and the degree of occupation of the storage area by the compressed image data Make it smaller. As a result, when the compressed image data and attribute data are stored in the image memory 16, the difference in the number of divided areas occupied by the image data and attribute data is reduced to reduce the unused unused memory. be able to.

図8は分割領域の数の差分を小さくした場合の画像メモリ16のメモリマップの例を示す模式図である。図6及び図7で説明したように、記憶領域の上位アドレスから下位アドレスに向かって圧縮画像データ及び圧縮属性データが記憶される場合に、圧縮画像データによる記憶領域の占有度合い、又は圧縮属性データによる記憶領域の占有度合いを調整することにより、図8(a)に示すように、圧縮画像データ及び圧縮属性データで占有される分割領域の数の差分ΔLを小さくすることができる。   FIG. 8 is a schematic diagram showing an example of a memory map of the image memory 16 when the difference in the number of divided areas is reduced. As described with reference to FIGS. 6 and 7, when the compressed image data and the compression attribute data are stored from the upper address to the lower address of the storage area, the degree of occupation of the storage area by the compressed image data, or the compression attribute data By adjusting the degree of occupancy of the storage area, the difference ΔL in the number of divided areas occupied by the compressed image data and the compressed attribute data can be reduced as shown in FIG.

図8(b)に示すように、分割領域の数の差分ΔLが小さい(例えば、ΔL≒0)場合、1ページ目の圧縮画像データ及び圧縮属性データ夫々を記憶する記憶領域の下位アドレス側が略揃うため、連続した記憶領域を最大限確保することができる。これにより、2ページ目の圧縮画像データ及び圧縮属性データ夫々を記憶する記憶領域のスタートアドレスをメモリアドレスの最上位に設定することができ(例えば、ΔAだけ上位アドレス側に設定できる)、記憶領域を最大限利用することが可能になる。   As shown in FIG. 8B, when the difference ΔL in the number of divided areas is small (for example, ΔL≈0), the lower address side of the storage area for storing the compressed image data and the compression attribute data of the first page is substantially omitted. As a result, the maximum continuous storage area can be secured. As a result, the start address of the storage area for storing the compressed image data and the compression attribute data for the second page can be set at the top of the memory address (for example, ΔA can be set on the upper address side). Can be used to the maximum.

図9は画像データが記憶された記憶領域に圧縮後の圧縮画像データ及び圧縮属性データを書込む(上書き)場合のメモリマップの例を示す模式図である。図に示すように、画像メモリ制御部12が、画像メモリ16から画像データ(元画像データ)を読込む場合、上位アドレス側から1ライン又は複数のライン毎に読込む。読込まれた画像データ及び該画像データに基づいて生成された属性データを圧縮し、圧縮画像データ及び圧縮属性データを画像メモリ16に書込む場合、画像メモリ制御部12は、画像データ(元画像データ)が読込まれた記憶領域であって、圧縮画像データ用メモリ領域D1及び圧縮属性データ用メモリ領域A1が設定されている記憶領域に書込む。これにより、画像データ(元画像データ)用の記憶領域と圧縮画像データ及び圧縮属性データ用の記憶領域とを共用することができ、画像メモリ16の記憶容量を小さくすることができる。なお、図中、スタートギャップは適宜設定して、画像メモリ16に記憶された元の画像データを読込む前に上書きしてしまうことがないようにすることができる。   FIG. 9 is a schematic diagram showing an example of a memory map when compressed image data and compressed attribute data after compression are written (overwritten) in a storage area in which image data is stored. As shown in the figure, when the image memory control unit 12 reads image data (original image data) from the image memory 16, the image memory control unit 12 reads each line or a plurality of lines from the higher address side. When compressing the read image data and the attribute data generated based on the image data and writing the compressed image data and the compressed attribute data into the image memory 16, the image memory control unit 12 selects the image data (original image data). ) Is read, and is written into the storage area in which the compressed image data memory area D1 and the compressed attribute data memory area A1 are set. Accordingly, the storage area for image data (original image data) and the storage area for compressed image data and compression attribute data can be shared, and the storage capacity of the image memory 16 can be reduced. In the figure, the start gap can be set as appropriate so that the original image data stored in the image memory 16 is not overwritten before being read.

以上説明したように、本発明にあっては、画像メモリの容量を低減し、画像メモリの使用効率を高くすることができる。また、搭載する画像メモリを小さくしてコストを低減することができ、画像処理装置をより小型化することができる。さらに、HDDなどの2次記憶装置を用いる場合、画像メモリ(1次記憶装置)に十分なバッファ領域を確保することが可能となり、2次記憶装置へのデータ転送速度に制限されることがなく、2次記憶装置を画像メモリとの間のバッファリング以外の他の機能と共用することが容易になる。また、画像データ用の画像メモリと圧縮データ用の画像メモリとを共用して、さらに画像メモリの容量を低減するとともに使用効率を高くすることができる。   As described above, according to the present invention, the capacity of the image memory can be reduced and the use efficiency of the image memory can be increased. Moreover, the image memory to be mounted can be reduced to reduce the cost, and the image processing apparatus can be further downsized. Further, when a secondary storage device such as an HDD is used, a sufficient buffer area can be secured in the image memory (primary storage device), and the data transfer rate to the secondary storage device is not limited. It becomes easy to share the secondary storage device with functions other than buffering with the image memory. In addition, the image memory for image data and the image memory for compressed data can be shared to further reduce the capacity of the image memory and increase the use efficiency.

上述の実施の形態においては、圧縮処理後の画像データ及び属性データを画像メモリ16に記憶(バッファリング)する場合について説明したが、これに限定されるものではなく、圧縮処理がない場合でも、本発明を適用することができる。すなわち、圧縮画像データ及び圧縮属性データに代えて、画像処理後の処理後画像データ及び属性データの異なるデータを画像メモリ16に記憶(バッファリング)する場合にも適用することができる。これにより、異なるデータを扱う場合において、夫々のバッファリング領域を確保する必要があるときであっても、画像メモリの容量を低減するとともに使用効率を高くすることができる。   In the above-described embodiment, the case where image data and attribute data after compression processing are stored (buffered) in the image memory 16 has been described. However, the present invention is not limited to this, and even when there is no compression processing, The present invention can be applied. That is, instead of the compressed image data and the compressed attribute data, the present invention can also be applied to the case where post-processed image data and data having different attribute data are stored (buffered) in the image memory 16. Thereby, in the case of handling different data, even when it is necessary to secure each buffering area, the capacity of the image memory can be reduced and the use efficiency can be increased.

上述の実施の形態においては、画像データの圧縮率及び属性データの圧縮率に応じて、圧縮画像データ用メモリ領域D1の連続データ長Ld及び圧縮属性データ用メモリ領域A1の連続データ長Laを変更する構成であったが、これに限定されるものではなく、画像データの圧縮率又は属性データの圧縮率のいずれか1つに基づいてデータ長Ld、Laを変更するようにしてもよい。   In the above embodiment, the continuous data length Ld of the compressed image data memory area D1 and the continuous data length La of the compressed attribute data memory area A1 are changed according to the compression ratio of the image data and the compression ratio of the attribute data. However, the present invention is not limited to this, and the data lengths Ld and La may be changed based on one of the compression rate of image data and the compression rate of attribute data.

上述の実施の形態において、画像データの圧縮率及び属性データの圧縮率に応じて、圧縮画像データ用メモリ領域D1の連続データ長Ld及び圧縮属性データ用メモリ領域A1の連続データ長Laを変更する場合、圧縮率と連続データ長とを対応付けたテーブルを記憶部17に記憶してもよく、また、演算回路等で算出するように構成してもよい。   In the above embodiment, the continuous data length Ld of the compressed image data memory area D1 and the continuous data length La of the compressed attribute data memory area A1 are changed according to the compression ratio of the image data and the compression ratio of the attribute data. In this case, a table in which the compression rate and the continuous data length are associated with each other may be stored in the storage unit 17 or may be configured to be calculated by an arithmetic circuit or the like.

上述の実施の形態において、データ長Ls、Ld、Laの値は一例であって、これに限定されるものではない。   In the embodiment described above, the values of the data lengths Ls, Ld, and La are examples, and are not limited to these.

本発明に係るデジタル複合機の内部構成を示すブロック図である。1 is a block diagram illustrating an internal configuration of a digital multifunction peripheral according to the present invention. 画像メモリの圧縮画像データ及び圧縮属性データ用のメモリマップの例を示す模式図である。It is a schematic diagram which shows the example of the memory map for the compression image data and compression attribute data of an image memory. 画像データの記憶処理の手順を示すタイムチャートである。It is a time chart which shows the procedure of the storage process of image data. 画像データの圧縮率と圧縮後のデータサイズとの関係を示す図表である。It is a graph which shows the relationship between the compression rate of image data, and the data size after compression. 属性データの圧縮率と圧縮後のデータサイズとの関係を示す図表である。It is a graph which shows the relationship between the compression rate of attribute data, and the data size after compression. 圧縮画像データ用メモリ領域及び圧縮属性データ用メモリ領域の連続データ長と圧縮率との関係を示す図表である。10 is a chart showing a relationship between a continuous data length and a compression rate in a compressed image data memory area and a compressed attribute data memory area. 圧縮画像データ用メモリ領域及び圧縮属性データ用メモリ領域の連続データ長と圧縮率との関係を示す図表である。10 is a chart showing a relationship between a continuous data length and a compression rate in a compressed image data memory area and a compressed attribute data memory area. 分割領域の数の差分を小さくした場合の画像メモリのメモリマップの例を示す模式図である。It is a schematic diagram which shows the example of the memory map of the image memory at the time of making the difference of the number of division areas small. 画像データが記憶された記憶領域に圧縮後の圧縮画像データ及び圧縮属性データを書込む(上書き)場合のメモリマップの例を示す模式図である。It is a schematic diagram which shows the example of a memory map in the case of writing the compressed image data and compression attribute data after compression to the storage area where the image data was stored. 従来の画像メモリ(1次記憶装置)のメモリマップの例を示す模式図である。It is a schematic diagram which shows the example of the memory map of the conventional image memory (primary storage device).

符号の説明Explanation of symbols

10 画像処理装置
11 画像入力部
12 画像メモリ制御部
13 画像処理部
14 画像データ圧縮部
15 属性データ圧縮部
16 画像メモリ
17 記憶部
18 制御部
19 ROM
20 RAM
21 画像データ伸張部
22 属性データ伸張部
23 印字画像生成部
30 画像読取部
40 印字処理部
DESCRIPTION OF SYMBOLS 10 Image processing apparatus 11 Image input part 12 Image memory control part 13 Image processing part 14 Image data compression part 15 Attribute data compression part 16 Image memory 17 Storage part 18 Control part 19 ROM
20 RAM
21 Image data decompression unit 22 Attribute data decompression unit 23 Print image generation unit 30 Image reading unit 40 Print processing unit

Claims (9)

画像データ及び該画像データの特徴量を抽出して得られた属性データを圧縮し、圧縮された圧縮画像データ及び圧縮属性データを記憶する画像処理装置において、
記憶領域を複数の連続した所定のデータ長の分割領域に分割する手段と、
前記分割領域夫々を第1データ長の第1領域及び第2データ長の第2領域で二分する手段と
を備え、
圧縮画像データを前記第1領域夫々に記憶し、圧縮属性データを前記第2領域夫々に記憶するように構成してあることを特徴とする画像処理装置。
In an image processing apparatus for compressing image data and attribute data obtained by extracting feature values of the image data and storing the compressed image data and compressed attribute data.
Means for dividing the storage area into a plurality of continuous divided areas having a predetermined data length;
Means for dividing each of the divided areas into a first area having a first data length and a second area having a second data length;
An image processing apparatus configured to store compressed image data in each of the first areas and store compressed attribute data in each of the second areas.
画像データを記憶する手段と、
画像データが記憶された記憶領域に前記分割領域を複数連続して設定する設定手段と、
記憶された画像データを読み出す読出手段と
を備え、
該読出手段で画像データが読み出された場合、該画像データが記憶された記憶領域に設定された分割領域に、前記画像データに基づいて得られた圧縮画像データ及び圧縮属性データを記憶するように構成してあることを特徴とする請求項1に記載の画像処理装置。
Means for storing image data;
Setting means for continuously setting a plurality of the divided areas in a storage area in which image data is stored;
Reading means for reading stored image data, and
When the image data is read by the reading means, the compressed image data and the compression attribute data obtained based on the image data are stored in the divided area set in the storage area where the image data is stored. The image processing apparatus according to claim 1, wherein the image processing apparatus is configured as follows.
前記第1データ長又は第2データ長を変更する変更手段を備えることを特徴とする請求項1又は請求項2に記載の画像処理装置。   The image processing apparatus according to claim 1, further comprising a changing unit that changes the first data length or the second data length. 画像データの圧縮率を算出する算出手段を備え、
前記変更手段は、
前記算出手段で算出された圧縮率に基づいて、前記第1データ長又は第2データ長を変更するように構成してあることを特徴とする請求項3に記載の画像処理装置。
A calculation means for calculating the compression rate of the image data;
The changing means is
The image processing apparatus according to claim 3, wherein the first data length or the second data length is changed based on a compression rate calculated by the calculation unit.
画像データ毎に算出された圧縮率に基づいて、画像データの圧縮率の統計値を算出する手段を備え、
前記変更手段は、
前記手段で算出された統計値に基づいて、前記第1データ長又は第2データ長を変更するように構成してあることを特徴とする請求項4に記載の画像処理装置。
Means for calculating a statistical value of the compression ratio of the image data based on the compression ratio calculated for each image data;
The changing means is
The image processing apparatus according to claim 4, wherein the first data length or the second data length is changed based on a statistical value calculated by the means.
属性データの圧縮率を算出する算出手段を備え、
前記変更手段は、
前記算出手段で算出された圧縮率に基づいて、前記第1データ長又は第2データ長を変更するように構成してあることを特徴とする請求項3に記載の画像処理装置。
A calculation means for calculating the compression rate of the attribute data;
The changing means is
The image processing apparatus according to claim 3, wherein the first data length or the second data length is changed based on a compression rate calculated by the calculation unit.
属性データ毎に算出された圧縮率に基づいて、属性データの圧縮率の統計値を算出する手段を備え、
前記変更手段は、
前記手段で算出された統計値に基づいて、前記第1データ長又は第2データ長を変更するように構成してあることを特徴とする請求項6に記載の画像処理装置。
Means for calculating a statistical value of the compression ratio of the attribute data based on the compression ratio calculated for each attribute data;
The changing means is
The image processing apparatus according to claim 6, wherein the first data length or the second data length is changed based on a statistical value calculated by the means.
画像データに所定の処理をして得られた処理後画像データ及び前記画像データの特徴量を抽出して得られた属性データを記憶する画像処理装置において、
記憶領域を複数の連続した所定のデータ長の分割領域に分割する手段と、
前記分割領域夫々を第1データ長の第1領域及び第2データ長の第2領域で二分する手段と
を備え、
処理後画像データを前記第1領域夫々に記憶し、属性データを前記第2領域夫々に記憶するように構成してあることを特徴とする画像処理装置。
In an image processing apparatus that stores post-processing image data obtained by performing predetermined processing on image data and attribute data obtained by extracting feature amounts of the image data,
Means for dividing the storage area into a plurality of continuous divided areas having a predetermined data length;
Means for dividing each of the divided areas into a first area having a first data length and a second area having a second data length;
An image processing apparatus configured to store post-process image data in each of the first areas and store attribute data in each of the second areas.
請求項1乃至請求項8のいずれか1つに記載された画像処理装置と、該画像処理装置が画像処理した画像データに基づき、画像の形成を行う画像形成手段とを備えたことを特徴とする画像形成装置。   An image processing apparatus according to claim 1, and image forming means for forming an image based on image data processed by the image processing apparatus. Image forming apparatus.
JP2006104605A 2006-04-05 2006-04-05 Image processing apparatus and image forming apparatus Expired - Fee Related JP4450810B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2006104605A JP4450810B2 (en) 2006-04-05 2006-04-05 Image processing apparatus and image forming apparatus
US11/729,779 US7813565B2 (en) 2006-04-05 2007-03-30 Image processing apparatus, image forming apparatus, and image processing method
CNB2007100958307A CN100574361C (en) 2006-04-05 2007-04-05 Image processing equipment, image forming apparatus and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006104605A JP4450810B2 (en) 2006-04-05 2006-04-05 Image processing apparatus and image forming apparatus

Publications (2)

Publication Number Publication Date
JP2007281823A true JP2007281823A (en) 2007-10-25
JP4450810B2 JP4450810B2 (en) 2010-04-14

Family

ID=38682827

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006104605A Expired - Fee Related JP4450810B2 (en) 2006-04-05 2006-04-05 Image processing apparatus and image forming apparatus

Country Status (2)

Country Link
JP (1) JP4450810B2 (en)
CN (1) CN100574361C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9086951B2 (en) 2012-01-26 2015-07-21 Kyocera Document Solutions Inc. Image reading apparatus
CN110716934A (en) * 2019-10-09 2020-01-21 宁波三星医疗电气股份有限公司 Data storage method and device and electronic equipment

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5350027B2 (en) * 2009-03-12 2013-11-27 キヤノン株式会社 Image processing apparatus and method, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9086951B2 (en) 2012-01-26 2015-07-21 Kyocera Document Solutions Inc. Image reading apparatus
CN110716934A (en) * 2019-10-09 2020-01-21 宁波三星医疗电气股份有限公司 Data storage method and device and electronic equipment

Also Published As

Publication number Publication date
JP4450810B2 (en) 2010-04-14
CN100574361C (en) 2009-12-23
CN101052092A (en) 2007-10-10

Similar Documents

Publication Publication Date Title
JP4814026B2 (en) Image processing apparatus, image processing method, and image processing program
JP5477081B2 (en) Image processing apparatus, image processing method, and program
JP2001218060A (en) Image processor
US7813565B2 (en) Image processing apparatus, image forming apparatus, and image processing method
JP4027133B2 (en) Image processing device
JP4498174B2 (en) Image area information generating apparatus, image area information generating method, and program
JP4450810B2 (en) Image processing apparatus and image forming apparatus
JP4223049B2 (en) Image processing apparatus and image forming apparatus
US8331700B2 (en) Image processing apparatus
JP4901692B2 (en) Image processing apparatus, image processing method, image processing program, and recording medium
US7933039B2 (en) Apparatus, method, and computer program product for forming image
JP5084688B2 (en) Image forming apparatus
JP4136573B2 (en) Image processing method, image processing apparatus, program, and recording medium
JP4253138B2 (en) Image forming apparatus
JP2008022082A (en) Image forming apparatus and control method thereof
JP2007280194A (en) Image processor, image forming apparatus, and image processing method
JP2008173868A (en) Image forming apparatus
JP5132696B2 (en) MEMORY CONTROL DEVICE, IMAGE FORMING DEVICE, AND MEMORY CONTROL METHOD
JPH11313182A (en) Image forming device
JP2021100168A (en) Image forming apparatus and image forming method
JP2006231854A (en) Image formation device and its controlling method
JP2008079036A (en) Image processing apparatus
JP2005067004A (en) Image forming apparatus
JP2002244994A (en) Image forming device
JP2006001195A (en) Image formation device

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080624

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080731

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080909

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080922

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20081104

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20081128

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100126

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

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees