JP2009296590A - Image processing device and image processing method - Google Patents

Image processing device and image processing method Download PDF

Info

Publication number
JP2009296590A
JP2009296590A JP2009135235A JP2009135235A JP2009296590A JP 2009296590 A JP2009296590 A JP 2009296590A JP 2009135235 A JP2009135235 A JP 2009135235A JP 2009135235 A JP2009135235 A JP 2009135235A JP 2009296590 A JP2009296590 A JP 2009296590A
Authority
JP
Japan
Prior art keywords
image
display list
unit
compression
image data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2009135235A
Other languages
Japanese (ja)
Other versions
JP5020998B2 (en
Inventor
Takahiro Hagiwara
隆裕 萩原
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.)
Toshiba Corp
Toshiba TEC Corp
Original Assignee
Toshiba Corp
Toshiba TEC 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 Toshiba Corp, Toshiba TEC Corp filed Critical Toshiba Corp
Publication of JP2009296590A publication Critical patent/JP2009296590A/en
Application granted granted Critical
Publication of JP5020998B2 publication Critical patent/JP5020998B2/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 device and an image processing method reducing data size and allowing to output a high quality image. <P>SOLUTION: The image processing device 1 generates a display list based on an input PDL, calculates a data size when the display list is reversibly compressed and compares the calculated data size with a threshold stored in advance in a storage section 16. The device selects a plane for depicting the display list generated based on a comparison result from first and second image data planes. A reversibly compressing section 14 reversibly compresses an image depicted on the first image data plane. An irreversibly compressing section 14 irreversibly compresses an image depicted on the second image data plane. The device generates and outputs a printed image based on the reversibly and irreversibly compressed images. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、例えばディジタル複合機などの画像処理装置、及び画像処理方法に関する。   The present invention relates to an image processing apparatus such as a digital multifunction peripheral and an image processing method.

従来、画像処理装置は、印刷データであるページ記述言語(PDL)に基づいてラスタライズ(RIP処理)を行う。画像処理装置は、RIP処理を行うことにより、印刷画像を形成する。画像処理装置がRIP処理により形成する印刷画像は、高解像度であり、且つ、大容量のデータである。画像処理装置は、例えば、ソート印刷などにおいて大容量のデータを用いる場合、処理に時間がかかるなどの問題がある。そこで、従来、印刷画像を圧縮し、ハードディスクドライブ(HDD)などの補助記憶装置に格納する方法が用いられている。   Conventionally, an image processing apparatus performs rasterization (RIP processing) based on a page description language (PDL) that is print data. The image processing apparatus forms a print image by performing RIP processing. The print image formed by the image processing apparatus by the RIP process has high resolution and a large amount of data. For example, when using a large amount of data in sort printing or the like, the image processing apparatus has a problem that processing takes time. Therefore, conventionally, a method of compressing a print image and storing it in an auxiliary storage device such as a hard disk drive (HDD) is used.

PDLに含まれる印刷データは、圧縮する場合に画質の劣化の大きい文字、及び図形などの要素の印刷を指示するための描画オペレータと、圧縮する場合に画質の劣化が小さいイメージデータなどのサンプリング要素の印刷を指示するための描画オペレータとを含む。   The print data included in the PDL includes a drawing operator for instructing printing of elements such as characters and figures having a large image quality deterioration when compressed, and sampling elements such as image data having a small image quality deterioration when compressed. A drawing operator for instructing the printing of the image.

例えば、特許文献1に記載されている画像形成システムは、予め異なる方式による複数の圧縮処理部を備える。画像形成システムは、PDLの描画オペレータの種別を判別する。画像形成システムは、文字・図形要素の描画オペレータに基づいて生成した画像に対して、高解像度・低階調の圧縮処理を施す。また、画像形成システムは、サンプリング要素の描画オペレータに基づいて生成した画像に対して、低解像度・高階調の圧縮処理を施す。これにより、画像形成システムは、印刷画像のデータサイズを抑え、且つ、エッジ部の滑らかな文字及び図形などを出力する事ができる。   For example, the image forming system described in Patent Document 1 includes a plurality of compression processing units using different methods in advance. The image forming system determines the type of the PDL drawing operator. The image forming system performs high-resolution and low-gradation compression processing on an image generated based on a character / graphic element drawing operator. In addition, the image forming system performs low resolution / high gradation compression processing on an image generated based on a sampling element drawing operator. As a result, the image forming system can suppress the data size of the print image and output smooth characters and graphics at the edge portion.

しかし、上記の画像形成システムは、PDLの描画オペレータ種別により圧縮方式を固定する。この為、印刷データによっては、圧縮率の低下、または画質の劣化が生じる可能性がある。例えば、イメージデータ中に文字又は図形などが入っている場合、画像形成システムは、劣化した文字又は図形などを出力するという問題がある。   However, the above-described image forming system fixes the compression method according to the PDL drawing operator type. For this reason, depending on the print data, there is a possibility that the compression rate is lowered or the image quality is deteriorated. For example, when characters or graphics are included in the image data, there is a problem that the image forming system outputs degraded characters or graphics.

そこで、本発明は、データサイズを抑え、且つ、高画質の画像を出力することができる画像処理装置、及び画像処理方法を提供することを目的とする。   SUMMARY An advantage of some aspects of the invention is that it provides an image processing apparatus and an image processing method capable of suppressing a data size and outputting a high-quality image.

本発明の一実施形態としての画像処理装置は、PDLが入力される入力部と、前記入力部に入力されるPDLに基づいてディスプレイリストを生成するディスプレイリスト生成部と、前記ディスプレイリスト生成部により生成されるディスプレイリストを描画するための第1の画像データプレーンと、前記ディスプレイリスト生成部により生成されるディスプレイリストを描画するための第2の画像データプレーンと、前記ディスプレイリスト生成部により生成されるディスプレイリストに可逆圧縮を施した場合のデータサイズを算出するデータサイズ算出部と、閾値を予め記憶する記憶部と、前記データサイズ算出部により算出したデータサイズと前記記憶部に記憶される閾値とを比較する比較部と、前記比較部の比較結果に基づいて前記ディスプレイリスト生成部により生成されるディスプレイリストを前記第1の画像データプレーンと前記第2の画像データプレーンとのどちらに描画するかを選択する選択部と、前記第1の画像データプレーンに描画される画像に対して可逆圧縮を行う可逆圧縮部と、前記第2の画像データプレーンに描画される画像に対して非可逆圧縮を行う非可逆圧縮部と、前記可逆圧縮部により圧縮した画像及び前記非可逆圧縮部により圧縮した画像に基づいて印刷画像を生成する印刷画像生成部と、前記印刷画像生成部により生成した印刷画像を出力する出力部と、を具備する。   An image processing apparatus according to an embodiment of the present invention includes an input unit to which a PDL is input, a display list generation unit that generates a display list based on the PDL input to the input unit, and the display list generation unit. A first image data plane for drawing the generated display list, a second image data plane for drawing the display list generated by the display list generation unit, and the display list generation unit A data size calculation unit for calculating a data size when the display list is subjected to lossless compression, a storage unit for storing a threshold value in advance, a data size calculated by the data size calculation unit, and a threshold value stored in the storage unit And a comparison unit for comparing the comparison unit and the comparison unit based on the comparison result A selection unit for selecting whether to display the display list generated by the display list generation unit on the first image data plane or the second image data plane; and a display list generated on the first image data plane A reversible compression unit that performs reversible compression on the image to be imaged, an irreversible compression unit that performs irreversible compression on an image drawn on the second image data plane, the image compressed by the reversible compression unit, and the A print image generation unit that generates a print image based on the image compressed by the lossy compression unit; and an output unit that outputs the print image generated by the print image generation unit.

