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 PDF

Info

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
Application number
JP2005032753A
Other languages
Japanese (ja)
Inventor
Katsumi Komagamine
克己 駒ケ嶺
Nobuyasu Arima
宣泰 有馬
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 JP2005032753A priority Critical patent/JP2006222612A/en
Publication of JP2006222612A publication Critical patent/JP2006222612A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a RAW data output device which is capable of outputting ideal images, and to provide a RAW data structure and a RAW data output method. <P>SOLUTION: The RAW data output device is equipped with an image sensor, a RAW data forming means for forming RAW data having a pixel value of a one color channel per pixel based on the output of the image sensor, a development control information acquisition means for acquiring development control information for forming images by developing the RAW data, an adjustment control information acquisition means for acquiring adjustment control information necessary for adjusting the image quality of the developed images corresponding to the characteristics of a standard output device, and an output means for outputting the RAW data where the development control information and adjustment control information are affixed. <P>COPYRIGHT: (C)2006,JPO&NCIPI

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.

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

本発明は上述の問題に鑑みて創作されたものであって、理想的な画像出力を得ることができる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 DSC 6, and under the control of the PC1. It is a schematic diagram which shows the printer 4 which prints an image. The DSC 6 outputs a RAW data file storing RAW data, development control information, and adjustment control information. The PC 1 develops the RAW data based on the development control information, adjusts the image quality based on the adjustment control information and the analysis result of the image, converts the image with the adjusted image quality into print data, and outputs the print data to the printer 4. The printer 4 performs printing based on the print data. The RAW data output device according to the present invention can also be applied to an image scanner 5 or a digital video camera having a RAW data file output function. Further, a projector, a display 7 or the like can be used as an output device. A so-called stand-alone printer having a RAW data file development function, an image quality adjustment function, and a conversion function from image data to print data can also be used as an output device.

(ディジタルカメラの構成)
図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 DSC 6.
The image sensor 30 as the RAW data format means is a color imaging device including photoelectric conversion elements discretely arranged in a two-dimensional space and charge transfer elements such as a CCD (Charge Coupled Device), and is a so-called CCD color image. Sensors, CMOS color image sensors, and the like. The image sensor 30 outputs an electrical signal corresponding to the density of the optical image formed on the light receiving surface by the lens 22 and the diaphragm 26. Since the image sensor 30 includes a Bayer array color filter for each photoelectric conversion element, the image sensor 30 outputs an analog signal indicating a gray level of any one of RGB channels for each pixel. The lens 22 is driven by a lens controller 24 and reciprocates in the optical axis direction. The diaphragm 26 is driven by the diaphragm controller 28 and adjusts the amount of light incident on the image sensor 30. The time for accumulating charges in the image sensor 30 (exposure time) may be controlled by a mechanical shutter, or may be electrically controlled by turning on and off the gate signal of the image sensor 30. The sensor controller 34 outputs a pulse signal such as a gate signal and a shift signal to the image sensor 30 at a predetermined timing, and drives the image sensor 30.

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 image sensor 30 to generate RAW data. The RAW data has a pixel value representing a light and shade level of one of RGB channels for each pixel. For this reason, RAW data is not an image, and an image capable of recognizing an object cannot be displayed even if it is displayed as it is. However, the RAW data may be data to which a part of density conversion generally performed at the time of image formation, such as exposure correction and white balance correction, or may not be performed. RAW data output from the AFE 32 is stored in the RAM 42 by the RAM controller 40.

画像処理部38は、制御部35と協働し、AFE32から出力されるRAWデータに対し、現像処理、画質調整処理、解像度変換処理、及び圧縮・伸張処理を施す。尚、RAWデータファイルをリムーバブルメモリ60に出力するRAWデータモードでは画像処理部38による現像処理、画質調整処理、解像度変換処理及び圧縮・伸張処理は実行されない。
グラフィックコントローラ44は、合成機能を有する表示制御回路等を備え、RAM42のフレームメモリ領域に格納されている画像を単体でLCD46の画面に表示したり、画像とメニューを重ねてLCD46の画面に表示したり、メニューを単体でLCD46の画面に表示したりする。
The image processing unit 38 cooperates with the control unit 35 to perform development processing, image quality adjustment processing, resolution conversion processing, and compression / decompression processing on the RAW data output from the AFE 32. In the RAW data mode in which the RAW data file is output to the removable memory 60, the development processing, image quality adjustment processing, resolution conversion processing, and compression / decompression processing by the image processing unit 38 are not executed.
The graphic controller 44 includes a display control circuit having a composition function, and displays the image stored in the frame memory area of the RAM 42 alone on the screen of the LCD 46, or displays the image and the menu on the LCD 46 in a superimposed manner. Or display a menu alone on the LCD 46 screen.

