JP4383004B2 - Electronic camera - Google Patents

Electronic camera Download PDF

Info

Publication number
JP4383004B2
JP4383004B2 JP2001131248A JP2001131248A JP4383004B2 JP 4383004 B2 JP4383004 B2 JP 4383004B2 JP 2001131248 A JP2001131248 A JP 2001131248A JP 2001131248 A JP2001131248 A JP 2001131248A JP 4383004 B2 JP4383004 B2 JP 4383004B2
Authority
JP
Japan
Prior art keywords
image processing
image
processing
shooting
electronic camera
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.)
Expired - Lifetime
Application number
JP2001131248A
Other languages
Japanese (ja)
Other versions
JP2002330388A (en
Inventor
正祐 樋口
哲也 豊田
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.)
Olympus Corp
Original Assignee
Olympus 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 Olympus Corp filed Critical Olympus Corp
Priority to JP2001131248A priority Critical patent/JP4383004B2/en
Publication of JP2002330388A publication Critical patent/JP2002330388A/en
Application granted granted Critical
Publication of JP4383004B2 publication Critical patent/JP4383004B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Description

【0001】
本発明は、撮影により得られた画像データと付帯情報を1つの画像ファイルとして記録する電子カメラに関する。
【0002】
【従来の技術】
一般的に電子カメラの撮影処理では、より良好な画像(撮影画像)が得られるように、撮像された画像がA/D変換された後に、ホワイトバランス処理や色変換(彩度)処理等の各種の画像処理が行われる。
【0003】
例えば、ホワイトバランス処理では、太陽光・蛍光灯・電球等の光源毎に最適化されている画像処理パラメータの中から、撮像された被写界の光源(照明光)に基づいて所定の画像処理パラメータが選択・設定され、その画像処理パラメータを使用して処理が行われる。又は、撮影時にユーザの好みにより、上記画像処理パラメータの中から所定の画像処理パラメータが指定(指示)された場合には、その指定された画像処理パラメータを使用して処理が行われる。
【0004】
その他の画像処理についても同様に、複数の画像処理パラメータの中から、撮像された被写界に応じて選択・設定された画像処理パラメータや、撮影時のユーザの指示に応じて設定された画像処理パラメータを使用して処理が行われ、最終的に記録媒体に記録される画像が作成される。
【0005】
実際には、この画像に圧縮処理が施され、付帯情報(撮影日付、撮影条件等の情報)と共に1つの画像ファイルとして記録媒体(メモリカード等)に記録され、撮影処理が終了する。
【0006】
【発明が解決しようとする課題】
ところで、従来では、撮影処理が終了した後に、その撮影処理において異なる画像処理パラメータが設定されて撮影処理が行われた場合の画像を得る手段はなかった。従って、例えば、ホワイトバランス処理で蛍光灯の画像処理パラメータが設定されて撮影処理が行われた後に、ユーザが、その撮影処理において、電球の画像処理パラメータが設定されてホワイトバランス処理が行われた場合にはどのような画像が得られたであろうかと要望した場合には、その要望に答えることが出来なかった。
【0007】
一方で、特開平11−282446号公報には、撮影された画像から、想定される出力特性(モニターやプリンタ等の出力特性)に応じて階調処理・圧縮処理等の画像処理手法が異なった、複数枚の画像を作成し、記録することを特徴とした画像処理方法が提案されている。この提案によれば、撮影後に、画像処理手法が異なる複数枚の画像を得ることが可能になるが、その為には複数枚の画像を記録しなければならず、処理時間の長時間化や、その記録に必要な記録容量が膨大になるという欠点があった。そのため、とても電子カメラに適用できる提案ではなく、依然として上述のユーザの要望に答えることが出来ないままであった。
【0008】
本発明の課題は、上記実情に鑑み、撮影処理後に、その撮影処理において異なる画像処理パラメータが設定されて画像処理が行われた場合の画像を得ることができる電子カメラを提供することである。
【0009】
本発明の第1の態様は、被写界を撮影し得られた画像データに付帯情報を付けて1つの画像ファイルとして記録媒体に記録する電子カメラであって、前記付帯情報には少なくとも1つの画像処理項目の画像処理を実行させるのに必要な複数の画像処理パラメータが含まれており、前記画像処理項目の画像処理を実行する画像処理手段と、前記画像処理手段による画像処理実行前の画像データを記録する第1の記録モードと前記画像処理手段による画像処理実行後の画像データを記録する第2の記録モードの何れかを設定する記録モード設定手段と、を更に備え、前記記録モード設定手段により前記第1の記録モードが設定されたときには、前記付帯情報には、前記画像処理項目毎の画像処理を実行させるのに必要な複数の画像処理パラメータからなるパラメータ群が、前記画像処理項目のそれぞれに対応して1組ずつ含まれるように構成された電子カメラである。
【0010】
上記の構成によれば、例えば画像ファイルに基づいて画像処理を行う画像処理装置等に、画像ファイルの付帯情報に含まれているパラメータ(画像処理パラメータ)に基づいて、撮影処理で行われる画像処理と同様の画像処理を実行させることができる。
また、この構成によれば、第1の記録モード(例えばRAWモード)が設定されたときには、画像処理実行前の画像データ(例えばRAWデータ)が付帯情報と共に1つの画像ファイルとして記録媒体に記録され、例えば画像ファイルに基づいて画像処理を行う画像処理装置等に、付帯情報に含まれているパラメータに基づいて、撮影処理で行われる画像処理と同様の画像処理を実行させることができる。従って、撮影処理後に、その撮影処理において異なるパラメータが設定されて画像処理が行われた場合の画像を得ることができる。
【0011】
本発明の第2の態様は、上記第1の態様において、前記記録モード設定手段により前記第2の記録モードが設定されたときには、前記付帯情報には、撮影時に前記画像処理項目毎に設定された画像処理パラメータが含まれており、前記画像処理手段は、前記設定された画像処理パラメータを使用して画像処理を実行する構成である。
この構成によれば、電子カメラは、第2の記録モードが設定されたときには、撮影された被写界に応じて設定されたパラメータや、ユーザからの指示に応じて設定されたパラメータを使用して画像処理を行うことができる。
本発明の第3の態様は、上記第又は2の態様において、撮影された被写界に応じて、1つの画像処理項目の画像処理を実行させるのに必要な複数のパラメータの中から1つのパラメータを設定する第1の設定手段を更に備えた構成である。
この構成によれば、撮影(撮像)された被写界に応じて、画像処理項目毎のパラメータを自動的に設定することができる。
【0012】
本発明の第4の態様は、上記第3の態様において、前記付帯情報には、前記第1の設定手段により設定されたパラメータが更に含まれる構成である。
この構成によれば、付帯情報に、撮影された被写界に応じて設定されたパラメータ、すなわち撮影時に電子カメラが自動的に設定したパラメータを含ませることができる。
【0013】
本発明の第5の態様は、上記第又は2の態様において、ユーザからの指示に応じて、1つの画像処理項目の画像処理を実行させるのに必要な複数のパラメータの中から1つのパラメータを設定する第2の設定手段を更に備えた構成である。
この構成によれば、ユーザが、画像処理項目毎のパラメータを設定することができる。
【0014】
本発明の第6の態様は、上記第5の態様において、前記付帯情報には、前記第2の設定手段により設定されたパラメータが更に含まれる構成である。
この構成によれば、付帯情報に、ユーザからの指示に応じて設定されたパラメータ、すなわち撮影時にユーザが設定したパラメータを含ませることができる。
【0015】
本発明の第7の態様は、上記第1、2、3、4、5、又は6の態様において、前記画像処理項目には、少なくとも階調、ホワイトバランス、シャープネス、彩度のうちの何れか1つが含まれる構成である。
この構成によれば、画像処理項目には、例えば、階調、ホワイトバランス、シャープネス、彩度等が含まれる。
【0019】
本発明の第8の態様は、上記第1、2、3、4、5、6、又は7の態様において、前記付帯情報には、プリントのための画像処理を実行させるのに必要な複数のパラメータが更に含まれる構成である。
【0020】
この構成によれば、例えば、画像ファイルに基づいて印刷処理を行うプリンタ装置等に、画像ファイルの付帯情報に含まれている、プリントのための画像処理を実行させるのに必要な複数のパラメータに基づいて印刷処理を実行させることができる。
【0021】
本発明の第9の態様は、上記第8の態様において、前記プリントのための画像処理を実行させるのに必要な複数のパラメータには、設定された撮影モード及び撮影条件に基づいて得られた1つ又は複数のプリント補正情報、標準のプリント補正情報、及び補正無しのプリント補正情報が含まれる構成である。
【0022】
この構成によれば、例えば、画像ファイルに基づいて印刷処理を行うプリンタ装置等に、画像ファイルの付帯情報に含まれているプリント補正情報に基づいて印刷処理を実行させることができる
【0030】
【発明の実施の形態】
以下、本発明の実施の形態を図面を参照しながら説明する。
図1は、本発明の一実施の形態に係る電子カメラシステムに含まれる電子カメラのブロック図である。
【0031】
同図において、ズームレンズ系1、撮像素子2、撮像回路3、及びA/D(アナログ/デジタル)変換回路4で撮像部が構成されている。撮像部では、ズームレンズ系1によって結像された被写体像(被写界)が撮像素子2によって光電変換され(撮像され)、その変換出力である画像信号が撮像回路3を介してA/D(アナログ−デジタル)変換回路4に入力されるとそこでA/D変換されてデジタルデータである画像データが得られる。ここで、ズームレンズ系1に備えられているレンズは、レンズ駆動制御回路5により制御されているレンズ駆動部6により駆動され、被写体像のフォーカスの調整が行われる。
【0032】
シスコン(システムコントローラ)7は、CPU(中央演算処理装置)を備えて構成され、電子カメラを構成する各部を制御すると共に、前述のA/D変換された画像データにホワイトバランス処理や色変換処理等の各種の画像処理を行う。また、撮影モード及び撮影条件に基づいてプリント補正情報を判断する処理等も行う。尚、このプリント補正情報は、プリントのための画像処理を実行させるのに必要なパラメータである。
【0033】
ASIC(Application Specific Integrated Circuit )部8は、JPEG(Joint Photographic Experts Group)方式による画像データの圧縮・伸張処理や、画像データのリサイズ処理等を行う。
ROM9は、電子カメラを構成する各部の制御をシスコン7に備えられているCPUに行わせるための制御プログラムや、電子カメラが行う画像処理項目毎の画像処理パラメータ(図2で後述)や、プリント補正情報判断テーブル(図3で後述)や、その他各種の処理のために必要な演算データ等が格納されているリード・オンリ・メモリである。
【0034】
RAM10は、画像データを一時的に蓄えるバッファメモリとして使用される他、シスコン7による各種処理のための作業用の記憶領域としても使用されるランダム・アクセス・メモリである。
メモリI/F(インターフェース)11は、カードスロット12に挿入されたメモリカード13との間でデータの授受を行うためのインターフェース機能を提供するものであり、データの読み書きの可能な半導体メモリを備えて構成されるメモリカード13への画像ファイル(画像データ、付帯情報を含む)の書き込み、或いはメモリカード13からの画像ファイルの読み出しの処理が行われる。
【0035】
外部I/F(インターフェース)14は、外部入出力端子15に接続された外部装置、例えばパーソナルコンピュータ、画像処理装置、又はプリンタ装置等との間でデータの授受を行うためのインターフェース機能を提供するものであり、外部装置への画像ファイル等の出力、或いは外部装置からの画像ファイル等の入力処理が行われる。
【0036】
ビデオメモリ16はシスコン7での画像処理によって得られた表示用の画像データを一時的に保持しておくためのメモリであり、この画像データはその後ビデオメモリ16から読み出されてビデオ出力回路17に入力されてビデオ信号である画像信号に変換される。この画像信号が画像表示LCD18に入力されると画像が表示される。また、この画像信号はビデオアウト端子19を介して他の装置へ送出することも可能である。
【0037】
ストロボ発光部20は、ストロボを使用する撮影の際にストロボを発光させるためのものである。
操作部21は、ユーザから受け付けた各種指示をシスコン7へ伝えるための各種キーやボタンやスイッチ等であり、例えば、ユーザから、撮影モード指示、撮影条件指示、RAWモード指示、撮影開始指示(レリーズボタンによる)等を受け付ける。尚、RAWモードとは、撮影処理において各種の画像処理を行わずに画像データを記録するモードである。
【0038】
電源部22は、カメラ電池23の電圧、若しくは外部電源端子24に入力された電力の電圧を制御してこの電子カメラの各部に電力を供給する。
尚、上述した構成の電子カメラにおいて、通信回線と接続可能に構成し、この通信回線を介して画像ファイル等の授受を行うようにしても良い。
【0039】
次に、前述のROM9に格納されている、画像処理項目毎の画像処理パラメータ及びプリント補正情報判断テーブルについて説明する。
図2は、ROM9に格納されている画像処理項目毎の画像処理パラメータを示した表である。尚、これらの画像処理項目は、撮影モードでもある。
【0040】
同図に示したように、各画像処理項目は複数の設定を備え、設定毎に対応するデータ長とデータ数で構成された画像処理パラメータを備えている。例えば、画像処理項目/コントラストは低・標準・高の3つの設定を備えており、撮影処理で標準が設定されたときには、その標準に対応する画像処理パラメータとして、データ長8bitで、そのデータ数が1024個で構成される階調テーブル2が選択され、この階調テーブル2が使用されてコントラスト(階調変換)処理が行われる。
【0041】
図3(a),(b) は、ROM9に格納されているプリント補正情報判断テーブルを示した図である。同図(a) は、補正モード選択テーブルを示し、同図(b) は、補正条件変更テーブルを示している。
同図(a) に示す補正モード選択テーブルは、設定された撮影モード及び撮影条件に基づいて補正モード(プリント補正情報)を指定するためのテーブルである。同図(a) の○印に示されるように、各撮影モード(動画モード、シーンモード、フィルター、ストロボモード)及び各撮影条件(シーン輝度、被写体距離、シャッタースピード、絞り、ストロボ、画角)では、その設定毎に1つの補正モード(標準、人物、風景、スポーツ、夕景、夜景、逆光、マクロ、セピア、モノクロ、補正無しの何れか1つ)が指示されている。また、各撮影モード及び各撮影条件には優先順位が付されている。
【0042】
本実施形態では、この補正モード選択テーブルから、設定された撮影モード及び撮影条件の優先順位に基づいて、その優先順位の最上位に基づく1つの補正モードか、若しくはその優先順位の上位2つに基づく2つの補正モードが指定される。例えば、撮影処理において、シーンモード/スポーツ(優先順位:1)、フィルター/肌色(優先順位:2)、シャッタースピード/高速(優先順位:5)が設定されたときには、優先順位が最も高いシーンモード/スポーツに基づいて指示された補正モード/スポーツの1つの補正モードか、若しくはその補正モード/スポーツと、その次に優先順位が高いフィルター/肌色に基づいて指示された補正モード/人物の2つの補正モードが指定されることになる。
【0043】
また、同図(b) に示す補正条件変更テーブルは、設定された撮影モードに基づいて補正を行わない項目(補正条件変更、プリント補正情報)を指定するためのテーブルである。同図(b) の×印に示されるように、各撮影モード(露出モード、測光モード、露出補正、コントラスト、彩度、ホワイトバランス、シャープネス、ISO感度)では、その設定毎に1つの補正を行わない項目(明るさ、コントラスト、ホワイトバランス、彩度、シャープネスの何れか1つ)が指示されている。但し、×印が付されていないものについては、何れの項目も指示されないことになる。
【0044】
本実施形態では、この補正条件変更テーブルから、設定された撮影モードに基づいて、補正を行わない項目が指定される。例えば、撮影処理において、露出補正/+1段、コントラスト/高、ホワイトバランス/太陽光が設定されたときには、それらに基づいて指示された、明るさ、コントラスト、ホワイトバランスが補正を行わない項目(補正条件変更)として指定されることになる。
【0045】
次に、本電子カメラシステムに含まれる印刷(プリント)機能付き画像処理装置(以下、単にプリンタ装置と言う)の構成について説明する。
図4は、このプリンタ装置のブロック図である。尚、同図に示すプリンタ装置は、例えばY(イエロー)、M(マゼンタ)、C(シアン)からなるインクリボンを使用し、面順次方式により用紙に印刷を行う昇華型熱転写方式のプリンタ装置である。
【0046】
同図おいて、シスコン(システムコントローラ)31は、CPU(中央演算処理装置)を備えて構成され、プリンタ装置を構成する各部を制御すると共に、画像データにホワイトバランス処理や色変換処理等の各種の画像処理を行う。尚、この画像処理は、電子カメラの撮影処理で行われる画像処理と同様である。また、印刷時に画像データに基づく画像の明暗・彩度・色合い等を補正する各種の画質補正処理を行う(自動画質補正処理)。
【0047】
ASIC(Application Specific Integrated Circuit )部32は、JPEG(Joint Photographic Experts Group)方式による画像データの圧縮・伸張処理や、画像データのリサイズ処理等を行う。
メモリI/F(インターフェース)33は、カードスロット34に挿入されたメモリカード35との間でデータの授受を行うためのインターフェース機能を提供するものであり、データの読み書きの可能な半導体メモリを備えて構成されるメモリカード35への画像ファイルの書き込み、或いはメモリカード35からの画像ファイルの読み出しの処理が行われる。
【0048】
RAM36は、画像データを一時的に蓄えるバッファメモリとして使用される他、シスコン31による各種処理のための作業用の記憶領域としても使用されるランダム・アクセス・メモリである。
ROM37は、プリンタ装置を構成する各部の制御をシスコン31に備えられているCPUに行わせるための制御プログラムや、各種の処理のために必要な演算データ等が格納されているリード・オンリ・メモリである。
【0049】
外部I/F(インターフェース)38は、PC接続端子39に接続されたパーソナルコンピュータとの間でデータの授受を行うためのインターフェース機能を提供するものであり、パーソナルコンピュータへの画像ファイル等の出力、或いはパーソナルコンピュータからの画像ファイル等の入力処理が行われる。
【0050】
ビデオメモリ50はシスコン31での画像処理によって得られた表示用の画像データを一時的に保持しておくためのメモリであり、この画像データはその後ビデオメモリ50から読み出されてビデオ出力回路51に入力されてビデオ信号である画像信号に変換される。この画像信号が画像表示LCD52に入力されると画像が表示される。また、この画像信号はビデオアウト端子53を介して他の装置へ送出することも可能である。
【0051】
サーマルヘッド制御部40は、シスコン31での自動画質補正処理等の各種画像処理によって得られたプリント用の画像データを1ラインデータ毎に読み出し、これに基づいてサーマルヘッド41を駆動(加熱)させることにより、ペーパー42にインクリボン43の染料を昇華、吸収させて印刷を行う。
【0052】
ペーパー搬送制御回路44は、ペーパー搬送部45を制御して、Y、M、Cのインクリボン43による重ね合わせ印刷が行われるように各インクが順次適用されるのに対応して、ペーパーカートリッジ46からペーパー42を搬送する。
操作部47は、ユーザから受け付けた各種指示をシスコン31へ伝えるための各種キーやボタンやスイッチ等であり、例えば、ユーザから画像選択指示(十字キー等による)、画像処理指示、プリント指示(プリントボタンによる)等を受け付ける。
【0053】
電源部48は、外部電源端子49に入力された電力の電圧を制御してこのプリンタ装置を構成する各部に電力を供給する。
尚、上述した構成のプリンタ装置において、電子カメラ等の外部装置とケーブル等を介して直接画像ファイル等の授受を行うように構成しても良い。また、通信回線と接続可能に構成し、この通信回線を介して画像ファイル等の授受を行うようにしても良い。
【0054】
次に、本電子カメラシステムに含まれる、上述した構成の電子カメラとプリンタ装置の動作処理について説明する。ここでは、特に、撮影処理後に、その撮影処理において異なる画像処理パラメータが設定されて画像処理が行われた場合の画像を得るために行われる処理を中心に説明する。
【0055】
図5は、電子カメラが行う撮影処理の一例を示すフローチャートである。尚、同図に示した処理は、シスコン7がROM9に格納されている制御プログラムを実行することにより行われる処理である。
同図に示したように、まず操作部21を介して、ユーザからの撮影指示(レリーズボタンオン)を受け付けるまで(ステップ(以下単にSと言う)507がN)、ユーザからの撮影モード指示(S501)、撮影条件指示(S503)、RAWモード指示(S505)を受け付ける。ユーザからの撮影モード指示(S501がY)、撮影条件指示(S503がY)、RAWモード指示(S505がY)を受け付けたときは、その指示通りの撮影モード(S502)、撮影条件(S504)、RAWモード(S506)を設定する。
【0056】
そして、ユーザからの撮影指示(レリーズボタンオン)を受け付けたときは(S507がY)、前述のユーザからの指示や撮像しようとする被写界に応じて設定された撮影モード及び撮影条件に基づいて撮像処理を行う(S508)。この撮像処理では、ズームレンズ系1により結像された被写体像(被写界)が撮像素子2により光電変換され(撮像され)、その変換出力である画像信号が撮像回路3を介してA/D変換回路4に入力され、そのA/D変換により得られたデジタルデータの画像データ(RAWデータ)がRAM10に格納される等の処理が行われる。
【0057】
続いて、設定された撮影モード及び撮影条件に基づいてプリント補正情報の作成処理を行う(S509)。この処理は、前述の補正モード選択テーブル(図3(a) 参照)及び補正条件変更テーブル(図3(b) 参照)から、設定された撮影モード及び撮影条件に基づいてプリント補正情報を判断・作成する処理である。但し、RAWモードが設定されていたときには第1候補(モード1)と第2候補(モード2)の2つのプリント補正情報を作成し、RAWモードが設定されていなかったときには第1候補(モード1)のみのプリント補正情報を作成する。このプリント補正情報については、図6(a),(b) を用いて後述する。
【0058】
続いて、RAM10に格納された画像データ(RAWデータ)に基づく画像(撮影された被写界画像)を解析し、該解析結果に基づき、撮影時の画像処理項目毎の画像処理パラメータを設定する(S510)。但し、前述のユーザからの撮影モード指示により、既に所定の設定が行われていたときには、その設定に対応する画像処理パラメータが設定される。例えば、ユーザにより撮影モードの1つである彩度が標準に設定されていたときには、その標準に対応する色変換マトリックス2が彩度の画像処理パラメータとして設定される。このように、撮影時の画像処理項目毎の画像処理パラメータは、撮影された被写界やユーザからの指示に応じて設定される。
【0059】
続いて、RAWモードが設定されているか否かを判断し(S511)、RAWモードが設定されていたときには(S511がY)、S513〜S516の画像処理及びS517の圧縮処理は行わずに、画像データ(RAWデータ)に付帯情報を付して1つの画像ファイルとしてメモリカードに記録する(S512)。但し、このときの付帯情報には、1つの画像処理項目の画像処理を実行させるのに必要な複数のパラメータからなるパラメータ群が画像処理項目毎に複数組含まれると共に、4つのプリント補正情報等が含まれる。尚、このとき記録される画像ファイルのファイル構造については図7(a) を用いて後述する。
【0060】
一方、RAWモードが設定されていなかったときは(S511がN)、前述のS510の処理で設定された撮影時の画像処理項目毎の画像処理パラメータを使用してS513〜S516の画像処理を行う。すなわち、画像データ(RAWデータ)に、設定されたゲインを使用してAWB(オートホワイトバランス)処理を行い(S513)、次に設定された色変換マトリックスを使用して色変換(彩度)処理を行い(S514)、次に設定された階調テーブルを使用して階調変換(コントラスト)処理を行い(S515)、次に設定された強度を使用してエッジ強調(シャープネス)処理を行う(S516)。
【0061】
続いて、これらの画像処理が行われた画像データにASIC部8によるJPEG圧縮処理を行い(S517)、この圧縮された画像データに付帯情報を付して1つの画像ファイルとしてメモリカードに記録する(S512)。尚、このとき記録される画像ファイルのファイル構造については図7(b) を用いて後述する。
【0062】
このような撮影処理により、RAWモードが設定されて撮影されたときには、画像処理が行われる前の画像データ(RAWデータ)に、少なくとも1つの画像処理項目の画像処理を実行させるのに必要な複数のパラメータからなるパラメータ群が画像処理項目毎に複数組含まれた付帯情報が付されて、1つの画像ファイルとしてメモリカードに記録される。
【0063】
次に、前述のS50の処理で作成されるプリント補正情報について説明する。図6(a) は、各補正モード及び各補正を行わない項目(補正条件変更)に対応するデータ(プリント補正情報)を示した表であり、同図(b) は、作成されたプリント補正情報の一例である。
【0064】
プリント補正情報は、設定された撮影モード及び撮影条件に基づいて指定された補正モード(図3(a) の補正モード選択テーブル参照)を示す上位4bitのデータと、設定された撮影モードに基づいて指定された補正を行わない項目(図3(b) の補正条件変更テーブル参照)を示す下位5bitのデータから構成される。
【0065】
すなわち、プリント補正情報の上位4bitは、指定された補正モードに対応する図6(a) に示したデータにより構成され、その下位5bitは、指定された補正を行わない項目に対応する同図(a) に示したデータの論理和により構成される。
【0066】
例えば、補正モードとして風景が指定され、補正を行わない項目として明るさとホワイトバランスが指定されたときに作成されるプリント補正情報は、同図(a) に示した表より、指定された補正モードが風景であることに対応して上位4bitが0010で構成され、指定された補正を行わない項目が明るさとホワイトバランスであることに対応して下位5bitが10000(明るさ)と00100(ホワイトバランス)の論理和である10100で構成され、同図(b) に示した001010100の9bitのプリント補正情報が作成されることになる。
【0067】
但し、図5のS50の処理で説明した第1候補のプリント補正情報(モード1)は、その上位4bitに示される補正モードが、設定された撮影モード及び撮影条件の中で最上位の優先順位のものに基づいて指定された補正モードであるときのプリント補正情報である。また、第2候補のプリント補正情報(モード2)は、設定された撮影モード及び撮影条件の中で2番目の優先順位のものに基づいて指定された補正モードであるときのプリント補正情報である。
【0068】
次に、図5のS512の処理でメモリカードに記録された画像ファイルのファイル構造について説明する。
図7(a) は、RAWモードが設定されていたときに記録された画像ファイルのファイル構造(RAWファイル形式)の一例であり、同図(b) は、RAWモードが設定されていなかったときに記録された画像ファイルのファイル構造(RAWファイル形式以外)の一例である。
【0069】
同図(a) に示したように、RAWモードが設定されていたときに記録された画像ファイルのファイル構造は、ファイル識別子、画像サイズ、13種類の画像処理パラメータ、撮影時設定の画像処理パラメータ、プリント補正識別子、及び4種類のプリント補正情報を含む付帯情報と、画像データから構成される。
【0070】
ファイル識別子は、当該画像ファイルが、RAWモードが設定されていたときに記録された画像ファイルである(RAWファイル形式である)ことを示すものであり、2byteの固定値により表される。
画像サイズは、画像の幅、高さを示すものであり、それぞれ2byteで表される。
【0071】
13種類の画像処理パラメータは、撮影処理で行われる画像処理項目毎の画像処理パラメータを全て示すものであり、1つの画像処理項目の画像処理を実行させるのに必要な複数の画像処理パラメータからなるパラメータ群が画像処理項目毎に4組含まれたものである。また、各画像処理パラメータは、階調テーブル1、2、3がそれぞれ1024byte、色変換マトリックス1、2、3がそれぞれ18byte、ゲイン1、2、3、4がそれぞれ4byte、強度1、2、3がそれぞれ2byteで表される。
【0072】
撮影時設定の画像処理パラメータは、図5のS510の処理で設定された画像処理項目毎の画像処理パラメータのデータ名を示すものであり、1byteで表される。実際には、その1byte(8bit)の上位から2bit毎に、各画像処理項目の画像処理パラメータのデータ名が示される。例えば、最上位から2bitのデータがコントラストの画像処理パラメータのデータ名、次の2bitのデータが彩度の画像処理パラメータのデータ名、次の2bitのデータがホワイトバランスの画像処理パラメータのデータ名、最後の2bitのデータがシャープネスの画像処理パラメータのデータ名が示される。
【0073】
プリント補正識別子は、当該画像ファイルがプリント補正情報を4つ含む画像ファイルであることを示すものであり、2byteの固定値で表される。
4種類のプリント補正情報は、第1候補のプリント補正情報(モード1)、第2候補のプリント補正情報(モード2)、補正モードが標準のプリント補正情報(標準:0)、及び補正モードが補正無しのプリント補正情報(補正無し:320)を示すものであり、それぞれ2byteで表される。尚、これらのプリント補正情報は、プリントのための画像処理を実行させるのに必要な複数のパラメータである。
【0074】
画像データは、RAWデータ(RGB RAWデータ)を示すものであり、幅×高さ×3byteで表される。
尚、付帯情報にはその他、撮影時に設定された撮影条件や撮影日付等が含まれるようにしても良い。
【0075】
また、図7(b) に示したように、RAWモード設定されていなかったときに記録された画像ファイルのファイル構造は、ファイル識別子、画像サイズ、4種類の画像処理パラメータ、プリント補正識別子、及びプリント補正情報を含む付帯情報と、画像データから構成される。
【0076】
ファイル識別子は、当該画像ファイルが、RAWモードが設定されていなかったときに記録された画像ファイルである(RAWファイル形式以外である)ことを示すものであり、2byteの固定値により表される。
画像サイズは、画像の幅、高さを示すものであり、それぞれ2byteで表される。
【0077】
4種類の画像処理パラメータは、図5のS510の処理で設定された撮影時設定の画像処理パラメータを示したものであり、図7(b) では、撮影時設定の画像処理パラメータとして、階調テーブル2、色変換マトリックス1、ゲイン1、強度3が設定されたときの例を示している。
【0078】
プリント補正識別子は、当該画像ファイルがプリント補正情報を1つ含む画像ファイルであることを示すものであり、2byteの固定値で表される。
プリント補正情報は、第1候補のプリント補正情報(モード1)を示すものであり、2byteで表される。
【0079】
画像データは、図5のS517でJPEG圧縮処理が施された画像データを示すものであり、画像データに依存したデータサイズで表される。
尚、付帯情報にはその他、設定された撮影条件や撮影日付等が含まれるようにしても良い。
【0080】
次に、プリンタ装置が行う画像ファイルに基づく画像処理及び印刷処理について説明する。尚、これらの処理は、シスコン31がROM37に格納されている制御プログラムを実行することにより行われる処理である。
図8は、プリンタ装置が行う画像処理の一例を示すフローチャートである。但し、同図に示したフローは、RAWファイル形式の画像ファイルが記録されたメモリカードがカードスロット34に装着された状態で、ユーザからの指示により、このRAWファイル形式の画像ファイルに基づく画像への画像処理指示が行われたときに実行される処理である。従って、RAWファイル形式以外の画像ファイルに基づく画像への画像処理指示が行われたときには、本フローは実行されない。尚、この画像処理指示は、例えば、電子カメラによる撮影処理後に、その撮影処理において異なる画像処理パラメータが設定されて画像処理が行われたときにはどのような画像が得られたであろうかとユーザが要望したとき等に行われるものである。
【0081】
同図に示したように、まず、ユーザから画像処理指示が行われたRAWファイル形式の画像ファイルをメモリカードから読み出し、ファイルオープンする(S801)。
続いて、その画像ファイルから付帯情報(ヘッダー情報)と画像データ(RAWデータ)を読み出し、この画像データをリサイズ処理し、160×120画素の縮小画像を作成する(S802、S803)。
【0082】
続いて、S814〜S817の画像処理で使用する画像処理パラメータ(画像処理項目毎の画像処理パラメータ)を、好みに応じてユーザに選択させる処理を行う(S804〜811)。尚、S814〜S817の画像処理は、撮影処理で行われる画像処理(図5のS513〜S516)と同様の処理であるので、S814〜S817の各画像処理で使用する画像処理パラメータを好みに応じてユーザに選択させることにより、前述のユーザの要望に答えることができるようになる。
【0083】
具体的には、まず、ホワイトバランス(WB)処理の画像処理パラメータをユーザに選択させるために、前述の縮小画像に、付帯情報に含まれているホワイトバランス処理の4つの画像処理パラメータ(ゲイン1、2、3、4)のそれぞれを使用してホワイトバランス処理を行った4つの縮小処理画像を作成する(S804)。
【0084】
続いて、この4つの縮小処理画像のそれぞれに、付帯情報に含まれている撮影時設定の画像処理パラメータに基づいて、色変換(彩度)処理(S806)、階調変換(コントラスト)処理(S807)、エッジ強調(シャープネス)処理(S808)を行い、これらの処理が行われた4つの縮小処理画像を画像表示LCD52に一括表示する(S808)。
【0085】
続いて、操作部47を介して、ユーザからの画像選択指示を受け付け(S809)、一括表示された4つの縮小処理画像の中から所定の縮小処理画像が選択されると(S809がY)、その選択された縮小処理画像に対応するホワイトバランス処理の画像処理パラメータを、S814のホワイトバランス処理で使用する画像処理パラメータとして選択(設定)する。
【0086】
すなわち、一括表示された4つの縮小処理画像は、ホワイトバランス処理の画像処理パラメータが異なるだけで、その他の色変換処理、階調処理、エッジ強調処理の画像処理パラメータは同一の画像処理パラメータ(撮影時設定の画像処理パラメータ)が使用されて画像処理が行われたものである。従って、この4つの縮小処理画像の中から、ユーザが好みの縮小処理画像を選択することにより、その選択した縮小処理画像に対応するホワイトバランス処理の画像処理パラメータが選択されることになる。
【0087】
この時点では、画像処理パラメータの選択されていない画像処理項目(彩度、コントラスト、シャープネス)がまだ残っているので(S810がN)、次に、ユーザに選択させる画像処理パラメータの画像処理項目を彩度に変更し(S811)、S804の処理に戻る。
【0088】
但し、このときホワイトバランス処理の画像処理パラメータは既に選択済みなので、S804の処理では、S803の処理で得られた縮小画像に、この選択済みの画像処理パラメータを使用してホワイトバランス処理を行い、1つの縮小処理画像を作成する。
【0089】
続いて、この縮小処理画像に、付帯情報に含まれている色変換(彩度)処理の3つの画像処理パラメータ(色変換マトリックス1、2、3)のそれぞれを使用して色変換処理を行った3つの縮小処理画像を作成する(S805)。
続いて、この3つの縮小処理画像のそれぞれに、付帯情報に含まれている撮影時設定の画像処理パラメータに基づいて、階調変換処理(S806)、エッジ強調処理(S807)を行い、これらの処理が行われた3つの縮小処理画像を画像表示LCD52に一括表示する(S808)。
【0090】
続いて、操作部47を介して、ユーザからの画像選択指示を受け付け(S809)、一括表示された3つの縮小処理画像の中から所定の縮小処理画像が選択されると(S809がY)、その選択された縮小処理画像に対応する色変換処理の画像処理パラメータを、S815の色変換処理で使用する画像処理パラメータとして選択(設定)する。
【0091】
この時点でも、画像処理パラメータの選択されていない画像処理項目(コントラスト、シャープネス)がまだ残っているので(S810がN)、次に、ユーザに選択させる画像処理パラメータの画像処理項目をコントラストに変更し(S811)、再びS804の処理に戻る。
【0092】
但し、このときホワイトバランス処理と色変換処理の各画像処理パラメータは既に選択済みなので、S804及びS805の処理では、S803の処理で得られた縮小画像に、この選択済みの画像処理パラメータを使用してホワイトバランス処理及び色変換処理を行い、1つの縮小処理画像を作成する。
【0093】
続いて、この縮小処理画像に、付帯情報に含まれている階調変換(コントラスト)処理の3つの画像処理パラメータ(階調テーブル1、2、3)のそれぞれを使用して階調変換処理を行った3つの縮小処理画像を作成する(S806)。
続いて、この3つの縮小処理画像のそれぞれに、付帯情報に含まれている撮影時設定の画像処理パラメータに基づいて、エッジ強調処理(S807)を行い、この処理が行われた3つの縮小処理画像を画像表示LCD52に一括表示する(S808)。
【0094】
続いて、操作部47を介して、ユーザからの画像選択指示を受け付け(S809)、一括表示された3つの縮小処理画像の中から所定の縮小処理画像が選択されると(S809がY)、その選択された縮小処理画像に対応する階調変換処理の画像処理パラメータを、S816の階調変換処理で使用する画像処理パラメータとして選択(設定)する。
【0095】
この時点でも、画像処理パラメータの選択されていない画像処理項目(シャープネス)がまだ残っているので(S810がN)、次に、ユーザに選択させる画像処理パラメータの画像処理項目をシャープネスに変更し(S811)、再びS804の処理に戻る。
【0096】
但し、このときホワイトバランス処理、色変換処理、階調変換処理の各画像処理パラメータは既に選択済みなので、S804〜S806の処理では、S803の処理で得られた縮小画像に、この選択済みの画像処理パラメータを使用してホワイトバランス処理、色変換処理、階調変換処理を行い、1つの縮小処理画像を作成する。
【0097】
続いて、この縮小処理画像に、付帯情報に含まれているエッジ強調(シャープネス)処理の3つの画像処理パラメータ(強度1、2、3)のそれぞれを使用してエッジ強調処理を行った3つの縮小処理画像を作成し(S807)、これらを画像表示LCD52に一括表示する(S808)。
【0098】
続いて、操作部47を介して、ユーザからの画像選択指示を受け付け(S809)、一括表示された3つの縮小処理画像の中から所定の縮小処理画像が選択されると(S809がY)、その選択された縮小処理画像に対応するエッジ強調処理の画像処理パラメータを、S817のエッジ強調処理で使用する画像処理パラメータとして選択(設定)する。
【0099】
このようにして、画像処理項目毎の画像処理パラメータが全て選択されると(S810がY)、次に、画像ファイルの画像データ(RAWデータ)を再び読み出し(S812)、ファイルクローズする(S813)。
続いて、読み出した画像データ(フルサイズ)に、ユーザにより選択された画像処理項目毎の画像処理パラメータを使用して、ホワイトバランス(AW)処理(S814)、色変換(彩度)処理(S815)、階調変換(コントラスト)処理(S816)、エッジ強調(シャープネス)処理(S817)を行い、これらの処理が行われた画像データに基づく画像を画像表示LCD52に表示する(S818)。尚、ユーザからの指示に応じて、このときの画像データをメモリカードに記録するようにしても良い。
【0100】
このような処理により、撮影処理後に、その撮影処理において異なる画像処理パラメータが設定されて画像処理が行われた場合の画像を得ることができる。従って、前述のユーザの要望に答えることができる。
続いて、操作部47を介して、ユーザからのプリント指示を受け付け(S819)、プリント指示があったときには(S819がY)、図10で後述するプリント処理へ移行する。
【0101】
尚、本フローにおいて、縮小処理画像の表示(S808)及び画像の表示(S818)は、PC接続端子39を介してPCのディスプレイ等に表示させるようにしても良く、また、ビデオアウト端子53を介して他の他の表示装置に表示させるようにしても良い。また、ユーザに選択させる画像処理パラメータの順番も、ホワイトバランス、彩度、コントラスト、シャープネスの順番に限られるものではない。
【0102】
図9は、S808の処理で画像表示LCD52に一括表示される縮小処理画像の表示例を示した図である。尚、同図は、一例として、コントラスト(階調変換処理)の画像処理パラメータをユーザに選択させるときに表示される表示画面を示している。
【0103】
同図に示すように、左上が階調テーブル1に基づく縮小処理画像、右上が階調テーブル2に基づく縮小処理画像、左下が階調テーブル3に基づく縮小処理画像である。このように、一括表示される縮小処理画像は、画像処理パラメータの違いによる差異をユーザに確認しやすくするため、規則的に順番に配置される。
【0104】
また、ユーザが画像選択する際の参考として、撮影時設定の画像処理パラメータと同一の画像処理パラメータに基づく縮小処理画像には、その下部に星印が表示される。同図では、左下の画像がそうである。すなわち、撮影時には、コントラストの画像処理パラメータとして階調テーブル3が設定されていたことがわかる。また、同図中の選択枠は、ユーザが画像選択する際にその選択対象を指示するものであり、十字キーにより移動されるものである。
【0105】
尚、その他の画像処理項目についての表示例は不図示であるが、上述の表示例と同様に、一括表示される縮小処理画像は規則的に順番に配置され、また、撮影時設定の画像処理パラメータと同一の画像処理パラメータに基づく縮小処理画像には、その下部に星印が表示される。
【0106】
次に、プリンタ装置が行うプリント処理について説明する。尚、このプリント処理では、プリント対象となる画像ファイルの付帯情報に複数のプリント補正情報が含まれていたときには、各プリント補正情報に基づいて処理された複数の画像の中から好みの画像がユーザに選択され、その選択画像が印刷される。
【0107】
図10は、このプリント処理の一例を示すフローチャートである。
同図に示したように、所定の画像ファイルの画像にプリント指示があったときは、その画像ファイルの付帯情報からプリント補正識別子を読み出し、プリント補正情報がいくつ含まれているかを判断すると共に、そのプリント補正情報を読み出す(S1001)。但し、ここでは、印刷対象となる画像ファイルの画像を図8のS818の処理で表示された画像として説明する。従って、S1001の処理では、プリント補正情報の数が4つと判断され、その4つのプリント補正情報である、第1候補のプリント補正情報(モード1)、第2候補のプリント補正情報(モード2)、標準のプリント補正情報(:0)、及び補正無しのプリント補正情報(:320)が読み出される。
【0108】
続いて、図8のS818の処理で表示された画像(画像データ)の画像解析を行い(S1002)、この解析結果と読み出した4つのプリント補正情報に基づいて、各プリント補正情報に基づいて処理された4つの画像の中から好みの画像をユーザに選択させる処理を行う(S1003〜SS1012)。
【0109】
具体的には、まず、第1候補のプリント補正情報と前述の画像解析結果に基づいて、画質補正量を算出する(S1003)。詳しくは、第1候補のプリント補正情報に示される補正モードと画像解析結果に基づいて、後続のコントラスト補正処理での画質補正量、明るさ補正処理での画質補正量、ホワイトバランス補正処理での画質補正量、彩度補正処理での画質補正量、シャープネス補正処理での画質補正量を算出する。
【0110】
続いて、算出した各画質補正量に基づいて、コントラスト補正処理(S1004)、明るさ補正処理(S1005)、ホワイトバランス補正処理(S1006)、彩度補正処理(S1007)、シャープネス補正処理(S1008)を行う。但し、第1候補のプリント補正情報に補正を行わない項目(補正変更条件)が示されていたときには、その項目の補正処理をスキップする。
【0111】
このようにして、第1候補のプリント補正情報に基づいて処理された画像が作成されると、これを画像表示LCD52に表示する(S1009)。
そして、このような処理を、第2候補のプリント補正情報(モード2)、標準のプリント補正情報、補正無しのプリント補正情報についても同様にして行い、各プリント補正情報に基づいて処理された4つの画像を画像表示LCD52に表示すると(S1010がY)、次に、操作部47を介して、ユーザからの画像選択指示を受け付け(S1012)、画像表示LCD52に表示された4つの画像の中から所定の画像が選択されると(S1012がY)、その選択された画像を実際に用紙へ印刷する処理を行い(S1013)、当該フローを終了する。
【0112】
このような処理により、よりユーザの好みに応じた画像の印刷が可能になる。尚、本実施形態において、図8に示した画像処理のS818までの処理を電子カメラが行うようにしても良い。
【0113】
【発明の効果】
以上、詳細に説明したように、本発明によれば、撮影処理後に、その撮影処理において異なる画像処理パラメータが設定されて画像処理が行われた場合の画像を得ることができる。
【図面の簡単な説明】
【図1】本発明の一実施の形態に係る電子カメラシステムに含まれる電子カメラのブロック図である。
【図2】ROMに格納されている画像処理項目毎の画像処理パラメータを示した表である。
【図3】 (a) は補正モード選択テーブル、(b) は補正条件変更テーブルである。
【図4】本発明の一実施の形態に係る電子カメラシステムに含まれる印刷(プリント)機能付き画像処理装置(プリンタ装置)のブロック図である。
【図5】電子カメラが行う撮影処理の一例を示すフローチャートである。
【図6】 (a) は各補正モード及び各補正を行わない項目(補正条件変更)に対応するデータ(プリント補正情報)を示した表、(b) は作成されたプリント補正情報の一例である。
【図7】 (a) はRAWモードが設定されていたときに記録された画像ファイルのファイル構造(RAWファイル形式)の一例、(b) はRAWモードが設定されていなかったときに記録された画像ファイルのファイル構造(RAWファイル形式以外)の一例である。
【図8】プリンタ装置が行う画像処理の一例を示すフローチャートである。
【図9】画像表示LCD52に一括表示される縮小処理画像の表示例である。
【図10】プリンタ装置が行うプリント処理の一例を示すフローチャートである。
【符号の説明】
1 ズームレンズ系
2 撮像素子
3 撮像回路
4 A/D
5 レンズ駆動制御回路
6 レンズ駆動部
7 シスコン
8 ASIC
9 ROM
10 RAM
11 メモリI/F
12 カードスロット
13 メモリカード
14 外部I/F
15 外部入出力端子
16 ビデオメモリ
17 ビデオ出力回路
18 画像表示LCD
19 ビデオアウト端子
20 ストロボ発光部
21 操作部
22 電源部
23 カメラ電池
24 外部電源入力端子
31 シスコン
32 ASIC
33 メモリI/F
34 カードスロット
35 メモリカード
36 RAM
37 ROM
38 外部I/F
39 PC接続端子
40 サーマルヘッド制御部
41 サーマルヘッド
42 ペーパー
43 インクリボン
44 ペーパー搬送制御部
45 ペーパー搬送部
46 ペーパーカートリッジ
47 操作部
48 電源部
49 外部電源入力端子
50 ビデオメモリ
51 ビデオ出力回路
52 画像表示LCD
53 ビデオアウト端子
[0001]
  The present invention is an electronic camera that records image data obtained by photographing and incidental information as one image file.LaRelated.
