JP6613732B2 - Image processing apparatus and image processing program - Google Patents

Image processing apparatus and image processing program Download PDF

Info

Publication number
JP6613732B2
JP6613732B2 JP2015173627A JP2015173627A JP6613732B2 JP 6613732 B2 JP6613732 B2 JP 6613732B2 JP 2015173627 A JP2015173627 A JP 2015173627A JP 2015173627 A JP2015173627 A JP 2015173627A JP 6613732 B2 JP6613732 B2 JP 6613732B2
Authority
JP
Japan
Prior art keywords
image
compression
data
compressed
image processing
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.)
Expired - Fee Related
Application number
JP2015173627A
Other languages
Japanese (ja)
Other versions
JP2017050756A (en
Inventor
匠哉 太田
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
Fujifilm Business Innovation 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 Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2015173627A priority Critical patent/JP6613732B2/en
Publication of JP2017050756A publication Critical patent/JP2017050756A/en
Application granted granted Critical
Publication of JP6613732B2 publication Critical patent/JP6613732B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、画像処理装置及び画像処理プログラムに関する。   The present invention relates to an image processing apparatus and an image processing program.

特許文献1には、原画像中から画像として必要としない不要領域を抽出する不要領域抽出手段と、前記不要領域抽出手段により抽出された前記不要領域を前記原画像から除去する不要領域除去手段と、前記不要領域が除去された前記原画像を圧縮する圧縮手段と、を備える画像処理装置が開示されている。   Patent Document 1 discloses an unnecessary area extracting unit that extracts an unnecessary area that is not necessary as an image from an original image, and an unnecessary area removing unit that removes the unnecessary area extracted by the unnecessary area extracting unit from the original image. And an image processing apparatus that compresses the original image from which the unnecessary area has been removed.

特許文献2には、画像内から複数の領域を抽出した該抽出領域に対し符号化を行なう画像符号化方法において、該抽出領域それぞれの面積を求める面積検出段階と、該面積の大きな上位N個の抽出領域を符号化対象領域と決定し、該符号化対象領域以外の残りの領域を抽出外領域と決定する決定段階と、該符号化対象領域を形状と領域内信号の代表値を用いた第1の符号化方法を適用して符号化する領域画像符号化段階と、該抽出外領域を該第1の符号化方法とは異なった第2の符号化方法を用いて符号化する抽出外領域符号化段階とを、有することを特徴とする画像符号化方法が開示されている。   In Patent Document 2, in an image encoding method for encoding a plurality of regions extracted from an image, an area detection step for obtaining the area of each of the extracted regions, and the top N regions having the largest areas A determination step of determining the extraction region as an encoding target region and determining a remaining region other than the encoding target region as a non-extraction region, and using the shape and the representative value of the signal in the region as the encoding target region A region image encoding stage that encodes by applying the first encoding method, and an out-of-extraction region in which the non-extraction region is encoded using a second encoding method different from the first encoding method. An image coding method characterized by comprising a region coding step is disclosed.

特許文献3には、印刷すべき画像データをある解像度にラスタライズするラスタライズ手段と、該手段によってラスタライズされた画像データに対して圧縮処理を施す圧縮手段と、該手段による圧縮結果としての圧縮コードを圧縮メモリに蓄える蓄積手段とを有する画像形成装置において、前記圧縮手段として複数種の圧縮手段を備え、ある条件に応じて圧縮手段を選択する圧縮選択手段を設けたことを特徴とする画像形成装置が開示されている。   Patent Document 3 discloses rasterizing means for rasterizing image data to be printed to a certain resolution, compression means for compressing image data rasterized by the means, and a compression code as a compression result by the means. An image forming apparatus having a storage means for storing in a compression memory, comprising: a plurality of types of compression means as the compression means; and a compression selection means for selecting a compression means according to a certain condition. Is disclosed.

特開2004−229096号公報JP 2004-229096 A 特開2000−197046号公報JP 2000-197046 A 特開平9−102879号公報JP-A-9-102879

通信回線の帯域幅を超える画像データを転送する場合、当該画像データを圧縮して通信回線の帯域幅以下の画像データに変換することが一般に行われる。高い圧縮率で圧縮された画像データは、通信回線上で画像データを転送する上では効率が良いが、転送先における画像データの伸張処理に時間がかかり過ぎると、新たに圧縮された画像データを転送先で受け付けることができなくなる。その結果、新たに圧縮された画像データの転送開始が待たされることとなり、結果的に通信回線の実効転送速度が下がることとなる。   When transferring image data that exceeds the bandwidth of the communication line, the image data is generally compressed and converted into image data that is equal to or less than the bandwidth of the communication line. Image data compressed at a high compression rate is efficient for transferring image data over a communication line, but if it takes too much time to decompress the image data at the transfer destination, the newly compressed image data is It cannot be accepted at the forwarding destination. As a result, the transfer start of the newly compressed image data is awaited, and as a result, the effective transfer rate of the communication line is lowered.

伸張処理後の画像データに基づいて紙等の記録媒体上に画像を形成する画像形成装置では、一旦画像形成処理が開始されると、画像形成部における画像形成速度(記録媒体の搬送速度)に間に合うように描画処理を実行し続けなければならないが、画像データの実効転送速度が低下すると、描画処理が画像形成速度に追いつかなくなってしまう場合がある。   In an image forming apparatus that forms an image on a recording medium such as paper based on image data after expansion processing, once the image forming process is started, the image forming speed (recording medium conveyance speed) in the image forming unit is increased. The drawing process must continue to be executed in time, but if the effective transfer rate of image data decreases, the drawing process may not be able to keep up with the image forming speed.

本発明は、画像形成データを無条件で全て圧縮する場合と比較して、画像形成データの実効転送速度が低下してしまうのを抑制することができる画像処理装置及び画像処理プログラムを提供することを目的とする。   The present invention provides an image processing apparatus and an image processing program capable of suppressing a reduction in the effective transfer rate of image formation data as compared with a case where all image formation data is compressed unconditionally. With the goal.

請求項1の発明は、画像形成データが表す画像を複数の分割単位に分割する分割手段と、前記複数の分割単位の分割データの圧縮度合いが要求圧縮度合いを達成するまで、圧縮優先順位が高い順に前記分割データを圧縮する圧縮手段と、を備え、前記分割手段は、前記画像に含まれる複数のページ画像毎に、複数の分割単位の分割データに分割し、前記圧縮手段は、前記ページ画像毎に、前記複数の分割単位の分割データの圧縮度合いが、前記圧縮手段により圧縮された圧縮データを転送する通信回線の第1の転送速度と、前記画像形成データが表す画像を記録媒体上に形成する際の画像形成条件から算出した第2の転送速度と、から算出した基準要求圧縮度合いと、過去に圧縮した前記ページ画像の圧縮度合いと、から算出した前記ページ画像の要求圧縮度合いを達成するまで、圧縮優先順位が高い順に前記分割データを圧縮するAccording to the first aspect of the present invention, there is a dividing means for dividing the image represented by the image forming data into a plurality of division units, and the compression priority is high until the compression degree of the divided data of the plurality of division units achieves the required compression degree. Compression means for sequentially compressing the divided data , wherein the dividing means divides a plurality of page images included in the image into divided data of a plurality of division units, and the compression means includes the page image. Each time, the degree of compression of the divided data of the plurality of division units is the first transfer speed of the communication line for transferring the compressed data compressed by the compression means, and the image represented by the image forming data is recorded on the recording medium. The page calculated from the second requested transfer rate calculated from the image forming conditions at the time of forming, the reference required compression level calculated from the page rate, and the compression level of the page image compressed in the past Until achieving the required degree of compression of the image, the compression priority compressing the divided data in the descending order.

請求項2の発明は、前記複数の分割単位の分割データの各々について、前記分割データが表す画像に含まれる画像要素の特徴を表す特徴量から算出した圧縮コストから、前記圧縮優先順位を設定する設定手段を備える。   The invention according to claim 2 sets the compression priority for each of the divided data of the plurality of division units from a compression cost calculated from a feature amount representing a feature of an image element included in an image represented by the divided data. Setting means is provided.

請求項3の発明は、前記特徴量は、前記分割データが表す画像に含まれる前記画像要素が描画される領域の面積又は前記画像要素のデータ量である。   According to a third aspect of the present invention, the feature amount is an area of a region where the image element included in the image represented by the divided data is drawn or a data amount of the image element.

請求項4の発明は、前記設定手段は、前記特徴量及び前記画像要素の種類毎に定めた係数から、前記圧縮コストを算出する。   According to a fourth aspect of the present invention, the setting means calculates the compression cost from a coefficient determined for each feature amount and each type of the image element.

請求項5の発明は、前記設定手段は、前記画像要素を含む前記分割データを過去に圧縮した際の圧縮度合いから前記係数を更新する。   According to a fifth aspect of the present invention, the setting unit updates the coefficient based on a degree of compression when the divided data including the image element is compressed in the past.

請求項6の発明は、前記分割データは、前記画像形成データが表す画像を色成分毎に分割したデータ、前記画像形成データが表す画像を領域毎に分割したデータ、及び前記画像形成データが表す画像を画像要素毎に分割したデータの何れかである。   According to a sixth aspect of the present invention, the divided data is represented by data obtained by dividing the image represented by the image formation data for each color component, data obtained by dividing the image represented by the image formation data for each region, and the image formation data. One of the data obtained by dividing the image for each image element.

請求項の発明は、前記分割データを圧縮した圧縮データ及び前記分割データを非圧縮の非圧縮データが、前記画像形成データが表す画像を記録媒体上に形成する際の処理順で前記圧縮データ及び前記非圧縮データが通信回線に出力されるように制御する制御手段を備える。 According to a seventh aspect of the present invention, the compressed data obtained by compressing the divided data and the non-compressed non-compressed data of the divided data are processed in the order of processing when the image represented by the image forming data is formed on a recording medium. And control means for controlling the uncompressed data to be output to a communication line.

請求項の発明は、前記圧縮手段は、可逆圧縮により前記分割データを圧縮する。 In the invention according to claim 8, the compression means compresses the divided data by lossless compression.

請求項の発明は、コンピュータを、請求項1〜の何れか1項に記載の画像処理装置の各手段として機能させるための画像処理プログラムである。 The invention of claim 9 is an image processing program for causing a computer to function as each means of the image processing apparatus according to any one of claims 1 to 8 .

請求項1及び請求項記載の発明によれば、画像形成データを無条件で全て圧縮する場合と比較して、画像形成データの実効転送速度が低下してしまうのを抑制し、ページ画像以外の単位で圧縮する場合と比較して、必要以上に圧縮してしまうのを抑制することができる According to the first and ninth aspects of the present invention, the effective transfer rate of the image forming data is suppressed from being reduced as compared with the case where all of the image forming data is compressed unconditionally. Compared to the case of compressing in units, it is possible to suppress compressing more than necessary.

請求項2記載の発明によれば、分割データが表す画像に含まれる画像要素以外の特徴を表す特徴量から圧縮優先順位を設定する場合と比較して、圧縮優先順位を精度良く設定できる。   According to the second aspect of the present invention, it is possible to set the compression priority with higher accuracy than in the case where the compression priority is set from the feature amount representing the feature other than the image element included in the image represented by the divided data.

請求項3記載の発明によれば、分割データが表す画像に含まれる画像要素が描画される領域の面積及び画像要素のデータ量以外の特徴量から圧縮優先順位を設定する場合と比較して、精度良く圧縮優先順位を設定できる。   According to the invention of claim 3, compared with the case where the compression priority is set from the feature amount other than the area of the image element drawn in the image represented by the divided data and the data amount of the image element, Compression priority can be set with high accuracy.

請求項4記載の発明によれば、画像要素の種類に関係なく圧縮コストを算出する場合と比較して、圧縮優先順位を精度良く設定できる。   According to the fourth aspect of the present invention, it is possible to set the compression priority with high accuracy as compared with the case where the compression cost is calculated regardless of the type of the image element.

請求項5記載の発明によれば、係数を固定にした場合と比較して、圧縮優先順位を精度良く設定できる。   According to the fifth aspect of the present invention, it is possible to set the compression priority with higher accuracy than when the coefficient is fixed.

請求項6記載の発明によれば、色成分毎、領域毎、及び画像要素毎以外の単位で画像形成データを分割する場合と比較して、画像形成データを容易に分割することができる。   According to the sixth aspect of the present invention, it is possible to easily divide the image forming data as compared with the case where the image forming data is divided in units other than each color component, each region, and each image element.

請求項記載の発明によれば、圧縮データ及び非圧縮データを、画像形成データが表す画像を記録媒体上に形成する際の処理順に並び替えないで通信回線に出力する場合と比較して、圧縮データ及び非圧縮データの出力先で前記処理順に並び替える必要がない。 According to the invention of claim 7 , compared with the case where the compressed data and the uncompressed data are output to the communication line without being rearranged in the processing order when the image represented by the image forming data is formed on the recording medium There is no need to rearrange the compressed data and the uncompressed data in the processing order.

請求項記載の発明によれば、非可逆圧縮で分割データを圧縮する場合と比較して、画質を維持することができる。 According to the invention described in claim 8 , the image quality can be maintained as compared with the case where the divided data is compressed by irreversible compression.

第1実施形態に係る画像処理装置の構成を示す概略構成図である。1 is a schematic configuration diagram illustrating a configuration of an image processing apparatus according to a first embodiment. 第1実施形態に係る画像処理プログラムの処理の流れの一例を示すフローチャートである。It is a flowchart which shows an example of the flow of a process of the image processing program which concerns on 1st Embodiment. 第1実施形態に係る圧縮優先順位について説明するための図である。It is a figure for demonstrating the compression priority based on 1st Embodiment. 第2実施形態に係る画像処理装置の構成を示す概略構成図である。It is a schematic block diagram which shows the structure of the image processing apparatus which concerns on 2nd Embodiment. 第2実施形態に係る画像処理プログラムの処理の流れの一例を示すフローチャートである。It is a flowchart which shows an example of the flow of a process of the image processing program which concerns on 2nd Embodiment. 第2実施形態に係る圧縮優先順位について説明するための図である。It is a figure for demonstrating the compression priority based on 2nd Embodiment. 第3実施形態に係る画像処理プログラムの処理の流れの一例を示すフローチャートである。It is a flowchart which shows an example of the flow of a process of the image processing program which concerns on 3rd Embodiment. 第3実施形態に係る圧縮優先順位について説明するための図である。It is a figure for demonstrating the compression priority based on 3rd Embodiment.

以下、図面を参照して、本発明を実施するための形態を詳細に説明する。   DESCRIPTION OF EMBODIMENTS Hereinafter, embodiments for carrying out the present invention will be described in detail with reference to the drawings.

(第1実施形態)   (First embodiment)

まず、図1を参照して、本実施形態に係る画像処理装置10の構成を説明する。画像処理装置10は、データ入力部12、分割手段の一例としてのラスタ生成部14、要求圧縮率算出部16、圧縮手段の一例としてのデータ圧縮部18、及びDRP制御部20を備える。画像処理装置10は、DRP22と通信回線の一例としてのバス23を介して接続される。なお、図1において、実線の矢印は各種データの流れを表し、破線の矢印は各種パラメータの流れを示している。   First, the configuration of the image processing apparatus 10 according to the present embodiment will be described with reference to FIG. The image processing apparatus 10 includes a data input unit 12, a raster generation unit 14 as an example of a dividing unit, a requested compression rate calculation unit 16, a data compression unit 18 as an example of a compression unit, and a DRP control unit 20. The image processing apparatus 10 is connected to the DRP 22 via a bus 23 as an example of a communication line. In FIG. 1, solid arrows indicate the flow of various data, and broken arrows indicate the flow of various parameters.

データ入力部12は、印刷を指示された画像形成データの一例としての印刷データ及び画像形成条件の一例としての印刷条件を入力し、印刷データ24をラスタ生成部14に出力すると共に、印刷条件を要求圧縮率算出部16に出力する。   The data input unit 12 inputs print data as an example of image formation data instructed to print and print conditions as an example of image formation conditions, outputs the print data 24 to the raster generation unit 14, and sets the print conditions. The requested compression rate calculation unit 16 outputs the result.

印刷データ24は、本実施形態では一例としてページ記述言語(PDL:Page Description Language)で記述されたPDLデータである。以下では、印刷データ24をPDLデータ24と称する。   The print data 24 is PDL data described in a page description language (PDL) as an example in the present embodiment. Hereinafter, the print data 24 is referred to as PDL data 24.

印刷条件は、例えばPDLデータ24が表す画像を印刷する紙等の記録媒体のページサイズ及び印刷性能に関する条件である。ここで、ページサイズは、例えば記録媒体の幅方向及び長さ方向の画素数で表される。また、印刷性能は、画像処理装置10で処理したデータの出力先である図示しない画像形成装置の性能である。画像形成装置は、例えば所謂電子写真方式により記録媒体上に画像を形成する装置である。具体的には、画像形成装置は、感光体ドラムを帯電するための帯電装置、帯電された感光体ドラム上を画像に応じた光で露光することにより感光体ドラム上に画像に応じた静電潜像を形成する露光装置、感光体ドラム上に形成された静電潜像をトナー現像する現像装置、感光体ドラム上に形成されたトナー像を記録媒体に転写する転写装置、記録媒体に転写されたトナー像を定着する定着装置等を含んで構成される。なお、画像形成装置には、インクジェット記録装置を用いても良い。この場合、画像形成装置は、画像に応じてインクを記録媒体上に吐出するインクジェット記録ヘッド等を含んで構成される。   The printing conditions are conditions relating to the page size and printing performance of a recording medium such as paper on which an image represented by the PDL data 24 is printed. Here, the page size is represented by, for example, the number of pixels in the width direction and the length direction of the recording medium. The printing performance is the performance of an image forming apparatus (not shown) that is an output destination of data processed by the image processing apparatus 10. The image forming apparatus is an apparatus that forms an image on a recording medium by, for example, a so-called electrophotographic method. Specifically, the image forming apparatus includes a charging device for charging the photosensitive drum, and an electrostatic charge corresponding to the image on the photosensitive drum by exposing the charged photosensitive drum with light corresponding to the image. An exposure device that forms a latent image, a developing device that develops toner on an electrostatic latent image formed on a photosensitive drum, a transfer device that transfers a toner image formed on a photosensitive drum to a recording medium, and a transfer to a recording medium And a fixing device for fixing the toner image. Note that an ink jet recording apparatus may be used as the image forming apparatus. In this case, the image forming apparatus includes an inkjet recording head that discharges ink onto a recording medium according to an image.

従って、上記のような画像形成装置の場合、画像形成装置の性能には、記録媒体上に画像を形成するために使用するトナー又はインクの色の数、解像度、印刷速度等が含まれる。例えば使用するトナー又はインクの色がC(シアン)、M(マゼンタ)、Y(イエロー)、K(ブラック)であれば、色の数は4となる。本実施形態では、画像処理装置10で画像処理されたデータの出力先が、CMYK4色の色成分のデータに基づいて記録媒体上に画像を形成する画像形成装置である場合について説明する。また、解像度は、例えばdpi(dot per inch)で表される。印刷速度は、例えば1分間に印刷可能な枚数を表すPPM(Page Per Minute)で表される。   Therefore, in the case of the image forming apparatus as described above, the performance of the image forming apparatus includes the number of colors of toner or ink used for forming an image on a recording medium, resolution, printing speed, and the like. For example, if the color of the toner or ink used is C (cyan), M (magenta), Y (yellow), or K (black), the number of colors is four. In the present embodiment, a description will be given of a case where the output destination of the data processed by the image processing apparatus 10 is an image forming apparatus that forms an image on a recording medium based on CMYK four color component data. Further, the resolution is represented by, for example, dpi (dot per inch). The printing speed is represented by, for example, PPM (Page Per Minute) indicating the number of printable sheets per minute.

ラスタ生成部14は、データ入力部12から入力されたPDLデータ24を解釈し、ビットマップデータであるラスタデータ26を色成分毎に生成する。なお、PDLデータ24からラスタデータを生成する際に、PDLデータ24が表す画像に含まれる画像要素の一例としてのオブジェクトに関するオブジェクト情報に基づいて、色成分毎のラスタデータ26に対して圧縮優先順位を設定する。そして、ラスタ生成部14は、設定した圧縮優先順位をデータ圧縮部18へ出力する。なお、オブジェクト情報には、例えばオブジェクトの種類及びオブジェクトの面積等の情報が含まれる。また、オブジェクトの種類には、例えばイメージ、グラフィックス等があるが、これらに限られるものではない。   The raster generation unit 14 interprets the PDL data 24 input from the data input unit 12 and generates raster data 26 that is bitmap data for each color component. Note that when generating raster data from the PDL data 24, compression priority is given to the raster data 26 for each color component based on object information regarding an object as an example of an image element included in the image represented by the PDL data 24. Set. Then, the raster generation unit 14 outputs the set compression priority order to the data compression unit 18. The object information includes information such as the type of object and the area of the object. Examples of object types include, but are not limited to, images and graphics.

要求圧縮率算出部16は、詳細は後述するが、データ入力部12から入力された印刷条件、すなわちページサイズ及び印刷性能と、過去にデータ圧縮部18で圧縮したページの圧縮率と、から圧縮対象のページの要求圧縮率を算出し、データ圧縮部18へ出力する。   Although the details will be described later, the required compression rate calculation unit 16 performs compression based on the printing conditions input from the data input unit 12, that is, the page size and printing performance, and the compression rate of the pages compressed by the data compression unit 18 in the past. The requested compression rate of the target page is calculated and output to the data compression unit 18.

データ圧縮部18は、圧縮対象のページに対して、要求圧縮率算出部16で算出された要求圧縮率を満たすまで、ラスタ生成部14で設定された圧縮優先順位に従って各色のラスタデータ26の圧縮処理を順次実行する。各色のラスタデータ26のうち、高圧縮率が期待できる色のラスタデータ26から圧縮していき、要求圧縮率を満たすことができた段階で残りの色のラスタデータ26を圧縮しないようにすることで、伸張処理に必要以上に時間を費やしてしまうことが抑制される。その結果、DRP22において伸張処理が待機状態になってデータ転送できない状態になってしまうことが抑制され、バス23の実効転送速度が低下してしまうのが抑制される。圧縮処理は、本実施形態では一例として可逆圧縮により行う。本実施形態では、画像を劣化させることなく圧縮する方法であると共に、実際に圧縮処理をした後でないと圧縮率を知ることができない方式、すなわち圧縮後のデータ量が圧縮対象のデータの内容によって異なる方式である不定長符号圧縮方式の可逆圧縮を用いる。可逆圧縮には、例えばLZH、ZIP、CAB、PNG、GIF等があるが、これらに限られるものではない。なお、可逆圧縮に限らず、非可逆圧縮の中でも固定長符号圧縮方式ではなく、不定長符号圧縮方式であれば非可逆圧縮を用いてもよい。   The data compression unit 18 compresses the raster data 26 of each color according to the compression priority set by the raster generation unit 14 until the requested compression rate calculated by the requested compression rate calculation unit 16 is satisfied for the page to be compressed. Processes are executed sequentially. The raster data 26 of each color is compressed from the raster data 26 of a color that can be expected to have a high compression rate, and the raster data 26 of the remaining colors is not compressed when the required compression rate is satisfied. Thus, it is possible to suppress spending more time than necessary for the decompression process. As a result, it is possible to prevent the DRP 22 from being in a state where the decompression process is in a standby state and being unable to transfer data, and the effective transfer rate of the bus 23 is prevented from decreasing. In the present embodiment, the compression processing is performed by reversible compression as an example. This embodiment is a method for compressing an image without degrading it, and a method in which the compression rate cannot be known without actually performing compression processing, that is, the amount of data after compression depends on the content of data to be compressed. A reversible compression of an indefinite length code compression system which is a different system is used. Examples of lossless compression include, but are not limited to, LZH, ZIP, CAB, PNG, GIF, and the like. Not only the lossless compression but also the irreversible compression, the irreversible compression may be used as long as it is not a fixed length code compression method but an indefinite length code compression method.

そして、データ圧縮部18は、圧縮された色成分については、その色成分のラスタデータ26を圧縮した圧縮データ28をDRP制御部20へ出力し、非圧縮の色成分については、非圧縮のラスタデータ26をDRP制御部20へ出力する。また、データ圧縮部18は、圧縮処理の結果から圧縮率を算出し、算出した圧縮率を要求圧縮率算出部16へ出力する。   For the compressed color component, the data compression unit 18 outputs compressed data 28 obtained by compressing the raster data 26 of the color component to the DRP control unit 20, and for the uncompressed color component, the uncompressed raster component. Data 26 is output to the DRP control unit 20. Further, the data compression unit 18 calculates a compression rate from the result of the compression process, and outputs the calculated compression rate to the requested compression rate calculation unit 16.

DRP制御部20は、データ圧縮部18から入力された圧縮データ28及びラスタデータ26をDRP22に出力して画像処理(色変換処理、明るさ調整処理、スクリーン処理等)を要求すると共に、圧縮データ28については、画像処理の要求に加えて、伸張処理の要求をDRP22に出力する。   The DRP control unit 20 outputs the compressed data 28 and the raster data 26 input from the data compression unit 18 to the DRP 22 to request image processing (color conversion processing, brightness adjustment processing, screen processing, etc.), and the compressed data For 28, in addition to a request for image processing, a request for decompression processing is output to the DRP 22.

DRP22は、動的再構成可能プロセッサ(Dynamically Reconfigurable Processor)であり、DRP制御部20からの指示に従って、前述した画像処理(色変換処理、明るさ調整処理、スクリーン処理等)及び圧縮データ28の伸張処理等を実行する。   The DRP 22 is a dynamically reconfigurable processor, and in accordance with an instruction from the DRP control unit 20, the above-described image processing (color conversion processing, brightness adjustment processing, screen processing, etc.) and decompression of the compressed data 28 are performed. Execute processing etc.

なお、画像処理装置10は、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)、及び不揮発性メモリ等を含むコンピュータで構成してもよい。この場合、CPUは、ROMに記憶された画像処理プログラムを読み込んで実行する。なお、画像処理プログラムは、CD−ROM等の記憶媒体に記録して提供する形態としてもよいし、ネットワークにより提供される形態としても良い。   The image processing apparatus 10 may be configured by a computer including a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), and a nonvolatile memory. In this case, the CPU reads and executes the image processing program stored in the ROM. The image processing program may be provided by being recorded on a storage medium such as a CD-ROM, or may be provided by a network.

次に、本実施形態の作用として、画像処理装置10によって実行される画像処理について説明する。図2に示す処理は、画像処理装置10によって実行される画像処理の流れを示すフローチャートである。この画像処理は、例えばユーザにより印刷が指示され、印刷データ及び印刷条件が画像処理装置10に入力されると実行される。   Next, image processing executed by the image processing apparatus 10 will be described as an operation of the present embodiment. The processing shown in FIG. 2 is a flowchart showing the flow of image processing executed by the image processing apparatus 10. This image processing is executed when printing is instructed by the user, for example, and print data and printing conditions are input to the image processing apparatus 10.

ステップS100では、データ入力部12が、入力された印刷データ及び印刷条件のうち、印刷データをラスタ生成部14に出力し、印刷条件を要求圧縮率算出部16に出力する。   In step S <b> 100, the data input unit 12 outputs the print data out of the input print data and print conditions to the raster generation unit 14, and outputs the print conditions to the requested compression rate calculation unit 16.

ステップS102では、要求圧縮率算出部16が、PDLデータ24の基準要求圧縮率を算出する。基準要求圧縮率は、DRP制御部20とDRP22とを接続するバス23の規格により予め定められた第1の転送速度としての転送速度Aを、データ入力部12から入力された印刷条件から算出した第2の転送速度としての転送速度Bで除算することにより算出する。転送速度Bは、データ入力部12から入力された印刷条件で印刷しようとした場合に、DRP制御部20からDRP22へ非圧縮でデータ転送する際に必要とされる転送速度である。   In step S <b> 102, the required compression rate calculation unit 16 calculates the reference required compression rate of the PDL data 24. The reference required compression rate is calculated from the printing condition input from the data input unit 12, the transfer rate A as the first transfer rate predetermined by the standard of the bus 23 connecting the DRP control unit 20 and the DRP 22. It is calculated by dividing by the transfer rate B as the second transfer rate. The transfer speed B is a transfer speed required when data is transferred from the DRP control unit 20 to the DRP 22 without compression when printing is performed under the printing conditions input from the data input unit 12.

