JP4460798B2 - Image processing apparatus, image processing method, and electronic camera - Google Patents

Image processing apparatus, image processing method, and electronic camera Download PDF

Info

Publication number
JP4460798B2
JP4460798B2 JP2001172222A JP2001172222A JP4460798B2 JP 4460798 B2 JP4460798 B2 JP 4460798B2 JP 2001172222 A JP2001172222 A JP 2001172222A JP 2001172222 A JP2001172222 A JP 2001172222A JP 4460798 B2 JP4460798 B2 JP 4460798B2
Authority
JP
Japan
Prior art keywords
image
image data
superimposed
data
image processing
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 - Fee Related
Application number
JP2001172222A
Other languages
Japanese (ja)
Other versions
JP2002368977A (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 JP2001172222A priority Critical patent/JP4460798B2/en
Publication of JP2002368977A publication Critical patent/JP2002368977A/en
Application granted granted Critical
Publication of JP4460798B2 publication Critical patent/JP4460798B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、加工指示に応じた画像処理を施す画像処理装置、画像処理方法、及び電子カメラに関する。
【0002】
【従来の技術】
電子カメラには、撮影日付やユーザコメント等の文字を撮影画像に直接重畳(合成)させる文字重畳機能を備えたものがある。この機能は、撮影画像の画像データに対し、日付等の文字データを重畳させ、これをモリカード等の記録媒体に記録させる機能である。この機能によれば、再生時や印刷時に常に画像上に撮影日付等を表示、印刷させることができるので、銀塩カメラで撮影日付を焼き込んで撮影を行っていたユーザには馴染み易い機能である。また、撮影画像の画像データに番号の文字データを重畳させておけば、番号等による撮影画像管理の用途において、印刷時における番号印刷忘れ等を防止することができる。またその他、撮影日付等の改竄防止や、再生時に常に表示される撮影日付により電子カメラの日付設定の誤りを容易に防止できる等の利点が得られる。
【0003】
一方、電子カメラによる撮影により得られた撮影画像はデジタルデータであるため、電子カメラが備えている画像処理機能や外部装置(画像処理装置、パーソナルコンピュータ等)の画像処理手段等を使用して、この撮影画像に対し、ユーザの好みに応じた様々な画像処理、例えば回転処理、リサイズ処理、トリミング処理等を施すことが可能である。
【0004】
【発明が解決しようとする課題】
しかしながら、上記文字重畳記録機能により文字が重畳された撮影画像に対し画像処理が施された場合には種々の問題が発生した。例えば、回転処理が施された場合には文字の配置が不適切になる問題が発生し、また、リサイズ処理が施された場合には文字が小さすぎて読めなかったり、文字が大きすぎて邪魔になったりする等の問題が発生した。また、トリミング処理が施された場合には、文字が除かれてトリミングされたり、文字が分割されてトリミングされたり等の問題が発生した。
【0005】
本発明の課題は、上記実情に鑑み、文字が重畳されている重畳画像に対し画像処理が施されたときに、その文字が適切に重畳されるようにする画像処理装置、画像処理方法、及び電子カメラを提供することである。
【0006】
【課題を解決するための手段】
本発明の第1の態様、画データに対して編集指示に応じた画像処理を施す画像処理装置であって、前記画データ、文字データが重畳された重畳画像データであって、前記文字データが重畳されていない被写体画像データを再現可能であったときは、前記重畳画像データ及び該重畳画像データと前記被写体画像データとの差分データから前記被写体画像データを再現し、該再現された被写体画像データに対して前記編集指示に応じた画像処理を施す画像処理手段と、前記画像処理手段により画像処理が施された前記再現された被写体画像データに前記文字データを重畳し、該文字データを重畳し画像処理が施され再現された被写体画像データを記録する記録制御手段とを備えた画像処理装置である。
【0007】
上記の構成によれば、被写体画像と重畳画像を再現可能な撮影画像に対し画像処理が施されるときには、再現された被写体画像に対し画像処理が施され、これに文字が再重畳されるので、画像処理後に文字が適切に重畳されるようになる。尚、画像処理には、回転処理、リサイズ処理、トリミング処理等が含まれる。
【0009】
また、この構成によれば、被写体画像と重畳画像を再現可能な撮影画像に対し画像処理が施されるときには、重畳画像と差分データから再現された被写体画像に対し画像処理が施され、これに文字が再重畳されるので、画像処理後に文字が適切に重畳されるようになる。また、被写体画像を再現するのに必要なデータ容量をより少なくさせることができる。
【0010】
本発明の第2態様は、画像データに対して編集指示に応じた画像処理を施す画像処理装置であって、記画データ、文字データが重畳された重畳画像データであって、前記文字データが重畳されていない被写体画像データを再現可能であったときは、前記重畳画像データの付帯情報よって関連付けされている前記被写体画像データを読み出して再現し、該再現された被写体画像データに対して前記編集指示に応じた画像処理を施す画像処理手段と、前記画像処理手段により画像処理が施された前記再現された被写体画像データに前記文字データを重畳し、該文字データを重畳し画像処理が施され再現された被写体画像データを記録する記録制御手段とを備えた画像処理装置である。
【0011】
上記の構成によれば、被写体画像と重畳画像を再現可能な撮影画像に対し画像処理が施されるときには、再現された被写体画像に対し画像処理が施され、これに文字が再重畳されるので、画像処理後に文字が適切に重畳されるようになる。尚、画像処理には、回転処理、リサイズ処理、トリミング処理等が含まれる。
また、この構成によれば、被写体画像と重畳画像を再現可能な撮影画像に対し画像処理が施されるときには、重畳画像に関連付けされている被写体画像から再現された被写体画像に対し画像処理が施され、これに文字が再重畳されるので、画像処理後に文字が適切に重畳されるようになる。
本発明の第3の態様は、上記第1又は2の態様において、さらに、前記被写体画像データに文字データが重畳された重畳画像データに対し前記画像処理手段により編集指示に応じた画像処理が施されるときに、該画像処理の内の少なくともリサイズ処理及び回転処理を禁止させる禁止手段と、を備えた構成である。
上記の構成によれば、重畳画像に対し画像処理が施されるときには、画像処理の内の少なくともリサイズ処理及び回転処理が禁止され、リサイズ処理及び回転処理により文字が不適切になるのを防止できる。
本発明の第4の態様は、上記第1又は2の態様において、さらに、前記被写体画像データに文字データが重畳された重畳画像データに対し前記画像処理手段により編集指示に応じた画像処理としてトリミング処理が施されるときに、指定されたトリミング領域が前記文字データを分割させるトリミング領域であった場合は前記トリミング処理を禁止させる禁止手段と、を備えた構成である。
上記の構成によれば、重畳画像に対しトリミング処理が施されるときには、重畳されている文字が分割されるトリミング処理が禁止され、トリミング処理により文字が分割されるのを防止できる。
本発明の第5の態様は、上記第1又は2の態様において、前記記録制御手段は、前記被写体画像データに文字データが重畳された重畳画像データに対し前記画像処理手段により編集指示に応じた画像処理としてトリミング処理が施され、該トリミング処理後の画像データから前記文字データが除かれたときに、該トリミング処理後の画像データに前記文字データを重畳し、該文字データを重畳した前記トリミング処理後の画像データを記録する、構成である。
上記の構成によれば、重畳画像に対しトリミング処理が施され、重畳されていた文字が除かれたときには、そのトリミング処理後の画像に文字が再重畳されるので、トリミング処理後の画像に文字が除かれることが無くなる。
【0012】
本発明の第6態様、画データ対して編集指示に応じた画像処理を施す画像処理方法であって、前記画データ文字データが重畳された重畳画像データであって、前記文字データが重畳されていない被写体画像データを再現可能であったときは、画像処理手段により、前記重畳画像データ及び該重畳画像データと前記被写体画像データとの差分データから前記被写体画像データを再現し、該再現された被写体画像データに対して前記編集指示に応じた画像処理を施し、記録制御手段により、前記画像処理手段により画像処理が施された前記再現された被写体画像データに前記文字データを重畳し、該文字データを重畳し画像処理が施され再現された被写体画像データを記録する画像処理方法である。
【0013】
上記の方法によれば、被写体画像と重畳画像を再現可能な撮影画像に対し画像処理が施されるときには、再現された被写体画像に対し画像処理が施され、これに文字が再重畳されるので、画像処理後に文字が適切に重畳されるようになる。
また、この方法によれば、被写体画像と重畳画像を再現可能な撮影画像に対し画像処理が施されるときには、重畳画像と差分データから再現された被写体画像に対し画像処理が施され、これに文字が再重畳されるので、画像処理後に文字が適切に重畳されるようになる。また、被写体画像を再現するのに必要なデータ容量をより少なくさせることができる。
本発明の第7の態様は、画像データに対して編集指示に応じた画像処理を施す画像処理方法であって、前記画像データが、文字データが重畳された重畳画像データであって、前記文字データが重畳されていない被写体画像データを再現可能であったときは、画像処理手段により、前記重畳画像データの付帯情報によって関連付けされている前記被写体画像データを読み出して再現し、該再現された被写体画像データに対して前記編集指示に応じた画像処理を施し、記録制御手段により、前記画像処理手段により画像処理が施された前記再現された被写体画像データに前記文字データを重畳し、該文字データを重畳し画像処理が施され再現された被写体画像データを記録する画像処理方法である。
上記の方法によれば、被写体画像と重畳画像を再現可能な撮影画像に対し画像処理が施されるときには、再現された被写体画像に対し画像処理が施され、これに文字が再重畳されるので、画像処理後に文字が適切に重畳されるようになる。
また、この方法によれば、被写体画像と重畳画像を再現可能な撮影画像に対し画像処理が施されるときには、重畳画像に関連付けされている被写体画像から再現された被写体画像に対し画像処理が施され、これに文字が再重畳されるので、画像処理後に文字が適切に重畳されるようになる。
本発明の第8態様は、被写体を撮像して被写体画像データを得る撮像手段と、撮影画像データとして、前記撮像手段により得られた被写体画像データに文字データが重畳された重畳画像データと、該重畳画像データと前記被写体画像データとの差分データとを記録する記録制御手段と、前記撮影画像データに対して編集指示がなされたときに、前記撮影画像データが、文字データが重畳された重畳画像データであって、前記文字データが重畳されていない被写体画像データを再現可能であったときは、前記重畳画像データ及び前記差分データから前記被写体画像データを再現し、該再現された被写体画像データに対して前記編集指示に応じた画像処理を施す画像処理手段と、前記画像処理手段により画像処理が施された前記再現された被写体画像データに前記文字データを重畳し、該文字データを重畳し画像処理が施され再現された被写体画像データを記録する重畳記録制御手段とを備えた電子カメラである。
【0014】
上記の構成によれば、被写体画像と重畳画像を再現可能に記録された撮影画像に対し画像処理が施されるときには、再現された被写体画像に対し画像処理が施され、これに文字が再重畳されるので、画像処理後に文字が適切に重畳されるようになる。
また、この構成によれば、被写体画像と重畳画像を再現可能な撮影画像に対し画像処理が施されるときには、重畳画像と差分データから再現された被写体画像に対し画像処理が施され、これに文字が再重畳されるので、画像処理後に文字が適切に重畳されるようになる。また、被写体画像を再現するのに必要なデータ容量をより少なくさせることができる。
本発明の第9の態様は、被写体を撮像して被写体画像データを得る撮像手段と、撮影画像データとして、前記撮像手段により得られた被写体画像データに文字データが重畳された重畳画像データと前記被写体画像データとを関連付けて記録する記録制御手段と、前記撮影画像データに対して編集指示がなされたときに、前記撮影画像データが、文字データが重畳された重畳画像データであって、前記文字データが重畳されていない被写体画像データを再現可能であったときは、前記重畳画像データの付帯情報によって関連付けされている前記被写体画像データを読み出して再現し、該再現された被写体画像データに対して前記編集指示に応じた画像処理を施す画像処理手段と、前記画像処理手段により画像処理が施された前記再現された被写体画像データに前記文字データを重畳し、該文字データを重畳し画像処理が施され再現された被写体画像データを記録する重畳記録制御手段とを備えた電子カメラである。
上記の構成によれば、被写体画像と重畳画像を再現可能に記録された撮影画像に対し画像処理が施されるときには、再現された被写体画像に対し画像処理が施され、これに文字が再重畳されるので、画像処理後に文字が適切に重畳されるようになる。
また、この構成によれば、被写体画像と重畳画像を再現可能な撮影画像に対し画像処理が施されるときには、重畳画像に関連付けされている被写体画像から再現された被写体画像に対し画像処理が施され、これに文字が再重畳されるので、画像処理後に文字が適切に重畳されるようになる。
【0019】
【発明の実施の形態】
以下、本発明の実施の形態を図面を参照しながら説明する。
図1は、本発明の一実施の形態に係る電子カメラのブロック図である。尚、同図に示した電子カメラは、画像(撮影画像)に加工指示に応じた画像処理を施す画像処理機能(画像処理部)を備えている。
【0020】
同図において、レンズ1は、被写体像をCCD(Charge Coupled Device )2に結像させる撮影光学系である。
CCD2は、結像された被写体像を光電変換して画像を示す電気信号(アナログ信号)を出力する撮像素子である。
【0021】
撮像回路3は、CDS(Correlated Double Sampling:相関二重サンプリング回路)やAGC(Automatic Gain Control:オートゲインコントロールアンプ)等を含んで構成され、CPU_A4の制御の基に、CCD2から出力された電気信号(アナログ信号)のリセット雑音除去や信号レベルの調節等を行う回路である。
【0022】
A/D変換回路5は、撮像回路3の出力信号(アナログ信号)をデジタル信号(デジタルデータ)に変換する回路である。
補正回路6は、A/D変換回路4の出力信号(デジタルデータ、画像データ)に、ホワイトバランスやγ補正等の補正処理を施す回路である。
【0023】
また、フレームメモリ7、CPU_B8、FIFO(First-In First-Out)メモリ9、及び記録バッファ10は、何れもバスライン11に接続されており、このバスライン11を介して、相互にデータの授受が行われる。
フレームメモリ7は、補正回路6から出力された画像データやCPU_B8により処理された画像データ等を一時的に蓄えるバッファメモリとして使用される他、CPU_B8による各種処理のための作業用の記憶領域としても使用されるメモリである。
【0024】
CPU_B8は、CPU_A4の制御の基に、内部に備えられた制御プログラムに従い、画像データの圧縮処理(画像圧縮機能)、画像データの伸張処理(画像伸張機能)、画像データへの各種画像処理(回転処理、リサイズ処理、トリミング処理等)(フレームメモリコントロール機能)、記録媒体への書き込み(記録)及び読み出し等のアクセス制御処理(記録媒体アクセス機能)、及び被写体画像(元画像)と該被写体画像に日付が重畳された重畳画像との差分データを作成する処理(画像差分データ作成手段)等を実行する。尚、画像データの圧縮処理及び伸張処理では、例えばJPEG(Joint Photographic Experts Group)方式による圧縮処理及び伸張処理等が行われる。
【0025】
FIFOメモリ9は、表示用の画像データを一時的に格納するメモリである。例えば、CPU_B8により画像処理された表示用の画像データ等が格納される。
オンスクリーン回路12は、CPU_A4の制御の基に、FIFOメモリ9から出力された画像データに日付等のオンスクリーン情報を重畳する回路である。
【0026】
ビデオ出力回路13は、オンスクリーン回路12から出力された画像データをビデオ信号(画像信号)に変換する回路である。
ビデオ出力端子14は、ビデオ出力回路13から出力されたビデオ信号(画像信号)を外部へ送出するための端子である。
【0027】
TFT(Thin Film Transistor)液晶駆動回路15は、CPU_A4の制御の基に、オンスクリーン回路12から出力された画像データに基づいてTFTパネル(TFT液晶)16を駆動する回路である。
TFTパネル16は、TFT駆動回路15の駆動に基づき、例えば画像データに基づく撮影画像等を表示する。
【0028】
バックライトユニット17は、CPU_A4の制御の基に、TFTパネル16の液晶部に、その背面から光を照射する。
記録バッファ10は、記録媒体18への画像データの書き込み時や、記録媒体18からの画像データの読み出し時に、その画像データを一時的に蓄えるメモリである。
【0029】
記録媒体I/F19は、記録媒体18との間でデータの授受を行うためのインターフェイス機能を提供するものであり、記録媒体18への画像データの書き込み、或いは記録媒体18からの画像データの読み出しの処理が行われる。
記録媒体18は、例えばメモリカード等のリムーバブル型の記録媒体である。
【0030】
CPU_A4は、中央演算処理装置であり、内部に備えられた制御プログラムに従い、電子カメラを構成する各部の制御処理(システムコントロール機能)や、日付の管理処理(日付管理手段)や、被写体画像・重畳画像・被写体画像と重畳画像との差分データ等を管理する処理(画像管理手段)等を実行する。
【0031】
アクチュエータ20は、レンズ(撮影光学系)1を駆動するためのモータ(ズーミング用モータ或いはAF用モータ等)等であり、アクチュエータ駆動回路21により駆動される。
アクチュエータ駆動回路21は、CPU_A4の制御の基に、アクチュエータ20を駆動する回路である。
【0032】
EEPROM(Electrically Erasable Programmable Read-Only Memory )22は、変数や調整データなどの各種データが格納されるメモリであり、CPU_A4により、必要に応じて各種データの読み出し及び書き込みが行われる。
外部データI/F23は、パーソナルコンピュータ等の外部装置とCPU_A4との間でのデータの授受を行うためのインターフェイス機能を提供するものであり、例えばUSB( Universal Serial Bus )I/Fである。
【0033】
キーマトリクス部24は、ユーザからの各種指示を受け付け、それをCPU_A4へ通知するための各種キー、スイッチ、ボタン等である。例えば、日付焼き込みモードを指定可能にする日付焼き込みモード指定手段や、編集モードを指定可能にする編集モード指定手段等が含まれる。尚、日付焼き込みモードは、画像への撮影日付の重畳(合成、焼き込み)を可能にさせるモードである。また、編集モードは、画像にユーザの指示に応じた各種画像処理(回転処理、リサイズ処理、トリミング処理等)を施すことを可能にさせるモードである。
【0034】
LCDパネル25は、LCD表示回路26により駆動され、その駆動信号に基づく情報を表示する。例えば、露出、シャッタースピード等の各種の設定状態が表示される。
LCD表示回路26は、CPU_A4の制御の基に、LCDパネル25を駆動する回路である。
【0035】
電池27は、電子カメラへ電力を供給するための電源である。
電源回路28は、CPU_A4の制御の基に、電池27から供給される電圧を制御して、電子カメラの各部に電力を供給する回路である。
バックアップ電源29は、電子カメラに設定された各種設定値などを維持(保持)するための電源であり、例えばコイン電池や、スーパーキャパシタ等で構成される。
【0036】
電池状態検出回路30は、電池27の電池残量を検出し、これをCPU_A4へ通知する。
次に、上述した構成の電子カメラにおいて、CPU_A4によって行われる、本発明に関係する各種の制御処理を、図2乃至図8を用いて説明する。尚、これらの処理は、CPU_A4が内部に備えられた制御プログラムを実行することにより行われる処理である。
【0037】
図2は、撮影処理の一例を示すフローチャートである。
同図において、キーマトリクス部24を介して、ユーザにより所定の撮影条件(シャッタースピード、露出、日付焼き込みモード等)が設定され撮影指示が行われると、まず、CCD2等を介して被写体画像を取り込み、撮像回路3等を介してその被写体画像に基づく画像データを取得し、これを一旦フレームメモリ7に格納する(S201)。
【0038】
続いて、このフレームメモリ7に格納した画像データを読み出し、この画像データにCPU_B8による圧縮処理(例えばJPEG方式による圧縮処理等)を施し(S202)、これを記録媒体18に記録する(S203)。但し、このときに記録される被写体画像の画像データは、撮影に関する情報(撮影日付、撮影条件等)等を含む付帯情報と共に1つの画像ファイルとして記録される。
【0039】
続いて、日付焼き込みモード指定手段により日付焼き込みモードが指定されているか否かを判断し(S204)、このモードが指定されていれば(S204がY)、S201の処理でフレームメモリ7に格納した画像データを読み出し、これに日付管理手段により管理されている日付の文字データを重畳(合成)し(S205)、この文字データを重畳した画像データにCPU_B8による圧縮処理を施し(S206)、これを記録媒体18に記録する(S207)。但し、このときに記録される重畳画像の画像データも、前述の撮影に関する情報(撮影日付、撮影条件等)等を含む付帯情報と共に1つの画像ファイルとして記録される。
【0040】
続いて、この重畳画像の画像ファイルの付帯情報に、画像データが日付の重畳された重畳画像の画像データであることを示す日付焼き込みフラグと、S203の処理で記録した被写体画像(元画像)の画像データを後に特定する(再現する、読み出す)ための元画像情報(被写体画像の画像ファイル名、パス情報等)を加えて(登録して)(S208)当該フローを終了する。
【0041】
一方、S204の処理において、日付焼き込みモードが指定されていなければ(S204がN)、前述のS205〜S208の処理をスキップする。
このような処理により、日付焼き込みモードが指定されて撮影されたときは、被写体画像の画像ファイルと、この被写体画像に日付が重畳された重畳画像の画像ファイルが記録媒体18に記録され、重畳画像の画像ファイルの付帯情報には、日付焼き込みフラグと、被写体画像の画像ファイル(画像データ)を特定するための元画像情報等が登録される。これにより、元画像情報により重畳画像と被写体画像が関連付けされ、後に、重畳画像の画像ファイルの元画像情報に基づいて被写体画像の画像データの読み出しが可能になる。従って、重畳画像の画像ファイルに基づいて重畳画像の画像データと被写体画像の画像データの再現が可能になる。すなわち、この重畳画像は、被写体画像と重畳画像を再現可能な撮影画像になる。
【0042】
次に、このようにして記録された画像ファイルの画像に対し、ユーザにより編集指示(回転処理、リサイズ処理、トリミング処理等の画像処理指示)が行われたときの処理について説明する。
図3は、再生時に編集モードが指定されているときに行われる処理の一例を示すフローチャートである。
【0043】
同図において、キーマトリクス部24を介して、ユーザにより記録媒体18に記録されている所定の画像ファイルの画像に対し編集指示が行われると、まず、その画像ファイルの付帯情報から日付焼き込みフラグを読み出す(S301)。
続いて、読み出した日付焼き込みフラグに基づいて、画像ファイルの画像が日付の重畳された重畳画像であるか否かを判断する(S302)。この判断処理で、画像が日付の重畳された重畳画像であったときは(S302がY)、この画像ファイルの画像データ(重畳画像)を、日付が重畳される前の被写体画像(元画像)の画像データに入れ替える(S303)。尚、この被写体画像の画像データは、画像ファイルの付帯情報に含まれる元画像情報に基づいて読み出される(特定される)ものである。一方、画像が重畳画像でなかったときは(S302がN)、このS303の処理をスキップする。
【0044】
続いて、編集指示が行われている画像ファイルの画像データに対し、ユーザの指示に応じた編集処理を行う(S304)。この処理では、ユーザの指示に応じて、例えば回転処理、リサイズ処理、トリミング処理等の画像処理を施す。
続いて、編集処理を行った画像データが日付の重畳された重畳画像であったか否かを判断し(S305)、日付の重畳された重畳画像であったときは(S305がY)、その編集処理を行った画像データに対し、日付の文字データを再び重畳し(S306)、これを記録媒体18に記録して、当該フローを終了する。尚、重畳させる日付の文字データは、画像ファイルの付帯情報に含まれる撮影に関する情報(撮影日付等)から取得されるものである。
【0045】
一方、編集処理を行った画像データが日付の重畳された重畳画像でなかったときは(S305がN)、このS306の処理をスキップし、編集処理を行った画像データを記録媒体18に記録して当該フローを終了する。
このような処理により、日付が重畳された重畳画像に対し画像処理が施されるときには、日付の重畳される前の被写体画像に対し画像処理が施され、これに再び日付が重畳されるようになるので、日付が適切に重畳されるようになる。従って、画像処理後に日付(文字)が不適切になる問題、例えば、回転処理が施された場合に日付の配置が不適切になる問題や、リサイズ処理が施された場合に日付が小さすぎたり大きすぎたりする問題や、トリミング処理が施された場合に日付が除かれてトリミングされたり、日付が分割されてトリミングされる等の問題を解決することができる。
【0046】
次に、上述した図2及び図3に示した処理の変形例を、図4及び図5を用いて説明する。
図4は、撮影処理の変形例を示すフローチャートである。
同図において、キーマトリクス部24を介して、ユーザにより所定の撮影条件が設定され撮影指示が行われると、まず、CCD2等を介して被写体画像を取り込み、撮像回路3等を介してその被写体画像に基づく画像データを取得し、これを一旦フレームメモリ7に格納する(S401)。
【0047】
続いて、このフレームメモリ7に格納した画像データを読み出し、この画像データにCPU_B8による圧縮処理(例えばJPEG方式による圧縮処理等)を施す(S402)。尚、このS401及びS402の処理は図2に示したS201及びS202の処理と同様である。
【0048】
続いて、日付焼き込みモード指定手段により日付焼き込みモードが指定されているか否かを判断する(S403)。この判断処理で、日付焼き込みモードが指定されていれば(S403がY)、S401の処理でフレームメモリ7に格納した画像データを読み出し、これに日付管理手段により管理されている日付の文字データを重畳し(合成し)(S404)、この文字データを重畳した画像データにCPU_B8による圧縮処理を施して(S405)、これを記録媒体18に記録する(S406)。但し、このときに記録される重畳画像の画像データは、撮影に関する情報等を含む付帯情報と共に1つの画像ファイルとして記録される。
【0049】
続いて、S402の処理で得られた圧縮処理後の被写体画像の画像データと、S405の処理で得られた圧縮処理後の重畳画像の画像データとの差分データを作成し(S407)、この差分データを記録媒体18に記録する(S408)。尚、差分データは、後に、該差分データと重畳画像の画像データから被写体画像の画像データを作成(復元、再現)するためのデータである。例えば、S402及びS405の処理で行われる圧縮方式がJPEG方式であって、日付等が重畳されている位置が重畳画像の右下の領域にあった場合には、JPEG方式の特性上、差分データのデータ容量をより少なくさせることができる。
【0050】
続いて、S406の処理で記録した重畳画像の画像ファイルの付帯情報に、画像データが日付等の重畳された重畳画像の画像データであることを示す日付焼き込みフラグと、S408の処理で記録した差分データを後に特定する(再現する、読み出す)ための差分情報(差分データのファイル名、パス情報等)を加えて(登録して)(S409)当該フローを終了する。一方、S403の処理において、日付焼き込みモードが指定されていなければ(S403がN)、前述のS404〜S409の処理をスキップする。
【0051】
このような処理により、日付焼き込みモードが指定されて撮影されたときは、重畳画像の画像ファイルと、該重畳画像と被写体画像の差分データが記録媒体18に記録され、重畳画像の画像ファイルの付帯情報には、日付焼き込みフラグと、差分データを特定するための差分情報等が登録される。従って、重畳画像の画像ファイルの差分情報に基づいて差分データの読み出しが可能になり、結果として重畳画像の画像ファイルに基づいて重畳画像の画像データと被写体画像の画像データ(重畳画像の画像データと差分データとから作成可能)の再現が可能になる。すなわち、この重畳画像は、被写体画像と重畳画像を再現可能な撮影画像になる。
【0052】
また、重畳画像の画像ファイルに基づいて被写体画像の画像データを再現するのに必要なデータ容量は、差分データ分のデータ容量で足りるので、その再現に必要なデータ容量をより少なくさせることができる。
尚、S407の処理では、圧縮処理後の被写体画像及び重畳画像の画像データに基づいて差分データを作成しているが、これを例えば、圧縮処理前の被写体画像及び重畳画像の画像データに基づいて差分データを作成するようにしても良い。
【0053】
次に、この図4に示した撮影処理により記録された画像ファイルの画像に対し、ユーザにより編集指示が行われたときの処理について説明する。
図5は、再生時に編集モードが指定されているときに行われる処理の変形例を示すフローチャートである。尚、同図に示すフローにおいて、S503以外の処理は、図3に示したS303以外の処理と同様であるので、ここではその説明を省略し、異なる処理について説明する。
【0054】
図5に示すように、編集指示が行われた画像の画像ファイルが日付の重畳された重畳画像の画像ファイルであったときは(S502がY)、その重畳画像の画像ファイルの付帯情報に含まれる差分情報に基づいて差分データを読み出し、この差分データと重畳画像の画像データに基づいて日付が重畳される前の被写体画像の画像データを作成(復元、再現)する。そして、この画像ファイルの画像データ(重畳画像)を、この作成した被写体画像の画像データに入れ替える(S503)。
【0055】
このような処理により、日付が重畳された重畳画像に対し画像処理が施されるときには、重畳画像の画像データと差分データとから作成された被写体画像の画像データ、すなわち日付が重畳される前の被写体画像の画像データに対し画像処理が施され、これに再び日付が重畳されるようになるので、日付が適切に重畳されるようになる。従って、画像処理後に日付(文字)が不適切になる問題を解決することができる。
【0056】
次に、再生時に編集モードが指定されているときに行われる処理のその他の変形例について図6〜図8を用いて説明する。
図6は、このようなその他の変形例を示すフローチャートであり、日付が重畳された重畳画像に対しての一切の編集処理を禁止させる処理を示したものである。
【0057】
同図に示すように、編集指示が行われた画像の画像ファイルの付帯情報から日付焼き込みフラグを読み出し(S601)、そのフラグから、画像が日付の重畳された重畳画像であると判断したときは(S602がY)、一切の編集処理を禁止させ、TFTパネル16に、画像の編集が出来ない旨(画像の編集が禁止されている旨)を表示する(S603)。
【0058】
一方、画像が日付の重畳された重畳画像でないと判断したときは(S602がN)、ユーザの指示に応じた編集処理を実行し(S604)、編集した画像を記録媒体18に記録して(S605)、当該フローを終了する。
このような処理により、編集指示が行われた画像が日付の重畳された重畳画像であったときには、編集処理が禁止される。従って、編集処理によって、画像に重畳されていた日付(文字)が不適切になるのを防止することができる。
【0059】
尚、S603の処理では、全ての編集処理を禁止させたが、例えば回転処理とリサイズ処理等のように禁止させる編集処理を限定させるようにしても良い。
また、図7は、再生時に編集モードが指定されているときに行われる処理のその他の変形例を示すフローチャートであり、日付が重畳された重畳画像に対しリサイズ処理指示が行われ、指定されたリサイズ領域が日付(文字)にかかる(跨る)領域であったときには、そのリサイズ処理を禁止させる処理を示したものである。
【0060】
同図に示すように、まず、ユーザからリサイズ領域の指示を受け付ける(S701)。
続いて、リサイズ処理指示が行われている画像の画像ファイルの付帯情報から日付焼き込みフラグを読み出し(S702)、このフラグに基づいて、画像が日付の重畳された重畳画像であるか否かを判断する(S703)。この判断処理で、画像が日付の重畳された重畳画像であったときは(S703がY)、次に、S701の処理で受け付けたリサイズ領域が、画像に重畳されている日付の領域にかかって(跨って)いるか否かを判断し(S704)、リサイズ領域が日付の領域にかかっていたときは(S704がY)、そのリサイズ処理を禁止させて、TFTパネル16に、リサイズ領域に日付の領域がかかっている旨を表示し(S705)、S701の処理に戻って、再びユーザからリサイズ領域の指示を受け付ける。
【0061】
一方、リサイズ領域が日付の領域にかかっていなかったとき(S704がN)、若しくは画像が日付の重畳された重畳画像でなかったときは(S703がN)、指定通りのリサイズ処理を実行する(S706)。
このような処理により、日付の重畳された重畳画像に対しリサイズ処理が指示されたときは、リサイズ領域が日付の領域にかかるリサイズ処理が禁止されるので、日付が分割されてリサイズ処理されるのを防止することができる。
【0062】
また、図8は、再生時に編集モードが指定されているときに行われる処理のその他の変形例を示すフローチャートであり、日付の重畳された重畳画像に対しトリミング処理指示が行われたときに、指定されたトリミング領域が日付(文字)を分割させる領域であったときはトリミング処理を禁止させ、またトリミング処理後の画像から日付が除かれた(省かれた)ときには、そのトリミング処理後の画像に再び日付を重畳させる処理を示したものである。
【0063】
同図に示すように、まず、ユーザからトリミング領域の指示を受け付ける(S801)。
続いて、トリミング処理指示が行われている画像の画像ファイルの付帯情報から日付焼き込みフラグを読み出し(S802)、このフラグに基づいて、画像が日付の重畳された重畳画像であるか否かを判断する(S803)。この判断処理で、画像が日付の重畳された重畳画像であったときは(S803がY)、次に、S801の処理で受け付けたトリミング領域が、画像に重畳されている日付の領域を分割させるものであるか否かを判断し(S804)、トリミング領域が日付の領域を分割させるものであったときは(S804がY)、トリミング処理を禁止させて、TFTパネル16に、指定されているトリミング領域が文字を分割させる領域である旨(トリミング領域に文字がかかっている旨)を表示し(S805)、S801の処理に戻って、再びユーザからトリミング領域の指示を受け付ける。
【0064】
一方、トリミング領域が文字を分割させる領域でなかったとき(S804がN)、若しくは画像が日付の重畳された重畳画像でなかったときは(S803がN)、S801で指定されたトリミング領域に基づいてトリミング処理を実行する(S806)。
【0065】
続いて、トリミング処理を行った画像が日付の重畳された重畳画像であったか否かを判断し(S807)、日付の重畳された重畳画像であったときは(S807がY)、トリミング処理後の画像内(トリミング画像内、トリミング領域内)に日付が有るか(残っているか)否かを判断し(S808)、日付が無かったときは(S808がN)、トリミング処理後の画像内に再び日付を重畳させ(S809)、これを記録媒体18に記録して、当該フローを終了する。尚、重畳させる日付は、画像ファイルの付帯情報に含まれる撮影に関する情報(撮影日付等)から取得されるものである。
【0066】
一方、トリミング処理を行った画像が日付の重畳された画像でなかったとき(S807がN)、若しくはトリミング処理後の画像内に日付があったっとき(S808がY)は、そのトリミング処理後の画像を記録媒体18に記録して当該フローを終了する。
【0067】
このような処理により、日付の重畳された重畳画像に対しトリミング処理が指示されたときは、トリミング領域が日付を分割させるトリミング処理が禁止されるので、日付が分割されてトリミング処理されるのを防止することができる。また、トリミング処理後に日付が除かれたときには、その日付が再重畳されるので、トリミング処理後に日付が除かれることは無い。
【0068】
尚、リサイズ領域が日付の領域にかかっているか否かの判断(図7のS704)、及びトリミング領域が日付の領域を分割させるものである否かの判断(図8のS804)は、例えば次のようにして行われる。それは、図2及び図4に示した撮影処理において、日付焼き込みモードが指定されて撮影されたときには、画像ファイルの付帯情報に、画像上の何れの領域に日付が重畳されたかを示す日付領域情報を登録させるようにし、この重畳画像へのリサイズ処理指示又はトリミング処理指示が行われたときには、この重畳画像の画像ファイルの付帯情報から日付領域情報を読み出し、この日付領域情報とユーザにより指定されたリサイズ領域又はトリミング領域に基づいて、リサイズ領域が日付の領域にかかっているか否かの判断、及びトリミング領域が日付の領域を分割させるものであるか否かの判断が行われる。
【0069】
また、図4及び図5に示した処理によれば、重畳画像と、該重畳画像と被写体画像の差分データとを記録し、後に、この重畳画像と差分データとから被写体画像を復元(再現)可能に構成したが、これを例えば、被写体画像と、該被写体画像と重畳画像の差分データとを記録するようにし、後に、この被写体画像と差分データとから重畳画像を復元(再現)可能に構成して処理を行うようにしても良い。
【0070】
また、本実施形態では、画像に重畳される文字の一例として日付を適用したが、その他シャッタースピード・露出等の撮影条件、ユーザコメント、番号等を適用しても良い。
また、本実施形態では、電子カメラが画像処理機能を備えて、上述の図3及び図5乃至図8等に示した編集処理を行う形態を示したが、これらの編集処理を、電子カメラ以外の外部装置、例えば画像処理装置が行うようにしても良い。
【0071】
図9は、そのような画像処理装置の一例を示すブロック図である。尚、同図に示した画像処理装置は、例えばPC(パーソナルコンピュータ)により構成される。
同図において、画像処理装置31は、USBコネクタ32、カードコネクタ33、IF(インターフェイス)部34、HD(ハードディスク)35、DRAM36、表示出力部37、及びCPU38等を備え、IF部34、HD35、DRAM36、表示出力部37、及びCPU38は、何れもバスライン39に接続されて互いにデータの授受が可能に構成されている。
【0072】
IF部32は、USBコネクタ33を介して例えば図1に示した電子カメラ等の外部装置との間で、またカードコネクタ34を介して例えば図1に示した記録媒体18等のメモリカードとの間でデータの授受を行うためのインターフェイス機能を提供するものである。
【0073】
HD35は、前述の図3及び図5乃至図8等に示した編集処理を行うための各種プログラム(アプリケーション、ソフトウェア)や画像ファイル等の各種データが記録されている記録媒体である。
DRAM36は、CPU38により処理された画像データ等を一時的に蓄えるバッファメモリとして使用される他、CPU38による各種処理のための作業用の記憶領域としても使用されるメモリである。
【0074】
表示出力部37は、画像処理装置31に接続されている表示部(ディスプレイ)40に画像や各種メニュー等を表示させるための表示用信号を出力する出力部である。
CPU38は、中央演算処理装置であり、内部に備えられた制御プログラムに従い、画像処理装置31を構成する各部の制御処理を行うと共に、画像処理装置31に接続されている入力部(キーボード等)41からユーザの指示を受け付け、その指示に対応する処理を行う。例えば、ユーザから、入力部41を介して、図3及び図5乃至図8等に示した編集処理の何れかを行うためのプログラムの起動指示を受け付けると、CPU38は、対応するプログラムをHD35から読み出し、そのプログラムの実行を開始する。そこで、ユーザから、所定の画像ファイルに対する所定の編集指示(加工指示)を受け付けると、その指示対象の画像ファイルを読み出し、その編集指示に対応する編集処理を実行する。この場合、指示対象の画像ファイルは、USBコネクタ33を介して、例えば図1に示した電子カメラ等の外部装置から直接読み出されるか、又はカードコネクタ34を介して、例えば図1に示した記録媒体18等のメモリカードから読み出されるか、又はHD35から読み出される。また、編集処理の終了した画像ファイルは、USBコネクタ33を介して、例えば図1に示した電子カメラ等の外部装置に記録されるか、又はカードコネクタ34を介して、例えば図1に示した記録媒体18等のメモリカードに記録されるか、又はHD35に記録される。
【0075】
このように、図9に示した画像処理装置31によっても、図3及び図5乃至図8等に示した編集処理を行うことができる。
【0076】
【発明の効果】
以上、詳細に説明したように、本発明によれば、文字が重畳されている重畳画像に対し画像処理が施されるときには、その文字が重畳される前の被写体画像に対し画像処理が施され、これに文字が再重畳されるので、画像処理後に文字が不適切になることはなく、適切に重畳されるようになる。
【図面の簡単な説明】
【図1】本発明の一実施の形態に係る電子カメラのブロック図である。
【図2】撮影処理の一例を示すフローチャートである。
【図3】再生時に編集モードが指定されているときに行われる処理の一例を示すフローチャートである。
【図4】撮影処理の変形例を示すフローチャートである。
【図5】再生時に編集モードが指定されているときに行われる処理の変形例を示すフローチャートである。
【図6】再生時に編集モードが指定されているときに行われる処理のその他の変形例を示すフローチャートである。
【図7】再生時に編集モードが指定されているときに行われる処理のその他の変形例を示すフローチャートである。
【図8】再生時に編集モードが指定されているときに行われる処理のその他の変形例を示すフローチャートである。
【図9】画像処理装置の一例を示すブロック図である。
【符号の説明】
1 レンズ
2 CCD
3 撮像回路
4 CPU_A
5 A/D変換回路
6 補正回路
7 フレームメモリ
8 CPU_B
9 FIFOメモリ
10 記録バッファ
11 バスライン
12 オンスクリーン回路
13 ビデオ出力回路
14 ビデオ出力端子
15 TFT液晶駆動回路
16 TFTパネル
17 バックライトユニット
18 記録媒体
19 記録媒体I/F
20 アクチュエータ
21 アクチュエータ駆動回路
22 EEPROM
23 外部データI/F
24 キーマトリクス部
25 LCDパネル
26 LCD表示回路
27 電池
28 電源回路
29 バックアップ電源
30 電池状態検出回路
31 画像処理装置
32 IF部
33 USBコネクタ
34 カードコネクタ
35 HD
36 DRAM
37 表示出力部
38 CPU
39 バスライン
40 表示部
41 入力部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image processing apparatus that performs image processing according to a processing instruction, an image processing method, and an electronic camera.
[0002]
[Prior art]
Some electronic cameras have a character superimposition function that directly superimposes (synthesizes) characters such as a shooting date and a user comment on a captured image. This function is a function of superimposing character data such as date on image data of a photographed image and recording it on a recording medium such as a memory card. According to this function, it is possible to always display and print the shooting date on the image at the time of playback or printing, so it is a function that is familiar to users who were shooting by shooting the shooting date with a silver salt camera. is there. Further, if number character data is superimposed on image data of a photographed image, it is possible to prevent forgetting to print the number at the time of printing in the use of photographed image management by number or the like. In addition, there are other advantages such as prevention of falsification of the shooting date and the like, and an error in setting the date of the electronic camera can be easily prevented by the shooting date always displayed during reproduction.
[0003]
On the other hand, since the captured image obtained by photographing with the electronic camera is digital data, the image processing function of the electronic camera or the image processing means of an external device (image processing device, personal computer, etc.) It is possible to perform various image processing according to the user's preference, for example, rotation processing, resizing processing, trimming processing, and the like on the captured image.
[0004]
[Problems to be solved by the invention]
However, various problems occur when image processing is performed on a captured image on which characters are superimposed by the character superimposition recording function. For example, when rotation processing is performed, there is a problem that the character arrangement is inappropriate. When resizing processing is performed, the character is too small to be read, or the character is too large to obstruct. The problem such as becoming. In addition, when the trimming process is performed, there are problems such as trimming with characters removed or trimming with characters divided.
[0005]
In view of the above circumstances, an object of the present invention is to provide an image processing device, an image processing method, and an image processing apparatus that appropriately superimposes characters when image processing is performed on a superimposed image on which characters are superimposed. It is to provide an electronic camera.
[0006]
[Means for Solving the Problems]
  First of the present invention1'sAspectIs, PaintingimageEdit on dataPerform image processing according to instructionsImage processing deviceAnd beforeDrawingimagedataBut, Superimposed image data in which character data is superimposed, and the character data is not superimposedSubject imageDataReproducibleNohWhen there wasThe subject image data is reproduced from the superimposed image data and difference data between the superimposed image data and the subject image data,ReproducedCoverManipulative imagedataAgainstEditImage processing means for performing image processing according to the instruction;SaidImage processing was performed by image processing meansSaidReproducedCoverManipulative imagedataTo the characterdataIs superimposed on the characterdataSuperimposeDrawingImage processingReRevealedCoverManipulative imagedataAn image processing apparatus including a recording control unit for recording the image.
[0007]
According to the above configuration, when image processing is performed on a captured image that can reproduce a subject image and a superimposed image, image processing is performed on the reproduced subject image, and characters are re-superimposed on this. The characters are appropriately superimposed after image processing. The image processing includes rotation processing, resizing processing, trimming processing, and the like.
[0009]
  Also,According to this configuration, when image processing is performed on a captured image that can reproduce a subject image and a superimposed image, the subject image reproduced from the superimposed image and the difference data is subjected to image processing, and characters are added to this. Since the image is re-superimposed, the characters are appropriately superimposed after the image processing. In addition, the data capacity required to reproduce the subject image can be reduced.
[0010]
  Second of the present inventionofAspectIsAn image processing apparatus that performs image processing according to an editing instruction on image data,in frontDrawingimagedataBut, Character data is superimposedSuperimposed imageSubject image data that is data and does not have the character data superimposed thereonCan be reproducedNohIf there is, the superimposed imageData incidental informationInThereforeThe associated subject imageRead and reproduce the data,ReproducedCoverManipulative imagedataAgainstEditPerform image processing according to instructionsAn image processing unit, and the character data is superimposed on the reproduced subject image data that has been subjected to image processing by the image processing unit, and the subject image data that has been subjected to image processing and superimposed is recorded on the character data. Image processing apparatus comprising recording control meansIt is.
[0011]
  According to the above configuration, when image processing is performed on a captured image that can reproduce a subject image and a superimposed image, image processing is performed on the reproduced subject image, and characters are re-superimposed on this. The characters are appropriately superimposed after image processing. The image processing includes rotation processing, resizing processing, trimming processing, and the like.
  Also,According to this configuration, when the image processing is performed on the captured image that can reproduce the subject image and the superimposed image, the image processing is performed on the subject image reproduced from the subject image associated with the superimposed image, Since the character is re-superimposed on this, the character is appropriately superimposed after the image processing.
  According to a third aspect of the present invention, in the first or second aspect, the image processing unit performs image processing according to an editing instruction on the superimposed image data in which character data is superimposed on the subject image data. And a prohibiting means for prohibiting at least the resizing process and the rotating process in the image processing.
  According to the above configuration, when image processing is performed on a superimposed image, at least resizing processing and rotation processing of image processing are prohibited, and it is possible to prevent characters from becoming inappropriate due to resizing processing and rotation processing. .
  According to a fourth aspect of the present invention, in the first or second aspect, trimming is performed as image processing in accordance with an editing instruction by the image processing unit with respect to superimposed image data in which character data is superimposed on the subject image data. And a prohibiting unit for prohibiting the trimming process when the designated trimming area is a trimming area for dividing the character data when the process is performed.
  According to the above configuration, when the trimming process is performed on the superimposed image, the trimming process for dividing the superimposed character is prohibited, and the character can be prevented from being divided by the trimming process.
  According to a fifth aspect of the present invention, in the first or second aspect, the recording control unit responds to an editing instruction by the image processing unit with respect to the superimposed image data in which character data is superimposed on the subject image data. When the trimming process is performed as image processing and the character data is removed from the image data after the trimming process, the character data is superimposed on the image data after the trimming process, and the character data is superimposed. In this configuration, the processed image data is recorded.
  According to the above configuration, when trimming processing is performed on the superimposed image and the superimposed character is removed, the character is re-superimposed on the image after trimming processing. Will not be removed.
[0012]
  6th of this inventionofAspectIs, PaintingimagedataInEdit forPerform image processing according to instructionsImage processing methodAnd beforeDrawingimagedataBut,letterdataSuperimposed image with superimposedSubject image data that is data and does not have the character data superimposed thereonCan be reproducedNohWhen there wasThe subject image data is reproduced from the superimposed image data and difference data between the superimposed image data and the subject image data by an image processing means,ReproducedCoverManipulative imagedataAgainstEditPerform image processing according to instructions,By the recording control means, by the image processing meansImage processing was performedSaidReproducedCoverManipulative imagedataTo the characterdataIs superimposed on the characterdataSuperimposeDrawingImage processingReRevealedCoverManipulative imagedataIs an image processing method for recording.
[0013]
  According to the above method, when image processing is performed on a captured image that can reproduce a subject image and a superimposed image, image processing is performed on the reproduced subject image, and characters are re-superimposed on this. The characters are appropriately superimposed after image processing.
  Further, according to this method, when image processing is performed on a captured image that can reproduce a subject image and a superimposed image, the subject image reproduced from the superimposed image and the difference data is subjected to image processing. Since the characters are re-superimposed, the characters are appropriately superimposed after image processing. In addition, the data capacity required to reproduce the subject image can be reduced.
  A seventh aspect of the present invention is an image processing method for performing image processing on image data according to an editing instruction, wherein the image data is superimposed image data on which character data is superimposed, and the character data When the subject image data on which the data is not superimposed can be reproduced, the subject image data associated by the supplementary information of the superimposed image data is read and reproduced by the image processing means, and the reproduced subject The image data is subjected to image processing in accordance with the editing instruction, and the character data is superimposed on the reproduced subject image data subjected to image processing by the image processing means by a recording control means, and the character data Is an image processing method for recording subject image data reproduced by being subjected to image processing.
  According to the above method, when image processing is performed on a captured image that can reproduce a subject image and a superimposed image, image processing is performed on the reproduced subject image, and characters are re-superimposed on this. The characters are appropriately superimposed after image processing.
  Further, according to this method, when image processing is performed on a captured image that can reproduce the subject image and the superimposed image, the image processing is performed on the subject image reproduced from the subject image associated with the superimposed image. Since the character is re-superimposed on this, the character is appropriately superimposed after the image processing.
  Eighth of the present inventionofAspectIsCapture the subject and obtain subject image dataImaging means and captured imagedataThe subject image obtained by the imaging meansdataCharacterdataSuperimposed image with superimposeddataWhen,Difference data between the superimposed image data and the subject image dataRecording control means for recording;When an instruction to edit the captured image data is given, the captured image data is superimposed image data on which character data is superimposed, and subject image data on which the character data is not superimposed can be reproduced. The subject image data is reproduced from the superimposed image data and the difference data, and the reproduced subject image data is responded to the editing instruction.Image processing means for performing image processing;SaidImage processing was performed by image processing meansSaidReproducedCoverManipulative imagedataTo the characterdataIs superimposed on the characterdataSuperimposeDrawingImage processingReRevealedCoverManipulative imagedataAnd an overlaid recording control means for recording the image.
[0014]
  According to the above configuration, when image processing is performed on a captured image in which a subject image and a superimposed image are recorded so as to be reproducible, image processing is performed on the reproduced subject image, and characters are re-superimposed on this. Thus, characters are appropriately superimposed after image processing.
  Further, according to this configuration, when image processing is performed on a captured image that can reproduce a subject image and a superimposed image, the subject image reproduced from the superimposed image and the difference data is subjected to image processing. Since the characters are re-superimposed, the characters are appropriately superimposed after image processing. In addition, the data capacity required to reproduce the subject image can be reduced.
  According to a ninth aspect of the present invention, there is provided an imaging unit that captures an image of a subject to obtain subject image data, superimposed image data obtained by superimposing character data on the subject image data obtained by the imaging unit, and captured image data Recording control means for recording in association with subject image data; and when the editing instruction is given to the captured image data, the captured image data is superimposed image data on which character data is superimposed, and the character When the subject image data on which the data is not superimposed can be reproduced, the subject image data associated with the supplementary information of the superimposed image data is read and reproduced, and the reproduced subject image data is reproduced. Image processing means for performing image processing in accordance with the editing instruction, and the reproduced object subjected to image processing by the image processing means; Superimposing said character data to image data, an electronic camera that includes a superimposed recording control means for recording the subject image data superimposed image processing has been reproduced is subjected to the character data.
  According to the above configuration, when image processing is performed on a captured image in which a subject image and a superimposed image are recorded so as to be reproducible, image processing is performed on the reproduced subject image, and characters are re-superimposed on this. Thus, characters are appropriately superimposed after image processing.
  Further, according to this configuration, when image processing is performed on a captured image that can reproduce the subject image and the superimposed image, the image processing is performed on the subject image reproduced from the subject image associated with the superimposed image. Since the character is re-superimposed on this, the character is appropriately superimposed after the image processing.
[0019]
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 according to an embodiment of the present invention. The electronic camera shown in the figure includes an image processing function (image processing unit) that performs image processing according to a processing instruction on an image (captured image).
[0020]
In FIG. 1, a lens 1 is a photographing optical system that forms a subject image on a CCD (Charge Coupled Device) 2.
The CCD 2 is an image sensor that photoelectrically converts a formed subject image and outputs an electrical signal (analog signal) indicating the image.
[0021]
The imaging circuit 3 includes a CDS (Correlated Double Sampling), an AGC (Automatic Gain Control), and the like, and an electric signal output from the CCD 2 under the control of the CPU_A4. This is a circuit for removing reset noise (analog signal) and adjusting the signal level.
[0022]
The A / D conversion circuit 5 is a circuit that converts an output signal (analog signal) of the imaging circuit 3 into a digital signal (digital data).
The correction circuit 6 is a circuit that performs correction processing such as white balance and γ correction on the output signal (digital data, image data) of the A / D conversion circuit 4.
[0023]
The frame memory 7, the CPU_B 8, the FIFO (First-In First-Out) memory 9, and the recording buffer 10 are all connected to the bus line 11, and exchange data with each other via the bus line 11. Is done.
The frame memory 7 is used as a buffer memory for temporarily storing the image data output from the correction circuit 6, the image data processed by the CPU_B8, and the like, and also serves as a working storage area for various processes by the CPU_B8. Memory used.
[0024]
Under the control of the CPU_A4, the CPU_B8 performs image data compression processing (image compression function), image data expansion processing (image expansion function), and various image processing (rotation) to the image data in accordance with a control program provided therein. Processing, resizing processing, trimming processing, etc.) (frame memory control function), access control processing (recording medium access function) such as writing (recording) to and reading from a recording medium, and subject image (original image) and subject image Processing (image difference data creating means) for creating difference data with the superimposed image on which the date is superimposed is executed. In the image data compression processing and decompression processing, for example, compression processing and decompression processing by the JPEG (Joint Photographic Experts Group) method is performed.
[0025]
The FIFO memory 9 is a memory for temporarily storing image data for display. For example, display image data subjected to image processing by the CPU_B 8 is stored.
The on-screen circuit 12 is a circuit that superimposes on-screen information such as date on the image data output from the FIFO memory 9 under the control of the CPU_A4.
[0026]
The video output circuit 13 is a circuit that converts the image data output from the on-screen circuit 12 into a video signal (image signal).
The video output terminal 14 is a terminal for sending the video signal (image signal) output from the video output circuit 13 to the outside.
[0027]
The TFT (Thin Film Transistor) liquid crystal driving circuit 15 is a circuit that drives the TFT panel (TFT liquid crystal) 16 based on the image data output from the on-screen circuit 12 under the control of the CPU_A4.
The TFT panel 16 displays, for example, a captured image based on image data based on the driving of the TFT drive circuit 15.
[0028]
The backlight unit 17 irradiates the liquid crystal portion of the TFT panel 16 with light from the back surface under the control of the CPU_A4.
The recording buffer 10 is a memory that temporarily stores image data when the image data is written to the recording medium 18 or when the image data is read from the recording medium 18.
[0029]
The recording medium I / F 19 provides an interface function for exchanging data with the recording medium 18, and writes image data to the recording medium 18 or reads image data from the recording medium 18. Is performed.
The recording medium 18 is a removable recording medium such as a memory card.
[0030]
The CPU_A4 is a central processing unit, and in accordance with an internal control program, control processing (system control function) of each part constituting the electronic camera, date management processing (date management means), subject image / superimposition Processing (image management means) for managing difference data between the image / subject image and the superimposed image is executed.
[0031]
The actuator 20 is a motor (such as a zooming motor or an AF motor) for driving the lens (imaging optical system) 1 and is driven by an actuator drive circuit 21.
The actuator drive circuit 21 is a circuit that drives the actuator 20 under the control of the CPU_A4.
[0032]
An EEPROM (Electrically Erasable Programmable Read-Only Memory) 22 is a memory in which various data such as variables and adjustment data are stored, and various data are read and written by the CPU_A 4 as necessary.
The external data I / F 23 provides an interface function for exchanging data between an external device such as a personal computer and the CPU_A4, and is, for example, a USB (Universal Serial Bus) I / F.
[0033]
The key matrix unit 24 includes various keys, switches, buttons, and the like for receiving various instructions from the user and notifying the CPU_A4 of them. For example, a date imprinting mode designation means for enabling designation of a date imprinting mode, an editing mode designation means for enabling designation of an editing mode, and the like are included. Note that the date imprinting mode is a mode that makes it possible to superimpose (synthesize, imprint) a shooting date on an image. The edit mode is a mode that enables various image processing (rotation processing, resizing processing, trimming processing, etc.) according to a user instruction to be performed on the image.
[0034]
The LCD panel 25 is driven by the LCD display circuit 26 and displays information based on the drive signal. For example, various setting states such as exposure and shutter speed are displayed.
The LCD display circuit 26 is a circuit that drives the LCD panel 25 under the control of the CPU_A4.
[0035]
The battery 27 is a power source for supplying power to the electronic camera.
The power supply circuit 28 is a circuit that controls the voltage supplied from the battery 27 under the control of the CPU_A4 and supplies power to each part of the electronic camera.
The backup power source 29 is a power source for maintaining (holding) various setting values set in the electronic camera, and is composed of, for example, a coin battery or a super capacitor.
[0036]
The battery state detection circuit 30 detects the remaining battery level of the battery 27 and notifies this to the CPU_A4.
Next, various control processes related to the present invention performed by the CPU_A4 in the electronic camera having the above-described configuration will be described with reference to FIGS. These processes are processes performed by the CPU_A4 executing a control program provided therein.
[0037]
FIG. 2 is a flowchart illustrating an example of the photographing process.
In the figure, when predetermined shooting conditions (shutter speed, exposure, date imprint mode, etc.) are set by the user via the key matrix unit 24 and a shooting instruction is given, first, an object image is displayed via the CCD 2 or the like. The image data based on the subject image is acquired through the image capturing circuit 3 and the like, and is temporarily stored in the frame memory 7 (S201).
[0038]
Subsequently, the image data stored in the frame memory 7 is read out, and the image data is subjected to compression processing by the CPU_B 8 (for example, compression processing by the JPEG method) (S202), and recorded in the recording medium 18 (S203). However, the image data of the subject image recorded at this time is recorded as one image file together with accompanying information including information related to shooting (such as shooting date and shooting conditions).
[0039]
Subsequently, it is determined whether or not the date imprinting mode is designated by the date imprinting mode designating means (S204). If this mode is designated (Y in S204), it is stored in the frame memory 7 in the process of S201. The stored image data is read out, and the character data of the date managed by the date management means is superimposed (synthesized) on the image data (S205), and the CPU_B8 compresses the image data on which the character data is superimposed (S206), This is recorded on the recording medium 18 (S207). However, the image data of the superimposed image recorded at this time is also recorded as one image file together with accompanying information including the above-described information related to shooting (shooting date, shooting conditions, etc.).
[0040]
Subsequently, in the supplementary information of the image file of the superimposed image, a date imprint flag indicating that the image data is the image data of the superimposed image on which the date is superimposed, and the subject image (original image) recorded in the process of S203. Original image information (image file name of subject image, path information, etc.) for later specifying (reproducing or reading out) the image data is added (registered) (S208), and the flow ends.
[0041]
On the other hand, in the process of S204, if the date imprint mode is not designated (S204 is N), the processes of S205 to S208 are skipped.
By such processing, when the date imprinting mode is designated and the image is taken, the image file of the subject image and the image file of the superimposed image in which the date is superimposed on the subject image are recorded on the recording medium 18 and superimposed. In the incidental information of the image file of the image, a date imprint flag, original image information for specifying the image file (image data) of the subject image, and the like are registered. Thus, the superimposed image and the subject image are associated with each other based on the original image information, and the image data of the subject image can be read later based on the original image information of the image file of the superimposed image. Therefore, the image data of the superimposed image and the image data of the subject image can be reproduced based on the image file of the superimposed image. That is, the superimposed image is a captured image that can reproduce the subject image and the superimposed image.
[0042]
Next, processing when an editing instruction (image processing instructions such as rotation processing, resizing processing, trimming processing, etc.) is performed by the user on the image of the image file thus recorded will be described.
FIG. 3 is a flowchart illustrating an example of processing performed when the editing mode is designated during reproduction.
[0043]
In the figure, when an instruction for editing an image of a predetermined image file recorded on the recording medium 18 is made by the user via the key matrix unit 24, the date imprinting flag is first determined from the accompanying information of the image file. Is read (S301).
Subsequently, based on the read date imprint flag, it is determined whether the image of the image file is a superimposed image with the date superimposed (S302). In this determination process, if the image is a superimposed image with the date superimposed (Y in S302), the image data (superimposed image) of this image file is used as the subject image (original image) before the date is superimposed. (S303). The image data of the subject image is read (specified) based on the original image information included in the supplementary information of the image file. On the other hand, when the image is not a superimposed image (N in S302), the process of S303 is skipped.
[0044]
Subsequently, an editing process corresponding to the user instruction is performed on the image data of the image file for which the editing instruction has been issued (S304). In this processing, image processing such as rotation processing, resizing processing, trimming processing, or the like is performed in accordance with a user instruction.
Subsequently, it is determined whether or not the image data subjected to the editing process is a superimposed image with a date superimposed (S305). If the image data is a superimposed image with a date superimposed (Y in S305), the editing process is performed. The character data of the date is superimposed again on the image data that has been subjected to (S306), this is recorded on the recording medium 18, and the flow ends. Note that the text data of the date to be superimposed is obtained from information related to shooting (shooting date, etc.) included in the supplementary information of the image file.
[0045]
On the other hand, when the image data subjected to the editing process is not a superimposed image with the date superimposed (N in S305), the process of S306 is skipped, and the image data subjected to the editing process is recorded in the recording medium 18. To end the flow.
As a result of such processing, when image processing is performed on a superimposed image on which a date is superimposed, image processing is performed on the subject image before the date is superimposed, and the date is superimposed again on this. Therefore, the date is appropriately superimposed. Therefore, there is a problem that the date (characters) becomes inappropriate after image processing, for example, a problem that the date arrangement becomes inappropriate when rotation processing is performed, or the date is too small when resizing processing is performed. Problems such as being too large, trimming by removing the date when trimming is performed, and trimming by splitting the date can be solved.
[0046]
Next, a modified example of the processing shown in FIGS. 2 and 3 will be described with reference to FIGS.
FIG. 4 is a flowchart showing a modification of the photographing process.
In the figure, when a predetermined shooting condition is set and a shooting instruction is issued by the user via the key matrix unit 24, first, a subject image is captured via the CCD 2 or the like, and the subject image is captured via the imaging circuit 3 or the like. Is acquired, and is temporarily stored in the frame memory 7 (S401).
[0047]
Subsequently, the image data stored in the frame memory 7 is read out, and the image data is subjected to compression processing (for example, compression processing by the JPEG method) by the CPU_B 8 (S402). Note that the processing of S401 and S402 is the same as the processing of S201 and S202 shown in FIG.
[0048]
Subsequently, it is determined whether or not the date imprint mode is designated by the date imprint mode designation means (S403). If the date imprinting mode is specified in this determination process (Y in S403), the image data stored in the frame memory 7 in the process of S401 is read out, and the character data of the date managed by the date management means is read out. Are superimposed (synthesized) (S404), the image data superimposed with the character data is subjected to compression processing by the CPU_B8 (S405), and is recorded on the recording medium 18 (S406). However, the image data of the superimposed image recorded at this time is recorded as one image file together with accompanying information including information related to photographing.
[0049]
Subsequently, difference data between the image data of the subject image after the compression process obtained in the process of S402 and the image data of the superimposed image after the compression process obtained in the process of S405 is created (S407). Data is recorded on the recording medium 18 (S408). The difference data is data for later creating (restoring and reproducing) the image data of the subject image from the difference data and the image data of the superimposed image. For example, when the compression method performed in the processing of S402 and S405 is the JPEG method and the position where the date is superimposed is in the lower right area of the superimposed image, the difference data is due to the characteristics of the JPEG method. The data capacity of can be reduced.
[0050]
Subsequently, in the incidental information of the image file of the superimposed image recorded in the process of S406, the date imprint flag indicating that the image data is the image data of the superimposed image such as a date is recorded in the process of S408. Difference information (file name, path information, etc. of difference data) for specifying (reproducing or reading out) the difference data later is added (registered) (S409), and the flow ends. On the other hand, in the process of S403, if the date imprint mode is not designated (S403 is N), the processes of S404 to S409 described above are skipped.
[0051]
By such processing, when the date imprinting mode is designated and photographed, the image file of the superimposed image and the difference data between the superimposed image and the subject image are recorded on the recording medium 18, and the image file of the superimposed image is recorded. In the incidental information, a date imprint flag, difference information for specifying difference data, and the like are registered. Therefore, the difference data can be read based on the difference information of the image file of the superimposed image. As a result, the image data of the superimposed image and the image data of the subject image (the image data of the superimposed image and the image data) Can be reproduced from the difference data). That is, the superimposed image is a captured image that can reproduce the subject image and the superimposed image.
[0052]
Further, since the data capacity necessary for reproducing the image data of the subject image based on the image file of the superimposed image is sufficient for the difference data, the data capacity required for the reproduction can be further reduced. .
In the process of S407, difference data is created based on the subject image after the compression processing and the image data of the superimposed image. For example, the difference data is generated based on the subject image before the compression processing and the image data of the superimposed image. Difference data may be created.
[0053]
Next, a process when the user gives an editing instruction to the image of the image file recorded by the photographing process shown in FIG. 4 will be described.
FIG. 5 is a flowchart showing a modified example of the processing performed when the edit mode is designated during reproduction. In the flow shown in the figure, the processes other than S503 are the same as the processes other than S303 shown in FIG. 3, and therefore, the description thereof will be omitted here and different processes will be described.
[0054]
As shown in FIG. 5, when the image file of the image for which the editing instruction has been issued is an image file of a superimposed image with the date superimposed (Y in S502), it is included in the incidental information of the image file of the superimposed image The difference data is read based on the difference information, and the image data of the subject image before the date is superimposed is created (restored or reproduced) based on the difference data and the image data of the superimposed image. Then, the image data (superimposed image) of the image file is replaced with the image data of the created subject image (S503).
[0055]
When the image processing is performed on the superimposed image with the date superimposed by such processing, the image data of the subject image created from the image data of the superimposed image and the difference data, that is, before the date is superimposed. Image processing is performed on the image data of the subject image, and the date is superimposed on the image data again, so that the date is appropriately superimposed. Therefore, it is possible to solve the problem that the date (character) becomes inappropriate after image processing.
[0056]
Next, other modified examples of processing performed when the editing mode is designated during reproduction will be described with reference to FIGS.
FIG. 6 is a flowchart showing such another modification, and shows a process for prohibiting any editing process on the superimposed image on which the date is superimposed.
[0057]
As shown in the figure, the date imprint flag is read from the supplementary information of the image file of the image for which the editing instruction has been issued (S601), and it is determined from the flag that the image is a superimposed image on which the date is superimposed. (S602 is Y) prohibits any editing process and displays on the TFT panel 16 that the image cannot be edited (that image editing is prohibited) (S603).
[0058]
On the other hand, when it is determined that the image is not a superimposed image with the date superimposed (N in S602), the editing process is executed according to the user's instruction (S604), and the edited image is recorded in the recording medium 18 ( S605), the flow ends.
By such processing, editing processing is prohibited when an image for which an editing instruction has been issued is a superimposed image on which a date is superimposed. Accordingly, it is possible to prevent the date (character) superimposed on the image from becoming inappropriate due to the editing process.
[0059]
In the process of S603, all editing processes are prohibited. However, for example, the editing process to be prohibited may be limited such as a rotation process and a resizing process.
FIG. 7 is a flowchart showing another modification example of the process performed when the edit mode is designated at the time of reproduction. The resize process instruction is given to the superimposed image on which the date is superimposed, and is designated. When the resize area is an area related to (spanning) a date (character), the resize process is prohibited.
[0060]
As shown in the figure, first, an instruction for a resize area is received from the user (S701).
Subsequently, a date imprinting flag is read from the incidental information of the image file of the image for which the resizing processing instruction is performed (S702), and based on this flag, whether or not the image is a superimposed image on which the date is superimposed is determined. Judgment is made (S703). In this determination process, if the image is a superimposed image with a date superimposed (Y in S703), then the resized area received in the process of S701 is applied to the date area superimposed on the image. (S704), and if the resize area covers the date area (Y in S704), the resizing process is prohibited, and the TFT panel 16 causes the date in the resize area. The fact that the area is over is displayed (S705), the process returns to S701, and the resize area instruction is received again from the user.
[0061]
On the other hand, when the resize area does not cover the date area (N in S704), or when the image is not a superimposed image on which the date is superimposed (N in S703), the resize process as specified is executed (S703). S706).
By such processing, when the resizing process is instructed for the superimposed image on which the date is superimposed, the resizing process is prohibited for the resized area to the date area, so that the date is divided and resized. Can be prevented.
[0062]
FIG. 8 is a flowchart showing another modified example of the process performed when the edit mode is designated at the time of reproduction. When a trimming process instruction is performed on a superimposed image on which a date is superimposed, When the specified trimming area is an area that divides the date (character), the trimming process is prohibited. When the date is removed (omitted) from the trimmed image, the trimmed image is displayed. The process of superimposing the date again on is shown.
[0063]
As shown in the figure, first, an instruction for a trimming area is received from the user (S801).
Subsequently, a date imprint flag is read out from the incidental information of the image file of the image for which the trimming processing instruction has been performed (S802), and based on this flag, whether or not the image is a superimposed image with the date superimposed is determined. Judgment is made (S803). In this determination process, if the image is a superimposed image with the date superimposed (Y in S803), the trimming area received in the process of S801 divides the date area superimposed on the image. If the trimming area is to divide the date area (Y in S804), the trimming process is prohibited and designated in the TFT panel 16 (S804). The fact that the trimming area is an area where characters are to be divided (the fact that the trimming area is covered with characters) is displayed (S805), and the process returns to S801 to accept an instruction for the trimming area from the user again.
[0064]
On the other hand, when the trimming area is not an area for dividing characters (N in S804), or when the image is not a superimposed image on which the date is superimposed (N in S803), the trimming area is based on the trimming area specified in S801. The trimming process is executed (S806).
[0065]
Subsequently, it is determined whether or not the image subjected to the trimming process is a superimposed image on which the date is superimposed (S807). If the image is the superimposed image on which the date is superimposed (Y in S807), the image after the trimming process is determined. It is determined whether or not there is a date in the image (in the trimmed image or in the trimming area) (S808). If there is no date (N in S808), the image is again displayed in the trimmed image. The date is superimposed (S809), this is recorded on the recording medium 18, and the flow ends. Note that the date to be superimposed is acquired from information related to shooting (such as shooting date) included in the supplementary information of the image file.
[0066]
On the other hand, when the image subjected to the trimming process is not an image on which the date is superimposed (N in S807), or when there is a date in the image after the trimming process (Y in S808), The image is recorded on the recording medium 18 and the flow is finished.
[0067]
With this process, when the trimming process is instructed for the superimposed image with the date superimposed, the trimming process in which the trimming area divides the date is prohibited, so that the date is divided and trimmed. Can be prevented. Further, when the date is removed after the trimming process, the date is re-superimposed, so that the date is not removed after the trimming process.
[0068]
The determination as to whether the resize area covers the date area (S704 in FIG. 7) and the determination as to whether the trimming area divides the date area (S804 in FIG. 8) include, for example: It is done like this. 2 and 4, when the date imprinting mode is designated and the image is captured, the date area indicating which area on the image the date is superimposed on the accompanying information of the image file. When the resize processing instruction or trimming processing instruction is issued to this superimposed image, the date area information is read from the supplementary information of the image file of this superimposed image, and the date area information and the user specify Based on the resize area or the trimming area, a determination is made as to whether the resize area covers the date area, and whether the trimming area divides the date area.
[0069]
Further, according to the processing shown in FIGS. 4 and 5, the superimposed image and the difference data between the superimposed image and the subject image are recorded, and then the subject image is restored (reproduced) from the superimposed image and the difference data. Although it is configured, for example, a subject image and difference data between the subject image and the superimposed image are recorded, and a superimposed image can be restored (reproduced) from the subject image and the difference data later. Then, the processing may be performed.
[0070]
In this embodiment, the date is applied as an example of characters superimposed on the image. However, other shooting conditions such as shutter speed and exposure, user comments, numbers, and the like may be applied.
In this embodiment, the electronic camera has an image processing function, and the editing process shown in FIGS. 3 and 5 to 8 is performed. However, these editing processes are performed in addition to the electronic camera. The external apparatus, for example, an image processing apparatus may be used.
[0071]
FIG. 9 is a block diagram showing an example of such an image processing apparatus. Note that the image processing apparatus shown in FIG.
In the figure, an image processing apparatus 31 includes a USB connector 32, a card connector 33, an IF (interface) unit 34, an HD (hard disk) 35, a DRAM 36, a display output unit 37, a CPU 38, and the like. The DRAM 36, the display output unit 37, and the CPU 38 are all connected to the bus line 39 so as to be able to exchange data with each other.
[0072]
The IF unit 32 communicates with an external device such as an electronic camera shown in FIG. 1 through the USB connector 33 and with a memory card such as the recording medium 18 shown in FIG. It provides an interface function to exchange data between them.
[0073]
The HD 35 is a recording medium on which various programs (applications, software) for performing the editing processing shown in FIG. 3 and FIGS. 5 to 8 and various data such as image files are recorded.
The DRAM 36 is a memory used not only as a buffer memory for temporarily storing image data processed by the CPU 38, but also as a working storage area for various processes by the CPU 38.
[0074]
The display output unit 37 is an output unit that outputs a display signal for displaying an image, various menus, and the like on a display unit (display) 40 connected to the image processing apparatus 31.
The CPU 38 is a central processing unit, and performs control processing of each part constituting the image processing device 31 according to a control program provided therein, and an input unit (keyboard or the like) 41 connected to the image processing device 31. The user's instruction is accepted, and processing corresponding to the instruction is performed. For example, when receiving an instruction for starting a program for performing any of the editing processes shown in FIGS. 3, 5 to 8, and the like from the user via the input unit 41, the CPU 38 loads the corresponding program from the HD 35. Read and start executing the program. Accordingly, when a predetermined editing instruction (processing instruction) for a predetermined image file is received from the user, the instruction target image file is read, and editing processing corresponding to the editing instruction is executed. In this case, the instruction target image file is directly read from the external device such as the electronic camera shown in FIG. 1 via the USB connector 33, or the recording shown in FIG. It is read from a memory card such as the medium 18 or read from the HD 35. Further, the image file for which the editing process has been completed is recorded in an external device such as the electronic camera shown in FIG. 1 through the USB connector 33, or shown in FIG. 1 through the card connector 34, for example. It is recorded on a memory card such as the recording medium 18 or recorded on the HD 35.
[0075]
As described above, the image processing apparatus 31 shown in FIG. 9 can also perform the editing process shown in FIG. 3 and FIGS.
[0076]
【The invention's effect】
As described above in detail, according to the present invention, when image processing is performed on a superimposed image on which characters are superimposed, image processing is performed on a subject image before the characters are superimposed. Since the characters are re-superimposed on this, the characters are not inappropriate after the image processing, and are appropriately superimposed.
[Brief description of the drawings]
FIG. 1 is a block diagram of an electronic camera according to an embodiment of the present invention.
FIG. 2 is a flowchart illustrating an example of photographing processing.
FIG. 3 is a flowchart illustrating an example of processing that is performed when an editing mode is designated during reproduction.
FIG. 4 is a flowchart illustrating a modified example of imaging processing.
FIG. 5 is a flowchart showing a modified example of processing performed when an edit mode is designated during reproduction.
FIG. 6 is a flowchart showing another modified example of processing performed when an editing mode is designated during reproduction.
FIG. 7 is a flowchart showing another modified example of processing performed when an editing mode is designated during reproduction.
FIG. 8 is a flowchart showing another modified example of processing performed when an editing mode is designated during reproduction.
FIG. 9 is a block diagram illustrating an example of an image processing apparatus.
[Explanation of symbols]
1 lens
2 CCD
3 Imaging circuit
4 CPU_A
5 A / D conversion circuit
6 Correction circuit
7 frame memory
8 CPU_B
9 FIFO memory
10 Recording buffer
11 Bus line
12 On-screen circuit
13 Video output circuit
14 Video output terminal
15 TFT liquid crystal drive circuit
16 TFT panel
17 Backlight unit
18 Recording media
19 Recording medium I / F
20 Actuator
21 Actuator drive circuit
22 EEPROM
23 External data I / F
24 Key matrix section
25 LCD panel
26 LCD display circuit
27 batteries
28 Power supply circuit
29 Backup power supply
30 Battery state detection circuit
31 Image processing device
32 IF section
33 USB connector
34 Card connector
35 HD
36 DRAM
37 Display output section
38 CPU
39 Bus line
40 display section
41 Input section

Claims (9)

画像データに対して編集指示に応じた画像処理を施す画像処理装置であって
記画データ、文字データが重畳された重畳画像データであって、前記文字データが重畳されていない被写体画像データを再現可能であったときは、前記重畳画像データ及び該重畳画像データと前記被写体画像データとの差分データから前記被写体画像データを再現し、該再現された被写体画像データに対して前記編集指示に応じた画像処理を施す画像処理手段と
前記画像処理手段により画像処理が施された前記再現された被写体画像データに前記文字データを重畳し、該文字データを重畳し画像処理が施され再現された被写体画像データを記録する記録制御手段と、
を備えたことを特徴とする画像処理装置。
An image processing apparatus that performs image processing according to an editing instruction on image data ,
Before Kiga image data, a superimposed image data character data is superimposed, when the character data is a reproduction available-subject image data that are not superimposed, the superimposed image data and the superposition image data It said reproducing said subject image data from the difference data between the subject image data, image processing means for performing image processing corresponding to the editing instruction to be Utsushitai image data the reproduced and,
Recording control means for superimposing the character data on the reproduced subject image data subjected to image processing by the image processing means, and recording the reproduced subject image data subjected to image processing by superimposing the character data; ,
Images processor you comprising the.
画像データに対して編集指示に応じた画像処理を施す画像処理装置であって、
記画データ、文字データが重畳された重畳画像データであって、前記文字データが重畳されていない被写体画像データを再現可能であったときは、前記重畳画像データの付帯情報よって関連付けされている前記被写体画像データを読み出して再現し、該再現された被写体画像データに対して前記編集指示に応じた画像処理を施す画像処理手段と
前記画像処理手段により画像処理が施された前記再現された被写体画像データに前記文字データを重畳し、該文字データを重畳し画像処理が施され再現された被写体画像データを記録する記録制御手段と、
を備えたことを特徴とする画像処理装置。
An image processing apparatus that performs image processing according to an editing instruction on image data,
Before Kiga image data, a superimposed image data character data is superimposed, when the character data is a reproduction available-subject image data not superimposed, depending on additional information of the superimposed image data reproduced by reading the subject image data are associated, image processing means for performing image processing corresponding to the editing instruction to be Utsushitai image data said reproduced,
Recording control means for superimposing the character data on the reproduced subject image data subjected to image processing by the image processing means, and recording the reproduced subject image data subjected to image processing by superimposing the character data; ,
Images processor you comprising the.
さらに、前記被写体画像データに文字データが重畳された重畳画像データに対し前記画像処理手段により編集指示に応じた画像処理が施されるときに、該画像処理の内の少なくともリサイズ処理及び回転処理を禁止させる禁止手段と、
を備えたことを特徴とする請求項1又は2に記載の画像処理装置。
Further, when image processing according to an editing instruction is performed by the image processing means on the superimposed image data in which character data is superimposed on the subject image data , at least resizing processing and rotation processing of the image processing are performed. Prohibition means to prohibit,
The image processing apparatus according to claim 1, further comprising:
さらに、前記被写体画像データに文字データが重畳された重畳画像データに対し前記画像処理手段により編集指示に応じた画像処理としてトリミング処理が施されるときに、指定されたトリミング領域が前記文字データを分割させるトリミング領域であった場合は前記トリミング処理を禁止させる禁止手段と、
を備えたことを特徴とする請求項1又は2に記載の画像処理装置。
Furthermore, when trimming processing is performed as image processing according to an editing instruction by the image processing means on the superimposed image data in which character data is superimposed on the subject image data , the designated trimming area stores the character data. In the case of the trimming region to be divided, prohibiting means for prohibiting the trimming process,
The image processing apparatus according to claim 1, further comprising:
前記記録制御手段は、前記被写体画像データに文字データが重畳された重畳画像データに対し前記画像処理手段により編集指示に応じた画像処理としてトリミング処理が施され、該トリミング処理後の画像データから前記文字データが除かれたときに、該トリミング処理後の画像データに前記文字データを重畳し、該文字データを重畳した前記トリミング処理後の画像データを記録する、
とを特徴とする請求項1又は2に記載の画像処理装置。
The recording control unit performs a trimming process as image processing according to an editing instruction by the image processing unit on the superimposed image data in which character data is superimposed on the subject image data , and the image data after the trimming process is used to perform the trimming process. when the character data is removed, and superimposes the character data on the image data after the trimming process, that records the image data after the trimming process by superimposing the character data,
The image processing apparatus according to claim 1 or 2, characterized and this.
データ対して編集指示に応じた画像処理を施す画像処理方法であって、
記画データ文字データが重畳された重畳画像データであって、前記文字データが重畳されていない被写体画像データを再現可能であったときは、画像処理手段により、前記重畳画像データ及び該重畳画像データと前記被写体画像データとの差分データから前記被写体画像データを再現し、該再現された被写体画像データに対して前記編集指示に応じた画像処理を施し、
記録制御手段により、前記画像処理手段により画像処理が施された前記再現された被写体画像データに前記文字データを重畳し、該文字データを重畳し画像処理が施され再現された被写体画像データを記録する、
ことを特徴とする画像処理方法。
An image processing method for the image picture data subjected to image processing corresponding to the editing instruction,
Before Kiga image data, a superimposed image data character data is superimposed, when the character data is a reproduction available-subject image data not superimposed by the image processing means, the superimposed image data and to reproduce the subject image data from the differential data between the superposed image data and the subject image data is subjected to image processing corresponding to the editing instruction to be Utsushitai image data said reproduced,
The recording control means, said superimposing the character data to be Utsushitai processed image data is the reproduced has been subjected by the image processing means, superimposed image image processes the character data has been revealed again subjected under Record the object image data ,
An image processing method.
画像データに対して編集指示に応じた画像処理を施す画像処理方法であって、An image processing method for performing image processing according to an editing instruction on image data,
前記画像データが、文字データが重畳された重畳画像データであって、前記文字データが重畳されていない被写体画像データを再現可能であったときは、画像処理手段により、前記重畳画像データの付帯情報によって関連付けされている前記被写体画像データを読み出して再現し、該再現された被写体画像データに対して前記編集指示に応じた画像処理を施し、When the image data is superimposed image data on which character data is superimposed and the subject image data on which the character data is not superimposed can be reproduced, the image processing means adds incidental information on the superimposed image data. The subject image data associated with is read and reproduced, and the reproduced subject image data is subjected to image processing according to the editing instruction,
記録制御手段により、前記画像処理手段により画像処理が施された前記再現された被写体画像データに前記文字データを重畳し、該文字データを重畳し画像処理が施され再現された被写体画像データを記録する、The recording control means superimposes the character data on the reproduced subject image data subjected to image processing by the image processing means, and records the reproduced subject image data subjected to image processing by superimposing the character data. To
ことを特徴とする画像処理方法。  An image processing method.
被写体を撮像して被写体画像データを得る撮像手段と、
撮影画像データとして、前記撮像手段により得られた被写体画像データに文字データが重畳された重畳画像データと、該重畳画像データと前記被写体画像データとの差分データとを記録する記録制御手段と、
前記撮影画像データに対して編集指示がなされたときに、前記撮影画像データが、文字データが重畳された重畳画像データであって、前記文字データが重畳されていない被写体画像データを再現可能であったときは、前記重畳画像データ及び前記差分データから前記被写体画像データを再現し、該再現された被写体画像データに対して前記編集指示に応じた画像処理を施す画像処理手段と、
前記画像処理手段により画像処理が施された前記再現された被写体画像データに前記文字データを重畳し、該文字データを重畳し画像処理が施され再現された被写体画像データを記録する重畳記録制御手段と、
を備えたことを特徴とする電子カメラ。
Imaging means for imaging a subject to obtain subject image data ;
As captured image data , recording control means for recording superimposed image data in which character data is superimposed on subject image data obtained by the imaging means, and difference data between the superimposed image data and the subject image data ;
When an instruction to edit the captured image data is given, the captured image data is superimposed image data on which character data is superimposed, and subject image data on which the character data is not superimposed can be reproduced. An image processing unit that reproduces the subject image data from the superimposed image data and the difference data, and performs image processing according to the editing instruction on the reproduced subject image data ;
The superimposed character data to be Utsushitai processed image data is the reproduced has been subjected by the image processing means, to be Utsushitai image data superimposed image image processes the character data has been revealed again subjected Superimposition recording control means for recording;
An electronic camera characterized by comprising:
被写体を撮像して被写体画像データを得る撮像手段と、Imaging means for imaging a subject to obtain subject image data;
撮影画像データとして、前記撮像手段により得られた被写体画像データに文字データが重畳された重畳画像データと前記被写体画像データとを関連付けて記録する記録制御手段と、Recording control means for recording superimposed image data in which character data is superimposed on the subject image data obtained by the imaging means and the subject image data as recorded image data;
前記撮影画像データに対して編集指示がなされたときに、前記撮影画像データが、文字データが重畳された重畳画像データであって、前記文字データが重畳されていない被写体画像データを再現可能であったときは、前記重畳画像データの付帯情報によって関連付けされている前記被写体画像データを読み出して再現し、該再現された被写体画像データに対して前記編集指示に応じた画像処理を施す画像処理手段と、When an instruction to edit the captured image data is given, the captured image data is superimposed image data on which character data is superimposed, and subject image data on which the character data is not superimposed can be reproduced. An image processing unit that reads out and reproduces the subject image data associated with the supplementary information of the superimposed image data and performs image processing according to the editing instruction on the reproduced subject image data; ,
前記画像処理手段により画像処理が施された前記再現された被写体画像データに前記文字データを重畳し、該文字データを重畳し画像処理が施され再現された被写体画像データを記録する重畳記録制御手段と、Superimposition recording control means for superimposing the character data on the reproduced subject image data subjected to image processing by the image processing means, and recording the reproduced subject image data subjected to image processing by superimposing the character data. When,
を備えたことを特徴とする電子カメラ。An electronic camera characterized by comprising:
JP2001172222A 2001-06-07 2001-06-07 Image processing apparatus, image processing method, and electronic camera Expired - Fee Related JP4460798B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001172222A JP4460798B2 (en) 2001-06-07 2001-06-07 Image processing apparatus, image processing method, and electronic camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001172222A JP4460798B2 (en) 2001-06-07 2001-06-07 Image processing apparatus, image processing method, and electronic camera

Publications (2)

Publication Number Publication Date
JP2002368977A JP2002368977A (en) 2002-12-20
JP4460798B2 true JP4460798B2 (en) 2010-05-12

Family

ID=19013879

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001172222A Expired - Fee Related JP4460798B2 (en) 2001-06-07 2001-06-07 Image processing apparatus, image processing method, and electronic camera

Country Status (1)

Country Link
JP (1) JP4460798B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005223758A (en) * 2004-02-06 2005-08-18 Canon Inc Image processing apparatus, control method thereof, computer program, and recording medium

Also Published As

Publication number Publication date
JP2002368977A (en) 2002-12-20

Similar Documents

Publication Publication Date Title
JP3096684B2 (en) Digital camera
JP4204509B2 (en) Data division recording method for electronic camera and electronic camera
US6850273B1 (en) Digital camera recording image frame and printing information files on a recording medium
JP2005176136A (en) Image processor, image reproducing method, program and recording medium
JP4460798B2 (en) Image processing apparatus, image processing method, and electronic camera
JP2004104601A (en) Method for controlling image pickup device, its recording medium and its program
JP3880489B2 (en) IMAGING DEVICE, DATA PROCESSING METHOD IN IMAGING DEVICE, STORAGE MEDIUM, AND PROGRAM
US6825950B1 (en) Image reproduction apparatus, control method thereof, printing information generation method, and storage medium
JP4253396B2 (en) Electronic camera device
JP2002314931A (en) Electronic camera
JP2002024060A (en) File storage device
JP4328610B2 (en) Imaging device
JP2004328073A (en) Image data writing method
JP2002135711A (en) Electronic camera device and recording medium
JPH11259506A (en) Image processing device and method and record medium
JP4019176B2 (en) Image processing method and apparatus
JP4461991B2 (en) Image transfer apparatus and program
JP2003023603A (en) Electronic camera and photographed information file management method
JP2001111920A (en) Image recorder and image recording method
JP2008219425A (en) Image processor and image processing method
JP4599739B2 (en) Imaging device
JP2002300511A (en) Electronic camera and recording method for electronic camera
JP2005027233A (en) Digital camera, order information recording program, and display program
JPH11275512A (en) Digital camera
JP3957775B2 (en) Digital camera and recording method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080305

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091006

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091110

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091216

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: 20100119

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: 20100215

R151 Written notification of patent or utility model registration

Ref document number: 4460798

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: 20130219

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20140219

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

LAPS Cancellation because of no payment of annual fees