[0002]
[Prior art]
In general, in the shooting process of an electronic camera, a white balance process, a color conversion (saturation) process, or the like is performed after the captured image is A / D converted so that a better image (captured image) can be obtained. Various image processing is performed.
[0003]
For example, in the white balance processing, predetermined image processing is performed based on the imaged light source (illumination light) from the image processing parameters optimized for each light source such as sunlight, fluorescent light, and light bulb. A parameter is selected and set, and processing is performed using the image processing parameter. Alternatively, when a predetermined image processing parameter is designated (instructed) from among the image processing parameters according to the user's preference at the time of shooting, processing is performed using the designated image processing parameter.
[0004]
Similarly for other image processing, image processing parameters selected and set according to the captured scene from among a plurality of image processing parameters, and images set according to user instructions at the time of shooting Processing is performed using the processing parameters, and an image to be finally recorded on the recording medium is created.
[0005]
Actually, this image is compressed and recorded as a single image file on a recording medium (such as a memory card) together with accompanying information (information such as shooting date and shooting conditions), and the shooting process ends.
[0006]
[Problems to be solved by the invention]
By the way, conventionally, there has been no means for obtaining an image when a shooting process is performed by setting different image processing parameters in the shooting process after the shooting process is completed. Therefore, for example, after the image processing parameter of the fluorescent lamp is set and the photographing process is performed in the white balance process, the user performs the white balance process by setting the image processing parameter of the light bulb in the photographing process. In the case of requesting what kind of image would have been obtained, the request could not be answered.
[0007]
On the other hand, in Japanese Patent Laid-Open No. 11-282446, image processing methods such as gradation processing and compression processing differ from the captured image according to the assumed output characteristics (output characteristics of a monitor, a printer, etc.). An image processing method characterized by creating and recording a plurality of images has been proposed. According to this proposal, it becomes possible to obtain a plurality of images having different image processing methods after shooting. For this purpose, a plurality of images must be recorded, and the processing time is increased. The recording capacity required for the recording is enormous. Therefore, it is not a proposal that can be applied to an electronic camera, and it still cannot respond to the above-mentioned user's request.
[0008]
  In view of the above circumstances, an object of the present invention is to provide an electronic camera capable of obtaining an image when image processing is performed with different image processing parameters set in the shooting processing after the shooting processing.LaIs to provide.
[0009]
  First aspect of the present inventionIs an electronic camera that attaches supplementary information to image data obtained by photographing a scene and records it as a single image file on a recording medium, wherein the supplementary information includes image processing of at least one image processing item. Multiple required to runImage processingParametersImage processing means for executing image processing of the image processing item, a first recording mode for recording image data before execution of image processing by the image processing means, and execution of image processing by the image processing means Recording mode setting means for setting any of the second recording modes for recording the subsequent image data, and when the first recording mode is set by the recording mode setting means, Is a parameter group consisting of a plurality of image processing parameters necessary for executing image processing for each image processing item, one set corresponding to each of the image processing itemsAn electronic camera configured to be included.
[0010]
  According to the above configuration, for example, an image processing apparatus that performs image processing based on an image file or the like performs image processing performed in shooting processing based on parameters (image processing parameters) included in the incidental information of the image file. The same image processing can be executed.
Further, according to this configuration, when the first recording mode (for example, RAW mode) is set, image data (for example, RAW data) before execution of image processing is recorded on the recording medium as one image file together with the accompanying information. For example, an image processing apparatus that performs image processing based on an image file, for example, can execute image processing similar to the image processing performed in the imaging processing based on the parameters included in the supplementary information. Accordingly, it is possible to obtain an image when image processing is performed with different parameters set in the shooting process after the shooting process.
[0011]
  According to a second aspect of the present invention, in the first aspect, when the second recording mode is set by the recording mode setting means, the auxiliary information is set for each image processing item at the time of shooting. The image processing parameters are included, and the image processing means executes image processing using the set image processing parameters.
According to this configuration, when the second recording mode is set, the electronic camera uses a parameter set according to the captured scene and a parameter set according to an instruction from the user. Image processing.
  Third aspect of the present inventionIsAbove1Or 2 aspectsIn the configuration, the apparatus further includes first setting means for setting one parameter from among a plurality of parameters necessary for executing image processing of one image processing item according to the photographed scene. is there.
  According to this configuration, it is possible to automatically set parameters for each image processing item in accordance with the captured (captured) scene.
[0012]
  Fourth aspect of the present inventionIsThird aspect aboveIn the configuration, the supplementary information further includes a parameter set by the first setting means.
  According to this configuration, the incidental information can include parameters set according to the captured field, that is, parameters automatically set by the electronic camera at the time of shooting.
[0013]
  Fifth aspect of the present inventionIsAbove1Or 2 aspectsIn the configuration, the apparatus further includes second setting means for setting one parameter from among a plurality of parameters necessary for executing image processing of one image processing item in accordance with an instruction from the user.
  According to this configuration, the user can set parameters for each image processing item.
[0014]
  Sixth aspect of the present inventionIsThe fifth aspectIn the configuration, the auxiliary information further includes a parameter set by the second setting means.
  According to this configuration, the incidental information can include parameters set in accordance with an instruction from the user, that is, parameters set by the user at the time of shooting.
[0015]
  Seventh aspect of the present inventionIsAbove1, 2, 3, 4,5 or 6 aspectsThe image processing item includes at least one of gradation, white balance, sharpness, and saturation.
  According to this configuration, the image processing items include, for example, gradation, white balance, sharpness, saturation, and the like.
[0019]
Eighth aspect of the present inventionIsAbove1, 2, 3, 4, 5, 6,Or embodiment 7In the configuration, the auxiliary information further includes a plurality of parameters necessary for executing image processing for printing.
[0020]
According to this configuration, for example, a plurality of parameters necessary for executing image processing for printing, included in the supplementary information of the image file, by a printer device or the like that performs printing processing based on the image file. Based on this, the printing process can be executed.
[0021]
  Ninth aspect of the present inventionIsThe eighth aspectThe plurality of parameters necessary for executing image processing for printing include one or a plurality of print correction information obtained based on the set shooting mode and shooting conditions, and standard print correction information. , And uncorrected print correction information.
[0022]
  According to this configuration, for example, a printer device that performs a printing process based on an image file can execute the printing process based on the print correction information included in the accompanying information of the image file..
[0030]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a block diagram of an electronic camera included in an electronic camera system according to an embodiment of the present invention.
[0031]
In the drawing, the zoom lens system 1, the image sensor 2, the image pickup circuit 3, and an A / D (analog / digital) conversion circuit 4 constitute an image pickup unit. In the imaging unit, a subject image (field of view) formed by the zoom lens system 1 is photoelectrically converted (captured) by the imaging device 2, and an image signal that is the converted output is A / D via the imaging circuit 3. When input to the (analog-digital) conversion circuit 4, A / D conversion is performed there to obtain image data as digital data. Here, the lens provided in the zoom lens system 1 is driven by the lens drive unit 6 controlled by the lens drive control circuit 5 to adjust the focus of the subject image.
[0032]
A system controller (system controller) 7 is configured to include a CPU (central processing unit), controls each part of the electronic camera, and performs white balance processing and color conversion processing on the A / D converted image data. Various image processing such as these are performed. Also, processing for determining print correction information based on the shooting mode and shooting conditions is performed. The print correction information is a parameter necessary for executing image processing for printing.
[0033]
An ASIC (Application Specific Integrated Circuit) unit 8 performs image data compression / decompression processing, image data resizing processing, and the like according to the JPEG (Joint Photographic Experts Group) method.
The ROM 9 is a control program for causing the CPU provided in the syscon 7 to control each unit constituting the electronic camera, an image processing parameter for each image processing item performed by the electronic camera (described later in FIG. 2), a print This is a read-only memory in which a correction information determination table (described later in FIG. 3) and other calculation data necessary for various types of processing are stored.
[0034]
The RAM 10 is a random access memory used not only as a buffer memory for temporarily storing image data but also as a work storage area for various processes by the system controller 7.
The memory I / F (interface) 11 provides an interface function for exchanging data with the memory card 13 inserted into the card slot 12 and includes a semiconductor memory capable of reading and writing data. The image file (including image data and incidental information) is written to the memory card 13 configured as described above, or the image file is read from the memory card 13.
[0035]
The external I / F (interface) 14 provides an interface function for exchanging data with an external device connected to the external input / output terminal 15, such as a personal computer, an image processing device, or a printer device. Therefore, output of an image file or the like to an external device or input processing of an image file or the like from an external device is performed.
[0036]
The video memory 16 is a memory for temporarily storing image data for display obtained by image processing in the syscon 7, and this image data is then read from the video memory 16 and is output to the video output circuit 17. Is converted into an image signal which is a video signal. When this image signal is input to the image display LCD 18, an image is displayed. The image signal can also be sent to another device via the video out terminal 19.
[0037]
The strobe light emitting unit 20 is for causing the strobe to emit light when photographing using the strobe.
The operation unit 21 includes various keys, buttons, switches, and the like for transmitting various instructions received from the user to the system controller 7. For example, the user inputs a shooting mode instruction, a shooting condition instruction, a RAW mode instruction, a shooting start instruction (release). (By button). Note that the RAW mode is a mode in which image data is recorded without performing various image processes in the photographing process.
[0038]
The power supply unit 22 controls the voltage of the camera battery 23 or the voltage of power input to the external power supply terminal 24 to supply power to each unit of the electronic camera.
Note that the electronic camera having the above-described configuration may be configured to be connectable to a communication line, and an image file or the like may be exchanged via this communication line.
[0039]
Next, an image processing parameter and print correction information determination table for each image processing item stored in the ROM 9 will be described.
FIG. 2 is a table showing image processing parameters for each image processing item stored in the ROM 9. These image processing items are also photographing modes.
[0040]
As shown in the figure, each image processing item has a plurality of settings, and has an image processing parameter composed of a data length and the number of data corresponding to each setting. For example, the image processing item / contrast has three settings of low, standard, and high. When the standard is set in the photographing process, the image processing parameter corresponding to the standard has a data length of 8 bits and the number of data. Is selected, and the gradation table 2 is used to perform contrast (gradation conversion) processing.
[0041]
FIGS. 3A and 3B are diagrams showing a print correction information determination table stored in the ROM 9. FIG. 4A shows a correction mode selection table, and FIG. 4B shows a correction condition change table.
The correction mode selection table shown in FIG. 5A is a table for designating a correction mode (print correction information) based on the set shooting mode and shooting conditions. Each shooting mode (movie mode, scene mode, filter, strobe mode) and each shooting condition (scene brightness, subject distance, shutter speed, aperture, strobe, angle of view) In this case, one correction mode (any one of standard, portrait, landscape, sports, evening scene, night scene, backlight, macro, sepia, monochrome, and no correction) is designated for each setting. Each shooting mode and each shooting condition are given priorities.
[0042]
In this embodiment, from the correction mode selection table, one correction mode based on the highest priority order or the top two priority orders based on the priority order of the set shooting modes and shooting conditions. Two correction modes are specified. For example, in the shooting process, when the scene mode / sport (priority order: 1), filter / skin color (priority order: 2), and shutter speed / high speed (priority order: 5) are set, the scene mode with the highest priority order. / Correction mode instructed based on sports / One correction mode for sports, or the correction mode / sport and the next highest priority filter / correction mode instructed based on skin color / person The correction mode is designated.
[0043]
Also, the correction condition change table shown in FIG. 5B is a table for designating items (correction condition change, print correction information) that are not corrected based on the set shooting mode. As shown by the crosses in (b) in the figure, in each shooting mode (exposure mode, metering mode, exposure correction, contrast, saturation, white balance, sharpness, ISO sensitivity), one correction is made for each setting. An item not to be performed (one of brightness, contrast, white balance, saturation, and sharpness) is instructed. However, no item is instructed for items not marked with a cross.
[0044]
In the present embodiment, items for which correction is not performed are specified from the correction condition change table based on the set shooting mode. For example, when exposure correction / + 1 step, contrast / high, and white balance / sunlight are set in the shooting process, the brightness, contrast, and white balance that are instructed based on them are not corrected (correction) Condition change).
[0045]
Next, the configuration of an image processing apparatus with a printing function (hereinafter simply referred to as a printer apparatus) included in the electronic camera system will be described.
FIG. 4 is a block diagram of the printer apparatus. The printer apparatus shown in the figure is a sublimation type thermal transfer type printer apparatus that uses, for example, an ink ribbon made of Y (yellow), M (magenta), and C (cyan), and prints on a sheet by a surface sequential method. is there.
[0046]
In the figure, a system controller (system controller) 31 includes a CPU (central processing unit), controls each part of the printer device, and performs various operations such as white balance processing and color conversion processing on image data. Perform image processing. This image processing is the same as the image processing performed in the photographing process of the electronic camera. In addition, various image quality correction processes are performed to correct image brightness / saturation / saturation, hue, and the like based on image data during printing (automatic image quality correction process).
[0047]
An ASIC (Application Specific Integrated Circuit) unit 32 performs image data compression / decompression processing, image data resizing processing, and the like according to the JPEG (Joint Photographic Experts Group) method.
The memory I / F (interface) 33 provides an interface function for transferring data to and from the memory card 35 inserted into the card slot 34, and includes a semiconductor memory capable of reading and writing data. The image file is written into the memory card 35 configured as described above, or the image file is read out from the memory card 35.
[0048]
The RAM 36 is a random access memory used not only as a buffer memory for temporarily storing image data but also as a work storage area for various processes by the system controller 31.
The ROM 37 is a read-only memory in which a control program for causing the CPU included in the system controller 31 to control each unit constituting the printer device, and calculation data necessary for various processes are stored. It is.
[0049]
The external I / F (interface) 38 provides an interface function for exchanging data with a personal computer connected to the PC connection terminal 39, and outputs an image file or the like to the personal computer. Alternatively, input processing such as an image file from a personal computer is performed.
[0050]
The video memory 50 is a memory for temporarily storing image data for display obtained by image processing in the syscon 31. This image data is then read from the video memory 50 and is output to the video output circuit 51. Is converted into an image signal which is a video signal. When this image signal is input to the image display LCD 52, an image is displayed. The image signal can also be sent to another device via the video-out terminal 53.
[0051]
The thermal head control unit 40 reads image data for printing obtained by various image processing such as automatic image quality correction processing in the syscon 31 for each line data, and drives (heats) the thermal head 41 based on this. Thus, printing is performed by sublimating and absorbing the dye of the ink ribbon 43 on the paper 42.
[0052]
The paper transport control circuit 44 controls the paper transport unit 45 to correspond to the sequential application of each ink so that the Y, M, and C ink ribbons 43 are overlaid. The paper 42 is transported.
The operation unit 47 includes various keys, buttons, switches, and the like for transmitting various instructions received from the user to the syscon 31. For example, the user selects an image selection instruction (using a cross key or the like), an image processing instruction, and a print instruction (printing). (By button).
[0053]
The power supply unit 48 controls the voltage of the power input to the external power supply terminal 49 to supply power to each unit constituting this printer apparatus.
Note that the printer apparatus having the above-described configuration may be configured such that an image file or the like is directly exchanged with an external apparatus such as an electronic camera via a cable or the like. Further, it may be configured to be connectable to a communication line, and an image file or the like may be exchanged via this communication line.
[0054]
Next, an operation process of the electronic camera and printer apparatus having the above-described configuration included in the electronic camera system will be described. Here, in particular, a description will be given focusing on processing performed to obtain an image when image processing is performed with different image processing parameters set in the shooting processing after the shooting processing.
[0055]
FIG. 5 is a flowchart illustrating an example of photographing processing performed by the electronic camera. Note that the processing shown in the figure is processing performed by the system controller 7 executing a control program stored in the ROM 9.
As shown in the figure, first, until a shooting instruction (release button on) from the user is received via the operation unit 21 (step (hereinafter simply referred to as S) 507 is N), a shooting mode instruction (from the user) ( S501), an imaging condition instruction (S503), and a RAW mode instruction (S505) are accepted. When a shooting mode instruction (Y in S501), a shooting condition instruction (Y in S503), or a RAW mode instruction (Y in S505) is received from the user, the shooting mode (S502) and shooting conditions (S504) according to the instructions are received. , RAW mode (S506) is set.
[0056]
When a shooting instruction (release button on) is received from the user (S507 is Y), based on the shooting mode and shooting conditions set according to the above-described instruction from the user and the object scene to be captured. The imaging process is performed (S508). In this imaging process, a subject image (field of view) formed by the zoom lens system 1 is photoelectrically converted (captured) by the imaging device 2, and an image signal that is the converted output is A / A via the imaging circuit 3. The digital data image data (RAW data) input to the D conversion circuit 4 and obtained by the A / D conversion is stored in the RAM 10.
[0057]
Subsequently, print correction information creation processing is performed based on the set shooting mode and shooting conditions (S509). This process determines print correction information based on the set shooting mode and shooting conditions from the correction mode selection table (see FIG. 3A) and the correction condition change table (see FIG. 3B). It is a process to create. However, when the RAW mode is set, two print correction information of the first candidate (mode 1) and the second candidate (mode 2) are created, and when the RAW mode is not set, the first candidate (mode 1) is created. ) Only print correction information. This print correction information will be described later with reference to FIGS. 6 (a) and 6 (b).
[0058]
Subsequently, an image (captured scene image) based on the image data (RAW data) stored in the RAM 10 is analyzed, and an image processing parameter for each image processing item at the time of shooting is set based on the analysis result. (S510). However, when a predetermined setting has already been performed according to the shooting mode instruction from the user, an image processing parameter corresponding to the setting is set. For example, when the saturation, which is one of the shooting modes, is set to the standard by the user, the color conversion matrix 2 corresponding to the standard is set as the image processing parameter for the saturation. As described above, the image processing parameter for each image processing item at the time of shooting is set according to the shot scene and the instruction from the user.
[0059]
Subsequently, it is determined whether or not the RAW mode is set (S511). When the RAW mode is set (S511 is Y), the image processing of S513 to S516 and the compression processing of S517 are not performed and the image is processed. The supplementary information is attached to the data (RAW data) and recorded as one image file on the memory card (S512). However, the incidental information at this time includes a plurality of parameter groups each including a plurality of parameters necessary for executing image processing of one image processing item, and includes four print correction information and the like. Is included. The file structure of the image file recorded at this time will be described later with reference to FIG.
[0060]
On the other hand, when the RAW mode is not set (N in S511), the image processing of S513 to S516 is performed using the image processing parameters for each image processing item at the time of shooting set in the processing of S510 described above. . That is, AWB (auto white balance) processing is performed on the image data (RAW data) using the set gain (S513), and then color conversion (saturation) processing is performed using the set color conversion matrix. (S514), gradation conversion (contrast) processing is performed using the next set gradation table (S515), and edge enhancement (sharpness) processing is performed using the next set intensity (S514). S516).
[0061]
Subsequently, JPEG compression processing by the ASIC unit 8 is performed on the image data subjected to these image processing (S517), and additional information is attached to the compressed image data and recorded as one image file on the memory card. (S512). The file structure of the image file recorded at this time will be described later with reference to FIG.
[0062]
When shooting is performed in such a shooting process with the RAW mode set, a plurality of images required to execute image processing of at least one image processing item on the image data (RAW data) before the image processing is performed. Attached information including a plurality of sets of parameters consisting of these parameters is added to each image processing item, and is recorded on the memory card as one image file.
[0063]
  Next, the aforementioned S509The print correction information created by the process will be described. FIG. 6 (a) is a table showing data (print correction information) corresponding to each correction mode and an item (correction condition change) for which each correction is not performed, and FIG. 6 (b) is the created print correction. It is an example of information.
[0064]
The print correction information is based on the upper 4-bit data indicating the correction mode (see the correction mode selection table in FIG. 3A) designated based on the set shooting mode and shooting conditions, and the set shooting mode. It consists of lower 5 bits of data indicating items that are not subjected to the specified correction (see the correction condition change table in FIG. 3B).
[0065]
That is, the upper 4 bits of the print correction information are constituted by the data shown in FIG. 6A corresponding to the designated correction mode, and the lower 5 bits thereof correspond to items for which the designated correction is not performed. It consists of the logical OR of the data shown in a).
[0066]
For example, the print correction information that is created when landscape is specified as the correction mode and brightness and white balance are specified as items that are not to be corrected is based on the specified correction mode from the table shown in Fig. The upper 4 bits are composed of 0010 corresponding to the landscape, and the items not subjected to the specified correction are brightness and white balance, and the lower 5 bits are 10000 (brightness) and 00100 (white balance). ), Which is 10100, which is the logical sum of 001010100, as shown in FIG.
[0067]
  However, S50 in FIG.9The first candidate print correction information (mode 1) described in the above processing is designated based on the correction mode indicated by the upper 4 bits based on the highest priority among the set shooting modes and shooting conditions. Print correction information when the correction mode is set. The second candidate print correction information (mode 2) is print correction information when the correction mode is designated based on the set shooting mode and shooting conditions based on the second priority. .
[0068]
Next, the file structure of the image file recorded on the memory card in the process of S512 in FIG. 5 will be described.
FIG. 7A shows an example of the file structure (RAW file format) of an image file recorded when the RAW mode is set, and FIG. 7B shows the case when the RAW mode is not set. 2 is an example of a file structure (other than a RAW file format) of an image file recorded in the file.
[0069]
As shown in FIG. 5A, the file structure of the image file recorded when the RAW mode is set includes a file identifier, an image size, 13 types of image processing parameters, and image processing parameters set at the time of shooting. , Print correction identifiers, incidental information including four types of print correction information, and image data.
[0070]
The file identifier indicates that the image file is an image file recorded when the RAW mode is set (in the RAW file format), and is represented by a fixed value of 2 bytes.
The image size indicates the width and height of the image and is represented by 2 bytes.
[0071]
The 13 types of image processing parameters indicate all the image processing parameters for each image processing item performed in the photographing process, and are composed of a plurality of image processing parameters necessary for executing image processing of one image processing item. Four sets of parameters are included for each image processing item. The image processing parameters are 1024 bytes for the gradation tables 1, 2, and 3, 18 bytes for the color conversion matrices 1, 2, and 3, 4 bytes for the gains 1, 2, 3, and 4, and intensity 1, 2, 3 Are each represented by 2 bytes.
[0072]
The image processing parameter set at the time of shooting indicates the data name of the image processing parameter for each image processing item set in the processing of S510 in FIG. 5, and is represented by 1 byte. Actually, the data name of the image processing parameter of each image processing item is shown for every 2 bits from the top of the 1 byte (8 bits). For example, the most significant 2 bit data is the data name of the contrast image processing parameter, the next 2 bit data is the data name of the saturation image processing parameter, the next 2 bit data is the data name of the white balance image processing parameter, The final 2-bit data indicates the data name of the sharpness image processing parameter.
[0073]
The print correction identifier indicates that the image file is an image file including four pieces of print correction information, and is represented by a fixed value of 2 bytes.
The four types of print correction information include print correction information for the first candidate (mode 1), print correction information for the second candidate (mode 2), print correction information with a standard correction mode (standard: 0), and a correction mode of This indicates print correction information without correction (no correction: 320), each represented by 2 bytes. These print correction information are a plurality of parameters necessary for executing image processing for printing.
[0074]
The image data indicates RAW data (RGB RAW data) and is represented by width × height × 3 bytes.
In addition, the incidental information may include a shooting condition or a shooting date set at the time of shooting.
[0075]
As shown in FIG. 7B, the file structure of the image file recorded when the RAW mode is not set includes a file identifier, an image size, four types of image processing parameters, a print correction identifier, and It consists of incidental information including print correction information and image data.
[0076]
The file identifier indicates that the image file is an image file recorded when the RAW mode is not set (other than the RAW file format), and is represented by a fixed value of 2 bytes.
The image size indicates the width and height of the image and is represented by 2 bytes.
[0077]
The four types of image processing parameters are the image processing parameters set at the time of shooting set in the processing of S510 in FIG. 5, and in FIG. 7B, gradations are set as image processing parameters set at the time of shooting. An example is shown in which table 2, color conversion matrix 1, gain 1, and intensity 3 are set.
[0078]
The print correction identifier indicates that the image file is an image file including one piece of print correction information, and is represented by a fixed value of 2 bytes.
The print correction information indicates the first candidate print correction information (mode 1), and is represented by 2 bytes.
[0079]
The image data indicates the image data that has been subjected to the JPEG compression process in S517 of FIG. 5, and is represented by a data size that depends on the image data.
In addition, the incidental information may include a set shooting condition, a shooting date, and the like.
[0080]
Next, image processing and printing processing based on an image file performed by the printer apparatus will be described. These processes are processes performed by the system controller 31 executing a control program stored in the ROM 37.
FIG. 8 is a flowchart illustrating an example of image processing performed by the printer apparatus. However, in the flow shown in the figure, an image based on an image file in the RAW file format is sent in accordance with an instruction from the user in a state where a memory card in which an image file in the RAW file format is recorded is installed in the card slot 34. This processing is executed when an image processing instruction is issued. Accordingly, this flow is not executed when an image processing instruction is performed on an image based on an image file other than the RAW file format. This image processing instruction is requested by the user, for example, what kind of image would have been obtained when image processing was performed with different image processing parameters set in the shooting processing after the shooting processing by the electronic camera. This is done at the time.
[0081]
As shown in the figure, first, an RAW file format image file instructed by the user is read from the memory card and opened (S801).
Subsequently, incidental information (header information) and image data (RAW data) are read from the image file, the image data is resized, and a reduced image of 160 × 120 pixels is created (S802, S803).
[0082]
Subsequently, processing is performed to allow the user to select image processing parameters (image processing parameters for each image processing item) used in the image processing of S814 to S817 according to preference (S804 to 811). Note that the image processing in S814 to S817 is the same as the image processing (S513 to S516 in FIG. 5) performed in the shooting processing, so the image processing parameters used in each of the image processing in S814 to S817 are set according to preference. By allowing the user to make a selection, the user's request can be answered.
[0083]
Specifically, first, in order to allow the user to select an image processing parameter for white balance (WB) processing, four image processing parameters (gain 1) for white balance processing included in the accompanying information are included in the above-described reduced image. 2, 3, 4) are used to create four reduced processed images that have undergone white balance processing (S <b> 804).
[0084]
Subsequently, color conversion (saturation) processing (S806) and gradation conversion (contrast) processing (for each of the four reduced processing images based on the image processing parameters set at the time of shooting included in the supplementary information ( In step S807, edge enhancement (sharpness) processing (S808) is performed, and the four reduced processing images subjected to these processing are collectively displayed on the image display LCD 52 (S808).
[0085]
Subsequently, an image selection instruction from the user is received via the operation unit 47 (S809), and when a predetermined reduced processing image is selected from the four reduced processing images displayed at once (Y in S809), The image processing parameter for white balance processing corresponding to the selected reduced processing image is selected (set) as the image processing parameter used in the white balance processing in S814.
[0086]
In other words, the four reduced processing images displayed in a batch are different only in the image processing parameters of the white balance processing, and the image processing parameters of the other color conversion processing, gradation processing, and edge enhancement processing are the same. Image processing parameters) are used to perform image processing. Accordingly, when the user selects a desired reduced processing image from among the four reduced processing images, the image processing parameters for white balance processing corresponding to the selected reduced processing image are selected.
[0087]
At this point, image processing items (saturation, contrast, sharpness) for which no image processing parameter has been selected still remain (S810: N). Next, an image processing item for the image processing parameter to be selected by the user is selected. The saturation is changed (S811), and the process returns to S804.
[0088]
However, since the image processing parameters of the white balance processing have already been selected at this time, in the processing of S804, white balance processing is performed on the reduced image obtained by the processing of S803 using the selected image processing parameters. One reduced image is created.
[0089]
Subsequently, the reduced image is subjected to color conversion processing using each of the three image processing parameters (color conversion matrices 1, 2, 3) of color conversion (saturation) processing included in the supplementary information. Three reduced images are created (S805).
Subsequently, gradation conversion processing (S806) and edge enhancement processing (S807) are performed on each of the three reduced processing images based on the image processing parameters set at the time of shooting included in the supplementary information. The three reduced processed images that have been processed are collectively displayed on the image display LCD 52 (S808).
[0090]
Subsequently, an image selection instruction from the user is accepted via the operation unit 47 (S809), and when a predetermined reduced processing image is selected from the three reduced processing images displayed at once (Y in S809), The image processing parameter of the color conversion process corresponding to the selected reduced image is selected (set) as the image processing parameter used in the color conversion process of S815.
[0091]
Even at this point, image processing items (contrast and sharpness) for which no image processing parameter has been selected still remain (S810: N), and the image processing parameter of the image processing parameter to be selected by the user is then changed to contrast. (S811), the process returns to S804 again.
[0092]
However, since the image processing parameters for the white balance process and the color conversion process have already been selected at this time, the selected image processing parameters are used for the reduced image obtained in the process of S803 in the processes of S804 and S805. Then, white balance processing and color conversion processing are performed to create one reduced processed image.
[0093]
Subsequently, the reduced image is subjected to gradation conversion processing using each of the three image processing parameters (gradation tables 1, 2, 3) of gradation conversion (contrast) processing included in the accompanying information. The three reduced processed images are created (S806).
Subsequently, edge enhancement processing (S807) is performed on each of the three reduced processing images based on the image processing parameters set at the time of shooting included in the supplementary information, and the three reduction processings in which this processing has been performed are performed. The images are collectively displayed on the image display LCD 52 (S808).
[0094]
Subsequently, an image selection instruction from the user is accepted via the operation unit 47 (S809), and when a predetermined reduced processing image is selected from the three reduced processing images displayed at once (Y in S809), The image processing parameter of the gradation conversion process corresponding to the selected reduced image is selected (set) as the image processing parameter used in the gradation conversion process of S816.
[0095]
At this point in time, image processing items (sharpness) for which no image processing parameter has been selected still remain (N in S810). Next, the image processing item of the image processing parameter to be selected by the user is changed to sharpness ( S811), the process returns to S804 again.
[0096]
However, since the image processing parameters for white balance processing, color conversion processing, and gradation conversion processing have already been selected at this time, in the processing in S804 to S806, the selected image is added to the reduced image obtained in S803. Using the processing parameters, white balance processing, color conversion processing, and gradation conversion processing are performed to create one reduced processing image.
[0097]
Subsequently, the reduced image is subjected to edge enhancement processing using each of the three image processing parameters (intensities 1, 2, 3) of edge enhancement (sharpness) processing included in the accompanying information. Reduction-processed images are created (S807), and these are collectively displayed on the image display LCD 52 (S808).
[0098]
Subsequently, an image selection instruction from the user is accepted via the operation unit 47 (S809), and when a predetermined reduced processing image is selected from the three reduced processing images displayed at once (Y in S809), The image processing parameter for edge enhancement processing corresponding to the selected reduced processing image is selected (set) as the image processing parameter used in the edge enhancement processing in S817.
[0099]
When all the image processing parameters for each image processing item are selected in this way (Y in S810), the image data (RAW data) of the image file is read again (S812) and the file is closed (S813). .
Subsequently, using the image processing parameters for each image processing item selected by the user for the read image data (full size), white balance (AW) processing (S814), color conversion (saturation) processing (S815). ), Gradation conversion (contrast) processing (S816), and edge enhancement (sharpness) processing (S817), and an image based on the image data subjected to these processings is displayed on the image display LCD 52 (S818). Note that the image data at this time may be recorded on the memory card in accordance with an instruction from the user.
[0100]
By such processing, it is possible to obtain an image when image processing is performed with different image processing parameters set in the shooting processing after the shooting processing. Therefore, the above-mentioned user's request can be answered.
Subsequently, a print instruction from the user is received via the operation unit 47 (S819). When a print instruction is received (S819 is Y), the process proceeds to print processing described later with reference to FIG.
[0101]
In the present flow, the reduction processing image display (S808) and image display (S818) may be displayed on a PC display or the like via the PC connection terminal 39, and the video out terminal 53 may be displayed. It may be displayed on another display device. Further, the order of image processing parameters to be selected by the user is not limited to the order of white balance, saturation, contrast, and sharpness.
[0102]
FIG. 9 is a diagram showing a display example of reduced processing images that are collectively displayed on the image display LCD 52 in the processing of S808. This figure shows, as an example, a display screen displayed when the user selects an image processing parameter for contrast (gradation conversion processing).
[0103]
As shown in the figure, the upper left is the reduced image based on the gradation table 1, the upper right is the reduced image based on the gradation table 2, and the lower left is the reduced image based on the gradation table 3. In this way, the reduced processing images displayed in a batch are regularly arranged in order to make it easier for the user to confirm the difference due to the difference in the image processing parameters.
[0104]
Further, as a reference when the user selects an image, a star is displayed below the reduced processing image based on the same image processing parameter as the image processing parameter set at the time of shooting. This is the case in the lower left image. That is, it can be seen that the gradation table 3 was set as a contrast image processing parameter at the time of photographing. A selection frame in the figure indicates a selection target when the user selects an image, and is moved by a cross key.
[0105]
Although display examples of other image processing items are not shown, the reduced processing images displayed in a batch are regularly arranged in order as in the above display examples, and image processing set at the time of shooting is performed. In the reduced processed image based on the same image processing parameter as the parameter, an asterisk is displayed below it.
[0106]
Next, print processing performed by the printer apparatus will be described. In this print processing, when a plurality of print correction information is included in the incidental information of the image file to be printed, a favorite image is selected from the plurality of images processed based on each print correction information. The selected image is printed.
[0107]
FIG. 10 is a flowchart showing an example of this print processing.
As shown in the figure, when there is a print instruction for an image of a predetermined image file, the print correction identifier is read from the accompanying information of the image file, and the number of print correction information is determined, The print correction information is read (S1001). However, here, the image of the image file to be printed will be described as an image displayed by the processing of S818 in FIG. Therefore, in the process of S1001, the number of print correction information is determined to be four, and the first candidate print correction information (mode 1) and the second candidate print correction information (mode 2) are the four print correction information. Standard print correction information (: 0) and uncorrected print correction information (: 320) are read out.
[0108]
Subsequently, image analysis of the image (image data) displayed in the processing of S818 in FIG. 8 is performed (S1002), and processing is performed based on each print correction information based on the analysis result and the read four print correction information. A process of causing the user to select a favorite image from the four images thus performed is performed (S1003 to SS1012).
[0109]
Specifically, first, an image quality correction amount is calculated based on the print correction information of the first candidate and the above-described image analysis result (S1003). Specifically, based on the correction mode and the image analysis result indicated in the print correction information of the first candidate, the image quality correction amount in the subsequent contrast correction processing, the image quality correction amount in the brightness correction processing, and the white balance correction processing The image quality correction amount, the image quality correction amount in the saturation correction processing, and the image quality correction amount in the sharpness correction processing are calculated.
[0110]
Subsequently, based on the calculated image quality correction amounts, contrast correction processing (S1004), brightness correction processing (S1005), white balance correction processing (S1006), saturation correction processing (S1007), and sharpness correction processing (S1008). I do. However, if an item for which correction is not performed (correction change condition) is indicated in the print correction information of the first candidate, the correction processing for that item is skipped.
[0111]
In this way, when an image processed based on the print correction information of the first candidate is created, it is displayed on the image display LCD 52 (S1009).
Such processing is similarly performed for the second candidate print correction information (mode 2), standard print correction information, and uncorrected print correction information, and the processing is performed based on each print correction information 4. When one image is displayed on the image display LCD 52 (Y in S1010), next, an image selection instruction from the user is received via the operation unit 47 (S1012), and the four images displayed on the image display LCD 52 are selected. When a predetermined image is selected (S1012 is Y), the selected image is actually printed on a sheet (S1013), and the flow ends.
[0112]
By such processing, it becomes possible to print an image according to the user's preference. In the present embodiment, the electronic camera may perform the processing up to S818 of the image processing shown in FIG.
[0113]
【The invention's effect】
As described above in detail, according to the present invention, it is possible to obtain an image when image processing is performed with different image processing parameters set in the shooting processing after the shooting processing.
[Brief description of the drawings]
FIG. 1 is a block diagram of an electronic camera included in an electronic camera system according to an embodiment of the present invention.
FIG. 2 is a table showing image processing parameters for each image processing item stored in a ROM.
3A is a correction mode selection table, and FIG. 3B is a correction condition change table.
FIG. 4 is a block diagram of an image processing apparatus (printer apparatus) with a printing function included in the electronic camera system according to the embodiment of the present invention.
FIG. 5 is a flowchart illustrating an example of photographing processing performed by the electronic camera.
6A is a table showing data (print correction information) corresponding to each correction mode and an item (correction condition change) for which each correction is not performed, and FIG. 6B is an example of created print correction information. is there.
7A is an example of a file structure (RAW file format) of an image file recorded when the RAW mode is set, and FIG. 7B is a record when the RAW mode is not set. It is an example of the file structure (other than RAW file format) of an image file.
FIG. 8 is a flowchart illustrating an example of image processing performed by the printer apparatus.
FIG. 9 is a display example of reduced processing images collectively displayed on the image display LCD 52;
FIG. 10 is a flowchart illustrating an example of print processing performed by the printer apparatus.
[Explanation of symbols]
1 Zoom lens system
2 Image sensor
3 Imaging circuit
4 A / D
5 Lens drive control circuit
6 Lens drive unit
7 Syscon
8 ASIC
9 ROM
10 RAM
11 Memory I / F
12 card slots
13 Memory card
14 External I / F
15 External input / output terminal
16 Video memory
17 Video output circuit
18 Image display LCD
19 Video out terminal
20 Strobe flash unit
21 Operation unit
22 Power supply
23 Camera battery
24 External power input terminal
31 Syscon
32 ASIC
33 Memory I / F
34 Card slot
35 Memory card
36 RAM
37 ROM
38 External I / F
39 PC connection terminal
40 Thermal head controller
41 Thermal head
42 paper
43 Ink Ribbon
44 Paper transport controller
45 Paper transport section
46 Paper cartridge
47 Operation unit
48 Power supply
49 External power input terminal
50 video memory
51 Video output circuit
52 Image display LCD
53 Video out terminal

Claims (9)

被写界を撮影し得られた画像データに付帯情報を付けて1つの画像ファイルとして記録媒体に記録する電子カメラであって、
前記付帯情報には少なくとも1つの画像処理項目の画像処理を実行させるのに必要な複数の画像処理パラメータが含まれており、
前記画像処理項目の画像処理を実行する画像処理手段と、
前記画像処理手段による画像処理実行前の画像データを記録する第1の記録モードと前記画像処理手段による画像処理実行後の画像データを記録する第2の記録モードの何れかを設定する記録モード設定手段と、
を更に備え、
前記記録モード設定手段により前記第1の記録モードが設定されたときには、前記付帯情報には、前記画像処理項目毎の画像処理を実行させるのに必要な複数の画像処理パラメータからなるパラメータ群が、前記画像処理項目のそれぞれに対応して1組ずつ含まれる、
ことを特徴とする電子カメラ。
An electronic camera for recording on a recording medium as a single image file by adding incidental information to image data obtained by photographing a scene,
The incidental information includes a plurality of image processing parameters necessary for executing image processing of at least one image processing item ,
Image processing means for executing image processing of the image processing item;
Recording mode setting for setting one of a first recording mode for recording image data before execution of image processing by the image processing means and a second recording mode for recording image data after execution of image processing by the image processing means Means,
Further comprising
When the first recording mode is set by the recording mode setting unit, the auxiliary information includes a parameter group including a plurality of image processing parameters necessary for executing image processing for each image processing item. One set is included corresponding to each of the image processing items ,
An electronic camera characterized by that.
前記記録モード設定手段により前記第2の記録モードが設定されたときには、前記付帯情報には、撮影時に前記画像処理項目毎に設定された画像処理パラメータが含まれており、
前記画像処理手段は、前記設定された画像処理パラメータを使用して画像処理を実行する
ことを特徴とする請求項記載の電子カメラ。
When the second recording mode is set by the recording mode setting means, the auxiliary information includes an image processing parameter set for each image processing item at the time of shooting,
The image processing means executes image processing using the set image processing parameters ;
The electronic camera according to claim 1 .
撮影された被写界に応じて、1つの画像処理項目の画像処理を実行させるのに必要な複数のパラメータの中から1つのパラメータを設定する第1の設定手段、
を更に備えたことを特徴とする請求項1又は2記載の電子カメラ。
A first setting means for setting one parameter from a plurality of parameters necessary for executing image processing of one image processing item in accordance with the captured scene;
Furthermore according to claim 1 or 2 electronic camera according to comprising the.
前記付帯情報には、前記第1の設定手段により設定されたパラメータが更に含まれる、
ことを特徴とする請求項記載の電子カメラ。
The incidental information further includes a parameter set by the first setting means.
The electronic camera according to claim 3 .
ユーザからの指示に応じて、1つの画像処理項目の画像処理を実行させるのに必要な複数のパラメータの中から1つのパラメータを設定する第2の設定手段、
を更に備えたことを特徴とする請求項1又は2記載の電子カメラ。
A second setting means for setting one parameter from a plurality of parameters necessary for executing image processing of one image processing item in accordance with an instruction from the user;
Furthermore according to claim 1 or 2 electronic camera according to comprising the.
前記付帯情報には、前記第2の設定手段により設定されたパラメータが更に含まれる、
ことを特徴とする請求項記載の電子カメラ。
The incidental information further includes a parameter set by the second setting means.
The electronic camera according to claim 5 .
前記画像処理項目には、少なくとも階調、ホワイトバランス、シャープネス、彩度のうちの何れか1つが含まれる、
ことを特徴とする請求項1、2、3、4、5、又は6記載の電子カメラ。
The image processing item includes at least one of gradation, white balance, sharpness, and saturation.
The electronic camera according to claim 1, 2, 3, 4, 5, or 6 .
前記付帯情報には、プリントのための画像処理を実行させるのに必要な複数のパラメータが更に含まれる、
ことを特徴とする請求項1、2、3、4、5、6、又は7記載の電子カメラ。
The auxiliary information further includes a plurality of parameters necessary for executing image processing for printing.
The electronic camera according to claim 1, 2, 3, 4, 5, 6, or 7 .
前記プリントのための画像処理を実行させるのに必要な複数のパラメータには、設定された撮影モード及び撮影条件に基づいて得られた1つ又は複数のプリント補正情報、標準のプリント補正情報、及び補正無しのプリント補正情報が含まれる、
ことを特徴とする請求項記載の電子カメラ。
The plurality of parameters necessary for executing the image processing for printing include one or a plurality of print correction information obtained based on the set shooting mode and shooting conditions, standard print correction information, and Contains print correction information without correction,
The electronic camera according to claim 8 .
JP2001131248A 2001-04-27 2001-04-27 Electronic camera Expired - Lifetime JP4383004B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001131248A JP4383004B2 (en) 2001-04-27 2001-04-27 Electronic camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001131248A JP4383004B2 (en) 2001-04-27 2001-04-27 Electronic camera

Publications (2)

Publication Number Publication Date
JP2002330388A JP2002330388A (en) 2002-11-15
JP4383004B2 true JP4383004B2 (en) 2009-12-16

Family

ID=18979471

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001131248A Expired - Lifetime JP4383004B2 (en) 2001-04-27 2001-04-27 Electronic camera

Country Status (1)

Country Link
JP (1) JP4383004B2 (en)

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004289450A (en) 2003-03-20 2004-10-14 Canon Inc Method, apparatus, and program for information processing , and storage medium for storing program
JP2005215353A (en) * 2004-01-29 2005-08-11 Seiko Epson Corp Image data generating device for generating image data reproducible with a plurality of gradation characteristics and image reproducing device corresponding thereto
US7880771B2 (en) 2004-03-16 2011-02-01 Olympus Corporation Imaging apparatus, image processing apparatus, image processing system and image processing method
JP2006115475A (en) 2004-09-15 2006-04-27 Seiko Epson Corp Image processor, image processing method and image processing program
JP4466378B2 (en) 2005-01-11 2010-05-26 株式会社ニコン History adding device, electronic camera, and image processing program
JP4609170B2 (en) * 2005-04-18 2011-01-12 ソニー株式会社 Imaging apparatus, image processing apparatus and method, and computer program
JP4962295B2 (en) * 2005-09-30 2012-06-27 セイコーエプソン株式会社 Image processing apparatus and image processing program
JP2007324965A (en) * 2006-06-01 2007-12-13 Fujifilm Corp Digital camera, photography control method, and image output system
JP4862720B2 (en) * 2007-03-27 2012-01-25 セイコーエプソン株式会社 Information processing method, information processing apparatus, program, and storage medium
JP2008271058A (en) * 2007-04-18 2008-11-06 Seiko Epson Corp Information processing method, information processing apparatus, and program
JP2008283282A (en) * 2007-05-08 2008-11-20 Seiko Epson Corp Development processor for undeveloped image data, development processing method, and computer program for development processing
US8125533B2 (en) 2007-05-08 2012-02-28 Seiko Epson Corporation Undeveloped image data developing apparatus, method for developing undeveloped image data, and computer program for developing undeveloped image data
JP2009159224A (en) * 2007-12-26 2009-07-16 Nikon Corp Image data recording device, image processing device, and camera
JP4900361B2 (en) * 2008-10-21 2012-03-21 ソニー株式会社 Image processing apparatus, image processing method, and program
JP2009081885A (en) * 2009-01-05 2009-04-16 Seiko Epson Corp Output adjustment of image data
JP5371489B2 (en) 2009-03-05 2013-12-18 キヤノン株式会社 Image management apparatus, control method therefor, program, and storage medium
US8605166B2 (en) 2009-12-25 2013-12-10 Samsung Electronics Co., Ltd. Photographing apparatus, photographing method and recording medium
JP5679675B2 (en) * 2010-02-23 2015-03-04 キヤノン株式会社 Content providing apparatus, content providing apparatus processing method, and program
JP5743456B2 (en) * 2010-08-20 2015-07-01 キヤノン株式会社 Image processing apparatus, image processing method, and imaging apparatus

Also Published As

Publication number Publication date
JP2002330388A (en) 2002-11-15

Similar Documents

Publication Publication Date Title
JP4383004B2 (en) Electronic camera
US7944483B2 (en) Apparatus, method and program for photography
US7633523B2 (en) Image capturing device using correction information for preventing at least a part of correction process from being performed when image data is corrected at an external device
JP4163412B2 (en) Printing system, image processing apparatus and method
JP4281189B2 (en) Image data processing method, printer, and recording medium recording image data processing program
JP3579902B2 (en) Digital camera
JP2003134520A (en) Digital camera
JP5305937B2 (en) Image processing apparatus, image processing method, and program
JP2002156711A (en) Printer and electronic camera
JP2002238013A (en) Electronic camera and electronic camera system
JP2002344799A (en) Electronic camera, recording medium, and electronic camera system
JP4434512B2 (en) Electronic camera, image forming apparatus, and electronic camera system
JP2007081478A (en) Printing system, imaging apparatus and control method thereof, printer, program and storage medium
JP5888442B2 (en) Image data output adjustment apparatus, image data output adjustment method, image data output adjustment program, and imaging apparatus
JP2002237988A (en) Electronic camera and electronic camera system
JP3858859B2 (en) Image data output adjustment
JP2009078565A (en) Image processing device
JP4270204B2 (en) Image data output adjustment
JP5018828B2 (en) Image photographing apparatus and image photographing program
JP5341050B2 (en) Printer device and image forming method of printer device
JP5146559B2 (en) Image data processing method, printer, and recording medium on which image data processing program is recorded
JP2004336386A (en) Digital camera and image correction device and method
JP4400942B2 (en) Recording medium, electronic camera, and processing method thereof
JP2005117119A (en) Digital camera
JP5862689B2 (en) Image data output adjustment apparatus, image data output adjustment method, image data output adjustment program, and imaging apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20071213

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090601

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090609

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090731

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090825

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090918

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121002

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 4383004

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121002

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131002

Year of fee payment: 4

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term