JP2006108773A - Image processor, and printing system and program - Google Patents
Image processor, and printing system and program Download PDFInfo
- Publication number
- JP2006108773A JP2006108773A JP2004288822A JP2004288822A JP2006108773A JP 2006108773 A JP2006108773 A JP 2006108773A JP 2004288822 A JP2004288822 A JP 2004288822A JP 2004288822 A JP2004288822 A JP 2004288822A JP 2006108773 A JP2006108773 A JP 2006108773A
- Authority
- JP
- Japan
- Prior art keywords
- color
- data
- color conversion
- image
- 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.)
- Pending
Links
Images
Landscapes
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
Abstract
Description
この発明は、画像処理装置、印刷システム及びプログラムにかかり、詳しくは、画像データの色空間を変換するにあたり、好ましい色再現のための画像処理を好適に実施するための技術に関するものである。 The present invention relates to an image processing apparatus, a printing system, and a program. More specifically, the present invention relates to a technique for suitably executing image processing for color reproduction when converting a color space of image data.
従来、印刷システム等に備えられる画像処理装置においては、画像データとして入力する例えばRGB表色系のデータ(以下「RGBデータ」)を所定の色変換テーブルを用いてプリンタ(画像形成装置)が使用可能な色材、即ちCMYK表色系のデータ(以下「CMYKデータ」)に変換する色変換処理を行う。そして、このCMYKデータを各色ドット形成の有無による表現形式の2値データに変換して、プリンタに供給する印刷データを作成するようになっている。 2. Description of the Related Art Conventionally, in an image processing apparatus provided in a printing system or the like, a printer (image forming apparatus) uses, for example, RGB color system data (hereinafter referred to as “RGB data”) input as image data using a predetermined color conversion table. A color conversion process for converting the data into possible color materials, that is, data in the CMYK color system (hereinafter, “CMYK data”) is performed. The CMYK data is converted into binary data in an expression format depending on whether or not each color dot is formed, and print data to be supplied to the printer is created.
ところで、このような画像処理装置にあっては、ユーザの所望とする色再現を得るために、上記RGBデータをCMYKデータに変換する過程で同RGBデータに画像の特徴に応じた様々な色補正を施すことで、プリンタによる印字画質の向上を図っている。例えば、色調を補正するとか、明度を補正するとか、コントラストを拡大する、等といった処理がそれである。こうした色補正を行う画像処理装置の構成に関連する先行技術としては、例えば特許文献1に開示されたものがある。
ところが、上記従来の技術では、ユーザの所望とする色再現に応じた色補正をRGBデータに施しても、該色補正後のデータをCMYKデータに色変換する際には上記色補正の種類に依らず共通の色変換テーブルを用いて色変換を行っているため、好ましい色を十分に表現することができず、本来得るべき色再現が好適に得られないという問題があった。 However, in the above conventional technique, even if color correction according to the color reproduction desired by the user is performed on the RGB data, the color correction data is converted into the CMYK data when the color correction is performed. Regardless of this, color conversion is performed using a common color conversion table. Therefore, there is a problem in that preferable colors cannot be expressed sufficiently, and color reproduction that should be originally obtained cannot be obtained suitably.
この発明は、こうした従来の実情に鑑みてなされたものであり、その目的は、好ましい色を十分に表現することが可能であり、それにより良好な画質の画像を得ることが可能な画像処理装置、印刷システム及びプログラムを提供することにある。 The present invention has been made in view of these conventional situations, and an object of the present invention is to provide an image processing apparatus capable of sufficiently expressing a preferable color and thereby obtaining an image of good image quality. Another object is to provide a printing system and a program.
上記の目的を達成するため、この発明の第1の態様では、第1の色空間で表現された第1の画像データを前記第1の色空間と異なる第2の色空間で表現される第2の画像データに変換する色変換部を備えた画像処理装置において、前記色変換部は、前記第1の画像データを前記第1の色空間と同一の色空間で色補正して色補正データを作成する第1の色変換部と、前記第1の色変換部が実施する前記色補正の種類に基づいて複数の色変換テーブルのうち少なくとも一つを選択的に使用し、前記色補正データを前記第1の色空間から前記第2の色空間に色変換して前記第2の画像データを作成する第2の色変換部と、を備えることを要旨としている。 In order to achieve the above object, according to the first aspect of the present invention, the first image data expressed in the first color space is expressed in a second color space different from the first color space. In the image processing apparatus including a color conversion unit that converts the image data into the second image data, the color conversion unit corrects the color of the first image data in the same color space as the first color space, and performs color correction data. A first color conversion unit for generating the color correction data, and at least one of a plurality of color conversion tables based on the type of the color correction performed by the first color conversion unit, and the color correction data And a second color conversion unit that generates the second image data by performing color conversion from the first color space to the second color space.
この画像処理装置によれば、第1の画像データはそれと同じ第1の色空間で色補正された後、その色補正の種類に応じて最適な色変換テーブルが複数の色変換テーブルの中から選択され、それを用いて色補正データから第2の画像データに変換される。これにより、好ましい色をより十分に表現することが可能となる。 According to this image processing apparatus, after the first image data is color-corrected in the same first color space, an optimum color conversion table is selected from the plurality of color conversion tables according to the type of color correction. The color correction data is used to convert the color correction data into the second image data. Thereby, it becomes possible to express a preferable color more fully.
上述した画像処理装置においては、前記第1の色変換部が実施する前記色補正は、前記第1の画像データから該第1の画像データの特徴量を取得し、該特徴量に基づいて前記色補正データを作成する自動色補正である、といった態様を採用することもできる。 In the above-described image processing apparatus, the color correction performed by the first color conversion unit acquires a feature amount of the first image data from the first image data, and based on the feature amount, It is also possible to adopt an aspect such as automatic color correction for creating color correction data.
この画像処理装置によれば、上記第1の色変換部での色補正を画像の特徴を自動判別する自動色補正とすることにより、色再現の品質をさらに向上させることができる。なお、第1の色変換部での処理をこうした自動色補正処理とした場合には、その後における第2の色変換部での処理も必然的に自動色補正に対応した処理(色変換処理)となる。即ち、本構成では第1の画像データに対して自動色補正が行われた場合には、その自動色補正に最適な色変換テーブルを用いて第2の画像データへの色変換が行われることにより、自動色補正処理を最適化することができる。 According to this image processing apparatus, the color correction in the first color conversion unit is an automatic color correction for automatically determining the feature of the image, so that the quality of color reproduction can be further improved. When the process in the first color conversion unit is such an automatic color correction process, the subsequent process in the second color conversion unit inevitably also corresponds to the automatic color correction (color conversion process). It becomes. That is, in this configuration, when automatic color correction is performed on the first image data, color conversion to the second image data is performed using a color conversion table optimal for the automatic color correction. Thus, the automatic color correction process can be optimized.
上述した画像処理装置においては、前記第1の色変換部が実施する前記色補正の種類と、該色補正の種類に応じて使用するべき前記色変換テーブルとが予め関連付けられて記憶されたマッピングテーブルを有し、前記第2の色変換部は、前記色変換で使用する前記色変換テーブルを前記マッピングテーブルに従って前記複数の色変換テーブルの中から選択的に何れか一つ決定する、といった態様を採用することもできる。 In the above-described image processing apparatus, the type of color correction performed by the first color conversion unit and the mapping stored in advance in association with the color conversion table to be used according to the type of color correction A mode in which the second color conversion unit selectively determines one of the plurality of color conversion tables from the plurality of color conversion tables according to the mapping table. Can also be adopted.
この画像処理装置によれば、第2の色変換部が使用する色変換テーブルは、上記色補正の種類に応じて予め関連付けられて記憶されたマッピングテーブルに従って一意に決定される。 According to this image processing apparatus, the color conversion table used by the second color conversion unit is uniquely determined according to the mapping table stored in advance in association with the type of color correction.
上述した画像処理装置においては、前記第2の画像データはCMYKデータである、といった態様を採用することもできる。
この画像処理装置によれば、上記第2の色変換部は、画像形成装置が使用する色材の色空間で表現されるCMYKデータを上記第2の画像データとして作成する。なお、CMYKデータとは、CMYK表色系を色空間とする画像データであって、その色材の組み合わせとしては任意の組み合わせとすることができる。例えば、CMYKの4色で表現されるCMYKデータであってもよいし、或いは、それ以上の色の組み合わせで表現されるCMYKデータであってもよい。
In the image processing apparatus described above, an aspect in which the second image data is CMYK data may be employed.
According to this image processing apparatus, the second color conversion unit creates CMYK data expressed in the color space of the color material used by the image forming apparatus as the second image data. The CMYK data is image data using the CMYK color system as a color space, and any combination of the color materials can be used. For example, CMYK data represented by four colors of CMYK or CMYK data represented by a combination of more colors may be used.
この発明の第2の態様では、第1の色空間で表現された第1の画像データを前記第1の色空間と異なる第2の色空間で表現される第2の画像データに変換し、該第2の画像データから印刷データを作成する画像処理装置と、該画像処理装置により作成された前記印刷データに基づいて印刷を行う画像形成装置とを接続してなる印刷システムにおいて、前記画像処理装置は、前記第1の画像データを前記第1の色空間と同一の色空間で色補正して色補正データを作成する第1の色変換部と、前記第1の色変換部が実施する前記色補正の種類に基づいて複数の色変換テーブルのうち少なくとも一つを選択的に使用し、前記色補正データを前記第1の色空間から前記第2の色空間に色変換して前記第2の画像データを作成する第2の色変換部と、を備えることを要旨としている。 In the second aspect of the present invention, the first image data expressed in the first color space is converted into second image data expressed in a second color space different from the first color space, In the printing system comprising: an image processing apparatus that creates print data from the second image data; and an image forming apparatus that performs printing based on the print data created by the image processing apparatus. The apparatus includes a first color conversion unit that generates color correction data by performing color correction on the first image data in the same color space as the first color space, and the first color conversion unit. Based on the type of color correction, at least one of a plurality of color conversion tables is selectively used, the color correction data is color-converted from the first color space to the second color space, and the first color conversion table is used. A second color conversion unit for generating image data of 2; It is summarized in that to obtain.
この印刷システムによれば、画像処理装置は、第1の画像データをそれと同じ第1の色空間で色補正した後、その色補正の種類に応じた最適な色変換テーブルを複数の色変換テーブルの中から選択して、それを用いて色補正データから第2の画像データに変換する。そして、この第2の画像データから作成した印刷データを画像形成装置に供給する。これにより、好ましい色をより十分に表現することが可能となり、印字画質を優れた画質とすることができる。 According to this printing system, the image processing apparatus performs color correction on the first image data in the same first color space, and then selects an optimum color conversion table corresponding to the type of color correction from the plurality of color conversion tables. Is selected and converted from the color correction data to the second image data. Then, the print data created from the second image data is supplied to the image forming apparatus. Accordingly, it is possible to express a preferable color more sufficiently, and the print image quality can be improved.
この発明の第3の態様では、画像処理装置により実行され、第1の色空間で表現された第1の画像データを前記第1の色空間と異なる第2の色空間で表現される第2の画像データに変換するためのプログラムであって、前記画像処理装置が、前記第1の画像データを前記第1の色空間と同一の色空間で色補正して色補正データを作成する第1のステップと、前記第1のステップで実施する前記色補正の種類に基づいて複数の色変換テーブルのうち少なくとも一つを選択的に使用し、前記色補正データを前記第1の色空間から前記第2の色空間に色変換して前記第2の画像データを作成する第2のステップと、を実行するためのプログラム、であることを要旨としている。 In a third aspect of the present invention, the first image data that is executed by the image processing device and expressed in the first color space is expressed in a second color space different from the first color space. The image processing apparatus converts the first image data in the same color space as the first color space to create color correction data. And at least one of a plurality of color conversion tables based on the type of color correction performed in the first step and the color correction data from the first color space. The gist of the present invention is a program for executing the second step of creating the second image data by performing color conversion to the second color space.
このプログラムによれば、画像処理装置は、第1のステップと第2のステップとを実行することで、第1の画像データを第2の画像データに色変換する過程で、好ましい色再現のための処理を好適に施すことができる。 According to this program, the image processing apparatus performs the first step and the second step, thereby performing a color conversion of the first image data into the second image data for preferable color reproduction. Can be suitably applied.
上述したプログラムにおいては、前記画像処理装置が、前記第2の画像データをドット形成の有無による表現形式の2値データに変換して、画像形成装置に供給する印刷データを作成する第3のステップをさらに実行可能とする、といった態様を採用することもできる。 In the above-described program, the image processing apparatus converts the second image data into binary data in an expression format based on the presence / absence of dot formation, and generates print data to be supplied to the image forming apparatus. It is also possible to adopt a mode in which the process can be further executed.
このプログラムによれば、画像処理装置は、先に述べた第1のステップと第2のステップとに続いて更に第3のステップを実行することで、画像形成装置に供給する印刷データを好適に作成することができる。 According to this program, the image processing apparatus preferably executes the third step subsequent to the first step and the second step described above, so that the print data to be supplied to the image forming apparatus is suitably obtained. Can be created.
以下、この発明を具体化した一実施の形態を図面に従って説明する。
図1は、本実施の形態にかかる印刷システム1の概略構成を示すブロック図である。この印刷システム1は、画像入力装置2と、画像処理装置3と、画像形成装置4とを備えて構成されている。画像入力装置2は、例えばスキャナやデジタルカメラあるいはデジタルビデオカメラ等により構成され、本実施の形態においてはRGB(赤、緑、青)の階調データを画像データD1として画像処理装置3に供給する。画像処理装置3は、例えばパーソナルコンピュータ等のコンピュータシステムにより構成され、入力した画像データD1に所定の画像処理を施してそれを画像形成装置4に供給すべきデータの形態に変換する。本実施の形態においては画像形成装置4はカラーインクジェットプリンタにより構成されており、画像処理装置3はこのプリンタに供給する印刷データPDとして上記画像データD1を同プリンタが利用可能な複数のインク色の組み合わせ、例えばCMYK(シアン、マゼンダ、イエロー、黒)により表現される2値データに変換するものとなっている。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram showing a schematic configuration of a printing system 1 according to the present embodiment. The printing system 1 includes an image input device 2, an
なお、本実施の形態における印刷システム1は、画像入力装置2を含む態様で構成されているが、画像入力装置2を含まずに、画像処理装置3と画像形成装置4(プリンタ)とで印刷システム1が構成されている態様であってもよい。
Although the printing system 1 according to the present embodiment is configured to include the image input device 2, printing is performed by the
次に、画像処理装置3のシステム構成について説明すると、同画像処理装置3は、CPU11、ROM12、RAM13、記憶装置14、表示装置15、操作装置16、入力I/F(インタフェース)17、出力I/F18及びドライブ装置19を備えて構成され、それらはバス20を介して相互に接続されている。
Next, the system configuration of the
ROM12には、本装置3全体の動作を制御するプログラムやデータが格納されている。またRAM13には、記憶装置14やドライブ装置19からロードされたプログラムやデータ等が一時的に記憶される。CPU11は、これらROM12やRAM13に記憶、格納されたプログラムやデータを用いて、さらには、RAM13を各種の処理を行う際のワークエリアとして利用しながら本装置3全体の動作を統括的に制御する。例えばCPU11は、画像入力装置2や画像形成装置4との間のデータ通信を制御したり、後述する色変換処理を含む画像処理を制御したりする。
The ROM 12 stores programs and data for controlling the overall operation of the
記憶装置14には、本装置3全体の制御を行うための図示しないオペレーティングシステム(OS)や後述する色変換処理を実現するための画像処理プログラム等が記憶され、必要に応じてRAM13に読み出され、CPU11により実行される。この記憶装置14としては、例えばハードディスクや通信回線を介して接続される外部記憶装置等が該当する。
The storage device 14 stores an operating system (OS) (not shown) for controlling the
表示装置15は、例えばCRTやLCD等により構成され、後述する印刷条件を設定する際の設定画面の表示や画像の表示等に用いられる。即ち、上記画像入力装置2より入力される画像データD1に基づいて本装置3の表示装置15に画像を表示させる場合には、この表示装置15が画像形成装置として機能する。なお、この場合においては、表示装置15は、RGBの階調データを入力として必要とする。操作装置16は、例えばキーボードやマウス等により構成され、ユーザからの要求や指示、パラメータの入力等に用いられる。
The
入力I/F17は、画像入力装置2との間のインタフェース部として機能し、同装置2からの画像データD1をRAM13や記憶装置14に出力する。出力I/F18は、画像形成装置4(プリンタ)との間のインタフェース部として機能し、本装置3により形成された印刷データPDを同プリンタに出力する。
The input I / F 17 functions as an interface unit with the image input device 2 and outputs image data D1 from the device 2 to the
本実施の形態において、CPU11が実行するプログラム(画像処理プログラム)やデータは、例えば記録媒体21にて提供される。ドライブ装置19は、記録媒体21を駆動してその記録内容にアクセスし、そこからプログラムやデータを読み出して記憶装置14に出力する。なお、記録媒体21としては、光ディスク(CD-ROM,DVD-ROM,… )、光磁気ディスク(MO,MD,…)等、任意の記録媒体を使用することができる。また、この記録媒体21には、通信媒体を介してアップロード又はダウンロードされたプログラムを記録した媒体、ディスク装置等も含まれる。 In the present embodiment, the program (image processing program) and data executed by the CPU 11 are provided on the recording medium 21, for example. The drive device 19 drives the recording medium 21 to access the recorded contents, reads out programs and data therefrom, and outputs them to the storage device 14. As the recording medium 21, an arbitrary recording medium such as an optical disk (CD-ROM, DVD-ROM,...), A magneto-optical disk (MO, MD,...) Can be used. The recording medium 21 includes a medium on which a program uploaded or downloaded via a communication medium is recorded, a disk device, and the like.
図2に、上記画像処理装置3の機能構成を示す。なお、同図では、画像形成装置4を「プリンタ4」として示している。また、以下の説明では便宜上、画像形成装置4を「プリンタ4」として記載する。
FIG. 2 shows a functional configuration of the
画像処理装置3には、OSの下で動作するアプリケーションプログラム(以下「アプリケーション」)31が組み込まれている。また、この画像処理装置3のOSには、プリンタドライバ32として機能するプリンタドライバ用プログラムやビデオドライバ33として機能するビデオドライバ用プログラムも組み込まれており、アプリケーション31は、これらのドライバ用プログラムを起動することで画像データD1を取り扱う各種の処理を行う。例えばアプリケーション31は、プリンタドライバ用プログラムを起動することでプリンタ4に供給する印刷データPDを画像データD1から生成させたり、ビデオドライバ用プログラムを起動することで画像データD1に基づく画像を表示装置15に表示させたりする。
The
このような画像処理装置3において、印刷処理を開始する操作等は上記操作装置16を用いて行われる。アプリケーション31は、同操作装置16を通じて印刷処理開始の指示をユーザから受けると、上記RAM13や記憶装置14に格納されている画像データD1を必要な制御コマンドCMDとともにプリンタドライバ32に出力する。プリンタドライバ32は、この画像データD1に後述する色変換処理を含む画像処理を施して印刷データPDを生成し、それをプリンタ4に出力する。そして、プリンタ4では、受け取った印刷データPDに基づいて印刷を行う。
In such an
次に、上記プリンタドライバ32の機能構成について説明する。
プリンタドライバ32は、解像度変換部41、色変換部42、2値化部43及びMW(マイクロウィーブ)部44を有して構成されている。このうち色変換部42は、本実施の形態においては第1の色変換部45と第2の色変換部46とから構成されている。
Next, the functional configuration of the
The
解像度変換部41は、画像データD1の解像度をプリンタ4での印刷処理に適した解像度(印刷解像度)に変換する処理を行う。例えば、画像データD1の解像度が印刷解像度よりも低い場合には、解像度変換部41は、線形補間を行うことで画像データD1の隣接するラスタ間に新たなデータを作成する。反対に、画像データD1の解像度が印刷解像度よりも高い場合には、解像度変換部41は、一定の割合でデータを間引くことで画像データD1の解像度をそれよりも低い解像度に変換する。
The
色変換部42は、本実施の形態においては、RGB(第1の色空間)で表現されている画像データ(第1の画像データ、以下「RGBデータ」という)を、プリンタ4が利用することのできる複数のインク色、例えばCMYK(第2の色空間)で表現される画像データ(第2の画像データ、以下「CMYKデータ」という)に変換する処理を行う。
In the present embodiment, the
この色変換処理について詳述すると、本実施の形態においては上記解像度変換後のRGBデータは、まず第1の色変換部45に入力される。この第1の色変換部45は、RGBデータをそれと同じ色空間のRGBで色補正して色補正データを作成する。
The color conversion process will be described in detail. In the present embodiment, the RGB data after the resolution conversion is first input to the first
なお、「色補正」とは、好ましい色の再現を行って良好な画質の画像を得るために画像の特徴に応じて、例えば、色調を補正するとか、明るさを補正するとか、コントラストを拡大する、等といった補正を加える処理をいう。本実施の形態において、これらの色補正処理のうち第1の色変換部45がどの処理を行うかは、ユーザが表示装置15上で画像を確認して必要な処理を選択したり、色補正処理のパラメータを設定したりすることで決定されるようになっている。
Note that “color correction” means, for example, correcting the color tone, correcting the brightness, or enlarging the contrast according to the characteristics of the image in order to obtain a good quality image by reproducing a preferable color. This is a process for adding a correction such as. In the present embodiment, which of the color correction processes the first
この際、本実施の形態においては、上記画像の特徴を自動判別して色補正を行うべく、所定の評価基準に従って同画像(RGBデータ)の特徴量を取得し、該取得した特徴量に基づいて色補正を行う、いわゆる自動色補正機能がプリンタドライバ32には備えられている。即ち、こうした自動色補正機能がユーザにより選択された場合には、第1の色変換部45は、ユーザの所望する色再現の目的(色補正の種類)に応じて画像の特徴を自動で判別して色補正を行うようになっている。このような自動色補正の処理は上記記憶装置14等に格納されている画像処理プログラムに基づいて実行される。なお、上記画像の特徴量を取得するための評価基準は複数用意されており、該画像の特徴量が上記色補正の種類(例えば、肌色補正重視、あるいはコントラスト重視等)に応じて複数の評価基準に従って取得されるようになっている。
In this case, in the present embodiment, in order to automatically determine the feature of the image and perform color correction, the feature amount of the same image (RGB data) is acquired according to a predetermined evaluation criterion, and based on the acquired feature amount. The
こうして作成されたRGBの色補正データは、続いて第2の色変換部46に入力される。この第2の色変換部46は、上記RGBの色補正データをプリンタ4が利用することのできる複数のインク色の組み合わせ、本実施の形態においてはCMYKで表現されるデータに変換する色変換を施してCMYKデータを作成する。
The RGB color correction data created in this way is then input to the
ここで、本実施の形態においては、このような色変換を行うための参照用テーブルとして複数の色変換テーブルLUT1〜LUT4が設けられており、第2の色変換部46は、上記第1の色変換部45が実施する色補正の種類に基づいて、これら複数の色変換テーブルLUT1〜LUT4のうちいずれか一のテーブルを選択的に使用して色変換を行う。この際、第2の色変換部46が上記複数のテーブルLUT1〜LUT4のうちどのテーブルを使用するかは、例えば、後述するマッピングテーブルMT(図4参照)に基づいて決定される。即ち、第2の色変換部46は、上記第1の色変換部45により作成された色補正データに対して、それに施される色補正の種類に最適とする色変換テーブルを使用して色変換を行うようにしている。
Here, in the present embodiment, a plurality of color conversion tables LUT1 to LUT4 are provided as reference tables for performing such color conversion, and the second
このように、本実施の形態では第1の色変換部45によるRGB(入力画像データ)からRGB(補正データ)への同一の色空間内での色補正に加えて、さらには、その色補正に応じて最適とする色変換テーブルを用いての第2の色変換部46によるRGB(色補正データ)からCMYK(CMYKデータ)への色変換が行われる。これにより、好ましい色の再現を十分に行って、プリンタ4による印字品質を良好な画質とすることを図っている。なお、上記色変換テーブルLUT(LUT1〜LUT4)やマッピングテーブルMTは上述したRAM13や記憶装置14内にファイルとして保持されている。
As described above, in the present embodiment, in addition to the color correction in the same color space from RGB (input image data) to RGB (correction data) by the first
2値化部43は、こうして形成されたCMYKデータをプリンタ4が表現可能な2階調の画像データ(2値データ)に変換する、いわゆるハーフトーン処理を行う。即ち、CMYKデータは、各色例えば階調値0〜255の256階調で表現されたデータであるのに対して、プリンタ4はドットを形成する、或いはドットを形成しない、のいずれかの状態しか採り得ない。このため、こうした例えば256階調で表現された画像データをドット形成の有無を表す2値データに変換する必要があり、この階調数の変換を行う処理がハーフトーン処理である。
The
MW部44は、こうしたハーフトーン処理後の画像データ(2値データ)を、プリンタ4でのドットの形成順序を考慮しながら該プリンタ4に転送すべき順序に並び替え、それを印刷データPDとして形成する。即ち、印刷ヘッドにあっては、各ノズルが紙送り方向に印刷解像度よりも低解像度のノズルピッチで配置されているため、連続するラスタを1回の主走査では形成することができない。そこで、毎回の主走査ではノズルピッチ間隔で複数のラスタを形成しながら、ラスタを形成する度に少しずつ形成位置をずらして各ラスタ間を順次埋めるようにすることで、最終的には連続したラスタを形成するようにしている。このような印刷ヘッドのノズル数やノズルピッチ等を考慮して、プリンタ4に転送すべき順序にドットデータを並び替える処理をマイクロウィーブ処理という。なお、マイクロウィーブ処理が施されて形成された印刷データPDは、各主走査時のドットの形成有無を表すデータ、いわゆるラスタデータと紙送り量を示すデータとを含んでいる。
The
次に、プリンタドライバ32が行う上記色変換処理について図3を参照しながら説明する。
まず、表示装置15に表示された画像をもとに、ユーザにより色変換モードが選択される(ステップ100)。なお、本実施の形態においては、上記色変換モードとして、例えば、「色補正なし」、「色補正あり」、「自動色補正」の3種類の中から設定可能となっている。
Next, the color conversion process performed by the
First, the color conversion mode is selected by the user based on the image displayed on the display device 15 (step 100). In the present embodiment, the color conversion mode can be set from, for example, three types of “without color correction”, “with color correction”, and “automatic color correction”.
ここで、「色補正なし」は、表示装置15に表示された画像を見た目に忠実に再現するモード(以下「第1のモード」という)、「色補正あり」は、ユーザにより選択された色補正の種類(目的とする色再現)に従って色補正を行うモード(以下「第2のモード」という)である。また、「自動色補正」は、ユーザにより選択された色補正の種類に従って上記したように画像の特徴量を取得し、該特徴量に基づいて色補正を行うモード(以下「第3のモード」という)である。なお、図4に示すように、本例においては、上記第2のモードが選択されたときには、色補正の種類として「自然な色合い」、「鮮やかな色合い」のいずれかが選択可能となっており、上記第3のモードが選択されたときには、色補正の種類として「肌色補正重視」、「コントラスト重視」のいずれかが選択可能となっている。 Here, “without color correction” is a mode that faithfully reproduces an image displayed on the display device 15 (hereinafter referred to as “first mode”), and “with color correction” is a color selected by the user. In this mode, color correction is performed according to the type of correction (target color reproduction) (hereinafter referred to as “second mode”). The “automatic color correction” is a mode (hereinafter referred to as “third mode”) in which the feature amount of the image is acquired as described above according to the type of color correction selected by the user, and color correction is performed based on the feature amount. It is said). As shown in FIG. 4, in this example, when the second mode is selected, either “natural hue” or “brilliant hue” can be selected as the type of color correction. When the third mode is selected, either “skin color correction emphasis” or “contrast emphasis” can be selected as the color correction type.
こうしてユーザにより色変換モードが選択されると、次いでプリンタドライバ32は、選択された色変換モードにて使用する色変換テーブルLUTを決定するマッピング処理を行う(ステップ110)。
When the color conversion mode is selected by the user in this manner, the
このマッピング処理は、例えば、図4に示すようなマッピングテーブルMTを参照して行われる。マッピングテーブルMTには、第1の色変換部45が実施する色補正の種類(言い換えれば、RGBデータから生成される色補正データの種類)と、第2の色変換部46が使用する色変換テーブルLUTとが関連付けられて記憶されている。なお、本例においては、上記第1のモードに対して色変換テーブルLUT1が設定され、上記第2のモードに対して上記色補正の種類(「自然な色合い」、「鮮やかな色合い」)にそれぞれ共通の色変換テーブルLUT2が設定されている。また、上記第3のモードに対しては「肌色補正重視」の色補正に対応して色変換テーブルLUT3が設定され、「コントラスト重視」の色補正に対応して色変換テーブルLUT4が設定されている。なお、ここでは第2のモードに対しては色補正の種類にそれぞれ共通の色変換テーブルLUT2を設定したが、該色補正の種類毎に設定するようにしても勿論よい。
This mapping process is performed with reference to a mapping table MT as shown in FIG. 4, for example. In the mapping table MT, the type of color correction performed by the first color conversion unit 45 (in other words, the type of color correction data generated from RGB data) and the color conversion used by the second
プリンタドライバ32は、こうしたマッピングテーブルMTを参照することで、実施する色補正の種類、つまりはユーザの所望とする色再現目的に応じて使用すべき色変換テーブルLUTを一意に決定することができる。
The
次に、プリンタドライバ32は、画像入力装置2より(アプリケーション31を介して)受け取った画像データD1を解像度変換して該変換後のRGBデータを第1の色変換部45に入力し(ステップ120)、ユーザにより選択された色変換モードに従って色補正処理を行い、同一色空間での色補正データを作成する(ステップ130)。
Next, the
次に、プリンタドライバ32は、上記色補正処理により作成したRGBの色補正データを第2の色変換部46に入力して、先のマッピング処理により決定された色変換テーブルLUTを用いて色変換処理を行い(ステップ140)、それにより作成したCMYKデータを同第2の色変換部46より出力する(ステップ150)。
Next, the
なお、ステップ140での色変換処理において、先の第1の色変換部45により実施される色補正が自動色補正である場合には、第2の色変換部46による処理も必然的に上記自動色補正に対応した処理となる。
In the color conversion process in
上記のように構成された画像処理装置3では、図5に示すように、例えば、第1のモードが選択された場合には、RGBデータの各色成分(R,G,B)が第1の色変換部45を通じてそのまま(R,G,B)の色補正データとして出力される。そして、この(R,G,B)の色補正データに対応する色変換テーブルLUT1を用いて第2の色変換部46により各色成分(C,M,Y,K)のCMYKデータに変換される。
In the
また、第2のモードが選択された場合には、RGBデータの各色成分(R,G,B)が第1の色変換部45により(R1,G1,B1)に補正される。そして、この(R1,G1,B1)の色補正データに対応する色変換テーブルLUT2を用いて第2の色変換部46により各色成分(C1,M1,Y1,K1)のCMYKデータに変換される。
When the second mode is selected, the color components (R, G, B) of the RGB data are corrected to (R 1 , G 1 , B 1 ) by the first
また、第3のモードにおいて、その色補正の種類が「肌色補正重視」である場合には、RGBデータの各色成分(R,G,B)が第1の色変換部45により(R2,G2,B2)に補正される。そして、この(R2,G2,B2)の色補正データに対応する色変換テーブルLUT3を用いて第2の色変換部46により各色成分(C2,M2,Y2,K2)のCMYKデータに変換される。
In the third mode, when the type of color correction is “important for skin color correction”, each color component (R, G, B) of the RGB data is converted to (R 2 , G 2 , B 2 ) is corrected. Then, the (R 2, G 2, B 2) of the color correction by the second
また、第3のモードにおいて、その色補正の種類が「コントラスト重視」である場合には、RGBデータの各色成分(R,G,B)が第1の色変換部45により(R3,G3,B3)に補正される。そして、この(R3,G3,B3)の色補正データに対応する色変換テーブルLUT4を用いて第2の色変換部46により各色成分(C3,M3,Y3,K3)のCMYKデータに変換される。
In the third mode, when the type of color correction is “contrast importance”, each color component (R, G, B) of RGB data is (R 3 , G) by the first
このように、本実施の形態では、各色変換モードでの色補正の種類に最適な色変換テーブルLUTを用いて色変換を行うことにより、色再現の品質を向上させることができる。
以上記述したように、本実施の形態によれば、以下の効果を奏する。
Thus, in this embodiment, the color reproduction quality can be improved by performing color conversion using the color conversion table LUT that is optimal for the type of color correction in each color conversion mode.
As described above, according to the present embodiment, the following effects can be obtained.
(1)RGBデータをそれと同一の色空間で色補正して色補正データを作成する第1の色変換部45と、該第1の色変換部45が実施した色補正の種類に基づいて複数の色変換テーブルLUT1〜LUT4の中から使用する色変換テーブルを選択し、それを用いて色補正データをCMYKデータに色変換する第2の色変換部46とを備えた。これにより、好ましい色をより十分に表現することが可能となる。即ち、こうして作成されたCMYKデータをもとに印刷データPDを作成してプリンタ4により印刷を行うことにより、優れた印字画質の画像を得ることができる。
(1) A first
(2)第1の色変換部45が実施する色補正として、所定の評価基準に従ってRGBデータから画像の特徴量を取得し、該特徴量に基づいて色補正データを作成する自動色補正を実施可能とした。これにより、色再現の品質を向上させることができる。なお、第1の色変換部45でこうした自動色補正処理を行った場合には、その後における第2の色変換部46での処理も必然的にその自動色補正に対応した処理(色変換処理)となる。即ち、本実施の形態ではRGBデータに対して自動色補正が行われた場合には、その自動色補正に最適な色変換テーブルを用いてCMYKデータへの色変換が行われることにより、自動色補正処理を最適化することができる。
(2) As the color correction performed by the first
(3)第2の色変換部46で使用する色変換テーブルLUTをマッピングテーブルMTに従って決定するようにした。このようなマッピングテーブルMTを用いれば、色補正の種類に応じて使用するべき色変換テーブルLUTを一意に決定することができる。
(3) The color conversion table LUT used in the second
なお、上記実施の形態では、以下の態様に変更した変形例を採用してもよい。
(変形例1)上記実施の形態では、コンピュータシステムよりなる画像処理装置3と、それに接続されたプリンタ4(画像形成装置)とを含む印刷システム1により印刷を実施する態様としたが、プリンタ4をスタンドアロン機として使用して、該プリンタ4単体で印刷を実施する態様としてもよい。この場合には、プリンタドライバ32をプリンタ4側にて構築し、画像処理装置3の機能を同プリンタ4により兼ねるように構成すればよい。即ち、プリンタドライバ用プログラムを例えばプリンタ4のメモリ等に格納し、同プリンタ4のCPUが上記プリンタドライバ用プログラム(上記実施の形態で述べた色変換処理を含む画像処理)を実行する構成とする。こうすれば、プリンタ4単体で印刷を実行する場合においても、好ましい色再現を十分に行って印字画質を向上させることができる。要するに、本発明にかかる画像処理装置は、プリンタ4に接続されるコンピュータシステムによっても実現可能であるし、プリンタ4にその機能を備えることで該プリンタ4によっても実現することができる。
In the above-described embodiment, a modified example changed to the following mode may be adopted.
(Modification 1) In the above embodiment, printing is performed by the printing system 1 including the
(変形例2)上記実施の形態では、第2の色変換部46で使用する色変換テーブルLUTをマッピングテーブルMTによって決定するようにしたが、こうしたテーブルを用いずに決定するようにしてもよい。
(Modification 2) In the above embodiment, the color conversion table LUT used in the second
(変形例3)上記実施の形態では、プリンタドライバ32上でユーザによる色変換モードの選択(具体的には実施する色補正の種類)を受け付ける構成としたが、アプリケーション31上で受け付ける構成としてもよい。この場合は、例えば、アプリケーション31が受け付けた色補正の種類に基づいて該アプリケーション31からコマンドCMDを送出し、プリンタドライバ32は、このコマンドCMDに基づいて使用する色変換テーブルLUTを選択するようにすればよい。
(Modification 3) In the above embodiment, the user selects the color conversion mode on the printer driver 32 (specifically, the type of color correction to be performed). Good. In this case, for example, a command CMD is transmitted from the application 31 based on the type of color correction received by the application 31, and the
(変形例4)上記実施の形態では、色補正の種類に基づいて複数の色変換テーブルLUT1〜LUT4の中から選択した何れか一つの色変換テーブルを用いて色変換処理を行うようにしたが、必ずしも一つに限定されない。例えば、色補正の種類によって、複数の色変換テーブルLUT1〜LUT4のうち2以上を使用して色変換処理を行うようにしてもよい。 (Modification 4) In the above embodiment, the color conversion process is performed using any one color conversion table selected from the plurality of color conversion tables LUT1 to LUT4 based on the type of color correction. However, it is not necessarily limited to one. For example, depending on the type of color correction, color conversion processing may be performed using two or more of the plurality of color conversion tables LUT1 to LUT4.
(変形例5)上記実施の形態では、色変換テーブルLUTの種類を固定の4種類としたが、色補正の結果に基づいて第2の色変換部46で使用する色変換テーブルLUTを作成し、該作成した色変換テーブルLUTに基づいてCMYKデータへの色変換を行うようにしてもよい。
(Modification 5) In the above embodiment, the color conversion table LUT has four fixed types. However, a color conversion table LUT used in the second
(変形例6)上記実施の形態では、色変換テーブルLUTの種類を4種類(LUT1〜LUT4)としたが、勿論、4種類に限定されるものではない。
(変形例7)上記実施の形態では、RGBからCMYKへの色変換において、C,M,Y,Kの4色としたが、勿論これらの4色に限定されない。
(Modification 6) In the above embodiment, the color conversion table LUT has four types (LUT1 to LUT4). However, the present invention is not limited to four types.
(Modification 7) In the above embodiment, four colors C, M, Y, and K are used in the color conversion from RGB to CMYK. However, the present invention is not limited to these four colors.
(変形例8)上記実施の形態では、第1の画像データをRGBデータとしたが、必ずしもRGBデータに限らず、その他の色空間による表現形式の画像データであってもよい。
(変形例9)上記実施の形態では、プリンタ4(画像形成装置)を含む印刷システム1の態様において、第2の画像データをCMYKデータとしたが、必ずしもCMYKデータに限らず、その他の色空間による表現形式の画像データであってもよい。
(Modification 8) In the above embodiment, the first image data is RGB data. However, the first image data is not limited to RGB data, and may be image data in an expression format in other color spaces.
(Modification 9) In the above embodiment, in the aspect of the printing system 1 including the printer 4 (image forming apparatus), the second image data is CMYK data. The image data may be in the form of expression.
1:印刷システム、3:画像処理装置、4:画像形成装置としてのプリンタ、32:プリンタドライバ、42:色変換部、45:第1の色変換部、46:第2の色変換部、D1:画像データ、LUT(LUT1〜LUT4):色変換テーブル、MT:マッピングテーブル、PD:印刷データ。 1: printing system, 3: image processing apparatus, 4: printer as image forming apparatus, 32: printer driver, 42: color conversion unit, 45: first color conversion unit, 46: second color conversion unit, D1 : Image data, LUT (LUT1 to LUT4): Color conversion table, MT: Mapping table, PD: Print data.
Claims (7)
前記色変換部は、
前記第1の画像データを前記第1の色空間と同一の色空間で色補正した色補正データを作成する第1の色変換部と、
前記第1の色変換部が実施する前記色補正の種類に基づいて複数の色変換テーブルのうち少なくとも一つを選択的に使用し、前記色補正データを前記第1の色空間から前記第2の色空間に色変換して前記第2の画像データを作成する第2の色変換部と、
を備えることを特徴とする画像処理装置。 An image processing apparatus including a color conversion unit that converts first image data expressed in a first color space into second image data expressed in a second color space different from the first color space. ,
The color converter is
A first color conversion unit that creates color correction data obtained by color-correcting the first image data in the same color space as the first color space;
Based on the type of color correction performed by the first color conversion unit, at least one of a plurality of color conversion tables is selectively used, and the color correction data is transferred from the first color space to the second color conversion table. A second color conversion unit that performs color conversion into the color space to create the second image data;
An image processing apparatus comprising:
請求項1記載の画像処理装置。 The color correction performed by the first color conversion unit is an automatic color that obtains a feature amount of the first image data from the first image data and creates the color correction data based on the feature amount. Is a correction,
The image processing apparatus according to claim 1.
請求項1又は2記載の画像処理装置。 A mapping table in which the type of color correction performed by the first color conversion unit and the color conversion table to be used according to the type of color correction are associated with each other and stored; The color conversion unit selectively determines one of the plurality of color conversion tables according to the mapping table as the color conversion table used in the color conversion.
The image processing apparatus according to claim 1 or 2.
請求項1乃至3のいずれか一項記載の画像処理装置。 The second image data is CMYK data.
The image processing apparatus according to claim 1.
前記画像処理装置は、
前記第1の画像データを前記第1の色空間と同一の色空間で色補正して色補正データを作成する第1の色変換部と、
前記第1の色変換部が実施する前記色補正の種類に基づいて複数の色変換テーブルのうち少なくとも一つを選択的に使用し、前記色補正データを前記第1の色空間から前記第2の色空間に色変換して前記第2の画像データを作成する第2の色変換部と、
を備えることを特徴とする印刷システム。 The first image data expressed in the first color space is converted into second image data expressed in a second color space different from the first color space, and the print data is converted from the second image data. In a printing system formed by connecting an image processing apparatus that creates an image and an image forming apparatus that performs printing based on the print data created by the image processing apparatus,
The image processing apparatus includes:
A first color conversion unit that generates color correction data by performing color correction on the first image data in the same color space as the first color space;
Based on the type of color correction performed by the first color conversion unit, at least one of a plurality of color conversion tables is selectively used, and the color correction data is transferred from the first color space to the second color conversion table. A second color conversion unit that performs color conversion into the color space to create the second image data;
A printing system comprising:
前記画像処理装置が、
前記第1の画像データを前記第1の色空間と同一の色空間で色補正して色補正データを作成する第1のステップと、
前記第1のステップで実施する前記色補正の種類に基づいて複数の色変換テーブルのうち少なくとも一つを選択的に使用し、前記色補正データを前記第1の色空間から前記第2の色空間に色変換して前記第2の画像データを作成する第2のステップと、
を実行するためのプログラム。 A program executed by an image processing device for converting first image data expressed in a first color space into second image data expressed in a second color space different from the first color space Because
The image processing apparatus is
A first step of creating color correction data by color-correcting the first image data in the same color space as the first color space;
Based on the type of color correction performed in the first step, at least one of a plurality of color conversion tables is selectively used, and the color correction data is transferred from the first color space to the second color. A second step of creating the second image data by color conversion to a space;
A program for running.
請求項6記載のプログラム。
The image processing apparatus can further execute a third step of generating print data to be supplied to the image forming apparatus by converting the second image data into binary data in an expression format based on the presence or absence of dot formation.
The program according to claim 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004288822A JP2006108773A (en) | 2004-09-30 | 2004-09-30 | Image processor, and printing system and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004288822A JP2006108773A (en) | 2004-09-30 | 2004-09-30 | Image processor, and printing system and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006108773A true JP2006108773A (en) | 2006-04-20 |
Family
ID=36378026
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004288822A Pending JP2006108773A (en) | 2004-09-30 | 2004-09-30 | Image processor, and printing system and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006108773A (en) |
-
2004
- 2004-09-30 JP JP2004288822A patent/JP2006108773A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4996338B2 (en) | Color processing method and color processing apparatus | |
JP5269042B2 (en) | Image processing apparatus, image processing method, and lookup table generation method | |
US6266152B1 (en) | Image processing method and apparatus | |
EP1589746A2 (en) | System and method for gamut mapping control | |
JP2005253072A5 (en) | ||
JP2008028679A (en) | Color conversion table, and method and device for generating the same | |
JP2002204374A (en) | Creation method for color correction table, apparatus for image processing, method therefor and recording medium | |
JP5441525B2 (en) | Image processing method and image processing apparatus | |
JP4804369B2 (en) | Image forming apparatus, image forming method, and computer program | |
JP5943666B2 (en) | Recording method, image processing apparatus, and image processing method | |
JP2007060151A (en) | Color processing method and apparatus therefor | |
JP2007060558A (en) | Color processing method and apparatus therefor, and image processing method | |
JP5402178B2 (en) | RECORDING CONTROL DEVICE, RECORDING SYSTEM, RECORDING CONTROL METHOD, AND PROGRAM | |
JP2008172436A (en) | Image processing unit, method, and program | |
JP2006108773A (en) | Image processor, and printing system and program | |
JP2009218780A (en) | Image processing method, printer, color conversion device, and color conversion program | |
JP2007251619A (en) | Apparatus, method and program for image processing | |
JP4029997B2 (en) | Color conversion apparatus, color conversion method, program, and recording medium | |
JP4983658B2 (en) | Image processing method, image processing apparatus, and image processing program | |
JP2009219062A (en) | Image processing method, printer, image processor and image processing program | |
JP2009004917A (en) | Color processing device and its method | |
JP2005065113A (en) | Image processing which is performed by using lut | |
JP2005268857A (en) | Technique of removing background of image | |
JP2007158723A (en) | Image processor and its method | |
JP5142860B2 (en) | Image processing apparatus, image processing method, and image processing program |