また、本発明の一実施形態としての画像処理方法は、入力されるPDLに基づいてディスプレイリストを生成し、前記生成されるディスプレイリストに可逆圧縮を施した場合のデータサイズを算出し、前記算出したデータサイズと予め記憶される閾値とを比較し、前記比較の結果に基づいて前記生成したディスプレイリストを描画するプレーンを第1の画像データプレーンと第2の画像データプレーンとで選択し、前記第1の画像データプレーンに描画される画像に対して可逆圧縮を行い、前記第2の画像データプレーンに描画される画像に対して非可逆圧縮を行い、可逆圧縮により圧縮した画像と非可逆圧縮により圧縮した画像とに基づいて印刷画像を生成し、前記生成した印刷画像を出力する。   The image processing method according to an embodiment of the present invention generates a display list based on input PDL, calculates a data size when the generated display list is subjected to lossless compression, and calculates the calculation Comparing the data size and the threshold value stored in advance, and selecting a plane for drawing the generated display list based on the comparison result between the first image data plane and the second image data plane, An image rendered on the first image data plane is subjected to lossless compression, an image rendered on the second image data plane is subjected to irreversible compression, and the image compressed by the lossless compression is irreversibly compressed. A print image is generated on the basis of the compressed image and the generated print image is output.

この発明の一形態によれば、データサイズを抑え、且つ、高画質の画像を出力することができる画像処理装置、及び画像処理方法を提供することができる。   According to one embodiment of the present invention, it is possible to provide an image processing apparatus and an image processing method capable of suppressing the data size and outputting a high-quality image.

図1は、本発明の一実施形態に係るプリンタコントローラの構成について説明するためのブロック図である。FIG. 1 is a block diagram for explaining a configuration of a printer controller according to an embodiment of the present invention. 図2は、図1に示すRAMの構成について説明するためのブロック図である。FIG. 2 is a block diagram for explaining the configuration of the RAM shown in FIG. 図3は、PDLの構成の一例について説明するための説明図である。FIG. 3 is an explanatory diagram for explaining an example of the configuration of the PDL. 図4は、プリンタコントローラの動作について説明するための概念図である。FIG. 4 is a conceptual diagram for explaining the operation of the printer controller. 図5は、プリンタコントローラの動作について説明するためのフローチャートである。FIG. 5 is a flowchart for explaining the operation of the printer controller.

以下、図面を参照しながら、本発明の一実施形態に係るについて詳細に説明する。   Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.

図1は、本発明の一実施形態に係るプリンタコントローラ1の構成例について説明するためのブロック図である。
プリンタコントローラ1は、画像処理装置として機能する。プリンタコントローラは、ホストコンピュータ3から受信するPDLに基づいて印刷画像を生成し、プリンタエンジン2に出力する。
FIG. 1 is a block diagram for explaining a configuration example of a printer controller 1 according to an embodiment of the present invention.
The printer controller 1 functions as an image processing apparatus. The printer controller generates a print image based on the PDL received from the host computer 3 and outputs it to the printer engine 2.

プリンタエンジン2は、画像を印刷する為の画像形成部を備えている。画像形成部は、プリンタコントローラ1から受信する印刷画像に基づいて用紙に画像を印刷する。   The printer engine 2 includes an image forming unit for printing an image. The image forming unit prints an image on a sheet based on the print image received from the printer controller 1.

ホストコンピュータ3は、例えば、Postscript(登録商標)などを用いてPDLを生成する。Postscriptにより生成されるPDLは、show(文字描画用)、fill(領域塗りつぶし用)、stroke(線画描画用)、及びimagemask(2値マスク描画用)などの文字・図形要素の描画オペレータと、image(矩形型の配列で表されるサンプリングイメージ要素の描画用)などのサンプリング要素の描画オペレータとを含む。   The host computer 3 generates a PDL using, for example, Postscript (registered trademark). The PDL generated by Postscript includes character / graphic element drawing operators such as “show” (for character drawing), “fill” (for area filling), “stroke” (for line drawing drawing), and “imagemask” (for binary mask drawing). And a sampling element drawing operator (for drawing sampling image elements represented by a rectangular array).

プリンタコントローラ1は、CPU11、ネットワークI/F12、RIP処理部13、圧縮解凍処理部14、プリンタI/F15、ROM16、RAM17、及びHDDなどを備える。   The printer controller 1 includes a CPU 11, a network I / F 12, a RIP processing unit 13, a compression / decompression processing unit 14, a printer I / F 15, a ROM 16, a RAM 17, and an HDD.

CPU11は、プリンタコントローラ1の全体の制御を司る制御部として機能する。CPU11は、ROM16あるいはHDD18に記憶される制御プログラム及び制御データに基づいて種々の処理を行う。   The CPU 11 functions as a control unit that controls the entire printer controller 1. The CPU 11 performs various processes based on the control program and control data stored in the ROM 16 or the HDD 18.

ネットワークI/F12は、LAN、または公衆回線と接続するためのインターフェースである。ネットワークI/F12は、ホストコンピュータ3からPDLが入力される入力部として機能する。   The network I / F 12 is an interface for connecting to a LAN or a public line. The network I / F 12 functions as an input unit to which PDL is input from the host computer 3.

RIP処理部13は、Raster Image Processing(RIP)を行う演算処理部である。即ち、RIP処理部13は、PDLの各描画オペレータに基づいて、所定の解像度の画像(ラスタ画像)を生成する。   The RIP processing unit 13 is an arithmetic processing unit that performs Raster Image Processing (RIP). That is, the RIP processing unit 13 generates an image (raster image) with a predetermined resolution based on each PDL drawing operator.

圧縮解凍処理部14は、画像の圧縮及び解凍を行う。圧縮解凍処理部14は、異なる複数種類の圧縮方式により圧縮及び解凍を行う事ができる。例えば、圧縮解凍処理部14は、可逆圧縮法であるLZW法、または、非可逆圧縮法であるJPEG法などにより、データの圧縮及び解凍を行う。   The compression / decompression processing unit 14 compresses and decompresses images. The compression / decompression processing unit 14 can perform compression and decompression using a plurality of different compression methods. For example, the compression / decompression processing unit 14 compresses and decompresses data by the LZW method, which is a lossless compression method, or the JPEG method, which is a lossy compression method.

プリンタI/F15は、プリンタエンジン2と通信を行う為のインターフェースである。プリンタコントローラ1は、プリンタI/Fにより、プリンタエンジン2に対して印刷画像を出力する出力部として機能する。   The printer I / F 15 is an interface for communicating with the printer engine 2. The printer controller 1 functions as an output unit that outputs a print image to the printer engine 2 by the printer I / F.

ROM16は、プリンタコントローラ1のシステムの起動に必要なブートプログム、及びCPU11が実行するプログラムなどを記憶する。また、ROM16は、CPU11により実行されるプログラムに用いられるデータを記憶する。ROM16は、製造段階でプログラム及びデータを記憶する。即ち、ROM16は、予めプリンタコントローラ1の仕様に応じたプログラム及びデータを記憶する。   The ROM 16 stores a boot program necessary for starting up the system of the printer controller 1, a program executed by the CPU 11, and the like. The ROM 16 stores data used for a program executed by the CPU 11. The ROM 16 stores programs and data at the manufacturing stage. That is, the ROM 16 stores a program and data according to the specifications of the printer controller 1 in advance.

RAM17は、ワーキングメモリとして機能する揮発性のメモリである。RAM17は、CPU11の作業領域として機能する。即ち、RAM17は、CPU11により処理されるプログラム及びデータを一時的に格納する。   The RAM 17 is a volatile memory that functions as a working memory. The RAM 17 functions as a work area for the CPU 11. That is, the RAM 17 temporarily stores programs and data processed by the CPU 11.

HDD18は、各種のプログラム及びデータを格納する。また、HDD18は、ホストコンピュータ3から受信するPDLを一時的に格納する。またさらに、HDD18は、圧縮解凍処理部14により圧縮された印刷画像を一時的に格納する。   The HDD 18 stores various programs and data. The HDD 18 temporarily stores PDL received from the host computer 3. Furthermore, the HDD 18 temporarily stores the print image compressed by the compression / decompression processing unit 14.

CPU11は、RIP処理部13により、受信するPDLの描画オペレータ毎にRIP処理を行い、ラスタ画像を生成する。この場合、RIP処理部13は、可逆圧縮を行うラスタ画像(第1のラスタ画像)と、非可逆圧縮を行うラスタ画像(第2のラスタ画像)とを分けて生成する。さらに、RIP処理部13は、生成した各ラスタ画像を合成する場合、どちらのラスタ画像を可視化するかを決定するためのレイヤー情報を生成する。   The CPU 11 causes the RIP processing unit 13 to perform RIP processing for each received PDL drawing operator to generate a raster image. In this case, the RIP processing unit 13 generates a raster image (first raster image) for performing lossless compression and a raster image (second raster image) for performing lossy compression separately. Further, when the generated raster images are combined, the RIP processing unit 13 generates layer information for determining which raster image is to be visualized.

RIP処理部13により生成される第1及び第2のラスタ画像は、解像度が1200dpiであり、8bitのデータである。   The first and second raster images generated by the RIP processing unit 13 have a resolution of 1200 dpi and are 8-bit data.

レイヤー情報は、RIP処理部13により生成される2種のラスタ画像の上下関係を画素毎に示す情報である。レイヤー情報は、例えば、解像度が1200dpiであり、画素毎に2bitのデータを有するデータである。   The layer information is information indicating the vertical relationship between the two types of raster images generated by the RIP processing unit 13 for each pixel. The layer information is, for example, data having a resolution of 1200 dpi and 2 bits of data for each pixel.

図2は、図1に示すRAM17の構成について説明するためのブロック図である。
RAM17は、第1の画像データプレーン171、第2の画像データプレーン172、及び、レイヤー情報プレーン173を備えている。
FIG. 2 is a block diagram for explaining the configuration of the RAM 17 shown in FIG.
The RAM 17 includes a first image data plane 171, a second image data plane 172, and a layer information plane 173.

第1の画像データプレーン171は、RIP処理部13により生成される第1のラスタ画像を記憶する記憶領域である。第2の画像データプレーン172は、RIP処理部13により生成される第2のラスタ画像を記憶する記憶領域である。レイヤー情報プレーン173は、RIP処理部13により生成されるレイヤー情報を記憶する記憶領域である。   The first image data plane 171 is a storage area for storing a first raster image generated by the RIP processing unit 13. The second image data plane 172 is a storage area for storing the second raster image generated by the RIP processing unit 13. The layer information plane 173 is a storage area for storing layer information generated by the RIP processing unit 13.

圧縮解凍処理部14は、第1の画像データプレーン171に格納されるラスタ画像に対して、可逆圧縮方式により圧縮処理を行う。また、圧縮解凍処理部14は、第2の画像データプレーン172に格納されるラスタ画像に対して、非可逆圧縮方式により圧縮処理を行う。さらに、圧縮解凍処理部14は、レイヤー情報プレーン173に格納されるデータに対して、可逆圧縮方式により圧縮処理を行う。   The compression / decompression processing unit 14 performs compression processing on the raster image stored in the first image data plane 171 by a lossless compression method. In addition, the compression / decompression processing unit 14 performs compression processing on the raster image stored in the second image data plane 172 by an irreversible compression method. Further, the compression / decompression processing unit 14 performs compression processing on the data stored in the layer information plane 173 by a lossless compression method.

図3は、PDLの構成の一例について説明するための説明図である。
PDLは、「ジョブ全体の印刷設定・定義」、「各ページの印刷設定・定義」、「各ページの画像描画コマンド群」、及び「各ページのイメージデータ」などを含む。
FIG. 3 is an explanatory diagram for explaining an example of the configuration of the PDL.
The PDL includes “print setting / definition of entire job”, “print setting / definition of each page”, “image drawing command group of each page”, “image data of each page”, and the like.

ホストコンピュータ3からPDLを受信する場合、CPU11は、HDD18にPDLを一時的に格納するスプーリングを行う。CPU11は、HDD18に格納されたPDLを読み出し、RIP処理部13に入力する。RIP処理部13は、CPU11から受け取るPDLに基づいてRIP処理を行う。   When receiving PDL from the host computer 3, the CPU 11 performs spooling for temporarily storing the PDL in the HDD 18. The CPU 11 reads the PDL stored in the HDD 18 and inputs it to the RIP processing unit 13. The RIP processing unit 13 performs RIP processing based on the PDL received from the CPU 11.

図4は、プリンタコントローラの動作について説明するための概念図である。
RIP処理部13は、ディスプレイリスト生成部として機能する。RIP処理を行う場合、RIP処理部13は、PDLの各描画オペレータに基づいて描画を行い、ディスプレイリストを生成する。RIP処理部13は、CPU11の制御に基づいて、生成したディスプレイリストを各画像データプレーン、即ち、第1の画像データプレーン171、第2の画像データプレーン172に格納する。さらに、RIP処理部13は、レイヤー情報513をレイヤー情報プレーン173に格納する。
FIG. 4 is a conceptual diagram for explaining the operation of the printer controller.
The RIP processing unit 13 functions as a display list generation unit. When RIP processing is performed, the RIP processing unit 13 performs drawing based on each drawing operator of the PDL to generate a display list. Based on the control of the CPU 11, the RIP processing unit 13 stores the generated display list in each image data plane, that is, the first image data plane 171 and the second image data plane 172. Further, the RIP processing unit 13 stores the layer information 513 in the layer information plane 173.

ディスプレイリストは、ラスタ画像の前段の形式であり、PDLに基づいて描画される画像である。RIP処理部13は、1つ、または複数のディスプレイリストを重ねて描画し、Y(yellow)、M(magenta)、C(cyan)、およびBk(black)のバンドデータに変換し、ラスタ画像を生成する。   The display list is a format preceding the raster image and is an image drawn based on the PDL. The RIP processing unit 13 draws one or a plurality of display lists in an overlapping manner, converts them into band data of Y (yellow), M (magenta), C (cyan), and Bk (black), and converts the raster image to Generate.

この場合、CPU11は、RIP処理部13により生成された各描画オペレータ毎のディスプレイリストを可逆圧縮方式により圧縮した場合のデータサイズを演算により算出する。CPU11は、データサイズ算出部として機能する。ROM16は、予め設定される閾値としてデータサイズの値を記憶する記憶部として機能する。CPU11は、ROM16に記憶される閾値とディスプレイリストから算出した圧縮後のデータサイズとを比較する。CPU11は、比較結果に基づいて、ディスプレイリストを描画するプレーンを指定する為のプレーン指定情報を生成する。   In this case, the CPU 11 calculates the data size when the display list for each drawing operator generated by the RIP processing unit 13 is compressed by the lossless compression method by calculation. The CPU 11 functions as a data size calculation unit. The ROM 16 functions as a storage unit that stores a data size value as a preset threshold value. The CPU 11 compares the threshold value stored in the ROM 16 with the compressed data size calculated from the display list. The CPU 11 generates plane designation information for designating a plane for drawing the display list based on the comparison result.

即ち、CPU11は、比較結果に基づいてディスプレイリストを描画するプレーンを第1の画像データプレーン171と第2の画像データプレーン172とで選択する選択部として機能する。   That is, the CPU 11 functions as a selection unit that selects a plane for drawing a display list based on the comparison result between the first image data plane 171 and the second image data plane 172.

例えば、圧縮後のデータサイズが閾値未満である場合、CPU11は、第1の画像データプレーン171を指定するプレーン指定情報を生成し、RIP処理部13に出力する。   For example, when the compressed data size is less than the threshold, the CPU 11 generates plane designation information for designating the first image data plane 171 and outputs the plane designation information to the RIP processing unit 13.

第1の画像データプレーンを指定するプレーン指定情報を受信する場合、RIP処理部13は、ディスプレイリスト511を第1の画像データプレーン171に格納する。   When receiving the plane designation information for designating the first image data plane, the RIP processing unit 13 stores the display list 511 in the first image data plane 171.

また、例えば、圧縮後のデータサイズが閾値以上である場合、CPU11は、第2の画像データプレーン172を指定するプレーン指定情報を生成し、RIP処理部13に出力する。   For example, when the data size after compression is equal to or greater than the threshold, the CPU 11 generates plane designation information for designating the second image data plane 172 and outputs the plane designation information to the RIP processing unit 13.

第2の画像データプレーンを指定するプレーン指定情報を受信する場合、RIP処理部13は、ディスプレイリスト512を第2の画像データプレーン172に格納する。   When receiving the plane designation information for designating the second image data plane, the RIP processing unit 13 stores the display list 512 in the second image data plane 172.

RIP処理部13は、第1の画像データプレーン171及び第2の画像データプレーン172に描画したディスプレイリストをそれぞれYMCKの信号に変換し、ラスタ画像を取得する。   The RIP processing unit 13 converts the display lists drawn on the first image data plane 171 and the second image data plane 172 into YMCK signals, respectively, and acquires a raster image.

即ち、RIP処理部13は、ディスプレイリスト511をラスタ画像521に変換する。また、RIP処理部13は、ディスプレイリスト512をラスタ画像522に変換する。さらに、RIP処理部13は、レイヤー情報513をラスタ画像523に変換する。   That is, the RIP processing unit 13 converts the display list 511 into the raster image 521. Further, the RIP processing unit 13 converts the display list 512 into a raster image 522. Further, the RIP processing unit 13 converts the layer information 513 into a raster image 523.

圧縮解凍処理部14は、第1の画像データプレーン171に格納されるラスタ画像521に対して、可逆圧縮方式により圧縮処理を行い、可逆圧縮情報531を生成する。また、圧縮解凍処理部14は、第2の画像データプレーン172に格納されるラスタ画像522に対して、非可逆圧縮方式により圧縮処理を行い、非可逆圧縮情報532を生成する。さらに、圧縮解凍処理部14は、レイヤー情報プレーン173に格納されるラスタ画像523に対して、可逆圧縮方式により圧縮処理を行い、可逆圧縮情報533を生成する。CPU11は、圧縮解凍処理部14により圧縮した各データをHDD18に格納する。   The compression / decompression processing unit 14 performs compression processing on the raster image 521 stored in the first image data plane 171 by a lossless compression method, and generates lossless compression information 531. In addition, the compression / decompression processing unit 14 performs compression processing on the raster image 522 stored in the second image data plane 172 by the lossy compression method, and generates lossy compression information 532. Further, the compression / decompression processing unit 14 performs compression processing on the raster image 523 stored in the layer information plane 173 using a lossless compression method, and generates lossless compression information 533. The CPU 11 stores each data compressed by the compression / decompression processing unit 14 in the HDD 18.

即ち、圧縮解凍処理部14は、第1の画像データプレーン171に格納されるデータに対して可逆圧縮を行う可逆圧縮部として機能する。また、圧縮解凍処理部14は、第2の画像データプレーン172に格納されるデータに対して非可逆圧縮を行う非可逆圧縮部として機能する。   That is, the compression / decompression processing unit 14 functions as a lossless compression unit that performs lossless compression on the data stored in the first image data plane 171. The compression / decompression processing unit 14 functions as an irreversible compression unit that performs irreversible compression on data stored in the second image data plane 172.

CPU11は、印刷を行う順序に応じて、HDD18に格納されるデータを読み出す。即ち、CPU11は、可逆圧縮情報531、非可逆圧縮情報532、及び可逆圧縮情報533を読み出す。   The CPU 11 reads data stored in the HDD 18 in accordance with the printing order. That is, the CPU 11 reads the lossless compression information 531, the lossy compression information 532, and the lossless compression information 533.

CPU11は、圧縮解凍処理部14により、読み出した各データの解凍処理を行う。即ち、圧縮解凍処理部14は、可逆圧縮情報531を解凍し、可逆解凍情報541を取得する。また、圧縮解凍処理部14は、非可逆圧縮情報532を解凍し、非可逆解凍情報542を取得する。さらに、圧縮解凍処理部14は、可逆圧縮情報533を解凍し、可逆解凍情報543を取得する。   The CPU 11 decompresses each read data by the compression / decompression processing unit 14. That is, the compression / decompression processing unit 14 decompresses the lossless compression information 531 and acquires the lossless decompression information 541. Further, the compression / decompression processing unit 14 decompresses the lossy compression information 532 and acquires the lossy decompression information 542. Further, the compression / decompression processing unit 14 decompresses the lossless compression information 533 and acquires the lossless decompression information 543.

CPU11は、可逆解凍情報541、非可逆解凍情報542、及び可逆解凍情報543を結合し、プリンタエンジン2により印刷可能な印刷画像555を生成する。この場合、CPU11は、印刷画像生成部として機能する。CPU11は、生成した印刷画像555をプリンタI/F15によりプリンタエンジン2に出力する。   The CPU 11 combines the reversible decompression information 541, the irreversible decompression information 542, and the reversible decompression information 543 to generate a print image 555 that can be printed by the printer engine 2. In this case, the CPU 11 functions as a print image generation unit. The CPU 11 outputs the generated print image 555 to the printer engine 2 through the printer I / F 15.

例えば、文字及び図形を多く含むディスプレイリストを可逆圧縮する場合、データサイズが小さくなる。このように、可逆圧縮後のサイズの小さいディスプレイリストを可逆圧縮することにより、エッジ部分がぼやけることを防ぐことができる。   For example, when lossless compression is performed on a display list that includes a large number of characters and graphics, the data size is reduced. Thus, blurring of the edge portion can be prevented by reversibly compressing the display list having a small size after the reversible compression.

また、例えば、可逆圧縮後のサイズが大きいディスプレイリストを可逆圧縮する場合、印刷のスピードが遅くなるという問題が生じる。この為、本実施形態では、可逆圧縮後のサイズの大きいディスプレイリストに対して非可逆圧縮処理を施す。これにより、印刷のスピードが低下することを防ぐことができる。   Further, for example, when a display list having a large size after reversible compression is reversibly compressed, there is a problem that the printing speed is slow. For this reason, in this embodiment, lossy compression processing is performed on a display list having a large size after lossless compression. Thereby, it is possible to prevent the printing speed from being lowered.

なお、CPU11は、ディスプレイリストを可逆圧縮した場合のデータサイズと閾値とに基づいて可逆圧縮を行うか非可逆圧縮を行うかを選択するとして説明したが、この構成に限定されない。例えば、可逆圧縮における圧縮率に基づいて決定する構成であってもよい。   Note that although the CPU 11 has been described as selecting whether to perform lossless compression or lossy compression based on the data size and threshold when the display list is losslessly compressed, the present invention is not limited to this configuration. For example, the structure determined based on the compression rate in lossless compression may be sufficient.

例えば、PDLがPostscriptによるものである場合、CPU11は、圧縮フィルタ(例えば、DCTDecode、CCITTFaxDecorde、またはRunLengthDecodeなど)により圧縮されたデータのサイズと、圧縮フィルタを展開した場合の画像の幅及び高さとに基づいて圧縮率を計算する。   For example, when the PDL is based on Postscript, the CPU 11 determines the size of the data compressed by the compression filter (for example, DCTDDecode, CCITFaxDecode, RunLengthDecode, etc.) and the width and height of the image when the compression filter is expanded. Calculate the compression ratio based on it.

また、例えば、PDLがASCIIHexDecode、またはASCII85Decodeなどにより圧縮される場合、CPU11は、実際にPDLに基づいて生成するディスプレイリストに対して可逆圧縮を施すことにより、圧縮率を算出する。CPU11は、圧縮率算出部として機能する、
また、この場合、ROM16は、予め設定される閾値として圧縮率の値を記憶する記憶部として機能する。CPU11は、ROM16に記憶される閾値とディスプレイリストから算出した圧縮後の圧縮率とを比較する。この場合、CPU11は、比較部として機能する。CPU11は、比較結果に基づいて、ディスプレイリストを描画するプレーンを指定する為のプレーン指定情報を生成する。
Further, for example, when the PDL is compressed by ASCII Hex Decode, ASCII 85 Decode, or the like, the CPU 11 calculates the compression ratio by performing lossless compression on the display list actually generated based on the PDL. The CPU 11 functions as a compression rate calculation unit.
In this case, the ROM 16 functions as a storage unit that stores a compression rate value as a preset threshold value. The CPU 11 compares the threshold value stored in the ROM 16 with the compression ratio after compression calculated from the display list. In this case, the CPU 11 functions as a comparison unit. The CPU 11 generates plane designation information for designating a plane for drawing the display list based on the comparison result.

即ち、CPU11は、算出した圧縮率が閾値未満である場合、第1の画像データプレーン172を指定するプレーン指定情報を生成し、RIP処理部13に出力する。また、CPU11は、算出した圧縮率が閾値以上である場合、第2の画像データプレーン172を指定するプレーン指定情報を生成し、RIP処理部13に出力する。   That is, when the calculated compression rate is less than the threshold value, the CPU 11 generates plane designation information for designating the first image data plane 172 and outputs it to the RIP processing unit 13. If the calculated compression rate is equal to or greater than the threshold, the CPU 11 generates plane designation information for designating the second image data plane 172 and outputs the plane designation information to the RIP processing unit 13.

また、CPU11は、PDLに記述されるイメージデータに対して施されている圧縮方式に基づいて可逆圧縮を行うか非可逆圧縮を行うかを選択する構成であってもよい。例えば、PDLのイメージデータに対して非可逆圧縮が施されている場合、CPU11は、データサイズまたは圧縮率の算出を行わずに、非可逆圧縮により圧縮を行うプレーン、即ち、第2の画像データプレーン172にディスプレイリストを描画するようにRIP処理部13を制御する。   Further, the CPU 11 may be configured to select whether to perform lossless compression or lossy compression based on a compression method applied to image data described in PDL. For example, when irreversible compression is performed on the PDL image data, the CPU 11 does not calculate the data size or the compression rate, but compresses the data by irreversible compression, that is, the second image data. The RIP processing unit 13 is controlled to draw the display list on the plane 172.

図5は、プリンタコントローラの動作について説明するためのフローチャートである。
ネットワークI/F12によりPDLを受信すると(ステップS11)、CPU11は、処理を開始する。
FIG. 5 is a flowchart for explaining the operation of the printer controller.
When the PDL is received by the network I / F 12 (step S11), the CPU 11 starts processing.

CPU11は、受信したPDLをHDD18に一時的に格納するスプーリングを行う(ステップS12)。CPU11は、HDD18に格納されたPDLを読み出し(ステップS13)、RIP処理部13に入力する。   The CPU 11 performs spooling for temporarily storing the received PDL in the HDD 18 (step S12). The CPU 11 reads the PDL stored in the HDD 18 (step S13) and inputs it to the RIP processing unit 13.

RIP処理部13は、PDLの描画オペレータ毎にディスプレイリストを生成する(ステップS14)。   The RIP processing unit 13 generates a display list for each PDL drawing operator (step S14).

CPU11は、RIP処理部13により生成された各ディスプレイリストを可逆圧縮方式により圧縮した場合のデータサイズを演算により算出する(ステップS15)。   The CPU 11 calculates the data size when each display list generated by the RIP processing unit 13 is compressed by the lossless compression method (step S15).

CPU11は、予めROM16に記憶されている閾値とディスプレイリストから算出した圧縮後のデータサイズとを比較する(ステップS16)。   The CPU 11 compares the threshold value stored in advance in the ROM 16 with the compressed data size calculated from the display list (step S16).

圧縮後のデータサイズが閾値未満である場合、CPU11は、第1の画像データプレーン171を選択し、第1の画像データプレーン171を指定するプレーン指定情報を生成し、RIP処理部13に出力する(ステップS17)。   If the data size after compression is less than the threshold, the CPU 11 selects the first image data plane 171, generates plane designation information that designates the first image data plane 171, and outputs the plane designation information to the RIP processing unit 13. (Step S17).

RIP処理部13は、第1の画像データプレーン171を指定するプレーン指定情報を受信する場合、ディスプレイリスト511を第1の画像データプレーン171に格納する。RIP処理部13は、第1の画像データプレーン171に格納したディスプレイリスト511を変換してラスタ画像521を生成する(ステップS18)。   When receiving the plane designation information for designating the first image data plane 171, the RIP processing unit 13 stores the display list 511 in the first image data plane 171. The RIP processing unit 13 converts the display list 511 stored in the first image data plane 171 to generate a raster image 521 (step S18).

圧縮解凍処理部14は、第1の画像データプレーン171に格納されるラスタ画像521に対して、可逆圧縮方式により圧縮処理を行い、可逆圧縮情報531を生成する(ステップS19)。   The compression / decompression processing unit 14 performs compression processing on the raster image 521 stored in the first image data plane 171 by the lossless compression method, and generates lossless compression information 531 (step S19).

また、ステップS16において、圧縮後のデータサイズが閾値以上である場合、CPU11は、第2の画像データプレーン172を選択し、第2の画像データプレーン172を指定するプレーン指定情報を生成し、RIP処理部13に出力する(ステップS20)。   If the compressed data size is equal to or larger than the threshold value in step S16, the CPU 11 selects the second image data plane 172, generates plane designation information for designating the second image data plane 172, and RIP The data is output to the processing unit 13 (step S20).

RIP処理部13は、第2の画像データプレーン172を指定するプレーン指定情報を受信する場合、ディスプレイリスト512を第2の画像データプレーン172に格納する。RIP処理部13は、第2の画像データプレーン172に格納したディスプレイリスト512を変換してラスタ画像522を生成する(ステップS21)。   When receiving the plane designation information for designating the second image data plane 172, the RIP processing unit 13 stores the display list 512 in the second image data plane 172. The RIP processing unit 13 converts the display list 512 stored in the second image data plane 172 to generate a raster image 522 (step S21).

