JP2005151090A - Generation of image file including image correction parameter - Google Patents

Generation of image file including image correction parameter Download PDF

Info

Publication number
JP2005151090A
JP2005151090A JP2003384770A JP2003384770A JP2005151090A JP 2005151090 A JP2005151090 A JP 2005151090A JP 2003384770 A JP2003384770 A JP 2003384770A JP 2003384770 A JP2003384770 A JP 2003384770A JP 2005151090 A JP2005151090 A JP 2005151090A
Authority
JP
Japan
Prior art keywords
image
correction parameter
image data
correction
parameter set
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2003384770A
Other languages
Japanese (ja)
Inventor
Michinao Osawa
道直 大澤
Tatsuro Oshikawa
辰朗 押川
Susumu Kasai
享 笠井
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 JP2003384770A priority Critical patent/JP2005151090A/en
Publication of JP2005151090A publication Critical patent/JP2005151090A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To easily generate an image file the image data of which is related to a set of image correction parameters suitable for each image generating apparatus. <P>SOLUTION: Reference image data of a prescribed test chart and object image data generated by imaging a test chart are acquired. A target parameter is selected from a plurality of image correction parameters, comparing the reference image data with the object image data after color space processing determines a target correction parameter, and processing of updating the object image data after color space processing is sequentially performed by the image correction of the determined value as to a plurality of image correction parameters. A plurality of determined image correction parameters are set as a set of image correction parameters suitable for a particular image generating apparatus. The set of the set image correction parameters is stored in the image generating apparatus. The image file including image data generated by the image generating apparatus and the set of the image correction parameters is generated. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、画像補正用パラメータを含む画像ファイルの生成に関する。   The present invention relates to generation of an image file including image correction parameters.

ディジタルスチルカメラ(DSC)やディジタルビデオカメラ(DVC)その他の画像生成装置によって生成された画像データの出力画質を調整する技術として、画像処理情報としての画像補正パラメータセットが画像データに関連づけられた画像ファイルを用いる技術が知られている。この技術を用いれば、例えば、ユーザーが、画像データの撮像の前若しくは後に各画像補正パラメータについて任意の補正値を指定することにより、画像データに指定された画像補正パラメータセットが関連づけられた画像ファイルを生成することができる。そして、画像データの出力の際に、画像データは、画像ファイルに書き込まれた画像補正パラメータセットを用いた画像処理(画像補正)を受けた後に出力処理される。従って、各画像補正パラメータについて適切な補正値を指定すれば、適切な画像出力結果を得ることができる。   As a technique for adjusting the output image quality of image data generated by a digital still camera (DSC), digital video camera (DVC), or other image generation device, an image in which an image correction parameter set as image processing information is associated with the image data A technique using a file is known. With this technique, for example, the user designates an arbitrary correction value for each image correction parameter before or after imaging of the image data, thereby associating the image correction parameter set specified for the image data with the image file. Can be generated. When the image data is output, the image data is subjected to output processing after being subjected to image processing (image correction) using the image correction parameter set written in the image file. Accordingly, if an appropriate correction value is designated for each image correction parameter, an appropriate image output result can be obtained.

特開2002−344881号公報JP 2002-344881 A 特開2002−344989号公報JP 2002-344989 A

しかし、最適な画像出力結果を得るための画像補正パラメータセットは、使用する画像生成装置や画像出力装置により異なる。また、最適な画像出力結果を得るための画像補正は、コントラストやカラーバランス等といった複数の画像補正パラメータに関する補正を組み合わせて行うことが一般的である。従って、個々の画像生成装置に適した、最適な画像出力結果を得るための画像補正パラメータセットが画像データに関連づけられた画像ファイルを生成することは、容易ではなかった。   However, the image correction parameter set for obtaining an optimal image output result differs depending on the image generation apparatus and the image output apparatus to be used. Further, image correction for obtaining an optimal image output result is generally performed by combining corrections related to a plurality of image correction parameters such as contrast and color balance. Therefore, it is not easy to generate an image file in which an image correction parameter set for obtaining an optimal image output result suitable for each image generation apparatus is associated with image data.

本発明は、上述した従来の課題を解決するためになされたものであり、個々の画像生成装置に適した画像補正パラメータセットが画像データに関連づけられた画像ファイルを容易に生成することができる技術を提供することを目的とする。   The present invention has been made to solve the above-described conventional problems, and can easily generate an image file in which an image correction parameter set suitable for each image generation apparatus is associated with image data. The purpose is to provide.

上記課題を解決するために、本発明の画像ファイル生成方法は、画像ファイルを生成する画像ファイル生成方法であって、
(a)特定の画像生成装置により生成した画像データに特定の画像補正を実行する際に用いられる画像補正パラメータセットを生成する工程と、
(b)前記画像補正パラメータセットを前記特定の画像生成装置内のメモリに格納する工程と、
(c)前記特定の画像生成装置により撮像する工程と、
(d)前記画像補正パラメータセットと、前記撮像により生成された画像データとを含む画像ファイルを生成する工程と、
を備え、
前記工程(a)は、
(i)所定のテストチャートを表す画像データとして、基準色空間で表現された基準画像データを取得する工程と、
(ii)前記特定の画像生成装置によって前記テストチャートを撮像することにより生成された対象画像データを取得する工程と、
(iii)前記対象画像データに適用されている色空間を前記基準色空間に合致させて色空間処理後の対象画像データを生成する工程と、
(iv)前記基準画像データと前記色空間処理後の対象画像データとに基づいて画像補正パラメータセットを設定する工程と、
を備え、
前記工程(iv)は、
複数の画像補正パラメータの中から未選択の画像補正パラメータ1つを注目補正パラメータとして選択する注目補正パラメータ選択処理と、
前記基準画像データと前記色空間処理後の対象画像データとを比較して、前記色空間処理後の対象画像データを前記基準画像データに適合させるように前記注目補正パラメータの値を決定するパラメータ値決定処理と、
前記決定された注目補正パラメータの値を用いた画像補正を施すことによって前記色空間処理後の対象画像データを更新する対象画像補正処理と、
を前記複数の画像補正パラメータの中の各画像補正パラメータについて順次実行する工程と、
前記パラメータ値決定処理において決定された複数の画像補正パラメータ値を、前記特定の画像生成装置に適した画像補正パラメータセットとして設定する工程と、を含むことを特徴とする。
In order to solve the above problems, an image file generation method of the present invention is an image file generation method for generating an image file,
(A) generating an image correction parameter set used when executing specific image correction on image data generated by a specific image generation device;
(B) storing the image correction parameter set in a memory in the specific image generating device;
(C) imaging with the specific image generation device;
(D) generating an image file including the image correction parameter set and the image data generated by the imaging;
With
The step (a)
(I) obtaining reference image data expressed in a reference color space as image data representing a predetermined test chart;
(Ii) obtaining target image data generated by imaging the test chart by the specific image generation device;
(Iii) generating a target image data after color space processing by matching a color space applied to the target image data with the reference color space;
(Iv) setting an image correction parameter set based on the reference image data and the target image data after the color space processing;
With
The step (iv)
Attention correction parameter selection processing for selecting one unselected image correction parameter as a attention correction parameter from among a plurality of image correction parameters;
A parameter value for comparing the reference image data with the target image data after the color space processing and determining a value of the attention correction parameter so that the target image data after the color space processing is adapted to the reference image data The decision process,
Target image correction processing for updating the target image data after the color space processing by performing image correction using the determined value of the correction parameter for attention;
Sequentially executing each of the image correction parameters in the plurality of image correction parameters;
And setting a plurality of image correction parameter values determined in the parameter value determination process as an image correction parameter set suitable for the specific image generation apparatus.

この画像ファイル生成方法では、特定の画像生成装置により生成された対象画像データを基準画像データに適合させるような注目補正パラメータ値の決定と、決定された注目補正パラメータ値を用いた対象画像データの画像補正による更新とを自動的に繰り返し、決定された複数の画像補正パラメータ値を画像補正パラメータセットとして設定し、設定された画像補正パラメータセットを画像生成装置に格納することができる。そして、画像生成装置は、画像データに画像補正パラメータセットを関連づけて画像ファイルを生成する。このようにして、本画像ファイル生成方法によれば、個々の画像生成装置に適した画像補正パラメータセットが画像データに関連づけられた画像ファイルを容易に生成することができる   In this image file generation method, determination of a target correction parameter value that matches target image data generated by a specific image generation device with reference image data, and target image data using the determined target correction parameter value Update by image correction is automatically repeated, a plurality of determined image correction parameter values can be set as an image correction parameter set, and the set image correction parameter set can be stored in the image generation apparatus. The image generation apparatus generates an image file by associating the image correction parameter set with the image data. Thus, according to the present image file generation method, an image file in which an image correction parameter set suitable for each image generation apparatus is associated with the image data can be easily generated.

上記画像ファイル生成方法において、前記基準画像データは、特定の出力装置を用いて出力したときに、望ましい色再現を得るための画像補正を施された画像データであるとしてもよい。また、前記基準画像データは、特定の出力装置を用いて特定の印刷媒体に出力したときに、望ましい色再現を得るための画像補正を施された画像データであるとしてもよい。   In the image file generation method, the reference image data may be image data that has been subjected to image correction to obtain a desired color reproduction when output using a specific output device. The reference image data may be image data that has been subjected to image correction to obtain a desired color reproduction when output to a specific print medium using a specific output device.

この構成によれば、特定の画像生成装置により生成された画像データを特定の出力装置において特定の印刷媒体に出力するときに、望ましい色再現を得るための画像データの画像補正パラメータセットを容易に生成することができる。   According to this configuration, when image data generated by a specific image generation device is output to a specific print medium in a specific output device, an image correction parameter set of image data for obtaining a desired color reproduction can be easily obtained. Can be generated.

上記画像ファイル生成方法において、前記望ましい色再現を得るための画像補正は、記憶色補正を含むとしてもよい。   In the image file generation method, the image correction for obtaining the desired color reproduction may include memory color correction.

この構成によれば、記憶色補正を含む画像補正を施して基準画像データを生成することにより、容易に、基準画像データを、特定の出力装置における出力結果が望ましい色再現となるような画像データとすることができる。   According to this configuration, by performing image correction including memory color correction to generate reference image data, it is possible to easily convert the reference image data into image data whose output result in a specific output device is desirable color reproduction. It can be.

上記画像ファイル生成方法において、前記対象画像補正処理における画像補正は、トーンカーブ補正と記憶色補正とを含むこととしてもよい。   In the image file generation method, the image correction in the target image correction process may include tone curve correction and memory color correction.

この構成によれば、対象画像データを基準画像データに適合させるような画像補正パラメータセットを容易に設定することができる。   According to this configuration, it is possible to easily set an image correction parameter set that adapts target image data to reference image data.

上記画像ファイル生成方法において、前記複数の画像補正パラメータは、前記特定の画像補正に用いる画像補正パラメータと同一であり、前記注目補正パラメータ選択処理における前記注目補正パラメータの選択順序は、前記特定の画像補正における各画像補正パラメータについての補正実行順序と同一であるとしてもよい。   In the image file generation method, the plurality of image correction parameters are the same as the image correction parameters used for the specific image correction, and the selection order of the target correction parameters in the target correction parameter selection process is the specific image. The correction execution order for each image correction parameter in the correction may be the same.

この構成によれば、特定の画像補正が、画像補正パラメータ生成時に用いたのと同一の画像補正パラメータを用いて、注目補正パラメータ選択順序と同一の順序で実行されるため、特定の画像補正を行った画像データの出力結果が、より望ましい色再現となるような画像補正パラメータセットを生成することができる。   According to this configuration, the specific image correction is performed in the same order as the attention correction parameter selection order using the same image correction parameters used when generating the image correction parameters. It is possible to generate an image correction parameter set so that the output result of the performed image data provides more desirable color reproduction.

上記画像ファイル生成方法において、前記選択順序は、ハイライト補正パラメータ、明るさ補正パラメータ、コントラスト補正パラメータ、カラーバランス補正パラメータ、記憶色補正パラメータの順であるとしてもよい。   In the image file generation method, the selection order may be an order of a highlight correction parameter, a brightness correction parameter, a contrast correction parameter, a color balance correction parameter, and a memory color correction parameter.

これらの画像補正パラメータは、出力画質に大きな影響を与えるものであるため、これらの画像補正パラメータ値について上記選択順序を用いて画像補正パラメータセットを生成すれば、画像データの出力結果を望ましい色再現とすることができる画像補正パラメータセットを容易に設定することができる。   Since these image correction parameters have a great influence on the output image quality, if an image correction parameter set is generated using the above selection order for these image correction parameter values, the output result of the image data is reproduced as desired. It is possible to easily set an image correction parameter set that can be

上記画像ファイル生成方法において、前記工程(a)は、前記画像補正パラメータセットを、前記特定の画像生成装置と、前記特定の画像生成装置により生成した画像データの出力に用いる出力装置との組み合わせ毎に生成する工程であるとしてもよい。また、上記画像ファイル生成方法において、前記工程(a)は、前記画像補正パラメータセットを、前記特定の画像生成装置と、前記特定の画像生成装置により生成した画像データの出力に用いる出力装置と、印刷媒体との組み合わせ毎に生成する工程であるとしてもよい。   In the image file generation method, the step (a) includes, for each combination of the image correction parameter set, the specific image generation device and an output device used for outputting image data generated by the specific image generation device. It is good also as a process to produce | generate. In the image file generation method, the step (a) includes using the image correction parameter set for the specific image generation device and an output device for outputting image data generated by the specific image generation device; It is good also as a process produced | generated for every combination with a printing medium.

この構成によれば、画像生成装置、出力装置および印刷媒体のそれぞれの特性を反映した画像補正パラメータセットを生成することができる。   According to this configuration, it is possible to generate an image correction parameter set that reflects the characteristics of the image generation device, the output device, and the print medium.

上記画像ファイル生成方法において、前記工程(a)は、前記画像補正パラメータセットを、前記特定の画像生成装置で利用可能な複数の撮影シーンモードに対して生成する工程であるとしてもよい。   In the image file generation method, the step (a) may be a step of generating the image correction parameter set for a plurality of shooting scene modes that can be used by the specific image generation apparatus.

この構成によれば、撮影シーンモード(撮影対象)により適した画像補正パラメータセットを生成することができる。   According to this configuration, it is possible to generate an image correction parameter set that is more suitable for the shooting scene mode (shooting target).

また、上記課題の少なくとも一部を解決するために、本発明の画像補正パラメータ送信システムは、ネットワークを介して、特定の画像生成装置用の画像補正パラメータセットをインストーラファイルの形式で送信する画像補正パラメータ送信システムであって、
前記ネットワークを介して、ユーザーの使用する画像生成装置と画像出力装置との組み合わせであるユーザー機器情報を取得する機器情報取得部と、
前記ユーザー機器情報に基づいて、前記組み合わせに適した少なくとも1つの画像補正パラメータセットと画像補正パラメータセット用のインストールプログラムとを含むインストーラファイルをユーザーに送信するインストーラファイル送信部と、
を備え、
前記インストーラファイルは、前記インストールプログラムの実行操作により、前記ユーザーの使用する画像生成装置内のメモリに、前記画像補正パラメータセットを格納する機能を備える。
In order to solve at least a part of the above problems, the image correction parameter transmission system of the present invention transmits an image correction parameter set for a specific image generation device in the form of an installer file via a network. A parameter transmission system,
A device information acquisition unit that acquires user device information that is a combination of an image generation device and an image output device used by a user via the network;
An installer file transmitting unit that transmits an installer file including at least one image correction parameter set suitable for the combination and an installation program for the image correction parameter set to the user based on the user device information;
With
The installer file has a function of storing the image correction parameter set in a memory in an image generation apparatus used by the user by an execution operation of the installation program.

この画像補正パラメータ送信システムでは、ユーザーの使用する機器情報の取得と、その機器に適した画像補正パラメータセットの送信とを、ネットワークを介して容易にかつ迅速に行うことができる。また、ユーザーは、画像補正パラメータセットをインストーラファイル形式で取得するので、ユーザーの使用する機器への画像補正パラメータセットの格納を容易に行うことができる。   In this image correction parameter transmission system, acquisition of device information used by a user and transmission of an image correction parameter set suitable for the device can be performed easily and quickly via a network. In addition, since the user acquires the image correction parameter set in the installer file format, the image correction parameter set can be easily stored in the device used by the user.

なお、本発明は、種々の態様で実現することが可能であり、例えば、画像ファイル生成方法および装置、画像データ処理方法および装置、これらの方法または装置の機能を実現するためのコンピュータプログラム、そのコンピュータプログラムを記録した記録媒体、そのコンピュータプログラムを含み搬送波内に具現化されたデータ信号、等の形態で実現することができる。   It should be noted that the present invention can be realized in various modes, for example, an image file generation method and apparatus, an image data processing method and apparatus, a computer program for realizing the functions of these methods or apparatuses, and the like The present invention can be realized in the form of a recording medium that records a computer program, a data signal that includes the computer program and is embodied in a carrier wave, and the like.

次に、本発明の実施の形態を実施例に基づいて以下の順序で説明する。
A.画像処理システムの構成:
B.基準画像データ生成処理:
C.画像補正パラメータ生成処理:
D.画像ファイルの構成:
E.画像補正パラメータセットの受け渡し:
F.画像補正パラメータセットを用いた画像ファイル生成処理の第1実施例:
G.画像出力処理:
H.画像補正パラメータセットを用いた画像ファイル生成処理の第2実施例:
I.変形例:
Next, embodiments of the present invention will be described in the following order based on examples.
A. Image processing system configuration:
B. Reference image data generation processing:
C. Image correction parameter generation processing:
D. Image file structure:
E. Image correction parameter set delivery:
F. First Example of Image File Generation Processing Using Image Correction Parameter Set:
G. Image output processing:
H. Second Embodiment of Image File Generation Processing Using Image Correction Parameter Set:
I. Variation:

A.画像処理システムの構成:
図1は、本発明の一実施例としての画像処理システム10の構成の一例を示す説明図である。画像処理システム10は、画像補正パラメータセットを生成する画像補正パラメータ生成システム20と、画像補正パラメータセットを利用できる画像ファイルを生成し、画像補正パラメータセットを用いて画像の出力処理を行う画像ファイル生成・出力システム30とを備えている。
A. Image processing system configuration:
FIG. 1 is an explanatory diagram showing an example of the configuration of an image processing system 10 as an embodiment of the present invention. The image processing system 10 generates an image correction parameter generation system 20 that generates an image correction parameter set, generates an image file that can use the image correction parameter set, and generates an image file that performs image output processing using the image correction parameter set. An output system 30 is provided.

画像補正パラメータ生成システム20は、画像データを生成する画像生成装置としてのディジタルスチルカメラ40と、画像データを出力する画像出力装置としてのプリンタ50と、画像データを用いて画像補正パラメータセットを生成する画像補正パラメータ生成装置としてのコンピュータ60とを備えている。   The image correction parameter generation system 20 generates an image correction parameter set by using a digital still camera 40 as an image generation apparatus that generates image data, a printer 50 as an image output apparatus that outputs image data, and the image data. And a computer 60 as an image correction parameter generation device.

画像補正パラメータ生成装置としてのコンピュータ60は、基準画像データを生成する基準画像生成部62と、画像補正パラメータセットを生成する画像補正パラメータ生成部64とを備えている。画像補正パラメータ生成部64は、基準画像格納部641と、対象画像格納部642と、色空間処理部643と、パラメータ値設定部644とを備えている。これらの各部の機能については後述する。   A computer 60 as an image correction parameter generation device includes a reference image generation unit 62 that generates reference image data, and an image correction parameter generation unit 64 that generates an image correction parameter set. The image correction parameter generation unit 64 includes a reference image storage unit 641, a target image storage unit 642, a color space processing unit 643, and a parameter value setting unit 644. The functions of these parts will be described later.

画像ファイル生成・出力システム30は、画像ファイルを生成する画像ファイル生成装置としてのディジタルスチルカメラ70と、画像出力装置としてのプリンタ80と、画像処理装置としてのパーソナルコンピュータPCとを備えている。画像出力装置としてのプリンタ80は、画像データの画像処理を行う画像処理部82を備えていてもよい。これらの各部の機能については後述する。   The image file generation / output system 30 includes a digital still camera 70 as an image file generation device that generates an image file, a printer 80 as an image output device, and a personal computer PC as an image processing device. The printer 80 as an image output device may include an image processing unit 82 that performs image processing of image data. The functions of these parts will be described later.

なお、画像補正パラメータ生成システム20のディジタルスチルカメラ40と画像ファイル生成・出力システム30のディジタルスチルカメラ70とは、同一の画像生成特性を有するものであり、通常は同一の機種が利用される。また、画像補正パラメータ生成システム20のプリンタ50と画像ファイル生成・出力システム30のプリンタ80とは、同一の画像出力特性を有するものであり、通常は同一の機種が利用される。また、後述する画像補正パラメータ生成システム20における基準画像データ生成処理の際には、任意のディジタルスチルカメラを利用することができる。   The digital still camera 40 of the image correction parameter generation system 20 and the digital still camera 70 of the image file generation / output system 30 have the same image generation characteristics, and usually the same model is used. Further, the printer 50 of the image correction parameter generation system 20 and the printer 80 of the image file generation / output system 30 have the same image output characteristics, and usually the same model is used. An arbitrary digital still camera can be used for reference image data generation processing in the image correction parameter generation system 20 described later.

B.基準画像データ生成処理:
図2は、画像補正パラメータ生成システム20における基準画像データTGDの生成処理の一例を示すフローチャートである。ステップS100では、任意のディジタルスチルカメラDSCによってテストチャートと参照画像とを撮像することにより、参照・基準画像データRTGD(図2参照)を生成する。テストチャートはカラーパッチのテストチャートが用いられ、カラーパッチの中にはグレースケールのパッチやその他の色のパッチ、記憶色のパッチ等を含んでいる。また、参照画像としては、任意の画像を選択することが可能であり、例えば、人物画像や風景画像等を選択することができる。
B. Reference image data generation processing:
FIG. 2 is a flowchart showing an example of the generation process of the reference image data TGD in the image correction parameter generation system 20. In step S100, reference / standard image data RTGD (see FIG. 2) is generated by capturing a test chart and a reference image with an arbitrary digital still camera DSC. A test chart of a color patch is used as the test chart, and the color patch includes a gray scale patch, other color patches, a memory color patch, and the like. Further, any image can be selected as the reference image. For example, a person image, a landscape image, or the like can be selected.

ステップS110では、ステップS100において生成した参照・基準画像データRTGDを特定のプリンタ50によって特定の印刷媒体(例えば、専用光沢紙やマット紙)に出力する。   In step S110, the reference / standard image data RTGD generated in step S100 is output by a specific printer 50 to a specific print medium (for example, dedicated glossy paper or matte paper).

ステップS120では、オペレータは、ステップS110において出力された参照・基準画像データRTGDの出力結果の参照画像部分が望ましい色再現となっているか否かを判断する。この結果、望ましい色再現ではないと判断した場合には(ステップS120:No)、ステップS130に進む。   In step S120, the operator determines whether or not the reference image portion of the output result of the reference / standard image data RTGD output in step S110 has a desired color reproduction. As a result, when it is determined that the color reproduction is not desirable (step S120: No), the process proceeds to step S130.

ステップS130では、オペレータは、ステップS110において出力に用いた参照・基準画像データRTGDの補正処理を行う。参照・基準画像データRTGDの補正処理は、ステップS110における出力結果の参照画像部分が望ましい色再現となるように実行される。参照・基準画像データRTGDの補正処理は、コンピュータ60の基準画像生成装置62において、任意の補正内容を任意の補正方法を用いて行うことができ、例えば、コントラスト、カラーバランス、記憶色等についての補正をトーンカーブ補正や記憶色補正のような一般的な補正処理手法を用いて行うことができる。なお、ステップS130において行う補正処理を「基準補正」と呼ぶ。ステップS130において、参照・基準画像データRTGDの補正処理を実行した後に、再度ステップS110に戻る。   In step S130, the operator corrects the reference / standard image data RTGD used for output in step S110. The correction processing of the reference / standard image data RTGD is executed so that the reference image portion of the output result in step S110 has a desired color reproduction. The correction processing of the reference / standard image data RTGD can be performed by using the arbitrary correction method in the standard image generation device 62 of the computer 60, for example, for contrast, color balance, memory color, and the like. The correction can be performed using a general correction processing method such as tone curve correction or memory color correction. The correction process performed in step S130 is referred to as “reference correction”. In step S130, after the reference / standard image data RTGD correction process is executed, the process returns to step S110 again.

一方、ステップS120において、望ましい色再現であると判断した場合には(ステップS120:Yes)、ステップS140に進む。ステップS140では、参照・基準画像データRTGDの中からテストチャート部分の画像データのみを取り出し、それを基準画像データTGDとして設定する。   On the other hand, if it is determined in step S120 that the color reproduction is desirable (step S120: Yes), the process proceeds to step S140. In step S140, only the image data of the test chart portion is extracted from the reference / standard image data RTGD and set as standard image data TGD.

以上説明したように、基準画像データTGDは、ディジタルスチルカメラDSCによって生成されたテストチャート画像に基準補正を行った画像データである。また基準補正は、ある画像(参照画像)を特定のプリンタ50によって特定の印刷媒体に出力した出力結果が望ましい色再現となるような画像データの画像補正である。   As described above, the reference image data TGD is image data obtained by performing reference correction on the test chart image generated by the digital still camera DSC. The standard correction is an image correction of image data such that an output result obtained by outputting a certain image (reference image) to a specific print medium by a specific printer 50 achieves a desired color reproduction.

画像データの出力結果は、使用するプリンタ毎に、あるいはプリンタと印刷媒体との組み合わせ毎に異なる。従って、基準画像データTGDは、対象とするプリンタ毎に、あるいは対象とするプリンタと印刷媒体との組み合わせ毎に生成されることが好ましい。また、画像データの出力結果の色再現の望ましさは、画像データの撮影シーンモード(撮影対象)毎に異なる。従って、基準画像データTGDは、選択する参照画像毎(すなわち撮影シーンモード毎)にも生成されることが好ましい。   The output result of the image data is different for each printer to be used or for each combination of the printer and the print medium. Therefore, it is preferable that the reference image data TGD is generated for each target printer or for each combination of the target printer and the print medium. In addition, the desirability of color reproduction of the output result of the image data varies depending on the shooting scene mode (shooting target) of the image data. Therefore, it is preferable that the standard image data TGD is generated for each reference image to be selected (that is, for each shooting scene mode).

生成された基準画像データTGDは、コンピュータ60の画像補正パラメータ生成部64の基準画像格納部641に格納される。   The generated reference image data TGD is stored in the reference image storage unit 641 of the image correction parameter generation unit 64 of the computer 60.

C.画像補正パラメータ生成処理:
図3は、画像補正パラメータ生成装置としてのコンピュータ60(図1)における画像補正パラメータ生成処理の処理ルーチンを示すフローチャートである。ステップS200では、色空間処理部643は、画像補正パラメータ生成部64の基準画像格納部641から基準画像データTGDを、対象画像格納部642から対象画像データOGDを、それぞれ取得する。対象画像データOGDは、基準画像データ生成時に用いたものと同じテストチャートを、特定のディジタルスチルカメラ40において撮像することにより得られるテストチャート画像データである。
C. Image correction parameter generation processing:
FIG. 3 is a flowchart showing a processing routine of image correction parameter generation processing in the computer 60 (FIG. 1) as the image correction parameter generation device. In step S200, the color space processing unit 643 acquires the reference image data TGD from the reference image storage unit 641 of the image correction parameter generation unit 64 and the target image data OGD from the target image storage unit 642, respectively. The target image data OGD is test chart image data obtained by capturing the same test chart as that used when generating the reference image data with a specific digital still camera 40.

ステップS210では、色空間処理部643は、対象画像データOGDに適用されている色空間を、基準画像データTGDの色空間に合致させる色空間変換処理を行う。色空間変換処理は、例えば色空間変換マトリクスを用いて行うことができる。色空間変換処理により対象画像データOGDと基準画像データTGDとは同一の色空間で表現された画像データとなる。なお画像データの色空間には種々の色空間が存在するが、本実施例では基準画像データTGDの色空間が画像補正用の特別なRGB色空間(以下、「cRGB色空間」と呼ぶ)であるとして説明する。   In step S210, the color space processing unit 643 performs a color space conversion process that matches the color space applied to the target image data OGD with the color space of the reference image data TGD. The color space conversion process can be performed using, for example, a color space conversion matrix. By the color space conversion process, the target image data OGD and the reference image data TGD become image data expressed in the same color space. Various color spaces exist in the color space of the image data. In this embodiment, the color space of the reference image data TGD is a special RGB color space for image correction (hereinafter referred to as “cRGB color space”). It will be explained as being.

ステップS220では、パラメータ値設定部644は、基準画像データTGDと、ステップS210において色空間変換処理を受けた対象画像データOGDとを用いて、比較・補正処理を行う。比較・補正処理では、基準画像データTGDと対象画像データOGDとの画像データ同士を比較し、対象画像データOGDを基準画像データTGDに適合させるような画像補正パラメータ値を決定し、決定したパラメータ値を用いた画像補正を施すことによって対象画像データOGDを更新する処理を行う。このような処理を複数の画像補正パラメータについて順次実行する。画像補正パラメータとしては、ハイライト補正パラメータ、明るさ補正パラメータ、コントラスト補正パラメータ、カラーバランス補正パラメータ、記憶色補正パラメータ等を用いることができる。なお、比較・補正処理については、後に詳述する。   In step S220, the parameter value setting unit 644 performs comparison / correction processing using the reference image data TGD and the target image data OGD that has undergone the color space conversion processing in step S210. In the comparison / correction processing, the image data of the reference image data TGD and the target image data OGD are compared, image correction parameter values that match the target image data OGD with the reference image data TGD are determined, and the determined parameter values The target image data OGD is updated by performing image correction using. Such processing is sequentially executed for a plurality of image correction parameters. As the image correction parameters, highlight correction parameters, brightness correction parameters, contrast correction parameters, color balance correction parameters, memory color correction parameters, and the like can be used. The comparison / correction process will be described in detail later.

ステップS230では、パラメータ値設定部644は、画像補正パラメータセットの設定を行う。画像補正パラメータセットの設定は、ステップS220の比較・補正処理において決定された複数の画像補正パラメータ値を画像補正パラメータセットとして設定することにより行う。   In step S230, the parameter value setting unit 644 sets an image correction parameter set. The image correction parameter set is set by setting a plurality of image correction parameter values determined in the comparison / correction processing in step S220 as an image correction parameter set.

以上の処理を行うことにより、画像補正パラメータ生成装置としてのコンピュータ60は、画像補正パラメータセットを生成することができる。   By performing the above processing, the computer 60 as the image correction parameter generation device can generate an image correction parameter set.

図4は、本実施例における比較・補正処理(図3のステップS220)の処理ルーチンを示すフローチャートである。ステップS300では、画像補正パラメータ生成部64のパラメータ値設定部644は、ハイライトを注目補正パラメータとして選択し、色空間変換処理(図3のステップS210)を受けた対象画像データOGDと基準画像データTGDとを比較してハイライト補正パラメータ値を決定する。対象画像データOGDと基準画像データTGDとの比較は、両画像データのハイライトのパッチ部分(白色パッチ)について行う。ハイライト補正パラメータ値の決定は、ある補正値を用いたハイライト補正を受けた対象画像データOGDと基準画像データTGDとが、ハイライトのパッチ部分において最も良く一致するような補正値を求めることにより行う。   FIG. 4 is a flowchart showing a processing routine of comparison / correction processing (step S220 in FIG. 3) in the present embodiment. In step S300, the parameter value setting unit 644 of the image correction parameter generation unit 64 selects the highlight as a target correction parameter, and the target image data OGD and the reference image data subjected to the color space conversion process (step S210 in FIG. 3). The highlight correction parameter value is determined by comparing with TGD. The comparison between the target image data OGD and the reference image data TGD is performed on the highlighted patch portion (white patch) of both image data. The determination of the highlight correction parameter value is to obtain a correction value that best matches the target image data OGD that has undergone highlight correction using a certain correction value and the reference image data TGD in the highlight patch portion. To do.

画像データ同士の一致の程度を表す指標値としては、例えば、画像データ間の誤差の2乗和を用いることができる。従って、ハイライト補正値を求める際には、基準画像データTGDの白色パッチの画素値の平均値と、対象画像データOGDの白色パッチの画素値の平均値とを求め、両平均値の差を各パッチの画像データ間誤差とする。テストチャートに複数の白色パッチが含まれている場合、各白色パッチ毎の画像データ間誤差を求め、それら画像データ間誤差の2乗和を求める。なお、この画像データ間誤差の2乗和は、R信号、G信号およびB信号毎にそれぞれ求まる。ハイライト補正値は、これらの各信号についての画像データ間誤差の2乗和の合計が最小になるように決定される。   As an index value representing the degree of matching between image data, for example, a square sum of errors between image data can be used. Therefore, when obtaining the highlight correction value, the average value of the pixel values of the white patch of the reference image data TGD and the average value of the pixel values of the white patch of the target image data OGD are obtained, and the difference between the two average values is obtained. This is an error between image data of each patch. When a plurality of white patches are included in the test chart, an error between the image data for each white patch is obtained, and a square sum of the errors between the image data is obtained. The square sum of the error between the image data is obtained for each of the R signal, the G signal, and the B signal. The highlight correction value is determined so that the sum of the square sum of the errors between the image data for each of these signals is minimized.

画像データのハイライト補正は、例えば、図5に示すようなトーンカーブ補正により行うことができる。図5の例では、補正前のトーンカーブTC0に対し、ハイライト補正値(例えばCh1またはCh2)を指定することにより補正用トーンカーブ(TC1またはTC2)を作成する。この補正用トーンカーブを対象画像データOGDに適用することにより、対象画像データOGDのハイライト補正を行うことができる。なお、この例では、同一のトーンカーブがRGB各色に共通に適用される。   For example, highlight correction of image data can be performed by tone curve correction as shown in FIG. In the example of FIG. 5, a correction tone curve (TC1 or TC2) is created by designating a highlight correction value (for example, Ch1 or Ch2) for the tone curve TC0 before correction. By applying this correction tone curve to the target image data OGD, highlight correction of the target image data OGD can be performed. In this example, the same tone curve is commonly applied to each RGB color.

ステップS310では、パラメータ値設定部644は、色空間変換処理を受けた対象画像データOGDに対し、ステップS300において決定されたハイライト補正パラメータ値を用いてハイライト補正を実行する。ハイライト補正後の対象画像データOGDaは、次の画像補正パラメータ値の決定の際の対象画像データとして利用される。   In step S310, the parameter value setting unit 644 performs highlight correction on the target image data OGD that has undergone the color space conversion process, using the highlight correction parameter value determined in step S300. The target image data OGDa after the highlight correction is used as target image data when determining the next image correction parameter value.

ステップS320では、パラメータ値設定部644は、明るさを注目補正パラメータとして選択し、ステップS310におけるハイライト補正後の対象画像データOGDaと、基準画像データTGDとを比較して、明るさ補正パラメータ値を決定する。対象画像データOGDaと基準画像データTGDとの比較は、両画像データのグレースケールのパッチ部分について行う。   In step S320, the parameter value setting unit 644 selects brightness as the attention correction parameter, compares the target image data OGDa after highlight correction in step S310 with the reference image data TGD, and determines the brightness correction parameter value. To decide. The comparison between the target image data OGDa and the reference image data TGD is performed for the gray scale patch portions of both image data.

明るさ補正パラメータ値の決定は、ある補正値を用いた明るさ補正を受けた対象画像データOGDaと、基準画像データTGDとが、グレースケール部分において最も良く一致するような補正値を求めることにより行う。具体的には、グレースケールのパッチは複数存在するので、これらの複数のパッチに関し、明るさ補正を受けた対象画像データOGDaと基準画像データTGDとの誤差の2乗和の合計が最小になるように、明るさ補正パラメータ値が決定される。   The brightness correction parameter value is determined by obtaining a correction value that best matches the target image data OGDa that has undergone brightness correction using a certain correction value and the reference image data TGD in the gray scale portion. Do. Specifically, since there are a plurality of gray scale patches, the sum of the square sum of the errors between the target image data OGDa subjected to brightness correction and the reference image data TGD is minimized with respect to the plurality of patches. As described above, the brightness correction parameter value is determined.

画像データの明るさ補正は、例えば、図6に示すようなトーンカーブ補正により行うことができる。図6の例では、TC0は補正前のトーンカーブを表している。明るさ補正値は、任意の参照入力レベル(例えばIref1またはIref2)における出力レベル調整量(例えばCb1またはCb2)により表すことができる。すなわち、補正後の参照入力レベルに対応する出力レベルは、補正前の参照入力レベルに対応する出力レベル値から出力レベル調整量(補正値)を増減した値とする。参照入力レベル以外の入力レベルに対応する出力レベルをスプライン関数により補間することにより、補正用トーンカーブ(TC1またはTC2)を作成する。この補正用トーンカーブを対象画像データOGDaに適用することにより、明るさ補正を行うことができる。なお、この例では、同一のトーンカーブがRGB各色に共通に適用される。   The brightness correction of the image data can be performed by, for example, tone curve correction as shown in FIG. In the example of FIG. 6, TC0 represents a tone curve before correction. The brightness correction value can be represented by an output level adjustment amount (for example, Cb1 or Cb2) at an arbitrary reference input level (for example, Iref1 or Iref2). That is, the output level corresponding to the corrected reference input level is a value obtained by increasing or decreasing the output level adjustment amount (correction value) from the output level value corresponding to the reference input level before correction. A correction tone curve (TC1 or TC2) is created by interpolating an output level corresponding to an input level other than the reference input level with a spline function. By applying this correction tone curve to the target image data OGDa, brightness correction can be performed. In this example, the same tone curve is commonly applied to each RGB color.

ステップS330では、パラメータ値設定部644は、ステップS310におけるハイライト補正後の対象画像データOGDaに対し、ステップS320において決定された明るさ補正パラメータ値を用いて明るさ補正を実行する。   In step S330, the parameter value setting unit 644 performs brightness correction on the target image data OGDa after the highlight correction in step S310, using the brightness correction parameter value determined in step S320.

ステップS340では、パラメータ値設定部644は、コントラストを注目補正パラメータとして選択し、ステップS330における明るさ補正後の対象画像データOGDbと、基準画像データTGDとを比較して、コントラスト補正パラメータ値を決定する。対象画像データOGDbと基準画像データTGDとの比較は、両画像データのグレースケールのパッチ部分について行う。   In step S340, the parameter value setting unit 644 selects contrast as the attention correction parameter, compares the target image data OGDb after the brightness correction in step S330 with the reference image data TGD, and determines the contrast correction parameter value. To do. The comparison between the target image data OGDb and the reference image data TGD is performed for the gray scale patch portions of both image data.

コントラスト補正パラメータ値の決定は、ある補正値を用いたコントラスト補正を受けた対象画像データOGDbと基準画像データTGDとが、グレースケール部分において最も良く一致するような補正値を求めることにより行う。具体的には、グレースケールのパッチは複数存在するので、これらの複数のパッチに関し、コントラスト補正を受けた対象画像データOGDbと基準画像データTGDとの誤差の2乗和の合計が最小になるように、コントラスト補正パラメータ値が決定される。   The contrast correction parameter value is determined by obtaining a correction value that best matches the target image data OGDb subjected to contrast correction using a certain correction value and the reference image data TGD in the gray scale portion. Specifically, since there are a plurality of patches of gray scale, the sum of the square sum of errors between the target image data OGDb subjected to contrast correction and the reference image data TGD is minimized with respect to the plurality of patches. In addition, a contrast correction parameter value is determined.

画像データのコントラスト補正は、例えば、図7に示すようなトーンカーブ補正により行うことができる。図7の例では、TC0は補正前のトーンカーブを表している。コントラスト補正値は、任意の参照入力レベル(例えばIrefおよびIref’)における出力レベル調整量(例えばCc1およびCc1’またはCc2およびCc2’)により表すことができる。補正後の主参照入力レベル(Iref)に対応する出力レベルは、補正前の主参照入力レベルに対応する出力レベル値に対し、出力レベル調整量(補正値)を増減する調整を行った値とする。そして補正後の従参照入力レベル(Iref’)に対応する出力レベルは、補正前の従参照入力レベルに対応する出力レベル値に対し、主参照入力レベルにおける調整量(補正値)の符号を逆にした調整量による調整を行った値とする。参照入力レベル以外の入力レベルに対応する出力レベルをスプライン関数により補間することにより、補正用トーンカーブ(TC1またはTC2)を作成する。この補正用トーンカーブを対象画像データOGDbに適用することにより、コントラスト補正を行うことができる。なお、この例では、同一のトーンカーブがRGB各色に共通に適用される。   The contrast correction of the image data can be performed by, for example, tone curve correction as shown in FIG. In the example of FIG. 7, TC0 represents a tone curve before correction. The contrast correction value can be expressed by an output level adjustment amount (for example, Cc1 and Cc1 'or Cc2 and Cc2') at an arbitrary reference input level (for example, Iref and Iref '). The output level corresponding to the corrected main reference input level (Iref) is a value obtained by performing adjustment to increase or decrease the output level adjustment amount (correction value) with respect to the output level value corresponding to the main reference input level before correction. To do. The output level corresponding to the corrected secondary reference input level (Iref ′) is opposite to the sign of the adjustment amount (correction value) in the primary reference input level with respect to the output level value corresponding to the secondary reference input level before correction. The value adjusted according to the adjusted amount is used. A correction tone curve (TC1 or TC2) is created by interpolating an output level corresponding to an input level other than the reference input level with a spline function. By applying this correction tone curve to the target image data OGDb, contrast correction can be performed. In this example, the same tone curve is commonly applied to each RGB color.

ステップS350では、パラメータ値設定部644は、ステップS330における明るさ補正後の対象画像データOGDbに対し、ステップS340において決定されたコントラスト補正パラメータ値を用いてコントラスト補正を実行する。   In step S350, the parameter value setting unit 644 performs contrast correction on the target image data OGDb after the brightness correction in step S330, using the contrast correction parameter value determined in step S340.

ステップS360では、パラメータ値設定部644は、カラーバランスを注目補正パラメータとして選択し、ステップS350におけるコントラスト補正後の対象画像データOGDcと、基準画像データTGDとを比較して、カラーバランス補正パラメータ値を決定する。対象画像データOGDcと基準画像データTGDとの比較は、両画像データのカラーのパッチ部分について行う。   In step S360, the parameter value setting unit 644 selects color balance as the attention correction parameter, compares the target image data OGDc after contrast correction in step S350 with the reference image data TGD, and sets the color balance correction parameter value. decide. The comparison between the target image data OGDc and the reference image data TGD is performed for the color patch portions of both image data.

カラーバランス補正パラメータ値の決定は、ある補正値を用いたカラーバランス補正を受けた対象画像データOGDcと基準画像データTGDとが、カラーパッチ部分において最も良く一致するような補正値を求めることにより行う。カラーバランス補正パラメータ値の決定は、画像データに適用されている色空間に応じて色信号ごとに行う。本実施例では、R信号、G信号、B信号のそれぞれについて決定される。具体的には、カラーパッチは複数存在するので、これらの複数のパッチに関し、RGB各色のそれぞれについて、カラーバランス補正を受けた対象画像データOGDcと基準画像データTGDとの誤差の2乗和が最小になるように、RGBそれぞれのカラーバランス補正パラメータ値が決定される。   The color balance correction parameter value is determined by obtaining a correction value that best matches the target image data OGDc subjected to color balance correction using a certain correction value and the reference image data TGD in the color patch portion. . The color balance correction parameter value is determined for each color signal in accordance with the color space applied to the image data. In this embodiment, the determination is made for each of the R signal, the G signal, and the B signal. Specifically, since there are a plurality of color patches, the sum of squares of errors between the target image data OGDc subjected to the color balance correction and the reference image data TGD is minimized for each of the RGB colors. Thus, the color balance correction parameter values for RGB are determined.

画像データのカラーバランス補正は、例えば、図8に示すようなトーンカーブ補正により行うことができる。図8では、R信号についてのトーンカーブ補正の例を示している。TC0は補正前のトーンカーブを表している。カラーバランス補正値は、任意の参照入力レベル(例えばIref)における出力レベル調整量(例えばCr1またはCr2)により表すことができる。すなわち、補正後の参照入力レベルに対応する出力レベルは、補正前の参照入力レベルに対応する出力レベル値から出力レベル調整量(補正値)を増減した値とする。参照入力レベル以外の入力レベルに対応する出力レベルをスプライン関数により補間することにより、補正用トーンカーブ(TC1またはTC2)を作成する。この補正用トーンカーブを対象画像データOGDに適用することにより、R信号についてのカラーバランス補正を行うことができる。G信号、B信号についても同様にしてカラーバランス補正を行うことができる。   The color balance correction of the image data can be performed, for example, by tone curve correction as shown in FIG. FIG. 8 shows an example of tone curve correction for the R signal. TC0 represents a tone curve before correction. The color balance correction value can be represented by an output level adjustment amount (for example, Cr1 or Cr2) at an arbitrary reference input level (for example, Iref). That is, the output level corresponding to the corrected reference input level is a value obtained by increasing or decreasing the output level adjustment amount (correction value) from the output level value corresponding to the reference input level before correction. A correction tone curve (TC1 or TC2) is created by interpolating an output level corresponding to an input level other than the reference input level with a spline function. By applying this correction tone curve to the target image data OGD, color balance correction for the R signal can be performed. Color balance correction can be similarly performed for the G signal and the B signal.

ステップS370では、パラメータ値設定部644は、ステップS350におけるコントラスト補正後の対象画像データOGDcに対し、ステップS360において決定されたカラーバランス補正パラメータ値を用いてカラーバランス補正を行う。   In step S370, the parameter value setting unit 644 performs color balance correction on the target image data OGDc after the contrast correction in step S350, using the color balance correction parameter value determined in step S360.

ステップS380では、パラメータ値設定部644は、記憶色を注目補正パラメータとして選択し、ステップS370におけるカラーバランス補正後の対象画像データOGDdと、基準画像データTGDとを比較して、記憶色補正パラメータ値を決定する。記憶色とは、人が着目しやすい領域の色をいい、例えば肌色領域、緑色領域、青色領域等がある。対象画像データOGDdと基準画像データTGDとの比較は、両画像データのある記憶色の色範囲(以下、記憶色範囲と呼ぶ)内のパッチ部分について行う。   In step S380, the parameter value setting unit 644 selects the memory color as the attention correction parameter, compares the target image data OGDd after color balance correction in step S370 with the reference image data TGD, and stores the memory color correction parameter value. To decide. The memory color refers to a color of an area that is easily noticed by a person, and includes, for example, a skin color area, a green area, and a blue area. The comparison between the target image data OGDd and the reference image data TGD is performed for a patch portion in a color range of a certain memory color (hereinafter referred to as a memory color range) of both image data.

記憶色補正パラメータ値の決定は、ある補正値を用いた記憶色補正を受けた対象画像データOGDdと基準画像データTGDとが、記憶色範囲内のパッチ部分において最も良く一致するような補正値を求めることにより行う。記憶色補正パラメータ値の決定は、各記憶色ごとに行う。また、それぞれの記憶色について画像データに適用されている色空間に応じて色信号ごとに行う。本実施例では、R信号、G信号、B信号のそれぞれについて決定される。具体的には、ある記憶色の記憶色範囲内のパッチに関し、RGB各色のそれぞれについて、記憶色補正を受けた対象画像データOGDcと基準画像データTGDとの誤差の2乗和が最小になるように、ある記憶色のRGBそれぞれの記憶色補正パラメータ値が決定される。   The memory color correction parameter value is determined by determining a correction value that best matches the target image data OGDd subjected to the memory color correction using a certain correction value and the reference image data TGD in the patch portion within the memory color range. Do it by asking. The memory color correction parameter value is determined for each memory color. Further, each memory color is performed for each color signal in accordance with the color space applied to the image data. In this embodiment, the determination is made for each of the R signal, the G signal, and the B signal. Specifically, regarding a patch within a memory color range of a certain memory color, the sum of squares of errors between the target image data OGDc subjected to memory color correction and the reference image data TGD is minimized for each of the RGB colors. In addition, the memory color correction parameter value for each RGB of a certain memory color is determined.

画像データの記憶色補正は、例えば、図9に示すような記憶色補正により行うことができる。図9では、ある記憶色範囲内の画像データを対象とした記憶色補正の例を示している。記憶色補正は、R信号、G信号、B信号のそれぞれについて行う。TC0r、TC0g、TC0bは補正前のトーンカーブを表している。記憶色補正値は、任意の参照入力レベル(例えばIref)における出力レベル調整量(例えばCmr、Cmg、Cmb)により表すことができる。すなわち、補正後の参照入力レベルに対応する出力レベルは、補正前の参照入力レベルに対応する出力レベル値から出力レベル調整量(補正値)を増減した値とする。参照入力レベル以外の入力レベルに対応する出力レベルをスプライン関数により補間することにより、補正用トーンカーブ(TC1r、TC1g、TC1b)を作成する。この補正用トーンカーブを対象画像データOGDdの中の当該記憶色範囲内の画像データに適用することにより、当該記憶色についての記憶色補正を行うことができる。   The memory color correction of the image data can be performed by, for example, memory color correction as shown in FIG. FIG. 9 shows an example of memory color correction for image data within a certain memory color range. The memory color correction is performed for each of the R signal, the G signal, and the B signal. TC0r, TC0g, and TC0b represent tone curves before correction. The memory color correction value can be represented by an output level adjustment amount (for example, Cmr, Cmg, Cmb) at an arbitrary reference input level (for example, Iref). That is, the output level corresponding to the corrected reference input level is a value obtained by increasing or decreasing the output level adjustment amount (correction value) from the output level value corresponding to the reference input level before correction. A correction tone curve (TC1r, TC1g, TC1b) is created by interpolating an output level corresponding to an input level other than the reference input level with a spline function. By applying this correction tone curve to the image data within the memory color range in the target image data OGDd, the memory color correction for the memory color can be performed.

ステップS390では、パラメータ値設定部644は、ステップS370におけるカラーバランス補正後の対象画像データOGDdに対し、ステップS380において決定された各記憶色についての記憶色補正パラメータ値を用いて記憶色補正を行う。   In step S390, the parameter value setting unit 644 performs memory color correction on the target image data OGDd after color balance correction in step S370, using the memory color correction parameter value for each memory color determined in step S380. .

ステップS400では、パラメータ値設定部644は、ステップS390における記憶色補正後の対象画像データOGDeと、基準画像データTGDとを比較し、対象画像データOGDeが所定の条件を満たしているかの判定を行う。所定の条件は、例えば、テストチャートの一部または全部のパッチについての画像データ間誤差の2乗和の合計が所定の上限値の範囲内に収まっていることとすることができる。あるいは、テストチャートの一部または全部のパッチについて、それぞれの画像データ間誤差が所定の上限値および下限値の範囲内に収まっていることとすることもできる。   In step S400, the parameter value setting unit 644 compares the target image data OGDe after the memory color correction in step S390 and the reference image data TGD, and determines whether the target image data OGDe satisfies a predetermined condition. . The predetermined condition can be, for example, that the sum of square sums of errors between image data for some or all patches of the test chart is within a predetermined upper limit range. Alternatively, for some or all patches of the test chart, the error between the respective image data can be within a predetermined upper limit value and lower limit value range.

ステップS400において所定の条件を満たしていないと判定した場合は(ステップS400:No)、補正処理方法や使用補正パラメータの修正を行った上で、再度、比較・補正処理の始まりに戻り、比較・補正処理を繰り返し実行する。補正処理方法の修正は、例えば、補正用トーンカーブ作成の際の参照入力レベル点を追加して、より精緻なトーンカーブを作成すること等により行うことができる。また使用補正パラメータの修正は、例えば、ハイライト補正パラメータにシャドー補正パラメータを追加して、ハイライト−シャドー補正とすること等により行うことができる。   When it is determined in step S400 that the predetermined condition is not satisfied (step S400: No), the correction processing method and the use correction parameter are corrected, and then the comparison / correction processing is started again, and the comparison / correction processing is performed again. Repeat the correction process. The correction processing method can be corrected, for example, by adding a reference input level point when creating a correction tone curve and creating a more precise tone curve. The correction of the use correction parameter can be performed, for example, by adding a shadow correction parameter to the highlight correction parameter to perform highlight-shadow correction.

一方、ステップS400において所定の条件を満たしていると判定した場合は(ステップS400:Yes)、処理を終了し、画像補正パラメータ生成処理ルーチン(図3)に戻る。   On the other hand, if it is determined in step S400 that the predetermined condition is satisfied (step S400: Yes), the process ends, and the process returns to the image correction parameter generation process routine (FIG. 3).

上述したように、画像補正パラメータ生成装置としてのコンピュータ60は、基準画像データTGDと対象画像データOGDとを用いて、複数の画像補正パラメータ値を順次自動的に決定し、決定した複数の画像補正パラメータ値を画像補正パラメータセットとして設定することができる。   As described above, the computer 60 as the image correction parameter generation apparatus automatically determines a plurality of image correction parameter values sequentially using the reference image data TGD and the target image data OGD, and determines the determined plurality of image corrections. Parameter values can be set as an image correction parameter set.

このように、生成された画像補正パラメータセットは、特定のディジタルスチルカメラ40によって生成された対象画像データOGDを基準画像データTGDに適合させるような画像補正に用いることができるものである。そして、前述したように、基準画像データTGDは、特定のプリンタ50における参照画像(図2)の特定印刷媒体への出力結果が望ましい色再現となるように生成されている。従って、特定のディジタルスチルカメラ40において生成された任意の画像データに対し、生成された画像補正パラメータセットを用いた画像補正(特定の画像補正)を実行し、特定のプリンタ50において特定の印刷媒体に出力すれば、その出力結果は望ましい色再現を得ることができる。すなわち、本実施例の画像補正パラメータ生成装置によれば、特定のディジタルスチルカメラと特定のプリンタと特定の印刷媒体との組み合わせに応じて、望ましい出力結果を得ることができるような画像データの画像補正パラメータセットを容易に生成することができる。   Thus, the generated image correction parameter set can be used for image correction such that the target image data OGD generated by the specific digital still camera 40 is adapted to the reference image data TGD. As described above, the standard image data TGD is generated so that the output result of the reference image (FIG. 2) on the specific printer 50 to the specific print medium is a desirable color reproduction. Accordingly, image correction (specific image correction) using the generated image correction parameter set is performed on arbitrary image data generated by the specific digital still camera 40, and a specific print medium is specified by the specific printer 50. If desired, the desired color reproduction can be obtained from the output result. That is, according to the image correction parameter generation apparatus of the present embodiment, an image of image data that can obtain a desired output result according to a combination of a specific digital still camera, a specific printer, and a specific print medium. A correction parameter set can be easily generated.

なお、前述したように、基準画像データTGDは、生成時に用いるプリンタと印刷媒体との組み合わせ毎に生成されている。一方、対象画像データOGDは、生成時に用いるディジタルスチルカメラ毎に生成されている。従って、画像補正パラメータ生成装置としてのコンピュータ60は、格納する基準画像データTGDと対象画像データOGDとを選択することにより、ディジタルスチルカメラとプリンタと印刷媒体とのあらゆる組み合わせに適した画像補正パラメータセットを生成することができる。   As described above, the reference image data TGD is generated for each combination of a printer and a print medium used at the time of generation. On the other hand, the target image data OGD is generated for each digital still camera used at the time of generation. Accordingly, the computer 60 as the image correction parameter generation device selects the reference image data TGD and the target image data OGD to be stored, thereby setting an image correction parameter set suitable for any combination of a digital still camera, a printer, and a print medium. Can be generated.

また、基準画像データTGDは、生成時に使用する参照画像毎にも生成されるため、画像補正パラメータセットは、参照画像毎に生成され得る。従って、例えば、人物画像用画像補正パラメータセットや風景画像用画像補正パラメータセットのように撮影シーンモード(撮影対象)に応じて使用できる画像補正パラメータセットを生成することもできる。   Further, since the standard image data TGD is also generated for each reference image used at the time of generation, the image correction parameter set can be generated for each reference image. Therefore, for example, an image correction parameter set that can be used in accordance with the shooting scene mode (shooting target) such as a human image correction parameter set or a landscape image correction parameter set can be generated.

また、前述のように、基準画像データTGD生成の際には、任意のディジタルスチルカメラDSCを使用することができるが、対象画像データOGD生成時に使用する特定のディジタルスチルカメラ40と同じディジタルスチルカメラを使用してもよい。このようにすれば、望ましい出力結果を得るための画像補正パラメータセットをより容易に生成することができる。   Further, as described above, any digital still camera DSC can be used when generating the reference image data TGD, but the same digital still camera as the specific digital still camera 40 used when generating the target image data OGD. May be used. In this way, an image correction parameter set for obtaining a desired output result can be generated more easily.

D.画像ファイルの構成:
図10は、本実施例にて用いることができる画像ファイルGFの内部構成の一例を概略的に示す説明図である。画像ファイルGFは、画像データGDを格納する画像データ格納領域101と、画像データ情報GIを格納する画像データ情報格納領域102とを備えている。画像データGDは、例えば、JPEG形式で格納されており、画像データ情報GIは、例えば、TIFF形式(データおよびデータ領域がタグを用いて特定される形式)で格納されている。なお、本実施例におけるファイルの構造、データの構造、といった用語は、ファイルまたはデータ等が記憶装置に格納された状態におけるファイルまたはデータの構造を意味するものである。
D. Image file structure:
FIG. 10 is an explanatory diagram schematically showing an example of the internal configuration of an image file GF that can be used in this embodiment. The image file GF includes an image data storage area 101 for storing image data GD and an image data information storage area 102 for storing image data information GI. The image data GD is stored, for example, in the JPEG format, and the image data information GI is stored, for example, in the TIFF format (a format in which data and data areas are specified using tags). Note that the terms “file structure” and “data structure” in this embodiment mean the file or data structure in a state where the file or data is stored in the storage device.

画像データ情報GIは、ディジタルスチルカメラ等の画像生成装置において生成された画像データGDに対する画像処理を行う際の画像処理条件を指定する情報である。画像データ情報GIには、撮影日時、絞り、シャッタースピード等の撮影情報の他に、上述の処理で生成された画像補正パラメータセットの情報を含むことができる。   The image data information GI is information for designating image processing conditions when performing image processing on the image data GD generated by an image generation device such as a digital still camera. The image data information GI can include image correction parameter set information generated by the above-described processing in addition to shooting information such as shooting date and time, aperture, and shutter speed.

本実施例の画像ファイルGFは、基本的に上記の画像データ格納領域101と、画像データ情報格納領域102とを備えていれば良く、既に規格化されているファイル形式に従ったファイル構造をとることができる。以下、本実施例に係る画像ファイルGFを規格化されているファイル形式に適合させた場合について具体的に説明する。   The image file GF according to the present embodiment basically has only the image data storage area 101 and the image data information storage area 102 described above, and has a file structure in accordance with an already standardized file format. be able to. The case where the image file GF according to the present embodiment is adapted to a standardized file format will be specifically described below.

本実施例に係る画像ファイルGFは、例えば、ディジタルスチルカメラ用画像ファイルフォーマット規格(Exif)に従ったファイル構造を有することができる。Exifファイルの仕様は、電子情報技術産業協会(JEITA)によって定められている。また、Exifファイル形式は、図10に示した概念図と同様に、JPEG形式の画像データを格納するJPEG画像データ格納領域と、格納されているJPEG画像データに関する各種情報を格納する付属情報格納領域とを備えている。JPEG画像データ格納領域は図10における画像データ格納領域101に相当し、付属情報格納領域は図10における画像データ情報格納領域102に相当する。すなわち、付属情報格納領域には、撮影情報や画像補正パラメータ等の画像データ情報GIが格納されている。なお、当業者にとって周知であるように、Exifファイル形式のファイルでは、各データを特定するためにタグが用いられており、各データはタグ名によって呼ばれることがある。   The image file GF according to the present embodiment can have a file structure in accordance with, for example, a digital still camera image file format standard (Exif). Exif file specifications are defined by the Japan Electronics and Information Technology Industries Association (JEITA). The Exif file format includes a JPEG image data storage area for storing JPEG image data and an attached information storage area for storing various information related to the stored JPEG image data, as in the conceptual diagram shown in FIG. And. The JPEG image data storage area corresponds to the image data storage area 101 in FIG. 10, and the attached information storage area corresponds to the image data information storage area 102 in FIG. That is, image data information GI such as shooting information and image correction parameters is stored in the attached information storage area. As is well known to those skilled in the art, in an Exif file format file, tags are used to identify each data, and each data may be called by a tag name.

図11は、本実施例に用いられ得る画像ファイルGFの付属情報格納領域のデータ構造の一例を示す説明図である。付属情報格納領域には、図示するように、画像データ情報GIとして、ハイライト、明るさ、コントラスト、カラーバランス、記憶色といった画像補正パラメータに関する補正値のデータが規定のアドレスまたはオフセット値に従って格納されている。また、付属情報格納領域にはさらに多数のデータを含むことができるが図11では図示を省略する。出力装置側では、所望の情報(パラメータ)に対応するアドレスまたはオフセット値を指定することにより、画像データ情報GIを取得することができる。なお、画像データ情報GIは、例えば、付属情報格納領域内の未定義領域内であって、ユーザーに解放されているユーザー定義領域内に格納することができる。   FIG. 11 is an explanatory diagram showing an example of the data structure of the attached information storage area of the image file GF that can be used in this embodiment. As shown in the figure, correction value data relating to image correction parameters such as highlight, brightness, contrast, color balance, and memory color is stored in the attached information storage area according to a specified address or offset value as image data information GI. ing. The additional information storage area can contain a larger number of data, but is not shown in FIG. On the output device side, the image data information GI can be acquired by designating an address or an offset value corresponding to desired information (parameter). Note that the image data information GI can be stored, for example, in an undefined area in the attached information storage area and in a user-defined area released to the user.

E.画像補正パラメータセットの受け渡し:
画像補正パラメータ生成システム20(図1)において生成された画像補正パラメータセットは、画像ファイル生成・出力システム30に送られ、利用される。画像補正パラメータ生成システム20から画像ファイル生成・出力システム30への画像補正パラメータセットの送出は、インターネット等のネットワークを介して、あるいは、ケーブルやメモリカードを介して行われる。
E. Image correction parameter set delivery:
The image correction parameter set generated in the image correction parameter generation system 20 (FIG. 1) is sent to the image file generation / output system 30 and used. The image correction parameter set is transmitted from the image correction parameter generation system 20 to the image file generation / output system 30 via a network such as the Internet, or via a cable or a memory card.

画像補正パラメータセットの生成者は、予め、画像補正パラメータセットを生成して、図1に示すシステムを利用して、ユーザーに提供することができる。画像補正パラメータセットは、ディジタルスチルカメラ、プリンタおよび印刷媒体の組み合わせ毎に生成される。また、画像補正パラメータセットは、撮影シーンモード(撮影対象)毎にも生成される。画像補正パラメータセットは、例えば、画像補正パラメータセット生成者の運営するホームページ上において提供される。   The creator of the image correction parameter set can generate the image correction parameter set in advance and provide it to the user using the system shown in FIG. The image correction parameter set is generated for each combination of a digital still camera, a printer, and a print medium. The image correction parameter set is also generated for each shooting scene mode (shooting target). The image correction parameter set is provided, for example, on a homepage operated by the image correction parameter set generator.

画像補正パラメータセットのユーザーは、例えば、コンピュータPCを操作して、画像補正パラメータセット生成者の運営するホームページ上で提供されている画像補正パラメータセットの中から所望のセットを選択することにより、ネットワークを介して画像補正パラメータセットを取得することができる。   The user of the image correction parameter set operates, for example, the computer PC to select a desired set from the image correction parameter sets provided on the homepage operated by the image correction parameter set generator. The image correction parameter set can be acquired via

あるいは、画像補正パラメータセットの生成者は、ユーザーからのリクエストに応じて画像補正パラメータセットを生成し、ユーザーに提供することもできる。例えば、ユーザーは、コンピュータPCを操作して、画像補正パラメータセット生成者の運営するホームページ上で、使用するディジタルスチルカメラとプリンタと印刷媒体との組み合わせや撮影シーンモード(撮影対象)等の情報を指定し、その情報をネットワークを介して送信する。画像補正パラメータセットの生成者は、それらの組み合わせに従って画像補正パラメータセットを生成し、生成した画像補正パラメータセットを、ネットワークを介してユーザーに送信する。ユーザーはこのようにしても、画像補正パラメータセットを取得することができる。   Alternatively, the creator of the image correction parameter set can generate the image correction parameter set in response to a request from the user and provide it to the user. For example, the user operates the computer PC to display information such as a combination of a digital still camera to be used, a printer, and a print medium, and a shooting scene mode (shooting target) on a homepage operated by the image correction parameter set generator. Specify and send the information over the network. The creator of the image correction parameter set generates an image correction parameter set according to the combination thereof, and transmits the generated image correction parameter set to the user via the network. Even in this way, the user can acquire the image correction parameter set.

画像補正パラメータセットは、例えば、インストールファイルの形でユーザーに提供される。図12は、本実施例にて用いられるインストールファイルIFの構成の一例を概略的に示す説明図である。図12の例では、インストールファイルIFは、ディジタルスチルカメラとプリンタとの組み合わせ毎に生成されている。インストールファイルIFには、印刷媒体と撮影シーンモードとの組み合わせに応じた1つまたは複数の画像補正パラメータセットPSと、画像補正パラメータセットをインストールするためのインストールプログラムIPとが格納されている。このインストールプログラムIPを、ディジタルスチルカメラ70やコンピュータPC上で実行することによって、画像補正パラメータセットPSがディジタルスチルカメラ70やコンピュータPC内に所定のデータ形式で格納される。ディジタルスチルカメラ70やコンピュータPCにおける画像補正パラメータセットの利用方法については、後述する。   The image correction parameter set is provided to the user in the form of an installation file, for example. FIG. 12 is an explanatory diagram schematically showing an example of the configuration of the installation file IF used in the present embodiment. In the example of FIG. 12, the installation file IF is generated for each combination of a digital still camera and a printer. The installation file IF stores one or a plurality of image correction parameter sets PS corresponding to the combination of the print medium and the shooting scene mode, and an installation program IP for installing the image correction parameter set. By executing the installation program IP on the digital still camera 70 or the computer PC, the image correction parameter set PS is stored in the digital still camera 70 or the computer PC in a predetermined data format. A method of using the image correction parameter set in the digital still camera 70 and the computer PC will be described later.

F.画像補正パラメータセットを用いた画像ファイル生成処理の第1実施例:
画像ファイル生成・出力システム30のディジタルスチルカメラ70は、上述した方法により画像補正パラメータ生成システム20において生成された画像補正パラメータセットを取得することができる。ディジタルスチルカメラ70は、取得した画像補正パラメータセットを用いて、上述した構成の画像ファイルを生成することができる。図13は、画像ファイル生成装置としてのディジタルスチルカメラ70の概略構成を示すブロック図である。ディジタルスチルカメラ70は、光学レンズを通して電荷結合素子(CCD)上にイメージを結像することにより、電気的に静止画を記録するカメラである。
F. First Example of Image File Generation Processing Using Image Correction Parameter Set:
The digital still camera 70 of the image file generation / output system 30 can acquire the image correction parameter set generated in the image correction parameter generation system 20 by the method described above. The digital still camera 70 can generate an image file having the above-described configuration using the acquired image correction parameter set. FIG. 13 is a block diagram showing a schematic configuration of a digital still camera 70 as an image file generation device. The digital still camera 70 is a camera that electrically records a still image by forming an image on a charge coupled device (CCD) through an optical lens.

ディジタルスチルカメラ70は、光信号を電気信号に変換するCCDを有する光学回路71と、光学回路71を制御して画像を取得するための画像取得回路72と、取得した画像データを加工処理するための画像処理回路73と、これらの各回路を制御する制御回路74とを備えている。ディジタルスチルカメラ70は、さらに、メモリカードMCを収容するスロット75と、ユーザーインターフェースとしての選択・決定ボタン76と、撮影画像のプレビューやユーザーインターフェースとして用いられる液晶ディスプレイ77とを備えている。制御回路74は、図示しないメモりを備えている。   The digital still camera 70 has an optical circuit 71 having a CCD for converting an optical signal into an electric signal, an image acquisition circuit 72 for acquiring an image by controlling the optical circuit 71, and processing the acquired image data. Image processing circuit 73 and a control circuit 74 for controlling each of these circuits. The digital still camera 70 further includes a slot 75 that accommodates the memory card MC, a selection / determination button 76 as a user interface, and a liquid crystal display 77 that is used as a preview of a captured image and a user interface. The control circuit 74 includes a memory (not shown).

図14は、本実施例における画像ファイル生成処理の処理ルーチンを示すフローチャートである。ステップS500では、ディジタルスチルカメラ70のユーザーは、使用するディジタルスチルカメラ70とプリンタ80と印刷媒体と撮影シーンモードとの組み合わせに適した1つまたは複数の画像補正パラメータセットを取得し、ディジタルスチルカメラ70の制御回路74(図13)に、利用可能な状態で格納する。例えば、ユーザーは、前述したように、画像補正パラメータセットをインストールファイルIF(図12)の形で取得することができる。このインストールファイルIF内のインストールプログラムIPをディジタルスチルカメラ70上で、あるいは、ディジタルスチルカメラ70に接続されたコンピュータPC上で実行することによって、インストールファイルIFに格納されている画像補正パラメータセットは、ディジタルスチルカメラ70の制御回路74の不揮発性メモリ(図示せず)に利用可能に格納される。利用可能な状態とは、例えば、選択・決定ボタン76を操作することにより、画像補正パラメータセットの利用設定をすることができる状態である。   FIG. 14 is a flowchart showing the processing routine of the image file generation processing in the present embodiment. In step S500, the user of the digital still camera 70 acquires one or a plurality of image correction parameter sets suitable for the combination of the digital still camera 70, the printer 80, the print medium, and the shooting scene mode to be used. 70 in a usable state in the control circuit 74 (FIG. 13). For example, as described above, the user can acquire the image correction parameter set in the form of the installation file IF (FIG. 12). By executing the installation program IP in the installation file IF on the digital still camera 70 or on the computer PC connected to the digital still camera 70, the image correction parameter set stored in the installation file IF is The information is stored in a non-volatile memory (not shown) of the control circuit 74 of the digital still camera 70 so as to be usable. The usable state is a state in which the use setting of the image correction parameter set can be performed by operating the selection / determination button 76, for example.

ステップS510では、ユーザーは、撮影モードの設定を行う。撮影モードの設定には、画像補正パラメータセットの利用設定が含まれている。画像補正パラメータセットの利用設定は、制御回路74に格納された画像補正パラメータセットを利用するか否かの設定や、複数の画像補正パラメータセットが格納されている場合に、どの画像補正パラメータセットを利用するかの設定等が含まれている。画像補正パラメータセットの利用設定は、ユーザーが、ディジタルスチルカメラ70の液晶ディスプレイ77の表示を見ながら、選択・決定ボタン76を操作することにより行うことができる。なお、ユーザー設定が行われていない状態(初期設定状態)では、ディジタルスチルカメラ70の撮影シーンモード(例えば、ポートレートモードや風景モード)に応じて、1つの画像補正パラメータセットが自動的に選択されるとしてもよい。   In step S510, the user sets a shooting mode. The setting of the shooting mode includes the use setting of the image correction parameter set. The use setting of the image correction parameter set is set as to whether or not to use the image correction parameter set stored in the control circuit 74, and when a plurality of image correction parameter sets are stored, which image correction parameter set is selected. The setting of whether to use is included. The use setting of the image correction parameter set can be performed by the user operating the selection / determination button 76 while viewing the display on the liquid crystal display 77 of the digital still camera 70. In a state where user settings are not made (initial setting state), one image correction parameter set is automatically selected according to the shooting scene mode (for example, portrait mode or landscape mode) of the digital still camera 70. It may be done.

ステップS520では、制御回路74は、画像データGDを生成する。画像データGDの生成は、ユーザーの撮影要求、例えば、シャッターの押し下げに応じて行われる。一般的には、画像データGDは写真画像の保存に適したJPEG形式に変換されて保存されるが、他にもTIFF形式、GIF形式、BMP形式、RAWデータ形式等の保存形式を用いることができる。   In step S520, the control circuit 74 generates image data GD. The generation of the image data GD is performed in response to a user's photographing request, for example, pressing the shutter. In general, the image data GD is converted into a JPEG format suitable for storing a photographic image and stored. However, other storage formats such as a TIFF format, a GIF format, a BMP format, and a RAW data format may be used. it can.

ステップS530では、制御回路74は、画像データGDに、画像データ情報GIを加えて画像ファイルGFを生成する。撮影モードの設定において画像補正パラメータセットを利用する設定がなされている場合には、画像データ情報GIに画像補正パラメータセットの情報が含まれた画像ファイルGFが生成される。   In step S530, the control circuit 74 adds the image data information GI to the image data GD to generate an image file GF. When the setting for using the image correction parameter set is made in the setting of the shooting mode, the image file GF including the image correction parameter set information in the image data information GI is generated.

ステップS540では、制御回路74は、ステップS530で生成した画像ファイルGF内の画像データ情報GIの内容を追加したり、変更したりすることができる。画像データ情報GIの追加・変更処理は、ユーザーの設定操作に応じて行われる。画像データ情報GIの追加・変更処理によって、例えば、画像ファイルGFに画像補正パラメータセットを含む画像データ情報GIを追加したり、既に画像ファイルGF内の画像データ情報GIに含まれている画像補正パラメータセットを別の画像補正パラメータセットに変更したりすることができる。ユーザーの設定操作は、ユーザーが液晶ディスプレイ77の表示を見ながら、選択・決定ボタン76を操作することにより行うことができる。   In step S540, the control circuit 74 can add or change the contents of the image data information GI in the image file GF generated in step S530. The addition / change processing of the image data information GI is performed according to a user setting operation. By adding / changing the image data information GI, for example, the image data information GI including the image correction parameter set is added to the image file GF, or the image correction parameters already included in the image data information GI in the image file GF. The set can be changed to another image correction parameter set. The user setting operation can be performed by the user operating the selection / determination button 76 while viewing the display on the liquid crystal display 77.

以上のようにして、画像データGDに画像補正パラメータセットを含む画像データ情報GIが関連づけられた画像ファイルGFが生成される。   As described above, the image file GF in which the image data information GI including the image correction parameter set is associated with the image data GD is generated.

G.画像出力処理:
図15は、本実施例の画像ファイル生成・出力システム30のプリンタ80(図1)における画像データGDに画像補正パラメータセットを含む画像データ情報GIが関連づけられた画像ファイルGFの出力処理の処理ルーチンの一例を示すフローチャートである。ステップS600では、プリンタ80は、ディジタルスチルカメラ70より送出された画像ファイルGFを読み出す。
G. Image output processing:
FIG. 15 is a processing routine of the output process of the image file GF in which the image data GI including the image correction parameter set is associated with the image data GD in the printer 80 (FIG. 1) of the image file generation / output system 30 of the present embodiment. It is a flowchart which shows an example. In step S600, the printer 80 reads the image file GF sent from the digital still camera 70.

ステップS610では、プリンタ80は、画像ファイルGFの付属情報格納領域から、画像データ情報GIを検索し、画像データ情報GIを取得する(ステップS620)。   In step S610, the printer 80 retrieves the image data information GI from the attached information storage area of the image file GF, and acquires the image data information GI (step S620).

ステップS630では、プリンタ80の画像処理部82は、取得した画像データ情報GIを解析し、解析した画像データ情報GIに基づいて、画像データGDの画像処理を実行する。画像データ情報GIに画像補正パラメータセットが含まれている場合は、この画像処理において、画像補正パラメータセットを用いた画像データGDの画像補正(特定の画像補正)が実行される。画像データGDの画像補正は、画像補正パラメータ生成装置において画像補正パラメータセットを生成する際に実行した画像補正と同様の方法で行うことができる。すなわち、画像データGDに対し、画像補正用の色空間(cRGB色空間)への色変換、各画像補正パラメータについての画像補正パラメータ値を用いたトーンカーブ補正や記憶色補正等を行う。   In step S630, the image processing unit 82 of the printer 80 analyzes the acquired image data information GI, and executes image processing of the image data GD based on the analyzed image data information GI. If the image data information GI includes an image correction parameter set, image correction (specific image correction) of the image data GD using the image correction parameter set is executed in this image processing. The image correction of the image data GD can be performed by the same method as the image correction executed when the image correction parameter generation apparatus generates the image correction parameter set. That is, color conversion to a color space for image correction (cRGB color space), tone curve correction using the image correction parameter value for each image correction parameter, memory color correction, and the like are performed on the image data GD.

ステップS640では、プリンタ80は、処理を行った画像データGDを出力して、本処理ルーチンを終了する。   In step S640, the printer 80 outputs the processed image data GD and ends this processing routine.

以上の出力処理により、画像データGDを望ましい色再現によって出力することができる。なお、ステップS630における画像データGDの画像補正は、各画像補正パラメータについての補正を、画像補正パラメータ生成装置における画像補正パラメータセット生成時の注目補正パラメータ選択順序と同じ順序で実行するのが好ましい。このようにすれば、より望ましい出力結果を得ることができる。   Through the above output processing, the image data GD can be output with desirable color reproduction. Note that the image correction of the image data GD in step S630 is preferably performed in the same order as the attention correction parameter selection order at the time of image correction parameter set generation in the image correction parameter generation apparatus. In this way, a more desirable output result can be obtained.

H.画像補正パラメータセットを用いた画像ファイル生成処理の第2実施例:
図16は、本発明の第2実施例における画像ファイル生成・出力システム30Bの一例を示す説明図である。画像ファイル生成・出力システム30Bは、画像ファイルGFを生成する画像ファイル生成装置としてのディジタルスチルカメラ70と、画像出力装置としてのプリンタ80と、画像処理装置としてのコンピュータ90とを備えている。本実施例では、画像補正パラメータセットを取得する機能および取得した画像補正パラメータセットを画像ファイルGFの付属情報格納領域に格納する機能が、コンピュータ90によって実行される点が、上述の画像ファイル生成処理の第1実施例(図1)と異なる。
H. Second Embodiment of Image File Generation Processing Using Image Correction Parameter Set:
FIG. 16 is an explanatory diagram showing an example of an image file generation / output system 30B according to the second embodiment of the present invention. The image file generation / output system 30B includes a digital still camera 70 as an image file generation device that generates an image file GF, a printer 80 as an image output device, and a computer 90 as an image processing device. In the present embodiment, the above-described image file generation processing is that the computer 90 executes the function of acquiring the image correction parameter set and the function of storing the acquired image correction parameter set in the attached information storage area of the image file GF. This is different from the first embodiment (FIG. 1).

コンピュータ90は、画像ファイル等の画像処理を実行する画像処理部94を備えている。画像処理部94は、画像補正パラメータセットを格納するパラメータ格納部941と、画像ファイルGFを格納する画像ファイル格納部942と、画像ファイルGFの変更処理を行う画像ファイル変更処理部943とを備えている。   The computer 90 includes an image processing unit 94 that executes image processing of an image file or the like. The image processing unit 94 includes a parameter storage unit 941 that stores an image correction parameter set, an image file storage unit 942 that stores an image file GF, and an image file change processing unit 943 that performs a change process on the image file GF. Yes.

図17は、画像処理装置としてのコンピュータ90における画像処理の処理ルーチンを示すフローチャートである。ステップS700では、ユーザーは、使用するディジタルスチルカメラ70とプリンタ80と印刷媒体と撮影シーンモードとの組み合わせに適した1つまたは複数の画像補正パラメータセットを取得し、画像処理部94のパラメータ格納部941に格納する。 例えば、ユーザーは、前述したように、画像補正パラメータセットをインストールファイルIF(図12)の形で取得することができる。このインストールファイルIF内のインストールプログラムIPをコンピュータ90上で実行することによって、画像補正パラメータセットは、画像処理部94のパラメータ格納部941に格納される。   FIG. 17 is a flowchart showing a processing routine of image processing in the computer 90 as the image processing apparatus. In step S700, the user acquires one or a plurality of image correction parameter sets suitable for the combination of the digital still camera 70, the printer 80, the print medium, and the shooting scene mode to be used, and the parameter storage unit of the image processing unit 94 941 is stored. For example, as described above, the user can acquire the image correction parameter set in the form of the installation file IF (FIG. 12). By executing the installation program IP in the installation file IF on the computer 90, the image correction parameter set is stored in the parameter storage unit 941 of the image processing unit 94.

ステップS710では、ユーザーは、ディジタルスチルカメラ70において生成された画像ファイルGFを取得し、画像処理部94の画像ファイル格納部942に格納する。   In step S 710, the user acquires the image file GF generated by the digital still camera 70 and stores it in the image file storage unit 942 of the image processing unit 94.

ステップS720では、画像処理部94の画像ファイル変更処理部943は、ステップS700で格納した画像補正パラメータセットを用いて、ステップS710で格納した画像ファイルGF(図10)の変更処理を行う。画像ファイルGFの変更処理において、画像ファイル変更処理部943は、格納された画像ファイルGFが画像データ情報GIを含まないときは、画像ファイルGFに格納された画像補正パラメータセットを含む画像データ情報GIを追加する処理を行うことができる。また、格納された画像ファイルGFの画像データ情報GIの中に画像補正パラメータセットが含まれていない場合には、画像ファイルGFの画像データ情報GIの中に格納された画像補正パラメータセットを追加する処理をおこなうことができる。また、格納された画像ファイルGFの画像データ情報GIの中に画像補正パラメータセットが含まれている場合には、画像ファイルGFの画像データ情報GIの中の画像補正パラメータセットを格納された画像補正パラメータセットに書き換える処理を行うことができる。   In step S720, the image file change processing unit 943 of the image processing unit 94 changes the image file GF (FIG. 10) stored in step S710 using the image correction parameter set stored in step S700. In the change process of the image file GF, the image file change processing unit 943, when the stored image file GF does not include the image data information GI, the image data information GI including the image correction parameter set stored in the image file GF. Can be added. In addition, when the image correction parameter set is not included in the stored image data information GI of the image file GF, the image correction parameter set stored in the image data information GI of the image file GF is added. Processing can be performed. When the image correction parameter set is included in the image data information GI of the stored image file GF, the image correction parameter set stored in the image data information GI of the image file GF is stored. Processing to rewrite the parameter set can be performed.

画像ファイルGFの変更処理においては、パラメータ格納部941に格納された画像補正パラメータセットの中から、画像ファイルGFの生成に使用したディジタルスチルカメラ70と出力に使用するプリンタ80と印刷媒体と画像ファイル生成時の撮影シーンモードとの組み合わせに適したセットを、ユーザーが選択する。   In the change process of the image file GF, the digital still camera 70 used for generating the image file GF, the printer 80 used for output, the print medium, the image file, from the image correction parameter set stored in the parameter storage unit 941. The user selects a set suitable for the combination with the shooting scene mode at the time of generation.

また、画像ファイルGFのファイル形式が前述のExifファイル形式の場合には、画像ファイルGFの生成に使用した機種の情報が画像ファイルGFに含まれている。従って、画像ファイル変更処理部943は、画像ファイルGF内の機種情報を参照し、その機種に適した画像補正パラメータセットをパラメータ格納部941から自動的に選択し、そのセットを使用して画像ファイルGFの変更処理を行うこともできる。   When the file format of the image file GF is the aforementioned Exif file format, the image file GF includes information on the model used to generate the image file GF. Therefore, the image file change processing unit 943 refers to the model information in the image file GF, automatically selects an image correction parameter set suitable for the model from the parameter storage unit 941, and uses the set to use the image file. GF change processing can also be performed.

以上のような画像処理によっても、画像データGDに画像補正パラメータセットを含む画像データ情報GIが関連づけられた画像ファイルGFが生成される。   The image file GF in which the image data information GI including the image correction parameter set is associated with the image data GD is also generated by the image processing as described above.

本実施例において生成された画像ファイルGFは、前述の画像出力処理(図15)により出力することができ、画像データGDを望ましい色再現によって出力することができる。   The image file GF generated in the present embodiment can be output by the above-described image output process (FIG. 15), and the image data GD can be output by a desired color reproduction.

なお、本実施例において、画像処理部94の画像ファイル変更処理部943が、画像ファイルGFの画像データ情報GIに基づく画像処理(図15におけるステップS600からステップS630まで)を行うこととすることもできる。この場合には、画像ファイル変更処理部943において、画像補正パラメータセットを用いた画像データGDの画像補正を含む画像処理が行われ、画像処理された画像データGDがプリンタ80に送出され、出力される。また、この場合には、画像ファイル変更処理部943は、パラメータ格納部941に格納された画像補正パラメータセットを画像ファイルGFに追加せずに、その画像補正パラメータセットを用いて画像ファイルGFの画像処理を行うこともできる。   In this embodiment, the image file change processing unit 943 of the image processing unit 94 may perform image processing (from step S600 to step S630 in FIG. 15) based on the image data information GI of the image file GF. it can. In this case, the image file change processing unit 943 performs image processing including image correction of the image data GD using the image correction parameter set, and the image processed image data GD is sent to the printer 80 and output. The Also, in this case, the image file change processing unit 943 does not add the image correction parameter set stored in the parameter storage unit 941 to the image file GF, but uses the image correction parameter set and the image of the image file GF. Processing can also be performed.

I.変形例:
なお、この発明は上記の実施例や実施形態に限られるものではなく、その要旨を逸脱しない範囲において種々の態様において実施することが可能であり、例えば次のような変形も可能である。
I. Variation:
The present invention is not limited to the above-described examples and embodiments, and can be implemented in various modes without departing from the gist thereof. For example, the following modifications are possible.

I1.変形例1:
上記実施例では、画像補正パラメータ生成部64における比較・補正処理(図3のステップS220)に用いる画像補正パラメータは、ハイライト補正パラメータ、明るさ補正パラメータ、コントラスト補正パラメータ、カラーバランス補正パラメータ、記憶色補正パラメータとしているが、他の画像補正パラメータを用いることも可能である。他の画像補正パラメータとしては、例えば、シャドウ補正パラメータ、彩度補正パラメータ、シャープネス補正パラメータ等を用いることができる。
I1. Modification 1:
In the above embodiment, the image correction parameters used for the comparison / correction processing (step S220 in FIG. 3) in the image correction parameter generation unit 64 are the highlight correction parameter, the brightness correction parameter, the contrast correction parameter, the color balance correction parameter, and the storage. Although the color correction parameters are used, other image correction parameters can be used. As other image correction parameters, for example, a shadow correction parameter, a saturation correction parameter, a sharpness correction parameter, or the like can be used.

また、比較・補正処理における画像補正パラメータの注目補正パラメータとしての選択順序も任意の順序とすることができる。ただし、注目補正パラメータの選択の順序は、画像補正パラメータセットを用いた画像データの画像補正(特定の画像補正)における各画像補正パラメータについての補正実行順序と、同一であることが好ましい。このようにすれば、特定の画像補正後の画像データの出力結果をより望ましい色再現とすることができる。   In addition, the selection order of the image correction parameters as the attention correction parameters in the comparison / correction processing can be set to an arbitrary order. However, it is preferable that the order of selecting the target correction parameters is the same as the correction execution order for each image correction parameter in the image correction (specific image correction) of the image data using the image correction parameter set. In this way, the output result of the image data after the specific image correction can be made a more desirable color reproduction.

I2.変形例2:
上記実施例では、記憶色の例として肌色領域、緑色領域、青色領域を挙げているが、記憶色として他の任意の領域の色、例えば赤色領域等を設定することができる。
I2. Modification 2:
In the above embodiment, the skin color area, the green area, and the blue area are given as examples of the memory color, but the color of any other area such as a red area can be set as the memory color.

I3.変形例3:
上記実施例では、各画像補正パラメータについての補正方法の一例を示したが、他の補正方法を用いることも可能である。例えば、補正用トーンカーブを作成する際の参照入力レベル点を設定する位置および数は任意に変更可能である。
I3. Modification 3:
In the above-described embodiment, an example of a correction method for each image correction parameter has been described, but other correction methods may be used. For example, the position and number for setting the reference input level point when creating the correction tone curve can be arbitrarily changed.

I4.変形例4:
上記実施例では、基準画像データは特定の出力装置における出力結果が望ましい色再現となるような画像補正を施された画像データとしているが、基準画像データは撮像対象に忠実な色再現となるような画像補正を施された画像データであるとしてもよい。このようにすれば、本実施例の画像補正パラメータ生成装置は、出力結果が撮像対象に忠実な色再現となるような画像データの画像補正パラメータセットを生成することができる。
I4. Modification 4:
In the above embodiment, the reference image data is image data that has been subjected to image correction so that the output result from a specific output device is a desirable color reproduction. However, the reference image data is a color reproduction that is faithful to the imaging target. The image data may be subjected to various image corrections. In this way, the image correction parameter generation apparatus of the present embodiment can generate an image correction parameter set of image data such that the output result is color reproduction faithful to the imaging target.

I5.変形例5:
上記実施例では、画像生成装置としてディジタルスチルカメラを用いて説明したが、この他にもスキャナ、ディジタルビデオカメラ等を用いることができる。
I5. Modification 5:
In the above embodiment, the digital still camera is used as the image generating apparatus. However, a scanner, a digital video camera, or the like can be used.

I6.変形例6:
上記実施例では、出力装置としてプリンタが使用されているが、本発明は、CRTディスプレイやLCDディスプレイといったモニタその他の画像を表示可能な装置を出力装置として用いる場合に適用できる。
I6. Modification 6:
In the above embodiment, a printer is used as the output device. However, the present invention can be applied to the case where a monitor or other device capable of displaying an image such as a CRT display or an LCD display is used as the output device.

I7.変形例7:
上記実施例では、画像ファイルの具体例としてExif形式のファイルを例にとって説明したが、本発明における画像ファイルの形式はこれに限られない。すなわち、画像生成装置において生成された画像データと、画像データ情報GIとが含まれている画像ファイルであればよい。このようなファイルであれば、画像生成装置において生成された画像データを、出力装置において好ましい色再現で出力することができる。
I7. Modification 7:
In the above embodiment, the Exif format file has been described as a specific example of the image file, but the format of the image file in the present invention is not limited to this. That is, any image file including image data generated by the image generation apparatus and image data information GI may be used. With such a file, the image data generated by the image generation device can be output with a preferable color reproduction by the output device.

I8.変形例8:
上記実施例では、画像データと画像データ情報GIとが同一の画像ファイルに含まれる場合を例にとって説明したが、画像データと画像データ情報GIとは、必ずしも同一のファイル内に格納される必要はない。すなわち、画像データGDと画像データ情報GIとが関連づけられていれば良く、例えば、画像データGDと画像データ情報GIとを関連づける関連づけデータを生成し、1または複数の画像データと画像データ情報GIとをそれぞれ独立したファイルに格納し、画像データGDを処理する際に関連づけられた画像データ情報GIを参照してもよい。かかる場合には、画像データGDと画像データ情報GIとが別ファイルに格納されているものの、画像データ情報GIを利用する画像処理の時点では、画像データGDおよび画像データ情報GIとが一体不可分の関係にあり、実施的に同一のファイルに格納されている場合と同様に機能するからである。すなわち、少なくとも画像処理の時点において、画像データGDと画像データ情報GIとが関連づけられている態様は、本実施例における画像ファイルGFに含まれる。さらに、CD−ROM、CD−R、DVD−ROM、DVD−RAM等の光ディスクメディアに格納されている動画像ファイルも含まれる。
I8. Modification 8:
In the above embodiment, the case where the image data and the image data information GI are included in the same image file has been described as an example. However, the image data and the image data information GI need not necessarily be stored in the same file. Absent. That is, it is only necessary that the image data GD and the image data information GI are associated. For example, association data that associates the image data GD and the image data information GI is generated, and one or a plurality of image data and the image data information GI are generated. May be stored in independent files, and the image data information GI associated with processing the image data GD may be referred to. In such a case, the image data GD and the image data information GI are stored in separate files, but at the time of image processing using the image data information GI, the image data GD and the image data information GI are inseparable. This is because they function in the same way as when they are stored in the same file in practice. That is, an aspect in which the image data GD and the image data information GI are associated at least at the time of image processing is included in the image file GF in the present embodiment. Furthermore, a moving image file stored in an optical disc medium such as a CD-ROM, a CD-R, a DVD-ROM, a DVD-RAM is also included.

本発明の機能の一部または全部がソフトウェアで実現される場合には、そのソフトウェア(コンピュータプログラム)は、コンピュータ読み取り可能な記録媒体に格納された形で提供することができる。この発明において、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスクやCD−ROMのような携帯型の記録媒体に限らず、各種のRAMやROM等のコンピュータ内の内部記憶装置や、ハードディスク等のコンピュータに固定されている外部記憶装置も含んでいる。   When some or all of the functions of the present invention are realized by software, the software (computer program) can be provided in a form stored in a computer-readable recording medium. In the present invention, the “computer-readable recording medium” is not limited to a portable recording medium such as a flexible disk or a CD-ROM, but an internal storage device in a computer such as various RAMs and ROMs, a hard disk, and the like. An external storage device fixed to the computer is also included.

本発明の一実施例としての画像処理システム10の構成の一例を示す説明図。1 is an explanatory diagram illustrating an example of a configuration of an image processing system 10 as an embodiment of the present invention. 画像補正パラメータ生成システム20における基準画像データTGDの生成処理の一例を示すフローチャート。5 is a flowchart showing an example of processing for generating reference image data TGD in the image correction parameter generation system 20. 画像補正パラメータ生成装置としてのコンピュータ60における画像補正パラメータ生成処理の処理ルーチンを示すフローチャート。The flowchart which shows the processing routine of the image correction parameter generation process in the computer 60 as an image correction parameter generation apparatus. 本実施例における比較・補正処理の処理ルーチンを示すフローチャート。The flowchart which shows the processing routine of the comparison / correction process in a present Example. ハイライト補正処理の一例を示す説明図。Explanatory drawing which shows an example of a highlight correction process. 明るさ補正処理の一例を示す説明図。Explanatory drawing which shows an example of a brightness correction process. コントラスト補正処理の一例を示す説明図。Explanatory drawing which shows an example of a contrast correction process. カラーバランス補正処理の一例を示す説明図。Explanatory drawing which shows an example of a color balance correction process. 記憶色補正処理の一例を示す説明図。Explanatory drawing which shows an example of a memory color correction process. 本実施例にて用いることができる画像ファイルGFの内部構成の一例を概略的に示す説明図。Explanatory drawing which shows schematically an example of the internal structure of the image file GF which can be used in a present Example. 本実施例に用いられ得る画像ファイルGFの付属情報格納領域のデータ構造の一例を示す説明図。Explanatory drawing which shows an example of the data structure of the attached information storage area of the image file GF which can be used for a present Example. 本実施例にて用いられるインストールファイルIFの構成の一例を概略的に示す説明図。Explanatory drawing which shows schematically an example of a structure of the installation file IF used in a present Example. 画像ファイル生成装置としてのディジタルスチルカメラ70の概略構成を示すブロック図。1 is a block diagram showing a schematic configuration of a digital still camera 70 as an image file generation device. 本実施例における画像ファイル生成処理の処理ルーチンを示すフローチャート。The flowchart which shows the process routine of the image file production | generation process in a present Example. 本実施例の画像ファイル生成・出力システム30のプリンタ80における画像データGDに画像補正パラメータセットを含む画像データ情報GIが関連づけられた画像ファイルGFの出力処理の処理ルーチンの一例を示すフローチャート。9 is a flowchart illustrating an example of a processing routine of an output process of an image file GF in which image data information GI including an image correction parameter set is associated with image data GD in the printer 80 of the image file generation / output system 30 of the present embodiment. 本発明の第2実施例における画像ファイル生成・出力システム30Bの一例を示す説明図。Explanatory drawing which shows an example of the image file production | generation / output system 30B in 2nd Example of this invention. 画像処理装置としてのコンピュータ90における画像処理の処理ルーチンを示すフローチャート。The flowchart which shows the process routine of the image process in the computer 90 as an image processing apparatus.

符号の説明Explanation of symbols

10…画像処理システム
20…画像補正パラメータ生成システム
30…画像ファイル生成・出力システム
30B…画像ファイル生成・出力システム
40…ディジタルスチルカメラ
50…プリンタ
60…コンピュータ
62…基準画像生成部
64…画像補正パラメータ生成部
70…ディジタルスチルカメラ
70B…ディジタルスチルカメラ
71…光学回路
72…画像取得回路
73…画像処理回路
74…制御回路
75…スロット
76…決定ボタン
77…液晶ディスプレイ
80…プリンタ
80B…プリンタ
82…画像処理部
90…コンピュータ
94…画像処理部
101…画像データ格納領域
102…画像データ情報格納領域
641…基準画像格納部
642…対象画像格納部
643…色空間処理部
644…パラメータ値設定部
941…パラメータ格納部
942…画像ファイル格納部
943…画像ファイル変更処理部
DESCRIPTION OF SYMBOLS 10 ... Image processing system 20 ... Image correction parameter generation system 30 ... Image file generation / output system 30B ... Image file generation / output system 40 ... Digital still camera 50 ... Printer 60 ... Computer 62 ... Reference | standard image generation part 64 ... Image correction parameter Generation unit 70 ... Digital still camera 70B ... Digital still camera 71 ... Optical circuit 72 ... Image acquisition circuit 73 ... Image processing circuit 74 ... Control circuit 75 ... Slot 76 ... Determination button 77 ... Liquid crystal display 80 ... Printer 80B ... Printer 82 ... Image Processing unit 90 ... Computer 94 ... Image processing unit 101 ... Image data storage area 102 ... Image data information storage area 641 ... Reference image storage part 642 ... Target image storage part 643 ... Color space processing part 644 ... Parameter value setting part 94 ... parameter storage unit 942 ... image file storage unit 943 ... image file change processing unit

Claims (12)

画像ファイルを生成する画像ファイル生成方法であって、
(a)特定の画像生成装置により生成した画像データに特定の画像補正を実行する際に用いられる画像補正パラメータセットを生成する工程と、
(b)前記画像補正パラメータセットを前記特定の画像生成装置内のメモリに格納する工程と、
(c)前記特定の画像生成装置により撮像する工程と、
(d)前記画像補正パラメータセットと、前記撮像により生成された画像データとを含む画像ファイルを生成する工程と、
を備え、
前記工程(a)は、
(i)所定のテストチャートを表す画像データとして、基準色空間で表現された基準画像データを取得する工程と、
(ii)前記特定の画像生成装置によって前記テストチャートを撮像することにより生成された対象画像データを取得する工程と、
(iii)前記対象画像データに適用されている色空間を前記基準色空間に合致させて色空間処理後の対象画像データを生成する工程と、
(iv)前記基準画像データと前記色空間処理後の対象画像データとに基づいて画像補正パラメータセットを設定する工程と、
を備え、
前記工程(iv)は、
複数の画像補正パラメータの中から未選択の画像補正パラメータ1つを注目補正パラメータとして選択する注目補正パラメータ選択処理と、
前記基準画像データと前記色空間処理後の対象画像データとを比較して、前記色空間処理後の対象画像データを前記基準画像データに適合させるように前記注目補正パラメータの値を決定するパラメータ値決定処理と、
前記決定された注目補正パラメータの値を用いた画像補正を施すことによって前記色空間処理後の対象画像データを更新する対象画像補正処理と、
を前記複数の画像補正パラメータの中の各画像補正パラメータについて順次実行する工程と、
前記パラメータ値決定処理において決定された複数の画像補正パラメータ値を、前記特定の画像生成装置に適した画像補正パラメータセットとして設定する工程と、
を含む、ことを特徴とする画像ファイル生成方法。
An image file generation method for generating an image file,
(A) generating an image correction parameter set used when executing specific image correction on image data generated by a specific image generation device;
(B) storing the image correction parameter set in a memory in the specific image generating device;
(C) imaging with the specific image generation device;
(D) generating an image file including the image correction parameter set and the image data generated by the imaging;
With
The step (a)
(I) obtaining reference image data expressed in a reference color space as image data representing a predetermined test chart;
(Ii) obtaining target image data generated by imaging the test chart by the specific image generation device;
(Iii) generating a target image data after color space processing by matching a color space applied to the target image data with the reference color space;
(Iv) setting an image correction parameter set based on the reference image data and the target image data after the color space processing;
With
The step (iv)
Attention correction parameter selection processing for selecting one unselected image correction parameter as a attention correction parameter from among a plurality of image correction parameters;
A parameter value for comparing the reference image data with the target image data after the color space processing and determining a value of the attention correction parameter so that the target image data after the color space processing is adapted to the reference image data The decision process,
Target image correction processing for updating the target image data after the color space processing by performing image correction using the determined value of the correction parameter for attention;
Sequentially executing each of the image correction parameters in the plurality of image correction parameters;
Setting a plurality of image correction parameter values determined in the parameter value determination process as an image correction parameter set suitable for the specific image generation device;
An image file generation method comprising:
請求項1記載の画像ファイル生成方法であって、
前記基準画像データは、特定の出力装置を用いて出力したときに、望ましい色再現を得るための画像補正を施された画像データである、画像ファイル生成方法。
The image file generation method according to claim 1,
The image file generation method, wherein the reference image data is image data that has been subjected to image correction to obtain a desired color reproduction when output using a specific output device.
請求項1記載の画像ファイル生成方法であって、
前記基準画像データは、特定の出力装置を用いて特定の印刷媒体に出力したときに、望ましい色再現を得るための画像補正を施された画像データである、画像ファイル生成方法。
The image file generation method according to claim 1,
The image file generation method, wherein the reference image data is image data subjected to image correction for obtaining a desired color reproduction when output to a specific print medium using a specific output device.
請求項2または請求項3記載の画像ファイル生成方法であって、
前記望ましい色再現を得るための画像補正は、記憶色補正を含む、画像ファイル生成方法。
An image file generation method according to claim 2 or claim 3, wherein
The image file generation method, wherein the image correction for obtaining the desired color reproduction includes memory color correction.
請求項2ないし請求項4いずれか記載の画像ファイル生成方法であって、
前記対象画像補正処理における画像補正は、トーンカーブ補正と記憶色補正とを含む、画像ファイル生成方法。
An image file generation method according to any one of claims 2 to 4,
The image file generation method, wherein the image correction in the target image correction process includes tone curve correction and memory color correction.
請求項5記載の画像ファイル生成方法であって、
前記複数の画像補正パラメータは、前記特定の画像補正に用いる画像補正パラメータと同一であり、前記注目補正パラメータ選択処理における前記注目補正パラメータの選択順序は、前記特定の画像補正における各画像補正パラメータについての補正実行順序と同一である、画像ファイル生成方法。
The image file generation method according to claim 5,
The plurality of image correction parameters are the same as the image correction parameters used for the specific image correction, and the selection order of the target correction parameters in the target correction parameter selection process is the same for each image correction parameter in the specific image correction. The image file generation method is the same as the correction execution order.
請求項6記載の画像ファイル生成方法であって、
前記選択順序は、ハイライト補正パラメータ、明るさ補正パラメータ、コントラスト補正パラメータ、カラーバランス補正パラメータ、記憶色補正パラメータの順である、画像ファイル生成方法。
The image file generation method according to claim 6,
The image file generation method, wherein the selection order is an order of a highlight correction parameter, a brightness correction parameter, a contrast correction parameter, a color balance correction parameter, and a memory color correction parameter.
請求項4ないし請求項7いずれか記載の画像ファイル生成方法であって、
前記工程(a)は、前記画像補正パラメータセットを、前記特定の画像生成装置と、前記特定の画像生成装置により生成した画像データの出力に用いる出力装置との組み合わせ毎に生成する工程である、画像ファイル生成方法。
An image file generation method according to any one of claims 4 to 7,
The step (a) is a step of generating the image correction parameter set for each combination of the specific image generation device and an output device used for outputting image data generated by the specific image generation device. Image file generation method.
請求項4ないし請求項7いずれか記載の画像ファイル生成方法であって、
前記工程(a)は、前記画像補正パラメータセットを、前記特定の画像生成装置と、前記特定の画像生成装置により生成した画像データの出力に用いる出力装置と、印刷媒体との組み合わせ毎に生成する工程である、画像ファイル生成方法。
An image file generation method according to any one of claims 4 to 7,
In the step (a), the image correction parameter set is generated for each combination of the specific image generation device, an output device used to output image data generated by the specific image generation device, and a print medium. An image file generation method as a process.
請求項2ないし請求項9いずれか記載の画像ファイル生成方法であって、
前記工程(a)は、前記画像補正パラメータセットを、前記特定の画像生成装置で利用可能な複数の撮影シーンモードに対して生成する工程である、画像ファイル生成方法。
An image file generation method according to any one of claims 2 to 9,
The step (a) is an image file generation method in which the image correction parameter set is generated for a plurality of shooting scene modes that can be used by the specific image generation apparatus.
ネットワークを介して、特定の画像生成装置用の画像補正パラメータセットをインストーラファイルの形式で送信する画像補正パラメータ送信システムであって、
前記ネットワークを介して、ユーザーの使用する画像生成装置と画像出力装置との組み合わせであるユーザー機器情報を取得する機器情報取得部と、
前記ユーザー機器情報に基づいて、前記組み合わせに適した少なくとも1つの画像補正パラメータセットと画像補正パラメータセット用のインストールプログラムとを含むインストーラファイルをユーザーに送信するインストーラファイル送信部と、
を備え、
前記インストーラファイルは、前記インストールプログラムの実行操作により、前記ユーザーの使用する画像生成装置内のメモリに、前記画像補正パラメータセットを格納する機能を備える、画像補正パラメータ送信システム。
An image correction parameter transmission system that transmits an image correction parameter set for a specific image generation device in the form of an installer file via a network,
A device information acquisition unit that acquires user device information that is a combination of an image generation device and an image output device used by a user via the network;
An installer file transmitting unit that transmits an installer file including at least one image correction parameter set suitable for the combination and an installation program for the image correction parameter set to the user based on the user device information;
With
An image correction parameter transmission system, wherein the installer file has a function of storing the image correction parameter set in a memory in an image generation apparatus used by the user by an execution operation of the installation program.
ネットワークを介して、特定の画像生成装置用の画像補正パラメータセットをインストーラファイルの形式で送信する画像補正パラメータ送信方法であって、
(a)前記ネットワークを介して、ユーザーの使用する画像生成装置と画像出力装置との組み合わせであるユーザー機器情報を取得する工程と、
(b)前記ユーザー機器情報に基づいて、前記組み合わせに適した少なくとも1つの画像補正パラメータセットと画像補正パラメータセット用のインストールプログラムとを含むインストーラファイルをユーザーに送信する工程と、
を備え、
前記インストーラファイルは、前記インストールプログラムの実行操作により、前記ユーザーの使用する画像生成装置内のメモリに、前記画像補正パラメータセットを格納する機能を備える、画像補正パラメータ送信方法。
An image correction parameter transmission method for transmitting an image correction parameter set for a specific image generation device in the form of an installer file via a network,
(A) acquiring user device information that is a combination of an image generation device and an image output device used by a user via the network;
(B) transmitting to the user an installer file including at least one image correction parameter set suitable for the combination and an installation program for the image correction parameter set based on the user device information;
With
An image correction parameter transmission method, wherein the installer file has a function of storing the image correction parameter set in a memory in an image generation apparatus used by the user by an execution operation of the installation program.
JP2003384770A 2003-11-14 2003-11-14 Generation of image file including image correction parameter Pending JP2005151090A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003384770A JP2005151090A (en) 2003-11-14 2003-11-14 Generation of image file including image correction parameter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003384770A JP2005151090A (en) 2003-11-14 2003-11-14 Generation of image file including image correction parameter

Publications (1)

Publication Number Publication Date
JP2005151090A true JP2005151090A (en) 2005-06-09

Family

ID=34693058

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003384770A Pending JP2005151090A (en) 2003-11-14 2003-11-14 Generation of image file including image correction parameter

Country Status (1)

Country Link
JP (1) JP2005151090A (en)

Similar Documents

Publication Publication Date Title
US8559044B2 (en) Update control of image processing control data
US7483168B2 (en) Apparatus, method, signal and computer program product configured to provide output image adjustment of an image file
JP3520860B2 (en) Image file output image adjustment
JP4974724B2 (en) Image supply apparatus, printing apparatus, control method therefor, and printing system
WO2002065765A1 (en) Generation of image file and image processing
US20050219580A1 (en) Image processing method, image processing system, image processing apparatus and image processing program
EP1703718B1 (en) Output image adjustment of image data
JP2004072488A (en) Output image adjustment of image data
JP2004088345A (en) Image forming method, image processor, print preparation device, and storage medium
JP2005151091A (en) Image processing employing image correction parameter
JP2005151089A (en) Generation of parameter for image correction for image generation apparatus
JP2007141152A (en) Digital camera, printing device, and image supply device
JP2002033994A (en) Device and method for processing image and recording medium
JP2003052002A (en) Output image adjustment of image file
JP2005151090A (en) Generation of image file including image correction parameter
JP4518102B2 (en) Image data output adjustment
JP2006203571A (en) Imaging apparatus, image processing apparatus, and image recording apparatus
JP2003209705A (en) Adjustment for image data output
JP2004297390A (en) Color reproduction adjustment in output image
JP2005033503A (en) Output image adjustment of image data
JP2005064647A (en) Image processing for image data
JP3858859B2 (en) Image data output adjustment
JP4270204B2 (en) Image data output adjustment
JP4232360B2 (en) Image file generation device, image processing device, and image file editing device
JP2003101940A (en) Output image adjustment for graphic file