JP2006180078A - Electronic camera, image processor and image processing program - Google Patents
Electronic camera, image processor and image processing program Download PDFInfo
- Publication number
- JP2006180078A JP2006180078A JP2004369580A JP2004369580A JP2006180078A JP 2006180078 A JP2006180078 A JP 2006180078A JP 2004369580 A JP2004369580 A JP 2004369580A JP 2004369580 A JP2004369580 A JP 2004369580A JP 2006180078 A JP2006180078 A JP 2006180078A
- Authority
- JP
- Japan
- Prior art keywords
- image
- face
- image data
- image processing
- unit
- 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.)
- Granted
Links
- 238000012545 processing Methods 0.000 claims abstract description 158
- 238000003384 imaging method Methods 0.000 claims abstract description 10
- 239000000284 extract Substances 0.000 claims abstract description 9
- 238000000034 method Methods 0.000 claims description 65
- 230000008569 process Effects 0.000 claims description 46
- 238000012937 correction Methods 0.000 claims description 29
- 230000002596 correlated effect Effects 0.000 claims description 3
- 238000001514 detection method Methods 0.000 description 7
- 230000000694 effects Effects 0.000 description 7
- 230000007246 mechanism Effects 0.000 description 6
- 230000000875 corresponding effect Effects 0.000 description 5
- 238000012217 deletion Methods 0.000 description 5
- 230000037430 deletion Effects 0.000 description 5
- 239000003550 marker Substances 0.000 description 5
- 238000006243 chemical reaction Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000011156 evaluation Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 230000006837 decompression Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000003825 pressing Methods 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 238000009825 accumulation Methods 0.000 description 1
- 239000003990 capacitor Substances 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 210000004709 eyebrow Anatomy 0.000 description 1
- 210000004209 hair Anatomy 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000012805 post-processing Methods 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 230000007480 spreading Effects 0.000 description 1
- 229910052724 xenon Inorganic materials 0.000 description 1
- FHNFHKCVQCLJFQ-UHFFFAOYSA-N xenon atom Chemical compound [Xe] FHNFHKCVQCLJFQ-UHFFFAOYSA-N 0.000 description 1
Images
Landscapes
- Studio Devices (AREA)
Abstract
Description
本発明は、被写体像を光電変換して画像データを生成する電子カメラについて、特に顔認識機能により撮影画像の顔領域の画質を判断しうる電子カメラに関する。 The present invention relates to an electronic camera that photoelectrically converts a subject image to generate image data, and more particularly to an electronic camera that can determine the image quality of a face area of a captured image by a face recognition function.
近年、撮像素子によって被写体像を電子的に記録する電子カメラが急速に普及しつつある。かかる電子カメラでは、撮影条件によっては撮影画像に粒状感が生じて見映えが悪くなることがある。特に被写体が人物である場合には撮影画像の顔部分は高い画質であることが求められ、撮影画像の顔部分に粒状感があると撮影失敗とみなされることも少なくない。 In recent years, electronic cameras that electronically record subject images with an image sensor have been rapidly spreading. In such an electronic camera, depending on the shooting conditions, a sense of graininess may appear in the shot image and the appearance may deteriorate. In particular, when the subject is a person, the face portion of the photographed image is required to have high image quality, and if the face portion of the photographed image has a graininess, it is often regarded as a photographing failure.
一方、特許文献1には画像データから顔を認識してカラーバランスを顔の存在に関連付けることで良好な撮影画像を得る電子カメラが開示されている。
電子カメラの撮影画像は半導体メモリ等の記録媒体などに記録される。そして、上記のような顔部分に粒状感のある撮影画像を削除またはPC上で修正処理する場合には、ユーザは多数の撮影画像を逐一確認しなければならず多大な労力を強いられる。
ところで、撮影画像の粒状感は撮影画像に含まれる空間周波数成分の高周波成分がノイズとして現れることに起因する。そのため、撮影画像の空間周波数を解析すれば顔領域の画質判定の自動化は十分可能である。一方、顔領域の画質判定はコンピュータ等の演算負荷も大きいので、例えば手ぶれした画像などについては画質判定の対象から除外することが好ましい。
The captured image of the electronic camera is recorded on a recording medium such as a semiconductor memory. When a photographed image having a grainy appearance on the face portion as described above is deleted or corrected on the PC, the user has to check a large number of photographed images one by one, and a great deal of labor is required.
By the way, the graininess of the captured image is caused by the appearance of the high frequency component of the spatial frequency component included in the captured image as noise. Therefore, if the spatial frequency of the photographed image is analyzed, the image quality determination of the face area can be fully automated. On the other hand, since the image quality determination of the face area has a large calculation load on a computer or the like, it is preferable to exclude, for example, a camera shake image from the image quality determination target.
なお、上記特許文献1の技術では、顔認識の結果を肌の色調補正に適用しうる旨を示唆しているにすぎず、上記問題を何ら解決するものではない。
本発明は上記従来技術の課題を解決するためのものであって、その目的は、顔領域の画質判定を容易に行うことができ、かつカメラ側の演算負荷が少ない電子カメラを提供することである。
Note that the technique of
The present invention is to solve the above-described problems of the prior art, and an object of the present invention is to provide an electronic camera that can easily determine the image quality of a face area and has a low calculation load on the camera side. is there.
第1の発明に係る電子カメラは、被写体像を光電変換して画像信号を生成する撮像素子と、前記画像信号に画像処理を施して撮影画像データを生成する画像処理部と、前記撮影画像データにおける顔領域の画質判定を行う第1の画像処理モードと前記画質判定を行わない第2の画像処理モードとを撮影条件のパラメータに応じて切り替えるモード切替部と、前記撮影画像データにおける顔領域を抽出する顔認識部と、前記顔領域を解析する顔領域解析部と、前記第1の画像処理モードで前記顔領域解析部の解析結果に基づいて前記顔領域の画質を判定し、該画質が閾値以下の特殊画像データを検出する顔画質判定部と、を有することを特徴とする。 An electronic camera according to a first aspect of the present invention includes an image sensor that photoelectrically converts a subject image to generate an image signal, an image processing unit that performs image processing on the image signal to generate captured image data, and the captured image data A mode switching unit that switches between a first image processing mode for determining the image quality of the face area and a second image processing mode for which the image quality determination is not performed according to a parameter of the shooting condition, and a face area in the captured image data. A face recognition unit for extracting; a face region analysis unit for analyzing the face region; and determining an image quality of the face region based on an analysis result of the face region analysis unit in the first image processing mode. And a face image quality determination unit that detects special image data equal to or less than a threshold value.
第2の発明に係る電子カメラは、被写体像を光電変換して画像信号を生成する撮像素子と、前記画像信号に画像処理を施して撮影画像データを生成する画像処理部と、前記撮影画像データにおける顔領域を抽出する顔認識部と、前記顔領域および前記顔領域以外の任意の部分領域の空間周波数成分を解析する空間周波数解析部と、前記顔領域の画質判定を行う第1の画像処理モードと前記画質判定を行わない第2の画像処理モードとを前記解析結果に基づいて切り替えるモード切替部と、前記第1の画像処理モードで画像の粒状感と高い相関をもつ空間周波数成分に基づいて前記顔領域の画質を判定し、該画質が閾値以下の特殊画像データを検出する顔画質判定部と、を有することを特徴とする。 An electronic camera according to a second aspect of the present invention includes an image sensor that photoelectrically converts a subject image to generate an image signal, an image processing unit that performs image processing on the image signal to generate captured image data, and the captured image data A face recognition unit that extracts a face region in the image, a spatial frequency analysis unit that analyzes a spatial frequency component of the face region and any partial region other than the face region, and first image processing that performs image quality determination of the face region A mode switching unit that switches between a mode and a second image processing mode that does not perform the image quality determination based on the analysis result; and a spatial frequency component that has a high correlation with the graininess of the image in the first image processing mode. And a face image quality determination unit for determining the image quality of the face area and detecting special image data having the image quality equal to or less than a threshold value.
第3の発明は、第1または第2の発明において、撮影時または再生時において前記撮影画像データが特殊画像データである旨をカメラ使用者に通知する通知手段をさらに有する。
第4の発明は、第1または第2の発明において、記録媒体を接続するコネクタと、前記撮影画像データを前記記録媒体に記録する制御部と、をさらに有し、前記制御部は、前記記録媒体の記録対象から前記特殊画像データを除外することを特徴とする。
According to a third invention, in the first or second invention, there is further provided notification means for notifying a camera user that the photographed image data is special image data during photographing or reproduction.
According to a fourth invention, in the first or second invention, further comprising: a connector for connecting a recording medium; and a control unit for recording the photographed image data on the recording medium. The special image data is excluded from the recording target of the medium.
第5の発明は、第1または第2の発明において、前記画像処理部は、前記特殊画像データの顔領域に画像の粒状感を低下させる補正処理を施すことを特徴とする。
第6の発明は、第5の発明において、前記顔認識部は前記特殊画像データの顔領域において所定の顔パーツを抽出し、前記画像処理部は前記顔パーツの領域を前記補正処理の対象から除外することを特徴とする。
According to a fifth invention, in the first or second invention, the image processing unit performs a correction process for reducing a graininess of an image on a face area of the special image data.
In a sixth aspect based on the fifth aspect, the face recognition unit extracts a predetermined face part in the face area of the special image data, and the image processing unit extracts the face part area from the correction processing target. It is characterized by excluding.
第7の発明は、第5または第6の発明において、前記画像処理部の前記補正処理は、前記顔領域の境界部分近傍では画像の粒状感が高く、前記顔領域の内側では前記境界部分よりも画像の粒状感が低下する重み付けがされていることを特徴とする。
第8の発明に係る電子カメラは、被写体像を光電変換して画像信号を生成する撮像素子と、前記画像信号に画像処理を施して撮影画像データを生成する画像処理部と、前記撮影画像データにおける顔領域を抽出する顔認識部と、前記画像信号のゲイン設定およびシャッタ秒時の少なくとも一方を変化させて複数回の撮影を行う制御部と、前記撮影画像データにおける前記顔領域の空間周波数成分を解析し、画像の粒状感と高い相関をもつ空間周波数成分に基づいて前記顔領域の画質を判定し、複数回の撮影において前記画質が最も高い撮影画像データを検出する顔画質判定部と、を有することを特徴とする。
According to a seventh invention, in the fifth or sixth invention, the correction processing of the image processing unit has a high graininess in the vicinity of the boundary portion of the face region, and is higher than the boundary portion inside the face region. Is also weighted to reduce the graininess of the image.
An electronic camera according to an eighth aspect of the present invention is an image sensor that photoelectrically converts a subject image to generate an image signal, an image processing unit that performs image processing on the image signal to generate captured image data, and the captured image data A face recognition unit that extracts a face region in the image, a control unit that changes the gain setting of the image signal and at least one of shutter times, and performs a plurality of shootings, and a spatial frequency component of the face region in the captured image data A face image quality determination unit that determines the image quality of the face region based on a spatial frequency component having a high correlation with the granularity of the image, and detects captured image data having the highest image quality in multiple shootings; It is characterized by having.
第9の発明は、電子カメラで生成された画像データと、前記電子カメラの撮影条件のパラメータを示す付加データとを含む画像ファイルを読み込んで、前記画像データを加工する画像処理装置であって、前記画像ファイルを読み込む読込部と、前記撮影画像データにおける顔領域の画質判定を行う第1の画像処理モードと前記画質判定を行わない第2の画像処理モードとを撮影条件のパラメータに応じて切り替えるモード切替部と、前記画像データにおける顔領域を抽出する顔認識部と、前記顔領域を解析する顔領域解析部と、前記第1の画像処理モードで前記顔領域解析部の解析結果に基づいて前記顔領域の画質を判定し、該画質が閾値以下の特殊画像データを検出する顔画質判定部と、を有することを特徴とする。 A ninth aspect of the invention is an image processing apparatus that reads an image file including image data generated by an electronic camera and additional data indicating a shooting condition parameter of the electronic camera, and processes the image data. Switching between the reading unit for reading the image file, the first image processing mode for determining the image quality of the face area in the captured image data, and the second image processing mode for not performing the image quality determination, according to the parameters of the imaging condition Based on the analysis result of the face area analysis unit in the first image processing mode, a face recognition unit that extracts a face area in the image data, a face area analysis unit that analyzes the face area And a face image quality determination unit that determines image quality of the face area and detects special image data having the image quality equal to or less than a threshold value.
第10の発明は、電子カメラで生成された画像データと、前記電子カメラの撮影条件のパラメータを示す付加データとを含む画像ファイルを読み込んで、前記画像データを加工する画像処理プログラムであって、前記画像ファイルを読み込む手順と、前記撮影画像データにおける顔領域の画質判定を行う第1の画像処理モードと前記画質判定を行わない第2の画像処理モードとを撮影条件のパラメータに応じて切り替える手順と、前記画像データにおける顔領域を抽出する手順と、前記顔領域を解析する手順と、前記第1の画像処理モードで前記顔領域の解析結果に基づいて前記顔領域の画質を判定し、該画質が閾値以下の特殊画像データを検出する手順と、をコンピュータに実行させる。 A tenth aspect of the invention is an image processing program for reading an image file including image data generated by an electronic camera and additional data indicating a parameter of photographing conditions of the electronic camera, and processing the image data, A procedure for reading the image file, and a procedure for switching between a first image processing mode for determining the image quality of the face area in the captured image data and a second image processing mode for not performing the image quality determination according to the parameters of the imaging condition. Determining the image quality of the face area based on the analysis result of the face area in the first image processing mode, a procedure for extracting the face area in the image data, a procedure for analyzing the face area, And causing the computer to execute a procedure for detecting special image data whose image quality is equal to or less than a threshold value.
第11の発明は、電子カメラで生成された画像データを含む画像ファイルを読み込んで、前記画像データを加工する画像処理装置であって、前記画像ファイルを読み込む読込部と、前記画像データから顔領域を抽出する顔認識部と、前記顔領域および前記顔領域以外の任意の部分領域の空間周波数成分を解析する空間周波数解析部と、前記顔領域の画質判定を行う第1の画像処理モードと前記画質判定を行わない第2の画像処理モードとを前記解析結果に基づいて切り替えるモード切替部と、前記第1の画像処理モードで画像の粒状感と高い相関をもつ空間周波数成分に基づいて前記顔領域の画質を判定し、該画質が閾値以下の特殊画像データを検出する顔画質判定部と、を有することを特徴とする。 An eleventh aspect of the invention is an image processing apparatus that reads an image file including image data generated by an electronic camera and processes the image data, a reading unit that reads the image file, and a face region from the image data A face recognition unit that extracts a spatial frequency component of the face region and an arbitrary partial region other than the face region, a first image processing mode that performs image quality determination of the face region, and A mode switching unit that switches a second image processing mode that does not perform image quality determination based on the analysis result; and the face based on a spatial frequency component that has a high correlation with the graininess of the image in the first image processing mode. A face image quality determining unit that determines the image quality of the area and detects special image data having the image quality equal to or less than a threshold value.
第12の発明は、電子カメラで生成された画像データを含む画像ファイルを読み込んで、前記画像データを加工する画像処理プログラムであって、前記画像ファイルを読み込む手順と、前記画像データから顔領域を抽出する手順と、前記顔領域および前記顔領域以外の任意の部分領域の空間周波数成分を解析する手順と、前記顔領域の画質判定を行う第1の画像処理モードと前記画質判定を行わない第2の画像処理モードとを前記解析結果に基づいて切り替える手順と、前記第1の画像処理モードで画像の粒状感と高い相関をもつ空間周波数成分に基づいて前記顔領域の画質を判定し、該画質が閾値以下の特殊画像データを検出する手順と、をコンピュータに実行させる。 A twelfth aspect of the invention is an image processing program for reading an image file including image data generated by an electronic camera and processing the image data, a procedure for reading the image file, and a face area from the image data. A procedure for extracting, a procedure for analyzing a spatial frequency component of the face region and an arbitrary partial region other than the face region, a first image processing mode for determining the image quality of the face region, and a step for not performing the image quality determination. Determining the image quality of the face region based on a procedure for switching between the two image processing modes based on the analysis result, and a spatial frequency component highly correlated with the graininess of the image in the first image processing mode, And causing the computer to execute a procedure for detecting special image data whose image quality is equal to or less than a threshold value.
本発明の電子カメラでは、撮影条件のパラメータに応じて顔領域の画質判定を行う第1の画像処理モードと画質判定を行わない第2の画像処理モードとを切り替えるので、適切な画像処理を実行することができる。
本発明の電子カメラ、画像処理装置および画像処理プログラムでは、撮影画像データから顔領域を抽出し、画像の粒状感と高い相関をもつ空間周波数成分に基づいて顔領域の画質が粗い特殊画像データを検出するので、撮影画像データの顔領域の画質判定を容易に行うことができる。
In the electronic camera according to the present invention, the first image processing mode for determining the image quality of the face area and the second image processing mode for not performing the image quality determination are switched according to the parameters of the shooting condition, so that appropriate image processing is executed. can do.
In the electronic camera, image processing apparatus, and image processing program of the present invention, a face area is extracted from captured image data, and special image data having a rough face area image quality is obtained based on a spatial frequency component having a high correlation with the graininess of the image. Since it is detected, it is possible to easily determine the image quality of the face area of the captured image data.
また、本発明の電子カメラ、画像処理装置および画像処理プログラムでは、撮影条件のパラメータや複数箇所の空間周波数成分の解析結果に応じて手ぶれの有無などを判定し、顔領域の画質判定が困難な撮影画像データを予め処理対象から除外してから顔領域の画質判定を行うので、カメラや画像処理装置側の演算負荷が軽減される。 In the electronic camera, the image processing apparatus, and the image processing program of the present invention, it is difficult to determine the image quality of the face area by determining the presence or absence of camera shake according to the parameters of the shooting conditions and the analysis results of the spatial frequency components at a plurality of locations. Since the image quality of the face area is determined after the captured image data is excluded from the processing target in advance, the calculation load on the camera or image processing apparatus is reduced.
(第1実施形態の説明)
図1は第1実施形態の電子カメラのブロック図である(請求項1、請求項3〜請求項7の電子カメラに対応する)。電子カメラ10は、撮影レンズ11と、撮像素子12と、アナログ信号処理部13と、A/D変換部14と、画像処理部15と、圧縮伸長処理部16と、メモリ17と、コンデンサの蓄積電荷でキセノン発光管を発光させる閃光発光部18と、タイミングジェネレータ(TG)19と、カードインターフェース(カードI/F)20および記録媒体21と、モニタ22と、操作部23と、CPU24と、各部を接続するデータバス25とを有している。
(Description of the first embodiment)
FIG. 1 is a block diagram of the electronic camera of the first embodiment (corresponding to the electronic camera of
撮像素子12は撮影レンズ11の像空間側に配置されている。撮像素子12の受光面(撮影レンズ11と相対する面)には被写体像を光電変換してアナログ画像信号を生成する受光画素が2次元配列されている。撮像素子12の出力はアナログ信号処理部13に接続されている。
アナログ信号処理部13は、相関二重サンプリングを行うCDS回路、アナログ画像信号の出力を増幅するゲイン回路、入力信号の波形を一定の電圧レベルにクランプするクランプ回路等で構成されている。A/D変換部14はアナログ信号処理部13から出力されたアナログ画像信号をデジタル画像信号に変換する。
The
The analog
画像処理部15は、デジタル画像信号に画像処理(欠陥画素補正、ガンマ補正、補間、色変換、エッジ強調など)を施して撮影画像データを生成する。特に第1実施形態の画像処理部15は以下の機能を有している。
(a)第1に画像処理部15は撮影画像データに対して公知の顔認識処理を施し、被写体の顔領域を検出する。なお、顔認識処理の例として特開平8−63595号公報には、色に基いて肌色領域の輪郭を抽出し、予め用意する顔の輪郭テンプレートとのマッチング度で顔を検出する方法や、更に目候補領域を求めて目テンプレートとのマッチング度を用いて顔検出する方法や、顔の輪郭テンプレートで求まる顔候補領域の2次元フーリエ変換結果と、目、鼻、口及び髪等を含む予め用意した顔テンプレート画像の2次元フーリエ変換結果とから定義される特徴量を求め、この特徴量を閾値処理して顔検出を行なう方法等が開示されている。
The
(A) First, the
(b)第2に画像処理部15は高速フーリエ変換(FFT)などで撮影画像データの顔領域に含まれる空間周波数成分を分析する。そして、画像処理部15は画像の粒状感と高い相関をもつ空間周波数成分に基づいて、撮影画像データの中で顔領域の画質が粗い(顔領域の粒状感が強い)特殊画像データを検出する。なお、「画像の粒状感と高い相関をもつ空間周波数成分」は、予め統計的に求めた電子カメラの特性(特定の空間周波数成分が強いとノイズが発生し易いなど)に基づいて設定される。
(B) Secondly, the
(c)第3に画像処理部15は、CPU24の指示によりぼかしフィルタ等で特殊画像データの顔領域に対して画像の粒状感を低下させる補正処理を施す。
圧縮伸長処理部16は画像処理後の画像データをJPEG形式で圧縮する処理や、JPEG形式の圧縮画像データを伸長して復元する処理を実行する。メモリ17はSDRAM等で構成され、画像処理部15での画像処理前または画像処理後の撮影画像データを一時的に保存する。
(C) Thirdly, the
The compression /
TG19はCPUの指示に基づいて所定のタイミングで駆動信号を生成する。TG19の駆動信号は撮像素子12に供給され、受光画素の不要電荷排出、電荷蓄積および蓄積電荷出力等に使用される。
カードI/F20には記録媒体21を着脱可能に接続するためのコネクタが形成されている。記録媒体21は公知の半導体メモリなどで構成され、この記録媒体21には上記の撮影画像データが最終的に記録される。
The
The card I / F 20 is formed with a connector for detachably connecting the
モニタ22は主として電子カメラ10の背面部分に配置される。モニタ22には撮影画像データの再生画面、電子カメラ10の各種設定を変更するための設定画面、後述の通知画面などが表示される。操作部23は十字状のカーソルキーなどで構成される。この操作部23は上記の設定画面での各種入力などに使用される。
CPU24は、例えば、AE演算およびAF演算などの演算処理、撮影時の一連の画像処理制御、閃光発光部18の発光タイミング制御、記録媒体21へのデータ書込/読出制御などを実行し、電子カメラ10の各部を制御する。
The monitor 22 is mainly disposed on the back portion of the
The
特に第1実施形態のCPU24は、画像処理部15による顔領域の画質判定のON/OFFを撮影条件のパラメータに応じて切り替える。ここで、上記の切替は「電子カメラのシーンモードが人物主体か否か」または「撮影時に手ぶれが発生し易いか否か」を基準とする。
例えば、CPU24はシーンモードが風景モードの場合には顔領域の画質判定をOFFにし、シーンモードがポートレートモードの場合には人物が主要被写体であるので顔領域の画質判定をONにする。また、長秒時撮影で閃光発光部の発光を行わない場合には撮影時に手ぶれで顔領域の画質判定が困難となる可能性が高いので、CPU24は予め顔領域の画質判定をOFFにする。さらに、加速度センサの出力により手ぶれを検知する公知の手ぶれ検知機構が電子カメラ10に実装されている場合は、手ぶれ検知機構が手ぶれを検知したときにCPUは顔領域の画質判定をOFFにするようにしてもよい。また、撮影レンズ11をシフトさせて手ぶれをキャンセルする公知の手ぶれ補正機構が電子カメラ10に実装されている場合には、CPU24は手ぶれ補正がONのときに顔領域の画質判定をONにするようにしてもよい(手ぶれ検知機構、手ぶれ補正機構の図示は省略する)。
In particular, the
For example, when the scene mode is the landscape mode, the
また、顔領域の画質判定がONのときには、CPU24は設定画面での入力に基づいて特殊画像データ検出時の処理を、(1)特殊画像データの顔領域の画質を自動的に補正する、(2)特殊画像データを記録媒体に書込禁止して自動的に削除する、(3)通知画面をモニタに表示する、のいずれかから選択して実行する。
以下、第1実施形態の電子カメラの撮影動作を図2の流れ図に沿って説明する。
When the image quality determination of the face area is ON, the
Hereinafter, the photographing operation of the electronic camera of the first embodiment will be described with reference to the flowchart of FIG.
ステップS101:カメラ使用者は設定画面において特殊画像データ検出時の処理を「(1)顔領域の画質の自動補正」、「(2)特殊画像データの自動削除」、「(3)通知画面の表示」のいずれかから選択入力する。
ステップS102:カメラ使用者は、図示しないレリーズ釦の全押しにより電子カメラ10に被写体の撮影を指示する。電子カメラ10のCPU24はTG19を介して撮像素子12を駆動させ、撮像素子12は被写体像のアナログ画像信号を出力する。アナログ画像信号は、アナログ信号処理部13を通過した後にA/D変換部14でデジタル画像信号に変換される。そして、画像処理部15はデジタル画像信号に所定の画像処理を施して撮影画像データを生成する。
Step S101: The camera user performs processing when special image data is detected on the setting screen as "(1) Automatic correction of image quality of face area", "(2) Automatic deletion of special image data", "(3) Notification screen" Select and input from "Display".
Step S102: The camera user instructs the
ステップS103:CPU24はS102の撮影における撮影条件のパラメータに基づいて顔領域の画質判定を行うか否かを判定する。顔領域の画質判定を行う場合(YES側)にはS104に移行する。一方、顔領域の画質判定を行わない場合(NO側)にはS110に移行する。
ステップS104:画像処理部15は撮影画像データに顔認識処理を施し、撮影画像データにおける顔の有無をCPU24に出力する。CPU24は撮影画像データから顔が検出されたか否かを画像処理部15の出力に基づいて判定する。撮影画像データから顔が検出された場合(YES側)にはS105に移行する。一方、撮影画像データから顔が検出されない場合(NO側)にはS110に移行する。
Step S103: The
Step S104: The
ステップS105:画像処理部15は撮影画像データの顔領域に含まれる空間周波数成分を分析する。
ステップS106:CPU24は顔領域の画質が閾値以下の特殊画像データであるか否か(具体的には、顔領域において画像の粒状感と高い相関をもつ空間周波数成分の量が閾値以上か否か)を判定する。撮影画像データが特殊画像データの場合(YES側)はS107に移行する。一方、撮影画像データが特殊画像データではない場合(NO側)はS110に移行する。
Step S105: The
Step S106: The
ステップS107:CPU24はS101での設定内容に基づいて特殊画像データ検出時の処理を判定する。S101で「(1)顔領域の画質の自動補正」が選択入力されている場合はS112に移行する。S101で「(2)特殊画像データの自動削除」が選択入力されている場合はS111に移行する。S101で「(3)通知画面の表示」が選択入力されている場合はS108に移行する。
Step S107: The
ステップS108:CPU24は通知画面をモニタ22に表示する。この通知画面では、撮影画像が特殊画像データ(顔荒れ画像)であって、顔が美しく撮影されていない旨のメッセージと、特殊画像データの処理の選択枝として「保存(記録媒体への特殊画像データの書込許可)」、「削除(記録媒体への特殊画像データの書込禁止)」、「補正(顔領域の画質の補正処理)」とが表示される(図3参照)。そして、カメラ使用者はモニタ22に表示されるアイコンを操作部23で操作して、特殊画像データの処理を選択入力する。
Step S108: The
ステップS109:CPU24はS108でカメラ使用者がいずれの処理を選択入力したかを判定する。「保存」が選択された場合はS110に移行する。「削除」が選択された場合はS111に移行する。「補正」が選択された場合にはS112に移行する。
ステップS110:この場合にはCPU24はS102で生成された撮影画像データをそのまま記録媒体21に記録し、その後に撮影動作を終了する。
Step S109: The
Step S110: In this case, the
ステップS111:この場合にはCPU24はS102で生成された撮影画像データ(特殊画像データ)を削除し、記録媒体21に特殊画像データを記録することなく撮影動作を終了する。
ステップS112:この場合には画像処理部15が特殊画像データの顔領域に対してぼかしフィルタによるフィルタ演算を行って、顔領域の粒状感を低下させる補正処理を施す(図4参照)。なお、上記のぼかしフィルタによるフィルタ演算では、画像処理部15は顔認識時に抽出した目、鼻、口、眉などの顔パーツの領域を補正処理の対象から除外して、顔パーツの輪郭や微細な情報が失われないようにするのが好ましい。
Step S111: In this case, the
Step S112: In this case, the
また、ぼかしフィルタによる補正処理の結果、画像中の顔部分とその外側とで画像の粒状感に顕著な差が生じ、顔部分が周囲から浮き上がって違和感が生じることもある。そのため、画像処理部15は顔領域の境界部分近傍と内側とでぼかし効果の強弱が変化する重み付けをして補正処理をしてもよい。例えば、画像処理部15は顔領域内の境界部分近傍にはぼかし効果の弱いフィルタを適用し、顔領域内のそれ以外の部分にはぼかし効果の強いフィルタを適用する。あるいは、画像処理部15は顔領域外の境界部分近傍にはぼかし効果の弱いフィルタを適用し、顔領域内にはぼかし効果の強いフィルタを適用するようにしてもよい。これらの場合には顔領域の境界部分近傍から顔領域の内側に向けて画像の粒状感の差が滑らかになるので、顔部分とその周囲とで違和感が生じるおそれも低減する。
Further, as a result of the correction process using the blur filter, there is a significant difference in the graininess of the image between the face portion in the image and the outside of the face portion, and the face portion may float from the surroundings, resulting in a feeling of strangeness. Therefore, the
そして、CPU24は補正処理後の特殊画像データを記録媒体21に記録し、その後に撮影動作を終了する。なお、CPU24は記録媒体21に記録した特殊画像データに対して顔領域の粒状感を低下させる補正処理を事後的に施すことも勿論可能である。
上記の第1実施形態の電子カメラでは、顔領域の空間周波数解析の結果に基づいて顔領域の画質が悪い(顔領域において画像の粒状感の高い)特殊画像データを検出することができる。特に第1実施形態では、撮影条件のパラメータによって顔領域の画質判定のON/OFFを切り替えるので、顔領域の画質判定が必要でない撮影画像データや手ぶれした撮影画像データなどが判定対象から除外され、電子カメラの演算負荷は軽減される。
Then, the
The electronic camera of the first embodiment described above can detect special image data with poor image quality of the face area (high image granularity in the face area) based on the result of the spatial frequency analysis of the face area. Particularly in the first embodiment, since the image quality determination ON / OFF of the face area is switched according to the parameters of the shooting conditions, the shot image data that does not require the image quality determination of the face area or the shot image data that is shaken is excluded from the determination target. The calculation load of the electronic camera is reduced.
また第1実施形態の電子カメラでは特殊画像データの検出時の処理として、特殊画像データの自動削除、自動補正処理、カメラ使用者への通知、のいずれかを状況に応じて選択できるので、カメラ使用者の利便性が大きく向上する。
(第2実施形態の説明)
図5は第2実施形態の電子カメラの動作を示す流れ図である(請求項2〜請求項7の電子カメラに対応する)。第2実施形態は第1実施形態の変形例であって、顔領域と顔領域以外の空間周波数成分を比較して、手ぶれ、ピンぼけの可能性が高い場合には顔領域の画質判定を行わない構成である。なお、第2実施形態および第3実施形態の電子カメラにおいて、第1実施形態と共通の構成には同一符号を付して説明を省略する。また、図5のS201、S202、S206〜S212は図2のS101、S102、S106〜S112にそれぞれ対応するのでその説明は省略する。
In the electronic camera according to the first embodiment, as special image data detection processing, any one of automatic deletion of special image data, automatic correction processing, and notification to the camera user can be selected depending on the situation. User convenience is greatly improved.
(Description of Second Embodiment)
FIG. 5 is a flowchart showing the operation of the electronic camera of the second embodiment (corresponding to the electronic camera of
ステップS203:画像処理部15は撮影画像データに顔認識処理を施し、撮影画像データにおける顔の有無をCPU24に出力する。CPU24は撮影画像データから顔が検出されたか否かを画像処理部15の出力に基づいて判定する。撮影画像データから顔が検出された場合(YES側)にはS204に移行する。一方、撮影画像データから顔が検出されない場合(NO側)にはS210に移行する。
Step S203: The
ステップS204:画像処理部15は撮影画像データの顔領域の空間周波数成分と、顔領域以外の任意の部分領域の空間周波数成分とをそれぞれ解析する。この部分領域の空間周波数成分は、顔領域の空間周波数成分とともに手ぶれ、ピンぼけの判定に使用される。
ステップS205:CPU24は顔領域および部分領域の少なくとも一方の空間周波数成分に所定値以上の高周波成分が含まれているか否かを判定する。高周波成分が含まれる場合(YES側)には画像の輪郭は鮮明であって、手ぶれ、ピンぼけの可能性は低いのでS206の顔画質判定に移行する。一方、高周波成分が含まれない場合(NO側)には画像の輪郭が不鮮明であって、手ぶれまたはピンぼけしている可能性が高い。そのためCPU24はS210に移行して顔領域の画質判定を行うことなく撮影画像データを保存する。なお、この場合にはCPU24は撮影画像データを自動的に削除して記録媒体21の容量を確保するようにしてもよい。
Step S204: The
Step S205: The
上記の第2実施形態の電子カメラでは第1実施形態とほぼ同様の効果を得ることができる。特に第2実施形態では、各撮影画像データの顔領域および部分領域の高周波成分に基づいて手ぶれ、ピンぼけの画像を個別的に除外してから顔領域の画質判定を行うので、第1実施形態の場合よりも顔領域の画質判定の検出精度は向上しうる。
(第3実施形態の説明)
図6は第3実施形態の電子カメラの動作を示す流れ図である(請求項8の電子カメラに対応する)。第3実施形態では、画像信号のゲイン設定およびシャッタ秒時の組み合わせを変化させて複数回のブラケティング撮影を実行し、顔領域の画質が最も高い撮影画像データを記録する例である。
The electronic camera of the second embodiment can obtain substantially the same effect as that of the first embodiment. Particularly in the second embodiment, the image quality of the face area is determined after individually removing images of camera shake and blur based on the high-frequency components of the face area and partial area of each captured image data. The detection accuracy of the image quality determination of the face area can be improved as compared with the case.
(Description of the third embodiment)
FIG. 6 is a flowchart showing the operation of the electronic camera of the third embodiment (corresponding to the electronic camera of claim 8). The third embodiment is an example in which the combination of image signal gain setting and shutter time is changed and bracketing shooting is executed a plurality of times, and the shot image data with the highest image quality in the face area is recorded.
ステップS301:カメラ使用者は、設定画面において撮影フレーム数(撮影回数)や撮影毎のパラメータ変動量(シャッタ秒時、画像信号のゲイン設定)を設定する。なお、第3実施形態では撮像素子12の電荷蓄積時間やシャッタ機構(図示を省略する)のシャッタ走行間隔を調整してシャッタ秒時を変更し、アナログ信号処理部13のゲイン設定を調整して画像信号のゲイン設定を変更する。
Step S301: The camera user sets the number of frames to be shot (number of times of shooting) and the amount of parameter fluctuation for each shooting (in shutter speed, gain setting of image signal) on the setting screen. In the third embodiment, the charge accumulation time of the
ステップS302:カメラ使用者は、図示しないレリーズ釦の全押しにより電子カメラ10に被写体のブラケティング撮影を指示する。このブラケティング撮影では、CPU24は1フレーム目の撮影画像データを生成した後に、S301での設定に従ってパラメータを変更して次フレームの撮影画像データを生成する。そして、CPU24はS301で設定された撮影フレーム数の撮影終了まで上記の工程を繰り返す。
Step S302: The camera user instructs the
ステップS303:画像処理部15は撮影画像データに顔認識処理を施し、撮影画像データにおける顔の有無をCPU24に出力する。CPU24は各撮影画像データから顔が検出されたか否かを画像処理部15の出力に基づいて判定する。撮影画像データから顔が検出された場合(YES側)にはS304に移行する。一方、撮影画像データから顔が検出されない場合(NO側)にはS307に移行して、CPUは顔領域を検出できない撮影画像データを保存する。なお、このS303の判定はブラケティング撮影の各撮影画像データ毎に実行される。
Step S303: The
ステップS304:画像処理部15は、S303で顔が検出された撮影画像データについて、顔領域に含まれる空間周波数成分をそれぞれ分析する。そして、画像処理部15は画像の粒状感と高い相関をもつ空間周波数成分の量に基づいて、顔領域における画像の粒状感の強さを示す評価値を上記の各撮影画像データ毎に生成する。
ステップS305:CPU24はS303で顔が検出された撮影画像データのうち、顔の画質が最もよい(すなわち、顔領域における画像の粒状感が弱くて評価値の値が小さい)撮影画像データをS304の評価値に基づいて決定する。
Step S304: The
Step S305: The
ステップS306:CPU24はS305で決定された撮影画像データを記録媒体21に記録し、一連の撮影動作を終了する。
上記の第3実施形態の電子カメラでは、画像信号のゲイン設定およびシャッタ秒時の組み合わせを変化させてブラケティング撮影を行い、顔の画質が最もよい撮影画像データを記録する。そのため、顔領域における画像の粒状感が低くて顔の画質が良好な撮影画像を取得できる可能性が向上する。
Step S306: The
In the electronic camera of the third embodiment, bracketing shooting is performed by changing the combination of the gain setting of the image signal and the shutter speed, and the shot image data with the best image quality of the face is recorded. Therefore, the possibility that a captured image with a low image granularity in the face region and a good face image quality can be acquired is improved.
(第4実施形態の説明)
図7は第4実施形態の画像処理装置の機能ブロック図である(請求項9の画像処理装置および請求項10の画像処理プログラムに対応する)。第4実施形態はパーソナルコンピュータ等に画像処理プログラムを実行させて画像処理装置30を構成する例である。ここで、第4実施形態の画像処理プログラムは、電子カメラで生成された「撮影画像データ」と、電子カメラの撮影条件のパラメータを示す「付加データ」とを含む画像ファイルを処理対象とする。この画像ファイルの例としては、Exif規格準拠の画像ファイルや、撮影条件のパラメータの情報を有するRAWデータファイルなどが該当する。
(Explanation of Fourth Embodiment)
FIG. 7 is a functional block diagram of the image processing apparatus of the fourth embodiment (corresponding to the image processing apparatus of claim 9 and the image processing program of claim 10). The fourth embodiment is an example in which the
画像処理装置30は、マイクロプロセッサ31と、メモリ32と、バスインターフェース部(バスI/F部)33と、表示ドライバ部34と、ディスクドライブ部35と、各部を接続するシステムバス36とを有している。また、画像処理装置30には、キーボードやポインティングデバイス等の入力手段37と、モニタ38とが接続されている。
マイクロプロセッサ31は画像処理装置30の各部を演算制御し、後述の画像処理プログラムを実行する。メモリ32はプログラムおよびデータを記憶し、マイクロプロセッサ31にデータを送ったり、マイクロプロセッサ31から返された処理結果を記憶する。バスI/F部33は、画像処理装置30に接続された周辺機器(例えば、電子カメラや記録媒体など)とのデータ送受信をUSB(Universal Serial Bus)やIEEE1394などのシリアル通信規格に準拠して制御する。表示ドライバ部34はモニタ38に画像出力を行う。ディスクドライブ部35では、光ディスク、光磁気ディスクなどの記録媒体に対して撮影画像データの読み出し/書き込みを実行する。
The
The
第4実施形態の画像処理装置は上記のように構成され、以下、図8の流れ図に従って第4実施形態の画像処理プログラムの動作を説明する。
ステップS401:マイクロプロセッサ31はバスI/F部33またはディスクドライブ部35から画像ファイルを読み込み、読み込んだ画像ファイルの一覧をモニタ38に表示する。そして、ユーザーに顔領域の画質判定を行う画像ファイルを選択入力させる。
The image processing apparatus of the fourth embodiment is configured as described above, and the operation of the image processing program of the fourth embodiment will be described below with reference to the flowchart of FIG.
Step S401: The
ステップS402:マイクロプロセッサ31はS401で選択された画像ファイルのうち、処理対象とする画像ファイルをメモリ32に読み込んで、撮影画像データの撮影条件のパラメータを付加データから取得する。そして、マイクロプロセッサ31は、現在処理中の撮影画像データに対して顔領域の画質判定を行うか否かを撮影条件のパラメータに基づいて判定する。上記の判定では第1実施形態と同様に撮影条件のパラメータが「電子カメラのシーンモードが人物主体か否か」または「撮影時に手ぶれが発生し易いか否か」を基準とする。顔領域の画質判定を行う場合(YES側)にはS403に移行する。一方、顔領域の画質判定を行わない場合(NO側)にはS407に移行する。
Step S402: The
ステップS403:マイクロプロセッサ31は撮影画像データに顔認識処理を施し、現在処理中の撮影画像データから顔が検出されたか否かを判定する。撮影画像データから顔が検出された場合(YES側)にはS404に移行する。一方、撮影画像データから顔が検出されない場合(NO側)にはS407に移行する。
ステップS404:マイクロプロセッサ31は現在処理中の撮影画像データの顔領域に含まれる空間周波数成分を分析する。
Step S403: The
Step S404: The
ステップS405:マイクロプロセッサ31は、現在処理中の撮影画像データにおける顔領域の画質が閾値以下であるか否か(顔領域において画像の粒状感と高い相関をもつ空間周波数成分の量が閾値以上か否か)を判定する。顔領域の画質が閾値以下の場合(YES側)はS406に移行する。一方、顔領域の画質が閾値を上回る場合(NO側)はS407に移行する。
Step S405: The
ステップS406:マイクロプロセッサ31は顔領域の画質が閾値以下であることを示すマーカー情報を生成し、マーカー情報とその画像ファイルの特定情報(ファイル名、ディレクトリパスなど)とを対応付けてメモリ32に記憶する。
ステップS407:マイクロプロセッサ31は次に処理対象となる画像ファイルが存在するか否かを判定する。次の画像ファイルが存在する場合(YES側)にはS402に戻ってマイクロプロセッサは上記動作を繰り返す。一方、次の画像ファイルが存在しない場合(NO側)にはS408に移行する。
Step S406: The
Step S407: The
ステップS408:マイクロプロセッサ31はマーカー情報および画像ファイルの特定情報に基づいて、撮影画像データの顔領域の画質が閾値以下である画像ファイルの一覧をモニタ38に表示する。ユーザーは一覧画面の画像ファイルを全指定または個別指定して画像ファイルの処理を指示し、マイクロプロセッサ31は画像ファイルの削除や画像ファイルの補正などの処理を実行する。なお、画像ファイルの補正は第1実施形態のS112のように行われる。以上で画像処理プログラムの一連の動作が終了する。
Step S408: The
上記の第4実施形態では、コンピュータによる後処理工程において、顔領域の空間周波数解析の結果に基づいて顔領域の画質が悪い撮影画像データを検出できる。第4実施形態においても第1実施形態と同様に撮影条件のパラメータによって顔領域の画質判定のON/OFFを切り替えるので、顔領域の画質判定が必要でない撮影画像データや手ぶれした撮影画像データなどは判定対象から除外され、コンピュータの演算負荷が軽減される。 In the fourth embodiment, in the post-processing step by the computer, it is possible to detect photographed image data with a poor image quality of the face area based on the result of the spatial frequency analysis of the face area. In the fourth embodiment, as in the first embodiment, the face area image quality determination is turned on / off according to the parameters of the image capturing condition. It is excluded from the determination target, and the computation load of the computer is reduced.
(第5実施形態の説明)
図9は第5実施形態の画像処理プログラムの動作を示す流れ図である(請求項11の画像処理装置および請求項12の画像処理プログラムに対応する)。第5実施形態は第4実施形態の変形例であって、顔領域と顔領域以外の空間周波数成分を比較して、手ぶれ、ピンぼけの可能性が高い場合には顔領域の画質判定を行わない構成である。なお、第4実施形態の画像処理装置において、第4実施形態と共通の構成には同一符号を付して説明を省略する。また、図9のS501、S505〜S508は図8のS401、S405〜S408にそれぞれ対応するのでその説明は省略する。
(Description of Fifth Embodiment)
FIG. 9 is a flowchart showing the operation of the image processing program of the fifth embodiment (corresponding to the image processing apparatus of claim 11 and the image processing program of claim 12). The fifth embodiment is a modification of the fourth embodiment, and compares the face frequency and the spatial frequency components other than the face area, and does not determine the image quality of the face area when the possibility of camera shake or blur is high. It is a configuration. Note that in the image processing device of the fourth embodiment, the same reference numerals are given to the same components as in the fourth embodiment, and description thereof will be omitted. Also, S501 and S505 to S508 in FIG. 9 correspond to S401 and S405 to S408 in FIG.
ステップS502:マイクロプロセッサ31はS501で選択された画像ファイルのうち、処理対象とする画像ファイルの撮影画像データに顔認識処理を施し、撮影画像データから顔が検出されたか否かを判定する。撮影画像データから顔が検出された場合(YES側)にはS503に移行する。一方、撮影画像データから顔が検出されない場合(NO側)にはS507に移行する。
Step S502: The
ステップS503:マイクロプロセッサ31は撮影画像データの顔領域の空間周波数成分と、顔領域以外の任意の部分領域の空間周波数成分とをそれぞれ解析する。この部分領域の空間周波数成分は、顔領域の空間周波数成分とともに手ぶれ、ピンぼけの判定に使用される。
ステップS504:マイクロプロセッサ31は顔領域および部分領域の少なくとも一方の空間周波数成分に所定値以上の高周波成分が含まれているか否かを判定する。高周波成分が含まれる場合(YES側)には画像の輪郭は鮮明であって、手ぶれ、ピンぼけの可能性は低いのでS505の顔画質判定に移行する。一方、高周波成分が含まれない場合(NO側)には画像の輪郭が不鮮明であって、手ぶれまたはピンぼけしている可能性が高い。そのためマイクロプロセッサはS507に移行する。
Step S503: The
Step S504: The
上記の第5実施形態では第4実施形態とほぼ同様の効果を得ることができる。特に第5実施形態では、各撮影画像データの顔領域および部分領域の高周波成分に基づいて手ぶれ、ピンぼけの画像を個別的に除外してから顔領域の画質判定を行うので、付加データのない画像ファイルにも顔領域の画質判定を行うことができる。
(請求項と実施形態との対応関係)
ここで、請求項の構成と実施形態との対応関係を示しておく。なお、以下に示す対応関係はあくまで参考のために示した解釈であって、本発明の技術的範囲を限定するものではない。
In the fifth embodiment, substantially the same effect as that of the fourth embodiment can be obtained. In particular, in the fifth embodiment, image quality determination of the face area is performed after individually removing images of camera shake and blur based on the high-frequency components of the face area and partial area of each captured image data. The image quality of the face area can also be determined for the file.
(Correspondence between Claims and Embodiments)
Here, the correspondence relationship between the configuration of the claims and the embodiment will be described. Note that the correspondence shown below is an interpretation given for reference only, and does not limit the technical scope of the present invention.
請求項1〜8の電子カメラにおいて、「撮像素子」には撮像素子12が対応する。「画像処理部」、「顔認識部」、「顔領域解析部」、「空間周波数解析部」には画像処理部15が対応する。「モード切替部」、「顔画質判定部」、「制御部」にはCPU24が対応する。「通知手段」はモニタ22およびCPU24が対応する。「コネクタ」にはカードI/F20が対応する。
In the electronic camera according to
請求項9、11の画像処理装置において、「読込部」にはバスI/F部33およびディスクドライブ部35が対応する。「モード切替部」、「顔認識部」、「顔領域解析部」、「空間周波数解析部」、「顔画質判定部」にはマイクロプロセッサ31が対応する。なお、請求項10および請求項12の画像処理プログラムはマイクロプロセッサ31により実行される。
In the image processing apparatus according to claims 9 and 11, the “reading unit” corresponds to the bus I /
(実施形態の補足事項)
以上、本発明を上記の実施形態によって説明してきたが、本発明の技術的範囲は上記実施形態に限定されるものではない。
(1)上記実施形態の電子カメラでは特殊画像データの顔領域にぼかしフィルタを適用して補正処理する例を示したが、本発明ではメディアンフィルタを適用して顔領域の画像の粒状感を低下させるように補正処理してもよい。
(Supplementary items of the embodiment)
As mentioned above, although this invention has been demonstrated by said embodiment, the technical scope of this invention is not limited to the said embodiment.
(1) In the electronic camera of the above-described embodiment, an example in which correction processing is performed by applying a blur filter to the face area of special image data has been described. However, in the present invention, the graininess of an image in the face area is reduced by applying a median filter. Correction processing may be performed so that
(2)上記実施形態の電子カメラでは、特殊画像データ検出時には画像データのタグにマーカー情報を付加するようにしてもよい。この場合には、撮影終了後にマーカー情報に基づいてCPUが特殊画像データを抽出できるので、再生時にユーザーが特殊画像データを識別することが容易になる。 (2) In the electronic camera of the above embodiment, marker information may be added to a tag of image data when detecting special image data. In this case, since the CPU can extract the special image data based on the marker information after the photographing is completed, it becomes easy for the user to identify the special image data during reproduction.
10 電子カメラ
12 撮像素子
13 アナログ信号処理部
15 画像処理部
20 カードI/F
21 記録媒体
22 モニタ
24 CPU
30 画像処理装置
31 マイクロプロセッサ
32 メモリ
33 バスI/F部
35 ディスクドライブ部
38 モニタ
10
21 Recording medium 22
30
Claims (12)
前記画像信号に画像処理を施して撮影画像データを生成する画像処理部と、
前記撮影画像データにおける顔領域の画質判定を行う第1の画像処理モードと前記画質判定を行わない第2の画像処理モードとを撮影条件のパラメータに応じて切り替えるモード切替部と、
前記撮影画像データにおける顔領域を抽出する顔認識部と、
前記顔領域を解析する顔領域解析部と、
前記第1の画像処理モードで前記顔領域解析部の解析結果に基づいて前記顔領域の画質を判定し、該画質が閾値以下の特殊画像データを検出する顔画質判定部と、
を有することを特徴とする電子カメラ。 An image sensor that photoelectrically converts a subject image to generate an image signal;
An image processing unit that performs image processing on the image signal to generate captured image data;
A mode switching unit that switches between a first image processing mode for determining the image quality of the face area in the captured image data and a second image processing mode for not performing the image quality determination according to a parameter of the imaging condition;
A face recognition unit for extracting a face region in the captured image data;
A face area analysis unit for analyzing the face area;
A face image quality determination unit that determines image quality of the face region based on an analysis result of the face region analysis unit in the first image processing mode, and detects special image data having the image quality equal to or less than a threshold;
An electronic camera comprising:
前記画像信号に画像処理を施して撮影画像データを生成する画像処理部と、
前記撮影画像データにおける顔領域を抽出する顔認識部と、
前記顔領域および前記顔領域以外の任意の部分領域の空間周波数成分を解析する空間周波数解析部と、
前記顔領域の画質判定を行う第1の画像処理モードと前記画質判定を行わない第2の画像処理モードとを前記解析結果に基づいて切り替えるモード切替部と、
前記第1の画像処理モードで画像の粒状感と高い相関をもつ空間周波数成分に基づいて前記顔領域の画質を判定し、該画質が閾値以下の特殊画像データを検出する顔画質判定部と、
を有することを特徴とする電子カメラ。 An image sensor that photoelectrically converts a subject image to generate an image signal;
An image processing unit that performs image processing on the image signal to generate captured image data;
A face recognition unit for extracting a face region in the captured image data;
A spatial frequency analysis unit that analyzes a spatial frequency component of the face region and an arbitrary partial region other than the face region;
A mode switching unit that switches between a first image processing mode that performs image quality determination of the face area and a second image processing mode that does not perform the image quality determination based on the analysis result;
A face image quality determination unit for determining image quality of the face region based on a spatial frequency component having a high correlation with the graininess of the image in the first image processing mode, and detecting special image data having the image quality equal to or less than a threshold;
An electronic camera comprising:
前記制御部は、前記記録媒体の記録対象から前記特殊画像データを除外することを特徴とする請求項1または請求項2に記載の電子カメラ。 A connector for connecting a recording medium; and a control unit for recording the captured image data on the recording medium,
The electronic camera according to claim 1, wherein the control unit excludes the special image data from a recording target of the recording medium.
前記画像処理部は前記顔パーツの領域を前記補正処理の対象から除外することを特徴とする請求項5に記載の電子カメラ。 The face recognition unit extracts a predetermined face part in the face area of the special image data,
The electronic camera according to claim 5, wherein the image processing unit excludes the area of the face part from the correction processing target.
前記画像信号に画像処理を施して撮影画像データを生成する画像処理部と、
前記撮影画像データにおける顔領域を抽出する顔認識部と、
前記画像信号のゲイン設定およびシャッタ秒時の少なくとも一方を変化させて複数回の撮影を行う制御部と、
前記撮影画像データにおける前記顔領域の空間周波数成分を解析し、画像の粒状感と高い相関をもつ空間周波数成分に基づいて前記顔領域の画質を判定し、複数回の撮影において前記画質が最も高い撮影画像データを検出する顔画質判定部と、
を有することを特徴とする電子カメラ。 An image sensor that photoelectrically converts a subject image to generate an image signal;
An image processing unit that performs image processing on the image signal to generate captured image data;
A face recognition unit for extracting a face region in the captured image data;
A control unit that performs shooting a plurality of times by changing at least one of the gain setting of the image signal and the shutter speed;
The spatial frequency component of the face area in the captured image data is analyzed, the image quality of the face area is determined based on the spatial frequency component highly correlated with the granularity of the image, and the image quality is the highest in multiple shootings A face image quality determination unit for detecting captured image data;
An electronic camera comprising:
前記画像ファイルを読み込む読込部と、
前記撮影画像データにおける顔領域の画質判定を行う第1の画像処理モードと前記画質判定を行わない第2の画像処理モードとを撮影条件のパラメータに応じて切り替えるモード切替部と、
前記画像データにおける顔領域を抽出する顔認識部と、
前記顔領域を解析する顔領域解析部と、
前記第1の画像処理モードで前記顔領域解析部の解析結果に基づいて前記顔領域の画質を判定し、該画質が閾値以下の特殊画像データを検出する顔画質判定部と、
を有することを特徴とする画像処理装置。 An image processing apparatus that reads an image file including image data generated by an electronic camera and additional data indicating parameters of photographing conditions of the electronic camera and processes the image data,
A reading unit for reading the image file;
A mode switching unit that switches between a first image processing mode for determining the image quality of the face area in the captured image data and a second image processing mode for not performing the image quality determination according to a parameter of the imaging condition;
A face recognition unit for extracting a face region in the image data;
A face area analysis unit for analyzing the face area;
A face image quality determination unit that determines image quality of the face region based on an analysis result of the face region analysis unit in the first image processing mode, and detects special image data having the image quality equal to or less than a threshold;
An image processing apparatus comprising:
前記画像ファイルを読み込む手順と、
前記撮影画像データにおける顔領域の画質判定を行う第1の画像処理モードと前記画質判定を行わない第2の画像処理モードとを撮影条件のパラメータに応じて切り替える手順と、
前記画像データにおける顔領域を抽出する手順と、
前記顔領域を解析する手順と、
前記第1の画像処理モードで前記顔領域の解析結果に基づいて前記顔領域の画質を判定し、該画質が閾値以下の特殊画像データを検出する手順と、
をコンピュータに実行させるための画像処理プログラム。 An image processing program that reads an image file including image data generated by an electronic camera and additional data indicating parameters of photographing conditions of the electronic camera, and processes the image data,
A procedure for reading the image file;
A procedure for switching between a first image processing mode for determining the image quality of a face area in the captured image data and a second image processing mode for not performing the image quality determination according to a parameter of the imaging condition;
A procedure for extracting a face region in the image data;
Analyzing the face region;
Determining the image quality of the face area based on the analysis result of the face area in the first image processing mode, and detecting special image data having the image quality of a threshold value or less;
An image processing program for causing a computer to execute.
前記画像ファイルを読み込む読込部と、
前記画像データから顔領域を抽出する顔認識部と、
前記顔領域および前記顔領域以外の任意の部分領域の空間周波数成分を解析する空間周波数解析部と、
前記顔領域の画質判定を行う第1の画像処理モードと前記画質判定を行わない第2の画像処理モードとを前記解析結果に基づいて切り替えるモード切替部と、
前記第1の画像処理モードで画像の粒状感と高い相関をもつ空間周波数成分に基づいて前記顔領域の画質を判定し、該画質が閾値以下の特殊画像データを検出する顔画質判定部と、
を有することを特徴とする画像処理装置。 An image processing apparatus that reads an image file including image data generated by an electronic camera and processes the image data,
A reading unit for reading the image file;
A face recognition unit for extracting a face region from the image data;
A spatial frequency analysis unit that analyzes a spatial frequency component of the face region and an arbitrary partial region other than the face region;
A mode switching unit that switches between a first image processing mode that performs image quality determination of the face area and a second image processing mode that does not perform the image quality determination based on the analysis result;
A face image quality determination unit for determining image quality of the face region based on a spatial frequency component having a high correlation with the graininess of the image in the first image processing mode, and detecting special image data having the image quality equal to or less than a threshold;
An image processing apparatus comprising:
前記画像ファイルを読み込む手順と、
前記画像データから顔領域を抽出する手順と、
前記顔領域および前記顔領域以外の任意の部分領域の空間周波数成分を解析する手順と、
前記顔領域の画質判定を行う第1の画像処理モードと前記画質判定を行わない第2の画像処理モードとを前記解析結果に基づいて切り替える手順と、
前記第1の画像処理モードで画像の粒状感と高い相関をもつ空間周波数成分に基づいて前記顔領域の画質を判定し、該画質が閾値以下の特殊画像データを検出する手順と、
をコンピュータに実行させるための画像処理プログラム。
An image processing program that reads an image file including image data generated by an electronic camera and processes the image data,
A procedure for reading the image file;
A procedure for extracting a face region from the image data;
Analyzing the spatial frequency components of the face region and any partial region other than the face region;
A procedure for switching between a first image processing mode for determining the image quality of the face area and a second image processing mode for not performing the image quality determination based on the analysis result;
Determining the image quality of the face area based on a spatial frequency component having a high correlation with the graininess of the image in the first image processing mode, and detecting special image data having the image quality equal to or lower than a threshold;
An image processing program for causing a computer to execute.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004369580A JP4534750B2 (en) | 2004-12-21 | 2004-12-21 | Image processing apparatus and image processing program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004369580A JP4534750B2 (en) | 2004-12-21 | 2004-12-21 | Image processing apparatus and image processing program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006180078A true JP2006180078A (en) | 2006-07-06 |
JP4534750B2 JP4534750B2 (en) | 2010-09-01 |
Family
ID=36733778
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004369580A Expired - Fee Related JP4534750B2 (en) | 2004-12-21 | 2004-12-21 | Image processing apparatus and image processing program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4534750B2 (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008054293A (en) * | 2006-07-25 | 2008-03-06 | Fujifilm Corp | System for and method of photographing, and computer program |
JP2008131405A (en) * | 2006-11-21 | 2008-06-05 | Sony Corp | Imaging unit, image processing unit, image processing methods for the units, and program making computer execute the method |
JP2014016823A (en) * | 2012-07-09 | 2014-01-30 | Canon Inc | Image processor, image processing method, and program |
JP2014016826A (en) * | 2012-07-09 | 2014-01-30 | Canon Inc | Image processor, image processing method, and program |
JP2014030069A (en) * | 2012-07-31 | 2014-02-13 | Casio Comput Co Ltd | Image selection device, image selection method, and program |
KR101417818B1 (en) | 2008-05-19 | 2014-07-09 | 삼성전자주식회사 | Apparatus and method for recognizing scene mode in digital image processing device |
JP2014128946A (en) * | 2012-12-28 | 2014-07-10 | Sinfonia Technology Co Ltd | Thermal printer and sticker printing device using thermal printer |
CN112801932A (en) * | 2019-10-28 | 2021-05-14 | 深圳市万普拉斯科技有限公司 | Image display method, image display device, electronic equipment and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001036843A (en) * | 1999-07-22 | 2001-02-09 | Fuji Photo Film Co Ltd | Image input/output device |
JP2001324742A (en) * | 2000-05-16 | 2001-11-22 | Canon Inc | Image pickup device and object recognizing method for the same |
JP2003092691A (en) * | 2001-09-18 | 2003-03-28 | Canon Inc | Electronic camera, control method, and storage medium |
WO2003069559A2 (en) * | 2002-02-12 | 2003-08-21 | Hewlett-Packard Company | Assessing the photo quality of a captured image in a digital still camera |
JP2004120256A (en) * | 2002-09-25 | 2004-04-15 | Fuji Photo Film Co Ltd | Digital camera |
JP2004147018A (en) * | 2002-10-23 | 2004-05-20 | Fuji Photo Film Co Ltd | Image processing method and digital camera |
JP2004215005A (en) * | 2003-01-06 | 2004-07-29 | Fuji Xerox Co Ltd | Apparatus and method for processing image and for judging scene, and program |
JP2004303193A (en) * | 2003-03-20 | 2004-10-28 | Omron Corp | Image processor |
-
2004
- 2004-12-21 JP JP2004369580A patent/JP4534750B2/en not_active Expired - Fee Related
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001036843A (en) * | 1999-07-22 | 2001-02-09 | Fuji Photo Film Co Ltd | Image input/output device |
JP2001324742A (en) * | 2000-05-16 | 2001-11-22 | Canon Inc | Image pickup device and object recognizing method for the same |
JP2003092691A (en) * | 2001-09-18 | 2003-03-28 | Canon Inc | Electronic camera, control method, and storage medium |
WO2003069559A2 (en) * | 2002-02-12 | 2003-08-21 | Hewlett-Packard Company | Assessing the photo quality of a captured image in a digital still camera |
JP2004120256A (en) * | 2002-09-25 | 2004-04-15 | Fuji Photo Film Co Ltd | Digital camera |
JP2004147018A (en) * | 2002-10-23 | 2004-05-20 | Fuji Photo Film Co Ltd | Image processing method and digital camera |
JP2004215005A (en) * | 2003-01-06 | 2004-07-29 | Fuji Xerox Co Ltd | Apparatus and method for processing image and for judging scene, and program |
JP2004303193A (en) * | 2003-03-20 | 2004-10-28 | Omron Corp | Image processor |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008054293A (en) * | 2006-07-25 | 2008-03-06 | Fujifilm Corp | System for and method of photographing, and computer program |
JP2008131405A (en) * | 2006-11-21 | 2008-06-05 | Sony Corp | Imaging unit, image processing unit, image processing methods for the units, and program making computer execute the method |
KR101417818B1 (en) | 2008-05-19 | 2014-07-09 | 삼성전자주식회사 | Apparatus and method for recognizing scene mode in digital image processing device |
JP2014016823A (en) * | 2012-07-09 | 2014-01-30 | Canon Inc | Image processor, image processing method, and program |
JP2014016826A (en) * | 2012-07-09 | 2014-01-30 | Canon Inc | Image processor, image processing method, and program |
US9558212B2 (en) | 2012-07-09 | 2017-01-31 | Canon Kabushiki Kaisha | Apparatus, image processing method and computer-readable storage medium for object identification based on dictionary information |
US10055640B2 (en) | 2012-07-09 | 2018-08-21 | Canon Kabushiki Kaisha | Classification of feature information into groups based upon similarity, and apparatus, image processing method, and computer-readable storage medium thereof |
JP2014030069A (en) * | 2012-07-31 | 2014-02-13 | Casio Comput Co Ltd | Image selection device, image selection method, and program |
JP2014128946A (en) * | 2012-12-28 | 2014-07-10 | Sinfonia Technology Co Ltd | Thermal printer and sticker printing device using thermal printer |
CN112801932A (en) * | 2019-10-28 | 2021-05-14 | 深圳市万普拉斯科技有限公司 | Image display method, image display device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
JP4534750B2 (en) | 2010-09-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7990429B2 (en) | Imaging device with blur enhancement | |
JP4186699B2 (en) | Imaging apparatus and image processing apparatus | |
US8150188B2 (en) | Imaging apparatus | |
JP4375448B2 (en) | Image processing apparatus, imaging apparatus, image processing method, and program | |
JP6720881B2 (en) | Image processing apparatus and image processing method | |
JP2012119858A (en) | Imaging device, imaging method, and program | |
JP2011530208A (en) | Improved image formation using different resolution images | |
JP6833415B2 (en) | Image processing equipment, image processing methods, and programs | |
JP5126207B2 (en) | Imaging device | |
US9674427B2 (en) | Image processing method and apparatus | |
US9253406B2 (en) | Image capture apparatus that can display review image, image capture method, and storage medium | |
CN106961556B (en) | Camera and electronic apparatus | |
US8830359B2 (en) | Image processing apparatus, imaging apparatus, and computer readable medium | |
JP2007188126A (en) | Image brightness calculation device, method, and program | |
JP2008092299A (en) | Electronic camera | |
JP5655668B2 (en) | Imaging apparatus, image processing method, and program | |
JP2008109305A (en) | Image processing device, and control method of image processing device | |
JP4534750B2 (en) | Image processing apparatus and image processing program | |
JP5949559B2 (en) | Image processing apparatus, imaging apparatus, and image processing program | |
JP4632417B2 (en) | Imaging apparatus and control method thereof | |
JP2011041143A (en) | Image processing apparatus | |
JP2016092513A (en) | Image acquisition device, shake reduction method and program | |
JP5200820B2 (en) | Imaging apparatus, imaging method, and image processing program | |
JP2007150491A (en) | Camera, and image control program | |
JP5146223B2 (en) | Program, camera, image processing apparatus, and image contour extraction method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20071211 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090601 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090609 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090810 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090908 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20091109 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20100119 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100419 |
|
A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20100428 |
|
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: 20100525 |
|
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: 20100607 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130625 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4534750 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130625 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130625 Year of fee payment: 3 |
|
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 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |