JP2009177610A - Image data generating apparatus and image data generating method - Google Patents
Image data generating apparatus and image data generating method Download PDFInfo
- Publication number
- JP2009177610A JP2009177610A JP2008015260A JP2008015260A JP2009177610A JP 2009177610 A JP2009177610 A JP 2009177610A JP 2008015260 A JP2008015260 A JP 2008015260A JP 2008015260 A JP2008015260 A JP 2008015260A JP 2009177610 A JP2009177610 A JP 2009177610A
- Authority
- JP
- Japan
- Prior art keywords
- image
- image data
- output
- color reproduction
- unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims description 27
- 238000006243 chemical reaction Methods 0.000 claims abstract description 17
- 238000003384 imaging method Methods 0.000 description 17
- 238000012545 processing Methods 0.000 description 16
- 238000010586 diagram Methods 0.000 description 14
- 238000000605 extraction Methods 0.000 description 4
- 238000011161 development Methods 0.000 description 3
- 230000018109 developmental process Effects 0.000 description 3
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 239000000470 constituent Substances 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 101150053844 APP1 gene Proteins 0.000 description 1
- 101100189105 Homo sapiens PABPC4 gene Proteins 0.000 description 1
- 102100039424 Polyadenylate-binding protein 4 Human genes 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000008929 regeneration Effects 0.000 description 1
- 238000011069 regeneration method Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000004043 responsiveness Effects 0.000 description 1
Images
Landscapes
- Controls And Circuits For Display Device (AREA)
- Color, Gradation (AREA)
- Image Processing (AREA)
- Processing Of Color Television Signals (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
Abstract
Description
本発明は、色再現特性の異なる複数の画像出力装置に対して適切に補正された画像データを効率良く出力することのできる画像データ生成装置及び画像データ生成方法に関する。 The present invention relates to an image data generation apparatus and an image data generation method capable of efficiently outputting image data appropriately corrected to a plurality of image output apparatuses having different color reproduction characteristics.
従来、画像出力装置(モニター、プリンタ等)に画像を出力する際、画像出力装置の色再現特性が画像の色特性と異なっていた場合には、著しく異なる色相・彩度の画像が出力されるという問題点があった。
そこで、画像出力装置の色再現特性を考慮し、画像データの色特性を変換することで、画像出力装置に適した画像とする技術が提案されている。
Conventionally, when an image is output to an image output device (monitor, printer, etc.), if the color reproduction characteristics of the image output device are different from the color characteristics of the image, an image having a significantly different hue and saturation is output. There was a problem.
In view of this, there has been proposed a technique for converting an image data color characteristic into an image suitable for the image output apparatus in consideration of the color reproduction characteristics of the image output apparatus.
特許文献1に開示された装置では、NTSCやハイビジョン仕様のR,G,Bやワークステーションなどの画像表示システムで用いられる表示装置の色特性を含む基本特性値を備えている。これらの中から指定された基本特性値を用いて入力データの色空間内の複数の代表点に対する色調整処理を入力データに施す。そして、これら代表点を印刷するための最も近いY,M,Cマッピングデータを記録装置の特性値と色再現モデルから計算することで、画像品質を向上させる。
しかし、特許文献1に開示された技術は、例えばNTSCやsRGB(Standard RGB)等の特定の色再現特性を持った画像出力装置を対象としている。従って、画像出力装置の色再現特性が前提とする基本色再現特性と異なる場合、出力される画像の色再現は必ずしも高品質になるとは限らない。例えば、補正された入力データの色再現範囲が出力装置の色再現範囲よりも狭い場合、出力装置の色再現範囲を十分に活かすことは出来ないといった問題がある。 However, the technique disclosed in Patent Document 1 is intended for an image output apparatus having specific color reproduction characteristics such as NTSC and sRGB (Standard RGB). Therefore, when the color reproduction characteristics of the image output apparatus are different from the basic color reproduction characteristics assumed, the color reproduction of the output image is not always high quality. For example, when the color reproduction range of the corrected input data is narrower than the color reproduction range of the output device, there is a problem that the color reproduction range of the output device cannot be fully utilized.
また、特許文献1に開示された技術では、画像出力装置への出力動作の一つとしてマッピングデータを生成して画像データを補正している。従って、色再現特性が異なる複数の画像出力装置に対して同一の画像データを出力する場合には、その都度演算処理を行うことになり迅速な処理が阻害される。更に、複数の画像データについてそれぞれ個別の画像出力装置に出力する場合においても、同様な理由により処理に時間を要することになる。 In the technique disclosed in Patent Document 1, mapping data is generated and corrected as one of output operations to the image output apparatus. Accordingly, when the same image data is output to a plurality of image output devices having different color reproduction characteristics, a calculation process is performed each time, and a rapid process is hindered. Furthermore, even when outputting a plurality of image data to individual image output devices, processing takes time for the same reason.
本発明は、このような事情に鑑みてなされたものであり、色再現特性の異なる複数の画像出力装置に対して適切に補正された画像データを効率良く出力することのできる画像データ生成装置及び画像データ生成方法を提供することを目的とする。 The present invention has been made in view of such circumstances, and an image data generation device capable of efficiently outputting appropriately corrected image data to a plurality of image output devices having different color reproduction characteristics, and An object is to provide a method for generating image data.
上記課題を解決するための本発明は、画像を再生する複数の画像出力装置から、それぞれの色再現範囲に対応する情報を取得する色再現範囲情報取得部と、上記色再現範囲情報取得部が取得した情報を保持する色再現範囲情報保持部と、複数の色チャンネルを有する画像データを上記色再現範囲情報保持部に保持された複数の色再現範囲に対応する画像データに変換する画像変換部と、上記画像変換部にて変換された複数の画像データを一つの画像ファイルとして記憶する画像ファイル記憶部と、を備えた画像データ生成装置である。 The present invention for solving the above problems includes a color reproduction range information acquisition unit that acquires information corresponding to each color reproduction range from a plurality of image output apparatuses that reproduce an image, and the color reproduction range information acquisition unit. A color reproduction range information holding unit that holds the acquired information, and an image conversion unit that converts image data having a plurality of color channels into image data corresponding to the plurality of color reproduction ranges held in the color reproduction range information holding unit And an image file storage unit that stores a plurality of image data converted by the image conversion unit as one image file.
また本発明は、上記記載の発明である画像データ生成装置において、上記画像ファイルは、sRGB(Standard RGB)規格に準じた画像データをExif規格に準じたフォーマットで記録した主画像データと、その他の規格に準じた画像データである副画像データを有する。 According to the present invention, in the image data generation device according to the above-described invention, the image file includes main image data in which image data conforming to the sRGB (Standard RGB) standard is recorded in a format conforming to the Exif standard; It has sub-image data that is image data conforming to the standard.
また本発明は、上記記載の発明である画像データ生成装置において、上記画像出力装置は画像を表示する機能、又は画像を印刷する機能を有する。 According to the present invention, in the image data generation device according to the above-described invention, the image output device has a function of displaying an image or a function of printing an image.
また本発明は、複数の画像出力装置から、色再現範囲情報取得部によりそれぞれの色再現範囲に対応する情報を取得するステップと、上記色再現範囲情報取得部が取得した情報を色再現範囲情報保持部に保持するステップと、複数の色チャンネルを有する画像データを、画像変換部により上記色再現範囲情報保持部に保持された複数の色再現範囲に対応する画像データに変換する画像変換ステップと、上記画像変換部にて変換された複数の画像データを一つの画像ファイルとして画像ファイル記憶部に記憶するステップと、を備えた画像データ生成方法である。 The present invention also includes a step of acquiring information corresponding to each color reproduction range from a plurality of image output devices by a color reproduction range information acquisition unit, and information acquired by the color reproduction range information acquisition unit as color reproduction range information. A step of holding in the holding unit, and an image conversion step of converting image data having a plurality of color channels into image data corresponding to the plurality of color reproduction ranges held in the color reproduction range information holding unit by the image conversion unit; Storing the plurality of pieces of image data converted by the image conversion unit in the image file storage unit as one image file.
本発明によれば、色再現特性の異なる複数の画像出力装置に対して適切に補正された画像データを効率良く出力することのできる画像データ生成装置及び画像データ生成方法を得ることができる。 According to the present invention, it is possible to obtain an image data generation apparatus and an image data generation method that can efficiently output image data that has been appropriately corrected to a plurality of image output apparatuses having different color reproduction characteristics.
[第1の実施の形態]
図1は、本発明の実施の形態に係る画像データ生成装置(以下、画像生成装置という。)を備えた画像生成・再生システムの構成を示す図である。
画像生成・再生システムは、撮像装置10、画像生成装置20、画像再生装置30、及び複数の画像出力装置40を備えている。この画像生成・再生システムに設けられた各装置の構成と動作について説明する。
[First Embodiment]
FIG. 1 is a diagram illustrating a configuration of an image generation / reproduction system including an image data generation apparatus (hereinafter referred to as an image generation apparatus) according to an embodiment of the present invention.
The image generation / reproduction system includes an
図2は、撮像装置10の構成を示す図である。
この撮像装置10では、CPU1が装置内の各部を統括して制御する。図2では、実線の矢印がデータの流れを表し、破線の矢印が制御の流れを表している。
FIG. 2 is a diagram illustrating a configuration of the
In the
被写体からの光は、レンズ及び絞りからなる光学系2を介してレンズ背面に設置された撮像部3で受光される。撮像部3は、例えばCCD等の光電変換素子で構成され、被写体像をアナログの電気信号に変換する。変換されたアナログの電気信号は、アナログ増幅器(A−AMP)4によりゲイン調整された後、アナログデジタル変換器(ADC)5によってデジタルデータである画像データに変換される。そして、変換されたデジタルデータは、一旦DRAM6に保存される。
The light from the subject is received by the imaging unit 3 installed on the back surface of the lens through the
続いて、画像処理ブロック7がDRAM6から画像データを読み出してJPEG等の圧縮処理を含む画像処理を施し所定の撮影情報を作成してDRAM6に書き戻す。また、ユーザが操作部9を介して画像データの送信を指示したときは、画像処理ブロック7は、画像処理後のRAWデータと撮影情報とを出力部8を介して画像生成装置20に受け渡す。
なお、撮像装置10から画像生成装置20へのRAWデータ及びヘッダ情報の受け渡しは、通信手段に限られず、記録媒体(不図示)を介して行っても良い。
Subsequently, the image processing block 7 reads the image data from the DRAM 6, performs image processing including compression processing such as JPEG, creates predetermined shooting information, and writes it back to the DRAM 6. When the user instructs transmission of image data via the operation unit 9, the image processing block 7 delivers the RAW data after image processing and shooting information to the
Note that the transfer of the RAW data and the header information from the
図3は、画像生成装置20の構成を示す図である。
画像生成装置20は、入力部21、画像処理部22、ヘッダ情報生成部23、画像記録部24、カスタムリスト記憶部25、及び入出力部26から構成される。
入力部21は、撮像装置10からのRAWデータ及び撮影情報を受け入れる。画像処理部22は、RAWデータを複数の色域情報に基づいて画像処理して複数の画像を生成する。この際、カスタムリスト記憶部25に記憶されているカスタムリスト(後述)には生成する画像の色域情報が記録されている。
FIG. 3 is a diagram illustrating a configuration of the
The
The
ヘッダ情報生成部23は、撮影情報に基づいて、これら生成された複数の画像に対応するヘッダ情報を生成し、画像とヘッダ情報とをマルチ画像ファイル(後述)に格納して画像記録部24に記録する。入出力部26は、マルチ画像ファイルを画像再生装置30に受け渡す。また、入出力部26は、画像再生装置30より、画像出力装置40の出力色域情報を受け取りカスタムリスト記憶部25にあるカスタムリストに格納する。
The header
図4は、画像再生装置30の構成を示す図である。
画像再生装置30には、入出力部31、画像記録部32、出力色域情報取得部33、最適画像抽出部34、画像再生部35、入出力部36、画像色域情報取得部37が設けられている。
FIG. 4 is a diagram illustrating the configuration of the
The
入出力部31は、画像生成装置20からマルチ画像ファイルを受け取って画像記録部32に格納する。画像色域情報取得部33は、マルチ画像ファイルから各画像の色域情報である画像色域情報を取得する。出力色域情報取得部37は、入出力部36を介して画像出力装置40の色域情報である出力色域情報を取得する。
The input /
最適画像抽出部34は、マルチ画像ファイルから各画像の画像色域情報の内、画像出力装置40の出力色域情報に対応する最適な画像色域情報を決定し、その画像色域情報をもつ画像データを抽出する。画像再生部35は、抽出された画像データを画像出力装置40用のデータに変換し、入出力部36を介して画像の再生動作を制御する。
また出力色域情報取得部37は、受け取った画像出力装置40の出力色域情報を、入出力部31を介して画像生成装置20に受け渡す。画像生成装置20では、上述のように渡された出力色域情報をカスタムリストに記録する。
The optimum
The output color gamut
図5は、画像出力装置40の内、モニタ/プロジェクタ40aの構成を示す図である。
モニタ/プロジェクタ40aは、画像表示部41及び固有情報保持部42を備えている。画像表示部41は、画像再生装置30からのRGBデータに基づいて表示動作を実行する。固有情報保持部42は、モニタ/プロジェクタ40aの固有情報であるRGBの出力色域情報を保持し、求めに応じて画像再生装置30に受け渡す。
FIG. 5 is a diagram showing the configuration of the monitor /
The monitor /
図6は、画像出力装置40の内、プリンタ40bの構成を示す図である。
プリンタ40bは、RGB−CMY変換部43、プリントヘッド部44及び固有情報保持部45を備えている。RGB−CMY変換部43は、画像再生装置30からのRGBデータをCMYKデータに変換する。プリントヘッド部44は、供給されるCMYKデータに基づいて媒体に画像を印字する。固有情報保持部45は、プリンタ40bの固有情報である出力色域情報を保持し、求めに応じてRGBの出力色域情報として画像再生装置30に受け渡す。
FIG. 6 is a diagram showing the configuration of the
The
続いて、画像生成・再生システムの動作について詳細に説明する。
図7は、画像再生装置30が画像出力装置40から出力色域情報を取得する手順を示すフロー図である。
Next, the operation of the image generation / reproduction system will be described in detail.
FIG. 7 is a flowchart showing a procedure by which the
ステップS01において、出力色域情報取得部37は、出力装置40の固有情報表示部42、45より出力色域情報の取得動作を実行する。ここで、複数の出力装置40が画像再生装置30に接続されているときは、接続されている全ての出力装置40について出力色域情報の取得動作を実行する。ステップS02において、出力色域情報が取得されたかどうかを調べる。
In step S01, the output color gamut
ステップS02でYesの場合、即ち出力色域情報が取得された場合はステップS04の手順を実行する。
ステップS02でNoの場合、即ち出力色域情報が少なくとも1つ取得できなかった場合は、ステップS03において、ユーザに対して取得できなかった出力装置40を明示してその出力色域情報を入力するように求める。ユーザは、不図示の操作部より当該出力装置40の出力色域情報を手入力する。この手入力は、予め定めて記憶した複数の出力色域情報の一つを指定することで入力するものであっても良い。また、ユーザは、当該出力装置40の出力色域情報を入力しないと拒否することも可能である。この場合は、後述するようにデフォルト処理が実行される。
ステップS04において、出力色域情報取得部37は、取得した出力色域情報を画像生成装置20に受け渡して、カスタムリスト記憶部25のカスタムリストに記録させる。
この手順によってカスタムリストには、画像再生装置30に接続している出力装置40の出力色域情報が記載されるが、既に登録されている異なる出力色域情報は消去されない。即ち、カスタムリストには過去に画像再生装置30に接続したことのある出力装置40の出力色域情報が保存されている。
If Yes in step S02, that is, if output color gamut information is acquired, the procedure of step S04 is executed.
In the case of No in step S02, that is, when at least one output color gamut information cannot be acquired, in step S03, the
In step S <b> 04, the output color gamut
According to this procedure, output color gamut information of the
図8は、画像生成装置20が、撮影された画像データからマルチ画像ファイルを生成する手順を示すフロー図であり、図9は、マルチ画像ファイルを生成するデータの関連を示す図である。図8及び図9を参照しつつ説明する。
FIG. 8 is a flowchart showing a procedure in which the
ステップS10において、画像生成装置20は、撮像装置10が撮影したRAWデータと撮影情報とを取得する。ステップS11において、画像処理部22は、sRGB色域情報に基づいて主画像を生成し、AdobeRGB色域情報に基づいて副画像を生成する。そして、さらにカスタムリストに登録されている出力色域情報に基づいて副画像を生成する。
In step S <b> 10, the
図9では、デフォルト色域情報として、sRGB色域情報とAdobeRGB色域情報とが設定され、カスタムリストには、5種類の出力装置40に対応した出力色域情報が登録されている。
カスタムリストに登録されている出力色域情報としては次のものを含んでいる。Wx:白色点の色度x、Wy:白色点の色度y、Rx:赤の色度x、Ry:赤の色度y、Gx:緑の色度x、Gy:緑の色度y、Bx:青の色度x、By:青の色度y。
図9では、画像生成装置20は、1つの主画像と6つの副画像を生成し、JPEG方式により圧縮する。
In FIG. 9, sRGB gamut information and AdobeRGB gamut information are set as default gamut information, and output gamut information corresponding to five types of
The output color gamut information registered in the custom list includes the following. Wx: white point chromaticity x, Wy: white point chromaticity y, Rx: red chromaticity x, Ry: red chromaticity y, Gx: green chromaticity x, Gy: green chromaticity y, Bx: Blue chromaticity x, By: Blue chromaticity y.
In FIG. 9, the
ステップS12において、ヘッダ情報生成部23は、副画像群の画像色域情報と画像展開のために必要な情報をヘッダ情報として生成する。
図9では、画像展開に必要な情報として画像サイズ、圧縮方式及び撮影情報を含み、副画像の色域情報としてデフォルト色域情報と、カスタムリストに登録されている出力色域情報とが設定されている。
In step S12, the header
In FIG. 9, the image size, compression method, and shooting information are included as information necessary for image development, and default color gamut information and output color gamut information registered in the custom list are set as the color gamut information of the sub-image. ing.
ステップS13において、画像記録部24は、生成した主画像、副画像群とヘッダ情報とを1つのマルチ画像ファイルとして保存する。
In step S13, the
次に、マルチ画像ファイルについて説明する。このマルチ画像ファイルの構成要素はJPEGファイルと類似の構成を備えている。 Next, the multi-image file will be described. The components of this multi-image file have a configuration similar to that of a JPEG file.
図10は、JPEGファイルの構成を示す図である。
JPEGファイルは、一般には、SOI(Start Of Image)からEOI(End Of Image)の間に、JPEGヘッダの領域と画像の本体部分となるJPEG画像データ領域とを備えている。
FIG. 10 is a diagram showing the structure of a JPEG file.
A JPEG file generally includes a JPEG header area and a JPEG image data area serving as a main part of an image between SOI (Start Of Image) and EOI (End Of Image).
JPEGヘッダには、例えば撮影時のカメラの設定情報、撮影条件、また撮影画像の縮小画像であるサムネイル等が記録されたExifデータが存在している。 The JPEG header includes Exif data in which, for example, camera setting information at the time of shooting, shooting conditions, and thumbnails that are reduced images of the shot images are recorded.
Exifデータは、アプリケーション層であるAPP1セグメントで規定されている。内部には、Exifヘッダ、TIFFヘッダ、0th IFD(Image File Directory)、Exif IFD、及び1st IFDが記録されている。
ExifヘッダはExif識別コードを備えている。0th IFDには、主画像に関する情報が記憶されている。Exif IFDには、カメラ撮影情報が格納されている。1st IFDにはサムネイルに関する情報が記録されている。そして、TIFFヘッダは、データの記録形式や0th IFDへのオフセット情報を記録している。
Exif data is defined in the APP1 segment which is an application layer. Inside, an Exif header, TIFF header, 0th IFD (Image File Directory), Exif IFD, and 1st IFD are recorded.
The Exif header includes an Exif identification code. The 0th IFD stores information related to the main image. Camera information is stored in the Exif IFD. Information about thumbnails is recorded in the 1st IFD. The TIFF header records a data recording format and offset information to 0th IFD.
マルチ画像ファイルは、複数の画像を一つのファイルとして扱うファイル構造(以下、マルチ画像構造という。)を備えている。
図11は、マルチ画像ファイルのマルチ画像構造とJPEG構造との比較を示す図である。マルチ画像構造では、複数の画像はそれぞれ通常のJPEG構造と同様にSOIからEOIまでのデータ構造を有している。即ち、単体としてもJPEG画像として成り立つ構造が一つのファイルとしてまとめられているものである。
The multi-image file has a file structure (hereinafter referred to as a multi-image structure) that handles a plurality of images as one file.
FIG. 11 is a diagram showing a comparison between a multi-image structure of a multi-image file and a JPEG structure. In the multi-image structure, each of the plurality of images has a data structure from SOI to EOI as in the normal JPEG structure. That is, the structure that is formed as a JPEG image as a single unit is collected as one file.
マルチ画像構造120では、先頭の画像(以下、主画像)に続き、関連する複数の画像(以下、副画像)が連続的に記録される。ここで、主画像が記録される領域を主画像領域120a、複数の副画像が記録される領域を副画像領域120bと呼ぶ。
In the
このように主画像領域120aが、通常のJPEG構造と同一の構成をしているため、マルチ画像ファイルをマルチ画像構造に対応していない表示システムに適用した場合であっても、主画像に関しては通常のJPEG画像として表示することが可能である。 As described above, the main image area 120a has the same configuration as the normal JPEG structure. Therefore, even when the multi-image file is applied to a display system that does not support the multi-image structure, It can be displayed as a normal JPEG image.
図12は、生成されたマルチ画像ファイルとデータとの対応を示す図である。
画像ファイルにある主画像(sRGB)のJPEG画像がマルチ画像ファイルの主画像領域120aにある「sRGB JPEG」に格納され、副画像1〜6のJPEG画像がそれぞれマルチ画像ファイルの副画像領域120bにある「副画像(1)〜(6) JPEG」に格納される。
FIG. 12 is a diagram showing the correspondence between the generated multi-image file and data.
The JPEG image of the main image (sRGB) in the image file is stored in “sRGB JPEG” in the main image area 120a of the multi-image file, and the JPEG images of the sub-images 1 to 6 are respectively stored in the sub-image area 120b of the multi-image file. It is stored in a certain “sub-image (1) to (6) JPEG”.
また、ファイルヘッダにある6つの副画像の色域情報がマルチ画像ファイルの主画像領域120aにある「sRGB JPEG」に格納され、ファイルヘッダにある画像展開に必要な情報及びExif情報が、マルチ画像ファイルの主画像領域120aにある「sRGB画像ヘッダ」と、マルチ画像ファイルの副画像領域120bにある「副画像(1)〜(6)画像ヘッダ」にそれぞれ格納される。 Further, the color gamut information of the six sub-images in the file header is stored in “sRGB JPEG” in the main image region 120a of the multi-image file, and the information necessary for image development and the Exif information in the file header are stored in the multi-image. The “sRGB image header” in the main image area 120a of the file and the “sub image (1) to (6) image header” in the sub image area 120b of the multi-image file are stored respectively.
図13は、画像再生装置30がマルチ画像ファイルに基づいて画像出力装置40に出力データを受け渡す画像再生手順を示すフロー図である。
なお、画像再生装置30は、マルチ画像ファイルのみでなく汎用の画像ファイルから出力データを抽出する機能も備えている。
FIG. 13 is a flowchart showing an image playback procedure in which the
The
ステップS20において、画像記録部32から画像ファイルが読み出される。ステップS21において、読み出された画像ファイルが本システム固有のファイルフォーマットをもつかどうか、即ちマルチ画像フォーマットかどうかを調べる。
In step S20, the image file is read from the
ステップS21でYesの場合、即ち画像ファイルがマルチ画像ファイルである場合、ステップS22において、画像色域情報取得部33は、マルチ画像ファイルの主画像領域120aの副画像色域情報から、副画像群の画像色域情報を抽出する。
In the case of Yes in step S21, that is, when the image file is a multi-image file, in step S22, the image color gamut
次に、ステップS23において、出力先の画像出力装置40の固有情報保持部42、45より出力色域情報の取得動作を実行する。そして、ステップS24において、出力色域情報が取得されたかどうかを調べる。
Next, in step S23, an output color gamut information acquisition operation is executed from the unique
ステップS24でYesの場合、即ち出力色域情報が取得された場合はステップS26の手順を実行する。
ステップS24でNoの場合、即ち当該出力装置40について色域情報が取得できなかった場合は、ステップS25において、ユーザに対して出力色域情報が取得できなかったことを明示してその出力色域情報を入力するように求める。ユーザは、不図示の操作部より当該出力装置40の出力色域情報を手入力する。このとき予め定めて記憶した複数の出力色域情報の一つを指定するものであっても良い。また、ユーザは、当該出力装置40の出力色域情報を入力しないと拒否することも可能である。
If Yes in step S24, that is, if output color gamut information is acquired, the procedure of step S26 is executed.
In the case of No in step S24, that is, if the color gamut information cannot be acquired for the
ステップS26において、出力色域情報が存在するかどうかを調べる。ステップS26でNoの場合、即ちユーザが当該出力装置40の出力色域情報の入力を拒否した場合、出力すべき画像として主画像を抽出する。
In step S26, it is checked whether output color gamut information exists. If No in step S26, that is, if the user refuses to input the output color gamut information of the
ステップS26でYesの場合、即ち出力装置40の出力色域情報が特定されていた場合、ステップS28において、最適画像抽出部34は、出力色域情報と画像色域情報とに基づいて、最も表示機器40の色域に近い画像を抽出する。
ここで、最適な画像を抽出する手法として、色空間において出力色域情報と画像色域情報との距離を求め、最も近い距離にある画像色域情報から画像を抽出しても良い。また、抽出する画像は、画像出力装置40の色域よりも高画質の画像であることが望ましいのでそのような基準を設けても良い。当該画像出力装置40の能力を十分に発揮できるようにするためである。
In the case of Yes in step S26, that is, when the output color gamut information of the
Here, as a method for extracting an optimal image, the distance between the output color gamut information and the image color gamut information may be obtained in the color space, and the image may be extracted from the image color gamut information at the closest distance. In addition, since it is desirable that the image to be extracted is an image with a higher image quality than the color gamut of the
そして、ステップS29において、画像再生部35が、抽出された画像データを画像出力装置40に出力する。
In step S <b> 29, the
一方、ステップS21でNoの場合、即ち画像ファイルがマルチ画像ファイルでない場合、ステップS30において、汎用の画像ファイルフォーマットであるとして画像の伸張処理を実行する。
ステップS31でNoの場合、即ち画像の抽出(伸張)ができなかった場合はエラーとして処理する。ステップS31でYesの場合、即ち画像を抽出できた場合は、ステップS29において、画像再生部35が、抽出された画像データを画像出力装置40に出力する。
On the other hand, if No in step S21, that is, if the image file is not a multi-image file, an image expansion process is executed in step S30 assuming that the image file format is a general-purpose image file.
If the answer is No in step S31, that is, if the image cannot be extracted (expanded), it is processed as an error. If Yes in step S31, that is, if the image can be extracted, the
図14は、画像出力装置40が画像を出力する手順を示すフロー図である。
ステップS40において、画像出力装置40は、自身がプリンタかどうかを判断する。
FIG. 14 is a flowchart showing a procedure for the
In step S40, the
ステップS40でYesの場合、即ちプリンタでなければ、ステップS41において、画像表示部41がRGBデータに基づいて画像を表示する。
ステップS40でNoの場合、即ちプリンタである場合は、ステップS42において、RGB−CMYK変換部43がRGBをCMYKに変換し、ステップS43において、プリントヘッド部44がCMYKデータに基づいて画像を印刷する。
If Yes in step S40, that is, if it is not a printer, in step S41, the
In the case of No in step S40, that is, in the case of a printer, in step S42, the RGB-
[実施の形態の効果]
以上説明した実施の形態では、種々の効果を得ることができる。
[Effect of the embodiment]
In the embodiment described above, various effects can be obtained.
(1)撮像装置において、撮像部で撮像された被写体のRAWデータをもとに画像処理部にてsRGBに準拠した画像を生成する。それに続いて少なくともカスタムリストに記録されている色域を含み、かつsRGB以外の標準的な色域(AdobeRGB等)について、それぞれの色域に最適化された画像を生成する。 (1) In the imaging apparatus, an image compliant with sRGB is generated by the image processing unit based on the RAW data of the subject imaged by the imaging unit. Subsequently, an image optimized for each color gamut is generated for a standard color gamut (such as AdobeRGB) including at least the color gamut recorded in the custom list.
そして、上述のカスタムリストには、画像生成装置が画像再生装置を介して画像出力装置と接続されているときに、画像出力装置の固有情報保持部より抽出された出力色域情報が記録されている。また、画像出力装置より出力色域情報が取得できない場合には、出力色域情報を手入力によってカスタムリストへ登録することが可能である。これにより、使用者の画像表示装置の色域に最適化した画像を生成することが可能となる。 The custom list records the output color gamut information extracted from the unique information holding unit of the image output device when the image generation device is connected to the image output device via the image reproduction device. Yes. If the output color gamut information cannot be acquired from the image output device, the output color gamut information can be manually registered in the custom list. This makes it possible to generate an image optimized for the color gamut of the user's image display device.
(2)画像出力装置の固有情報保持部から読み出される出力色域情報は、白色点、赤、緑、青というRGBの色空間である。したがって、本装置で扱う画像データと同様であるため都合が良い。しかしながら、画像出力装置にはモニタやプロジェクタに代表されるRGBを扱う装置の他に、プリンタなどのCMYKを扱う装置もある。この場合、プリンタのCMYKの色域に包含される所定のRGB色空間をプリンタの出力色域情報としてプリンタ側に持たせる。これにより、他のRGB空間の装置の色域情報と形式の共通化を図る。また、プリンタ側にRGB−CMYK変換部を備えることにより、RGBの画像データをそのままプリンタ側に出力することができる。これらのことから、画像再生装置にて複雑な処理を行なう必要が無くなる。従って、色域が変換できないような貧弱な再生装置であっても負担をかけずに表示装置の色域を有効に活用できる画像を表示することができる。 (2) The output color gamut information read from the unique information holding unit of the image output apparatus is an RGB color space of white point, red, green, and blue. Therefore, it is convenient because it is similar to the image data handled by this apparatus. However, image output devices include devices that handle CMYK such as printers, in addition to devices that handle RGB typified by monitors and projectors. In this case, a predetermined RGB color space included in the CMYK color gamut of the printer is provided on the printer side as output color gamut information of the printer. As a result, the color gamut information and the format of other RGB space devices are shared. Also, by providing the RGB-CMYK conversion unit on the printer side, RGB image data can be output to the printer side as it is. For these reasons, it is not necessary to perform complicated processing in the image reproducing apparatus. Therefore, even a poor reproduction device that cannot convert the color gamut can display an image that can effectively use the color gamut of the display device without imposing a burden.
(3)また、ICCプロファイルを用いたカラーマッチングのように出来上がった画に対して補正処理を行なうものではなく、色域に合わせて画像を生成するため色や階調に歪が生じにくいという利点を備える。 (3) In addition, correction processing is not performed on a completed image as in color matching using an ICC profile, and an image is generated in accordance with a color gamut, so that distortion in color and gradation is less likely to occur. Is provided.
(4)さらに、マルチ画像ファイルは、sRGB(Standard RGB)規格に準じた画像データをExif規格に準じたフォーマットで記録した主画像データと、その他の規格に準じた画像データである副画像データを有している。
スタンダードなsRGB規格に準じた画像データを、標準規格のExif規格に準じたフォーマットの主画像データとして記録することにより、マルチ画像ファイルに対応していないアプリであっても主画像データのみは読み込むことが可能であり、しかも、この主画像データはスタンダードなsRGB規格の画像データであるので、どのようなアプリであっても画像データの読み込みに失敗する確率が低い。
(4) Furthermore, the multi-image file includes main image data in which image data conforming to the sRGB (Standard RGB) standard is recorded in a format conforming to the Exif standard, and sub-image data that is image data conforming to other standards. Have.
By recording image data that conforms to the standard sRGB standard as main image data in a format that conforms to the standard Exif standard, only the main image data can be read even if the application does not support multi-image files. In addition, since the main image data is standard sRGB standard image data, the probability of failure in reading the image data is low for any application.
図15は、従来のカラーマッチング技術に基づく画像生成装置及び画像再生装置の構成を示す図である。
従来では、画像毎に画像ファイルが生成されているため、画像生成装置は1つの画像データを生成し、画像再生装置がその画像データを画像出力装置に適合するように変換して出力していた。
FIG. 15 is a diagram illustrating a configuration of an image generation apparatus and an image reproduction apparatus based on a conventional color matching technique.
Conventionally, since an image file is generated for each image, the image generation apparatus generates one image data, and the image reproduction apparatus converts the image data so as to be compatible with the image output apparatus and outputs the image data. .
このため、画像生成装置で生成する画像データの画質が、画像出力装置で出力可能な画質よりも低画質であった場合は、画像再生装置がいかに補正したとしても適切な画像を出力するとはいえない。
また、画像再生装置は出力の都度、画像データを変換するため応答性に欠けることとなっていた。これは複数の画像出力装置に出力する場合に特に顕著となる点である。
For this reason, if the image quality of the image data generated by the image generation device is lower than the image quality that can be output by the image output device, it can be said that an appropriate image is output no matter how the image reproduction device corrects it. Absent.
In addition, the image reproducing apparatus converts image data every time it is output, so that it lacks responsiveness. This is particularly noticeable when outputting to a plurality of image output devices.
本実施の形態では、複数の色域情報に対応した画像を1ファイルに納めた画像ファイルを構成する。この結果、画像出力装置に適した画質の画像を常に提供することができ、また画像出力装置に対して効率的に提供することができる。 In the present embodiment, an image file is configured in which images corresponding to a plurality of color gamut information are stored in one file. As a result, an image having an image quality suitable for the image output apparatus can always be provided, and can be efficiently provided to the image output apparatus.
なお、本実施の形態で示した画像生成装置20及び画像再生装置30は、それぞれ独立して構成するのみでなく、その機能を適宜分離、統合して使用することができる。
Note that the
図16は、画像生成装置20及び画像再生装置30の構成例を示す図である。
撮像装置10は、デジタルカメラの一機能として構成し、画像生成装置20及び画像再生装置30は、パーソナルコンピュータ(PC)で稼動するそれぞれのアプリケーションソフトウエアとすることができる。この構成では、カメラとPCとの間の画像データは、本実施の形態にあるようにRAWデータを用いる。
そして、画像生成装置20及び画像再生装置30で構成される装置を新たな画像再生装置あるいは画像生成装置としても良い。
FIG. 16 is a diagram illustrating a configuration example of the
The
The apparatus constituted by the
図17は、画像生成装置20及び画像再生装置30の他の構成例を示す図である。
撮像装置10と画像生成装置20は、デジタルカメラの一機能として構成し、画像再生装置30は、パーソナルコンピュータ(PC)で稼動するアプリケーションソフトウエアあるいは専用の再生装置とすることができる。この構成では、カメラとPCとの間の画像データは、マルチ画像ファイルの画像データを用いる。
FIG. 17 is a diagram illustrating another configuration example of the
The
なお、上述の実施の形態で説明した各機能は、ハードウエアを用いて構成しても良く、また、ソフトウエアを用いて各機能を記載したプログラムをコンピュータに読み込ませて実現しても良い。また、各機能は、適宜ソフトウエア、ハードウエアのいずれかを選択して構成するものであっても良い。 Each function described in the above embodiment may be configured using hardware, or may be realized by reading a program describing each function into a computer using software. Each function may be configured by appropriately selecting either software or hardware.
更に、各機能は図示しない記録媒体に格納したプログラムをコンピュータに読み込ませることで実現させることもできる。ここで本実施の形態における記録媒体は、プログラムを記録でき、かつコンピュータが読み取り可能な記録媒体であれば、その記録形式は何れの形態であってもよい。 Furthermore, each function can be realized by causing a computer to read a program stored in a recording medium (not shown). Here, as long as the recording medium in the present embodiment can record a program and can be read by a computer, the recording format may be any form.
なお、この発明は、上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合せにより種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。更に、異なる実施形態に亘る構成要素を適宜組み合せてもよい。 Note that the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. Further, various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, you may combine suitably the component covering different embodiment.
1…CPU、2…光学系、3…撮像部、9…操作部、10…撮像装置、20…画像生成装置、22…画像処理部、23…ヘッダ情報生成部、24…画像記録部、25…カスタムリスト記憶部、32…画像記録部、33…出力色域情報取得部、33…画像色域情報取得部、34…最適画像抽出部、35…画像再生部、37…画像色域情報取得部、37…出力色域情報取得部、40…画像出力装置、40a…プロジェクタ、40b…プリンタ、42…固有情報保持部、44…プリントヘッド部、45…固有情報保持部、120…マルチ画像構造、120a…主画像領域、120b…副画像領域。
DESCRIPTION OF SYMBOLS 1 ... CPU, 2 ... Optical system, 3 ... Imaging part, 9 ... Operation part, 10 ... Imaging apparatus, 20 ... Image generating apparatus, 22 ... Image processing part, 23 ... Header information generating part, 24 ... Image recording part, 25 ... custom list storage unit, 32 ... image recording unit, 33 ... output gamut information acquisition unit, 33 ... image gamut information acquisition unit, 34 ... optimum image extraction unit, 35 ... image reproduction unit, 37 ... acquisition of
Claims (4)
上記色再現範囲情報取得部が取得した情報を保持する色再現範囲情報保持部と、
複数の色チャンネルを有する画像データを上記色再現範囲情報保持部に保持された複数の色再現範囲に対応する画像データに変換する画像変換部と、
上記画像変換部にて変換された複数の画像データを一つの画像ファイルとして記憶する画像ファイル記憶部と、
を備えたことを特徴とする画像データ生成装置。 A color reproduction range information acquisition unit that acquires information corresponding to each color reproduction range from a plurality of image output devices that reproduce images;
A color reproduction range information holding unit for holding information acquired by the color reproduction range information acquisition unit;
An image conversion unit that converts image data having a plurality of color channels into image data corresponding to a plurality of color reproduction ranges held in the color reproduction range information holding unit;
An image file storage unit for storing a plurality of image data converted by the image conversion unit as one image file;
An image data generation device comprising:
上記色再現範囲情報取得部が取得した情報を色再現範囲情報保持部に保持するステップと、
複数の色チャンネルを有する画像データを、画像変換部により上記色再現範囲情報保持部に保持された複数の色再現範囲に対応する画像データに変換する画像変換ステップと、
上記画像変換部にて変換された複数の画像データを一つの画像ファイルとして画像ファイル記憶部に記憶するステップと、
を備えたことを特徴とする画像データ生成方法。 A step of acquiring information corresponding to each color reproduction range from a plurality of image output devices by a color reproduction range information acquisition unit;
Holding the information acquired by the color reproduction range information acquisition unit in a color reproduction range information holding unit;
An image conversion step of converting image data having a plurality of color channels into image data corresponding to a plurality of color reproduction ranges held in the color reproduction range information holding unit by the image conversion unit;
Storing a plurality of image data converted by the image conversion unit as one image file in an image file storage unit;
An image data generation method characterized by comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008015260A JP2009177610A (en) | 2008-01-25 | 2008-01-25 | Image data generating apparatus and image data generating method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008015260A JP2009177610A (en) | 2008-01-25 | 2008-01-25 | Image data generating apparatus and image data generating method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2009177610A true JP2009177610A (en) | 2009-08-06 |
Family
ID=41032221
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2008015260A Withdrawn JP2009177610A (en) | 2008-01-25 | 2008-01-25 | Image data generating apparatus and image data generating method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2009177610A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2014178900A (en) * | 2013-03-14 | 2014-09-25 | Ricoh Co Ltd | Information process system, server device, information process method and program |
-
2008
- 2008-01-25 JP JP2008015260A patent/JP2009177610A/en not_active Withdrawn
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2014178900A (en) * | 2013-03-14 | 2014-09-25 | Ricoh Co Ltd | Information process system, server device, information process method and program |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3608533B2 (en) | Image processing via network | |
| JP4131192B2 (en) | Imaging apparatus, image processing apparatus, and image recording apparatus | |
| JP5267417B2 (en) | Program, method, camera, monitor, and printer for reproducing images | |
| JP3797199B2 (en) | Image recording method and image information processing apparatus | |
| JP2004128809A (en) | Image processing method and apparatus, and imaging apparatus | |
| CN101895660B (en) | Image processing apparatus and image processing method | |
| JP2010081048A (en) | Image processing apparatus, program, and imaging apparatus | |
| KR100782826B1 (en) | Apparatus and method for image acquisition and a recording medium having recorded thereon a program for performing the method | |
| JP2005354372A (en) | Apparatus and method for image recording device, method and system for image processing | |
| CN100418376C (en) | Photographic equipment and image processing method | |
| JP2004289450A (en) | Information processing method and apparatus, program, and storage medium storing program | |
| JP2004096505A (en) | Image processing method, image processing apparatus, image recording apparatus, program, and recording medium | |
| JP2006196992A (en) | History adding device, electronic camera, and image processing program | |
| JP4852830B2 (en) | Image processing apparatus and image processing method | |
| JP2011091753A (en) | Imaging apparatus, image processing apparatus, and program | |
| JP4625462B2 (en) | Apparatus, method, and program for performing image reproduction using specific color space | |
| JP2005192197A (en) | Imaging device, imaging method, recording medium, program, and display device | |
| JP2009177610A (en) | Image data generating apparatus and image data generating method | |
| JP2009177609A (en) | Image output device and image output method | |
| US7286167B2 (en) | Digital camera recording dynamic range compression information | |
| JP4623024B2 (en) | Electronic camera | |
| JP2010124114A (en) | Digital camera and image data processing program | |
| JP4496817B2 (en) | Image processing via network | |
| JP2007097032A (en) | Image display device, image display method, and digital camera | |
| JP2004236201A (en) | Image processing apparatus and method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20110405 |