例えばPDLデータ24が表す画像のページサイズが20×12インチの用紙であり、印刷に使用する色の数がCMYKの4色、解像度が1200dpi、印刷速度が300ppmであった場合、DRP制御部20からDRP22へ非圧縮でデータ転送する場合に必要とされる転送速度Bは、6.4GB/secとなる。これに対して、DRP制御部20とDRP22とを接続するバス23の転送速度Aが4.0GB/secであったとすると、基準要求圧縮率は、4.0/6.4=0.625(62.5%)となる。   For example, when the page size of the image represented by the PDL data 24 is 20 × 12 inches, the number of colors used for printing is four colors of CMYK, the resolution is 1200 dpi, and the printing speed is 300 ppm, the DRP control unit 20 The transfer rate B required when data is transferred from the DRP 22 to the DRP 22 without compression is 6.4 GB / sec. On the other hand, if the transfer rate A of the bus 23 connecting the DRP control unit 20 and the DRP 22 is 4.0 GB / sec, the reference required compression rate is 4.0 / 6.4 = 0.625 ( 62.5%).

ステップS104では、ラスタ生成部14が、PDLデータ24が表す画像のページ数をカウントするためのカウンタnを1に初期化する。   In step S104, the raster generation unit 14 initializes a counter n for counting the number of pages of the image represented by the PDL data 24 to 1.

ステップS106では、ラスタ生成部14が、PDLデータ24を解釈し、nページ目のラスタデータ26をCMYKの各色毎に生成する。また、PDLデータ24を解釈する際に、PDLデータ24が表すnページ目の画像に含まれるオブジェクトの種類、特徴量、及びオブジェクトの種類毎に定めた係数から、圧縮優先順位を設定する。なお、係数は、本実施形態では予め定められた値を用いる。   In step S106, the raster generation unit 14 interprets the PDL data 24 and generates raster data 26 of the nth page for each color of CMYK. Further, when interpreting the PDL data 24, the compression priority is set based on the type of object included in the nth page image represented by the PDL data 24, the feature amount, and the coefficient determined for each type of object. In this embodiment, a predetermined value is used as the coefficient.

例えば、nページ目のCMYKの各色の画像が図3に示すような画像30C、30M、30Y、30Kであった場合について説明する。   For example, a case will be described in which the CMYK color images on the nth page are images 30C, 30M, 30Y, and 30K as shown in FIG.

なお、オブジェクトの種類には、例えばグラフィックス画像及びイメージ画像等がある。グラフィックス画像は、例えばテキスト文字等の画像であり、イメージ画像は、例えば写真等の画像である。なお、オブジェクトの種類は、これらに限られるものではない。   Note that the types of objects include, for example, graphics images and image images. The graphics image is an image such as a text character, for example, and the image image is an image such as a photograph. Note that the types of objects are not limited to these.

本実施形態では、オブジェクトの特徴量としてオブジェクトの面積を用いる。例えばシアンの画像30Cは、オブジェクトの種類がイメージであるオブジェクト32Cを含む。この場合、オブジェクト32Cを囲む矩形領域34Cの面積をオブジェクト32Cの面積S1cとする。例えば、図3において矩形領域34CのX方向の範囲をx=(xc1、xc2)、矩形領域34CのY方向の範囲をy=(yc1、yc2)とし、画像の左上角部を原点とすると、矩形領域34Cの面積は、(xc2−xc1)×(yc2−yc1)で算出される。そして、矩形領域34Cの面積をオブジェクト32Cの面積S1cとする。マゼンタの画像30Mに含まれるオブジェクト32Mの面積S1m、ブラックの画像30Kに含まれるオブジェクト32Kの面積S1kも、シアンの画像30Cに含まれるオブジェクト32Cの面積S1cと同様に算出される。また、ブラックの画像30Kは、オブジェクトの種類がグラフィックスであるオブジェクト36Kを含むが、このオブジェクト36Kについても、オブジェクト36Kを囲む矩形領域の面積を算出して、これをオブジェクト36Kの面積S2kとすればよい。   In the present embodiment, the area of the object is used as the feature amount of the object. For example, the cyan image 30C includes an object 32C whose object type is an image. In this case, the area of the rectangular area 34C surrounding the object 32C is defined as an area S1c of the object 32C. For example, in FIG. 3, if the range of the rectangular area 34C in the X direction is x = (xc1, xc2), the range of the rectangular area 34C in the Y direction is y = (yc1, yc2), and the upper left corner of the image is the origin, The area of the rectangular region 34C is calculated by (xc2-xc1) × (yc2-yc1). The area of the rectangular region 34C is defined as an area S1c of the object 32C. The area S1m of the object 32M included in the magenta image 30M and the area S1k of the object 32K included in the black image 30K are also calculated in the same manner as the area S1c of the object 32C included in the cyan image 30C. The black image 30K includes an object 36K whose type of object is graphics. For this object 36K as well, the area of a rectangular region surrounding the object 36K is calculated, and this is taken as the area S2k of the object 36K. That's fine.

そして、画像に含まれるイメージのオブジェクトの面積S1x、イメージのオブジェクトの係数をK1、画像に含まれるグラフィックスのオブジェクトの面積S2x、グラフィックスのオブジェクトの係数をK2として、次式により圧縮コストFxを算出する。なお、画像に複数のイメージのオブジェクトが含まれる場合は、面積S1xは、複数のイメージのオブジェクトの面積を合算した値とする。面積S2xについても同様に、画像に複数のグラフィックスのオブジェクトが含まれる場合は、面積S2xは、複数のグラフィックスのオブジェクトの面積を合算した値とする。   Then, the area S1x of the image object included in the image, the coefficient of the image object K1 is set, the area S2x of the graphic object included in the image is set to K2, and the coefficient of the graphics object is K2, and the compression cost Fx is calculated by calculate. When an image includes a plurality of image objects, the area S1x is a value obtained by adding the areas of the plurality of image objects. Similarly, when the image includes a plurality of graphics objects, the area S2x is a value obtained by adding the areas of the plurality of graphics objects.

Fx=S1x×K1+S2x×K2 ・・・(1) Fx = S1x × K1 + S2x × K2 (1)

ただし、xは各色を表す符号であり、図3の例ではc、m、y、kの何れかである。   However, x is a code | symbol showing each color, and is either c, m, y, or k in the example of FIG.

ここで、圧縮コストFxは、圧縮処理に要する時間に相当し、圧縮コストFxが高いほど圧縮後のデータサイズは大きくなり、圧縮処理に要する時間も長くなる。その結果、圧縮後のデータの伸張処理に要する時間も長くなる。また、例えば自然画のようなイメージのオブジェクトは、文字や図形のようなグラフィックスのオブジェクトよりも概して圧縮率が低く、そのようなオブジェクトの面積が大きくなると圧縮率が低くなることが予想される。すなわち、上記(1)式に示すように、画像中に含まれるイメージやグラフィックスのオブジェクトの面積が大きいほど圧縮処理に要する時間が長く、圧縮率は低くなり、圧縮コストFxが高くなる。   Here, the compression cost Fx corresponds to the time required for the compression process. The higher the compression cost Fx, the larger the data size after compression, and the longer the time required for the compression process. As a result, the time required for the decompression processing of the compressed data also becomes longer. In addition, for example, an object of an image such as a natural image is generally lower in compression rate than a graphic object such as a character or a figure, and it is expected that the compression rate becomes lower as the area of such an object increases. . That is, as shown in the above equation (1), the larger the area of the image or graphics object included in the image, the longer the time required for the compression process, the lower the compression rate, and the higher the compression cost Fx.

従って、圧縮コストFxが低いほど圧縮優先順位を高く設定し、圧縮コストFxが高いほど圧縮優先順位を低く設定する。   Therefore, the compression priority is set higher as the compression cost Fx is lower, and the compression priority is set lower as the compression cost Fx is higher.

例えば図3の場合において、イメージのオブジェクトの係数K1が0.05、グラフィックスのオブジェクトの係数K2が0.01に設定されていた場合において、画像30Cに含まれるオブジェクト32Cの面積S1c及び画像30Mに含まれるオブジェクト32Mの面積S1mが各々100万ピクセルだったとすると、画像30Cの圧縮コストFc及び画像30Mの圧縮コストFmは、上記(1)式より5万となる。   For example, in the case of FIG. 3, when the coefficient K1 of the image object is set to 0.05 and the coefficient K2 of the graphics object is set to 0.01, the area S1c of the object 32C and the image 30M included in the image 30C. If the area S1m of the object 32M included in each is 1 million pixels, the compression cost Fc of the image 30C and the compression cost Fm of the image 30M are 50,000 from the above equation (1).

また、画像30Yにオブジェクトは含まれないため、上記(1)式より、圧縮コストFyは0となる。   Further, since no object is included in the image 30Y, the compression cost Fy is 0 from the above equation (1).

また、画像30Kに含まれるイメージのオブジェクト32Kの面積S1kが100万ピクセル、グラフィックスのオブジェクト36Kの面積S2kが80万ピクセルだったとすると、画像30Kの圧縮コストFkは、上記(1)式より5.8万となる。   If the area S1k of the image object 32K included in the image 30K is 1 million pixels and the area S2k of the graphics object 36K is 800,000 pixels, the compression cost Fk of the image 30K is 5 from the above equation (1). 80,000.

従って、各画像の圧縮コストの大小関係は、Fy<Fc=Fm<Fkとなるため、圧縮優先順位は、圧縮コストの低い順、すなわち画像30Y>画像30C=画像30M>画像30Kとなる。   Accordingly, since the compression relationship between the images is Fy <Fc = Fm <Fk, the compression priority is in the order of decreasing compression cost, that is, image 30Y> image 30C = image 30M> image 30K.

ステップS108では、要求圧縮率算出部16が、nページ目のラスタデータの要求圧縮率を算出し、データ圧縮部18へ出力する。要求圧縮率は、ステップS102で算出した基準要求圧縮率と、過去に圧縮したページの圧縮率と、から算出する。具体的には、基準要求圧縮率をC1、過去に圧縮した1ページ目から(n−1)ページ目までの圧縮率の平均値をC2として、次式によりnページ目の要求圧縮率C3を算出する。   In step S <b> 108, the required compression rate calculation unit 16 calculates the required compression rate of the nth page raster data and outputs it to the data compression unit 18. The required compression rate is calculated from the reference required compression rate calculated in step S102 and the compression rate of the previously compressed page. Specifically, the reference required compression rate is C1, the average compression rate from the first page compressed in the past to the (n−1) th page is C2, and the required compression rate C3 of the nth page is calculated by the following equation. calculate.

C3=(C1×n)−{C2×(n−1)} ・・・(2) C3 = (C1 × n) − {C2 × (n−1)} (2)

例えばn=11の場合で、基準要求圧縮率C1が62.5%、1ページ目〜10ページ目までの圧縮率の平均値C2が60.0%であった場合、nページ目の要求圧縮率C3は、上記(2)式より87.5%となる。   For example, when n = 11 and the reference required compression rate C1 is 62.5% and the average value C2 of the compression rates from the first page to the tenth page is 60.0%, the required compression of the nth page The rate C3 is 87.5% from the above equation (2).

ステップS110では、データ圧縮部18が、nページ目の未処理の色成分のラスタデータ26のうち、ステップS106で設定した圧縮優先順位の最も高い色成分のラスタデータ26を選択して圧縮処理する。   In step S110, the data compression unit 18 selects and compresses the raster data 26 of the color component having the highest compression priority set in step S106 from the raster data 26 of the unprocessed color component of the nth page. .

ステップS112では、データ圧縮部18が、ステップS110の圧縮処理の結果に基づいてnページ目の圧縮率を算出し、算出したnページ目の圧縮率を要求圧縮率算出部16に出力する。nページ目の圧縮率は、この時点で圧縮処理された色の圧縮後の圧縮データ28のデータサイズの合計値と、この時点で未圧縮の色のラスタデータ26のデータサイズの合計値と、を加算したデータサイズを、圧縮前の各色のラスタデータ26のデータサイズの合計値で除算することにより算出される。具体的には、例えばnページ目の画像が圧縮優先順位に従って画像30Y、画像30C、画像30M、画像30Kの順に圧縮処理される場合において、画像30Y、画像30C、画像30M、画像30Kの圧縮前のデータサイズをそれぞれD1y、D1c、D1m、D1kとする。そして、画像30Y、30Cの圧縮処理が終了した時点における画像30Y、30Cの圧縮後のデータ量をそれぞれD2y、D2cとすると、この時点では画像30M、30Kについては未圧縮なので、nページ目の圧縮率は、(D2y+D2c+D1m+D1k)/(D1y+D1c+D1m+D1k)で算出される。   In step S112, the data compression unit 18 calculates the compression rate of the nth page based on the result of the compression process of step S110, and outputs the calculated compression rate of the nth page to the requested compression rate calculation unit 16. The compression rate of the n-th page is the total value of the data size of the compressed data 28 after compression of the color compressed at this time, the total value of the data size of the raster data 26 of the uncompressed color at this time, Is divided by the total value of the data sizes of the raster data 26 of each color before compression. Specifically, for example, when the image of page n is subjected to compression processing in the order of image 30Y, image 30C, image 30M, and image 30K according to the compression priority order, before image 30Y, image 30C, image 30M, and image 30K are compressed. Are respectively D1y, D1c, D1m, and D1k. If the compressed data amounts of the images 30Y and 30C at the time when the compression processing of the images 30Y and 30C is finished are D2y and D2c, respectively, the images 30M and 30K are uncompressed at this time, so the nth page is compressed. The rate is calculated by (D2y + D2c + D1m + D1k) / (D1y + D1c + D1m + D1k).

ステップS114では、データ圧縮部18が、ステップS112で算出した圧縮率がステップS108で算出した要求圧縮率を達成しているか否か、すなわち、ステップS112で算出した圧縮率がステップS108で算出した要求圧縮率以下となったか否かを判定する。そして、ステップS114の判定が肯定判定だった場合はステップS118へ移行し、ステップS114の判定が否定判定だった場合はステップS116へ移行する。このように、無条件で全ての色成分のラスタデータ26を圧縮するのではなく、ステップS112で算出した圧縮率がステップS108で算出した要求圧縮率以下となった場合は、未圧縮の残りの色のラスタデータ26の圧縮処理をスキップする。   In step S114, the data compression unit 18 determines whether or not the compression ratio calculated in step S112 has achieved the requested compression ratio calculated in step S108, that is, the compression ratio calculated in step S112 is the request calculated in step S108. It is determined whether or not the compression rate is below. If the determination in step S114 is affirmative, the process proceeds to step S118. If the determination in step S114 is a negative determination, the process proceeds to step S116. As described above, if the raster data 26 of all the color components is not compressed unconditionally, but the compression rate calculated in step S112 is less than or equal to the required compression rate calculated in step S108, the remaining uncompressed remaining data The compression process of the color raster data 26 is skipped.

ステップS116では、データ圧縮部18が、全ての色のラスタデータについて圧縮処理が終了したか否かを判定し、肯定判定だった場合はステップS118へ移行する。一方、ステップS116の判定が否定判定だった場合は、ステップS110へ戻り、次に圧縮優先順位が高い色のラスタデータ26について上記と同様の処理を実行する。   In step S116, the data compression unit 18 determines whether or not the compression process has been completed for raster data of all colors. If the determination is affirmative, the process proceeds to step S118. On the other hand, if the determination in step S116 is negative, the process returns to step S110, and the same processing as described above is executed for the raster data 26 of the color having the next highest compression priority.

ステップS118では、データ圧縮部18が、全ページについて上記の圧縮処理が終了したか否かを判定し、肯定判定だった場合はステップS122へ移行し、否定判定だった場合はステップS120へ移行する。   In step S118, the data compression unit 18 determines whether or not the above-described compression processing has been completed for all pages. If the determination is affirmative, the process proceeds to step S122. If the determination is negative, the process proceeds to step S120. .

ステップS120では、データ圧縮部18が、nを1つインクリメントしてステップS106へ移行し、次ページについて上記と同様の処理を実行する。   In step S120, the data compression unit 18 increments n by one and proceeds to step S106, and executes the same processing as described above for the next page.

ステップS122では、データ圧縮部18が、ラスタデータ26を圧縮した色については圧縮データ28を、ラスタデータ26を非圧縮の色についてはラスタデータ26をそれぞれDRP制御部20へ出力する。また、データ圧縮部18は、ラスタデータ26を圧縮した色及びラスタデータ26を非圧縮の色に関する圧縮/非圧縮情報をDRP制御部20へ出力する。   In step S122, the data compression unit 18 outputs the compressed data 28 for the color obtained by compressing the raster data 26, and the raster data 26 for the color obtained by compressing the raster data 26 to the DRP control unit 20, respectively. In addition, the data compression unit 18 outputs compressed / uncompressed information regarding the color obtained by compressing the raster data 26 and the color obtained by compressing the raster data 26 to the DRP control unit 20.

ステップS124では、DRP制御部20が、データ圧縮部18から入力された圧縮データ28及びラスタデータ26の少なくとも一方を含むデータをDRP22へ出力する。この際、PDLデータ24が表す画像を記録媒体上に形成する際の処理順で圧縮データ28及びラスタデータ26がバス23に出力されるように制御する。また、DRP制御部20は、圧縮データ28に対しては伸張処理及び画像処理を実行し、非圧縮のラスタデータ26に対しては画像処理のみ実行するようにDRP22へ指示する。   In step S 124, the DRP control unit 20 outputs data including at least one of the compressed data 28 and the raster data 26 input from the data compression unit 18 to the DRP 22. At this time, control is performed so that the compressed data 28 and the raster data 26 are output to the bus 23 in the processing order when the image represented by the PDL data 24 is formed on the recording medium. In addition, the DRP control unit 20 instructs the DRP 22 to execute decompression processing and image processing on the compressed data 28 and to execute only image processing on the uncompressed raster data 26.

これにより、DRP22は、圧縮データ28については伸張処理を実行してから画像処理を実行し、非圧縮のラスタデータ26に対しては画像処理のみを実行し、画像処理後のデータを図示しない印刷装置に出力する。これにより、画像が紙等の記録媒体上に印刷される。   As a result, the DRP 22 executes the image processing after performing the decompression process on the compressed data 28, executes only the image process on the uncompressed raster data 26, and prints the image-processed data (not shown). Output to the device. Thereby, an image is printed on a recording medium such as paper.

このように、本実施形態では、無条件で全ての色のラスタデータ26を圧縮するのではなく、圧縮処理したページの圧縮率が、そのページの要求圧縮率以下となった場合は、残りの色のラスタデータ26の圧縮処理をスキップする。このため、ラスタデータ26が必要以上に圧縮されてしまい、DRP22において伸張処理に時間がかかりすぎることによってDRP制御部20からDRP22へデータ転送する際の実効転送速度が低下してしまうのが抑制される。   As described above, in the present embodiment, the raster data 26 of all colors is not compressed unconditionally, but when the compression rate of the compressed page is equal to or lower than the required compression rate of the page, the remaining The compression process of the color raster data 26 is skipped. For this reason, the raster data 26 is compressed more than necessary, and it is suppressed that the effective transfer rate when the data is transferred from the DRP control unit 20 to the DRP 22 due to the time required for the decompression process in the DRP 22 is reduced. The

なお、本実施形態では、CMYK4色の色成分毎に圧縮処理を行う場合について説明したが、PDLデータ24が表す画像にCMYK以外の特色成分が存在する場合は、特色成分のラスタデータを圧縮対象に含めても良い。また、各ピクセルの属性情報を有するタグデータが存在する場合は、タグデータを圧縮対象に含めても良い。   In the present embodiment, the case where compression processing is performed for each of the CMYK four color components has been described. However, if there is a spot color component other than CMYK in the image represented by the PDL data 24, the raster data of the spot color component is subject to compression. May be included. If tag data having attribute information of each pixel exists, the tag data may be included in the compression target.

(第2実施形態)   (Second Embodiment)

次に、本発明の第2実施形態について説明する。図4には、第2実施形態に係る画像処理装置40のブロック図を示した。なお、図1に示す画像処理装置10と同一部分には同一符号を付し、その詳細な説明は省略する。   Next, a second embodiment of the present invention will be described. FIG. 4 shows a block diagram of the image processing apparatus 40 according to the second embodiment. The same parts as those of the image processing apparatus 10 shown in FIG. 1 are denoted by the same reference numerals, and detailed description thereof is omitted.

図4に示すように、画像処理装置40は、図1の画像処理装置10と装置構成は同一であるが、ラスタ生成部14及びデータ圧縮部18の処理が異なる。   As shown in FIG. 4, the image processing apparatus 40 has the same device configuration as the image processing apparatus 10 of FIG. 1, but the processes of the raster generation unit 14 and the data compression unit 18 are different.

ラスタ生成部14は、データ入力部12から入力されたPDLデータ24を解釈し、PDLデータ24が表す画像をバンド毎(領域毎)に分割したビットマップデータであるバンドラスタデータ27を生成する。なお、PDLデータ24からバンドラスタデータ27を生成する際に、PDLデータ24が表す画像に含まれるオブジェクトに関するオブジェクト情報に基づいて、各バンドラスタデータ27に対して圧縮優先順位を設定する。そして、ラスタ生成部14は、設定した圧縮優先順位をデータ圧縮部18へ出力する。   The raster generation unit 14 interprets the PDL data 24 input from the data input unit 12 and generates band raster data 27 that is bitmap data obtained by dividing the image represented by the PDL data 24 for each band (for each region). Note that, when generating the band raster data 27 from the PDL data 24, a compression priority order is set for each band raster data 27 based on the object information regarding the object included in the image represented by the PDL data 24. Then, the raster generation unit 14 outputs the set compression priority order to the data compression unit 18.

データ圧縮部18は、圧縮対象のページに対して、要求圧縮率算出部16で算出された要求圧縮率を満たすまで、ラスタ生成部14で設定された圧縮優先順位に従って各バンドのバンドラスタデータ27の圧縮処理を順次実行し、バンド圧縮データ29を生成してDRP制御部20へ出力する。   The data compression unit 18 performs band raster data 27 of each band according to the compression priority set by the raster generation unit 14 until the requested compression rate calculated by the requested compression rate calculation unit 16 is satisfied for the page to be compressed. The band compression data 29 is generated and output to the DRP control unit 20.

次に、本実施形態の作用として、画像処理装置40によって実行される画像処理について説明する。図5に示す処理は、画像処理装置40によって実行される画像処理プログラムの処理の流れを示すフローチャートである。なお、図2の画像処理と同一の処理を実行するステップについては同一符号を付し、その詳細な説明は省略する。   Next, image processing executed by the image processing apparatus 40 will be described as an operation of the present embodiment. The processing shown in FIG. 5 is a flowchart showing the flow of processing of an image processing program executed by the image processing device 40. Note that steps for executing the same processing as the image processing in FIG. 2 are denoted by the same reference numerals, and detailed description thereof is omitted.

ステップS100〜S104は図2と同一であるので説明は省略する。   Steps S100 to S104 are the same as those in FIG.

ステップS106Aは、ラスタ生成部14が、PDLデータ24を解釈し、nページ目の画像を分割したバンド画像毎にバンドラスタデータ27を生成する。また、PDLデータ24を解釈する際に、PDLデータ24が表すnページ目の画像に含まれるオブジェクトの種類、特徴量、及びオブジェクトの種類毎に定めた係数から、圧縮優先順位を設定する。   In step S106A, the raster generation unit 14 interprets the PDL data 24 and generates band raster data 27 for each band image obtained by dividing the n-th page image. Further, when interpreting the PDL data 24, the compression priority is set based on the type of object included in the nth page image represented by the PDL data 24, the feature amount, and the coefficient determined for each type of object.

例えば、nページ目の画像が図6に示すような画像50であった場合について説明する。本実施形態では、例えば画像50の縦方向であるY方向に画像50を3分割し、バンド画像50−1〜50−3とする。なお、分割の方法は図6に示す方法に限られない。例えば、3分割に限らず、2分割以上の任意の分割数としてもよい。また、Y方向と直交するX方向に分割しても良い。また、分割領域がタイル状となるように、X方向及びY方向の両方向に分割してもよい。さらに、図6の例ではバンド画像50−1〜50−3のサイズが均等となるように分割しているが、バンドのサイズが不均等となるように分割してもよい。   For example, a case where the image on page n is an image 50 as shown in FIG. 6 will be described. In the present embodiment, for example, the image 50 is divided into three in the Y direction, which is the vertical direction of the image 50, to be band images 50-1 to 50-3. The dividing method is not limited to the method shown in FIG. For example, the number of divisions is not limited to three and may be an arbitrary number of divisions of two or more. Moreover, you may divide | segment into the X direction orthogonal to a Y direction. Moreover, you may divide | segment into both the X direction and the Y direction so that a division area may become tile shape. Furthermore, in the example of FIG. 6, the band images 50-1 to 50-3 are divided so that the sizes are uniform, but may be divided so that the sizes of the bands are not uniform.

図6に示すように、画像50は、オブジェクトの種類がイメージであるオブジェクト52A、52B、オブジェクトの種類がグラフィックスであるオブジェクト54を含む。オブジェクト52Aは、バンド画像50−1〜50−2に跨って配置されている。オブジェクト52Bは、バンド画像50−3内に配置されている。オブジェクト54は、バンド画像50−2〜50−3に跨って配置されている。   As shown in FIG. 6, an image 50 includes objects 52A and 52B whose object type is an image, and an object 54 whose object type is graphics. The object 52A is disposed across the band images 50-1 to 50-2. The object 52B is arranged in the band image 50-3. The object 54 is disposed across the band images 50-2 to 50-3.

