JP4801933B2 - Image processing apparatus and method, and image processing program - Google Patents
Image processing apparatus and method, and image processing program Download PDFInfo
- Publication number
- JP4801933B2 JP4801933B2 JP2005155449A JP2005155449A JP4801933B2 JP 4801933 B2 JP4801933 B2 JP 4801933B2 JP 2005155449 A JP2005155449 A JP 2005155449A JP 2005155449 A JP2005155449 A JP 2005155449A JP 4801933 B2 JP4801933 B2 JP 4801933B2
- Authority
- JP
- Japan
- Prior art keywords
- image processing
- image
- red
- version
- recorded
- 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
Links
Images
Landscapes
- Studio Devices (AREA)
- Image Analysis (AREA)
- Image Processing (AREA)
- Television Signal Processing For Recording (AREA)
Description
この発明は,画像処理装置およびその方法ならびに画像処理プログラムに関する。 The present invention relates to an image processing apparatus and method, and an image processing program.
人物をストロボ撮影した場合には,人物像の目が赤くなってしまう,いわゆる赤目現象が起きることがある。赤目現象が起きた画像については,ストロボを使用して撮影したかどうか,撮像レンズの焦点距離などの情報を用いてその赤目の画像部分を修正するものがある(特許文献1)。
また,赤目の修正を行ったかどうかを検出し,赤目の修正を行った場合には赤目の修正処理を再度行うことを禁止するものもある(特許文献2)。
しかしながら,一度赤目修正処理が行われた場合であっても赤目修正処理回路(プログラム)のバージョン・アップ等が行われた場合には,一度行われた赤目修正処理よりも新しい赤目修正処理によりさらによい赤目修正を行うことができることがある。 However, even when the red-eye correction processing is performed once, if the red-eye correction processing circuit (program) is upgraded or upgraded, the red-eye correction processing is more new than the red-eye correction processing performed once. Sometimes good red-eye correction can be done.
この発明は,赤目修正に代表される画像処理においてよりよい画像処理を行うことを目的とする。 An object of the present invention is to perform better image processing in image processing typified by red-eye correction.
この発明は,所定の画像処理を行う画像処理手段を備えた画像処理装置において,与えられる画像データについて行われている上記所定の画像処理よりも新しい画像処理を上記画像処理手段によって行うことができるかどうかを判定する第1の判定手段,および上記第1の判定手段によって上記新しい画像処理を上記画像処理手段によって行うことができると判定されたことにより,上記与えられる画像データについて上記新しい画像処理が行われるように上記画像処理手段を制御する画像処理制御手段を備えていることを特徴とする。 According to the present invention, in the image processing apparatus provided with the image processing means for performing the predetermined image processing, the image processing means can perform image processing newer than the predetermined image processing performed on the given image data. And determining whether the new image processing can be performed by the image processing means by the first determination means and the first determination means, and the new image processing for the given image data. Image processing control means for controlling the image processing means so as to be performed.
この発明は,上記画像処理装置に適した方法も提供している。すなわち,この方法は,所定の画像処理を行う画像処理手段を備えた画像処理装置において,与えられる画像データについて行われている上記所定の画像処理よりも新しい画像処理(更新,改訂されている画像処理)を上記画像処理手段によって行うことができるかどうかを判定し,上記新しい画像処理を行うことができると判定されたことにより,上記与えられる画像データについて上記新しい画像処理が行われるように上記画像処理手段を制御するものである。 The present invention also provides a method suitable for the image processing apparatus. That is, this method is an image processing apparatus having an image processing means for performing predetermined image processing. Image processing (updated or revised image) is newer than the predetermined image processing performed for given image data. Is determined by the image processing means, and when it is determined that the new image processing can be performed, the new image processing is performed on the given image data. It controls the image processing means.
この発明は,上記画像処理方法を実行するためのプログラム(記録媒体に格納されていてもよい)も提供している。 The present invention also provides a program (which may be stored in a recording medium) for executing the image processing method.
この発明によると,画像処理装置には,所定の画像処理を行う画像処理手段が設けられている。画像データが与えられると,その画像データについて行われている所定の画像処理よりも新しい画像処理を画像処理手段において行うことができるかどうかが判定され(画像処理が行われていない場合には,新しい画像処理をできると判定される),新しい画像処理を行うことができると判定されると,与えられる画像データについて画像処理装置の画像処理手段において新しい画像処理が行われる。 According to the present invention, the image processing apparatus is provided with image processing means for performing predetermined image processing. Given image data, it is determined whether or not the image processing means can perform image processing that is newer than the predetermined image processing being performed on the image data (if no image processing is performed, If it is determined that new image processing can be performed), new image processing is performed in the image processing means of the image processing apparatus for the given image data.
すでに行われた画像処理よりも新しい(更新,改訂,バージョンアップされた)画像処理を行うことができる場合に画像処理が行われるので,よりよい画像処理を行うことができるようになる。また,画像処理装置において画像処理が行われると古い(低いバージョンでの)画像処理となってしまう場合には,その画像処理は行われない。必要な場合に画像処理が行われるようになる。 Since image processing is performed when image processing that is newer (updated, revised, upgraded) than image processing that has already been performed can be performed, better image processing can be performed. Further, when image processing is performed in the image processing apparatus, the image processing is not performed when the old (lower version) image processing is performed. Image processing is performed when necessary.
上記新しい画像処理が不要かどうかを判定する第2の判定手段,および上記第2の判定手段により新しい画像処理が不要と判定されたことに応じて,上記画像処理手段の制御処理を停止するように上記画像処理制御手段を制御する制御手段をさらに備えるようにしてもよい。高いバージョンでの画像処理が不要な場合には画像処理を停止できるようになる。 The second determination means for determining whether or not the new image processing is unnecessary, and the control processing of the image processing means is stopped when the second determination means determines that the new image processing is unnecessary. The image processing control unit may further include a control unit that controls the image processing control unit. When image processing at a higher version is unnecessary, the image processing can be stopped.
記録媒体に記録されている画像データを読み取る読取手段をさらに備えてもよい。この場合,上記第1の判定手段は,上記読取手段から読み取られた画像データについて上記判定処理を行うものとなろう。そして,上記画像処理制御手段の制御のもとに上記画像処理手段によって画像処理が行われた画像データによって表される画像を表示するように表示装置を制御する表示制御手段,記録指令の入力手段,および上記入力手段から記録指令が入力されたことに応答して上記画像処理制御手段の制御のもとに上記画像処理手段によって上記新しい画像処理が行われた画像データを上記記録媒体に記録する第1の記録制御手段をさらに備えることとなろう。 You may further provide the reading means which reads the image data currently recorded on the recording medium. In this case, the first determination unit will perform the determination process on the image data read from the reading unit. And display control means for controlling the display device to display an image represented by the image data processed by the image processing means under the control of the image processing control means, and input means for recording commands , And in response to the input of the recording command from the input means, the image data subjected to the new image processing by the image processing means is recorded on the recording medium under the control of the image processing control means. The first recording control means will be further provided.
新しい画像処理が行われた画像を表示装置に表示することができ,新しい画像処理が行われた画像を確認できる。新しい画像処理後の画像が気に入れば,その新しい画像処理後の画像を表す画像データが記録媒体に記録される。新しい画像処理後の画像が気に入らなければ,新しい画像処理を行う前の画像を表す画像データを記録媒体に残しておくことができる。 An image that has undergone new image processing can be displayed on the display device, and an image that has undergone new image processing can be confirmed. If the user likes the image after the new image processing, the image data representing the image after the new image processing is recorded on the recording medium. If the user does not like the image after the new image processing, the image data representing the image before the new image processing can be left on the recording medium.
上記のように,記録媒体に記録されている画像データを読み取る読取手段をさらに備え,上記第1の判定手段が,上記読取手段から読み取られた画像データについて上記判定処理を行うものである場合に,上書きモードまたは新規保存モードを選択する選択手段,上記選択手段によって上書きモードが選択されたことに応じて,上記画像処理制御手段の制御のもとに上記画像処理手段によって上記新しい画像処理が行われた画像データを,上記読取手段によって読み取られた画像データが記録されている記録領域に上書きし,上記選択手段によって新規保存モードが選択されたことに応じて,上記画像処理制御手段の制御のもとに上記画像処理手段によって上記新しい画像処理が行われた画像データを,上記記録媒体の空領域に記録する第2の記録制御手段をさらに備えるようにしてもよい。 As described above, when the image data recorded on the recording medium is further provided with a reading unit, and the first determination unit performs the determination process on the image data read from the reading unit. Selection means for selecting an overwrite mode or a new storage mode, and in response to the selection of the overwrite mode by the selection means, the image processing means performs the new image processing under the control of the image processing control means. The image processing control means controls the image processing control means in response to the new storage mode being selected by the selection means, overwriting the recorded image data on the recording area where the image data read by the reading means is recorded. Secondly, image data that has been subjected to the new image processing by the image processing means is recorded in an empty area of the recording medium. It may further comprise a recording control means.
上書きモードが選択されることにより,新しい画像処理後の画像データを,その新しい画像処理が行われる前に記録媒体に記録されている画像データに上書きすることができる。新規保存モードが選択されることにより,新しい画像処理が行われた画像データを記録媒体の空領域に記録できる。 By selecting the overwrite mode, the image data after the new image processing can be overwritten on the image data recorded on the recording medium before the new image processing is performed. By selecting the new storage mode, the image data on which the new image processing has been performed can be recorded in the empty area of the recording medium.
記録媒体に記録されている画像データを読み取る読取手段をさらに備えるようにしてもよい。この場合,上記記録媒体の空領域に,上記画像処理手段によって上記新しい画像処理が行われた画像データを記録できるかどうかを判定する第3の判定手段,および上記第3の判定手段によって,上記新しい画像処理が行われた画像データを上記記録媒体の空領域に記録できると判定されたことに応じて,上記画像処理制御手段により制御される上記画像処理手段によって上記新しい画像処理が行われた画像データを上記記録媒体に記録する記録制御手段をさらに備える。そして,上記第3の判定手段によって上記新しい画像処理が行われた画像データを上記記録媒体の空領域に記録できないと判定されたことに応じて,上記画像処理制御手段による上記画像処理手段の制御を停止するものとなろう。 You may make it further provide the reading means which reads the image data currently recorded on the recording medium. In this case, the third determination means for determining whether or not the image data subjected to the new image processing by the image processing means can be recorded in the empty area of the recording medium, and the third determination means, The new image processing is performed by the image processing means controlled by the image processing control means in response to determining that the image data subjected to the new image processing can be recorded in the empty area of the recording medium. Recording control means for recording image data on the recording medium is further provided. Then, when it is determined that the image data on which the new image processing has been performed by the third determination unit cannot be recorded in the empty area of the recording medium, the control of the image processing unit by the image processing control unit Would be something to stop.
記録媒体の空領域に画像処理後の画像データを記録できる場合に新しい画像処理を行わせることができるようになる。 When image data after image processing can be recorded in an empty area of the recording medium, new image processing can be performed.
また,上記のように記録媒体に記録されている画像データを読み取る読取手段をさらに備え,上記第1の判定手段が,上記読取手段から読み取られた画像データについて上記判定処理を行うものの場合に,新規保存モードを設定する新規保存モード設定手段,上記新規保存モード設定手段により新規保存モードが設定されたことに応じて,上記記録媒体の空領域に,上記画像処理手段によって上記新しい画像処理が行われた画像データを記録できるかどうかを判定する第4の判定手段,上記第4の判定手段によって,上記新しい画像処理が行われた画像データを上記記録媒体の空領域に記録できると判定されたことに応じて,上記画像処理制御手段のもとに制御される上記画像処理手段によって上記新しい画像処理が行われた画像データを上記記録媒体に記録する第3の記録制御手段,上書きモードを設定する上書きモード設定手段,および上記第4の判定手段によって上記新しい画像処理が行われた画像データを上記記録媒体の空領域に記録できないと判定された場合に,上記上書きモード設定手段によって上書きモードが設定されたことに応じて,上記画像処理制御手段により制御される上記画像処理手段によって上記新しい画像処理が行われた画像データを,上記読取手段によって読み取られた画像データが記録されている記録領域に上書きする第4の記録制御手段をさらに備えるようにしてもよい。 Further, when the image data recorded on the recording medium as described above is further provided with a reading unit, and the first determination unit performs the determination process on the image data read from the reading unit, In response to the new storage mode being set by the new storage mode setting means for setting the new storage mode and the new storage mode setting means, the image processing means performs the new image processing in the empty area of the recording medium. It is determined by the fourth determination means for determining whether or not the recorded image data can be recorded, and the fourth determination means that the image data subjected to the new image processing can be recorded in an empty area of the recording medium. Accordingly, the image data subjected to the new image processing by the image processing means controlled under the image processing control means is improved. The image data on which the new image processing has been performed by the third recording control means for recording on the recording medium, the overwrite mode setting means for setting the overwrite mode, and the fourth determination means cannot be recorded in the empty area of the recording medium. The image data on which the new image processing has been performed by the image processing means controlled by the image processing control means in response to the setting of the overwrite mode by the overwrite mode setting means. You may make it further provide the 4th recording control means to overwrite the recording area where the image data read by the said reading means is recorded.
新規保存モードが設定された場合には,記録媒体に空領域があれば,新しい画像処理後の画像データを記録媒体の空領域に記録できる。新規保存モードが設定された場合に,記録媒体に空領域が無ければ,上書きモードが設定されることにより,新しい画像処理が行われる画像データが記録されている記録領域に,新しい画像処理が行われた画像データが上書きされる。空領域の有無にかかわらず,新しい画像処理が行われた画像データを記録媒体に記録できるようになる。 When the new storage mode is set, if there is an empty area in the recording medium, the image data after the new image processing can be recorded in the empty area of the recording medium. When the new save mode is set, if there is no empty area on the recording medium, the overwrite mode is set, so that new image processing is performed in the recording area where image data to be subjected to new image processing is recorded. The broken image data is overwritten. Regardless of the presence or absence of an empty area, image data that has been subjected to new image processing can be recorded on a recording medium.
与えられる画像データが上記所定の画像処理を行う対象のものかどうかを判定する第5の判定手段を備えるものでもよい。この場合,上記第1の判定手段が,上記第5の判定手段により,与えられる画像データが上記所定の画像処理を行うものであると判定されたことに応じて,与えられる画像データについて行われている上記所定の画像処理よりも新しい画像処理を上記画像処理手段によって行うことができるかどうかを判定するものとなろう。 There may be provided fifth determination means for determining whether the given image data is subject to the predetermined image processing. In this case, the first determination unit performs the given image data in response to the fact that the fifth determination unit determines that the given image data is to be subjected to the predetermined image processing. It will be judged whether or not image processing newer than the predetermined image processing can be performed by the image processing means.
画像処理対象の画像データかどうかを確認してから所定の画像処理が新しいかどうかを検出するので,画像処理対象外の画像データについてバージョンを確認してしまうことを未然に防止できる。 Since it is detected whether or not the predetermined image processing is new after confirming whether the image data is the image processing target, it is possible to prevent the version of the image data not subject to the image processing from being confirmed.
上記所定の画像処理は,たとえば,赤目画像修正処理である。この場合,上記第5の判定手段が,与えられる画像データによって表される画像についてのストロボ撮影情報または輝度にもとづいて,上記所定の画像処理を行うものであるかどうかを判定する。 The predetermined image processing is, for example, red-eye image correction processing. In this case, the fifth determination means determines whether or not the predetermined image processing is to be performed based on the flash photographing information or the luminance of the image represented by the given image data.
上記第1の判定手段は,たとえば,与えられる画像データについて上記所定の画像処理がどのバージョンで行われていたかどうかを検出する画像処理検出手段を備える。この場合,上記画像処理検出手段によって検出された画像処理のバージョンよりも高いバージョンの画像処理を行うことができると判定されよう。 The first determination unit includes, for example, an image processing detection unit that detects in which version the predetermined image processing has been performed for given image data. In this case, it will be determined that a higher version of image processing than the version of image processing detected by the image processing detection means can be performed.
図1は,ディジタル・スチル・カメラの電気的構成を示すブロック図である。 FIG. 1 is a block diagram showing an electrical configuration of a digital still camera.
この実施例によるディジタル・スチル・カメラにおいては赤目画像修正,自動階調補正,自動白バランス調整などのさまざまな画像処理を行うことができる。この実施例によるディジタル・スチル・カメラにおいては,とくに,これらの画像処理のバージョンが記憶されており,処理対象の画像について同じ画像処理が行われているかどうか,同じ画像処理が行われているとしたら,ディジタル・スチル・カメラで行うことができる画像処理のバージョンよりも低いバージョンで画像処理が行われているかどうかが検出される。低いバージョンで画像処理が行われている場合には,ディジタル・スチル・カメラにおいてより高いバージョンでの画像処理が行われる。より詳しくは,以下の説明によって明らかとなろう。 The digital still camera according to this embodiment can perform various image processing such as red-eye image correction, automatic gradation correction, and automatic white balance adjustment. In the digital still camera according to this embodiment, in particular, these image processing versions are stored, and whether the same image processing is performed on the image to be processed is performed. Then, it is detected whether image processing is being performed with a version lower than the version of image processing that can be performed with a digital still camera. When image processing is performed with a lower version, image processing with a higher version is performed with a digital still camera. More details will become apparent from the following description.
ディジタル・スチル・カメラの全体の動作は,制御回路20によって統括される。
The overall operation of the digital still camera is controlled by the
制御回路20には,互いにバス接続されているCPU21,ROM22およびRAM23が含まれている。ROM22には,ディジタル・スチル・カメラにおいて行われる画像処理の処理内容(処理名),その画像処理のバージョン,その他必要なデータ,画像処理プログラムなどが格納されている。RAM23は,一時的に必要なデータ,メモリ・カード11から読み出された画像ファイルなどを記憶するものである。
The
ディジタル・スチル・カメラには,シャッタ・レリーズ・ボタン,モード設定ダイアル(モード設定ダイアルにより撮像モード,再生モード,修正モードなどの各種モードを設定できる),OKボタン,キャンセル・ボタン,枠ボタン,前ボタン,後ボタンなどを含む操作器13が含まれている。操作器13から出力される操作信号は,制御回路20に入力する。また,ディジタル・スチル・カメラには,パーソナル・コンピュータを接続することができる。このために外部インターフェイス12がディジタル・スチル・カメラに設けられている。
The digital still camera has a shutter release button, mode setting dial (various modes such as imaging mode, playback mode, and correction mode can be set with the mode setting dial), OK button, cancel button, frame button, front
ディジタル・スチル・カメラには,被写体を撮像するための撮像レンズ1,絞り2およびCCDなどの撮像素子3が含まれている。レンズ駆動回路16によって撮像レンズ1のレンズ位置が制御される。また,絞り駆動回路17によって絞り2の開口が制御される。撮像レンズ1によって被写体像を表す光線が集光され,絞り2を通ってCCDのような撮像素子3に入射する。撮像素子制御回路18によって制御される撮像素子3の受光面上に被写体像を表す光像が結像する。これらのレンズ駆動回路16,絞り駆動回路17および撮像素子制御回路18は,撮像系制御回路24によって制御される。
The digital still camera includes an imaging lens 1, an
モード設定ダイアル20によって撮像モードが設定されると,撮像素子制御回路18によって撮像素子3が制御され,被写体像を表す映像信号が撮像素子3から出力される。映像信号は,アナログ信号処理回路4において相関二重サンプリング等のアナログ信号処理が行われる。アナログ信号処理回路4から出力された映像信号は,アナログ/ディジタル変換回路4においてディジタル画像データに変換され,ディジタル信号処理回路6に入力する。ディジタル信号処理回路6において,ガンマ補正,自動階調補正,自動白バランス調整などのディジタル信号処理が行われる。
When the image pickup mode is set by the
ディジタル信号処理回路6から出力された画像データは,メモリ7を介して表示装置15に与えられる。表示装置15の表示画面上に被写体像が表示される。
The image data output from the digital signal processing circuit 6 is given to the
シャッタ・レリーズ・ボタンが押されると,上述したのと同様に,被写体が再び撮像され,被写体像を表す画像データが得られる。画像データは,ディジタル信号処理回路6からメモリ7に与えられ,一時的に記憶される。画像データは,メモリ7から読み出され,記録/読出制御回路14によって外部メモリ・インターフェイス10に接続されているメモリ・カード9に記録される。必要に応じて画像データに対してデータ圧縮が行われ,圧縮された画像データがメモリ・カード11に記録されるのはいうまでもない。
When the shutter release button is pressed, the subject is imaged again as described above, and image data representing the subject image is obtained. The image data is given from the digital signal processing circuit 6 to the memory 7 and temporarily stored. The image data is read from the memory 7 and recorded by the recording /
モード設定ダイアルによって再生モードが設定されると,記録/読出制御回路14によってメモリ・カード9から被写体像を表す画像データが読み出される。読み出された画像データは,メモリ7に与えられ,一時的に記憶される。画像データは,メモリ7から読み出され,表示装置15に与えられる。表示装置15の表示画面上にメモリ・カード11に記録されている画像データによって表される画像が表示される。
When the playback mode is set by the mode setting dial, the recording /
モード設定ダイアルによって修正モードが設定されると,この実施例においては,赤目画像の修正が行われる(もちろん,顔画像検出その他の画像処理が行われるようにしてもよい)。メモリ・カード11から画像データ(画像ファイル)が読み出されると,その画像データが赤目画像修正処理が行われたかどうか,赤目画像修正処理が行われている場合にはどのバージョンでの赤目画像修正処理が行われたかどうかが検出処理回路8によって検出される。 When the correction mode is set by the mode setting dial, in this embodiment, the red-eye image is corrected (of course, face image detection or other image processing may be performed). When image data (image file) is read from the memory card 11, whether the image data has undergone red-eye image correction processing, and if red-eye image correction processing has been performed, which version of red-eye image correction processing has been performed Whether or not has been performed is detected by the detection processing circuit 8.
検出された赤目画像修正処理のバージョンとディジタル・スチル・カメラにおける赤目画像修正処理のバージョンとが比較され,ディジタル・スチル・カメラにおける赤目画像修正処理のバージョンの方がメモリ・カード11から読み出された画像データにおいて行われている赤目画像修正処理のバージョンよりも高ければ,ディジタル・スチル・カメラの修正処理回路9において赤目画像修正処理(新しい画像処理)が行われる。逆にディジタル・スチル・カメラにおける赤目画像修正処理のバージョンの方がメモリ・カード11から読み出された画像データにおいて行われている赤目画像修正処理のバージョンよりも低ければ,ディジタル・スチル・カメラの修正処理回路9における赤目画像修正処理は行われない。 The detected version of the red-eye image correction processing is compared with the version of the red-eye image correction processing in the digital still camera, and the version of the red-eye image correction processing in the digital still camera is read from the memory card 11. If the version is higher than the version of the red-eye image correction process performed on the image data, the red-eye image correction process (new image process) is performed in the correction processing circuit 9 of the digital still camera. Conversely, if the version of the red-eye image correction processing in the digital still camera is lower than the version of the red-eye image correction processing performed in the image data read from the memory card 11, the digital still camera The red-eye image correction process in the correction processing circuit 9 is not performed.
赤目画像修正処理が行われた画像データは,表示装置15に与えられ,表示画面に表示される。
The image data that has undergone the red-eye image correction processing is given to the
図2は,メモリ・カード11のデータ構造の一例である。 FIG. 2 shows an example of the data structure of the memory card 11.
メモリ・カード11には,ヘッダ領域と画像データ記録領域とが含まれている。 The memory card 11 includes a header area and an image data recording area.
画像データ記録領域には,上述したように画像データが記録されている。ヘッダ領域には,メモリ・カード11全体についての管理情報のほかに画像データ記録領域に記録される画像データのパス,画像データ記録領域の空容量(残容量)を示すデータなどが格納されている。 Image data is recorded in the image data recording area as described above. In the header area, in addition to management information about the entire memory card 11, a path of image data recorded in the image data recording area, data indicating an empty capacity (remaining capacity) of the image data recording area, and the like are stored. .
図3は,メモリ・カード11に記録されている画像ファイルのファイル構造(データ構造)の一例である。 FIG. 3 shows an example of the file structure (data structure) of an image file recorded on the memory card 11.
画像ファイルには,ヘッダ記録領域と画像データ記録領域とが含まれている。 The image file includes a header recording area and an image data recording area.
画像データ記録領域には,画像データが格納されている。 Image data is stored in the image data recording area.
ヘッダ記録領域には,画像ファイル全体を管理等するためのデータが格納されている。ヘッダ記録領域には,管理情報,修正プロテクト,撮影情報,検出処理名,修正処理名などのデータが格納される。 In the header recording area, data for managing the entire image file is stored. The header recording area stores data such as management information, correction protect, shooting information, detection process name, and correction process name.
管理情報は,画像ファイル全体を管理するための情報である。上述したように,バージョンに応じてメモリ・カード11に記録されている画像データ(画像ファイル)についての赤目画像修正が行われる場合と行われない場合とがあるが,バージョンにかかわらず赤目画像修正を禁止する旨を設定するものが修正プロテクトである。修正プロテクトがオンであれば赤目画像修正は禁止され,修正プロテクトがオフであればバージョンに応じて赤目画像修正が行われる,あるいは行われない。修正プロテクトの初期値(赤目画像修正が一度も行われていない場合)は,オフに設定されている。撮影情報は,画像データ記録領域に記録されている画像データが得られた時の撮影情報を示すものである。ストロボを発光させて得られた画像かどうかを示すストロボ・オン/オフ,画像データによって表される画像の被写体輝度,絞り(値),シャッタ・スピード,ISO感度などが撮影情報に含まれる。 The management information is information for managing the entire image file. As described above, red-eye image correction may or may not be performed for image data (image file) recorded on the memory card 11 depending on the version. What sets the prohibition is correction protection. If correction protection is on, red-eye image correction is prohibited, and if correction protection is off, red-eye image correction is performed or not depending on the version. The initial value of correction protection (when red-eye image correction has never been performed) is set to off. The shooting information indicates shooting information when the image data recorded in the image data recording area is obtained. The shooting information includes strobe on / off indicating whether or not the image is obtained by emitting a strobe, subject brightness of the image represented by the image data, aperture (value), shutter speed, ISO sensitivity, and the like.
検出処理名は,画像データ記録領域に記録されている画像データについて行われた検出処理の名称およびその検出処理のバージョンが格納されている。複数種類の検出処理(赤目画像検出処理,顔画像検出処理など)が行われている場合には,それぞれの検出処理名が格納される。同一種類の検出処理が複数回行われている場合には,その複数回の検出処理の履歴が格納されるようにしてもよい。修正処理名は,画像データ記録領域に記録されている画像データについて行われた検出処理の名称およびその検出処理のバージョンが格納されている複数種類の修正処理(赤目画像修正処理,自動階調補正処理,自動白バランス調整処理など)が行われている場合には,それぞれの修正処理名が格納される。同一種類の修正処理が複数回行われている場合には,その複数回の修正処理の履歴が格納されるようにしてもよい。検出処理または修正処理が一度も行われていない場合には,空欄となる。 The detection process name stores the name of the detection process performed on the image data recorded in the image data recording area and the version of the detection process. When a plurality of types of detection processes (red-eye image detection process, face image detection process, etc.) are performed, the names of the respective detection processes are stored. When the same type of detection process is performed a plurality of times, the history of the detection process of the plurality of times may be stored. The name of the correction processing is a plurality of types of correction processing (red-eye image correction processing, automatic gradation correction) in which the name of the detection processing performed on the image data recorded in the image data recording area and the version of the detection processing are stored. When the processing, automatic white balance adjustment processing, etc.) are performed, the name of each correction processing is stored. When the same type of correction processing is performed a plurality of times, the history of the correction processing of the plurality of times may be stored. If no detection process or correction process has been performed, this field is blank.
図4および図5は,赤目画像修正処理の処理手順を示すフローチャートである。 4 and 5 are flowcharts showing the processing procedure of the red-eye image correction processing.
メモリ・カード11から所望の画像ファイルが読み出され,ディジタル・スチル・カメラのRAM23に一時的に記憶される。RAM23に記憶された画像ファイルのヘッダ記録領域から修正プロテクトが読み出され,修正プロテクトがオン(赤目画像修正の禁止)とされているかどうかが確認される。修正プロテクトがオンとされていると(ステップ31でYES31),その画像ファイルに格納されている画像データによって表される画像については赤目画像修正は不要と考えられているので,その後の赤目画像修正処理はスキップされる。修正プロテクトがオフとされていると(ステップ31でNO),これから行われる赤目画像修正処理によって得られる画像ファイルを,その赤目画像修正処理が行われる前の画像ファイルに上書きする上書きモード(このモードは,表示装置15の表示画面に各種設定メニューを表示させ,その各種設定メニューを用いてあらかじめ設定されている)が設定されているか,あるいは,メモリ・カードの空領域に赤目画像修正処理後の画像を表す画像データを記録する新規保存モードが設定されているかどうかが確認される(ステップ32)。もっとも,新規保存モードの設定ができない場合であっても,上書きモードが設定されていないことに応じて新規保存モードが設定されていると見なすようにしてもよい。
A desired image file is read from the memory card 11 and temporarily stored in the
新規保存モードが設定されている場合には,(ステップ32),メモリ・カード11に十分な空容量がなければ赤目画像修正処理後の画像ファイルをメモリ・カード11に記録することができない。このために,赤目画像修正処理後の画像ファイルを記録できるほどの空容量がメモリ・カードにあるかどうかが確認される(ステップ33)。記録できるほどの空容量がない場合には(ステップ33でNO),赤目画像修正処理後の画像ファイルをメモリ・カード11に記録できるようにするために上書きモードに変更されたかどうかが確認される(ステップ34)。もちろん,メモリ・カード11に空容量が少ないために赤目画像修正処理後の画像ファイルをメモリ・カード11に記録できず,上書きモードに変更させる指示が表示装置15の表示画面に表示されるのはいうまでもない。その表示を見ることにより,ユーザは必要であれば,ディジタル・スチル・カメラを上書きモードに設定する。上書きモードに変更されない場合には(ステップ34でNO),赤目画像修正処理後の画像ファイルをメモリ・カード11に記録できないので,赤目画像修正処理はスキップされる。
When the new storage mode is set (step 32), the image file after the red-eye image correction processing cannot be recorded on the memory card 11 unless the memory card 11 has sufficient free space. For this purpose, it is confirmed whether or not the memory card has enough free space to record the image file after the red-eye image correction processing (step 33). If there is not enough free space to record (NO in step 33), it is confirmed whether the mode has been changed to the overwrite mode so that the image file after the red-eye image correction processing can be recorded on the memory card 11. (Step 34). Of course, because the memory card 11 has little free space, the image file after the red-eye image correction processing cannot be recorded in the memory card 11, and an instruction to change to the overwrite mode is displayed on the display screen of the
これから行われる赤目画像修正処理によって得られた画像ファイルを,その赤目画像修正処理が行われる前の画像ファイルに上書きするモードに設定されている(ステップ32または34でYES)あるいは,赤目画像修正処理後の画像ファイルを記録できるほどメモリ・カード11に空容量がある(ステップ33でYES)場合には,RAM23に記憶されている画像ファイルのヘッダ情報に記録されている撮影情報が読み取られる。読み取られた撮影情報にもとづいて,その画像ファイルに格納されている画像データが赤目画像修正処理を行うべき画像データかどうかが判定される(ステップ35)。たとえば,ストロボ・オンであり,かつ被写体輝度が低い場合には,赤目画像修正処理を行うと判定される。ストロボ・オンであっても被写体輝度が高い場合には,赤目画像修正処理は行わないと判定される。撮影情報に記憶されている被写体輝度は,BV値が記憶されていれば,そのBV値を用いることができるし,絞り(AV値),シャッタ・スピード(TV値),ISO感度(SV値)などから算出することもできる(露出量EV値=AV値+TV値=BV値+SV値)。赤目画像修正処理が行われないと判定されると(ステップ35でNO),その後の赤目画像修正処理はスキップされる。
It is set to a mode that overwrites the image file obtained by the red-eye image correction process to be performed on the image file before the red-eye image correction process is performed (YES in
赤目画像修正処理をすべきと判定されると(ステップ35でYES),画像ファイルのヘッダ記録領域に記録されている赤目検出処理(検出処理名)のバージョンおよび赤目画像修正処理(修正処理名)のバージョンとディジタル・スチル・カメラの赤目検出処理回路8において行われる赤目検出処理のバージョンおよび赤目画像修正処理回路9において行われる赤目画像修正処理のバージョン(ROM22に記憶されている)とが比較される。 If it is determined that red-eye image correction processing should be performed (YES in step 35), the version of red-eye detection processing (detection processing name) recorded in the header recording area of the image file and red-eye image correction processing (correction processing name) Are compared with the version of the red-eye detection processing performed in the red-eye detection processing circuit 8 of the digital still camera and the version of the red-eye image correction processing performed in the red-eye image correction processing circuit 9 (stored in the ROM 22). The
画像ファイルに記憶されているバージョンよりもディジタル・スチル・カメラのROM22に記憶されているバージョンの方が低ければ,ディジタル・スチル・カメラにおいて行うことができる赤目画像修正処理よりも新しい赤目画像修正処理がすでに行われているものと考えられる(ステップ36でYES)。すでに行われている赤目画像修正処理よりもよりよい赤目画像修正処理をディジタル・スチル・カメラにおいて実行することはできないと考えられるので,ディジタル・スチル・カメラにおける赤目画像修正処理はスキップされる。画像ファイルに記憶されているバージョンよりもディジタル・スチル・カメラのROM22に記憶されているバージョンの方が高ければ(赤目画像検出処理または赤目画像修正処理のいずれか一方のバージョンでも高ければ),すでに行われている赤目画像修正処理よりも新しい赤目画像修正処理をディジタル・スチル・カメラにおいて行うことができると考えられる(ステップ36でNO)。すでに行われている赤目画像修正処理よりも,よりよい新しい赤目画像修正処理をディジタル・スチル・カメラにおいて実行できると考えられるので,ディジタル・スチル・カメラにおける赤目画像修正処理に移行する。
If the version stored in the
まず,画像ファイルに格納されている画像データが赤目画像検出処理回路8に与えられ,より新しい赤目画像検出処理が行われる(ステップ37)。赤目画像検出処理は,赤目画像と想定されるサンプル画像と赤目画像修正処理対象の画像とのマッチング処理などにより行うことができるが,どのような検出処理でもよいのはいうまでもない。 First, the image data stored in the image file is given to the red-eye image detection processing circuit 8, and newer red-eye image detection processing is performed (step 37). The red-eye image detection processing can be performed by matching processing between a sample image assumed to be a red-eye image and a red-eye image correction processing target image, but it goes without saying that any detection processing may be used.
赤目画像検出処理回路8において赤目画像が検出されると,画像データは赤目画像修正処理回路9に与えられ,検出された赤目画像について,より最新の赤目画像修正処理が行われる(ステップ38)。赤目画像修正処理は,検出された赤目画像の部分について色補正,輝度補正などを行うことにより実現できるが,どのような修正処理でもよい。 When the red-eye image is detected by the red-eye image detection processing circuit 8, the image data is given to the red-eye image correction processing circuit 9, and the latest red-eye image correction processing is performed on the detected red-eye image (step 38). The red-eye image correction processing can be realized by performing color correction, luminance correction, etc. on the detected red-eye image portion, but any correction processing may be used.
赤目画像修正処理により得られた画像データは,メモリ7に与えられ,一時的に記憶される。メモリ7から赤目画像修正処理後の画像データが読み取られ,表示装置15に与えられることにより,表示装置15の表示画面上赤目画像が修正された画像が表示される(ステップ39)。メモリ7に記憶されている画像データが読み出され,RAM23に記憶されている画像ファイルの画像データ記録領域に上書きされる。
Image data obtained by the red-eye image correction process is given to the memory 7 and temporarily stored. The image data after the red-eye image correction processing is read from the memory 7 and applied to the
表示された画像を見て,赤目画像が修正された画像をユーザが気に入らなければユーザによってキャンセル・ボタンが押される(ステップ40でNO)。赤目画像が修正された画像を表す画像データが,ユーザの気に入らないにもかかわらず,新たにメモリ・カードに記録されてしまうことが回避される。すでにメモリ・カードに記録されている画像データがそのまま保存されることとなる。赤目画像が修正された画像を表す画像データをメモリ・カードに記録する場合には,ユーザによってOKボタンが押される(記録指令の入力)(ステップ40でYES)。 If the user does not like the image in which the red-eye image is corrected by looking at the displayed image, the cancel button is pressed by the user (NO in step 40). It is avoided that image data representing an image in which the red-eye image is corrected is newly recorded on the memory card even though the user does not like it. The image data already recorded on the memory card is saved as it is. When image data representing an image with a corrected red-eye image is recorded on the memory card, the user presses an OK button (input of a recording command) (YES in step 40).
これ以上の赤目画像修正処理は不要とユーザが考えると,操作器13から修正プロテクトが入力される(ステップ41でYES)。入力された修正プロテクトは,RAM23に記憶されている画像ファイルに与えられ,その画像ファイルのヘッダ記録領域の修正プロテクトがオンとされる(ステップ42)。また,ディジタル・スチル・カメラの検出処理回路8のバージョンおよび修正処理回路9のバージョンも画像ファイルの検出処理名および修正処理名にそれぞれ記録されるのはいうまでもない。
If the user thinks that further red-eye image correction processing is unnecessary, correction protection is input from the operating device 13 (YES in step 41). The input correction protect is given to the image file stored in the
赤目画像修正処理が行われた画像データが記録されている新たな画像ファイルがRAM23から読み出され,メモリ・カード11に記録される(ステップ43)。上書きモードが設定されていれば,読み出された画像ファイルが記録されている領域に新たな画像ファイルが上書きされ,上書きモードが設定されていなければ,メモリ・カード11の空領域に記録されるのはいうまでもない。
A new image file in which the image data subjected to the red-eye image correction processing is recorded is read from the
上述した実施例においては,画像処理の一例として赤目画像修正処理について取り上げたが,顔検出処理,検出された顔画像に対する自動階調補正処理などその他の検出処理および補正処理などの画像処理についても適用できるのはいうまでもない。また,上述した実施例においては,検出処理と修正処理とを別々の処理として扱っているが,これらの処理とひとまとめの処理として扱うようにしてもよい。さらに,修正プロテクトがオンにされているものを操作器13によってオフできるようにしてもよい。
In the above-described embodiments, the red-eye image correction processing is taken up as an example of image processing. However, image processing such as face detection processing and other detection processing such as automatic gradation correction processing for the detected face image and correction processing is also applicable. Needless to say, it can be applied. In the above-described embodiment, the detection process and the correction process are handled as separate processes. However, these processes may be handled as a batch process. Further, a device for which correction protection is turned on may be turned off by the
さらに,上述した実施例においては,バージョンを利用してメモリ・カード11に記録されている画像データについてディジタル・スチル・カメラにおいて赤目画像検出処理および赤目画像修正処理を行うかどうかを判断しているが,メモリ・カード11に記録されている画像データについて行われている赤目画像検出処理および赤目画像修正処理よりも新しい赤目画像検出処理および赤目画像修正処理をディジタル・スチル・カメラにおいて行うことができるかどうかがわかればよい。バージョンの代わりに,たとえば,赤目画像検出処理回路8および赤目画像修正処理回路9の動作プログラムの更新日付などを利用することもできる。 Further, in the above-described embodiment, it is determined whether the red-eye image detection processing and the red-eye image correction processing are performed in the digital still camera for the image data recorded on the memory card 11 using the version. However, a red-eye image detection process and a red-eye image correction process that are newer than the red-eye image detection process and the red-eye image correction process performed on the image data recorded on the memory card 11 can be performed in the digital still camera. I just need to know if it is. Instead of the version, for example, update dates of operation programs of the red-eye image detection processing circuit 8 and the red-eye image correction processing circuit 9 can be used.
図6から図8は,赤目画像が修正された画像の表示処理手順を示すフローチャート,図9から図12は,表示装置15の表示画面に表示される被写体像の様子を示している。
6 to 8 are flowcharts showing the display processing procedure of the image with the red-eye image corrected, and FIGS. 9 to 12 show the state of the subject image displayed on the display screen of the
上述した処理においては赤目画像が修正された画像が単に表示されるのに対し(図5ステップ39),以下に示す処理においては修正された赤目画像の部分,修正すべき赤目画像の部分を枠(枠でなくともよいのはいうまでもない)でユーザに知らせるものである。どの部分が修正されたか,どの部分が修正されるかが一見してわかる。
In the above-described processing, an image in which the red-eye image is corrected is simply displayed (
上述のように,赤目画像の検出処理(図5ステップ37)および赤目画像修正処理(図5ステップ38)が行われると,図9に示すように,修正された赤目画像の部分が枠で囲まれた被写体像が表示装置15の表示画面上に表示される(ステップ51)。 As described above, when the red-eye image detection process (step 37 in FIG. 5) and the red-eye image correction process (step 38 in FIG. 5) are performed, the corrected red-eye image portion is surrounded by a frame as shown in FIG. The subject image thus displayed is displayed on the display screen of the display device 15 (step 51).
図9を参照して,表示画面60に表示されている被写体像62は赤目が修正された部分63が含まれている。赤目が修正された部分63は,枠64によって囲まれている。赤目修正された部分63が枠64によって囲まれているので,どの部分が赤目修正されたかが一見して分かる。
Referring to FIG. 9, the
表示画面60の右上には,操作ウインドウ71が表示されている。操作ウインドウ71には,「枠:枠なし」および「前:修正前」の文字が表示されている。この操作ウインドウ71から,枠64が消去された被写体像62を表示画面60に表示する場合には,枠ボタンを押せばよいこと,および赤目修正前の被写体像62を表示する場合には,前ボタンを押せばよいことがわかる。OKボタンが押されることにより,赤目画像処理が行われた被写体像62を表す画像データがメモリ・カード11に記録される。キャンセル・ボタンが押されることにより,新たに赤目画像処理が行われた被写体像62を表す画像データのメモリ・カード11への記録は行われない。
An
図6を参照して,赤目画像の修正処理が行われた被写体像62が表示画面60上に表示されている状態で,どのボタンが押されたかが確認される(ステップ52)。OKボタンが押されると,上述のように(図5ステップ41〜43)修正プロテクトの入力の確認,修正プロテクトのオン,赤目画像の修正後の被写体像を表す画像データのメモリ・カード11への記録処理が行われる(枠63自体の画像を表す画像データは記録されない)。
Referring to FIG. 6, it is confirmed which button has been pressed in a state where the
前ボタンが押されると,図10に示すように,赤目画像部分63が赤目修正される以前の被写体像62が表示画面60上に,枠63がついた状態で表示される(ステップ53)。
When the front button is pressed, as shown in FIG. 10, the
図10を参照して,表示画面60に表示されている被写体像62は赤目が修正されていない部分65が含まれている。赤目が修正されていない部分65は,枠64によって囲まれている。赤目画像の部分65が枠64で囲まれているので,どの部分が赤目修正されるかが一見して分かる。
Referring to FIG. 10, the
赤目修正前の画像が枠つきで表示されている状態において,どのボタンが押されたかが再び確認される(ステップ54)。OKボタンが押されれば,赤目画像の修正前の被写体像で十分とユーザが判断したと考えられるので,新たな赤目修正後の画像を表す画像データはメモリ・カード11には記録されない。メモリ・カード11には,新たな赤目修正前の画像を表す画像データが残っている。後ボタンが押されれば,再び赤目修正後の画像が枠つきで表示画面60上に表示される(ステップ51)。枠ボタンが押されると,図11に示すように,赤目画像修正前の画像が枠なしで表示される(ステップ55)。
In a state where the image before red-eye correction is displayed with a frame, it is confirmed again which button has been pressed (step 54). If the OK button is pressed, it is considered that the user has determined that the subject image before the correction of the red-eye image is sufficient. Therefore, image data representing a new image after the correction of the red-eye is not recorded in the memory card 11. The memory card 11 still has image data representing a new red-eye corrected image. If the back button is pressed, the red-eye corrected image is displayed again on the
枠ボタンが押された場合には,図11に示すように,赤目画像の部分65の修正前の被写体像66が枠なしで表示画面60上に表示される(ステップ55)。表示画面60の右上には,操作ウインドウ73が表示されている。操作ウインドウ73には,「枠:枠あり」および「後:修正後」の文字が表示されている。操作ウインドウ73の文字を見ることにより,赤目画像
部分65の回りに枠を表示させる場合には,枠ボタンを押せばよいこと,赤目画像の修正後の被写体像を表示させる場合には,後ボタンを押せばよいことがわかる。
When the frame button is pressed, as shown in FIG. 11, the
図11に示す被写体像66が表示されている場合において,何らかのボタンが押されると,どのボタンが押されたかが再び判定される(ステップ56)。OKボタンが押されると,新たな赤目修正後の被写体像を表す画像データをメモリ・カード11に記録する意思がないと考えられるので,赤目修正後の被写体像を表す画像データをメモリ・カード11に記録する処理はスキップされる。枠ボタンが押されると,赤目修正前の被写体像が枠つきで表示画面60上に再び表示される。
When the
図11に示すように赤目修正前の被写体像66が枠なしで表示画面60上に表示されている場合において後ボタンが押されたとき,または,図9に示すように赤目修正後の被写体像62を枠64つきで表示されている場合において枠ボタンが押されたときには,図12で示すように,赤目修正後の被写体像が枠なしで表示画面60上に表示される(ステップ57)。
When the
図12を参照して,表示画面60の右上には操作ウインドウ74が表示されている。操作ウインドウ74には,「枠:枠あり」および「前:修正前」の文字が表示されている。ユーザは,枠ボタンを押すことにより,修正後の赤目画像部分63の回りに枠が表示されること,修正前ボタンを押すことにより,赤目修正前の被写体像が表示画面60に表示されることがわかる。
Referring to FIG. 12, an
どのボタンが押されたかが再び判断される(ステップ58)。OKボタンが押された場合には,赤目修正後の被写体像を表す画像データをメモリ・カード11に記録する意思があるので,上述した修正プロテクトの入力等が確認される(ステップ40〜42)。修正前ボタンが押された場合には,赤目画像の修正前の被写体像が表示画面60上に表示される(ステップ55)。枠ボタンが押された場合には,赤目画像の修正後の被写体像が枠つきで表示画面60条に表示される。
It is again determined which button has been pressed (step 58). When the OK button is pressed, there is an intention to record the image data representing the subject image after red-eye correction in the memory card 11, so that the above-described correction protection input is confirmed (
図13は,他の実施例を示すもので,表示画面60に表示される被写体像の一例である。
FIG. 13 shows another embodiment and is an example of a subject image displayed on the
上述した実施例においては,赤目画像を修正した被写体像と赤目画像の修正前の被写体像とは同時に同一画面上には表示されないが,次に示す実施例においては,赤目画像の修正前の被写体像と赤目画像の修正後の被写体像とが同時に同一の表示画面上に表示されるものである。 In the above-described embodiment, the subject image obtained by correcting the red-eye image and the subject image before red-eye image correction are not displayed on the same screen at the same time. However, in the following embodiment, the subject before correction of the red-eye image is displayed. The image and the corrected subject image are simultaneously displayed on the same display screen.
表示装置15の表示画面60には,右側に修正画像表示領域92が規定されている。表示画面60において,修正画像表示領域92を除く領域に,赤目画像91の修正前の被写体像92の全体が表示されている。
A corrected
修正画像表示領域92には,赤目画像が修正された画像部分94を含む被写体像の一部分の画像93が表示されている。この被写体像の一部分の画像93は,赤目画像91の検出処理により得られる赤目画像94の部分をほぼ中心と考え,その回りの画像部分と考えることができる。
In the corrected
赤目画像91の修正前の被写体像90と赤目画像91の修正後の部分94とを同時に表示画面60上に表示できるので,赤目画像の修正前後を比較しやすくなる。
Since the
表示画面60上に修正画像表示領域92を生成するためには,ディジタル・スチル・カメラのディジタル信号処理回路6において行うことが可能な画像合成処理を利用すればよいのはいうまでもない。
In order to generate the corrected
図14は,さらに他の実施例を示すもので,表示画面60に表示される被写体像の一例である。
FIG. 14 shows still another embodiment, which is an example of a subject image displayed on the
表示画面60は,左右のほぼ同じ大きさの第1の表示領域101と第2の表示領域104とが規定されている。
The
第1の表示領域101には,赤目画像103が修正される前の被写体像102が表示されている。第2の表示領域104には,赤目画像が修正された画像部分106を有する被写体像105が表示されている。
In the
このようにしても赤目画像の修正前後の被写体像102と105とを同一表示画面60に同時に表示でき,赤目画像の修正前後の被写体像102と105とを直接比較できる。
In this way, the
このような表示方法もディジタル・スチル・カメラのディジタル信号処理回路6における画像合成処理を利用することにより実現できる。 Such a display method can also be realized by using the image composition processing in the digital signal processing circuit 6 of the digital still camera.
6 ディジタル信号処理回路
8 赤目画像検出処理回路
9 赤目画像修正処理回路
11 メモリ・カード
13 操作器
14 記録/読出回路
20 制御回路
21 CPU
22 ROM
23 RAM
6 Digital signal processing circuit 8 Red-eye image detection processing circuit 9 Red-eye image correction processing circuit
11 Memory card
13 Controller
14 Recording / reading circuit
20 Control circuit
21 CPU
22 ROM
23 RAM
Claims (10)
与えられる画像ファイルについて上記所定の画像処理がどのバージョンで行われていたかどうかを検出する画像処理検出手段,
上記画像処理検出手段によって検出された画像処理のバージョンよりも高いバージョンの画像処理を行うことができるかどうかを判定する第1の判定手段,
上記第1の判定手段によって上記高いバージョンの画像処理を上記画像処理手段によって行うことができると判定されたことにより,上記与えられる画像ファイルについて上記高いバージョンの画像処理が行われるように上記画像処理手段を制御する画像処理制御手段,ならびに
上記所定の画像処理が行われた複数回の履歴を上記画像ファイルに格納する手段,
を備えた画像処理装置。 In an image processing apparatus provided with image processing means for performing predetermined image processing,
Image processing detection means for detecting in which version the predetermined image processing has been performed for a given image file;
First determination means for determining whether or not image processing of a version higher than the version of image processing detected by the image processing detection means can be performed;
When the first determination unit determines that the high version image processing can be performed by the image processing unit, the image processing is performed so that the high version image processing is performed on the given image file. Image processing control means for controlling the means, and means for storing a history of a plurality of times when the predetermined image processing has been performed in the image file,
An image processing apparatus.
上記第2の判定手段により上記画像処理手段における画像処理が不要と判定されたことに応じて,上記画像処理手段の制御処理を停止するように上記画像処理制御手段を制御する制御手段,
をさらに備えた請求項1に記載の画像処理装置。 Second determining means for determining whether or not image processing in the image processing means is unnecessary, and the image processing means in response to determining that image processing in the image processing means is unnecessary by the second determining means; Control means for controlling the image processing control means to stop the control processing of
The image processing apparatus according to claim 1, further comprising:
上記第1の判定手段は,上記読取手段から読み取られた画像ファイルについて上記判定処理を行うものであり,
上記画像処理制御手段の制御のもとに上記画像処理手段によって画像処理が行われた画像データによって表される画像を表示するように表示装置を制御する表示制御手段,
記録指令の入力手段,および
上記入力手段から記録指令が入力されたことに応答して上記画像処理制御手段の制御のもとに上記画像処理手段によって上記高いバージョンの画像処理が行われた画像データを上記記録媒体に記録する第1の記録制御手段,
をさらに備えた請求項1に記載の画像処理装置。 A reading means for reading the image file recorded on the recording medium;
The first determination unit performs the determination process on the image file read from the reading unit,
Display control means for controlling a display device to display an image represented by image data subjected to image processing by the image processing means under the control of the image processing control means;
Recording command input means, and image data that has been subjected to the higher version image processing by the image processing means under the control of the image processing control means in response to the recording command being input from the input means. First recording control means for recording the information on the recording medium,
The image processing apparatus according to claim 1, further comprising:
上記第1の判定手段は,上記読取手段から読み取られた画像ファイルについて上記判定処理を行うものであり,
上書きモードまたは新規保存モードを選択する選択手段,
上記選択手段によって上書きモードが選択されたことに応じて,上記画像処理制御手段の制御のもとに上記画像処理手段によって上記高いバージョンの画像処理が行われた画像データを,上記読取手段によって読み取られた画像ファイルが記録されている記録領域に上書きし,上記選択手段によって新規保存モードが選択されたことに応じて,上記画像処理制御手段の制御のもとに上記画像処理手段によって上記高いバージョンの画像処理が行われた画像ファイルを,上記記録媒体の空領域に記録する第2の記録制御手段,
をさらに備えた請求項1に記載の画像処理装置。 A reading means for reading the image file recorded on the recording medium;
The first determination unit performs the determination process on the image file read from the reading unit,
A selection means to select overwrite mode or new save mode,
In response to the selection of the overwrite mode by the selection means, the image data that has been subjected to the higher version image processing by the image processing means under the control of the image processing control means is read by the reading means. The recorded image file is overwritten on the recording area, and when the new storage mode is selected by the selection means, the image processing means controls the high version by the image processing control means. Second recording control means for recording the image file subjected to the image processing in an empty area of the recording medium;
The image processing apparatus according to claim 1, further comprising:
上記記録媒体の空領域に,上記画像処理手段によって画像処理が行われた画像データを記録できるかどうかを判定する第3の判定手段,および
上記第3の判定手段によって,上記画像処理が行われた画像ファイルを上記記録媒体の空領域に記録できると判定されたことに応じて,上記画像処理制御手段により制御される上記画像処理手段によって画像処理が行われた画像ファイルを上記記録媒体に記録する記録制御手段をさらに備え,
上記第3の判定手段によって上記高いバージョンの画像処理が行われた画像ファイルを上記記録媒体の空領域に記録できないと判定されたことに応じて,上記画像処理制御手段による上記画像処理手段の制御を停止するものである,
請求項1に記載の画像処理装置。 A reading means for reading the image file recorded on the recording medium;
The image processing is performed by the third determining means for determining whether or not the image data subjected to the image processing by the image processing means can be recorded in the empty area of the recording medium, and the third determining means. When it is determined that the recorded image file can be recorded in an empty area of the recording medium, the image file subjected to image processing by the image processing means controlled by the image processing control means is recorded on the recording medium. Recording control means for
Control of the image processing means by the image processing control means in response to determining that the image file on which the high version image processing has been performed by the third determination means cannot be recorded in an empty area of the recording medium. Is to stop,
The image processing apparatus according to claim 1.
上記第1の判定手段は,上記読取手段から読み取られた画像ファイルについて上記判定処理を行うものであり,
新規保存モードを設定する新規保存モード設定手段,
上記新規保存モード設定手段により新規保存モードが設定されたことに応じて,上記記録媒体の空領域に,上記画像処理手段によって画像処理が行われた画像ファイルを記録できるかどうかを判定する第4の判定手段,および
上記第4の判定手段によって,上記画像処理手段によって画像処理が行われた画像ファイルを上記記録媒体の空領域に記録できると判定されたことに応じて,上記画像処理制御手段のもとに制御される上記画像処理手段によって所定の画像処理が行われた画像ファイルを上記記録媒体に記録する第3の記録制御手段,
上書きモードを設定する上書きモード設定手段,および
上記第4の判定手段によって画像処理が行われた画像ファイルを上記記録媒体の空領域に記録できないと判定された場合に,上記上書きモード設定手段によって上書きモードが設定されたことに応じて,上記画像処理制御手段により制御される上記画像処理手段によって画像処理が行われた画像ファイルを,上記読取手段によって読み取られた画像データが記録されている記録領域に上書きする第4の記録制御手段,
をさらに備えた請求項1に記載の画像処理装置。 A reading means for reading the image file recorded on the recording medium;
The first determination unit performs the determination process on the image file read from the reading unit,
New save mode setting means for setting a new save mode,
In response to the new storage mode being set by the new storage mode setting means, a fourth determination is made as to whether or not the image file subjected to the image processing by the image processing means can be recorded in an empty area of the recording medium. The image processing control means in response to the determination that the image file subjected to the image processing by the image processing means can be recorded in an empty area of the recording medium. Third recording control means for recording on the recording medium an image file that has been subjected to predetermined image processing by the image processing means controlled under the control;
Overwrite mode setting means for setting an overwrite mode, and overwriting by the overwrite mode setting means when it is determined that the image file subjected to image processing by the fourth determination means cannot be recorded in an empty area of the recording medium. A recording area in which an image file subjected to image processing by the image processing means controlled by the image processing control means in accordance with the setting of the mode is recorded in the image data read by the reading means A fourth recording control means for overwriting,
The image processing apparatus according to claim 1, further comprising:
上記第1の判定手段が,上記第5の判定手段により,与えられる画像ファイルが上記所定の画像処理を行うものであると判定されたことに応じて,与えられる画像ファイルについて行われている上記所定の画像処理よりも高いバージョンの画像処理を上記画像処理手段によって行うことができるかどうかを判定するものである,
請求項1に記載の画像処理装置。 A fifth determination means for determining whether the given image file is a target for performing the high version image processing;
The first determination means is performed on the given image file when the fifth judgment means determines that the given image file is to perform the predetermined image processing. A determination is made as to whether a higher version of image processing than the predetermined image processing can be performed by the image processing means.
The image processing apparatus according to claim 1.
上記第5の判定手段が,与えられる画像データによって表される画像についてのストロボ撮影情報または輝度にもとづいて,上記画像処理手段において画像処理を行うものであるかどうかを判定するものである,
請求項7に記載の画像処理装置。 The predetermined image processing is red-eye image correction processing,
The fifth determination means determines whether or not to perform image processing in the image processing means based on the flash photographing information or the luminance of the image represented by the given image data;
The image processing apparatus according to claim 7.
画像処理検出手段が,与えられる画像ファイルについて上記所定の画像処理がどのバージョンで行われていたかどうかを検出し,
判定手段が,上記画像処理検出手段によって検出された画像処理のバージョンよりも高いバージョンの画像処理を行うことができるかどうかを判定し,
画像処理手段が,上記第1の判定手段によって上記高いバージョンの画像処理を上記画像処理手段によって行うことができると判定されたことにより,上記与えられる画像ファイルについて上記高いバージョンの画像処理が行われるように上記画像処理手段を制御し,
格納手段が,上記所定の画像処理が行われた複数回の履歴を上記画像ファイルに格納する,
画像処理方法。 In an image processing method of an image processing apparatus provided with image processing means for performing predetermined image processing,
The image processing detection means detects in which version the predetermined image processing has been performed for the given image file,
The determination means determines whether or not the image processing version higher than the version of the image processing detected by the image processing detection means can be performed,
When the image processing means determines that the image processing means can perform the high version image processing by the first determination means, the image processing means performs the high version image processing for the given image file. Controlling the above image processing means,
A storage means stores the history of a plurality of times when the predetermined image processing is performed in the image file.
Image processing method.
与えられる画像ファイルについて上記所定の画像処理がどのバージョンで行われていたかどうかを検出させ,
検出された画像処理のバージョンよりも高いバージョンの画像処理を行うことができるかどうかを判定させ,
上記高いバージョンの画像処理を上記画像処理手段によって行うことができると判定されたことにより,上記与えられる画像ファイルについて上記高いバージョンの画像処理が行われるように上記画像処理手段を制御させ,
上記所定の画像処理が行われた複数回の履歴を上記画像ファイルに格納させるように画像処理装置を制御する画像処理プログラム。 A program for controlling an image processing apparatus including image processing means for performing predetermined image processing;
Which version of the given image processing was performed for the given image file,
Determine whether a higher version of image processing than the detected version of image processing can be performed,
By determining that the image processing means can perform the high version image processing, the image processing means is controlled to perform the high version image processing for the given image file,
An image processing program for controlling an image processing apparatus so that a history of a plurality of times when the predetermined image processing is performed is stored in the image file.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2005155449A JP4801933B2 (en) | 2004-06-14 | 2005-05-27 | Image processing apparatus and method, and image processing program |
Applications Claiming Priority (5)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004174879 | 2004-06-14 | ||
| JP2004174879 | 2004-06-14 | ||
| JP2005020508 | 2005-01-28 | ||
| JP2005020508 | 2005-01-28 | ||
| JP2005155449A JP4801933B2 (en) | 2004-06-14 | 2005-05-27 | Image processing apparatus and method, and image processing program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2006236303A JP2006236303A (en) | 2006-09-07 |
| JP4801933B2 true JP4801933B2 (en) | 2011-10-26 |
Family
ID=37043838
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2005155449A Expired - Fee Related JP4801933B2 (en) | 2004-06-14 | 2005-05-27 | Image processing apparatus and method, and image processing program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4801933B2 (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4942189B2 (en) * | 2007-05-11 | 2012-05-30 | キヤノン株式会社 | Image processing apparatus, image processing method, program, and storage medium |
| US8212864B2 (en) * | 2008-01-30 | 2012-07-03 | DigitalOptics Corporation Europe Limited | Methods and apparatuses for using image acquisition data to detect and correct image defects |
| JP2009182945A (en) * | 2008-02-01 | 2009-08-13 | Canon Inc | Image processing apparatus, control method thereof, and program |
| JP5159374B2 (en) * | 2008-03-06 | 2013-03-06 | 三洋電機株式会社 | Imaging device |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH05224271A (en) * | 1992-02-13 | 1993-09-03 | Ricoh Co Ltd | Image processor |
| JP3968837B2 (en) * | 1997-10-20 | 2007-08-29 | 株式会社ニコン | Camera system with red-eye correction function, image processing device |
| JP2000134486A (en) * | 1998-10-22 | 2000-05-12 | Canon Inc | Image processing apparatus, image processing method, and storage medium |
| US7355746B2 (en) * | 1999-02-12 | 2008-04-08 | Eastman Kodak Company | Method and apparatus for printing and/or displaying digital images |
| JP2002101377A (en) * | 2000-09-20 | 2002-04-05 | Olympus Optical Co Ltd | Hybrid camera |
| JP2002207606A (en) * | 2000-10-16 | 2002-07-26 | Ricoh Co Ltd | Image processing apparatus, program mounting method thereof, and storage medium storing the method |
| US6895112B2 (en) * | 2001-02-13 | 2005-05-17 | Microsoft Corporation | Red-eye detection based on red region detection with eye confirmation |
| JP4382314B2 (en) * | 2001-09-27 | 2009-12-09 | 富士フイルム株式会社 | Image processing method, apparatus, and program |
-
2005
- 2005-05-27 JP JP2005155449A patent/JP4801933B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2006236303A (en) | 2006-09-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100702397B1 (en) | Computer-readable recording medium recording image processing system, method and image processing program | |
| JP4378258B2 (en) | Image correction apparatus and control method thereof | |
| KR101900097B1 (en) | Image capturing method and image capturing apparatus | |
| JP4760742B2 (en) | Digital camera, information display method, and information display control program | |
| US7843494B2 (en) | Image taking apparatus and control method therefor | |
| US8085333B2 (en) | Digital camera | |
| US8558936B2 (en) | Imaging apparatus | |
| US20070041030A1 (en) | Photographing apparatus | |
| US7012638B1 (en) | Electronic still camera having a charge storage element | |
| JP4641571B2 (en) | Digital still camera and control method thereof | |
| JP5257106B2 (en) | Imaging apparatus and imaging method | |
| US7864220B2 (en) | Photographing apparatus | |
| JP2009253669A (en) | Image processing device and digital camera | |
| JP4801933B2 (en) | Image processing apparatus and method, and image processing program | |
| JP4725453B2 (en) | Digital camera and image processing program | |
| US20050057678A1 (en) | Digital camera and control method for digital camera | |
| CN100413322C (en) | Image processing system and method thereof | |
| US11800243B2 (en) | Image pickup apparatus capable of preventing idle capacity from running short during consecutive photographing without increasing storage capacity of storage device that temporarily retains data, control method for image pickup apparatus, and storage medium | |
| JP2009031462A (en) | Imaging apparatus | |
| JP2002152557A (en) | Electronic camera device and image processing device | |
| JP4843210B2 (en) | Digital still camera and control method thereof | |
| JP4769326B2 (en) | Image display device and control method thereof | |
| JP5293223B2 (en) | Digital camera | |
| JP4012471B2 (en) | Digital camera | |
| JP2004080558A (en) | Still image pickup device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20061211 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080204 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100120 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100202 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100331 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20100420 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100708 |
|
| A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20100728 |
|
| A912 | Re-examination (zenchi) completed and case transferred to appeal board |
Free format text: JAPANESE INTERMEDIATE CODE: A912 Effective date: 20100820 |
|
| 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: 20110808 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140812 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 Ref document number: 4801933 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| LAPS | Cancellation because of no payment of annual fees |