選択手段としての操作部52は、撮像指示を入力するための図示しないレリーズボタン、モード選択のための図示しないダイヤルスイッチ、メニュー操作のための各種の押しボタン66、68、70、十字キー64等を備える(図5参照)。
外部インタフェースコントローラ54は、DSC6とPC1等の外部システムとを通信可能に接続する。
出力手段としてのリムーバブルメモリコントローラ56は、カードコネクタ58に接続されるリムーバブルメモリ60にRAM42に格納されているデータを転送する。
The operation unit 52 as selection means includes a release button (not shown) for inputting an imaging instruction, a dial switch (not shown) for mode selection, various push buttons 66, 68, 70 for menu operation, a cross key 64, and the like. (See FIG. 5).
The external interface controller 54 connects the DSC 6 and an external system such as the PC 1 so that they can communicate with each other.
A removable memory controller 56 serving as an output unit transfers data stored in the RAM 42 to a removable memory 60 connected to the card connector 58.

フラッシュメモリコントローラ50は、調整制御情報記憶部としてのフラッシュメモリ48に格納されているデータをRAM42に転送する。フラッシュメモリ48はCPU36が実行する制御プログラムと現像制御情報、調整制御情報等のデータを格納している不揮発性メモリである。DSC6が作動するために必要な制御プログラムや各種のデータは、所定のサーバからのネットワークを介したダウンロード、リムーバブルメモリ60からの読み出し等によってフラッシュメモリ48に格納することもできる。   The flash memory controller 50 transfers the data stored in the flash memory 48 as the adjustment control information storage unit to the RAM 42. The flash memory 48 is a non-volatile memory that stores a control program executed by the CPU 36 and data such as development control information and adjustment control information. A control program and various data necessary for the DSC 6 to operate can be stored in the flash memory 48 by downloading from a predetermined server via a network, reading from the removable memory 60, and the like.

現像制御情報取得手段、調整制御情報取得手段及び出力手段としての制御部35はCPU36、RAM42及びRAMコントローラ40を備える。CPU36はフラッシュメモリ48に格納されている制御プログラムを実行することでDSC6の各部を制御し、現像制御情報及び調整制御情報が添付されたRAWデータファイルをリムーバブルメモリ60に格納する。RAMコントローラ40は、AFE32、画像処理部38、CPU36、グラフィックコントローラ44、リムーバブルメモリコントローラ56、フラッシュメモリコントローラ50等とRAM42との間のデータ転送を制御する。   The control unit 35 serving as a development control information acquisition unit, an adjustment control information acquisition unit, and an output unit includes a CPU 36, a RAM 42, and a RAM controller 40. The CPU 36 controls each part of the DSC 6 by executing a control program stored in the flash memory 48, and stores a RAW data file attached with development control information and adjustment control information in the removable memory 60. The RAM controller 40 controls data transfer between the AFE 32, the image processing unit 38, the CPU 36, the graphic controller 44, the removable memory controller 56, the flash memory controller 50, and the like and the RAM 42.