この場合、第1実施形態と同様に、各オブジェクトを囲む矩形領域の面積を各オブジェクトの面積とする。そして、各バンド画像に含まれるイメージのオブジェクトの面積S1y、イメージのオブジェクトの係数をK1、画像に含まれるグラフィックスのオブジェクトの面積S2y、グラフィックスのオブジェクトの係数をK2として、次式により圧縮コストFyを算出する。なお、バンドに複数のイメージのオブジェクトが含まれる場合は、面積S1yは、複数のイメージのオブジェクトの面積を合算した値とする。面積S2yについても同様に、画像に複数のグラフィックスのオブジェクトが含まれる場合は、面積S2yは、複数のグラフィックスのオブジェクトの面積を合算した値とする。   In this case, as in the first embodiment, the area of the rectangular area surrounding each object is the area of each object. The compression cost is calculated by the following equation, where the area S1y of the image object included in each band image, the coefficient of the image object K1 is the area S2y of the graphic object included in the image, and the coefficient of the graphic object is K2. Fy is calculated. When a plurality of image objects are included in the band, the area S1y is a value obtained by adding the areas of the plurality of image objects. Similarly, in the case where the area S2y includes a plurality of graphics objects, the area S2y is a value obtained by adding the areas of the plurality of graphics objects.

Fy=S1y×K1+S2y×K2 ・・・(2) Fy = S1y × K1 + S2y × K2 (2)

ただし、yは各バンド画像を表す符号であり、図6の例では1〜3の何れかである。   However, y is a code | symbol showing each band image, and is either 1-3 in the example of FIG.

第1実施形態と同様に、圧縮コストFyは、圧縮処理に要する時間に相当し、圧縮コストFxが高いほど圧縮処理に要する時間が長くなり、伸張処理に要する時間も長くなる。すなわち、上記(2)式に示すように、バンド画像中に含まれるイメージやグラフィックスのオブジェクトの面積が大きいほど圧縮処理に要する時間が長く、圧縮率は低くなり、圧縮コストFyが高くなる。   Similar to the first embodiment, the compression cost Fy corresponds to the time required for the compression process. The higher the compression cost Fx, the longer the time required for the compression process and the longer the time required for the decompression process. That is, as shown in the above equation (2), the larger the area of the image or graphics object included in the band image, the longer the time required for the compression process, the lower the compression rate, and the higher the compression cost Fy.

従って、圧縮コストFyが低いほど圧縮優先順位を高く設定し、圧縮コストFyが高いほど圧縮優先順位を低く設定する。   Therefore, the compression priority is set higher as the compression cost Fy is lower, and the compression priority is set lower as the compression cost Fy is higher.

例えば図6の場合において、イメージのオブジェクトの係数K1が0.05、グラフィックスのオブジェクトの係数K2が0.01に設定されていた場合において、バンド画像50−1に含まれるオブジェクト52Aの面積S11が70万ピクセルだったとすると、バンド画像50−1の圧縮コストF1は、上記(2)式より3.5万となる。   For example, in the case of FIG. 6, when the coefficient K1 of the image object is set to 0.05 and the coefficient K2 of the graphics object is set to 0.01, the area S11 of the object 52A included in the band image 50-1. Is 700,000 pixels, the compression cost F1 of the band image 50-1 is 35,000 from the above equation (2).

また、バンド画像50−2に含まれるオブジェクト52Aの面積S12が30万ピクセル、バンド画像50−2に含まれるオブジェクト54の面積S22が60万ピクセルだったとすると、バンド画像50−2の圧縮コストF2は、上記(2)式より2.1万となる。   If the area S12 of the object 52A included in the band image 50-2 is 300,000 pixels and the area S22 of the object 54 included in the band image 50-2 is 600,000 pixels, the compression cost F2 of the band image 50-2 Is 21,000 from the above equation (2).

また、バンド画像50−3に含まれるオブジェクト52Bの面積S13が100万ピクセル、バンド画像50−3に含まれるオブジェクト54の面積S23が100万ピクセルだったとすると、バンド画像50−3の圧縮コストF3は、上記(2)式より6万となる。   If the area S13 of the object 52B included in the band image 50-3 is 1 million pixels and the area S23 of the object 54 included in the band image 50-3 is 1 million pixels, the compression cost F3 of the band image 50-3 is as follows. Is 60,000 from the above equation (2).

従って、各バンド画像の圧縮コストの大小関係は、F2<F1<F3となるため、圧縮優先順位は、圧縮コストの低い順、すなわちバンド画像50−2>バンド画像50−1>バンド画像50−3となる。   Therefore, since the magnitude relationship of the compression cost of each band image is F2 <F1 <F3, the compression priority is in the order of low compression cost, that is, band image 50-2> band image 50-1> band image 50-. 3

ステップS108は図2と同一であるので説明は省略する。   Step S108 is the same as that shown in FIG.

ステップS110Aでは、データ圧縮部18が、nページ目の未処理のバンド画像のうち、ステップS106Aで設定した優先順位の最も高いバンド画像のバンドラスタデータ27を選択して圧縮処理する。   In step S110A, the data compression unit 18 selects and compresses the band raster data 27 of the band image having the highest priority set in step S106A among the unprocessed band images of the nth page.

ステップS112〜S114は図2と同一であるので説明は省略する。このように、無条件で全てのバンド画像のバンドラスタデータ27を圧縮するのではなく、ステップS112で算出した圧縮率がステップS108で算出した要求圧縮率以下となった場合は、未圧縮の残りのバンド画像のバンドラスタデータ27の圧縮処理をスキップする。   Steps S112 to S114 are the same as those in FIG. In this way, if the band raster data 27 of all band images is not compressed unconditionally, but the compression rate calculated in step S112 is less than or equal to the required compression rate calculated in step S108, the uncompressed remaining The compression processing of the band raster data 27 of the band image is skipped.

ステップS116Aでは、データ圧縮部18が、全てのバンド画像のバンドラスタデータ27について圧縮処理が終了したか否かを判定し、肯定判定だった場合はステップS118へ移行する。一方、ステップS116Aの判定が否定判定だった場合は、ステップS110Aへ戻り、次に圧縮優先順位が高いバンド画像のバンドラスタデータ27について上記と同様の処理を実行する。   In step S116A, the data compression unit 18 determines whether or not the compression process has been completed for the band raster data 27 of all band images. If the determination is affirmative, the process proceeds to step S118. On the other hand, if the determination in step S116A is negative, the process returns to step S110A, and the same processing as described above is performed on the band raster data 27 of the band image having the next highest compression priority.

ステップS118〜S124は、「色」を「バンド画像」に読み替えた処理を実行するものであり、処理は図2と同一であるので説明は省略する。   Steps S118 to S124 execute processing in which “color” is replaced with “band image”, and the processing is the same as in FIG.

このように、本実施形態では、無条件で全てのバンド画像のバンドラスタデータ27を圧縮するのではなく、バンド画像毎に圧縮処理したページの圧縮率が、そのページの要求圧縮率以下となった場合は、未圧縮の残りのバンド画像のバンドラスタデータ27の圧縮処理をスキップする。このため、バンドラスタデータ27が必要以上に圧縮されてしまい、DRP22において伸張処理に時間がかかりすぎることによってDRP制御部20からDRP22へデータ転送する際の実効転送速度が低下してしまうのが抑制される。   As described above, in this embodiment, the band raster data 27 of all band images is not compressed unconditionally, but the compression rate of the page compressed for each band image is equal to or lower than the required compression rate of the page. If this is the case, the compression processing of the band raster data 27 of the remaining uncompressed band image is skipped. For this reason, it is suppressed that the band raster data 27 is compressed more than necessary, and the effective transfer rate at the time of data transfer from the DRP control unit 20 to the DRP 22 is reduced due to excessive time required for the decompression process in the DRP 22. Is done.

なお、本実施形態では、図6に示す画像50をY方向に均等分割する場合について説明したが、オブジェクト毎に分割するようにしてもよい。この場合、図6に示すように、オブジェクト52A、オブジェクト52B、オブジェクト、及びその他の領域に分割される。   In the present embodiment, the case where the image 50 illustrated in FIG. 6 is equally divided in the Y direction has been described. However, the image 50 may be divided for each object. In this case, as shown in FIG. 6, the object 52A, the object 52B, the object, and other areas are divided.

(第3実施形態)   (Third embodiment)

次に、本発明の第3実施形態について説明する。第3実施形態では、オブジェクトの種類毎に定めた係数を更新する形態について説明する。なお、本実施形態に係る画像処理装置は、第2実施形態で説明した画像処理装置40と同一であるので、詳細な説明は省略する。   Next, a third embodiment of the present invention will be described. In the third embodiment, a mode in which a coefficient determined for each type of object is updated will be described. Note that the image processing apparatus according to the present embodiment is the same as the image processing apparatus 40 described in the second embodiment, and thus detailed description thereof is omitted.

次に、本実施形態の作用として、画像処理装置40によって実行される画像処理について説明する。図7に示す処理は、画像処理装置40によって実行される画像処理プログラムの処理の流れを示すフローチャートである。なお、図7に示す画像処理が図5の画像処理と異なるのはステップS105が追加されている点であり、その他のステップは図5と同一であるので、同一符号を付して説明を省略する。   Next, image processing executed by the image processing apparatus 40 will be described as an operation of the present embodiment. The processing shown in FIG. 7 is a flowchart showing the flow of processing of an image processing program executed by the image processing device 40. Note that the image processing shown in FIG. 7 differs from the image processing shown in FIG. 5 in that step S105 is added, and the other steps are the same as those in FIG. To do.

ステップS105では、過去に圧縮したページの圧縮率に基づいて、オブジェクトの種類毎に定めた係数を更新する。   In step S105, the coefficient determined for each object type is updated based on the compression ratio of the page compressed in the past.

例えば、フォームは同一だが内容を変えて印刷するようなバリアブル印刷の場合、定型データであるフォームオブジェクトと、非定型データであるバリアブルオブジェクトと、に分けられる場合がある。フォームオブジェクトは繰り返し使用されるオブジェクトである可能性が高いため、過去にフォームオブジェクトを含むページを圧縮した際の圧縮率に基づいて、フォームオブジェクトの種類に対して設定された係数を更新する。これにより、圧縮優先順位が精度良く設定される。   For example, in the case of variable printing in which a form is the same but is printed with different contents, it may be divided into a form object that is standard data and a variable object that is non-standard data. Since the form object is likely to be an object that is repeatedly used, the coefficient set for the type of the form object is updated based on the compression ratio when the page including the form object is compressed in the past. Thereby, the compression priority is set with high accuracy.

本実施形態では、例えば図8に示すように、(n−1)ページ目の画像が図8に示すような画像60であった場合について説明する。本実施形態では、画像60を図8においてY方向に均等に分割し、それぞれバンド画像60−1〜60−3とする。   In the present embodiment, for example, as shown in FIG. 8, a case where the image of the (n-1) th page is an image 60 as shown in FIG. In the present embodiment, the image 60 is equally divided in the Y direction in FIG. 8 to be band images 60-1 to 60-3, respectively.

