JP2006180078A - Electronic camera, image processor and image processing program - Google Patents

Electronic camera, image processor and image processing program Download PDF

Info

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
Application number
JP2004369580A
Other languages
Japanese (ja)
Other versions
JP4534750B2 (en
Inventor
Daisuke Tsukiyama
大亮 築山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nikon Corp
Original Assignee
Nikon Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nikon Corp filed Critical Nikon Corp
Priority to JP2004369580A priority Critical patent/JP4534750B2/en
Publication of JP2006180078A publication Critical patent/JP2006180078A/en
Application granted granted Critical
Publication of JP4534750B2 publication Critical patent/JP4534750B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an electronic camera which can easily judge the picture quality of a face region and has a small calculation load on the camera side. <P>SOLUTION: The electronic camera includes: an imaging device which photoelectrically converts a subject image to generate an image signal; an image processing section which applies image processing to the image signal to generate a photographic image data; a mode switching section which switches the mode between a 1st image processing mode where the picture quality of the face region in the photographic image data is judged and a 2nd image processing mode where no picture quality judgment is made according to parameters of photographic conditions; a face recognition section which extracts the face region from the photographic image data in the 1st image processing mode; a spatial frequency analysis section which analyzes a spatial frequency component in the face region; and a face picture quality judgment section which judges the picture quality of the face region based on the spatial frequency component having high correlation with a feeling of granularity of an image and detects special image data whose picture quality is equal to or below a threshold. <P>COPYRIGHT: (C)2006,JPO&NCIPI

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には画像データから顔を認識してカラーバランスを顔の存在に関連付けることで良好な撮影画像を得る電子カメラが開示されている。
特開2001−309225号公報 [0034]
On the other hand, Patent Document 1 discloses an electronic camera that obtains a good captured image by recognizing a face from image data and associating color balance with the presence of the face.
JP, 2001-309225, A [0034]

電子カメラの撮影画像は半導体メモリ等の記録媒体などに記録される。そして、上記のような顔部分に粒状感のある撮影画像を削除または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 Patent Document 1 merely suggests that the result of face recognition can be applied to skin tone correction, and does not solve the above problem.
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 claims 1 to 3). The electronic camera 10 includes an imaging lens 11, an image sensor 12, an analog signal processing unit 13, an A / D conversion unit 14, an image processing unit 15, a compression / decompression processing unit 16, a memory 17, and a capacitor storage. A flash light emitting unit 18 that causes the xenon arc tube to emit light with electric charge, a timing generator (TG) 19, a card interface (card I / F) 20, a recording medium 21, a monitor 22, an operation unit 23, a CPU 24, and each unit And a data bus 25 for connecting the two.

撮像素子12は撮影レンズ11の像空間側に配置されている。撮像素子12の受光面(撮影レンズ11と相対する面)には被写体像を光電変換してアナログ画像信号を生成する受光画素が2次元配列されている。撮像素子12の出力はアナログ信号処理部13に接続されている。
アナログ信号処理部13は、相関二重サンプリングを行うCDS回路、アナログ画像信号の出力を増幅するゲイン回路、入力信号の波形を一定の電圧レベルにクランプするクランプ回路等で構成されている。A/D変換部14はアナログ信号処理部13から出力されたアナログ画像信号をデジタル画像信号に変換する。
The image sensor 12 is disposed on the image space side of the photographing lens 11. On the light receiving surface of the image sensor 12 (the surface opposite to the photographing lens 11), light receiving pixels for photoelectrically converting a subject image to generate an analog image signal are two-dimensionally arranged. The output of the image sensor 12 is connected to the analog signal processing unit 13.
The analog signal processing unit 13 includes a CDS circuit that performs correlated double sampling, a gain circuit that amplifies the output of the analog image signal, a clamp circuit that clamps the waveform of the input signal to a certain voltage level, and the like. The A / D conversion unit 14 converts the analog image signal output from the analog signal processing unit 13 into a digital image signal.

画像処理部15は、デジタル画像信号に画像処理(欠陥画素補正、ガンマ補正、補間、色変換、エッジ強調など)を施して撮影画像データを生成する。特に第1実施形態の画像処理部15は以下の機能を有している。
(a)第1に画像処理部15は撮影画像データに対して公知の顔認識処理を施し、被写体の顔領域を検出する。なお、顔認識処理の例として特開平8−63595号公報には、色に基いて肌色領域の輪郭を抽出し、予め用意する顔の輪郭テンプレートとのマッチング度で顔を検出する方法や、更に目候補領域を求めて目テンプレートとのマッチング度を用いて顔検出する方法や、顔の輪郭テンプレートで求まる顔候補領域の2次元フーリエ変換結果と、目、鼻、口及び髪等を含む予め用意した顔テンプレート画像の2次元フーリエ変換結果とから定義される特徴量を求め、この特徴量を閾値処理して顔検出を行なう方法等が開示されている。
The image processing unit 15 performs image processing (defective pixel correction, gamma correction, interpolation, color conversion, edge enhancement, etc.) on the digital image signal to generate captured image data. In particular, the image processing unit 15 of the first embodiment has the following functions.
(A) First, the image processing unit 15 performs a known face recognition process on the captured image data to detect the face area of the subject. In addition, as an example of face recognition processing, Japanese Patent Laid-Open No. 8-63595 discloses a method for extracting a contour of a skin color region based on color and detecting a face with a matching degree with a face contour template prepared in advance. Prepared in advance including eye detection method using face matching with eye template by finding eye candidate area, 2D Fourier transform result of face candidate area obtained from face outline template, eyes, nose, mouth, hair, etc. A method is disclosed in which a feature amount defined from the two-dimensional Fourier transform result of the face template image obtained is obtained, and the feature amount is subjected to threshold processing to perform face detection.

(b)第2に画像処理部15は高速フーリエ変換(FFT)などで撮影画像データの顔領域に含まれる空間周波数成分を分析する。そして、画像処理部15は画像の粒状感と高い相関をもつ空間周波数成分に基づいて、撮影画像データの中で顔領域の画質が粗い(顔領域の粒状感が強い)特殊画像データを検出する。なお、「画像の粒状感と高い相関をもつ空間周波数成分」は、予め統計的に求めた電子カメラの特性(特定の空間周波数成分が強いとノイズが発生し易いなど)に基づいて設定される。   (B) Secondly, the image processing unit 15 analyzes a spatial frequency component included in the face area of the captured image data by fast Fourier transform (FFT) or the like. Then, the image processing unit 15 detects special image data in which the image quality of the face area is rough (the face area has a strong grain feeling) in the captured image data based on a spatial frequency component having a high correlation with the graininess of the image. . Note that the “spatial frequency component having a high correlation with the granularity of the image” is set based on the characteristics of the electronic camera statistically obtained in advance (for example, noise is likely to occur if a specific spatial frequency component is strong). .

(c)第3に画像処理部15は、CPU24の指示によりぼかしフィルタ等で特殊画像データの顔領域に対して画像の粒状感を低下させる補正処理を施す。
圧縮伸長処理部16は画像処理後の画像データをJPEG形式で圧縮する処理や、JPEG形式の圧縮画像データを伸長して復元する処理を実行する。メモリ17はSDRAM等で構成され、画像処理部15での画像処理前または画像処理後の撮影画像データを一時的に保存する。
(C) Thirdly, the image processing unit 15 performs a correction process for reducing the granularity of the image on the face area of the special image data by a blur filter or the like according to an instruction from the CPU 24.
The compression / decompression processing unit 16 executes processing for compressing image data after image processing in JPEG format, and processing for decompressing and restoring JPEG format compressed image data. The memory 17 is composed of SDRAM or the like, and temporarily stores photographed image data before or after image processing by the image processing unit 15.

TG19はCPUの指示に基づいて所定のタイミングで駆動信号を生成する。TG19の駆動信号は撮像素子12に供給され、受光画素の不要電荷排出、電荷蓄積および蓄積電荷出力等に使用される。
カードI/F20には記録媒体21を着脱可能に接続するためのコネクタが形成されている。記録媒体21は公知の半導体メモリなどで構成され、この記録媒体21には上記の撮影画像データが最終的に記録される。
The TG 19 generates a drive signal at a predetermined timing based on an instruction from the CPU. The drive signal for the TG 19 is supplied to the image sensor 12 and is used for discharging unnecessary charges from the light receiving pixels, accumulating charges and outputting accumulated charges.
The card I / F 20 is formed with a connector for detachably connecting the recording medium 21. The recording medium 21 is composed of a known semiconductor memory or the like, and the above-described photographic image data is finally recorded on the recording medium 21.

モニタ22は主として電子カメラ10の背面部分に配置される。モニタ22には撮影画像データの再生画面、電子カメラ10の各種設定を変更するための設定画面、後述の通知画面などが表示される。操作部23は十字状のカーソルキーなどで構成される。この操作部23は上記の設定画面での各種入力などに使用される。
CPU24は、例えば、AE演算およびAF演算などの演算処理、撮影時の一連の画像処理制御、閃光発光部18の発光タイミング制御、記録媒体21へのデータ書込/読出制御などを実行し、電子カメラ10の各部を制御する。
The monitor 22 is mainly disposed on the back portion of the electronic camera 10. The monitor 22 displays a captured image data reproduction screen, a setting screen for changing various settings of the electronic camera 10, a notification screen described later, and the like. The operation unit 23 includes a cross-shaped cursor key. The operation unit 23 is used for various inputs on the setting screen.
The CPU 24 executes, for example, arithmetic processing such as AE calculation and AF calculation, a series of image processing control at the time of shooting, light emission timing control of the flash light emitting unit 18, data writing / reading control to the recording medium 21, and the like. Each part of the camera 10 is controlled.

特に第1実施形態のCPU24は、画像処理部15による顔領域の画質判定のON/OFFを撮影条件のパラメータに応じて切り替える。ここで、上記の切替は「電子カメラのシーンモードが人物主体か否か」または「撮影時に手ぶれが発生し易いか否か」を基準とする。
例えば、CPU24はシーンモードが風景モードの場合には顔領域の画質判定をOFFにし、シーンモードがポートレートモードの場合には人物が主要被写体であるので顔領域の画質判定をONにする。また、長秒時撮影で閃光発光部の発光を行わない場合には撮影時に手ぶれで顔領域の画質判定が困難となる可能性が高いので、CPU24は予め顔領域の画質判定をOFFにする。さらに、加速度センサの出力により手ぶれを検知する公知の手ぶれ検知機構が電子カメラ10に実装されている場合は、手ぶれ検知機構が手ぶれを検知したときにCPUは顔領域の画質判定をOFFにするようにしてもよい。また、撮影レンズ11をシフトさせて手ぶれをキャンセルする公知の手ぶれ補正機構が電子カメラ10に実装されている場合には、CPU24は手ぶれ補正がONのときに顔領域の画質判定をONにするようにしてもよい(手ぶれ検知機構、手ぶれ補正機構の図示は省略する)。
In particular, the CPU 24 according to the first embodiment switches ON / OFF of the image quality determination of the face area by the image processing unit 15 according to the parameter of the shooting condition. Here, the above switching is based on “whether or not the scene mode of the electronic camera is person-oriented” or “whether camera shake is likely to occur during shooting”.
For example, when the scene mode is the landscape mode, the CPU 24 turns off the image quality determination of the face area, and when the scene mode is the portrait mode, the person is the main subject and turns on the image quality determination of the face area. In addition, when the flash light emitting unit is not illuminated during long-time shooting, there is a high possibility that it will be difficult to determine the image quality of the face area due to camera shake during shooting, so the CPU 24 turns off the image quality determination of the face area in advance. Furthermore, when a known camera shake detection mechanism that detects camera shake by the output of the acceleration sensor is mounted on the electronic camera 10, the CPU turns off the image quality determination of the face area when the camera shake detection mechanism detects camera shake. It may be. When a known camera shake correction mechanism that shifts the photographing lens 11 to cancel camera shake is mounted on the electronic camera 10, the CPU 24 turns on the image quality determination of the face area when camera shake correction is ON. (The illustration of the camera shake detection mechanism and the camera shake correction mechanism is omitted).

また、顔領域の画質判定がONのときには、CPU24は設定画面での入力に基づいて特殊画像データ検出時の処理を、(1)特殊画像データの顔領域の画質を自動的に補正する、(2)特殊画像データを記録媒体に書込禁止して自動的に削除する、(3)通知画面をモニタに表示する、のいずれかから選択して実行する。
以下、第1実施形態の電子カメラの撮影動作を図2の流れ図に沿って説明する。
When the image quality determination of the face area is ON, the CPU 24 performs processing at the time of detecting the special image data based on the input on the setting screen, (1) automatically corrects the image quality of the face area of the special image data. 2) The special image data is automatically deleted by prohibiting writing to the recording medium, and (3) the notification screen is displayed on the monitor.
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 electronic camera 10 to shoot a subject by fully pressing a release button (not shown). The CPU 24 of the electronic camera 10 drives the image sensor 12 via the TG 19 and the image sensor 12 outputs an analog image signal of the subject image. The analog image signal passes through the analog signal processing unit 13 and is then converted into a digital image signal by the A / D conversion unit 14. Then, the image processing unit 15 performs predetermined image processing on the digital image signal to generate captured image data.

ステップS103:CPU24はS102の撮影における撮影条件のパラメータに基づいて顔領域の画質判定を行うか否かを判定する。顔領域の画質判定を行う場合(YES側)にはS104に移行する。一方、顔領域の画質判定を行わない場合(NO側)にはS110に移行する。
ステップS104:画像処理部15は撮影画像データに顔認識処理を施し、撮影画像データにおける顔の有無をCPU24に出力する。CPU24は撮影画像データから顔が検出されたか否かを画像処理部15の出力に基づいて判定する。撮影画像データから顔が検出された場合(YES側)にはS105に移行する。一方、撮影画像データから顔が検出されない場合(NO側)にはS110に移行する。
Step S103: The CPU 24 determines whether or not to determine the image quality of the face area based on the shooting condition parameters in the shooting of S102. When the image quality determination of the face area is performed (YES side), the process proceeds to S104. On the other hand, when the image quality determination of the face area is not performed (NO side), the process proceeds to S110.
Step S104: The image processing unit 15 performs face recognition processing on the captured image data, and outputs the presence or absence of a face in the captured image data to the CPU 24. The CPU 24 determines whether a face is detected from the captured image data based on the output of the image processing unit 15. If a face is detected from the captured image data (YES side), the process proceeds to S105. On the other hand, if no face is detected from the captured image data (NO side), the process proceeds to S110.

ステップS105:画像処理部15は撮影画像データの顔領域に含まれる空間周波数成分を分析する。
ステップS106:CPU24は顔領域の画質が閾値以下の特殊画像データであるか否か(具体的には、顔領域において画像の粒状感と高い相関をもつ空間周波数成分の量が閾値以上か否か)を判定する。撮影画像データが特殊画像データの場合(YES側)はS107に移行する。一方、撮影画像データが特殊画像データではない場合(NO側)はS110に移行する。
Step S105: The image processing unit 15 analyzes the spatial frequency component included in the face area of the captured image data.
Step S106: The CPU 24 determines whether the image quality of the face area is special image data having a threshold value or less (specifically, whether the amount of the spatial frequency component having a high correlation with the graininess of the image in the face area is equal to or more than the threshold value). ). If the captured image data is special image data (YES side), the process proceeds to S107. On the other hand, if the captured image data is not special image data (NO side), the process proceeds to S110.

ステップS107:CPU24はS101での設定内容に基づいて特殊画像データ検出時の処理を判定する。S101で「(1)顔領域の画質の自動補正」が選択入力されている場合はS112に移行する。S101で「(2)特殊画像データの自動削除」が選択入力されている場合はS111に移行する。S101で「(3)通知画面の表示」が選択入力されている場合はS108に移行する。   Step S107: The CPU 24 determines the processing at the time of detecting special image data based on the setting content in S101. If “(1) Automatic correction of image quality of face area” is selected and input in S101, the process proceeds to S112. If “(2) Automatic deletion of special image data” is selected and input in S101, the process proceeds to S111. When “(3) Display of notification screen” is selected and input in S101, the process proceeds to S108.

ステップS108:CPU24は通知画面をモニタ22に表示する。この通知画面では、撮影画像が特殊画像データ(顔荒れ画像)であって、顔が美しく撮影されていない旨のメッセージと、特殊画像データの処理の選択枝として「保存(記録媒体への特殊画像データの書込許可)」、「削除(記録媒体への特殊画像データの書込禁止)」、「補正(顔領域の画質の補正処理)」とが表示される(図3参照)。そして、カメラ使用者はモニタ22に表示されるアイコンを操作部23で操作して、特殊画像データの処理を選択入力する。   Step S108: The CPU 24 displays a notification screen on the monitor 22. In this notification screen, a message indicating that the captured image is special image data (rough face image) and the face is not photographed beautifully, and “Save (special image to recording medium) as selection options for special image data processing” "Data write permission", "Deletion (prohibition of writing special image data to recording medium)", and "Correction (face area image quality correction processing)" are displayed (see FIG. 3). Then, the camera user operates the icon displayed on the monitor 22 with the operation unit 23 to select and input the special image data processing.

ステップS109:CPU24はS108でカメラ使用者がいずれの処理を選択入力したかを判定する。「保存」が選択された場合はS110に移行する。「削除」が選択された場合はS111に移行する。「補正」が選択された場合にはS112に移行する。
ステップS110:この場合にはCPU24はS102で生成された撮影画像データをそのまま記録媒体21に記録し、その後に撮影動作を終了する。
Step S109: The CPU 24 determines which process is selected and input by the camera user in S108. When “Save” is selected, the process proceeds to S110. When “Delete” is selected, the process proceeds to S111. If “Correction” is selected, the process proceeds to S112.
Step S110: In this case, the CPU 24 records the captured image data generated in S102 on the recording medium 21 as it is, and thereafter ends the photographing operation.

ステップS111:この場合にはCPU24はS102で生成された撮影画像データ(特殊画像データ)を削除し、記録媒体21に特殊画像データを記録することなく撮影動作を終了する。
ステップS112:この場合には画像処理部15が特殊画像データの顔領域に対してぼかしフィルタによるフィルタ演算を行って、顔領域の粒状感を低下させる補正処理を施す(図4参照)。なお、上記のぼかしフィルタによるフィルタ演算では、画像処理部15は顔認識時に抽出した目、鼻、口、眉などの顔パーツの領域を補正処理の対象から除外して、顔パーツの輪郭や微細な情報が失われないようにするのが好ましい。
Step S111: In this case, the CPU 24 deletes the photographed image data (special image data) generated in S102 and ends the photographing operation without recording the special image data on the recording medium 21.
Step S112: In this case, the image processing unit 15 performs a filter operation with a blur filter on the face area of the special image data, and performs a correction process to reduce the graininess of the face area (see FIG. 4). In the filter calculation using the blur filter described above, the image processing unit 15 excludes the face part regions such as the eyes, nose, mouth, and eyebrows extracted during face recognition from the correction processing target, and the contour and fineness of the face parts are excluded. It is preferable to avoid losing unnecessary information.

また、ぼかしフィルタによる補正処理の結果、画像中の顔部分とその外側とで画像の粒状感に顕著な差が生じ、顔部分が周囲から浮き上がって違和感が生じることもある。そのため、画像処理部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 image processing unit 15 may perform the correction process by weighting so that the intensity of the blurring effect changes between the vicinity of the boundary portion and the inside of the face region. For example, the image processing unit 15 applies a filter with a weak blur effect near the boundary portion in the face area, and applies a filter with a strong blur effect to the other parts in the face area. Alternatively, the image processing unit 15 may apply a filter with a weak blur effect near the boundary portion outside the face area, and apply a filter with a strong blur effect in the face area. In these cases, the difference in the graininess of the image is smoothed from the vicinity of the boundary portion of the face region toward the inside of the face region, so that the possibility that a sense of incongruity between the face portion and its surroundings is reduced is also reduced.

そして、CPU24は補正処理後の特殊画像データを記録媒体21に記録し、その後に撮影動作を終了する。なお、CPU24は記録媒体21に記録した特殊画像データに対して顔領域の粒状感を低下させる補正処理を事後的に施すことも勿論可能である。
上記の第1実施形態の電子カメラでは、顔領域の空間周波数解析の結果に基づいて顔領域の画質が悪い(顔領域において画像の粒状感の高い)特殊画像データを検出することができる。特に第1実施形態では、撮影条件のパラメータによって顔領域の画質判定のON/OFFを切り替えるので、顔領域の画質判定が必要でない撮影画像データや手ぶれした撮影画像データなどが判定対象から除外され、電子カメラの演算負荷は軽減される。
Then, the CPU 24 records the special image data after the correction process on the recording medium 21, and thereafter ends the photographing operation. Note that the CPU 24 can of course perform a correction process for reducing the graininess of the face area on the special image data recorded on the recording medium 21 after the fact.
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 claims 2 to 7). The second embodiment is a modification of the first embodiment, and the face area and the spatial frequency components other than the face area are compared, and the image quality of the face area is not determined when the possibility of camera shake or blur is high. It is a configuration. Note that, in the electronic cameras of the second embodiment and the third embodiment, the same reference numerals are given to the same components as those in the first embodiment, and description thereof will be omitted. Also, S201, S202, and S206 to S212 in FIG. 5 correspond to S101, S102, and S106 to S112 in FIG.

ステップS203:画像処理部15は撮影画像データに顔認識処理を施し、撮影画像データにおける顔の有無をCPU24に出力する。CPU24は撮影画像データから顔が検出されたか否かを画像処理部15の出力に基づいて判定する。撮影画像データから顔が検出された場合(YES側)にはS204に移行する。一方、撮影画像データから顔が検出されない場合(NO側)にはS210に移行する。   Step S203: The image processing unit 15 performs face recognition processing on the captured image data, and outputs the presence / absence of a face in the captured image data to the CPU 24. The CPU 24 determines whether a face is detected from the captured image data based on the output of the image processing unit 15. If a face is detected from the captured image data (YES side), the process proceeds to S204. On the other hand, if no face is detected from the captured image data (NO side), the process proceeds to S210.

ステップS204:画像処理部15は撮影画像データの顔領域の空間周波数成分と、顔領域以外の任意の部分領域の空間周波数成分とをそれぞれ解析する。この部分領域の空間周波数成分は、顔領域の空間周波数成分とともに手ぶれ、ピンぼけの判定に使用される。
ステップS205:CPU24は顔領域および部分領域の少なくとも一方の空間周波数成分に所定値以上の高周波成分が含まれているか否かを判定する。高周波成分が含まれる場合(YES側)には画像の輪郭は鮮明であって、手ぶれ、ピンぼけの可能性は低いのでS206の顔画質判定に移行する。一方、高周波成分が含まれない場合(NO側)には画像の輪郭が不鮮明であって、手ぶれまたはピンぼけしている可能性が高い。そのためCPU24はS210に移行して顔領域の画質判定を行うことなく撮影画像データを保存する。なお、この場合にはCPU24は撮影画像データを自動的に削除して記録媒体21の容量を確保するようにしてもよい。
Step S204: The image processing unit 15 analyzes the spatial frequency component of the face area of the captured image data and the spatial frequency component of an arbitrary partial area other than the face area. The spatial frequency component of this partial area is used for determination of camera shake and defocusing together with the spatial frequency component of the face area.
Step S205: The CPU 24 determines whether or not the spatial frequency component of at least one of the face area and the partial area includes a high frequency component equal to or greater than a predetermined value. If a high frequency component is included (YES side), the contour of the image is clear and the possibility of camera shake and blurring is low, so the process proceeds to face image quality determination in S206. On the other hand, when the high frequency component is not included (NO side), the outline of the image is unclear and there is a high possibility that the image is blurred or out of focus. Therefore, the CPU 24 proceeds to S210 and saves the captured image data without performing the image quality determination of the face area. In this case, the CPU 24 may automatically delete the captured image data to secure the capacity of the recording medium 21.

上記の第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 image sensor 12 and the shutter travel interval of the shutter mechanism (not shown) are adjusted to change the shutter time, and the gain setting of the analog signal processing unit 13 is adjusted. Change the gain setting of the image signal.

ステップS302:カメラ使用者は、図示しないレリーズ釦の全押しにより電子カメラ10に被写体のブラケティング撮影を指示する。このブラケティング撮影では、CPU24は1フレーム目の撮影画像データを生成した後に、S301での設定に従ってパラメータを変更して次フレームの撮影画像データを生成する。そして、CPU24はS301で設定された撮影フレーム数の撮影終了まで上記の工程を繰り返す。   Step S302: The camera user instructs the electronic camera 10 to perform bracketing photographing of the subject by fully pressing a release button (not shown). In this bracketing shooting, the CPU 24 generates shot image data of the first frame, and then changes the parameters according to the setting in S301 to generate shot image data of the next frame. Then, the CPU 24 repeats the above steps until the end of shooting for the number of shooting frames set in S301.

ステップS303:画像処理部15は撮影画像データに顔認識処理を施し、撮影画像データにおける顔の有無をCPU24に出力する。CPU24は各撮影画像データから顔が検出されたか否かを画像処理部15の出力に基づいて判定する。撮影画像データから顔が検出された場合(YES側)にはS304に移行する。一方、撮影画像データから顔が検出されない場合(NO側)にはS307に移行して、CPUは顔領域を検出できない撮影画像データを保存する。なお、このS303の判定はブラケティング撮影の各撮影画像データ毎に実行される。   Step S303: The image processing unit 15 performs face recognition processing on the captured image data, and outputs the presence / absence of a face in the captured image data to the CPU 24. The CPU 24 determines whether a face is detected from each captured image data based on the output of the image processing unit 15. If a face is detected from the captured image data (YES side), the process proceeds to S304. On the other hand, when a face is not detected from the captured image data (NO side), the process proceeds to S307, and the CPU stores captured image data in which a face area cannot be detected. Note that the determination in S303 is executed for each captured image data of bracketing shooting.

ステップS304:画像処理部15は、S303で顔が検出された撮影画像データについて、顔領域に含まれる空間周波数成分をそれぞれ分析する。そして、画像処理部15は画像の粒状感と高い相関をもつ空間周波数成分の量に基づいて、顔領域における画像の粒状感の強さを示す評価値を上記の各撮影画像データ毎に生成する。
ステップS305:CPU24はS303で顔が検出された撮影画像データのうち、顔の画質が最もよい(すなわち、顔領域における画像の粒状感が弱くて評価値の値が小さい)撮影画像データをS304の評価値に基づいて決定する。
Step S304: The image processing unit 15 analyzes the spatial frequency component included in the face area for the captured image data in which the face is detected in S303. Then, the image processing unit 15 generates an evaluation value indicating the strength of the granularity of the image in the face area for each of the above captured image data based on the amount of the spatial frequency component having a high correlation with the granularity of the image. .
Step S305: The CPU 24 selects the photographed image data having the best image quality of the face (that is, the granularity of the image in the face region is weak and the evaluation value is small) among the photographed image data in which the face is detected in S303. Determine based on the evaluation value.

ステップS306:CPU24はS305で決定された撮影画像データを記録媒体21に記録し、一連の撮影動作を終了する。
上記の第3実施形態の電子カメラでは、画像信号のゲイン設定およびシャッタ秒時の組み合わせを変化させてブラケティング撮影を行い、顔の画質が最もよい撮影画像データを記録する。そのため、顔領域における画像の粒状感が低くて顔の画質が良好な撮影画像を取得できる可能性が向上する。
Step S306: The CPU 24 records the photographed image data determined in S305 on the recording medium 21, and ends a series of photographing operations.
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 image processing apparatus 30 is configured by causing a personal computer or the like to execute an image processing program. Here, the image processing program according to the fourth embodiment targets an image file including “captured image data” generated by the electronic camera and “additional data” indicating the parameters of the imaging conditions of the electronic camera. Examples of this image file include an Exif standard-compliant image file, a RAW data file having information on parameters of imaging conditions, and the like.

画像処理装置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 image processing apparatus 30 includes a microprocessor 31, a memory 32, a bus interface unit (bus I / F unit) 33, a display driver unit 34, a disk drive unit 35, and a system bus 36 that connects the units. is doing. The image processing apparatus 30 is connected to an input unit 37 such as a keyboard and a pointing device, and a monitor 38.
The microprocessor 31 controls each part of the image processing apparatus 30 and executes an image processing program described later. The memory 32 stores programs and data, sends data to the microprocessor 31, and stores processing results returned from the microprocessor 31. The bus I / F unit 33 transmits / receives data to / from peripheral devices (for example, an electronic camera or a recording medium) connected to the image processing device 30 in conformity with a serial communication standard such as USB (Universal Serial Bus) or IEEE1394. Control. The display driver unit 34 outputs an image to the monitor 38. The disk drive unit 35 reads / writes captured image data to / from a recording medium such as an optical disk or a magneto-optical disk.

第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 microprocessor 31 reads an image file from the bus I / F unit 33 or the disk drive unit 35, and displays a list of the read image files on the monitor 38. Then, the user is caused to select and input an image file for determining the image quality of the face area.

ステップS402:マイクロプロセッサ31はS401で選択された画像ファイルのうち、処理対象とする画像ファイルをメモリ32に読み込んで、撮影画像データの撮影条件のパラメータを付加データから取得する。そして、マイクロプロセッサ31は、現在処理中の撮影画像データに対して顔領域の画質判定を行うか否かを撮影条件のパラメータに基づいて判定する。上記の判定では第1実施形態と同様に撮影条件のパラメータが「電子カメラのシーンモードが人物主体か否か」または「撮影時に手ぶれが発生し易いか否か」を基準とする。顔領域の画質判定を行う場合(YES側)にはS403に移行する。一方、顔領域の画質判定を行わない場合(NO側)にはS407に移行する。   Step S402: The microprocessor 31 reads the image file to be processed among the image files selected in S401 into the memory 32, and acquires the shooting condition parameters of the shot image data from the additional data. Then, the microprocessor 31 determines whether or not to determine the image quality of the face area for the captured image data currently being processed based on the parameters of the imaging condition. In the above determination, as in the first embodiment, the parameter of the shooting condition is based on “whether or not the scene mode of the electronic camera is person-oriented” or “whether camera shake is likely to occur during shooting”. When the image quality determination of the face area is performed (YES side), the process proceeds to S403. On the other hand, when the image quality determination of the face area is not performed (NO side), the process proceeds to S407.

ステップS403:マイクロプロセッサ31は撮影画像データに顔認識処理を施し、現在処理中の撮影画像データから顔が検出されたか否かを判定する。撮影画像データから顔が検出された場合(YES側)にはS404に移行する。一方、撮影画像データから顔が検出されない場合(NO側)にはS407に移行する。
ステップS404:マイクロプロセッサ31は現在処理中の撮影画像データの顔領域に含まれる空間周波数成分を分析する。
Step S403: The microprocessor 31 performs face recognition processing on the captured image data, and determines whether or not a face has been detected from the captured image data currently being processed. If a face is detected from the captured image data (YES side), the process proceeds to S404. On the other hand, if no face is detected from the captured image data (NO side), the process proceeds to S407.
Step S404: The microprocessor 31 analyzes the spatial frequency component included in the face area of the captured image data currently being processed.

ステップS405:マイクロプロセッサ31は、現在処理中の撮影画像データにおける顔領域の画質が閾値以下であるか否か(顔領域において画像の粒状感と高い相関をもつ空間周波数成分の量が閾値以上か否か)を判定する。顔領域の画質が閾値以下の場合(YES側)はS406に移行する。一方、顔領域の画質が閾値を上回る場合(NO側)はS407に移行する。   Step S405: The microprocessor 31 determines whether or not the image quality of the face area in the captured image data currently being processed is less than or equal to the threshold value (whether the amount of the spatial frequency component having a high correlation with the granularity of the image in the face area is equal to or greater than the threshold value). Or not). If the image quality of the face area is less than or equal to the threshold (YES side), the process proceeds to S406. On the other hand, when the image quality of the face area exceeds the threshold value (NO side), the process proceeds to S407.

ステップS406:マイクロプロセッサ31は顔領域の画質が閾値以下であることを示すマーカー情報を生成し、マーカー情報とその画像ファイルの特定情報(ファイル名、ディレクトリパスなど)とを対応付けてメモリ32に記憶する。
ステップS407:マイクロプロセッサ31は次に処理対象となる画像ファイルが存在するか否かを判定する。次の画像ファイルが存在する場合(YES側)にはS402に戻ってマイクロプロセッサは上記動作を繰り返す。一方、次の画像ファイルが存在しない場合(NO側)にはS408に移行する。
Step S406: The microprocessor 31 generates marker information indicating that the image quality of the face area is equal to or less than the threshold value, and associates the marker information with the specific information (file name, directory path, etc.) of the image file in the memory 32. Remember.
Step S407: The microprocessor 31 determines whether there is an image file to be processed next. If the next image file exists (YES side), the process returns to S402 and the microprocessor repeats the above operation. On the other hand, if the next image file does not exist (NO side), the process proceeds to S408.

ステップS408:マイクロプロセッサ31はマーカー情報および画像ファイルの特定情報に基づいて、撮影画像データの顔領域の画質が閾値以下である画像ファイルの一覧をモニタ38に表示する。ユーザーは一覧画面の画像ファイルを全指定または個別指定して画像ファイルの処理を指示し、マイクロプロセッサ31は画像ファイルの削除や画像ファイルの補正などの処理を実行する。なお、画像ファイルの補正は第1実施形態のS112のように行われる。以上で画像処理プログラムの一連の動作が終了する。   Step S408: The microprocessor 31 displays, on the monitor 38, a list of image files in which the image quality of the face area of the photographed image data is equal to or less than the threshold value based on the marker information and the image file specifying information. The user designates all or individual image files on the list screen to instruct image file processing, and the microprocessor 31 executes processing such as image file deletion and image file correction. The image file is corrected as in S112 of the first embodiment. This completes the series of operations of the image processing program.

上記の第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 microprocessor 31 performs face recognition processing on the captured image data of the image file to be processed among the image files selected in S501, and determines whether a face is detected from the captured image data. If a face is detected from the captured image data (YES side), the process proceeds to S503. On the other hand, if a face is not detected from the captured image data (NO side), the process proceeds to S507.

ステップS503:マイクロプロセッサ31は撮影画像データの顔領域の空間周波数成分と、顔領域以外の任意の部分領域の空間周波数成分とをそれぞれ解析する。この部分領域の空間周波数成分は、顔領域の空間周波数成分とともに手ぶれ、ピンぼけの判定に使用される。
ステップS504:マイクロプロセッサ31は顔領域および部分領域の少なくとも一方の空間周波数成分に所定値以上の高周波成分が含まれているか否かを判定する。高周波成分が含まれる場合(YES側)には画像の輪郭は鮮明であって、手ぶれ、ピンぼけの可能性は低いのでS505の顔画質判定に移行する。一方、高周波成分が含まれない場合(NO側)には画像の輪郭が不鮮明であって、手ぶれまたはピンぼけしている可能性が高い。そのためマイクロプロセッサはS507に移行する。
Step S503: The microprocessor 31 analyzes the spatial frequency component of the face area of the captured image data and the spatial frequency component of an arbitrary partial area other than the face area. The spatial frequency component of this partial area is used for determination of camera shake and defocusing together with the spatial frequency component of the face area.
Step S504: The microprocessor 31 determines whether or not the spatial frequency component of at least one of the face region and the partial region includes a high frequency component equal to or greater than a predetermined value. When a high frequency component is included (YES side), the contour of the image is clear and the possibility of camera shake and blurring is low, so the process proceeds to face image quality determination in S505. On the other hand, when the high frequency component is not included (NO side), the outline of the image is unclear and there is a high possibility that the image is blurred or out of focus. Therefore, the microprocessor proceeds to S507.

上記の第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 claim 1, the image pickup device 12 corresponds to the “image pickup device”. The image processing unit 15 corresponds to the “image processing unit”, “face recognition unit”, “face region analysis unit”, and “spatial frequency analysis unit”. The CPU 24 corresponds to the “mode switching unit”, “face image quality determination unit”, and “control unit”. The “notification means” corresponds to the monitor 22 and the CPU 24. The card I / F 20 corresponds to the “connector”.

請求項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 / F unit 33 and the disk drive unit 35. The microprocessor 31 corresponds to the “mode switching unit”, “face recognition unit”, “face region analysis unit”, “spatial frequency analysis unit”, and “face image quality determination unit”. The image processing programs according to claims 10 and 12 are executed by the microprocessor 31.

(実施形態の補足事項)
以上、本発明を上記の実施形態によって説明してきたが、本発明の技術的範囲は上記実施形態に限定されるものではない。
(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.

第1実施形態の電子カメラのブロック図Block diagram of the electronic camera of the first embodiment 第1実施形態の電子カメラの撮影動作の流れ図Flowchart of photographing operation of electronic camera of first embodiment 通知画面の一例を示す図Figure showing an example of the notification screen 顔認識処理および補正処理の一例を示す図The figure which shows an example of a face recognition process and a correction process 第2実施形態の電子カメラの撮影動作の流れ図Flowchart of photographing operation of electronic camera of second embodiment 第3実施形態の電子カメラの撮影動作の流れ図Flowchart of photographing operation of electronic camera of third embodiment 第4実施形態の画像処理装置のブロック図Block diagram of an image processing apparatus according to the fourth embodiment 第4実施形態の画像処理プログラムの動作の流れ図Flow chart of operation of image processing program of fourth embodiment 第5実施形態の画像処理プログラムの動作の流れ図Flow chart of operation of image processing program of fifth embodiment

符号の説明Explanation of symbols

10 電子カメラ
12 撮像素子
13 アナログ信号処理部
15 画像処理部
20 カードI/F
21 記録媒体
22 モニタ
24 CPU
30 画像処理装置
31 マイクロプロセッサ
32 メモリ
33 バスI/F部
35 ディスクドライブ部
38 モニタ


10 Electronic Camera 12 Image Sensor 13 Analog Signal Processing Unit 15 Image Processing Unit 20 Card I / F
21 Recording medium 22 Monitor 24 CPU
30 Image processing device 31 Microprocessor 32 Memory 33 Bus I / F unit 35 Disk drive unit 38 Monitor


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に記載の電子カメラ。   3. The electronic camera according to claim 1, further comprising notification means for notifying a camera user that the photographed image data is special image data at the time of photographing or reproduction. 記録媒体を接続するコネクタと、前記撮影画像データを前記記録媒体に記録する制御部と、をさらに有し、
前記制御部は、前記記録媒体の記録対象から前記特殊画像データを除外することを特徴とする請求項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.
前記画像処理部は、前記特殊画像データの顔領域に画像の粒状感を低下させる補正処理を施すことを特徴とする請求項1または請求項2に記載の電子カメラ。   The electronic camera according to claim 1, wherein the image processing unit performs a correction process for reducing a graininess of an image on a face area of the special image data. 前記顔認識部は前記特殊画像データの顔領域において所定の顔パーツを抽出し、
前記画像処理部は前記顔パーツの領域を前記補正処理の対象から除外することを特徴とする請求項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.
前記画像処理部の前記補正処理は、前記顔領域の境界部分近傍では画像の粒状感が高く、前記顔領域の内側では前記境界部分よりも画像の粒状感が低下する重み付けがされていることを特徴とする請求項5または請求項6に記載の電子カメラ。   The correction processing of the image processing unit is weighted so that the granularity of the image is high near the boundary portion of the face area, and the granularity of the image is lower than the boundary portion inside the face area. The electronic camera according to claim 5 or 6, wherein the electronic camera is characterized in that: 被写体像を光電変換して画像信号を生成する撮像素子と、
前記画像信号に画像処理を施して撮影画像データを生成する画像処理部と、
前記撮影画像データにおける顔領域を抽出する顔認識部と、
前記画像信号のゲイン設定およびシャッタ秒時の少なくとも一方を変化させて複数回の撮影を行う制御部と、
前記撮影画像データにおける前記顔領域の空間周波数成分を解析し、画像の粒状感と高い相関をもつ空間周波数成分に基づいて前記顔領域の画質を判定し、複数回の撮影において前記画質が最も高い撮影画像データを検出する顔画質判定部と、
を有することを特徴とする電子カメラ。
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.
JP2004369580A 2004-12-21 2004-12-21 Image processing apparatus and image processing program Expired - Fee Related JP4534750B2 (en)

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)

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

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

Patent Citations (8)

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

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