JP2006222612A - Raw data output device, raw data structure, and raw data output method - Google Patents
Raw data output device, raw data structure, and raw data output method Download PDFInfo
- Publication number
- JP2006222612A JP2006222612A JP2005032753A JP2005032753A JP2006222612A JP 2006222612 A JP2006222612 A JP 2006222612A JP 2005032753 A JP2005032753 A JP 2005032753A JP 2005032753 A JP2005032753 A JP 2005032753A JP 2006222612 A JP2006222612 A JP 2006222612A
- Authority
- JP
- Japan
- Prior art keywords
- control information
- raw data
- image
- adjustment control
- output device
- 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
Images
Abstract
Description
本発明はRAWデータ出力装置、RAWデータ構造及びRAWデータ出力方法に関し、特に理想的な画像出力を得るためのRAWデータ出力装置、RAWデータ構造及びRAWデータ出力方法に関する。 The present invention relates to a RAW data output device, a RAW data structure, and a RAW data output method, and more particularly to a RAW data output device, a RAW data structure, and a RAW data output method for obtaining an ideal image output.
従来、ディジタルカメラで画像を記録する際にユーザの意図を画像再生結果に反映させるための情報を画像ファイルに添付する規格としてExif Printが知られている。ディジタルカメラユーザの意図を画像再生結果に反映させるための情報とは、例えば露出情報、コントラスト情報、撮影モード情報等である。しかし、たとえディジタルカメラユーザの意図に応じて設定されるこれらの情報を画像に添付したとしても、印刷装置等の出力装置が画像データに基づいて最終出力データを生成する際の画像処理をディジタルカメラで制御することはできない。そこで、最終出力データを生成する際の画像処理をディジタルカメラで制御するため、ディジタルカメラと理想的な仮想プリンタとの特性に応じた制御情報を画像データに添付する技術が開発された(例えば特許文献1参照)。 Conventionally, Exif Print is known as a standard for attaching information for reflecting a user's intention in an image reproduction result to an image file when an image is recorded with a digital camera. The information for reflecting the intention of the digital camera user in the image reproduction result is, for example, exposure information, contrast information, shooting mode information, and the like. However, even if the information set according to the intention of the digital camera user is attached to the image, the image processing when the output device such as a printing device generates final output data based on the image data is performed by the digital camera. It cannot be controlled by. Therefore, in order to control image processing when generating final output data with a digital camera, a technique has been developed that attaches control information according to the characteristics of the digital camera and an ideal virtual printer to the image data (for example, patents). Reference 1).
しかし、ディジタルカメラと理想的な仮想プリンタの特性に応じた制御情報を画像データに添付したとしても、理想的な印刷結果が得られない場合がある。なぜならば、画像補正は本質的に情報の劣化を伴うものであるため、撮影時の露出設定やホワイトバランス設定が適正でなければ、いかに事後的に画像を補正したとしても、理想的な印刷結果を得られるデータを生成できないからである。 However, even if control information corresponding to the characteristics of the digital camera and the ideal virtual printer is attached to the image data, an ideal print result may not be obtained. This is because image correction is inherently accompanied by deterioration of information, so if the exposure setting and white balance setting at the time of shooting are not appropriate, no matter how the image is corrected later, the ideal print result This is because data that can be obtained cannot be generated.
本発明は上述の問題に鑑みて創作されたものであって、理想的な画像出力を得ることができるRAWデータ出力装置、RAWデータ構造及びRAWデータ出力方法を提供することを目的とする。 The present invention was created in view of the above-described problems, and an object thereof is to provide a RAW data output device, a RAW data structure, and a RAW data output method capable of obtaining an ideal image output.
(1)上記目的を達成するためのRAWデータ出力装置は、イメージセンサと、前記イメージセンサの出力に基づいて1画素当たり1カラーチャネルの画素値を有するRAWデータを形成するRAWデータ形成手段と、前記RAWデータを現像することにより画像を形成するための現像制御情報を取得する現像制御情報取得手段と、現像された前記画像の画質を標準出力装置の特性に応じて調整するための調整制御情報を取得する調整制御情報取得手段と、前記現像制御情報及び前記調整制御情報を添付して前記RAWデータを出力する出力手段と、を備える。
本発明によると、RAWデータを現像するための現像制御情報と、現像された画像の画質を標準出力装置の特性に応じて調整するための調整制御情報とが添付されたRAWデータを出力するため、任意の出力装置では現像後に標準出力装置との特性差と調整制御情報とを参照して画質を調整することができる。したがって本発明によると、画像情報を記録する際の露出設定やホワイトバランス等の条件設定が適正でなくとも、任意の出力装置で理想的な画像出力を得ることができる。
尚、本明細書では、「画像」にはRAWデータが含まれず、「画像」は画素補間無しに印刷又は画面表示が可能なデータであるものとし、「画像情報」にはRAWデータが含まれるものとする。
(1) A RAW data output device for achieving the above object includes an image sensor, and RAW data forming means for forming RAW data having a pixel value of one color channel per pixel based on the output of the image sensor; Development control information acquisition means for acquiring development control information for forming an image by developing the RAW data, and adjustment control information for adjusting the image quality of the developed image according to the characteristics of a standard output device Adjustment control information acquisition means for acquiring image data, and output means for outputting the RAW data with the development control information and the adjustment control information attached thereto.
According to the present invention, to output RAW data to which development control information for developing RAW data and adjustment control information for adjusting the image quality of the developed image according to the characteristics of the standard output device are attached. In any output device, the image quality can be adjusted with reference to the characteristic difference from the standard output device and the adjustment control information after development. Therefore, according to the present invention, an ideal image output can be obtained by an arbitrary output device even if the exposure setting and the white balance and the like are not appropriate when recording image information.
In this specification, “image” does not include RAW data, “image” is data that can be printed or displayed without pixel interpolation, and “image information” includes RAW data. Shall.
(2)前記RAWデータ出力装置は、複数の前記調整制御情報が格納された調整制御情報記憶部と、いずれかの前記調整制御情報を選択する選択手段とをさらに備えてもよい。前記制御情報取得手段は、選択された前記調整制御情報を前記調整制御情報記憶部から取得してもよい。
本発明によると、ユーザは意図に応じて調整制御情報を選択できるため、ユーザの意図に応じた理想的な画像出力を得ることができる。ユーザの意図とは、赤みがかった夕暮れ時の風景を記録したい、マクロモードで撮った植物を色鮮やかに記録したい、人物の背景をぼかしたい、といった画像表現の嗜好性に関する意図である。
(2) The RAW data output device may further include an adjustment control information storage unit that stores a plurality of the adjustment control information, and a selection unit that selects any of the adjustment control information. The control information acquisition unit may acquire the selected adjustment control information from the adjustment control information storage unit.
According to the present invention, since the user can select adjustment control information according to the intention, an ideal image output according to the user's intention can be obtained. The user's intention is an intention regarding a preference of image expression such as recording a reddish sunset scene, recording a plant photographed in the macro mode colorfully, or blurring a person's background.
(3)前記出力手段は、前記RAWデータと前記現像制御情報と前記調整制御情報とを1つのファイルに格納して出力してもよい。
本発明によると、RAWデータと現像制御情報と調整制御情報とが1ファイルに格納されて出力されるため、これらのデータの可搬性が向上する。
(3) The output means may store and output the RAW data, the development control information, and the adjustment control information in one file.
According to the present invention, since RAW data, development control information, and adjustment control information are stored and output in one file, the portability of these data is improved.
(4)上記目的を達成するためのRAWデータファイル構造は、前記イメージセンサの出力に基づいて1画素当たり1カラーチャネルの画素値を有するRAWデータが格納されるRAWデータ領域と、前記RAWデータを現像することにより画像を形成するための現像制御情報が格納される現像制御情報領域と、現像された前記画像の画質を標準出力装置の特性に応じて調整するための調整制御情報が格納される制御情報領域と、を備える。
本発明によると、RAWデータを現像するための現像制御情報と、現像された画像の画質を標準出力装置の特性に応じて調整するための調整制御情報とがファイルに格納されるため、任意の出力装置では現像後に標準出力装置との特性差と調整制御情報とを参照して画質を調整することができる。したがって本発明によると、画像情報を記録する際の露出設定やホワイトバランス等の条件設定が適正でなくとも、任意の出力装置で理想的な画像出力を得ることができる。
(4) A RAW data file structure for achieving the above object includes a RAW data area in which RAW data having a pixel value of one color channel per pixel is stored based on an output of the image sensor, and the RAW data A development control information area for storing development control information for forming an image by development, and adjustment control information for adjusting the image quality of the developed image according to the characteristics of the standard output device are stored. A control information area.
According to the present invention, the development control information for developing the RAW data and the adjustment control information for adjusting the image quality of the developed image according to the characteristics of the standard output device are stored in the file. In the output device, the image quality can be adjusted after development with reference to the characteristic difference from the standard output device and the adjustment control information. Therefore, according to the present invention, an ideal image output can be obtained by an arbitrary output device even if the exposure setting and the white balance and the like are not appropriate when recording image information.
(5)上記目的を達成するためのRAWデータ出力方法は、1画素当たり1カラーチャネルの画素値を有するRAWデータを取得する段階と、前記RAWデータを現像することにより画像を形成するための現像制御情報を取得する段階と、現像された前記画像の画質を標準出力装置の特性に応じて調整するための調整制御情報を取得する段階と、前記現像制御情報及び前記調整制御情報を添付して前記RAWデータを出力する段階と、を含む。
本発明によると、RAWデータを現像するための現像制御情報と、現像された画像の画質を標準出力装置の特性に応じて調整するための調整制御情報とが添付されたRAWデータを出力するため、任意の出力装置では現像後に標準出力装置との特性差と調整制御情報とを参照して画質を調整することができる。したがって本発明によると、画像情報を記録する際の露出設定やホワイトバランス等の条件設定が適正でなくとも、任意の出力装置で理想的な画像出力を得ることができる。
(5) A RAW data output method for achieving the above object includes a step of acquiring RAW data having a pixel value of one color channel per pixel, and a development for forming an image by developing the RAW data. Acquiring control information, acquiring adjustment control information for adjusting the image quality of the developed image according to the characteristics of a standard output device, and attaching the development control information and the adjustment control information Outputting the RAW data.
According to the present invention, to output RAW data to which development control information for developing RAW data and adjustment control information for adjusting the image quality of the developed image according to the characteristics of the standard output device are attached. In any output device, the image quality can be adjusted with reference to the characteristic difference from the standard output device and the adjustment control information after development. Therefore, according to the present invention, an ideal image output can be obtained by an arbitrary output device even if the exposure setting and the white balance and the like are not appropriate when recording image information.
尚、請求項に記載された方法の各動作の順序は、技術上の阻害要因がない限り、記載順に限定されるものではなく、どのような順番で実行されてもよく、また同時に実行されてもよい。また、本発明に備わる複数の手段の各機能は、構成自体で機能が特定されるハードウェア資源、プログラムにより機能が特定されるハードウェア資源、又はそれらの組み合わせにより実現される。また、これら複数の手段の各機能は、各々が物理的に互いに独立したハードウェア資源で実現されるものに限定されない。また、本発明はプログラムの発明としても、そのプログラムを記録した記録媒体の発明としても特定することができる。 It should be noted that the order of each operation of the method described in the claims is not limited to the order of description as long as there is no technical obstruction factor, and may be executed in any order, or may be executed simultaneously. Also good. In addition, each function of the plurality of means provided in the present invention is realized by a hardware resource whose function is specified by the configuration itself, a hardware resource whose function is specified by a program, or a combination thereof. The functions of the plurality of means are not limited to those realized by hardware resources that are physically independent of each other. Further, the present invention can be specified as an invention of a program as well as an invention of a recording medium on which the program is recorded.
以下、実施例に基づいて本発明の実施の形態を説明する。
図2は、本発明のRAWデータ出力装置の一実施例としてのディジタルスチルカメラ(DSC)6と、DSC6から出力されるRAWデータファイルを処理するパーソナルコンピュータ(PC)1と、PC1の制御下で画像を印刷するプリンタ4とを示す模式図である。DSC6はRAWデータと現像制御情報と調整制御情報とを格納したRAWデータファイルを出力する。PC1は現像制御情報に基づいてRAWデータを現像した後に調整制御情報と画像の解析結果に基づいて画質調整を行い、画質調整された画像を印刷データに変換してプリンタ4に出力する。プリンタ4は印刷データに基づいて印刷を実行する。尚、本発明によるRAWデータ出力装置は、RAWデータのファイル出力機能を有するイメージスキャナ5やディジタルビデオカメラに適用することもできる。また、出力装置としてプロジェクタ、ディスプレイ7等を用いることもできる。また、RAWデータファイルの現像機能と、画質調整機能と、画像データから印刷データへの変換機能とを備えた所謂スタンドアロン型のプリンタを出力装置とすることもできる。
Embodiments of the present invention will be described below based on examples.
FIG. 2 shows a digital still camera (DSC) 6 as an embodiment of the RAW data output apparatus of the present invention, a personal computer (PC) 1 for processing a RAW data file output from the
(ディジタルカメラの構成)
図3はDSC6のハードウェア構成を示すブロック図である。
RAWデータ形式手段としてのイメージセンサ30は、二次元空間に離散的に配置された光電変換素子とCCD(Charge Coupled Device)等の電荷転送素子とを備えたカラー撮像素子であり、いわゆるCCDカラーイメージセンサ、CMOSカラーイメージセンサ等である。イメージセンサ30は、レンズ22及び絞り26によって受光面に結像された光学像の濃淡に応じた電気信号を出力する。イメージセンサ30は、光電変換素子毎にベイヤ配列の色フィルタを備えるため、画素毎にRGBいずれか1チャネルの濃淡レベルを示すアナログ信号を出力する。レンズ22はレンズコントローラ24によって駆動され、光軸方向に往復移動する。絞り26は、絞りコントローラ28によって駆動され、イメージセンサ30に入射する光量を調整する。イメージセンサ30に電荷を蓄積する時間(露出時間)は、機械的なシャッタで制御してもよいし、イメージセンサ30のゲート信号のオンオフにより電気的に制御してもよい。センサコントローラ34は、所定のタイミングでゲート信号、シフト信号等のパルス信号をイメージセンサ30に出力し、イメージセンサ30を駆動する。
(Configuration of digital camera)
FIG. 3 is a block diagram showing the hardware configuration of the
The
RAWデータ形成手段としてのアナログフロントエンド(AFE)32は、イメージセンサ30から出力されるアナログ信号に対してAD変換を施してRAWデータを生成する。RAWデータは画素毎にRGBいずれか1チャネルの濃淡レベルを表す画素値を有する。このため、RAWデータは画像でなく、そのまま表示しても対象物を認識可能な画像を表示することは出来ない。ただし、RAWデータは、露出補正、ホワイトバランス補正等、一般に画像形成時に施される濃度変換の一部が施されたデータであってもよいし、施されていないデータであってもよい。AFE32から出力されるRAWデータは、RAMコントローラ40によってRAM42に格納される。
An analog front end (AFE) 32 as RAW data forming means performs AD conversion on an analog signal output from the
画像処理部38は、制御部35と協働し、AFE32から出力されるRAWデータに対し、現像処理、画質調整処理、解像度変換処理、及び圧縮・伸張処理を施す。尚、RAWデータファイルをリムーバブルメモリ60に出力するRAWデータモードでは画像処理部38による現像処理、画質調整処理、解像度変換処理及び圧縮・伸張処理は実行されない。
グラフィックコントローラ44は、合成機能を有する表示制御回路等を備え、RAM42のフレームメモリ領域に格納されている画像を単体でLCD46の画面に表示したり、画像とメニューを重ねてLCD46の画面に表示したり、メニューを単体でLCD46の画面に表示したりする。
The
The
選択手段としての操作部52は、撮像指示を入力するための図示しないレリーズボタン、モード選択のための図示しないダイヤルスイッチ、メニュー操作のための各種の押しボタン66、68、70、十字キー64等を備える(図5参照)。
外部インタフェースコントローラ54は、DSC6とPC1等の外部システムとを通信可能に接続する。
出力手段としてのリムーバブルメモリコントローラ56は、カードコネクタ58に接続されるリムーバブルメモリ60にRAM42に格納されているデータを転送する。
The
The
A
フラッシュメモリコントローラ50は、調整制御情報記憶部としてのフラッシュメモリ48に格納されているデータをRAM42に転送する。フラッシュメモリ48はCPU36が実行する制御プログラムと現像制御情報、調整制御情報等のデータを格納している不揮発性メモリである。DSC6が作動するために必要な制御プログラムや各種のデータは、所定のサーバからのネットワークを介したダウンロード、リムーバブルメモリ60からの読み出し等によってフラッシュメモリ48に格納することもできる。
The
現像制御情報取得手段、調整制御情報取得手段及び出力手段としての制御部35はCPU36、RAM42及びRAMコントローラ40を備える。CPU36はフラッシュメモリ48に格納されている制御プログラムを実行することでDSC6の各部を制御し、現像制御情報及び調整制御情報が添付されたRAWデータファイルをリムーバブルメモリ60に格納する。RAMコントローラ40は、AFE32、画像処理部38、CPU36、グラフィックコントローラ44、リムーバブルメモリコントローラ56、フラッシュメモリコントローラ50等とRAM42との間のデータ転送を制御する。
The
(DSCによるRAWデータファイルの出力)
図4はRAWデータモードでDSC6がRAWデータファイルを出力する処理の流れを示すフローチャートである。図4に示す処理は、図示しないモード選択のためのダイヤルスイッチの操作によってRAWデータモードが選択されると開始され、ダイヤルスイッチの操作によってEXIF、TIFF等の他のファイルフォーマットで出力するモードが選択されると終了する。
(Output of RAW data file by DSC)
FIG. 4 is a flowchart showing a flow of processing in which the
ステップS100では、調整制御情報の設定操作を受け付ける。具体的には例えば図5に示すように、各撮影モードでLCD46が電子ビューファインダとして機能している状態において十字キー64が操作されると別の撮影モードに遷移する。図5(A)はマクロ撮影モードで表示される画面62を示し、図5(B)は風景撮影モードで表示される画面62を示している。ユーザはインジケータ61、67によって撮影モードを把握することができる。撮影モード毎に調整制御情報のデフォルト値がフラッシュメモリ48に格納されている。調整制御情報は、例えばコントラスト、明るさ、カラーバランス、彩度、シャープネス、記憶色、ノイズ除去といった項目毎に設定される値で構成することができる。尚、調整制御情報はこれらの項目に限らず、さらに他の項目を構成要素として設定可能である。例えば、トーンカーブ補正、ガンマ補正、階調補正を制御するためのパラメータを調整制御情報に含めることができる。図6は撮影モード毎に調整制御情報のデフォルト値が格納されているテーブルの一例を示している。モード1の調整制御情報は標準撮影モード、モード2の調整制御情報は人物撮影モード、モード3の調整制御情報は風景撮影モード、モード4の調整制御情報は夜景撮影モードで出力されるRAWデータに基づいて現像された画像の画質調整処理に好適である。尚、調整制御情報は、複数の項目についてそれぞれ予め決められた特定の値を意味する1つの値で示してもよい。具体的には例えばモード1〜4について予め決められている各項目の値を特定可能な1つの値を調整制御情報としてもよい。また、複数の項目についてそれぞれ予め決められた特定の値を意味する1つの値と、その値が意味する複数の項目についての値の両方を調整制御情報に含めてもよい。このような場合、複数の項目について予め決められた値を意味する値と、各項目についてユーザが設定した値の両方を加味して画質を調整することが可能になる。
In step S100, an adjustment control information setting operation is accepted. Specifically, for example, as shown in FIG. 5, when the cross key 64 is operated in a state where the
ある撮影モードが他の撮影モードに遷移すると、遷移後の撮影モードに応じた調整制御情報のデフォルト値がフラッシュメモリ48からRAM42に読み込まれる。すなわち撮影モードの設定操作が調整制御情報の設定操作となりうる。また各撮影モードでLCD46が電子ビューファインダとして機能している状態においてfunctionボタン70が押されると、調整制御情報を任意に設定可能なモードに遷移してもよい。図5(C)は、調整制御情報を任意に設定可能なモードで表示される画面62を表している。例えば調整制御情報を任意に設定可能なモードで十字キー64が上下方向に操作されると調整制御情報の各項目が選択される。十字キー64の上下方向操作により選択された項目についての値は例えば十字キー64の左右方向操作により変更される。尚、これらの操作は例示であり、調整制御情報を設定するための操作はどのように設計することもできる。
When a certain shooting mode transitions to another shooting mode, a default value of adjustment control information corresponding to the shooting mode after the transition is read from the
調整制御情報の設定操作が受け付けられると、操作に応じた調整制御情報が制御部35によって取得される(ステップS102)。具体的には例えば、調整制御情報のデフォルト値がフラッシュメモリ48からRAM42に読み込まれたり、RAM42に格納されている調整制御情報の特定の項目の値が変更される。図5(D)は彩度の値が「やや高く」から「高く」に変更された状態を示している。
When the adjustment control information setting operation is accepted, adjustment control information corresponding to the operation is acquired by the control unit 35 (step S102). Specifically, for example, the default value of the adjustment control information is read from the
ステップS104では撮影指示を受け付ける。具体的には例えば図示しないいレリーズボタンが押されると撮影指示が受け付けられる。上述のステップS100、S102は撮影指示が受け付けられるまで繰り返される。
撮影指示が受け付けられると、ステップS106ではRAWデータを形成する。具体的には例えば以下のようにしてRAWデータが形成される。レンズ22及び絞り26を通過した光がイメージセンサ30で光電変換され、被写体の明るさと色に相関したアナログ信号がイメージセンサ30からAFE32に出力される。AFE32ではイメージセンサ30から入力されたアナログ信号をAD変換することによりRAWデータを形成する。AFE32によって形成されたRAWデータはRAM42に格納される。
In step S104, a shooting instruction is accepted. Specifically, for example, when a release button (not shown) is pressed, a shooting instruction is accepted. Steps S100 and S102 described above are repeated until a shooting instruction is accepted.
When a photographing instruction is accepted, RAW data is formed in step S106. Specifically, for example, RAW data is formed as follows. The light passing through the
ステップS108では、制御部35が現像制御情報を取得する。具体的には例えば、フラッシュメモリ48に格納された現像制御情報がRAM42に読み込まれる。現像制御情報は、ディジタルカメラの個体毎又はモデル毎に値が静的に設定されている項目と、撮影条件によって動的に値が設定される項目を含みうる。ディジタルカメラの個体毎又はモデル毎に値が静的に設定されている項目としては、例えば、イメージセンサ30の画素の配列、イメージセンサ30の暗電流によって決まる黒レベル、イメージセンサ30で入出力の相関性が保障される範囲によって決まる白レベル等がある。撮影条件によって動的に値が設定される項目としては、画像サイズ、ホワイトバランス、シャープネス、露出等がある。尚、現像制御情報の構成はどのように設計することもできる。また、現像制御情報として用いられる情報には調整制御情報として用いることが可能な情報もある。例えば、シャープネス補正、トーンカーブ補正、ガンマ補正等は、現像時にそれらを加味して各チャネルの画素値を決定することもでき、現像後にそれらを加味した画素値の調整も可能であるため、これらの補正を制御する情報は、現像制御情報としても、調整制御情報としても定義することができる。
In step S108, the
ステップS110では、制御部35がRAWデータファイルを出力する。具体的には例えば制御部35は、RAM42に格納されたRAWデータ、現像制御情報及び調整制御情報に撮影日等の所定の属性情報を添付して図1に示す構造のRAWデータファイルをリムーバブルメモリコントローラ56を介してリムーバブルメモリ60に格納する。尚、RAWデータファイルの構造は、どのように設計することもでき、例えば現像制御情報が添付されたRAWデータのファイルフォーマットとして提案されているDNGフォーマットに適合する構成を採用してもよい。また、RAWデータ、現像制御情報及び調整制御情報をファイル名やディレクトリで関連付けられた個別のファイルとして出力してもよい。RAWデータ、現像制御情報及び調整制御情報を1ファイルに格納することにより、これらの情報の可搬性を向上させることができる。またRAWデータを可逆圧縮してからファイル出力することもできる。またリムーバブルメモリ60に格納されたRAWデータファイルを外部インタフェースコントローラ54を通じてPC1やスタンドアロン型プリンタに転送してもよい。
In step S110, the
(PCの構成)
次にPC1の構成を図2に基づいて説明する。
インタフェース部16は、DSC6、イメージスキャナ5、プリンタ4等の外部デバイスと通信するためのUSBコントローラ及びUSBコネクタや、リムーバブルメモリ60に格納されたデータを読み込むためのリムーバブルメモリコントローラ等を備える。DSC6、イメージスキャナ5等の外部デバイスから出力されたRAWデータファイルは、インタフェース部16からPC1に入力される。尚、インタフェース部16は、IEEE1394、IrDA(Infrared Data Association)、Bluetoothなどのインタフェースを備えてもよい。
(PC configuration)
Next, the configuration of the
The
ハードディスク装置18は、RAWデータを処理するためのRAWデータ処理プログラムを記憶している。
ROM20はPC1の起動プログラム等を記憶している不揮発性メモリである。
CPU14は、ROM20及びハードディスク装置18に記憶されているプログラムを実行してPC1の各部を制御する。CPU14は、マウス3及びキーボード2によって入力されるコマンドに応じて作動する。
RAM12は、プログラムや処理対象データが一時的に格納される揮発性メモリである。
表示制御部10は、グラフィックコントローラ、フレームメモリ等を備え、フレームメモリに格納された表示対象画像をディスプレイ7に表示させる。
The
The
The
The
The
(PC及びプリンタによるRAWデータファイルの処理)
図7は上述のRAWデータ処理プログラムの処理の流れを示すフローチャートである。図8はRAWデータ処理プログラムのデータフロー図である。PC1は上述のRAWデータ処理プログラムが起動すると図7に示す処理を開始する。
はじめにPC1は、ディスプレイ7の画面に選択対象データを表示し、印刷対象データの選択を受け付ける(S200、202)。具体的には例えば、PC1はディスプレイ7に図9に示す画面を表示し、次のように印刷対象データの選択を受け付ける。フォルダ選択ボタン82がクリックされると、リムーバブルメモリ60、ハードディスク装置18、DSC6のフラッシュメモリ48等、PC1がアクセス可能な記憶装置に設定されたフォルダ一覧が表示され、表示されたフォルダをユーザがクリックすると、クリックされたフォルダに格納された画像情報ファイルの一覧が選択対象エリア90に表示される。画像情報ファイルの一覧は、クリックされたフォルダに格納された画像ファイルに格納されているサムネイル画像に基づいて表示される。尚、画像情報ファイルにサムネイル画像が格納されておらず、画像情報としてRAWデータのみが格納されている場合、PC1はRAWデータに基づいてサムネイル画像を形成し、形成したサムネイル画像を選択対象エリア90に表示してもよい。選択対象として画像を表示することにより、ユーザは印刷対象データを容易に選択できるようになる。選択対象エリア90に表示されたサムネイル画像84をユーザがクリックすると、クリックされたサムネイル画像が格納された画像情報ファイルの識別情報を記憶するとともに、クリックされたサムネイル画像84を処理対象エリア86に表示する。
(RAW data file processing by PC and printer)
FIG. 7 is a flowchart showing the flow of processing of the above-described RAW data processing program. FIG. 8 is a data flow diagram of the RAW data processing program. The
First, the
印刷対象データの選択を受け付けると、PC1は、印刷対象データがRAWデータであるか画像データであるかを判定する(S204)。具体的には例えば、PC1は、S202で選択された画像情報ファイルに格納されている画像情報がRAWデータであるか、JPEGフォーマットやTIFFフォーマットの画像データであるかをファイルのヘッダ等に基づいて判定する。さらにPC1は、S202で選択されたファイルから現像制御情報及び調整制御情報を取得し、取得した現像制御情報及び調整制御情報を記憶する。さらにPC1は、印刷対象データがRAWデータである場合、一画素当たりのビット数を12ビットに変換する(P100)。
Upon receiving selection of print target data, the
印刷対象データがRAWデータである場合、PC1は、印刷解像度に応じた解像度の元画像を形成する(S208)。具体的には例えば、PC1は、画像ファイルを解析して取得した現像制御情報に基づいてプレゲイン処理P102、ホワイトバランス補正P104、露出補正P106、オプティカルブラック補償処理P107、ビット数変換P108、補間処理P110及び偽色補正P112をRAWデータに対して施して元画像を形成する。例えばプレゲイン処理P102では、現像制御情報の白レベルの値が参照されて画素値が増幅される。ホワイトバランス補正P104では現像制御情報のホワイトバランスの値が参照されてRGBの各画素値がチャネル毎に線形変換される。露出補正P106では現像制御情報の露出補正量の値が参照されて各チャネルの画素値がシフトする。オプティカルブラック補償処理P107では現像制御情報の黒レベルが参照されてイメージセンサの暗電流による画素値の浮き上がりが補正される。
If the print target data is RAW data, the
ビット数変換P108では、RAWデータの1画素当たりのビット数が16ビットに変換される。ビット数変換P108は、後続の補間処理P110、偽色補正P112、色空間変換P114等の各処理で下位ビットがオーバフローすることによる情報の欠損を防止するために行う処理である。尚、拡張後のビット数に特に制限はなく、14ビットでも18ビットでも20ビットでもよい。 In the bit number conversion P108, the number of bits per pixel of the RAW data is converted to 16 bits. The bit number conversion P108 is a process performed to prevent loss of information due to overflow of lower bits in each process such as the subsequent interpolation process P110, false color correction P112, and color space conversion P114. The number of bits after expansion is not particularly limited, and may be 14 bits, 18 bits, or 20 bits.
補間処理P110では、印刷解像度に応じて、RAWデータの解像度又はRAWデータの解像度の4分の1(すなわち水平方向で2分の1、垂直方向で2分の1)の解像度で画素毎にRGB3チャネルの画素値を持つ画像を、RAWデータに基づいて形成する。印刷解像度は、印刷サイズ及びドット密度(dpi)に応じて設定される。印刷解像度に応じて元画像を形成することにより、後続処理を高速化し、後続処理に必要なメモリ容量を低減することができる。具体的には例えば図9に示す印刷種類選択メニュー100で「L版高速」等の印刷サイズが小さくドット密度が低い印刷条件が選択された結果、印刷解像度が印刷対象データの解像度の4分の1以下になる場合には、RAWデータの解像度の4分の1の解像度で画像が形成される。偽色補正P112では、補間処理P110で行われる近傍画素の画素値を用いた補間により発生した偽色を抑制する処理が画像に対して施される。
In the interpolation processing P110, RGB3 for each pixel at a resolution of RAW data or a quarter of the resolution of the RAW data (that is, a half in the horizontal direction and a half in the vertical direction) according to the print resolution. An image having channel pixel values is formed based on the RAW data. The print resolution is set according to the print size and dot density (dpi). By forming the original image according to the printing resolution, it is possible to speed up the subsequent processing and reduce the memory capacity required for the subsequent processing. Specifically, for example, as a result of selecting a print condition with a small print size such as “L plate high speed” and a low dot density in the print
元画像が形成されると、PC1は外部デバイスの色空間で定義された画像をプリンタ4の色空間で定義された画像に変換する(S210)。尚、外部デバイスで定義された色空間とプリンタ4の色空間との対応付けは、それらを対応付ける情報が公開されていればその情報に従って設定でき、そのような情報が公開されていなければ実験結果に基づいて設定することができる。外部デバイスの色空間で定義された元画像をプリンタ4の色空間で定義された画像に変換するとき、PC1は外部デバイスの色をディスプレイ7の表示に適したsRGB等の色空間で定義された色に変換することなく、外部デバイスの色を直接プリンタ4の色に変換する。すなわち、PC1は、元画像の画素値を、ディスプレイ7の表示に適したsRGB等の色空間で定義された色を表す画素値に変換することなく、プリンタ4の色空間で定義された色を表す画素値に変換する。具体的には例えば、DSC6等の外部デバイスから取得した色空間情報に基づいて元画像が定義されている色空間を特定し、3×3の行列演算により、外部デバイスの色を表す画素値をプリンタ4がその色と解釈する画素値に線形変換する(P114)。行列演算のための情報は外部デバイスの色空間毎に定義され、外部デバイスの色空間に対応する行列演算が実行される。尚、行列演算の代わりに3次元の色変換テーブル(LUT)を用いて非線形に画素値の変換を行ってもよい。
When the original image is formed, the
プリンタ4の色空間で定義された画像が形成されると、PC1は調整制御情報に基づいてその画像を画質調整することにより、DSC6でRAWデータを記録した際の意図を反映した印刷対象画像を形成する(S212)。具体的には、PC1は、S210で形成された画像を解析し、コントラスト、明るさ、カラーバランス、彩度、シャープネス、記憶色、ノイズ除去等の調整制御情報を参照することによりトーンカーブ補正のためのLUTを1つ作成する(P116)。調整制御情報を参照してLUTを作成することにより、撮影時のユーザの意図にそった印刷対象画像を形成することができる。このLUTは、白飛び及び黒つぶれがないように階調を再現し、印刷結果として好ましいコントラストを実現し、DSC6とプリンタ4のガンマを整合させる、これらの補正が一度に実行されるように入力値を出力値にマッピングするものである。またこのLUTは、プリンタ4の機種が異なれば入出力のマッピングが異なるものである。すなわち、調整制御情報は標準出力装置としての仮想的な標準プリンタの特性に応じて画質を調整するための基準であるため、そのような標準プリンタではないプリンタでは標準プリンタとの特性差に応じて調整制御情報を解釈して上記のLUTを作成する。プリンタ4が調整制御情報を解釈して特定の画質調整を行うための情報としては、標準出力装置としての仮想的な標準プリンタとプリンタ4の個体又はモデルとの特性差を表す情報や、標準プリンタに対して設定されている調整制御情報に基づいてプリンタ4ではどのような画質調整を行うかを定義する上記のLUTなどの情報である。このような情報をRAWデータ処理プログラムに定義することにより、調整制御情報が仮想的な標準プリンタの特性に応じて定義されているものであっても、任意のプリンタでDSC6の意図に従った印刷結果が得られるような画質調整が可能になる。具体的には例えば、標準プリンタに比べてやや暗くやや彩度が低い色調で印刷するプリンタでは、明るさ=標準、彩度=標準という調整制御情報を参照して、やや明るくやや彩度が高い色調に画質調整するためのLUTを作成する。このような処理により、DSC6で意図された画質に印刷画質を近づけることができる。上記のLUTが作成されると、PC1はそのLUTを参照することによりS210で形成された画像の画素値を変換し、印刷対象画像を形成する(P118)。
When the image defined in the color space of the printer 4 is formed, the
尚、プリンタ4の色空間で定義された画像を形成した後にホワイトバランス補正及び露出補正を実行してもよい。
ところで、S204で印刷対象データがJPEGデータ、TIFFデータ等の画像と判定された場合、PC1は画像ファイルに画像の色空間情報が格納されているか否かを判定する(S206)。色空間情報が画像ファイルに格納されている場合、PC1はその画像ファイルに格納された画像を元画像としてS210の処理を実行する。色空間情報が画像ファイルに格納されていない場合、PC1はその画像ファイルに格納された画像に対してS212の処理を実行する。
Note that white balance correction and exposure correction may be executed after an image defined in the color space of the printer 4 is formed.
When it is determined in S204 that the print target data is an image such as JPEG data or TIFF data, the
次にPC1は、S212で形成された印刷対象画像に基づいて印刷データを形成する(S214)。具体的には例えば、PC1は、印刷対象ファイルに添付されたシャープネスと印刷解像度とに応じてシャープネス補正のパラメータを設定し、印刷対象画像を解析した結果に基づいてHSB色空間での補正パラメータを設定する(P120)。HSB色空間での補正パラメータは、調整制御情報としてRAWデータファイルに格納されている値を参照して設定してもよい。次にPC1は、印刷対象画像の一画素一チャネル当たり16ビットの画素値を一画素一チャネル当たり8ビットに変換する(P122)。次にPC1は、シャープネス補正パラメータとHSB補正パラメータとに応じて印刷対象画像に対してシャープネス補正とHSB色空間での補正処理を施し、さらにインク色に応じた分版処理と解像度変換と二値化とインタレース処理を施して印刷データを形成する(P124)。
Next, the
PC1で形成された印刷データはインタフェース部16を介してプリンタ4に出力され、プリンタ4は印刷データに基づいて印刷を実行する(S216)。プリンタ4が印刷を実行すると、調整制御情報に基づいた画質調整が行われているため、DSC6、イメージスキャナ5等で記録しようとした色味の画像がプリンタ4から高品質に出力される。
以上説明した本発明の一実施例によると、画像を記録する際の露出設定やホワイトバランス等の条件設定が適正でなくとも、任意の出力装置で理想的な画像出力を得ることができる。
The print data formed by the
According to the embodiment of the present invention described above, an ideal image output can be obtained with an arbitrary output device even if the exposure setting and the white balance setting for recording an image are not appropriate.
5:イメージスキャナ(RAWデータ出力装置)、30:イメージセンサ、32:AFE(RAWデータ形成手段)、35:制御部(現像制御情報取得手段、調整制御情報取得手段及び出力手段)、48:フラッシュメモリ(調整制御情報記憶部)、52:操作部(選択手段)、56:リムーバブルメモリコントローラ(出力手段) 5: Image scanner (RAW data output device), 30: Image sensor, 32: AFE (RAW data forming means), 35: Control unit (development control information acquisition means, adjustment control information acquisition means and output means), 48: Flash Memory (adjustment control information storage unit) 52: Operation unit (selection unit) 56: Removable memory controller (output unit)
Claims (5)
前記イメージセンサの出力に基づいて1画素当たり1カラーチャネルの画素値を有するRAWデータを形成するRAWデータ形成手段と、
前記RAWデータを現像することにより画像を形成するための現像制御情報を取得する現像制御情報取得手段と、
現像された前記画像の画質を標準出力装置の特性に応じて調整するための調整制御情報を取得する調整制御情報取得手段と、
前記現像制御情報及び前記調整制御情報を添付して前記RAWデータを出力する出力手段と、
を備えることを特徴とするRAWデータ出力装置。 An image sensor;
RAW data forming means for forming RAW data having pixel values of one color channel per pixel based on the output of the image sensor;
Development control information acquisition means for acquiring development control information for forming an image by developing the RAW data;
Adjustment control information acquisition means for acquiring adjustment control information for adjusting the image quality of the developed image according to the characteristics of the standard output device;
Output means for outputting the RAW data with the development control information and the adjustment control information attached thereto;
A RAW data output device comprising:
いずれかの前記調整制御情報の選択を受け付ける選択手段とをさらに備え、
前記制御情報取得手段は、選択された前記調整制御情報を前記調整制御情報記憶部から取得することを特徴とする請求項1に記載のRAWデータ出力装置。 A plurality of adjustment control information stored in the adjustment control information storage unit;
Selecting means for receiving selection of any of the adjustment control information,
The RAW data output device according to claim 1, wherein the control information acquisition unit acquires the selected adjustment control information from the adjustment control information storage unit.
前記RAWデータを現像することにより画像を形成するための現像制御情報が格納される現像制御情報領域と、
現像された前記画像の画質を標準出力装置の特性に応じて調整するための調整制御情報が格納される制御情報領域と、
を備えることを特徴とするRAWデータファイル構造。 A RAW data area in which RAW data having pixel values of one color channel per pixel is stored based on the output of the image sensor;
A development control information area for storing development control information for forming an image by developing the RAW data;
A control information area for storing adjustment control information for adjusting the image quality of the developed image according to the characteristics of the standard output device;
A RAW data file structure comprising:
前記RAWデータを現像することにより画像を形成するための現像制御情報を取得する段階と、
現像された前記画像の画質を標準出力装置の特性に応じて調整するための調整制御情報を取得する段階と、
前記現像制御情報及び前記調整制御情報を添付して前記RAWデータを出力する段階と、
を含むことを特徴とするRAWデータ出力方法。 Obtaining RAW data having pixel values of one color channel per pixel;
Obtaining development control information for forming an image by developing the RAW data;
Obtaining adjustment control information for adjusting the image quality of the developed image according to the characteristics of a standard output device;
Outputting the RAW data with the development control information and the adjustment control information attached;
RAW data output method characterized by including.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005032753A JP2006222612A (en) | 2005-02-09 | 2005-02-09 | Raw data output device, raw data structure, and raw data output method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005032753A JP2006222612A (en) | 2005-02-09 | 2005-02-09 | Raw data output device, raw data structure, and raw data output method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006222612A true JP2006222612A (en) | 2006-08-24 |
Family
ID=36984644
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005032753A Withdrawn JP2006222612A (en) | 2005-02-09 | 2005-02-09 | Raw data output device, raw data structure, and raw data output method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006222612A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009159359A (en) * | 2007-12-27 | 2009-07-16 | Samsung Techwin Co Ltd | Moving image data encoding apparatus, moving image data decoding apparatus, moving image data encoding method, moving image data decoding method and program |
JP2012191635A (en) * | 2006-10-13 | 2012-10-04 | Apple Inc | System and method for processing images using predetermined tone reproduction curve |
-
2005
- 2005-02-09 JP JP2005032753A patent/JP2006222612A/en not_active Withdrawn
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012191635A (en) * | 2006-10-13 | 2012-10-04 | Apple Inc | System and method for processing images using predetermined tone reproduction curve |
JP2015043600A (en) * | 2006-10-13 | 2015-03-05 | アップル インコーポレイテッド | System and method for processing images using predetermined tone reproduction curve |
JP2009159359A (en) * | 2007-12-27 | 2009-07-16 | Samsung Techwin Co Ltd | Moving image data encoding apparatus, moving image data decoding apparatus, moving image data encoding method, moving image data decoding method and program |
US8300960B2 (en) | 2007-12-27 | 2012-10-30 | Samsung Electronics Co., Ltd. | Method and apparatus for encoding video data, method and apparatus for decoding video data, and program recording medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7742080B2 (en) | Image processing apparatus, digital camera, and image processing method for attaching proper imaging conditions to a captured image | |
JP4131192B2 (en) | Imaging apparatus, image processing apparatus, and image recording apparatus | |
JP4530277B2 (en) | Image reproducing apparatus, image reproducing method, program, and recording medium | |
JP2004173010A (en) | Image pickup device, image processor, image recorder, image processing method, program and recording medium | |
JP5622513B2 (en) | Image processing apparatus, image processing method, and imaging apparatus | |
US20070041030A1 (en) | Photographing apparatus | |
JP2004128809A (en) | Method and apparatus for image processing, and imaging device | |
JP2006238163A5 (en) | ||
KR100797113B1 (en) | Image pickup apparatus and control method of the apparatus | |
JP4407454B2 (en) | Digital camera and image processing method | |
JP2006227698A (en) | Raw data processing method, program and device | |
JP2004096500A (en) | Image pickup apparatus, image processing apparatus, and image recording apparatus | |
JP2006203555A (en) | Image processing method, image processor and image processing program | |
JP3800102B2 (en) | Digital camera | |
JP4752421B2 (en) | Image retouching method, image retouching device, and image retouching program | |
JP4439173B2 (en) | Digital camera and information terminal | |
JP2007097032A (en) | Image display apparatus, image display method and digital camera | |
JP2006222612A (en) | Raw data output device, raw data structure, and raw data output method | |
JP2004096508A (en) | Image processing method, image processing apparatus, image recording apparatus, program, and recording medium | |
JP2004328530A (en) | Imaging apparatus, image processing apparatus, and image recording apparatus | |
JP4488508B2 (en) | Imaging system | |
JP3858859B2 (en) | Image data output adjustment | |
JP4186595B2 (en) | Digital camera and printing control method using digital camera | |
JP2002330387A (en) | Electronic camera | |
JP2006279459A (en) | Device, method and program for image photography, and recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20060824 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20061222 |
|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20061226 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070115 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20070404 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090331 |
|
A761 | Written withdrawal of application |
Free format text: JAPANESE INTERMEDIATE CODE: A761 Effective date: 20090527 |