図8に示すように、画像60は、オブジェクトの種類がイメージであり且つ非定型データであるバリアブルオブジェクト62A、62B、オブジェクトの種類がグラフィックスであり且つ非定型データであるバリアブルオブジェクト64、オブジェクトの種類がグラフィックスであり且つ定型データであるフォームオブジェクト66を含む。フォームオブジェクト66は、バンド画像60−1〜60−2に跨って配置されている。また、バリアブルオブジェクト62Aはバンド画像60−1内に配置されており、バリアブルオブジェクト62Bはバンド画像60−3内に配置されており、バリアブルオブジェクト64は、バンド画像60−2内に配置されている。   As shown in FIG. 8, an image 60 includes variable objects 62A and 62B in which the object type is an image and atypical data, a variable object 64 in which the object type is graphics and atypical data, It includes a form object 66 whose type is graphics and fixed data. The form object 66 is disposed across the band images 60-1 to 60-2. The variable object 62A is arranged in the band image 60-1, the variable object 62B is arranged in the band image 60-3, and the variable object 64 is arranged in the band image 60-2. .

そして、第2実施形態と同様に、上記(2)式により各バンド画像の圧縮コストFyを算出する。   Then, similarly to the second embodiment, the compression cost Fy of each band image is calculated by the above equation (2).

例えば図8の場合において、イメージのオブジェクトの係数K1が0.05、グラフィックスのオブジェクトの係数K2が0.01に設定されていた場合において、バンド画像60−1に含まれるバリアブルオブジェクト62Aの面積が64万ピクセル、バンド画像60−1に含まれるフォームオブジェクト64の面積が225万ピクセルだったとすると、バンド画像60−1の圧縮コストF1は、上記(2)式より5.45万となる。   For example, in the case of FIG. 8, when the coefficient K1 of the image object is set to 0.05 and the coefficient K2 of the graphics object is set to 0.01, the area of the variable object 62A included in the band image 60-1 Is 640,000 pixels, and the area of the form object 64 included in the band image 60-1 is 2.25 million pixels, the compression cost F1 of the band image 60-1 is 54.50,000 according to the above equation (2).

また、バンド画像60−2に含まれるバリアブルオブジェクト64の面積が160万ピクセル、バンド画像60−2に含まれるフォームオブジェクト66の面積が375万ピクセルだったとすると、バンド画像60−2の圧縮コストF2は、上記(2)式より5.35万となる。   Also, assuming that the area of the variable object 64 included in the band image 60-2 is 1.6 million pixels and the area of the form object 66 included in the band image 60-2 is 3.75 million pixels, the compression cost F2 of the band image 60-2. Is 5350,000 from the above equation (2).

また、バンド画像60−3に含まれるオブジェクト62Bの面積が100万ピクセルだったとすると、バンド画像60−3の圧縮コストF3は、上記(2)式より5万となる。   If the area of the object 62B included in the band image 60-3 is 1 million pixels, the compression cost F3 of the band image 60-3 is 50,000 according to the above equation (2).

従って、(n−1)ページ目の各バンド画像の圧縮コストの大小関係は、F3<F2<F1となるため、(n−1)ページ目の圧縮優先順位は、圧縮コストの低い順、すなわちバンド画像60−3>バンド画像60−2>バンド画像60−1となる。   Therefore, since the compression relationship of the compression cost of each band image of the (n−1) page is F3 <F2 <F1, the compression priority of the (n−1) page is in order of decreasing compression cost, that is, Band image 60-3> band image 60-2> band image 60-1.

そして、(n−1)ページ目の画像については、バンド画像60−3、バンド画像60−2の順に圧縮し、バンド画像60−3については非圧縮であったとする。また、nページ目の画像も(n−1)ページ目の画像60と同一であったとする。この場合、以下のようにしてグラフィックスのオブジェクトのうちフォームオブジェクト66の係数を更新するための補正値を算出する。   The (n-1) -th page image is compressed in the order of the band image 60-3 and the band image 60-2, and the band image 60-3 is not compressed. It is also assumed that the image on the nth page is the same as the image 60 on the (n−1) th page. In this case, a correction value for updating the coefficient of the form object 66 among the graphics objects is calculated as follows.

まず、フォームオブジェクト66を含むバンド画像60−2全体の面積に対してフォームオブジェクト66の面積が占める割合xを算出する。   First, the ratio x of the area of the form object 66 to the entire area of the band image 60-2 including the form object 66 is calculated.

次に、図7のステップS106Aで算出した(n−1)ページ目のバンド画像60−3の圧縮コストF3に対するバンド画像60−2の圧縮コストF2の比y(=F2/F3)を算出する。なお、比yは、圧縮優先順位が高い方のバンド画像の圧縮コストを分母とする。   Next, a ratio y (= F2 / F3) of the compression cost F2 of the band image 60-2 to the compression cost F3 of the band image 60-3 of the (n-1) th page calculated in step S106A of FIG. 7 is calculated. . The ratio y uses the compression cost of the band image with the higher compression priority as the denominator.

次に、図7のステップS110Aで(n−1)ページ目について圧縮処理した際におけるバンド画像60−3の圧縮率A3に対するバンド画像60−2の圧縮率A2との比z(=A2/A3)を算出する。なお、比zは、圧縮優先順位が高い方のバンド画像の圧縮率を分母とする。そして、次式により補正値Mを算出する。   Next, the ratio z (= A2 / A3) of the compression rate A2 of the band image 60-2 to the compression rate A3 of the band image 60-3 when the (n-1) th page is compressed in step S110A of FIG. ) Is calculated. The ratio z uses the compression rate of the band image with the higher compression priority as the denominator. Then, the correction value M is calculated by the following equation.

M=1−(z−y)×x ・・・(3) M = 1− (z−y) × x (3)

そして、図7のステップS106Aでnページ目のフォームオブジェクト66を含むバンド画像60−2、60−3の圧縮コストF2、F3を算出する際は、フォームオブジェクト66の面積に乗算する係数K2に対しては補正値Mを乗算することにより、フォームオブジェクト66に対する係数K2を更新する。   When calculating the compression costs F2 and F3 of the band images 60-2 and 60-3 including the n-th form object 66 in step S106A of FIG. 7, the coefficient K2 to be multiplied by the area of the form object 66 is calculated. By multiplying the correction value M, the coefficient K2 for the form object 66 is updated.

例えば、フォームオブジェクト66を含むバンド画像60−2全体の面積に対してフォームオブジェクト66の面積が占める割合xが0.7、(n−1)ページ目のバンド画像60−3の圧縮コストF3に対するバンド画像60−2の圧縮コストF2の比yが1.07(=5.35万/5万)、(n−1)ページ目について圧縮処理した際におけるバンド画像60−3の圧縮率A3が0.28、バンド画像60−2の圧縮率A2が0.33だった場合(比z=F2/F3=0.85)、上記(3)式より、M=0.84となる。これにより、補正値Mによって補正された後の係数K2は、0.084となり、下方修正される。   For example, the ratio x of the area of the form object 66 to the entire area of the band image 60-2 including the form object 66 is 0.7, and the compression cost F3 of the band image 60-3 of the (n-1) th page. The ratio y of the compression cost F2 of the band image 60-2 is 1.07 (= 5350,000 / 50,000), and the compression rate A3 of the band image 60-3 when the compression processing is performed for the (n-1) th page. When the compression rate A2 of the band image 60-2 is 0.33 (ratio z = F2 / F3 = 0.85), M = 0.84 from the above equation (3). As a result, the coefficient K2 after being corrected by the correction value M becomes 0.084 and is corrected downward.

その結果、フォームオブジェクト66を含むバンド画像60−1の圧縮コストF1も下方修正されて「51006」となり、バンド画像60−2の圧縮コストF2は「47677」となる。また、バンド画像60−3はフォームオブジェクト66を含まないため、圧縮コストF3は5万のままである。従って、圧縮優先順位は、バンド画像60−2、バンド画像60−3、バンド画像60−1の順となる。すなわち、(n−1)ページ目の圧縮優先順位と比較すると、バンド画像60−2及びバンド画像60−3の圧縮優先順位が逆転している。これは、(n−1)頁目のバンド画像60−2及びバンド画像60−3の実際の圧縮処理の結果から、バンド画像60−2の圧縮コストの方がバンド画像60−3の圧縮コストよりも低いためである。   As a result, the compression cost F1 of the band image 60-1 including the form object 66 is also corrected downward to “51006”, and the compression cost F2 of the band image 60-2 is “47677”. Further, since the band image 60-3 does not include the form object 66, the compression cost F3 remains 50,000. Therefore, the compression priority order is band image 60-2, band image 60-3, and band image 60-1. That is, the compression priority order of the band image 60-2 and the band image 60-3 is reversed as compared with the compression priority order of the (n-1) th page. This is because the compression cost of the band image 60-2 is the compression cost of the band image 60-3 based on the result of the actual compression processing of the band image 60-2 and the band image 60-3 on page (n-1). It is because it is lower than.

このように、過去のバンド画像の圧縮結果からオブジェクトの種類毎に定めた係数を更新するので、圧縮優先順位が精度良く設定される。   In this way, since the coefficient determined for each type of object is updated from the compression result of the past band image, the compression priority is set with high accuracy.

なお、バンド画像60−1〜60−3の全てについて圧縮された場合は、例えば3つのバンド画像から選択した2つのバンド画像の全ての組み合わせについて補正値Mをそれぞれ算出し、これらの平均値を補正値Mとしてもよい。   When all of the band images 60-1 to 60-3 are compressed, for example, correction values M are calculated for all combinations of two band images selected from the three band images, and the average value thereof is calculated. The correction value M may be used.

また、補正値Mは、フォームオブジェクトが含まれるバンド画像を圧縮する毎に算出して上書きしてもよい。   The correction value M may be calculated and overwritten every time a band image including a form object is compressed.

以上、実施の形態を説明したが、本発明の技術的範囲は上記実施の形態に記載の範囲には限定されない。発明の要旨を逸脱しない範囲で上記実施の形態に多様な変更又は改良を加えることができ、該変更又は改良を加えた形態も本発明の技術的範囲に含まれる。   Although the embodiment has been described above, the technical scope of the present invention is not limited to the scope described in the embodiment. Various changes or improvements can be added to the above-described embodiment without departing from the gist of the invention, and embodiments to which the changes or improvements are added are also included in the technical scope of the present invention.

例えば、上記実施形態では、ラスタデータ26を色成分毎又はバンド画像毎に分割する場合について説明したが、ラスタデータ26から中間データを生成し、生成した中間データを色成分毎及びバンド画像毎に分割するようにしてもよい。ここで、中間データは、PDLで記述された印刷データから直接ビットマップデータを生成する場合と比較して、短い処理時間でビットマップデータが生成されるフォーマットのデータである。   For example, in the above embodiment, the case where the raster data 26 is divided for each color component or each band image has been described. However, intermediate data is generated from the raster data 26, and the generated intermediate data is generated for each color component and each band image. You may make it divide | segment. Here, the intermediate data is data in a format in which bitmap data is generated in a shorter processing time compared to the case where bitmap data is directly generated from print data described in PDL.

また、上記実施形態では、オブジェクトの特徴量としてオブジェクトの面積を用いて圧縮優先順位を設定する場合について説明したが、これに限らず、オブジェクトの特徴量として中間データのデータ量を用いて圧縮優先順位を設定してもよい。   In the above-described embodiment, the case where the compression priority is set using the area of the object as the feature amount of the object has been described. However, the present invention is not limited to this, and compression priority is given using the data amount of the intermediate data as the feature amount of the object. A ranking may be set.

また、上記実施形態では、圧縮度合いの一例として圧縮率を用いた場合について説明したが、これに限らず、圧縮比、圧縮前のデータと圧縮後のデータとの差分等、他の圧縮度合いを表すものを用いても良い。   Moreover, although the said embodiment demonstrated the case where a compression rate was used as an example of a compression degree, it is not restricted to this, Other compression degrees, such as a compression ratio and the difference of the data before compression, and the data after compression, are shown. You may use what you represent.

また、上記実施形態では、DRP22が1つの場合について説明したが、DRP22を複数設けてもよい。   Moreover, although the said embodiment demonstrated the case where there was one DRP22, you may provide multiple DRP22.

また、上記実施形態では、画像処理プログラムがROMに予めインストールされている場合について説明したが、本発明はこれに限定されるものではない。例えば、画像処理プログラムが、CD−ROM(Compact Disk Read Only Memory)等の記憶媒体に格納されて提供される形態、又はネットワークを介して提供される形態としてもよい。   In the above embodiment, the case where the image processing program is preinstalled in the ROM has been described. However, the present invention is not limited to this. For example, the image processing program may be provided by being stored in a storage medium such as a CD-ROM (Compact Disk Read Only Memory) or provided via a network.

その他、上記実施の形態で説明した画像処理装置10、40の構成(図1、図4参照)は一例であり、本発明の主旨を逸脱しない範囲内において不要な部分を削除したり、新たな部分を追加したりしてもよいことは言うまでもない。   In addition, the configuration of the image processing apparatuses 10 and 40 described in the above embodiment (see FIGS. 1 and 4) is merely an example, and unnecessary portions may be deleted or newly added without departing from the gist of the present invention. Needless to say, you can add parts.

また、上記実施の形態で説明した画像処理プログラムの処理の流れ(図2、5、7参照)も一例であり、本発明の主旨を逸脱しない範囲内において不要なステップを削除したり、新たなステップを追加したり、処理順序を入れ替えたりしてもよいことは言うまでもない。   The processing flow of the image processing program described in the above embodiment (see FIGS. 2, 5, and 7) is also an example, and unnecessary steps can be deleted or new ones can be used without departing from the gist of the present invention. It goes without saying that steps may be added or the processing order may be changed.

10、40 画像処理装置
12 データ入力部
14 ラスタ生成部
16 要求圧縮率算出部
18 データ圧縮部
20 DRP制御部
23 バス
24 PDLデータ
26 ラスタデータ
27 バンドラスタデータ
28 圧縮データ
29 バンド圧縮データ
30C、30K、30M、30Y、50 画像
32C、32K、32M、32C、36K、52A、52B、54 オブジェクト
34C 矩形領域
50−1〜50−3 バンド画像
DESCRIPTION OF SYMBOLS 10, 40 Image processing apparatus 12 Data input part 14 Raster generation part 16 Request compression ratio calculation part 18 Data compression part 20 DRP control part 23 Bus 24 PDL data 26 Raster data 27 Band raster data 28 Compression data 29 Band compression data 30C, 30K , 30M, 30Y, 50 Images 32C, 32K, 32M, 32C, 36K, 52A, 52B, 54 Object 34C Rectangular area 50-1 to 50-3 Band image

Claims (9)

画像形成データが表す画像を複数の分割単位に分割する分割手段と、
前記複数の分割単位の分割データの圧縮度合いが要求圧縮度合いを達成するまで、圧縮優先順位が高い順に前記分割データを圧縮する圧縮手段と、
を備え
前記分割手段は、前記画像に含まれる複数のページ画像毎に、複数の分割単位の分割データに分割し、
前記圧縮手段は、前記ページ画像毎に、前記複数の分割単位の分割データの圧縮度合いが、前記圧縮手段により圧縮された圧縮データを転送する通信回線の第1の転送速度と、前記画像形成データが表す画像を記録媒体上に形成する際の画像形成条件から算出した第2の転送速度と、から算出した基準要求圧縮度合いと、過去に圧縮した前記ページ画像の圧縮度合いと、から算出した前記ページ画像の要求圧縮度合いを達成するまで、圧縮優先順位が高い順に前記分割データを圧縮する
画像処理装置。
Dividing means for dividing the image represented by the image formation data into a plurality of division units;
Compression means for compressing the divided data in descending order of compression priority until the compression degree of the divided data of the plurality of division units achieves the required compression degree;
Equipped with a,
The dividing unit divides the data into a plurality of divided data for each of a plurality of page images included in the image,
For each page image, the compression unit includes a first transfer rate of a communication line for transferring the compressed data compressed by the compression unit, and a compression rate of the divided data of the plurality of division units. Calculated from the second transfer speed calculated from the image forming conditions when forming the image represented on the recording medium, the reference required compression degree calculated from the above, and the compression degree of the page image compressed in the past An image processing apparatus that compresses the divided data in descending order of compression priority until the required compression level of a page image is achieved .
前記複数の分割単位の分割データの各々について、前記分割データが表す画像に含まれる画像要素の特徴を表す特徴量から算出した圧縮コストから、前記圧縮優先順位を設定する設定手段
を備えた請求項1記載の画像処理装置。
The setting means for setting the compression priority for each of the divided data of the plurality of division units, based on a compression cost calculated from a feature amount representing a feature of an image element included in an image represented by the divided data. The image processing apparatus according to 1.
前記特徴量は、前記分割データが表す画像に含まれる前記画像要素が描画される領域の面積又は前記画像要素のデータ量である
請求項2記載の画像処理装置。
The image processing apparatus according to claim 2, wherein the feature amount is an area of a region where the image element included in the image represented by the divided data is drawn or a data amount of the image element.
前記設定手段は、前記特徴量及び前記画像要素の種類毎に定めた係数から、前記圧縮コストを算出する
請求項2又は請求項3記載の画像処理装置。
The image processing apparatus according to claim 2, wherein the setting unit calculates the compression cost from a coefficient determined for each type of the feature amount and the image element.
前記設定手段は、前記画像要素を含む前記分割データを過去に圧縮した際の圧縮度合いから前記係数を更新する
請求項4記載の画像処理装置。
The image processing apparatus according to claim 4, wherein the setting unit updates the coefficient based on a degree of compression when the divided data including the image element is compressed in the past.
前記分割データは、前記画像形成データが表す画像を色成分毎に分割したデータ、前記画像形成データが表す画像を領域毎に分割したデータ、及び前記画像形成データが表す画像を画像要素毎に分割したデータの何れかである
請求項1〜5の何れか1項に記載の画像処理装置。
The divided data includes data obtained by dividing the image represented by the image formation data for each color component, data obtained by dividing the image represented by the image formation data for each area, and the image represented by the image formation data for each image element. The image processing apparatus according to any one of claims 1 to 5, wherein the image processing apparatus is any one of the processed data.
前記分割データを圧縮した圧縮データ及び前記分割データを非圧縮の非圧縮データが、前記画像形成データが表す画像を記録媒体上に形成する際の処理順で前記圧縮データ及び前記非圧縮データが通信回線に出力されるように制御する制御手段
を備えた請求項1〜の何れか1項に記載の画像処理装置。
Compressed data obtained by compressing the divided data and non-compressed non-compressed data of the divided data are communicated between the compressed data and the non-compressed data in the order of processing when the image represented by the image formation data is formed on a recording medium The image processing apparatus according to any one of claims 1 to 6 , further comprising a control unit that performs control so that the signal is output to a line.
前記圧縮手段は、可逆圧縮により前記分割データを圧縮する
請求項1〜の何れか1項に記載の画像処理装置。
It said compression means, the image processing apparatus according to any one of claim 1 to 7, compressing the divided data by the lossless compression.
コンピュータを、請求項1〜の何れか1項に記載の画像処理装置の各手段として機能させるための画像処理プログラム。 The image processing program for a computer to function as each means of the image processing apparatus according to any one of claims 1-8.
JP2015173627A 2015-09-03 2015-09-03 Image processing apparatus and image processing program Expired - Fee Related JP6613732B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015173627A JP6613732B2 (en) 2015-09-03 2015-09-03 Image processing apparatus and image processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015173627A JP6613732B2 (en) 2015-09-03 2015-09-03 Image processing apparatus and image processing program

Publications (2)

Publication Number Publication Date
JP2017050756A JP2017050756A (en) 2017-03-09
JP6613732B2 true JP6613732B2 (en) 2019-12-04

Family

ID=58279668

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015173627A Expired - Fee Related JP6613732B2 (en) 2015-09-03 2015-09-03 Image processing apparatus and image processing program

Country Status (1)

Country Link
JP (1) JP6613732B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101799887B1 (en) * 2017-05-15 2017-11-22 한화시스템(주) Method and apparatus of compressing and transmitting video data using priority-based picture partitioning
DE102018221920A1 (en) * 2018-12-17 2020-06-18 Robert Bosch Gmbh Content-adaptive lossy compression of measurement data

Also Published As

Publication number Publication date
JP2017050756A (en) 2017-03-09

Similar Documents

Publication Publication Date Title
JP6029344B2 (en) Image processing apparatus, image processing method, and program
US7697168B2 (en) Image processing apparatus and method for generating bitmap data and attribute information from a raster data
JP4458176B2 (en) Printing control apparatus, printing apparatus, and program
JP6041614B2 (en) Image forming apparatus and image forming method
US9519443B2 (en) Print data flattening processing of spot color components with any hidden spot color portion removed
JP6201799B2 (en) Image processing apparatus and program
US20090092331A1 (en) Compression method, extension method and image processing apparatus
JP4793185B2 (en) Image processing apparatus and program
US9158485B2 (en) Image processing device that performs image processing for variable printing and host data generating device
JP5212886B2 (en) Image forming system and image forming program
JP6613732B2 (en) Image processing apparatus and image processing program
JP5020998B2 (en) Image processing apparatus and image processing method
JP2017024321A (en) Image processor, image formation device, and image processing time prediction method and program
JP5842590B2 (en) Image processing apparatus and control program for image processing apparatus
JP7102955B2 (en) Information processing equipment and programs
JP6349765B2 (en) Image processing apparatus and program
JP6741463B2 (en) Image processing apparatus, image processing method, and program
JP6575216B2 (en) Image processing apparatus, image forming apparatus, and image processing program
JP4900529B1 (en) Image processing apparatus and program
JP4706884B2 (en) Image processing apparatus, image processing program, and printing apparatus
WO2010037262A1 (en) Dot array page compressing method and apparatus
JP6914027B2 (en) Image forming device, image forming method
JPH09218763A (en) Printing processing system
JP3612899B2 (en) Print processing device
JP2010211559A (en) Image processor, image processing method, and computer program for image processing

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180717

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190328

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190416

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190527

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20191008

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20191021

R150 Certificate of patent or registration of utility model

Ref document number: 6613732

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees