JP2009296590A - Image processing device and image processing method - Google Patents
Image processing device and image processing method Download PDFInfo
- 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
Links
Images
Landscapes
- Compression Of Band Width Or Redundancy In Fax (AREA)
- Record Information Processing For Printing (AREA)
Abstract
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.
以下、図面を参照しながら、本発明の一実施形態に係るについて詳細に説明する。 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
CPU11は、プリンタコントローラ1の全体の制御を司る制御部として機能する。CPU11は、ROM16あるいはHDD18に記憶される制御プログラム及び制御データに基づいて種々の処理を行う。
The
ネットワークI/F12は、LAN、または公衆回線と接続するためのインターフェースである。ネットワークI/F12は、ホストコンピュータ3からPDLが入力される入力部として機能する。
The network I /
RIP処理部13は、Raster Image Processing(RIP)を行う演算処理部である。即ち、RIP処理部13は、PDLの各描画オペレータに基づいて、所定の解像度の画像(ラスタ画像)を生成する。
The
圧縮解凍処理部14は、画像の圧縮及び解凍を行う。圧縮解凍処理部14は、異なる複数種類の圧縮方式により圧縮及び解凍を行う事ができる。例えば、圧縮解凍処理部14は、可逆圧縮法であるLZW法、または、非可逆圧縮法であるJPEG法などにより、データの圧縮及び解凍を行う。
The compression /
プリンタ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
RAM17は、ワーキングメモリとして機能する揮発性のメモリである。RAM17は、CPU11の作業領域として機能する。即ち、RAM17は、CPU11により処理されるプログラム及びデータを一時的に格納する。
The
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 /
CPU11は、RIP処理部13により、受信するPDLの描画オペレータ毎にRIP処理を行い、ラスタ画像を生成する。この場合、RIP処理部13は、可逆圧縮を行うラスタ画像(第1のラスタ画像)と、非可逆圧縮を行うラスタ画像(第2のラスタ画像)とを分けて生成する。さらに、RIP処理部13は、生成した各ラスタ画像を合成する場合、どちらのラスタ画像を可視化するかを決定するためのレイヤー情報を生成する。
The
RIP処理部13により生成される第1及び第2のラスタ画像は、解像度が1200dpiであり、8bitのデータである。
The first and second raster images generated by the
レイヤー情報は、RIP処理部13により生成される2種のラスタ画像の上下関係を画素毎に示す情報である。レイヤー情報は、例えば、解像度が1200dpiであり、画素毎に2bitのデータを有するデータである。
The layer information is information indicating the vertical relationship between the two types of raster images generated by the
図2は、図1に示すRAM17の構成について説明するためのブロック図である。
RAM17は、第1の画像データプレーン171、第2の画像データプレーン172、及び、レイヤー情報プレーン173を備えている。
FIG. 2 is a block diagram for explaining the configuration of the
The
第1の画像データプレーン171は、RIP処理部13により生成される第1のラスタ画像を記憶する記憶領域である。第2の画像データプレーン172は、RIP処理部13により生成される第2のラスタ画像を記憶する記憶領域である。レイヤー情報プレーン173は、RIP処理部13により生成されるレイヤー情報を記憶する記憶領域である。
The first
圧縮解凍処理部14は、第1の画像データプレーン171に格納されるラスタ画像に対して、可逆圧縮方式により圧縮処理を行う。また、圧縮解凍処理部14は、第2の画像データプレーン172に格納されるラスタ画像に対して、非可逆圧縮方式により圧縮処理を行う。さらに、圧縮解凍処理部14は、レイヤー情報プレーン173に格納されるデータに対して、可逆圧縮方式により圧縮処理を行う。
The compression /
図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
図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
ディスプレイリストは、ラスタ画像の前段の形式であり、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
この場合、CPU11は、RIP処理部13により生成された各描画オペレータ毎のディスプレイリストを可逆圧縮方式により圧縮した場合のデータサイズを演算により算出する。CPU11は、データサイズ算出部として機能する。ROM16は、予め設定される閾値としてデータサイズの値を記憶する記憶部として機能する。CPU11は、ROM16に記憶される閾値とディスプレイリストから算出した圧縮後のデータサイズとを比較する。CPU11は、比較結果に基づいて、ディスプレイリストを描画するプレーンを指定する為のプレーン指定情報を生成する。
In this case, the
即ち、CPU11は、比較結果に基づいてディスプレイリストを描画するプレーンを第1の画像データプレーン171と第2の画像データプレーン172とで選択する選択部として機能する。
That is, the
例えば、圧縮後のデータサイズが閾値未満である場合、CPU11は、第1の画像データプレーン171を指定するプレーン指定情報を生成し、RIP処理部13に出力する。
For example, when the compressed data size is less than the threshold, the
第1の画像データプレーンを指定するプレーン指定情報を受信する場合、RIP処理部13は、ディスプレイリスト511を第1の画像データプレーン171に格納する。
When receiving the plane designation information for designating the first image data plane, the
また、例えば、圧縮後のデータサイズが閾値以上である場合、CPU11は、第2の画像データプレーン172を指定するプレーン指定情報を生成し、RIP処理部13に出力する。
For example, when the data size after compression is equal to or greater than the threshold, the
第2の画像データプレーンを指定するプレーン指定情報を受信する場合、RIP処理部13は、ディスプレイリスト512を第2の画像データプレーン172に格納する。
When receiving the plane designation information for designating the second image data plane, the
RIP処理部13は、第1の画像データプレーン171及び第2の画像データプレーン172に描画したディスプレイリストをそれぞれYMCKの信号に変換し、ラスタ画像を取得する。
The
即ち、RIP処理部13は、ディスプレイリスト511をラスタ画像521に変換する。また、RIP処理部13は、ディスプレイリスト512をラスタ画像522に変換する。さらに、RIP処理部13は、レイヤー情報513をラスタ画像523に変換する。
That is, the
圧縮解凍処理部14は、第1の画像データプレーン171に格納されるラスタ画像521に対して、可逆圧縮方式により圧縮処理を行い、可逆圧縮情報531を生成する。また、圧縮解凍処理部14は、第2の画像データプレーン172に格納されるラスタ画像522に対して、非可逆圧縮方式により圧縮処理を行い、非可逆圧縮情報532を生成する。さらに、圧縮解凍処理部14は、レイヤー情報プレーン173に格納されるラスタ画像523に対して、可逆圧縮方式により圧縮処理を行い、可逆圧縮情報533を生成する。CPU11は、圧縮解凍処理部14により圧縮した各データをHDD18に格納する。
The compression /
即ち、圧縮解凍処理部14は、第1の画像データプレーン171に格納されるデータに対して可逆圧縮を行う可逆圧縮部として機能する。また、圧縮解凍処理部14は、第2の画像データプレーン172に格納されるデータに対して非可逆圧縮を行う非可逆圧縮部として機能する。
That is, the compression /
CPU11は、印刷を行う順序に応じて、HDD18に格納されるデータを読み出す。即ち、CPU11は、可逆圧縮情報531、非可逆圧縮情報532、及び可逆圧縮情報533を読み出す。
The
CPU11は、圧縮解凍処理部14により、読み出した各データの解凍処理を行う。即ち、圧縮解凍処理部14は、可逆圧縮情報531を解凍し、可逆解凍情報541を取得する。また、圧縮解凍処理部14は、非可逆圧縮情報532を解凍し、非可逆解凍情報542を取得する。さらに、圧縮解凍処理部14は、可逆圧縮情報533を解凍し、可逆解凍情報543を取得する。
The
CPU11は、可逆解凍情報541、非可逆解凍情報542、及び可逆解凍情報543を結合し、プリンタエンジン2により印刷可能な印刷画像555を生成する。この場合、CPU11は、印刷画像生成部として機能する。CPU11は、生成した印刷画像555をプリンタI/F15によりプリンタエンジン2に出力する。
The
例えば、文字及び図形を多く含むディスプレイリストを可逆圧縮する場合、データサイズが小さくなる。このように、可逆圧縮後のサイズの小さいディスプレイリストを可逆圧縮することにより、エッジ部分がぼやけることを防ぐことができる。 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
例えば、PDLがPostscriptによるものである場合、CPU11は、圧縮フィルタ(例えば、DCTDecode、CCITTFaxDecorde、またはRunLengthDecodeなど)により圧縮されたデータのサイズと、圧縮フィルタを展開した場合の画像の幅及び高さとに基づいて圧縮率を計算する。
For example, when the PDL is based on Postscript, the
また、例えば、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
In this case, the
即ち、CPU11は、算出した圧縮率が閾値未満である場合、第1の画像データプレーン172を指定するプレーン指定情報を生成し、RIP処理部13に出力する。また、CPU11は、算出した圧縮率が閾値以上である場合、第2の画像データプレーン172を指定するプレーン指定情報を生成し、RIP処理部13に出力する。
That is, when the calculated compression rate is less than the threshold value, the
また、CPU11は、PDLに記述されるイメージデータに対して施されている圧縮方式に基づいて可逆圧縮を行うか非可逆圧縮を行うかを選択する構成であってもよい。例えば、PDLのイメージデータに対して非可逆圧縮が施されている場合、CPU11は、データサイズまたは圧縮率の算出を行わずに、非可逆圧縮により圧縮を行うプレーン、即ち、第2の画像データプレーン172にディスプレイリストを描画するようにRIP処理部13を制御する。
Further, the
図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
CPU11は、受信したPDLをHDD18に一時的に格納するスプーリングを行う(ステップS12)。CPU11は、HDD18に格納されたPDLを読み出し(ステップS13)、RIP処理部13に入力する。
The
RIP処理部13は、PDLの描画オペレータ毎にディスプレイリストを生成する(ステップS14)。
The
CPU11は、RIP処理部13により生成された各ディスプレイリストを可逆圧縮方式により圧縮した場合のデータサイズを演算により算出する(ステップS15)。
The
CPU11は、予めROM16に記憶されている閾値とディスプレイリストから算出した圧縮後のデータサイズとを比較する(ステップS16)。
The
圧縮後のデータサイズが閾値未満である場合、CPU11は、第1の画像データプレーン171を選択し、第1の画像データプレーン171を指定するプレーン指定情報を生成し、RIP処理部13に出力する(ステップS17)。
If the data size after compression is less than the threshold, the
RIP処理部13は、第1の画像データプレーン171を指定するプレーン指定情報を受信する場合、ディスプレイリスト511を第1の画像データプレーン171に格納する。RIP処理部13は、第1の画像データプレーン171に格納したディスプレイリスト511を変換してラスタ画像521を生成する(ステップS18)。
When receiving the plane designation information for designating the first
圧縮解凍処理部14は、第1の画像データプレーン171に格納されるラスタ画像521に対して、可逆圧縮方式により圧縮処理を行い、可逆圧縮情報531を生成する(ステップS19)。
The compression /
また、ステップ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
RIP処理部13は、第2の画像データプレーン172を指定するプレーン指定情報を受信する場合、ディスプレイリスト512を第2の画像データプレーン172に格納する。RIP処理部13は、第2の画像データプレーン172に格納したディスプレイリスト512を変換してラスタ画像522を生成する(ステップS21)。
When receiving the plane designation information for designating the second
圧縮解凍処理部14は、第2の画像データプレーン172に格納されるラスタ画像522に対して、非可逆圧縮方式により圧縮処理を行い、非可逆圧縮情報532を生成する(ステップS22)。
The compression /
CPU11は、圧縮解凍処理部14により圧縮した各データをHDD18に格納する(ステップS23)。
The
さらに、CPU11は、印刷を行う順序に応じて、HDD18に格納されるデータを読み出し、解凍処理を行い、解凍したデータを結合して印刷画像555を生成する。CPU11は、生成した印刷画像555をプリンタI/F15によりプリンタエンジン2に出力し、処理を終了する。
Further, the
上記したように、本実施形態に係るプリンタコントローラ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
また、上記した実施形態によると、第2の画像データプレーン172に描画されるデータは、文字または図形が含まれる確立が低くなる。例えば、第1の画像データプレーン171の解像度を1200dpiとし、第2の画像データプレーン172の解像度を600dpiとすることにより、印刷画像555のデータサイズを抑えることができる。
Further, according to the above-described embodiment, the data drawn on the second
即ち、第2の画像データプレーン172に描画するディスプレイリスト512の解像度を第1の画像データプレーン171に描画するディスプレイリスト511の解像度に比べて小さく設定することにより、最終的な印刷画像555のデータサイズを抑えることができる。
That is, by setting the resolution of the
これにより、将来的に、プリンタの解像度が増加した場合であっても、解像度を適宜選択することにより、効率よく処理することができる印刷画像を生成することができる。 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
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.
Claims (10)
前記入力部に入力される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:
前記入力部に入力される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の画像データプレーンと第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.
前記生成されるディスプレイリストに可逆圧縮を施した場合の圧縮率を算出し、
前記算出した圧縮率と予め記憶される閾値とを比較し、
前記比較の結果に基づいて前記生成したディスプレイリストを描画するプレーンを第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.
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)
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)
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 |
-
2009
- 2009-06-04 JP JP2009135235A patent/JP5020998B2/en not_active Expired - Fee Related
Patent Citations (6)
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)
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 | |
JP2015002442A (en) | Image processing apparatus and method | |
JP6882043B2 (en) | Image processing equipment, programs and image processing methods | |
US9800760B1 (en) | Fast drawing of unrotated delta row encoded images | |
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 | |
JP6541387B2 (en) | PROCESSING APPARATUS, CONTROL METHOD THEREOF, AND PROGRAM | |
JP7005796B2 (en) | Image forming device, its control method, and program | |
JP6084877B2 (en) | Image processing device |
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 |