JP2008087224A - Printing apparatus, printing method, and printing program - Google Patents
Printing apparatus, printing method, and printing program Download PDFInfo
- Publication number
- JP2008087224A JP2008087224A JP2006267873A JP2006267873A JP2008087224A JP 2008087224 A JP2008087224 A JP 2008087224A JP 2006267873 A JP2006267873 A JP 2006267873A JP 2006267873 A JP2006267873 A JP 2006267873A JP 2008087224 A JP2008087224 A JP 2008087224A
- Authority
- JP
- Japan
- Prior art keywords
- correction
- image data
- printing
- processing
- color conversion
- 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.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims abstract description 87
- 238000012937 correction Methods 0.000 claims abstract description 220
- 238000012545 processing Methods 0.000 claims abstract description 97
- 238000006243 chemical reaction Methods 0.000 claims abstract description 90
- 238000004364 calculation method Methods 0.000 claims abstract description 25
- 230000006870 function Effects 0.000 claims description 5
- 238000005070 sampling Methods 0.000 claims description 5
- 238000004590 computer program Methods 0.000 claims 1
- 238000003702 image correction Methods 0.000 abstract description 30
- 238000010586 diagram Methods 0.000 description 5
- 239000003086 colorant Substances 0.000 description 3
- 239000002131 composite material Substances 0.000 description 3
- 230000006835 compression Effects 0.000 description 3
- 238000007906 compression Methods 0.000 description 3
- 238000007796 conventional method Methods 0.000 description 3
- 230000006837 decompression Effects 0.000 description 3
- 238000009792 diffusion process Methods 0.000 description 3
- 239000011521 glass Substances 0.000 description 3
- 239000011159 matrix material Substances 0.000 description 3
- 238000013139 quantization Methods 0.000 description 3
- 239000007787 solid Substances 0.000 description 3
- 238000003384 imaging method Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000009897 systematic effect Effects 0.000 description 2
- 230000007423 decrease Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Landscapes
- Color, Gradation (AREA)
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
Abstract
【課題】補正処理および色変換処理を効率的に実行することが可能な印刷装置を提供すること。
【解決手段】画像データに補正処理を施すか否かを判定する判定手段(コアモジュール80)と、施すと判定された場合には、補正パラメータを算出する算出手段(補正パラメータ算出部20i)と、算出された補正パラメータに基づいて画像データの補正処理を実行する第1の補正手段(画像補正モジュール82)と、施さないと判定された場合には、固定の補正パラメータに基づいて画像データの補正処理を実行する第2の補正手段(画像補正モジュール82)と、第1または第2の補正手段によって補正処理が実行された画像データに対して、3次元ルックアップテーブルに基づいて色変換処理を施す変換手段(色変換モジュール84)と、色変換が施された画像データを印刷用紙に印刷する印刷手段(プリント機構50)と、を有する。
【選択図】図2A printing apparatus capable of efficiently executing correction processing and color conversion processing is provided.
A determination unit (core module 80) that determines whether or not to perform correction processing on image data, and a calculation unit (correction parameter calculation unit 20i) that calculates a correction parameter if it is determined to perform correction processing. The first correction means (image correction module 82) that executes the correction process of the image data based on the calculated correction parameter, and if it is determined not to perform the correction, the image data is corrected based on the fixed correction parameter. Color conversion processing based on a three-dimensional lookup table for second correction means (image correction module 82) that executes correction processing and image data that has been corrected by the first or second correction means Conversion means (color conversion module 84) for performing the above-described processing, and printing means (printing mechanism 50) for printing the color-converted image data on the printing paper. .
[Selection] Figure 2
Description
本発明は、印刷装置、印刷方法、および、印刷用プログラムに関する。 The present invention relates to a printing apparatus, a printing method, and a printing program.
コンピュータなどの画像機器を用いて作成されたカラーの画像データや、ディジタルカメラなどの撮像機器で撮影したカラーの画像データを出力する出力機器として、カラープリンタが広く使用されている。 2. Description of the Related Art Color printers are widely used as output devices that output color image data created using an image device such as a computer or color image data captured by an imaging device such as a digital camera.
近年、特許文献1に示すように、例えば、人間の肌の色が自然な発色となるように画像データに補正処理を施した後に、印刷することが行われている。このような補正処理は、一般的には、RGB表色系の画像データをサンプリングして統計情報を生成し、得られた統計情報に基づいて実行される。 In recent years, as shown in Patent Document 1, for example, printing is performed after performing correction processing on image data so that the color of human skin becomes a natural color. Such correction processing is generally executed based on the obtained statistical information by sampling RGB color system image data to generate statistical information.
カラープリンタでは、カラーの画像データは、例えば、CMYK(Cyan Magenta Yellow Black)表色系を用いて表現される。一方、ディジタルカメラやコンピュータ等では、カラーの画像データは、RGB(Red Green Blue)表色系を用いて表現される。したがって、ディジタルカメラやコンピュータ等によって生成された画像データをカラープリンタによって印刷する場合には、表色系を変換する必要がある。これらの表色系を変換する場合、RGB表色系とCMYK表色系の対応関係を示すルックアップテーブルを参照して行われることが一般的である。 In a color printer, color image data is expressed using, for example, a CMYK (Cyan Magenta Yellow Black) color system. On the other hand, in digital cameras, computers, and the like, color image data is expressed using an RGB (Red Green Blue) color system. Therefore, when printing image data generated by a digital camera, a computer, or the like with a color printer, it is necessary to convert the color system. When converting these color systems, the conversion is generally performed with reference to a look-up table indicating the correspondence between the RGB color system and the CMYK color system.
ところで、前述した補正処理を実行しない場合であっても、従来、画像の見栄えをよくする目的で、前述したルックアップテーブルとして特殊なもの(色変換の際により見栄えのよい色に変換するもの)を使用することが行われていた。すなわち、補正無しと補正有りの場合のそれぞれについて2種類のルックアップテーブルを用いて、色変換処理がなされていた。 By the way, even when the above-described correction processing is not executed, conventionally, for the purpose of improving the appearance of the image, a special table is used as the above-described lookup table (the color is converted into a better-looking color at the time of color conversion). It was done to use. In other words, color conversion processing has been performed using two types of lookup tables for each of cases where there is no correction and whether there is correction.
しかしながら、ルックアップテーブルは、印刷用紙の種類、インクの種類、および、解像度の組み合わせに応じて準備する必要がある。したがって、補正無しと補正有りのそれぞれについてこれらの組み合わせに対応できるだけのルックアップテーブルを準備するためには、当該テーブルを格納するための記憶領域を確保する必要があるという問題点がある。また、それによるコストアップも問題となる。 However, the lookup table needs to be prepared according to the combination of the type of printing paper, the type of ink, and the resolution. Therefore, in order to prepare a look-up table that can cope with these combinations for each case without correction and with correction, there is a problem that it is necessary to secure a storage area for storing the table. Moreover, the cost increase by that also becomes a problem.
本発明は、上記の事情に基づきなされたもので、その目的とするところは、補正処理および色変換処理を効率的に実行することが可能な印刷装置、印刷方法、印刷方法、および、印刷用プログラムを提供しよう、とするものである。 The present invention has been made based on the above circumstances, and the object of the present invention is to provide a printing apparatus, a printing method, a printing method, and a printing device capable of efficiently executing correction processing and color conversion processing. It is intended to provide a program.
上述の目的を達成するため、本発明の印刷装置は、印刷処理の対象となる画像データに対して補正処理を施すか否かを判定する判定手段と、判定手段によって補正処理を施すと判定された場合には、画像データに対する補正パラメータを算出する算出手段と、算出手段によって算出された補正パラメータに基づいて画像データの補正処理を実行する第1の補正手段と、判定手段によって補正処理を施さないと判定された場合には、固定の補正パラメータに基づいて画像データの補正処理を実行する第2の補正手段と、第1または第2の補正手段によって補正処理が実行された画像データに対して、共通の色変換情報に基づいて色変換処理を施す変換手段と、変換手段によって色変換が施された画像データを印刷用紙に印刷する印刷手段と、を有する。このため、補正処理および色変換処理を効率的に実行することが可能な印刷装置を提供することができる。 In order to achieve the above-described object, the printing apparatus of the present invention is determined to determine whether or not to perform correction processing on image data to be subjected to print processing, and to be determined to perform correction processing by the determination device. In such a case, the calculation unit that calculates the correction parameter for the image data, the first correction unit that executes the correction process of the image data based on the correction parameter calculated by the calculation unit, and the correction unit perform the correction process. If it is determined that there is no correction, the second correction unit that executes the correction process of the image data based on the fixed correction parameter, and the image data that has been corrected by the first or second correction unit Conversion means for performing color conversion processing based on the common color conversion information, and printing means for printing the image data color-converted by the conversion means on printing paper. To. Therefore, it is possible to provide a printing apparatus that can efficiently execute the correction process and the color conversion process.
また、他の発明の印刷装置は、上述の発明に加えて、第2の補正手段が、明度、コントラスト、および、彩度の少なくとも1つを増加させる補正処理を実行するようにしている。このため、補正処理を実行しない場合であっても見栄えのよい印刷画像を得ることができる。 In addition to the above-described invention, in the printing apparatus according to another invention, the second correction unit executes a correction process for increasing at least one of brightness, contrast, and saturation. For this reason, even if it is a case where correction processing is not performed, a good-looking print image can be obtained.
また、他の発明の印刷装置は、上述の発明に加えて、第2の補正手段が、入出力特性を示すトーンカーブの特性を変更することにより、補正処理を実行するようにしている。このため、トーンカーブを変更することで、画像の種々の効果を与えることが可能になる。 In addition to the above-described invention, in the printing apparatus of another invention, the second correction unit executes the correction process by changing the characteristic of the tone curve indicating the input / output characteristic. For this reason, various effects of the image can be given by changing the tone curve.
また、他の発明の印刷装置は、上述の発明に加えて、第2の補正手段が、印刷用紙の種類に応じた補正パラメータを有しており、印刷しようとする印刷用紙に応じて、補正パラメータを選択するようにしている。このため、どのような印刷用紙を使用した場合でも見栄えのよい印刷画像を得ることができる。 In addition to the above-described invention, in the printing apparatus of another invention, the second correction unit has a correction parameter corresponding to the type of printing paper, and the correction is made according to the printing paper to be printed. The parameter is selected. For this reason, it is possible to obtain a good-looking print image regardless of what kind of printing paper is used.
また、他の発明の印刷装置は、上述の発明に加えて、変換手段が、色変換情報を複数有しており、印刷手段が用いるインクの種類、印刷用紙の種類、および/または、印刷解像度に応じて、色変換情報を選択するようにしている。このため、どのようなインクの種類、印刷用紙の種類、印刷解像度を選択した場合であっても、見栄えのよい印刷画像を得ることができる。 In addition to the above-described invention, the printing device according to another invention includes a plurality of color conversion information in the conversion unit, and the type of ink used by the printing unit, the type of printing paper, and / or the printing resolution. Depending on the color conversion information, the color conversion information is selected. For this reason, it is possible to obtain a good-looking print image regardless of the type of ink, the type of printing paper, and the printing resolution.
また、他の発明の印刷装置は、上述の発明に加えて、補正パラメータが、画像データをサンプリングして得られた情報に基づいて算出手段によって算出され、固定の補正パラメータが、画像データとは独立した固定のパラメータとしている。このため、補正を行う場合には、画像データに基づいて最適な補正を行うとともに、画像データに基づく補正を行わない場合でも、固定のパラメータに基づいて、画像の見栄えをよくする補正を行うことができる。 In addition to the above-described invention, the printing apparatus according to another aspect of the invention calculates the correction parameter based on information obtained by sampling the image data, and the fixed correction parameter is the image data. Independent fixed parameters. For this reason, when correction is performed, optimal correction is performed based on the image data, and even when correction based on the image data is not performed, correction that improves the appearance of the image is performed based on a fixed parameter. Can do.
また、本発明の印刷方法は、印刷処理の対象となる画像データに対して補正処理を施すか否かを判定し、補正処理を施すと判定した場合には、画像データに対する補正パラメータを算出し、算出された補正パラメータに基づいて画像データの補正処理を実行し、一方、補正処理を施さないと判定した場合には、固定の補正パラメータに基づいて画像データの補正処理を実行し、算出された補正パラメータまたは固定の補正パラメータに基づいて補正処理が実行された画像データに対して、共通の色変換情報に基づいて色変換処理を施し、色変換が施された画像データを印刷用紙に印刷するようにしている。このため、補正処理および色変換処理を効率的に実行することが可能な印刷方法を提供することができる。 Further, the printing method of the present invention determines whether or not to perform the correction process on the image data to be subjected to the printing process, and calculates the correction parameter for the image data when it is determined to perform the correction process. The image data correction process is executed based on the calculated correction parameter. On the other hand, if it is determined that the correction process is not performed, the image data correction process is executed based on the fixed correction parameter. The image data that has been subjected to the correction process based on the correction parameter or the fixed correction parameter is subjected to the color conversion process based on the common color conversion information, and the color-converted image data is printed on the printing paper. Like to do. Therefore, it is possible to provide a printing method capable of efficiently executing the correction process and the color conversion process.
また、本発明の印刷用プログラムは、コンピュータを、印刷処理の対象となる画像データに対して補正処理を施すか否かを判定する判定手段、判定手段によって補正処理を施すと判定された場合には、画像データに対する補正パラメータを算出する算出手段、算出手段によって算出された補正パラメータに基づいて画像データの補正処理を実行する第1の補正手段、判定手段によって補正処理を施さないと判定された場合には、固定の補正パラメータに基づいて画像データの補正処理を実行する第2の補正手段、第1または第2の補正手段によって補正処理が実行された画像データに対して、共通の色変換情報に基づいて色変換処理を施す変換手段、変換手段によって色変換が施された画像データを印刷用紙に印刷する印刷手段、として機能させる。このため、補正処理および色変換処理を効率的に実行することが可能な印刷用プログラムを提供することができる。 Further, the printing program of the present invention provides a determination unit that determines whether or not the computer performs correction processing on image data to be printed, and when the determination unit determines that correction processing is to be performed. Is determined to be not subjected to the correction process by the calculation means for calculating the correction parameter for the image data, the first correction means for executing the correction process of the image data based on the correction parameter calculated by the calculation means, and the determination means. In this case, the second correction unit that executes the correction process of the image data based on the fixed correction parameter, the common color conversion for the image data that has been corrected by the first or second correction unit. Function as conversion means for performing color conversion processing based on information, and printing means for printing image data color-converted by the conversion means on printing paper To. Therefore, it is possible to provide a printing program that can efficiently execute the correction process and the color conversion process.
以下、本発明の一実施の形態について、図面を参照して説明する。 Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
図1は、本発明の実施の形態に係る印刷装置の構成例を示す外観図である。この図1に示すように、印刷装置10は、スキャナ装置、印刷装置、および、コピー装置が一体となったいわゆる複合型の印刷装置である。ここで、印刷装置10は、装置全体を覆うケース11と、印刷用紙を供給する給紙装置(不図示)と、原稿が載置される透明なコンタクトガラス13およびキャリッジ14等を有するスキャナ装置と、印刷用紙に対して印刷を行う印刷部(不図示)とを備える。なお、本発明の印刷方法、および、印刷用プログラムについては印刷装置10の動作として説明する。
FIG. 1 is an external view showing a configuration example of a printing apparatus according to an embodiment of the present invention. As shown in FIG. 1, a
ケース11は、略四角形状の箱体であり、その上部には開閉自在の蓋12が設けられている。蓋12を開けると、原稿が載置されるコンタクトガラス13が現れる。コンタクトガラス13の内側には、後述する光源60aおよび受光部60bが設けられたキャリッジ14が存在する。キャリッジ14を副走査方向(図中矢印で示す方向)に移動させることにより、原稿に印刷されている情報を画像データとして読み取る。なお、スキャナ装置は、キャリッジ14が副走査方向に移動しながら固定された原稿を読み取る、いわゆるフラットベットタイプ(原稿固定型)のスキャナである。
The
ケース11の前面中央部には、LCD(Liquid Crystal Display)40aが配置され、その上に重畳するようにタッチパネル30bが配置されている。また、その周辺には各種操作ボタン30aが配置されている。LCD40aには、印刷装置10のメニュー、動作内容、動作状況、エラー内容などが表示され、操作ボタン30aは、印刷装置10のメニュー選択等を行う時に押されるようになっている。
An LCD (Liquid Crystal Display) 40a is disposed at the center of the front surface of the
ケース11は、前面下部に、排出口17を備え、印刷された印刷用紙が排出されるようになっている。また、ケース11の前面右側中央部には、カードスロット18が設けられており、例えば、図示せぬディジタルカメラなどによって撮影された画像データを記録するメモリカード70が、取り外し自在に収納されるようになっている。なお、この例では、カードスロット18には蓋部18aが設けられており、メモリカード70を挿入する場合には、当該蓋部18aを開閉する。メモリカード70には、例えば、非可逆圧縮方式としてのJPEG形式または可逆圧縮方式としてのTIFF形式によって圧縮された画像データが格納されている。
The
図示せぬ給紙装置は、ケース11の背面側に設けられており、印刷用紙をストックするとともに、必要に応じて印刷装置10の内部に印刷用紙を一枚ずつ供給する。
A paper feeding device (not shown) is provided on the back side of the
図2は、印刷装置10の電気的な構成例を示すブロック図である。この図に示すように、印刷装置10は、メイン制御部20、情報入力部30、情報出力部40、プリント機構50、および、スキャン機構60を主要な構成要素としている。
FIG. 2 is a block diagram illustrating an electrical configuration example of the
ここで、メイン制御部20は、入出力制御部20a、カードI/F(Interface)20b、制御部20c、メモリ20d、画像処理部20e、プリンタ制御部20f、バッファ20g、スキャナ制御部20h、補正パラメータ算出部20i、色変換情報としての3D−LUT(3次元ルックアップテーブル(3 Dimensional Look Up Table))20j、および、固定補正パラメータ20kを主要な構成要素としており、情報入力部30から入力された情報に基づいて、情報出力部40、プリント機構50、および、スキャン機構60等を制御する。
The
より詳細には、入出力制御部20aは、情報入力部30および情報出力部40との間で情報を授受する際にデータの表現形式を適宜変換するインタフェースである。カードI/F20bは、メモリカード70が挿入された場合には、メモリカード70から画像データを読み出したり、画像データを書き込んだりする処理を実行する。メモリカード70は、例えば、フラッシュメモリ等によって構成され、例えば、図示せぬディジタルカメラによって撮影された画像データを記憶する。
More specifically, the input /
制御部20cは、例えば、CPU(Central Processing Unit)によって構成され、メモリ20dに記憶されているプログラム20d1に基づいて装置の各部を制御する。画像処理部20eは、制御部20cから供給された画像データに対して、復号処理および画像補正処理等を施す。プリンタ制御部20fは、プリント機構50を制御し、画像データ等を印刷用紙に印刷する。バッファ20gは、プリンタ制御部20fに供給する画像データを一時的に格納するとともに、スキャナ制御部20hから供給される画像データを一時的に格納する。スキャナ制御部20hは、スキャン機構60を制御し、印刷用紙に印刷された画像データを光学的に読み込む処理を実行する。
The control unit 20c is configured by, for example, a CPU (Central Processing Unit), and controls each unit of the apparatus based on a program 20d1 stored in the
算出手段としての補正パラメータ算出部20iは、画像データに対する自動補正処理が設定されている場合には、指示に応じた補正パラメータを算出する。すなわち、補正パラメータ算出部20iは、画像データをサンプリングし、サンプリングの結果として得られた情報に基づいて算出されるパラメータである。3D−LUT20jは、後述するように、画像データを色変換する際に参照されるテーブルであり、RGB表色系をCMYK表色系に変換するための情報を有している。固定補正パラメータ20kは、予め定められた固定の補正パラメータを有している。
The correction parameter calculation unit 20i as a calculation unit calculates a correction parameter according to an instruction when automatic correction processing for image data is set. That is, the correction parameter calculation unit 20i is a parameter calculated based on information obtained as a result of sampling the image data. As will be described later, the 3D-
情報入力部30は、操作ボタン30aおよびタッチパネル30bを主要な構成要素とし、ユーザの操作に基づく情報を生成して出力する。ここで、操作ボタン30aは、操作パネル等に配置されたボタンであり、ユーザの操作に応じた情報を生成して出力する。タッチパネル30bは、LCD(Liquid Crystal Display)40aに重畳するように配置され、LCD40aに表示された情報に基づいて、タッチパネル30bを操作することにより、操作された位置に対応する位置情報が出力される。
The
情報出力部40は、LCD40aおよびランプ40bを主要な構成要素とし、ユーザに提示する情報を出力する。ここで、LCD40aは、前述したようにタッチパネル30bと重畳されており、制御部20cから供給された画像データ等を表示する。ランプ40bは、操作パネル等に配置されており、制御部20cの制御に応じて点灯/消灯することにより、所定の情報をユーザに示す。
The information output unit 40 includes the
印刷手段としてのプリント機構50は、記録ヘッド50a、走査部50b、および、用紙搬送部50cを主要な構成要素としており、制御部20cから供給された画像データを、印刷用紙に印刷する。ここで、記録ヘッド50aは、例えば、CMYKに対応する各色のインクを複数のノズルから適宜吐出し、印刷用紙に対応する画像を印刷する。走査部50bは、記録ヘッド50aを主走査方向(各色のノズル列に直交する方向)に移動させる。用紙搬送部50cは、印刷用紙を副走査方向(各色のノズル列に平行な方向)に移動させる。
A
スキャン機構60は、光源60a、受光部60b、および、走査部60cを主要な構成要素としており、原稿に印刷された画像を光学的に読み取って、対応する画像データを生成して出力する。ここで、光源60aは、例えば、冷陰極管によって構成され、原稿の読み取ろうとする領域に対して白色光を照射する。受光部60bは、光源60aによって照射され、原稿によって反射された光を受光して対応する電気信号に変換するCCD(Charge Coupled Device)等によって構成される。走査部60cは、受光部60bを副走査方向(受光部の長手方向に直交する方向(図1の矢印の方向))に移動させる。
The
図3は、図2に示すソフトウエアとしてのプログラム20d1と、制御部20cを始めとするハードウエアとが協働することにより実現される機能ブロックを示している。この図に示すように、機能ブロックとしては、コアモジュール80、解像度変換モジュール81、画像補正モジュール82、色変換モジュール84、階調数変換モジュール85、インターレースモジュール86、補正パラメータ算出部20i、3D−LUT20j、および、固定補正パラメータ20kを有している。
FIG. 3 shows functional blocks realized by the cooperation of the program 20d1 as the software shown in FIG. 2 and hardware including the control unit 20c. As shown in this figure, the functional blocks include a core module 80, a
ここで、判定手段としてのコアモジュール80は、各モジュールのコア(核)となるモジュールであり、このモジュールによって各モジュールを結びつけることによって後述する処理を実行する。解像度変換モジュール81は、コアモジュール80から供給された画像データの解像度を、プリント機構50が印刷するための解像度に変換する処理を行うモジュールである。補正パラメータ算出部20iは、図2に示すものと同一であり、画像データを補正する場合のパラメータを算出する。第1の補正手段および第2の補正手段としての画像補正モジュール82は、補正パラメータ算出部20iまたは固定補正パラメータ20kから供給された補正パラメータに基づいて画像データに対して補正処理を施すモジュールである。
Here, the core module 80 serving as a determination unit is a module serving as a core (core) of each module, and a process described later is executed by connecting the modules by this module. The
固定補正パラメータ20kは、印刷条件として補正処理を実行しないことが設定された場合に、予め記憶されている固定補正パラメータを画像補正モジュール82に供給する。すなわち、固定補正パラメータ20kは、予め定められたパラメータであり、画像データには依存しない独立のパラメータである。変換手段としての色変換モジュール84は、3D−LUT20jを参照し、RGB表色系で表現される画像データを、CMYK表色系に変換する処理を実行する。3D−LUT20jは、図2に示すものと同一であり、色変換を実行する際に必要な情報(詳細は後述する)を有している。階調数変換モジュール85は、色変換モジュール84によって色変換が施された画像データ(256階調のデータ)を、プリント機構50の表現可能な階調数に変換する処理を実行するモジュールである。
The fixed
インターレースモジュール86は、プリント機構50によって画像データを印刷する際に、記録ヘッド50aによってドットを形成する順序を考慮して、画像データを並べ替えする処理を行うモジュールである。
The interlace module 86 is a module that performs processing for rearranging image data in consideration of the order in which dots are formed by the
つぎに、以上の実施の形態の動作について説明する。以下では、図4を参照して、本発明の実施の形態の動作の概要について説明した後、図5〜7に基づいて、詳細な動作について説明する。 Next, the operation of the above embodiment will be described. Below, with reference to FIG. 4, after demonstrated the outline | summary of operation | movement of embodiment of this invention, detailed operation | movement is demonstrated based on FIGS.
まず、図4を参照して、本発明の実施の形態の動作の概要について説明する。図4(A)は、本発明の実施の形態の動作の概要を説明する図である。この図に示すように、本発明の実施の形態では、まず、画像補正の有無が判断され(P10)、補正処理を実行する場合(Y)には、補正パラメータ算出部20iによって画像データに応じた補正パラメータが算出され(P11)、画像補正モジュール82によって画像補正処理が実行される(P12)。そして、画像補正処理が施された画像データは、色変換モジュール84により3D−LUT20jが参照されて(P15)色変換が施される(P16)。一方、補正処理を実行しない場合は、固定補正パラメータ20kを参照して(P14)、画像補正モジュール82により補正処理が実行される(P13)。そして、画像補正が施された画像データは、前述の場合と同様に、色変換モジュール84により3D−LUT20jが参照されて(P15)色変換が施される(P16)。
First, the outline of the operation of the embodiment of the present invention will be described with reference to FIG. FIG. 4A is a diagram for explaining the outline of the operation according to the embodiment of the present invention. As shown in this figure, in the embodiment of the present invention, first, the presence / absence of image correction is determined (P10), and when correction processing is executed (Y), the correction parameter calculation unit 20i responds to the image data. The correction parameters are calculated (P11), and image correction processing is executed by the image correction module 82 (P12). Then, the image data subjected to the image correction processing is subjected to color conversion by referring to the 3D-
図4(B)は、従来における動作の概要を説明する図である。この図に示すように、従来の方法では、まず、画像補正の有無が判断され(P20)、補正処理を実行する場合(Y)には、画像データに応じた補正パラメータが算出され(P21)、画像補正処理が実行される(P22)。そして、画像補正処理が施された画像データは、補正処理有り用の3D−LUTが参照されて(P23)色変換が施される(P24)。一方、補正処理を実行しない場合は、補正処理は実行されずに、補正無し用の3D−LUTが参照されて(P26)色変換が施される(P25)。なお、補正無し用3D−LUTは、色変換処理と併せて画質改善処理を実行するので、このLUTを用いることにより見栄えのよい印刷画像を得る。 FIG. 4B is a diagram for explaining the outline of the conventional operation. As shown in this figure, in the conventional method, first, the presence / absence of image correction is determined (P20), and when correction processing is executed (Y), correction parameters corresponding to the image data are calculated (P21). Then, image correction processing is executed (P22). Then, the image data subjected to the image correction process is subjected to color conversion with reference to the 3D-LUT for correction process (P23) (P24). On the other hand, when the correction process is not executed, the correction process is not executed, and the 3D-LUT for no correction is referred to (P26) and color conversion is performed (P25). Note that the 3D-LUT for no correction executes image quality improvement processing in combination with color conversion processing, so that a good-looking print image is obtained by using this LUT.
これらの比較から、図4(B)に示す従来の方法においては、補正処理を実行する場合には、補正有り用の3D−LUTを参照して色変換処理を実行し、一方、補正処理を実行しない場合には、補正無し用の3D−LUTを参照して色変換処理を実行している。このため、補正有り用と補正無し用の2種類の3D−LUTが必要になる。3D−LUTは、印刷用紙の種類、インクの種類等に応じて準備する必要があるため、これらの組み合わせを考慮すると、多くの3D−LUTが必要になり、メモリの記憶容量を要する。 From these comparisons, in the conventional method shown in FIG. 4B, when executing the correction process, the color conversion process is executed with reference to the 3D-LUT for correction, while the correction process is executed. When not executed, the color conversion processing is executed with reference to the 3D-LUT for no correction. For this reason, two types of 3D-LUTs with and without correction are required. Since the 3D-LUT needs to be prepared according to the type of printing paper, the type of ink, and the like, considering these combinations, a large number of 3D-LUTs are required, and the storage capacity of the memory is required.
一方、図4(A)に示す本発明の実施の形態では、従来の補正無し用3D−LUTによって実行していた画質改善処理を、画像補正モジュール82による画像補正処理(P13)によって代替している。これにより、補正有りの場合と無しの場合で共通の3D−LUTを使用することが可能になるため、図4(B)の場合の補正無し用の3D−LUTを省略することができる。メモリの必要な記憶容量を削減できる。
On the other hand, in the embodiment of the present invention shown in FIG. 4A, the image quality improvement processing executed by the conventional 3D-LUT for no correction is replaced by image correction processing (P13) by the
つぎに、図5を参照して、本発明の実施の形態の詳細な動作について説明する。図5は、図2に示す実施の形態において、メモリカード70に格納されている所定の画像データが選択されて印刷が指示された場合に実行される処理である。なお、以下の処理は、図2に示すメモリ20dに格納されているプログラム20d1が実行されることにより、ソフトウエアとしてのプログラム20d1と制御部20cを始めとするハードウエアとが協働することにより実現される。
Next, the detailed operation of the embodiment of the present invention will be described with reference to FIG. FIG. 5 shows processing executed when predetermined image data stored in the
ステップS10:ユーザが操作ボタン30aまたはタッチパネル30bを操作することにより、メモリカード70に記憶されている所定の画像データを選択すると、制御部20cは、当該画像データをメモリカード70から取得し、LCD40aに表示させる。具体的には、制御部20cは、JPEG圧縮が施されている画像データをメモリカード70から取得し、画像処理部20eに供給する。画像処理部20eは、供給された画像データに対して、ハフマン解凍、逆量子化処理、逆DCT(Discrete Cosine Transform)処理、および、色変換(YCCからRGBへの変換)処理等を施して復号する。そして、LCD40aの表示サイズに応じて、画像データの間引き処理を実行し、得られた画像データを映像信号に変換した後、入出力制御部20aを介してLCD40aに供給して表示させる。
Step S10: When the user selects predetermined image data stored in the
ステップS11:ユーザが、LCD40aに表示されている画像を参照して目的の画像であることを了解した場合には、制御部20cは、LCD40aにグラフィカルユーザインタフェース(GUI)を表示し、印刷条件の設定を受ける。すなわち、制御部20cは、印刷解像度、印刷用紙の種類、インクの種類、画像補正の要否およびその種類についての設定を受ける。より詳細には、印刷解像度としては、単位長さあたり何ドットの解像度で印刷するかを指定する。一般には、高解像度で印刷するほど印刷画質は高画質となるが、印刷に要する時間は増加する傾向がある。印刷解像度としては、通常は、標準で設定されている値が使用されるが、必要に応じて印刷者が印刷解像度を設定することも可能となっている。印刷用紙の種類としては、印刷装置10にセットしている印刷用紙の種類を設定する。印刷用紙の種類は、原則として印刷用紙の商品名を設定する必要があるが、プリンタメーカが推奨している標準の印刷用紙であれば、「光沢紙」あるいは「専用光沢紙」といった設定を選択することもできる。この実施の形態では、「普通紙」および「専用紙」からいずれかを選択する。インクの種類としては、印刷装置10に現在搭載しているインクの種類を設定する。インクの種類はインクカートリッジの側面に記載されているので、この値を入力する。インクカートリッジの中にはICチップが埋め込まれていて、ICチップに、インク種類や製造年月日などの情報を記憶しているものもある。印刷装置10がICチップを搭載したインクカートリッジに対応していて、搭載されているインクカートリッジからICチップ内の情報を読み出すことができる場合には、インク種類の情報は自動的に読み込まれる。
Step S11: When the user understands that the image is the target image by referring to the image displayed on the
画像補正の要否およびその種類としては、例えば、画像補正として「補正処理有り」および「補正処理無し」の中から選択する。ここで、補正処理とは、画像データの属性情報に基づいて、印刷装置10が自動的に補正処理を実行することをいう。なお、属性情報としては、画像データを直接サンプリングして得た統計値情報等を利用することができる。これ以外にも、例えば、PIM(Print Image Matching)情報、Exif(Exchangeable Image File Format)のヘッダに含まれている情報を用いることができる。また、ユーザがマニュアル操作によって補正内容を直接設定する手動による補正処理を「補正処理有り」に含めるようにしてもよい。一方、補正処理無しとは、前述した補正処理を実行しないことをいう。以上のようにして入力された情報は、コアモジュール80に供給される。
The necessity of image correction and the type thereof are selected, for example, from “with correction processing” and “without correction processing” as image correction. Here, the correction process means that the
ステップS12:解像度変換モジュール81は、ステップS10の処理によって選択された画像データの解像度を、プリント機構50が印刷用紙に印刷する際の解像度(以下、「印刷解像度」と称する)に変換する処理を実行する。具体的には、解像度変換モジュール81は、画像データの解像度が印刷解像度よりも低い場合には、線形補間を行って隣接画像データ間に新たなデータを生成し、逆に印刷解像度よりも高い場合には、一定の割合でデータを間引くことによって画像データの解像度を印刷解像度に変換する。
Step S12: The
ステップS13:コアモジュール80は、ステップS11で取得した印刷条件を参照して「補正処理有り」の設定になっているか否かを判定し、補正処理有りの設定になっている場合にはステップS16に進み、それ以外の場合にはステップS14に進む。例えば、補正処理無しの設定になっている場合にはステップS14に進む。 Step S13: The core module 80 refers to the printing conditions acquired in step S11 to determine whether or not “correction processing is present” is set. If the correction processing is present, step S16 is performed. Otherwise, go to step S14. For example, if no correction processing is set, the process proceeds to step S14.
ステップS14:画像補正モジュール82は、印刷条件に応じたパラメータを固定補正パラメータ20kから取得する。ここで、固定補正パラメータとは、図4(B)に示す補正無し用3D−LUTを用いて実行される色変換処理に代替する処理を行うためのパラメータである。
Step S14: The
図6は、普通紙と専用紙それぞれに対する固定補正パラメータ20kの内容を示す図である。この図に示すように、普通紙ではコントラストは不変(+0)とされ、明度は“34”増加され、彩度は“5”増加される。また、入出力特性を示すトーンカーブについては、入力(IN)の“45”および“195”がそれぞれ出力(OUT)の“182”および“36”に写像されるように調整される。図7(A)は、普通紙の補正に用いるトーンカーブを示している。この図の横軸は階調値の入力(IN)を、縦軸は階調値の出力(OUT)を示している。また、入出力の特性を示すトーンカーブは、座標(45,36)および座標(195,182)を通る曲線となっている。これにより、中間部分の明るさが抑制された画像となる。
FIG. 6 is a diagram showing the contents of the fixed
一方、専用紙ではコントラストは“2”増加され、明度は“27”増加され、彩度は“5”増加される。また、トーンカーブについては、入力(IN)の“195”が出力(OUT)の“182”に写像されるように調整される。図7(B)は、専用紙の補正に用いる階調値のトーンカーブを示している。入出力の特性を示すトーンカーブは、座標(195,182)を通る曲線となっている。これにより、中間部分よりも上側の明るさが抑制された画像となる。 On the other hand, in the special paper, the contrast is increased by “2”, the lightness is increased by “27”, and the saturation is increased by “5”. The tone curve is adjusted so that “195” of the input (IN) is mapped to “182” of the output (OUT). FIG. 7B shows a tone curve of gradation values used for correction of dedicated paper. The tone curve indicating the input / output characteristics is a curve passing through the coordinates (195, 182). Thereby, an image in which the brightness above the intermediate portion is suppressed is obtained.
なお、以上に示す補正処理の内容は一例であって、このような内容のみに本発明が限定されるものではない。例えば、コントラスト、明度、および、彩度の補正値を図6に示す以外の値に設定してもよい。また、コントラスト、明度、および、彩度の全てを補正するのではなく、これらのいずれかまたは複数の組み合わせによって補正するようにしてもよい。さらに、図7に示すトーンカーブについても、図示するカーブは一例であって、これ以外の特性を有するものであってもよい。あるいは、トーンカーブによる補正を行わないようにしてもよい。最適な補正であるか否かは、用紙の特性、インクの特性等によって決定されるので、種々の態様が考えられる。また、最適か否かはユーザの嗜好性にも左右されることから、固定補正パラメータ20kをユーザによって自由に編集できるようにしてもよい。
Note that the content of the correction processing described above is an example, and the present invention is not limited to such content. For example, the contrast, brightness, and saturation correction values may be set to values other than those shown in FIG. Further, not all of the contrast, brightness, and saturation may be corrected, but correction may be performed by any one or a combination of these. Further, with respect to the tone curve shown in FIG. 7, the curve shown is merely an example, and may have other characteristics. Alternatively, the correction using the tone curve may not be performed. Whether or not the correction is optimal is determined by the characteristics of the paper, the characteristics of the ink, and the like, so various modes are conceivable. In addition, since whether or not it is optimal depends on the user's preference, the fixed
ステップS15:画像補正モジュール82は、ステップS14で取得した固定補正パラメータ20kに基づいて、画像データに対して補正処理を実行する。具体的には、ステップS14で取得した固定補正パラメータ20k(図6参照)に基づいて、画像データのコントラスト、明度、および、彩度を増加させる補正を行うとともに、図7に示すトーンカーブに応じて画像の明るさを調整する。
Step S15: The
コントラストを増加させる補正としては、S字の入出力特性を有するトーンカーブを用いて画素値を変換することにより実現できる。明度を増加させる補正としては、例えば、画像内の全画素に対して、指定された値だけ画素値を増加して出力することにより実現できる。彩度を増加させる補正としては、例えば、補正前の画素値をR,G,Bとし、補正後の画素値をR’,G’,B’とし、輝度をY(=0.30R+0.59G+0.11B)とし、また、補正係数をα(>1)とすると、R’,G’,B’と、R,G,Bとの関係は以下の式で表される。補正係数αを、図6に示す値に応じて設定することにより、彩度を増加させることができる。 Correction for increasing the contrast can be realized by converting the pixel value using a tone curve having S-shaped input / output characteristics. The correction for increasing the brightness can be realized, for example, by increasing the pixel value by a specified value and outputting it for all the pixels in the image. As correction for increasing the saturation, for example, the pixel values before correction are R, G, B, the pixel values after correction are R ′, G ′, B ′, and the luminance is Y (= 0.30R + 0.59G + 0). .11B) and the correction coefficient is α (> 1), the relationship between R ′, G ′, B ′ and R, G, B is expressed by the following equation. The saturation can be increased by setting the correction coefficient α in accordance with the value shown in FIG.
R’=R+(R−Y)×α ・・・(1)
G’=G+(G−Y)×α ・・・(2)
B’=B+(B−Y)×α ・・・(3)
R ′ = R + (R−Y) × α (1)
G ′ = G + (G−Y) × α (2)
B ′ = B + (BY) × α (3)
さらに、トーンカーブによる補正ついては、図7に示すトーンカーブと同様の特性を有するテーブルに基づいて補正処理を行うことができる。なお、前述した補正処理は一例であって、これら以外の補正処理を施したり、あるいは、前述した以外の方法によって補正処理を実行したりしてもよい。 Further, the correction by the tone curve can be corrected based on a table having the same characteristics as the tone curve shown in FIG. Note that the correction processing described above is an example, and correction processing other than these may be performed, or correction processing may be executed by a method other than the above-described correction processing.
なお、画像補正モジュール82は、このとき、画像データを印刷する際に、画像の回転(ローテート)が必要である場合には、画像データを復号(ハフマン解凍および逆量子化)し、ローテート情報(画像データ中における画像の左端のブロックを示すアドレス)を取得する処理を併せて実行する。
At this time, when printing the image data, the
以上の処理により、図4(B)に示す、補正無し用3D−LUTの場合と同様に、画像データの画質を改善することができる。 Through the above processing, the image quality of the image data can be improved as in the case of the 3D-LUT for no correction shown in FIG.
ステップS16:補正パラメータ算出部20iは、補正パラメータを算出する。すなわち、補正パラメータ算出部20iは、画像データに対して、ハフマン解凍、逆量子化、逆DCT演算、色変換処理(YCC表色系をRGB/HSBに変換する処理)を実行し、得られた画像データのヒストグラムを計算する。そして、ヒストグラムに基づいて、補正パラメータを算出する。具体的には、補正パラメータ算出部20iは、例えば、被写体としての人物の肌の色が、予め記憶されている色(記憶色)に近くなる補正パラメータを算出する。 Step S16: The correction parameter calculation unit 20i calculates a correction parameter. That is, the correction parameter calculation unit 20i performs Huffman decompression, inverse quantization, inverse DCT calculation, and color conversion processing (processing for converting the YCC color system to RGB / HSB) on the image data. Calculate the histogram of the image data. Then, a correction parameter is calculated based on the histogram. Specifically, the correction parameter calculation unit 20i calculates, for example, a correction parameter that makes the skin color of a person as a subject close to a color (memory color) stored in advance.
ステップS17:画像補正モジュール82は、ステップS16で算出された補正パラメータに基づいて、画像データに対して補正処理を実行する。具体的には、ステップS16で算出された補正パラメータに基づいて、画像データの明度、コントラスト、彩度、色合い等を補正する処理が実行される。
Step S17: The
なお、画像補正モジュール82は、このとき、画像データを印刷する際に、画像の回転が必要である場合には、ローテート情報(画像データ中における画像の左端のブロックを示すアドレス)を取得する処理を併せて実行する。
At this time, when printing the image data, the
ステップS18:色変換モジュール84は、画像補正モジュール82によって補正処理が施された画像データに対して、3D−LUT20jを参照して色変換処理を施す。
Step S18: The
図8は、3D−LUT(色変換テーブル)を概念的に示した図である。RGBの各階調値を3次元直交座標の各軸に取ると、RGB各階調値は0から255の値を取り得るので、RGB画像データを、図8に示すように、一辺の長さ255の立方体の内部の座標として表すことができる。このような立方体を色立体と呼ぶ。3D−LUTは色立体を格子状に細分し、各格子点にCMYKの各色の階調値を記憶した数表である。3D−LUTを参照すれば、次のようにして迅速に色変換処理を行うことができる。例えば、R,G,B階調値がそれぞれRA,GA,BAで表される色を変換する場合、色立体中の座標(RA,GA,BA)の点Aを考え、点Aを含むような小さな立方体(dV)を見つけ出す。そして、この立方体の各頂点に記憶されているC,M,Y,K各色の階調値を読み出し、読み出した階調値から各色毎に補間演算を行えば、点AのC,M,Y,Kの各階調値を算出することができる。 FIG. 8 is a diagram conceptually showing a 3D-LUT (color conversion table). If each gradation value of RGB is taken on each axis of a three-dimensional orthogonal coordinate, each gradation value of RGB can take a value from 0 to 255. Therefore, as shown in FIG. It can be expressed as coordinates inside the cube. Such a cube is called a color solid. The 3D-LUT is a numerical table in which color solids are subdivided into a grid and the gradation values of each color of CMYK are stored at each grid point. By referring to the 3D-LUT, the color conversion process can be performed quickly as follows. For example, when converting colors whose R, G, B gradation values are represented by RA, GA, BA, respectively, the point A of the coordinates (RA, GA, BA) in the color solid is considered and the point A is included. Find a small cube (dV). Then, by reading out the gradation values of each color of C, M, Y, K stored in each vertex of this cube and performing interpolation for each color from the read gradation values, C, M, Y at point A , K gradation values can be calculated.
印刷に使用するインクの種類や印刷用紙との組み合わせによって、インクの発色が微妙に異なる場合があるので、インクと印刷用紙との組み合わせに応じて、適した3D−LUTを参照しながら色変換処理を行うことが望ましい。 Depending on the type of ink used for printing and the combination with the printing paper, the color of the ink may differ slightly. Therefore, color conversion processing is performed with reference to a suitable 3D-LUT according to the combination of the ink and the printing paper. It is desirable to do.
また、図8を用いて説明したように、色変換処理では格子点に記憶されている階調値を各色毎に補間してC,M,Y,Kの各階調値を算出しているので、格子点の間隔が小さくなるほど、すなわち3D−LUTに記憶されている格子点数が多くなるほど、色変換精度が高くなる傾向がある。特に高画質の画像を印刷する場合に使用される専用印刷用紙については、標準的なインク種類との組み合わせ毎に、多数の格子点数を有する3D−LUTを用いることが望ましい。 Further, as described with reference to FIG. 8, in the color conversion process, the gradation values stored in the grid points are interpolated for each color, so that the gradation values of C, M, Y, and K are calculated. The color conversion accuracy tends to increase as the interval between the lattice points decreases, that is, as the number of lattice points stored in the 3D-LUT increases. In particular, it is desirable to use a 3D-LUT having a large number of grid points for each combination with a standard ink type for dedicated printing paper used when printing a high-quality image.
また、特定の画像機器専用の3D−LUTを使用することもできる。すなわち、ディジタルカメラなどの画像機器を用いて撮影したカラー画像を印刷する場合には、次のような理由から、専用の3D−LUTを使用することによってより高画質の画像を印刷することができる。すなわち、ディジタルカメラなどの画像機器を用いて撮影したカラー画像を印刷する場合、撮影した画像機器の機種によって印刷画像の色彩が微妙に異なる場合がある。これは、撮影しようとする映像からR,G,B各色の光を検出してRGB各色の画像データに変換する素子の特性が、画像機器の機種毎に異なる場合があるといった理由による。同様に、画像機器の機種によって、検出可能な光の強さや波長範囲が異なる場合がある。従って、画像を撮影する機種によって、印刷画像として再現可能な色彩の範囲(ガマット)が異なる場合がある。通常は、これら機器毎の特性の違いを軽減するために、sRGBと呼ばれる標準の特性に一旦補正したカラー画像データが取り扱われるが、補正の際に、若干の補正誤差が混入したり、あるいは表現可能なガマットが狭くなってしまったりする場合がある。これに対して、カラー画像を撮影した画像機器が特定されていれば、撮影した通りの色彩が再現されるように色変換を行うことができるので、高画質の画像を印刷することが可能となる。 Also, a 3D-LUT dedicated to a specific image device can be used. That is, when printing a color image taken using an image device such as a digital camera, a higher quality image can be printed by using a dedicated 3D-LUT for the following reasons. . That is, when printing a color image taken using an image device such as a digital camera, the color of the printed image may differ slightly depending on the model of the image device taken. This is because the characteristics of the elements that detect R, G, and B colors from the video to be photographed and convert them into RGB image data may differ depending on the type of image equipment. Similarly, the detectable light intensity and wavelength range may vary depending on the model of the imaging device. Therefore, the range of colors (gamut) that can be reproduced as a printed image may differ depending on the model that captures the image. Normally, color image data that has been corrected once to a standard characteristic called sRGB is handled in order to reduce the difference in characteristics among these devices, but some correction errors are mixed or expressed during correction. The possible gamut may become narrower. On the other hand, if the image device that captured the color image is specified, color conversion can be performed so that the color as captured is reproduced, so that a high-quality image can be printed. Become.
色変換モジュール84は、ステップS11において取得された印刷条件に応じて、最適な3D−LUTを3D−LUT20jから選択し、選択された3D−LUTに基づいて色変換処理を実行する。この結果、印刷条件に応じた色変換処理が実行され、RGB表色系で表現された画像データが、CMYK表色系に変換される。
The
ステップS19:階調数変換モジュール85は、色変換が施された画像データに対して階調数を減らす処理を施す。すなわち、色変換後の画像データは各色毎に256階調幅を持つデータである。これに対し、本実施例のプリント機構50では、「ドットを形成する」、「ドットを形成しない」のいずれかの状態しか採り得ない。すなわち、本実施例のプリント機構50は局所的には2階調しか表現し得ない。そこで、256階調を有する画像データを、プリント機構50が表現可能な2階調で表現された画像データに変換する必要がある。
Step S19: The gradation
画像データの階調数変換を行う方法としては、誤差拡散法と呼ばれる方法や組織的ディザ法と呼ばれる方法など、種々の方法が知られている。誤差拡散法は、ある画素について階調数の変換を行ったことにより生じた誤差を周辺の画素に拡散し、周辺の画素の階調数変換を行う際には、拡散された誤差が最小になるように階調数変換を行う方法である。誤差拡散法を用いて階調数変換処理を行うと、誤差が小さくなるように階調数変換処理を行うので、一般的に高画質の画像が得られるという特徴がある。組織的ディザ法は、ディザマトリックスと呼ばれるマトリックスの各画素に0〜255の値の閾値を均一に設定しておき、画像データとディザマトリックスに設定された閾値との大小関係を比較して、画像データの方が大きい画素にはドットを形成し、閾値の方が大きい画素にはドットを形成しないと判断する方法である。階調数変換モジュール85は、これらのいずれかの方法に基づいて階調数を変換する処理を実行する。
As a method of converting the number of gradations of image data, various methods such as a method called an error diffusion method and a method called a systematic dither method are known. In the error diffusion method, an error caused by converting the number of gradations of a certain pixel is diffused to surrounding pixels, and when the gradation number conversion of surrounding pixels is performed, the diffused error is minimized. This is a method for converting the number of gradations. When the gradation number conversion process is performed using the error diffusion method, the gradation number conversion process is performed so as to reduce the error, so that a high-quality image is generally obtained. In the systematic dither method, a threshold value of 0 to 255 is uniformly set for each pixel of a matrix called a dither matrix, and the magnitude relationship between the image data and the threshold value set in the dither matrix is compared, and the image In this method, a dot is formed for a pixel having a larger data and a dot is not formed for a pixel having a larger threshold. The gradation
ステップS20:インターレースモジュール86は、階調数変換が施された画像データに対して、インターレース処理を施す。すなわち、前述したようにプリント機構50は、各色のインクを吐出する記録ヘッド50aを印刷用紙上で主走査および副走査させながら、適切なタイミングでドットを形成することによって画像を印刷する。すなわち、必ずしも画像データの順番通りにドットを形成しているわけではない。従って、プリント機構50でドットを形成する順序を考慮しながら、画像データをプリント機構50に転送すべき順序に並べ替えておく必要がある。インターレースモジュール86は、このようなインターレース処理と呼ばれる処理を実行する。
Step S20: The interlace module 86 performs interlace processing on the image data that has been subjected to tone number conversion. That is, as described above, the
ステップS21:インターレース処理が施された画像データは、バッファ20gに一旦格納された後、プリンタ制御部20fを介してプリント機構50に供給され、印刷用紙に印刷される。すなわち、プリント機構50では、1走査ライン分の画像データをプリンタ制御部20fから取得し、記録ヘッドによって該当する色のインクを吐出して印刷用紙に記録する。この際、走査部50bが記録ヘッド50aを主走査方向(インクを吐出するノズル列に直交する方向)に移動させるとともに、用紙搬送部50cが印刷用紙を副走査方向(ノズル列に平行な方向)に移動させる。このような動作を繰り返すことにより、画像データが印刷用紙に印刷される。
Step S21: The interlaced image data is temporarily stored in the
以上に説明したように、本発明の実施の形態によれば、従来、補正無し用3D−LUTを用いて実行していた画像データの改善処理を、固定補正パラメータ20kを用いて画像補正処理により代替させるようにしたので、3D−LUT20jのサイズを縮小できる。このため、3D−LUT20jを記憶するメモリの必要量を削減することができる。このことは、特に、ホストコンピュータを接続せずに、画像データを印刷することができるいわゆるスタンドアローンタイプの印刷装置のコストを低減することに貢献する。
As described above, according to the embodiment of the present invention, the image data improvement processing that has been conventionally performed using the non-correction 3D-LUT is performed by the image correction processing using the fixed
また、本発明の実施の形態では、補正無し用3D−LUTを用いて実行していた画像データの改善処理を、固定補正パラメータ20kを用いて画像補正処理により代替させるようにしたので、既存の処理である画像補正処理を流用することができる。プログラムモジュールを新たに追加する手間を省略できる。
Further, in the embodiment of the present invention, the improvement processing of the image data that has been executed using the 3D-LUT for no correction is replaced by the image correction processing using the fixed
なお、以上の実施の形態は、一例であって、これ以外にも種々の変形実施態様が存在する。例えば、以上の実施の形態では、メモリカード70をカードI/F20bに挿入して画像データを読み出すようにしたが、例えば、図示せぬディジタルカメラを、同じく図示せぬケーブルによって入出力制御部20aに接続し、当該ケーブルを介して画像データを読み出すようにしてもよい。また、図7に示すテーブルを、ディジタルカメラのメモリに記憶するようにしてもよい。
The above embodiment is merely an example, and there are various other modified embodiments. For example, in the above embodiment, the
また、以上の実施の形態では、色変換処理としてRGB表色系をCMYK表色系に変換する場合を例に挙げて説明したが、これ以外の色変換に本発明を適用することが可能であることはいうまでもない。例えば、CMY表色系であったり、CMYKにLM(Light Magenta:淡いマゼンタ)とLC(Light Cyan:淡いシアン)とを加えた表色系であったりしてもよい。 In the above embodiments, the case where the RGB color system is converted to the CMYK color system as the color conversion process has been described as an example. However, the present invention can be applied to other color conversions. Needless to say. For example, it may be a CMY color system, or a color system obtained by adding LM (Light Magenta) and LC (Light Cyan) to CMYK.
また、以上の実施の形態では、階調数変換モジュール85が、256階調をドットの有るまたは無しの2階調に変換するようにしたが、例えば、大ドット、中ドット、小ドットの3つのドットの組み合わせからなる4階調に変換するようにしたり、これ以外の階調に変換したりすることも可能である。
In the above embodiment, the gradation
また、以上の実施の形態では、固定補正パラメータは、印刷用紙の種類によってコントラスト、明度、および、彩度を調整し、また、トーンカーブによる調整を行うようにしたが、例えば、インクの種類または解像度に応じてこれらを調整するようにしたりしてもよい。 In the above embodiment, the fixed correction parameter adjusts contrast, lightness, and saturation according to the type of printing paper, and performs adjustment by tone curve. These may be adjusted according to the resolution.
また、以上の実施の形態では、インクの種類と印刷用の組み合わせに応じて、3D−LUTを選択するようにしたが、例えば、これ以外の要素として、印刷解像度等を考慮して3D−LUTを選択するようにしてもよい。 In the above embodiment, the 3D-LUT is selected according to the combination of ink type and printing. For example, as another element, the 3D-LUT is considered in consideration of the print resolution and the like. May be selected.
また、以上の実施の形態では、複合型の印刷装置を例に挙げて説明を行ったが通常の印刷装置(パーソナルコンピュータと接続して使用するタイプの印刷装置)に対して本発明を適用することができる。また、複合型ではない通常のスタンドアロン型の印刷装置に対して本発明を適用することも可能である。 In the above embodiment, the description has been given by taking the composite type printing apparatus as an example, but the present invention is applied to a normal printing apparatus (printing apparatus of a type connected to a personal computer). be able to. In addition, the present invention can be applied to a normal stand-alone printing apparatus that is not a composite type.
また、以上の実施の形態では、図5に示す処理を、印刷装置10において実行するようにしたが、例えば、印刷装置10に接続されているホストコンピュータにおいて実行することも可能である。
In the above embodiment, the processing illustrated in FIG. 5 is executed in the
なお、上記の処理機能は、コンピュータによって実現することができる。その場合、印刷装置が有すべき機能の処理内容を記述したプログラムが提供される。そのプログラムをコンピュータで実行することにより、上記処理機能がコンピュータ上で実現される。処理内容を記述したプログラムは、コンピュータで読み取り可能な記録媒体に記録しておくことができる。コンピュータで読み取り可能な記録媒体としては、磁気記録装置、光ディスク、光磁気記録媒体、半導体メモリなどがある。磁気記録装置には、ハードディスク装置(HDD)、フレキシブルディスク(FD)、磁気テープなどがある。光ディスクには、DVD(Digital Versatile Disk)、DVD−RAM、CD−ROM(Compact Disk ROM)、CD−R(Recordable)/RW(ReWritable)などがある。光磁気記録媒体には、MO(Magneto-Optical disk)などがある。 The above processing functions can be realized by a computer. In this case, a program describing the processing contents of the functions that the printing apparatus should have is provided. By executing the program on a computer, the above processing functions are realized on the computer. The program describing the processing contents can be recorded on a computer-readable recording medium. Examples of the computer-readable recording medium include a magnetic recording device, an optical disk, a magneto-optical recording medium, and a semiconductor memory. Examples of the magnetic recording device include a hard disk device (HDD), a flexible disk (FD), and a magnetic tape. Examples of the optical disc include a DVD (Digital Versatile Disk), a DVD-RAM, a CD-ROM (Compact Disk ROM), and a CD-R (Recordable) / RW (ReWritable). Magneto-optical recording media include MO (Magneto-Optical disk).
プログラムを流通させる場合には、たとえば、そのプログラムが記録されたDVD、CD−ROMなどの可搬型記録媒体が販売される。また、プログラムをサーバコンピュータの記憶装置に格納しておき、ネットワークを介して、サーバコンピュータから他のコンピュータにそのプログラムを転送することもできる。 When distributing the program, for example, portable recording media such as a DVD and a CD-ROM in which the program is recorded are sold. It is also possible to store the program in a storage device of a server computer and transfer the program from the server computer to another computer via a network.
プログラムを実行するコンピュータは、たとえば、可搬型記録媒体に記録されたプログラムもしくはサーバコンピュータから転送されたプログラムを、自己の記憶装置に格納する。そして、コンピュータは、自己の記憶装置からプログラムを読み取り、プログラムに従った処理を実行する。なお、コンピュータは、可搬型記録媒体から直接プログラムを読み取り、そのプログラムに従った処理を実行することもできる。また、コンピュータは、サーバコンピュータからプログラムが転送される毎に、逐次、受け取ったプログラムに従った処理を実行することもできる。 The computer that executes the program stores, for example, the program recorded on the portable recording medium or the program transferred from the server computer in its own storage device. Then, the computer reads the program from its own storage device and executes processing according to the program. The computer can also read the program directly from the portable recording medium and execute processing according to the program. In addition, each time the program is transferred from the server computer, the computer can sequentially execute processing according to the received program.
10 印刷装置、20i 補正パラメータ算出部(算出手段)、20j 3D−LUT(3次元ルックアップテーブル)、50 プリント機構(印刷手段)、80 コアモジュール(判定手段)、82 画像補正モジュール(第1の補正手段、第2の補正手段)、84 色変換モジュール(変換手段) 10 printing apparatus, 20i correction parameter calculation unit (calculation means), 20j 3D-LUT (three-dimensional lookup table), 50 printing mechanism (printing means), 80 core module (determination means), 82 image correction module (first Correction means, second correction means), 84 color conversion module (conversion means)
Claims (8)
上記判定手段によって補正処理を施すと判定された場合には、画像データに対する補正パラメータを算出する算出手段と、
上記算出手段によって算出された上記補正パラメータに基づいて画像データの補正処理を実行する第1の補正手段と、
上記判定手段によって補正処理を施さないと判定された場合には、固定の補正パラメータに基づいて画像データの補正処理を実行する第2の補正手段と、
上記第1または第2の補正手段によって補正処理が実行された画像データに対して、共通の色変換情報に基づいて色変換処理を施す変換手段と、
上記変換手段によって色変換が施された画像データを印刷用紙に印刷する印刷手段と、
を有することを特徴とする印刷装置。 Determining means for determining whether or not to perform correction processing on image data to be printed;
A calculation means for calculating a correction parameter for the image data when the determination means determines that correction processing is to be performed;
First correction means for executing correction processing of image data based on the correction parameter calculated by the calculation means;
A second correction unit that executes a correction process on the image data based on a fixed correction parameter when the determination unit determines that the correction process is not performed;
Conversion means for performing color conversion processing on the image data subjected to correction processing by the first or second correction means based on common color conversion information;
Printing means for printing the image data subjected to color conversion on the printing paper by the conversion means;
A printing apparatus comprising:
前記固定の補正パラメータは、前記画像データとは独立した固定のパラメータである、
ことを特徴とする請求項1記載の印刷装置。 The correction parameter is calculated by the calculation means based on information obtained by sampling the image data,
The fixed correction parameter is a fixed parameter independent of the image data.
The printing apparatus according to claim 1.
補正処理を施すと判定した場合には、画像データに対する補正パラメータを算出し、
算出された上記補正パラメータに基づいて画像データの補正処理を実行し、
一方、補正処理を施さないと判定した場合には、固定の補正パラメータに基づいて画像データの補正処理を実行し、
算出された補正パラメータまたは固定の補正パラメータに基づいて補正処理が実行された画像データに対して、共通の色変換情報に基づいて色変換処理を施し、
色変換が施された画像データを印刷用紙に印刷する、
ことを特徴とする印刷方法。 Determine whether to perform correction processing on the image data to be printed,
If it is determined that correction processing is to be performed, a correction parameter for the image data is calculated,
Based on the calculated correction parameter, the image data correction process is executed,
On the other hand, when it is determined that the correction process is not performed, the image data correction process is executed based on the fixed correction parameter,
Applying color conversion processing based on common color conversion information to image data that has been subjected to correction processing based on the calculated correction parameter or fixed correction parameter,
Print color-converted image data on printing paper,
A printing method characterized by the above.
印刷処理の対象となる画像データに対して補正処理を施すか否かを判定する判定手段、
上記判定手段によって補正処理を施すと判定された場合には、画像データに対する補正パラメータを算出する算出手段、
上記算出手段によって算出された上記補正パラメータに基づいて画像データの補正処理を実行する第1の補正手段、
上記判定手段によって補正処理を施さないと判定された場合には、固定の補正パラメータに基づいて画像データの補正処理を実行する第2の補正手段、
上記第1または第2の補正手段によって補正処理が実行された画像データに対して、共通の色変換情報に基づいて色変換処理を施す変換手段、
上記変換手段によって色変換が施された画像データを印刷用紙に印刷する印刷手段、
として機能させることを特徴とするコンピュータ読み取り可能な印刷用プログラム。 Computer
Determination means for determining whether or not to perform correction processing on image data to be printed;
A calculation unit that calculates a correction parameter for the image data when the determination unit determines that the correction process is to be performed;
First correction means for executing correction processing of image data based on the correction parameter calculated by the calculation means;
A second correction unit that executes a correction process on the image data based on a fixed correction parameter when the determination unit determines that the correction process is not performed;
Conversion means for performing color conversion processing based on common color conversion information on the image data subjected to correction processing by the first or second correction means;
Printing means for printing the image data subjected to color conversion by the conversion means on a printing paper;
A computer-readable printing program characterized in that it functions as a computer program.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006267873A JP2008087224A (en) | 2006-09-29 | 2006-09-29 | Printing apparatus, printing method, and printing program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006267873A JP2008087224A (en) | 2006-09-29 | 2006-09-29 | Printing apparatus, printing method, and printing program |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2008087224A true JP2008087224A (en) | 2008-04-17 |
Family
ID=39371885
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2006267873A Withdrawn JP2008087224A (en) | 2006-09-29 | 2006-09-29 | Printing apparatus, printing method, and printing program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2008087224A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8989489B2 (en) | 2012-07-05 | 2015-03-24 | Brother Kogyo Kabushiki Kaisha | Control apparatus controlling processing of image read by reading device |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001356891A (en) * | 2000-04-14 | 2001-12-26 | Fuji Photo Film Co Ltd | Printing system and printing method |
| WO2004030373A1 (en) * | 2002-09-26 | 2004-04-08 | Seiko Epson Corporation | Adjusting output image of image data |
| JP2004152311A (en) * | 2003-11-21 | 2004-05-27 | Seiko Epson Corp | Image data conversion method, image data conversion system, and image data conversion device |
| JP2005064789A (en) * | 2003-08-11 | 2005-03-10 | Seiko Epson Corp | Monotone processing of color image |
| JP2008092055A (en) * | 2006-09-29 | 2008-04-17 | Seiko Epson Corp | Printing apparatus, printing method, and printing program |
-
2006
- 2006-09-29 JP JP2006267873A patent/JP2008087224A/en not_active Withdrawn
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001356891A (en) * | 2000-04-14 | 2001-12-26 | Fuji Photo Film Co Ltd | Printing system and printing method |
| WO2004030373A1 (en) * | 2002-09-26 | 2004-04-08 | Seiko Epson Corporation | Adjusting output image of image data |
| JP2005064789A (en) * | 2003-08-11 | 2005-03-10 | Seiko Epson Corp | Monotone processing of color image |
| JP2004152311A (en) * | 2003-11-21 | 2004-05-27 | Seiko Epson Corp | Image data conversion method, image data conversion system, and image data conversion device |
| JP2008092055A (en) * | 2006-09-29 | 2008-04-17 | Seiko Epson Corp | Printing apparatus, printing method, and printing program |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8989489B2 (en) | 2012-07-05 | 2015-03-24 | Brother Kogyo Kabushiki Kaisha | Control apparatus controlling processing of image read by reading device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7330286B2 (en) | Apparatus, method and computer program product for providing output image adjustment for image files | |
| US9538046B2 (en) | Image reproduction using a particular color space | |
| US8619349B2 (en) | Profile creation method, profile creation apparatus and image processing apparatus for performing color conversion using a profile | |
| US20020027603A1 (en) | Apparatus, method, signal and computer program product configured to provide output image adjustment for image files | |
| EP2048870A2 (en) | Image processor and image processing method | |
| US8284447B2 (en) | Image processing apparatus and profile generating method | |
| JP5146085B2 (en) | Image processing apparatus and program | |
| US7598983B2 (en) | Control of image output using image processing control data | |
| JP4315176B2 (en) | Printing apparatus, printing method, and printing program | |
| JP2007124599A (en) | Image processing apparatus, image processing method, and image processing program | |
| US20030071823A1 (en) | Output image adjustment of graphics data | |
| JP5055205B2 (en) | Image copying apparatus, control method thereof, program, and method of generating 3D-LUT | |
| JP4748796B2 (en) | Image processing apparatus and image processing method. | |
| JP4010306B2 (en) | Output image adjustment for image files | |
| JP2013198075A (en) | Recording method, recorder, image processing method, image processor and table generating method | |
| JP2008087224A (en) | Printing apparatus, printing method, and printing program | |
| JP4764889B2 (en) | Image processing apparatus and image processing method | |
| US8610980B2 (en) | Table generating apparatus, table generating method, image processing apparatus, and image processing method | |
| JP2008236045A (en) | Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium | |
| JP2004215311A (en) | Image processing via network | |
| JP2004236201A (en) | Image processing apparatus and method | |
| JP4595965B2 (en) | Output image adjustment for image files | |
| JP4636001B2 (en) | Output image adjustment for image files | |
| JP2008086050A (en) | Image processing apparatus and image processing program | |
| JP2004364161A (en) | Image processing method, image processing system, image processing device, recording medium, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090703 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110531 |
|
| A761 | Written withdrawal of application |
Free format text: JAPANESE INTERMEDIATE CODE: A761 Effective date: 20110725 |