(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 DSC 6 outputs a RAW data file in the RAW data mode. The processing shown in FIG. 4 is started when a RAW data mode is selected by operating a dial switch for mode selection (not shown), and a mode for outputting in another file format such as EXIF or TIFF is selected by operating the dial switch. It ends when it is done.

ステップ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 LCD 46 functions as an electronic viewfinder in each shooting mode, a transition is made to another shooting mode. FIG. 5A shows a screen 62 displayed in the macro photography mode, and FIG. 5B shows a screen 62 displayed in the landscape photography mode. The user can grasp the shooting mode with the indicators 61 and 67. The default value of the adjustment control information is stored in the flash memory 48 for each shooting mode. The adjustment control information can be composed of values set for each item such as contrast, brightness, color balance, saturation, sharpness, memory color, and noise removal. The adjustment control information is not limited to these items, and other items can be set as components. For example, parameters for controlling tone curve correction, gamma correction, and gradation correction can be included in the adjustment control information. FIG. 6 shows an example of a table in which default values of adjustment control information are stored for each shooting mode. Mode 1 adjustment control information is standard shooting mode, mode 2 adjustment control information is portrait shooting mode, mode 3 adjustment control information is landscape shooting mode, and mode 4 adjustment control information is RAW data output in night scene shooting mode. It is suitable for image quality adjustment processing of an image developed based on the above. The adjustment control information may be indicated by a single value that represents a specific value determined in advance for each of a plurality of items. Specifically, for example, one value that can specify the value of each item determined in advance for modes 1 to 4 may be used as the adjustment control information. Moreover, you may include both one value which means the specific value respectively predetermined about several items, and the value about the several items which the value means in adjustment control information. In such a case, it is possible to adjust the image quality by taking into account both a value meaning a predetermined value for a plurality of items and a value set by the user for each item.

ある撮影モードが他の撮影モードに遷移すると、遷移後の撮影モードに応じた調整制御情報のデフォルト値がフラッシュメモリ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 flash memory 48 into the RAM 42. That is, the shooting mode setting operation can be the adjustment control information setting operation. Further, when the function button 70 is pressed in a state where the LCD 46 functions as an electronic viewfinder in each shooting mode, the mode may be changed to a mode in which adjustment control information can be arbitrarily set. FIG. 5C shows a screen 62 displayed in a mode in which adjustment control information can be arbitrarily set. For example, when the cross key 64 is operated in the vertical direction in a mode in which adjustment control information can be arbitrarily set, each item of the adjustment control information is selected. The value of the item selected by the up / down operation of the cross key 64 is changed by, for example, the left / right operation of the cross key 64. These operations are examples, and operations for setting the adjustment control information can be designed in any way.

調整制御情報の設定操作が受け付けられると、操作に応じた調整制御情報が制御部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 flash memory 48 into the RAM 42, or the value of a specific item of the adjustment control information stored in the RAM 42 is changed. FIG. 5D shows a state in which the saturation value has been changed from “slightly high” to “high”.

ステップ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 lens 22 and the diaphragm 26 is photoelectrically converted by the image sensor 30, and an analog signal correlated with the brightness and color of the subject is output from the image sensor 30 to the AFE 32. The AFE 32 forms RAW data by AD converting the analog signal input from the image sensor 30. RAW data formed by the AFE 32 is stored in the RAM 42.

ステップS108では、制御部35が現像制御情報を取得する。具体的には例えば、フラッシュメモリ48に格納された現像制御情報がRAM42に読み込まれる。現像制御情報は、ディジタルカメラの個体毎又はモデル毎に値が静的に設定されている項目と、撮影条件によって動的に値が設定される項目を含みうる。ディジタルカメラの個体毎又はモデル毎に値が静的に設定されている項目としては、例えば、イメージセンサ30の画素の配列、イメージセンサ30の暗電流によって決まる黒レベル、イメージセンサ30で入出力の相関性が保障される範囲によって決まる白レベル等がある。撮影条件によって動的に値が設定される項目としては、画像サイズ、ホワイトバランス、シャープネス、露出等がある。尚、現像制御情報の構成はどのように設計することもできる。また、現像制御情報として用いられる情報には調整制御情報として用いることが可能な情報もある。例えば、シャープネス補正、トーンカーブ補正、ガンマ補正等は、現像時にそれらを加味して各チャネルの画素値を決定することもでき、現像後にそれらを加味した画素値の調整も可能であるため、これらの補正を制御する情報は、現像制御情報としても、調整制御情報としても定義することができる。   In step S108, the control unit 35 acquires development control information. Specifically, for example, development control information stored in the flash memory 48 is read into the RAM 42. The development control information can include items for which values are statically set for each individual digital camera or model, and items for which values are dynamically set according to shooting conditions. Examples of items whose values are statically set for each individual digital camera or model include, for example, the pixel arrangement of the image sensor 30, the black level determined by the dark current of the image sensor 30, and the input / output of the image sensor 30. There are white levels determined by the range in which the correlation is guaranteed. Items whose values are dynamically set according to shooting conditions include image size, white balance, sharpness, exposure, and the like. Note that the configuration of the development control information can be designed in any way. Information used as development control information includes information that can be used as adjustment control information. For example, sharpness correction, tone curve correction, gamma correction, etc. can determine the pixel value of each channel by taking them into consideration during development, and it is also possible to adjust the pixel values taking them into account after development. The information for controlling the correction can be defined as development control information or adjustment control information.

ステップ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 control unit 35 outputs a RAW data file. Specifically, for example, the control unit 35 attaches predetermined attribute information such as a shooting date to the RAW data, development control information, and adjustment control information stored in the RAM 42, and converts the RAW data file having the structure shown in FIG. The data is stored in the removable memory 60 via the controller 56. Note that the structure of the RAW data file can be designed in any way. For example, a configuration compatible with the DNG format proposed as the file format of the RAW data to which the development control information is attached may be adopted. Further, the RAW data, the development control information, and the adjustment control information may be output as individual files associated with file names or directories. By storing RAW data, development control information, and adjustment control information in one file, the portability of these information can be improved. It is also possible to output the file after reversibly compressing the RAW data. Alternatively, the RAW data file stored in the removable memory 60 may be transferred to the PC 1 or a stand-alone printer through the external interface controller 54.

(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 PC 1 will be described with reference to FIG.
The interface unit 16 includes a USB controller and USB connector for communicating with external devices such as the DSC 6, the image scanner 5, and the printer 4, a removable memory controller for reading data stored in the removable memory 60, and the like. A RAW data file output from an external device such as the DSC 6 or the image scanner 5 is input from the interface unit 16 to the PC 1. The interface unit 16 may include an interface such as IEEE 1394, IrDA (Infrared Data Association), or Bluetooth.

ハードディスク装置18は、RAWデータを処理するためのRAWデータ処理プログラムを記憶している。
ROM20はPC1の起動プログラム等を記憶している不揮発性メモリである。
CPU14は、ROM20及びハードディスク装置18に記憶されているプログラムを実行してPC1の各部を制御する。CPU14は、マウス3及びキーボード2によって入力されるコマンドに応じて作動する。
RAM12は、プログラムや処理対象データが一時的に格納される揮発性メモリである。
表示制御部10は、グラフィックコントローラ、フレームメモリ等を備え、フレームメモリに格納された表示対象画像をディスプレイ7に表示させる。
The hard disk device 18 stores a RAW data processing program for processing RAW data.
The ROM 20 is a non-volatile memory that stores a startup program of the PC 1 and the like.
The CPU 14 controls programs of the PC 1 by executing programs stored in the ROM 20 and the hard disk device 18. The CPU 14 operates according to commands input by the mouse 3 and the keyboard 2.
The RAM 12 is a volatile memory that temporarily stores programs and data to be processed.
The display control unit 10 includes a graphic controller, a frame memory, and the like, and causes the display 7 to display a display target image stored in the frame memory.

(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 PC 1 starts the processing shown in FIG. 7 when the above-described RAW data processing program is activated.
First, the PC 1 displays selection target data on the screen of the display 7 and accepts selection of print target data (S200, 202). Specifically, for example, the PC 1 displays the screen shown in FIG. 9 on the display 7 and accepts selection of print target data as follows. When the folder selection button 82 is clicked, a list of folders set in a storage device accessible by the PC 1, such as the removable memory 60, the hard disk device 18, and the flash memory 48 of the DSC 6, is displayed, and the user clicks the displayed folder. Then, a list of image information files stored in the clicked folder is displayed in the selection target area 90. The list of image information files is displayed based on the thumbnail images stored in the image file stored in the clicked folder. If no thumbnail image is stored in the image information file and only RAW data is stored as image information, the PC 1 forms a thumbnail image based on the RAW data, and the formed thumbnail image is selected in the selection target area 90. May be displayed. By displaying an image as a selection target, the user can easily select print target data. When the user clicks on the thumbnail image 84 displayed in the selection target area 90, the identification information of the image information file storing the clicked thumbnail image is stored and the clicked thumbnail image 84 is displayed in the processing target area 86. To do.

印刷対象データの選択を受け付けると、PC1は、印刷対象データがRAWデータであるか画像データであるかを判定する(S204)。具体的には例えば、PC1は、S202で選択された画像情報ファイルに格納されている画像情報がRAWデータであるか、JPEGフォーマットやTIFFフォーマットの画像データであるかをファイルのヘッダ等に基づいて判定する。さらにPC1は、S202で選択されたファイルから現像制御情報及び調整制御情報を取得し、取得した現像制御情報及び調整制御情報を記憶する。さらにPC1は、印刷対象データがRAWデータである場合、一画素当たりのビット数を12ビットに変換する(P100)。   Upon receiving selection of print target data, the PC 1 determines whether the print target data is RAW data or image data (S204). Specifically, for example, the PC 1 determines whether the image information stored in the image information file selected in S202 is RAW data or JPEG format or TIFF format image data based on the file header or the like. judge. Further, the PC 1 acquires development control information and adjustment control information from the file selected in S202, and stores the acquired development control information and adjustment control information. Further, when the print target data is RAW data, the PC 1 converts the number of bits per pixel into 12 bits (P100).

印刷対象データが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 PC 1 forms an original image with a resolution corresponding to the print resolution (S208). Specifically, for example, the PC 1 performs pre-gain processing P102, white balance correction P104, exposure correction P106, optical black compensation processing P107, bit number conversion P108, and interpolation processing P110 based on the development control information obtained by analyzing the image file. Then, false color correction P112 is applied to the RAW data to form an original image. For example, in the pre-gain process P102, the pixel value is amplified with reference to the white level value of the development control information. In the white balance correction P104, the white balance value of the development control information is referred to, and the RGB pixel values are linearly converted for each channel. In exposure correction P106, the value of the exposure correction amount in the development control information is referred to, and the pixel value of each channel is shifted. In the optical black compensation process P107, the black level of the development control information is referred to correct the pixel value floating due to the dark current of the image sensor.

ビット数変換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 type selection menu 100 shown in FIG. 9, the print resolution is a quarter of the resolution of the print target data. When the value is 1 or less, an image is formed at a resolution that is ¼ of the resolution of RAW data. In the false color correction P112, a process for suppressing the false color generated by the interpolation using the pixel values of the neighboring pixels performed in the interpolation process P110 is performed on the image.

元画像が形成されると、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 PC 1 converts the image defined in the color space of the external device into an image defined in the color space of the printer 4 (S210). Note that the correspondence between the color space defined by the external device and the color space of the printer 4 can be set according to the information if the information for associating them is disclosed, and if such information is not disclosed, the experimental results Can be set based on. When the original image defined in the color space of the external device is converted into an image defined in the color space of the printer 4, the PC 1 defines the color of the external device in a color space such as sRGB suitable for display on the display 7. The color of the external device is directly converted to the color of the printer 4 without converting it to a color. That is, the PC 1 converts the color defined in the color space of the printer 4 without converting the pixel value of the original image into a pixel value representing a color defined in a color space such as sRGB suitable for display on the display 7. Convert to the pixel value to represent. Specifically, for example, a color space in which an original image is defined is specified based on color space information acquired from an external device such as DSC 6, and a pixel value representing the color of the external device is calculated by a 3 × 3 matrix operation. The printer 4 performs linear conversion into pixel values that are interpreted as the color (P114). Information for matrix calculation is defined for each color space of the external device, and matrix calculation corresponding to the color space of the external device is executed. Note that pixel values may be converted non-linearly using a three-dimensional color conversion table (LUT) instead of matrix calculation.

プリンタ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 PC 1 adjusts the image quality of the image based on the adjustment control information, so that the print target image reflecting the intention when the RAW data is recorded by the DSC 6 is obtained. Form (S212). Specifically, the PC 1 analyzes the image formed in S210 and refers to adjustment control information such as contrast, brightness, color balance, saturation, sharpness, memory color, noise removal, and the like for tone curve correction. One LUT is created for this purpose (P116). By creating the LUT with reference to the adjustment control information, it is possible to form an image to be printed in accordance with the user's intention at the time of shooting. This LUT reproduces the gradation so that there is no whiteout or blackout, achieves a favorable contrast as a printing result, and matches the gamma of the DSC 6 and the printer 4 so that these corrections are executed at a time. A value is mapped to an output value. The LUT has different input / output mappings for different printer 4 models. That is, the adjustment control information is a reference for adjusting the image quality in accordance with the characteristics of the virtual standard printer as the standard output device. Therefore, in a printer that is not such a standard printer, according to the characteristic difference from the standard printer. The LUT is created by interpreting the adjustment control information. Information for the printer 4 to interpret the adjustment control information and perform a specific image quality adjustment includes information representing a characteristic difference between a virtual standard printer as a standard output device and the individual or model of the printer 4, and a standard printer. The information such as the above-mentioned LUT that defines what image quality adjustment is performed in the printer 4 based on the adjustment control information set for the above. By defining such information in the RAW data processing program, even if the adjustment control information is defined according to the characteristics of the virtual standard printer, printing can be performed according to the intention of the DSC 6 using any printer. It is possible to adjust the image quality so as to obtain a result. Specifically, for example, in a printer that prints in a slightly darker color tone that is slightly darker than a standard printer, it is slightly brighter and slightly more saturated with reference to the adjustment control information that brightness = standard and saturation = standard. An LUT for adjusting the image quality to the color tone is created. By such processing, the print image quality can be brought close to the image quality intended by the DSC 6. When the LUT is created, the PC 1 refers to the LUT, converts the pixel value of the image formed in S210, and forms a print target image (P118).

尚、プリンタ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 PC 1 determines whether or not the color space information of the image is stored in the image file (S206). When the color space information is stored in the image file, the PC 1 executes the process of S210 using the image stored in the image file as an original image. When the color space information is not stored in the image file, the PC 1 executes the process of S212 on the image stored in the image file.

次にPC1は、S212で形成された印刷対象画像に基づいて印刷データを形成する(S214)。具体的には例えば、PC1は、印刷対象ファイルに添付されたシャープネスと印刷解像度とに応じてシャープネス補正のパラメータを設定し、印刷対象画像を解析した結果に基づいてHSB色空間での補正パラメータを設定する(P120)。HSB色空間での補正パラメータは、調整制御情報としてRAWデータファイルに格納されている値を参照して設定してもよい。次にPC1は、印刷対象画像の一画素一チャネル当たり16ビットの画素値を一画素一チャネル当たり8ビットに変換する(P122)。次にPC1は、シャープネス補正パラメータとHSB補正パラメータとに応じて印刷対象画像に対してシャープネス補正とHSB色空間での補正処理を施し、さらにインク色に応じた分版処理と解像度変換と二値化とインタレース処理を施して印刷データを形成する(P124)。   Next, the PC 1 forms print data based on the print target image formed in S212 (S214). Specifically, for example, the PC 1 sets sharpness correction parameters according to the sharpness and print resolution attached to the print target file, and sets the correction parameters in the HSB color space based on the analysis result of the print target image. Set (P120). The correction parameter in the HSB color space may be set with reference to a value stored in the RAW data file as adjustment control information. Next, the PC 1 converts a 16-bit pixel value per pixel and one channel into 8 bits per pixel and one channel (P122). Next, the PC 1 performs sharpness correction and correction processing in the HSB color space on the print target image according to the sharpness correction parameter and the HSB correction parameter, and further performs color separation processing, resolution conversion, and binary processing according to the ink color. And print data is formed by performing interlacing and processing (P124).

PC1で形成された印刷データはインタフェース部16を介してプリンタ4に出力され、プリンタ4は印刷データに基づいて印刷を実行する(S216)。プリンタ4が印刷を実行すると、調整制御情報に基づいた画質調整が行われているため、DSC6、イメージスキャナ5等で記録しようとした色味の画像がプリンタ4から高品質に出力される。
以上説明した本発明の一実施例によると、画像を記録する際の露出設定やホワイトバランス等の条件設定が適正でなくとも、任意の出力装置で理想的な画像出力を得ることができる。
The print data formed by the PC 1 is output to the printer 4 via the interface unit 16, and the printer 4 executes printing based on the print data (S216). When the printer 4 executes printing, image quality adjustment based on the adjustment control information is performed, so that the color image to be recorded by the DSC 6, the image scanner 5, etc. is output from the printer 4 with high quality.
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.

本発明の一実施例に係るデータ構造図。The data structure figure which concerns on one Example of this invention. 本発明の一実施例に係るシステム構成図。1 is a system configuration diagram according to an embodiment of the present invention. 本発明の一実施例に係るブロック図。The block diagram which concerns on one Example of this invention. 本発明の一実施例に係るフローチャート。The flowchart which concerns on one Example of this invention. 本発明の一実施例に係る画面遷移図。The screen transition figure concerning one Example of this invention. 本発明の一実施例に係る調整制御情報を示す図。The figure which shows the adjustment control information which concerns on one Example of this invention. 本発明の一実施例に係るフローチャート。The flowchart which concerns on one Example of this invention. 本発明の一実施例に係るデータフロー図。The data flow figure concerning one example of the present invention. 本発明の一実施例に係る画面を示す図。The figure which shows the screen which concerns on one Example of this invention.

符号の説明Explanation of symbols

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データと前記現像制御情報と前記調整制御情報とを1つのファイルに格納して出力することを特徴とする請求項1又は2に記載のRAWデータ出力装置。   3. The RAW data output device according to claim 1, wherein the output unit stores and outputs the RAW data, the development control information, and the adjustment control information in one file. イメージセンサの出力に基づいて1画素当たり1カラーチャネルの画素値を有するRAWデータが格納されるRAWデータ領域と、
前記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:
1画素当たり1カラーチャネルの画素値を有するRAWデータを取得する段階と、
前記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.
JP2005032753A 2005-02-09 2005-02-09 Raw data output device, raw data structure, and raw data output method Withdrawn JP2006222612A (en)

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)

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

Cited By (4)

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