[go: up one dir, main page]

JP2008087224A - Printing apparatus, printing method, and printing program - Google Patents

Printing apparatus, printing method, and printing program Download PDF

Info

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
Application number
JP2006267873A
Other languages
Japanese (ja)
Inventor
Masatoshi Matsudaira
正年 松平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2006267873A priority Critical patent/JP2008087224A/en
Publication of JP2008087224A publication Critical patent/JP2008087224A/en
Withdrawn legal-status Critical Current

Links

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)と、を有する。
【選択図】図2
A 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.

特開平11−008773号公報(要約書、請求項)JP-A-11-008773 (abstract, claim)

カラープリンタでは、カラーの画像データは、例えば、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 printing apparatus 10 is a so-called composite printing apparatus in which a scanner device, a printing device, and a copying device are integrated. Here, the printing apparatus 10 includes a case 11 that covers the entire apparatus, a paper feeding device (not shown) that supplies printing paper, a scanner device that includes a transparent contact glass 13 on which a document is placed, a carriage 14, and the like. And a printing unit (not shown) for printing on the printing paper. The printing method and the printing program of the present invention will be described as operations of the printing apparatus 10.

ケース11は、略四角形状の箱体であり、その上部には開閉自在の蓋12が設けられている。蓋12を開けると、原稿が載置されるコンタクトガラス13が現れる。コンタクトガラス13の内側には、後述する光源60aおよび受光部60bが設けられたキャリッジ14が存在する。キャリッジ14を副走査方向(図中矢印で示す方向)に移動させることにより、原稿に印刷されている情報を画像データとして読み取る。なお、スキャナ装置は、キャリッジ14が副走査方向に移動しながら固定された原稿を読み取る、いわゆるフラットベットタイプ(原稿固定型)のスキャナである。   The case 11 is a substantially rectangular box, and a lid 12 that can be freely opened and closed is provided on the upper portion thereof. When the lid 12 is opened, the contact glass 13 on which the document is placed appears. Inside the contact glass 13, there is a carriage 14 provided with a light source 60 a and a light receiving unit 60 b described later. By moving the carriage 14 in the sub-scanning direction (the direction indicated by the arrow in the figure), the information printed on the document is read as image data. The scanner device is a so-called flat bed type (original fixed type) scanner that reads a fixed original while the carriage 14 moves in the sub-scanning direction.

ケース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 case 11, and a touch panel 30b is disposed so as to overlap therewith. In addition, various operation buttons 30a are arranged in the vicinity thereof. The LCD 40a displays the menu, operation content, operation status, error content, and the like of the printing apparatus 10, and the operation button 30a is pressed when selecting the menu of the printing apparatus 10 or the like.

ケース11は、前面下部に、排出口17を備え、印刷された印刷用紙が排出されるようになっている。また、ケース11の前面右側中央部には、カードスロット18が設けられており、例えば、図示せぬディジタルカメラなどによって撮影された画像データを記録するメモリカード70が、取り外し自在に収納されるようになっている。なお、この例では、カードスロット18には蓋部18aが設けられており、メモリカード70を挿入する場合には、当該蓋部18aを開閉する。メモリカード70には、例えば、非可逆圧縮方式としてのJPEG形式または可逆圧縮方式としてのTIFF形式によって圧縮された画像データが格納されている。   The case 11 is provided with a discharge port 17 in the lower part of the front surface so that printed printing paper can be discharged. In addition, a card slot 18 is provided in the center of the right side of the front surface of the case 11 so that, for example, a memory card 70 for recording image data taken by a digital camera (not shown) can be detachably stored. It has become. In this example, the card slot 18 is provided with a lid 18a. When the memory card 70 is inserted, the lid 18a is opened and closed. The memory card 70 stores, for example, image data compressed in the JPEG format as a lossy compression method or the TIFF format as a lossless compression method.

図示せぬ給紙装置は、ケース11の背面側に設けられており、印刷用紙をストックするとともに、必要に応じて印刷装置10の内部に印刷用紙を一枚ずつ供給する。   A paper feeding device (not shown) is provided on the back side of the case 11 and stocks printing paper and supplies printing paper one by one into the printing device 10 as needed.

図2は、印刷装置10の電気的な構成例を示すブロック図である。この図に示すように、印刷装置10は、メイン制御部20、情報入力部30、情報出力部40、プリント機構50、および、スキャン機構60を主要な構成要素としている。   FIG. 2 is a block diagram illustrating an electrical configuration example of the printing apparatus 10. As shown in this figure, the printing apparatus 10 includes a main control unit 20, an information input unit 30, an information output unit 40, a print mechanism 50, and a scan mechanism 60 as main components.

ここで、メイン制御部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 main control unit 20 includes an input / output control unit 20a, a card I / F (Interface) 20b, a control unit 20c, a memory 20d, an image processing unit 20e, a printer control unit 20f, a buffer 20g, a scanner control unit 20h, and a correction. The parameter calculation unit 20i, a 3D-LUT (3 Dimensional Look Up Table) 20j as color conversion information, and a fixed correction parameter 20k are main components and are input from the information input unit 30. Based on the information, the information output unit 40, the print mechanism 50, the scan mechanism 60, and the like are controlled.

より詳細には、入出力制御部20aは、情報入力部30および情報出力部40との間で情報を授受する際にデータの表現形式を適宜変換するインタフェースである。カードI/F20bは、メモリカード70が挿入された場合には、メモリカード70から画像データを読み出したり、画像データを書き込んだりする処理を実行する。メモリカード70は、例えば、フラッシュメモリ等によって構成され、例えば、図示せぬディジタルカメラによって撮影された画像データを記憶する。   More specifically, the input / output control unit 20a is an interface that appropriately converts the data representation format when information is exchanged between the information input unit 30 and the information output unit 40. When the memory card 70 is inserted, the card I / F 20b executes processing for reading image data from the memory card 70 and writing image data. The memory card 70 is constituted by, for example, a flash memory, and stores image data taken by a digital camera (not shown), for example.

制御部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 memory 20d. The image processing unit 20e performs a decoding process, an image correction process, and the like on the image data supplied from the control unit 20c. The printer control unit 20f controls the print mechanism 50 to print image data or the like on printing paper. The buffer 20g temporarily stores the image data supplied to the printer control unit 20f, and temporarily stores the image data supplied from the scanner control unit 20h. The scanner control unit 20h controls the scanning mechanism 60 and executes processing for optically reading image data printed on the printing paper.

算出手段としての補正パラメータ算出部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-LUT 20j is a table that is referred to when image data is color-converted, and has information for converting the RGB color system to the CMYK color system. The fixed correction parameter 20k has a predetermined fixed correction parameter.

情報入力部30は、操作ボタン30aおよびタッチパネル30bを主要な構成要素とし、ユーザの操作に基づく情報を生成して出力する。ここで、操作ボタン30aは、操作パネル等に配置されたボタンであり、ユーザの操作に応じた情報を生成して出力する。タッチパネル30bは、LCD(Liquid Crystal Display)40aに重畳するように配置され、LCD40aに表示された情報に基づいて、タッチパネル30bを操作することにより、操作された位置に対応する位置情報が出力される。   The information input unit 30 uses the operation buttons 30a and the touch panel 30b as main components, and generates and outputs information based on user operations. Here, the operation button 30a is a button arranged on an operation panel or the like, and generates and outputs information corresponding to a user operation. The touch panel 30b is arranged so as to be superimposed on an LCD (Liquid Crystal Display) 40a, and position information corresponding to the operated position is output by operating the touch panel 30b based on information displayed on the LCD 40a. .

情報出力部40は、LCD40aおよびランプ40bを主要な構成要素とし、ユーザに提示する情報を出力する。ここで、LCD40aは、前述したようにタッチパネル30bと重畳されており、制御部20cから供給された画像データ等を表示する。ランプ40bは、操作パネル等に配置されており、制御部20cの制御に応じて点灯/消灯することにより、所定の情報をユーザに示す。   The information output unit 40 includes the LCD 40a and the lamp 40b as main components, and outputs information to be presented to the user. Here, the LCD 40a is superimposed on the touch panel 30b as described above, and displays the image data and the like supplied from the control unit 20c. The lamp 40b is arranged on an operation panel or the like, and indicates predetermined information to the user by turning on / off under the control of the control unit 20c.

印刷手段としてのプリント機構50は、記録ヘッド50a、走査部50b、および、用紙搬送部50cを主要な構成要素としており、制御部20cから供給された画像データを、印刷用紙に印刷する。ここで、記録ヘッド50aは、例えば、CMYKに対応する各色のインクを複数のノズルから適宜吐出し、印刷用紙に対応する画像を印刷する。走査部50bは、記録ヘッド50aを主走査方向(各色のノズル列に直交する方向)に移動させる。用紙搬送部50cは、印刷用紙を副走査方向(各色のノズル列に平行な方向)に移動させる。   A printing mechanism 50 as a printing unit includes a recording head 50a, a scanning unit 50b, and a paper transport unit 50c as main components, and prints image data supplied from the control unit 20c on a printing paper. Here, for example, the recording head 50a appropriately discharges ink of each color corresponding to CMYK from a plurality of nozzles, and prints an image corresponding to printing paper. The scanning unit 50b moves the recording head 50a in the main scanning direction (direction orthogonal to the nozzle row of each color). The paper transport unit 50c moves the printing paper in the sub-scanning direction (direction parallel to the nozzle rows for each color).

スキャン機構60は、光源60a、受光部60b、および、走査部60cを主要な構成要素としており、原稿に印刷された画像を光学的に読み取って、対応する画像データを生成して出力する。ここで、光源60aは、例えば、冷陰極管によって構成され、原稿の読み取ろうとする領域に対して白色光を照射する。受光部60bは、光源60aによって照射され、原稿によって反射された光を受光して対応する電気信号に変換するCCD(Charge Coupled Device)等によって構成される。走査部60cは、受光部60bを副走査方向(受光部の長手方向に直交する方向(図1の矢印の方向))に移動させる。   The scanning mechanism 60 has a light source 60a, a light receiving unit 60b, and a scanning unit 60c as main components, optically reads an image printed on a document, and generates and outputs corresponding image data. Here, the light source 60a is composed of, for example, a cold cathode tube, and irradiates white light onto an area of the original to be read. The light receiving unit 60b is configured by a CCD (Charge Coupled Device) or the like that receives the light irradiated by the light source 60a and reflected by the document and converts it into a corresponding electrical signal. The scanning unit 60c moves the light receiving unit 60b in the sub-scanning direction (direction perpendicular to the longitudinal direction of the light receiving unit (the direction of the arrow in FIG. 1)).

図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 resolution conversion module 81, an image correction module 82, a color conversion module 84, a gradation number conversion module 85, an interlace module 86, and correction parameter calculation units 20i, 3D- It has an LUT 20j and a fixed correction parameter 20k.

ここで、判定手段としてのコアモジュール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 resolution conversion module 81 is a module that performs processing for converting the resolution of the image data supplied from the core module 80 into a resolution for printing by the print mechanism 50. The correction parameter calculation unit 20i is the same as that shown in FIG. 2, and calculates parameters for correcting image data. The image correction module 82 as the first correction unit and the second correction unit is a module that performs correction processing on the image data based on the correction parameter supplied from the correction parameter calculation unit 20 i or the fixed correction parameter 20 k. .

固定補正パラメータ20kは、印刷条件として補正処理を実行しないことが設定された場合に、予め記憶されている固定補正パラメータを画像補正モジュール82に供給する。すなわち、固定補正パラメータ20kは、予め定められたパラメータであり、画像データには依存しない独立のパラメータである。変換手段としての色変換モジュール84は、3D−LUT20jを参照し、RGB表色系で表現される画像データを、CMYK表色系に変換する処理を実行する。3D−LUT20jは、図2に示すものと同一であり、色変換を実行する際に必要な情報(詳細は後述する)を有している。階調数変換モジュール85は、色変換モジュール84によって色変換が施された画像データ(256階調のデータ)を、プリント機構50の表現可能な階調数に変換する処理を実行するモジュールである。   The fixed correction parameter 20k supplies a fixed correction parameter stored in advance to the image correction module 82 when it is set not to execute the correction process as a printing condition. That is, the fixed correction parameter 20k is a predetermined parameter and is an independent parameter that does not depend on the image data. The color conversion module 84 as conversion means refers to the 3D-LUT 20j and executes processing for converting image data expressed in the RGB color system into the CMYK color system. The 3D-LUT 20j is the same as that shown in FIG. 2, and has information (details will be described later) necessary for executing color conversion. The gradation number conversion module 85 is a module that executes processing for converting the image data (256 gradation data) subjected to color conversion by the color conversion module 84 into the gradation number that can be expressed by the print mechanism 50. .

インターレースモジュール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 recording head 50a when the image data is printed by the print mechanism 50.

つぎに、以上の実施の形態の動作について説明する。以下では、図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-LUT 20j (P15) by the color conversion module 84 (P16). On the other hand, when the correction process is not executed, the correction process is executed by the image correction module 82 with reference to the fixed correction parameter 20k (P14) (P13). Then, the image data subjected to the image correction is subjected to color conversion by referring to the 3D-LUT 20j (P15) by the color conversion module 84 (P16) as in the case described above.

図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 image correction module 82. Yes. This makes it possible to use a common 3D-LUT with and without correction, so that the 3D-LUT without correction in the case of FIG. 4B can be omitted. The required storage capacity of the memory can be reduced.

つぎに、図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 memory card 70 is selected and printing is instructed in the embodiment shown in FIG. In the following processing, the program 20d1 stored in the memory 20d shown in FIG. 2 is executed, and the program 20d1 as software cooperates with hardware including the control unit 20c. Realized.

ステップ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 memory card 70 by operating the operation button 30a or the touch panel 30b, the control unit 20c acquires the image data from the memory card 70, and the LCD 40a To display. Specifically, the control unit 20c acquires image data subjected to JPEG compression from the memory card 70, and supplies the image data to the image processing unit 20e. The image processing unit 20e decodes the supplied image data by performing Huffman decompression, inverse quantization processing, inverse DCT (Discrete Cosine Transform) processing, color conversion (conversion from YCC to RGB), and the like. To do. Then, the image data is thinned according to the display size of the LCD 40a, and the obtained image data is converted into a video signal, which is then supplied to the LCD 40a via the input / output control unit 20a for display.

ステップ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 LCD 40a, the control unit 20c displays a graphical user interface (GUI) on the LCD 40a, and displays the print condition. Receive settings. That is, the control unit 20c receives settings for print resolution, print paper type, ink type, necessity of image correction, and the type thereof. More specifically, as the print resolution, the number of dots to be printed per unit length is specified. In general, the higher the resolution, the higher the print quality, but the time required for printing tends to increase. Normally, a value set as a standard is used as the print resolution. However, the printer can also set the print resolution as necessary. As the type of printing paper, the type of printing paper set in the printing apparatus 10 is set. In principle, it is necessary to set the product name of the printing paper for the type of printing paper, but if the standard printing paper is recommended by the printer manufacturer, select a setting such as “Glossy Paper” or “Exclusive Glossy Paper”. You can also In this embodiment, one of “plain paper” and “exclusive paper” is selected. As the ink type, the type of ink currently installed in the printing apparatus 10 is set. Since the ink type is described on the side of the ink cartridge, this value is input. Some ink cartridges have an IC chip embedded therein, and some information such as ink type and date of manufacture is stored in the IC chip. When the printing apparatus 10 is compatible with an ink cartridge having an IC chip mounted thereon and information in the IC chip can be read from the mounted ink cartridge, the ink type information is automatically read.

画像補正の要否およびその種類としては、例えば、画像補正として「補正処理有り」および「補正処理無し」の中から選択する。ここで、補正処理とは、画像データの属性情報に基づいて、印刷装置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 printing apparatus 10 automatically executes the correction process based on the attribute information of the image data. As attribute information, statistical value information obtained by directly sampling image data can be used. Other than this, for example, information included in the header of PIM (Print Image Matching) information and Exif (Exchangeable Image File Format) can be used. Further, manual correction processing in which the user directly sets the correction content by manual operation may be included in “with correction processing”. On the other hand, “no correction process” means that the above-described correction process is not executed. The information input as described above is supplied to the core module 80.

ステップS12:解像度変換モジュール81は、ステップS10の処理によって選択された画像データの解像度を、プリント機構50が印刷用紙に印刷する際の解像度(以下、「印刷解像度」と称する)に変換する処理を実行する。具体的には、解像度変換モジュール81は、画像データの解像度が印刷解像度よりも低い場合には、線形補間を行って隣接画像データ間に新たなデータを生成し、逆に印刷解像度よりも高い場合には、一定の割合でデータを間引くことによって画像データの解像度を印刷解像度に変換する。   Step S12: The resolution conversion module 81 performs a process of converting the resolution of the image data selected by the process of Step S10 into a resolution when the print mechanism 50 prints on the printing paper (hereinafter referred to as “printing resolution”). Execute. Specifically, when the resolution of the image data is lower than the printing resolution, the resolution conversion module 81 performs linear interpolation to generate new data between adjacent image data, and conversely, when the resolution is higher than the printing resolution. First, the resolution of the image data is converted to the printing resolution by thinning out the data at a certain rate.

ステップ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 image correction module 82 acquires a parameter corresponding to the printing condition from the fixed correction parameter 20k. Here, the fixed correction parameter is a parameter for performing processing that substitutes for the color conversion processing that is executed using the non-correction 3D-LUT shown in FIG.

図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 correction parameter 20k for each of plain paper and dedicated paper. As shown in this figure, on plain paper, the contrast is unchanged (+0), the lightness is increased by “34”, and the saturation is increased by “5”. The tone curve indicating the input / output characteristics is adjusted so that the input (IN) “45” and “195” are mapped to the output (OUT) “182” and “36”, respectively. FIG. 7A shows a tone curve used for correction of plain paper. In this figure, the horizontal axis indicates the input of gradation values (IN), and the vertical axis indicates the output of gradation values (OUT). The tone curve indicating the input / output characteristics is a curve that passes through the coordinates (45, 36) and the coordinates (195, 182). Thereby, an image in which the brightness of the intermediate portion is suppressed is obtained.

一方、専用紙ではコントラストは“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 correction parameter 20k may be freely edited by the user.

ステップS15:画像補正モジュール82は、ステップS14で取得した固定補正パラメータ20kに基づいて、画像データに対して補正処理を実行する。具体的には、ステップS14で取得した固定補正パラメータ20k(図6参照)に基づいて、画像データのコントラスト、明度、および、彩度を増加させる補正を行うとともに、図7に示すトーンカーブに応じて画像の明るさを調整する。   Step S15: The image correction module 82 performs a correction process on the image data based on the fixed correction parameter 20k acquired in step S14. Specifically, based on the fixed correction parameter 20k (see FIG. 6) acquired in step S14, correction is performed to increase the contrast, brightness, and saturation of the image data, and in accordance with the tone curve shown in FIG. Adjust the image brightness.

コントラストを増加させる補正としては、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 image correction module 82 decodes the image data (Huffman decompression and inverse quantization) if rotation of the image is necessary (rotation), and rotates information ( A process of acquiring an address indicating the leftmost block of the image in the image data is also executed.

以上の処理により、図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 image correction module 82 performs a correction process on the image data based on the correction parameter calculated in step S16. Specifically, processing for correcting the brightness, contrast, saturation, hue, and the like of the image data is executed based on the correction parameter calculated in step S16.

なお、画像補正モジュール82は、このとき、画像データを印刷する際に、画像の回転が必要である場合には、ローテート情報(画像データ中における画像の左端のブロックを示すアドレス)を取得する処理を併せて実行する。   At this time, when printing the image data, the image correction module 82 obtains rotation information (address indicating the leftmost block of the image in the image data) when the image needs to be rotated. Are also executed.

ステップS18:色変換モジュール84は、画像補正モジュール82によって補正処理が施された画像データに対して、3D−LUT20jを参照して色変換処理を施す。   Step S18: The color conversion module 84 performs color conversion processing on the image data that has been corrected by the image correction module 82 with reference to the 3D-LUT 20j.

図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 color conversion module 84 selects an optimal 3D-LUT from the 3D-LUT 20j according to the printing conditions acquired in step S11, and executes a color conversion process based on the selected 3D-LUT. As a result, color conversion processing according to printing conditions is executed, and image data expressed in the RGB color system is converted into the CMYK color system.

ステップS19:階調数変換モジュール85は、色変換が施された画像データに対して階調数を減らす処理を施す。すなわち、色変換後の画像データは各色毎に256階調幅を持つデータである。これに対し、本実施例のプリント機構50では、「ドットを形成する」、「ドットを形成しない」のいずれかの状態しか採り得ない。すなわち、本実施例のプリント機構50は局所的には2階調しか表現し得ない。そこで、256階調を有する画像データを、プリント機構50が表現可能な2階調で表現された画像データに変換する必要がある。   Step S19: The gradation number conversion module 85 performs a process for reducing the gradation number on the image data that has undergone color conversion. That is, the image data after color conversion is data having 256 gradation widths for each color. In contrast, the printing mechanism 50 according to the present embodiment can take only one of the states of “forming dots” and “not forming dots”. That is, the print mechanism 50 of this embodiment can only express two gradations locally. Therefore, it is necessary to convert image data having 256 gradations into image data expressed in 2 gradations that the print mechanism 50 can express.

画像データの階調数変換を行う方法としては、誤差拡散法と呼ばれる方法や組織的ディザ法と呼ばれる方法など、種々の方法が知られている。誤差拡散法は、ある画素について階調数の変換を行ったことにより生じた誤差を周辺の画素に拡散し、周辺の画素の階調数変換を行う際には、拡散された誤差が最小になるように階調数変換を行う方法である。誤差拡散法を用いて階調数変換処理を行うと、誤差が小さくなるように階調数変換処理を行うので、一般的に高画質の画像が得られるという特徴がある。組織的ディザ法は、ディザマトリックスと呼ばれるマトリックスの各画素に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 number conversion module 85 executes processing for converting the gradation number based on any one of these methods.

ステップ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 print mechanism 50 prints an image by forming dots at appropriate timing while the recording head 50a that discharges ink of each color is main-scanned and sub-scanned on the printing paper. That is, dots are not necessarily formed in the order of image data. Therefore, it is necessary to rearrange the image data in the order to be transferred to the print mechanism 50 while considering the order in which dots are formed by the print mechanism 50. The interlace module 86 executes such a process called an interlace process.

ステップS21:インターレース処理が施された画像データは、バッファ20gに一旦格納された後、プリンタ制御部20fを介してプリント機構50に供給され、印刷用紙に印刷される。すなわち、プリント機構50では、1走査ライン分の画像データをプリンタ制御部20fから取得し、記録ヘッドによって該当する色のインクを吐出して印刷用紙に記録する。この際、走査部50bが記録ヘッド50aを主走査方向(インクを吐出するノズル列に直交する方向)に移動させるとともに、用紙搬送部50cが印刷用紙を副走査方向(ノズル列に平行な方向)に移動させる。このような動作を繰り返すことにより、画像データが印刷用紙に印刷される。   Step S21: The interlaced image data is temporarily stored in the buffer 20g and then supplied to the printing mechanism 50 via the printer control unit 20f and printed on printing paper. That is, the print mechanism 50 acquires image data for one scanning line from the printer control unit 20f, and ejects ink of a corresponding color by the recording head to record it on the printing paper. At this time, the scanning unit 50b moves the recording head 50a in the main scanning direction (a direction orthogonal to the nozzle row for ejecting ink), and the paper transport unit 50c moves the printing paper in the sub-scanning direction (a direction parallel to the nozzle row). Move to. By repeating such an operation, the image data is printed on the printing paper.

以上に説明したように、本発明の実施の形態によれば、従来、補正無し用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 correction parameter 20k. Since the replacement is made, the size of the 3D-LUT 20j can be reduced. For this reason, the required amount of memory for storing the 3D-LUT 20j can be reduced. This contributes particularly to reducing the cost of a so-called stand-alone type printing apparatus that can print image data without connecting a host computer.

また、本発明の実施の形態では、補正無し用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 correction parameter 20k. An image correction process that is a process can be used. The trouble of adding a new program module can be omitted.

なお、以上の実施の形態は、一例であって、これ以外にも種々の変形実施態様が存在する。例えば、以上の実施の形態では、メモリカード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 memory card 70 is inserted into the card I / F 20b and image data is read out. For example, a digital camera (not shown) is connected to the input / output control unit 20a by a cable (not shown). The image data may be read out via the cable. Further, the table shown in FIG. 7 may be stored in the memory of the digital camera.

また、以上の実施の形態では、色変換処理として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 number conversion module 85 converts 256 gradations into two gradations with or without dots. For example, three gradations of large dots, medium dots, and small dots are used. It is also possible to convert to four gradations consisting of a combination of two dots, or to convert to other gradations.

また、以上の実施の形態では、固定補正パラメータは、印刷用紙の種類によってコントラスト、明度、および、彩度を調整し、また、トーンカーブによる調整を行うようにしたが、例えば、インクの種類または解像度に応じてこれらを調整するようにしたりしてもよい。   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 printing apparatus 10, but can be executed in, for example, a host computer connected to the printing apparatus 10.

なお、上記の処理機能は、コンピュータによって実現することができる。その場合、印刷装置が有すべき機能の処理内容を記述したプログラムが提供される。そのプログラムをコンピュータで実行することにより、上記処理機能がコンピュータ上で実現される。処理内容を記述したプログラムは、コンピュータで読み取り可能な記録媒体に記録しておくことができる。コンピュータで読み取り可能な記録媒体としては、磁気記録装置、光ディスク、光磁気記録媒体、半導体メモリなどがある。磁気記録装置には、ハードディスク装置(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.

本発明の実施の形態に係る印刷装置の外観を示す外観図である。1 is an external view showing an external appearance of a printing apparatus according to an embodiment of the present invention. 本発明の実施の形態に係る印刷装置の構成例を示す図である。It is a figure which shows the structural example of the printing apparatus which concerns on embodiment of this invention. 図2に示す実施の形態において実現される機能ブロックの一例である。It is an example of the functional block implement | achieved in embodiment shown in FIG. 本発明の実施の形態と従来の方法の動作の概要を示す図である。It is a figure which shows the outline | summary of operation | movement of embodiment of this invention and the conventional method. 図2に示す実施の形態において実行されるフローチャートの一例である。It is an example of the flowchart performed in embodiment shown in FIG. 印刷用紙毎の補正処理の内容を示す図である。It is a figure which shows the content of the correction process for every printing paper. トーンカーブの一例を示す図である。It is a figure which shows an example of a tone curve. 3D−LUTの概要を説明するための図である。It is a figure for demonstrating the outline | summary of 3D-LUT.

符号の説明Explanation of symbols

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:
前記第2の補正手段は、明度、コントラスト、および、彩度の少なくとも1つを増加させる補正処理を実行することを特徴とする請求項1記載の印刷装置。   The printing apparatus according to claim 1, wherein the second correction unit executes a correction process for increasing at least one of brightness, contrast, and saturation. 前記第2の補正手段は、入出力特性を示すトーンカーブの特性を変更することにより、補正処理を実行することを特徴とする請求項1記載の印刷装置。   The printing apparatus according to claim 1, wherein the second correction unit executes correction processing by changing a characteristic of a tone curve indicating input / output characteristics. 前記第2の補正手段は、前記印刷用紙の種類に応じた補正パラメータを有しており、印刷しようとする印刷用紙の種類に応じて、上記補正パラメータを選択することを特徴とする請求項1記載の印刷装置。   2. The second correction unit has a correction parameter corresponding to the type of printing paper, and selects the correction parameter according to the type of printing paper to be printed. The printing apparatus as described. 前記変換手段は、前記色変換情報を複数有しており、前記印刷手段が用いるインクの種類、前記印刷用紙の種類、および/または、印刷解像度に応じて、前記色変換情報を選択することを特徴とする請求項1記載の印刷装置。   The conversion unit has a plurality of the color conversion information, and selects the color conversion information according to the type of ink used by the printing unit, the type of the printing paper, and / or the printing resolution. The printing apparatus according to claim 1, wherein: 前記補正パラメータは、前記画像データをサンプリングして得られた情報に基づいて前記算出手段によって算出され、
前記固定の補正パラメータは、前記画像データとは独立した固定のパラメータである、
ことを特徴とする請求項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.
JP2006267873A 2006-09-29 2006-09-29 Printing apparatus, printing method, and printing program Withdrawn JP2008087224A (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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