圧縮解凍処理部14は、第2の画像データプレーン172に格納されるラスタ画像522に対して、非可逆圧縮方式により圧縮処理を行い、非可逆圧縮情報532を生成する(ステップS22)。   The compression / decompression processing unit 14 performs compression processing on the raster image 522 stored in the second image data plane 172 by the lossy compression method, and generates lossy compression information 532 (step S22).

CPU11は、圧縮解凍処理部14により圧縮した各データをHDD18に格納する(ステップS23)。   The CPU 11 stores each data compressed by the compression / decompression processing unit 14 in the HDD 18 (step S23).

さらに、CPU11は、印刷を行う順序に応じて、HDD18に格納されるデータを読み出し、解凍処理を行い、解凍したデータを結合して印刷画像555を生成する。CPU11は、生成した印刷画像555をプリンタI/F15によりプリンタエンジン2に出力し、処理を終了する。   Further, the CPU 11 reads out data stored in the HDD 18 in accordance with the printing order, performs decompression processing, and combines the decompressed data to generate a print image 555. The CPU 11 outputs the generated print image 555 to the printer engine 2 through the printer I / F 15 and ends the process.

上記したように、本実施形態に係るプリンタコントローラ1は、可逆圧縮方式により圧縮するラスタ画像と非可逆圧縮方式により圧縮するラスタ画像とを可逆圧縮処理後のデータサイズ、または圧縮率に基づいて選択する。これにより、プリンタコントローラ1は、PDLのオペレータ種別に因らず、実際に描画する画像に適した圧縮方式により圧縮処理を行う事ができる。   As described above, the printer controller 1 according to the present embodiment selects a raster image compressed by the lossless compression method and a raster image compressed by the lossy compression method based on the data size after the lossless compression processing or the compression rate. To do. Thereby, the printer controller 1 can perform the compression process by a compression method suitable for an image to be actually drawn regardless of the operator type of the PDL.

この結果、データサイズを抑え、且つ、高画質の画像を出力することができる画像処理装置、及び画像処理方法を提供することができる。   As a result, it is possible to provide an image processing apparatus and an image processing method capable of reducing the data size and outputting a high-quality image.

なお、この発明は、上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具現化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。更に、異なる実施形態に亘る構成要素を適宜組み合わせてもよい。   In addition, this invention is not limited to the said embodiment as it is, It can implement by changing a component in the range which does not deviate from the summary in an implementation stage. In addition, various inventions can be formed by appropriately combining a plurality of components disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, you may combine the component covering different embodiment suitably.

例えば、プリンタコントローラ1は、データサイズ、または圧縮率の算出を行う為のハードウェアをさらに備えていてもよい。この場合、CPU11及びRIP処理部13の処理と並行してデータサイズ、または圧縮率の算出を行う事ができる。これにより、処理速度の低下を防ぐことができる。   For example, the printer controller 1 may further include hardware for calculating a data size or a compression rate. In this case, the data size or the compression rate can be calculated in parallel with the processing of the CPU 11 and the RIP processing unit 13. Thereby, a reduction in processing speed can be prevented.

また、上記した実施形態によると、第2の画像データプレーン172に描画されるデータは、文字または図形が含まれる確立が低くなる。例えば、第1の画像データプレーン171の解像度を1200dpiとし、第2の画像データプレーン172の解像度を600dpiとすることにより、印刷画像555のデータサイズを抑えることができる。   Further, according to the above-described embodiment, the data drawn on the second image data plane 172 is less likely to include characters or graphics. For example, the data size of the print image 555 can be suppressed by setting the resolution of the first image data plane 171 to 1200 dpi and the resolution of the second image data plane 172 to 600 dpi.

即ち、第2の画像データプレーン172に描画するディスプレイリスト512の解像度を第1の画像データプレーン171に描画するディスプレイリスト511の解像度に比べて小さく設定することにより、最終的な印刷画像555のデータサイズを抑えることができる。   That is, by setting the resolution of the display list 512 to be drawn on the second image data plane 172 smaller than the resolution of the display list 511 to be drawn on the first image data plane 171, the data of the final print image 555 is set. The size can be reduced.

これにより、将来的に、プリンタの解像度が増加した場合であっても、解像度を適宜選択することにより、効率よく処理することができる印刷画像を生成することができる。   Thereby, even if the resolution of the printer increases in the future, a print image that can be processed efficiently can be generated by appropriately selecting the resolution.

また、上記した実施形態では、PDLはPostscriptにより記述されるとして説明したが、これに限定されない。例えば、PDF形式、XPS形式、または、他のPDLの言語であっても同様の処理を行う事ができる。   In the above-described embodiment, the PDL is described as being described by Postscript. However, the present invention is not limited to this. For example, the same processing can be performed even in a PDF format, an XPS format, or another PDL language.

また、上気した実施形態では、ROM16が閾値を予め記憶するとして説明したが、これに限定されない。例えば、HDD18に閾値を記憶する記憶領域を設け、ネットワークI/F12などにより入力されるデータに基づいて閾値を適宜設定する構成であってもよい。例えば、閾値を高めに設定しておくことにより、可逆圧縮方式により処理するラスタ画像を増やすことができる。但し、この場合、最終的な印刷画像555のデータサイズも増加する。この為、ユーザは、閾値を設定することにより、処理時間と精細さとのバランスを調整することができる。   In the above-described embodiment, the ROM 16 is described as storing the threshold value in advance, but the present invention is not limited to this. For example, a configuration may be adopted in which a storage area for storing a threshold value is provided in the HDD 18 and the threshold value is appropriately set based on data input by the network I / F 12 or the like. For example, by setting the threshold value high, it is possible to increase the number of raster images to be processed by the lossless compression method. However, in this case, the data size of the final print image 555 also increases. For this reason, the user can adjust the balance between processing time and fineness by setting a threshold value.

1…プリンタコントローラ、2…プリンタエンジン、3…ホストコンピュータ、11…CPU、12…ネットワークI/F、13…RIP処理部、14…圧縮解凍処理部、15…プリンタI/F、16…ROM、17…RAM、18…HDD、171…第1の画像データプレーン、172…第2の画像データプレーン、173…レイヤー情報プレーン。   DESCRIPTION OF SYMBOLS 1 ... Printer controller, 2 ... Printer engine, 3 ... Host computer, 11 ... CPU, 12 ... Network I / F, 13 ... RIP processing part, 14 ... Compression / decompression processing part, 15 ... Printer I / F, 16 ... ROM, 17 ... RAM, 18 ... HDD, 171 ... first image data plane, 172 ... second image data plane, 173 ... layer information plane.

特開2000−184205号公報JP 2000-184205 A

Claims (10)

PDLが入力される入力部と、
前記入力部に入力されるPDLに基づいてディスプレイリストを生成するディスプレイリスト生成部と、
前記ディスプレイリスト生成部により生成されるディスプレイリストを描画するための第1の画像データプレーンと、
前記ディスプレイリスト生成部により生成されるディスプレイリストを描画するための第2の画像データプレーンと、
前記ディスプレイリスト生成部により生成されるディスプレイリストに可逆圧縮を施した場合のデータサイズを算出するデータサイズ算出部と、
閾値を予め記憶する記憶部と、
前記データサイズ算出部により算出したデータサイズと前記記憶部に記憶される閾値とを比較する比較部と、
前記比較部の比較結果に基づいて前記ディスプレイリスト生成部により生成されるディスプレイリストを前記第1の画像データプレーンと前記第2の画像データプレーンとのどちらに描画するかを選択する選択部と、
前記第1の画像データプレーンに描画される画像に対して可逆圧縮を行う可逆圧縮部と、
前記第2の画像データプレーンに描画される画像に対して非可逆圧縮を行う非可逆圧縮部と、
前記可逆圧縮部により圧縮した画像及び前記非可逆圧縮部により圧縮した画像に基づいて印刷画像を生成する印刷画像生成部と、
前記印刷画像生成部により生成した印刷画像を出力する出力部と、
を具備することを特徴とする画像処理装置。
An input unit for inputting PDL;
A display list generation unit that generates a display list based on the PDL input to the input unit;
A first image data plane for drawing a display list generated by the display list generation unit;
A second image data plane for rendering the display list generated by the display list generation unit;
A data size calculation unit that calculates a data size when reversible compression is performed on the display list generated by the display list generation unit;
A storage unit for storing a threshold value in advance;
A comparison unit that compares the data size calculated by the data size calculation unit with a threshold value stored in the storage unit;
A selection unit that selects whether to display the display list generated by the display list generation unit on the first image data plane or the second image data plane based on the comparison result of the comparison unit;
A reversible compression unit that performs reversible compression on an image drawn on the first image data plane;
An irreversible compression unit that performs irreversible compression on an image drawn on the second image data plane;
A print image generation unit that generates a print image based on the image compressed by the lossless compression unit and the image compressed by the lossy compression unit;
An output unit that outputs the print image generated by the print image generation unit;
An image processing apparatus comprising:
前記選択部は、前記比較部の比較結果において前記データサイズ算出部により算出したデータサイズが前記記憶部に記憶される閾値未満である場合、前記ディスプレイリスト生成部により生成されるディスプレイリストを描画するプレーンとして前記第1の画像データプレーンを選択することを特徴とする請求項1に記載の画像処理装置。   The selection unit draws the display list generated by the display list generation unit when the data size calculated by the data size calculation unit is less than a threshold stored in the storage unit in the comparison result of the comparison unit. The image processing apparatus according to claim 1, wherein the first image data plane is selected as a plane. 前記選択部は、前記比較部の比較結果において前記データサイズ算出部により算出したデータサイズが前記記憶部に記憶される閾値以上である場合、前記ディスプレイリスト生成部により生成されるディスプレイリストを描画するプレーンとして前記第2の画像データプレーンを選択することを特徴とする請求項1に記載の画像処理装置。   The selection unit draws the display list generated by the display list generation unit when the data size calculated by the data size calculation unit in the comparison result of the comparison unit is equal to or larger than a threshold stored in the storage unit. The image processing apparatus according to claim 1, wherein the second image data plane is selected as a plane. 前記選択部は、ディスプレイリスト生成部により生成したディスプレイリストに非可逆圧縮されたイメージデータが含まれている場合、前記ディスプレイリスト生成部により生成されるディスプレイリストを描画するプレーンとして前記第2の画像データプレーンを選択することを特徴とする請求項1に記載の画像処理装置。   When the display list generated by the display list generation unit includes irreversibly compressed image data, the selection unit generates the second image as a plane for drawing the display list generated by the display list generation unit. The image processing apparatus according to claim 1, wherein a data plane is selected. PDLが入力される入力部と、
前記入力部に入力されるPDLに基づいてディスプレイリストを生成するディスプレイリスト生成部と、
前記ディスプレイリスト生成部により生成されるディスプレイリストを描画するための第1の画像データプレーンと、
前記ディスプレイリスト生成部により生成されるディスプレイリストを描画するための第2の画像データプレーンと、
前記ディスプレイリスト生成部により生成されるディスプレイリストに可逆圧縮を施した場合の圧縮率を算出する圧縮率算出部と、
閾値を予め記憶する記憶部と、
前記圧縮率算出部により算出した圧縮率と前記記憶部に記憶される閾値とを比較する比較部と、
前記比較部の比較結果に基づいて前記ディスプレイリスト生成部により生成されるディスプレイリストを前記第1の画像データプレーンと前記第2の画像データプレーンとのどちらに描画するかを選択する選択部と、
前記第1の画像データプレーンに描画される画像に対して可逆圧縮を行う可逆圧縮部と、
前記第2の画像データプレーンに描画される画像に対して非可逆圧縮を行う非可逆圧縮部と、
前記可逆圧縮部により圧縮した画像及び前記非可逆圧縮部により圧縮した画像に基づいて印刷画像を生成する印刷画像生成部と、
前記印刷画像生成部により生成した印刷画像を出力する出力部と、
を具備することを特徴とする画像処理装置。
An input unit for inputting PDL;
A display list generation unit that generates a display list based on the PDL input to the input unit;
A first image data plane for drawing a display list generated by the display list generation unit;
A second image data plane for rendering the display list generated by the display list generation unit;
A compression rate calculation unit that calculates a compression rate when reversible compression is performed on the display list generated by the display list generation unit;
A storage unit for storing a threshold value in advance;
A comparison unit that compares the compression rate calculated by the compression rate calculation unit with a threshold value stored in the storage unit;
A selection unit that selects whether to display the display list generated by the display list generation unit on the first image data plane or the second image data plane based on the comparison result of the comparison unit;
A reversible compression unit that performs reversible compression on an image drawn on the first image data plane;
An irreversible compression unit that performs irreversible compression on an image drawn on the second image data plane;
A print image generation unit that generates a print image based on the image compressed by the lossless compression unit and the image compressed by the lossy compression unit;
An output unit that outputs the print image generated by the print image generation unit;
An image processing apparatus comprising:
前記選択部は、前記比較部の比較結果において前記圧縮率算出部により算出した圧縮率が前記記憶部に記憶される閾値未満である場合、前記ディスプレイリスト生成部により生成されるディスプレイリストを描画するプレーンとして前記第1の画像データプレーンを選択することを特徴とする請求項5に記載の画像処理装置。   The selection unit draws the display list generated by the display list generation unit when the compression rate calculated by the compression rate calculation unit in the comparison result of the comparison unit is less than a threshold stored in the storage unit. The image processing apparatus according to claim 5, wherein the first image data plane is selected as a plane. 前記選択部は、前記比較部の比較結果において前記圧縮率算出部により算出した圧縮率が前記記憶部に記憶される閾値以上である場合、前記ディスプレイリスト生成部により生成されるディスプレイリストを描画するプレーンとして前記第2の画像データプレーンを選択することを特徴とする請求項5に記載の画像処理装置。   The selection unit draws the display list generated by the display list generation unit when the compression rate calculated by the compression rate calculation unit in the comparison result of the comparison unit is equal to or greater than a threshold stored in the storage unit. The image processing apparatus according to claim 5, wherein the second image data plane is selected as a plane. 前記選択部は、ディスプレイリスト生成部により生成したディスプレイリストに非可逆圧縮されたイメージデータが含まれている場合、前記ディスプレイリスト生成部により生成されるディスプレイリストを描画するプレーンとして前記第2の画像データプレーンを選択することを特徴とする請求項5に記載の画像処理装置。   When the display list generated by the display list generation unit includes irreversibly compressed image data, the selection unit generates the second image as a plane for drawing the display list generated by the display list generation unit. 6. The image processing apparatus according to claim 5, wherein a data plane is selected. 入力されるPDLに基づいてディスプレイリストを生成し、
前記生成されるディスプレイリストに可逆圧縮を施した場合のデータサイズを算出し、
前記算出したデータサイズと予め記憶される閾値とを比較し、
前記比較の結果に基づいて前記生成したディスプレイリストを描画するプレーンを第1の画像データプレーンと第2の画像データプレーンとで選択し、
前記第1の画像データプレーンに描画される画像に対して可逆圧縮を行い、
前記第2の画像データプレーンに描画される画像に対して非可逆圧縮を行い、
可逆圧縮により圧縮した画像と非可逆圧縮により圧縮した画像とに基づいて印刷画像を生成し、
前記生成した印刷画像を出力する、
ことを特徴とする画像処理方法。
Generate a display list based on the input PDL,
Calculate the data size when lossless compression is applied to the generated display list,
Comparing the calculated data size with a threshold stored in advance,
A plane for drawing the generated display list based on the comparison result is selected between the first image data plane and the second image data plane,
Performing lossless compression on the image rendered on the first image data plane;
Irreversible compression is performed on the image drawn on the second image data plane;
Generate a print image based on an image compressed by lossless compression and an image compressed by lossy compression,
Outputting the generated print image;
An image processing method.
入力されるPDLに基づいてディスプレイリストを生成し、
前記生成されるディスプレイリストに可逆圧縮を施した場合の圧縮率を算出し、
前記算出した圧縮率と予め記憶される閾値とを比較し、
前記比較の結果に基づいて前記生成したディスプレイリストを描画するプレーンを第1の画像データプレーンと第2の画像データプレーンとで選択し、
前記第1の画像データプレーンに描画される画像に対して可逆圧縮を行い、
前記第2の画像データプレーンに描画される画像に対して非可逆圧縮を行い、
可逆圧縮により圧縮した画像と非可逆圧縮により圧縮した画像とに基づいて印刷画像を生成し、
前記生成した印刷画像を出力する、
ことを特徴とする画像処理方法。
Generate a display list based on the input PDL,
Calculating the compression ratio when the generated display list is subjected to lossless compression;
Comparing the calculated compression rate with a threshold stored in advance,
A plane for drawing the generated display list based on the comparison result is selected between the first image data plane and the second image data plane,
Performing lossless compression on the image rendered on the first image data plane;
Irreversible compression is performed on the image drawn on the second image data plane;
Generate a print image based on an image compressed by lossless compression and an image compressed by lossy compression,
Outputting the generated print image;
An image processing method.
JP2009135235A 2008-06-05 2009-06-04 Image processing apparatus and image processing method Expired - Fee Related JP5020998B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US5910808P 2008-06-05 2008-06-05
US61/059,108 2008-06-05

Publications (2)

Publication Number Publication Date
JP2009296590A true JP2009296590A (en) 2009-12-17
JP5020998B2 JP5020998B2 (en) 2012-09-05

Family

ID=41559685

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009135235A Expired - Fee Related JP5020998B2 (en) 2008-06-05 2009-06-04 Image processing apparatus and image processing method

Country Status (1)

Country Link
JP (1) JP5020998B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011098446A (en) * 2009-11-04 2011-05-19 Canon Inc Image forming apparatus, control method thereof and program
WO2011111446A1 (en) * 2010-03-08 2011-09-15 コニカミノルタホールディングス株式会社 Image forming system, controller and rasterization accelerator
JP2012085232A (en) * 2010-10-14 2012-04-26 Fuji Xerox Co Ltd Image processing apparatus and image processing program
US9875435B2 (en) 2016-03-10 2018-01-23 Fuji Xerox Co., Ltd. Drawing data generation apparatus

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000181639A (en) * 1998-12-15 2000-06-30 Ricoh Co Ltd Printing system
JP2000184205A (en) * 1998-12-18 2000-06-30 Fuji Xerox Co Ltd Image forming system and its control method
JP2002369198A (en) * 2001-06-11 2002-12-20 Fuji Xerox Co Ltd Encoding selection equipment, encoding equipment and its method
JP2004200893A (en) * 2002-12-17 2004-07-15 Fuji Xerox Co Ltd Encoder, encoding method, and encoding program
JP2006166259A (en) * 2004-12-09 2006-06-22 Nikon Corp Digital camera and digital camera system, image compression method, and image processing method, programs and computer-readable recording medium recorded with them
JP2007110226A (en) * 2005-10-11 2007-04-26 Canon Inc Image forming apparatus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000181639A (en) * 1998-12-15 2000-06-30 Ricoh Co Ltd Printing system
JP2000184205A (en) * 1998-12-18 2000-06-30 Fuji Xerox Co Ltd Image forming system and its control method
JP2002369198A (en) * 2001-06-11 2002-12-20 Fuji Xerox Co Ltd Encoding selection equipment, encoding equipment and its method
JP2004200893A (en) * 2002-12-17 2004-07-15 Fuji Xerox Co Ltd Encoder, encoding method, and encoding program
JP2006166259A (en) * 2004-12-09 2006-06-22 Nikon Corp Digital camera and digital camera system, image compression method, and image processing method, programs and computer-readable recording medium recorded with them
JP2007110226A (en) * 2005-10-11 2007-04-26 Canon Inc Image forming apparatus

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011098446A (en) * 2009-11-04 2011-05-19 Canon Inc Image forming apparatus, control method thereof and program
WO2011111446A1 (en) * 2010-03-08 2011-09-15 コニカミノルタホールディングス株式会社 Image forming system, controller and rasterization accelerator
JP5482888B2 (en) * 2010-03-08 2014-05-07 コニカミノルタ株式会社 Image forming system, controller and rasterization accelerator
US8885185B2 (en) 2010-03-08 2014-11-11 Konica Minolta Holdings, Inc. Image forming system, controller and rasterization accelerator
JP2012085232A (en) * 2010-10-14 2012-04-26 Fuji Xerox Co Ltd Image processing apparatus and image processing program
US9875435B2 (en) 2016-03-10 2018-01-23 Fuji Xerox Co., Ltd. Drawing data generation apparatus

Also Published As

Publication number Publication date
JP5020998B2 (en) 2012-09-05

Similar Documents

Publication Publication Date Title
US7697168B2 (en) Image processing apparatus and method for generating bitmap data and attribute information from a raster data
JP5132517B2 (en) Image processing apparatus and image processing method
JP4458176B2 (en) Printing control apparatus, printing apparatus, and program
JP6824052B2 (en) Image processing device, its control method, and program
US7551299B2 (en) Method and apparatus for handling different print data formats
US10592766B2 (en) Image processing apparatus and medium storing program executable by image processing apparatus
JP5439510B2 (en) Image forming apparatus and image forming program
JP5020998B2 (en) Image processing apparatus and image processing method
JP4781198B2 (en) Image processing apparatus and method, computer program, and computer-readable storage medium
JP2008167422A (en) Color processor, pdl processor, image forming apparatus, color converting method, computer program, and recording medium
US9716809B2 (en) Image processing method and image processing apparatus
JP2007331390A (en) Image forming device and its control method
JP2017024321A (en) Image processor, image formation device, and image processing time prediction method and program
US9716810B2 (en) Image processing apparatus configured to perform smoothing based on analysis of PDL data, and storage medium storing program therefor
JP6882043B2 (en) Image processing equipment, programs and image processing methods
JP2010103997A (en) Device and method for compressing image
JP2010171971A (en) Image forming apparatus, and system therefor and control method thereof
JP6613732B2 (en) Image processing apparatus and image processing program
US8830509B2 (en) Image processing apparatus, method, and medium for performing density adjustment
JP4404016B2 (en) Driver program
US9800760B1 (en) Fast drawing of unrotated delta row encoded images
JP6541387B2 (en) PROCESSING APPARATUS, CONTROL METHOD THEREOF, AND PROGRAM
JP7005796B2 (en) Image forming device, its control method, and program
JP6084877B2 (en) Image processing device
US10182178B2 (en) Parallel fast drawing of unrotated delta row encoded images

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100914

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120223

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120228

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120425

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

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

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

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees