JP2010004399A - Image capturing apparatus and image capturing method - Google Patents

Image capturing apparatus and image capturing method Download PDF

Info

Publication number
JP2010004399A
JP2010004399A JP2008162455A JP2008162455A JP2010004399A JP 2010004399 A JP2010004399 A JP 2010004399A JP 2008162455 A JP2008162455 A JP 2008162455A JP 2008162455 A JP2008162455 A JP 2008162455A JP 2010004399 A JP2010004399 A JP 2010004399A
Authority
JP
Japan
Prior art keywords
image signal
correction
imaging
face
instruction
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
JP2008162455A
Other languages
Japanese (ja)
Other versions
JP5213542B2 (en
Inventor
Tsutomu Ogasawara
努 小笠原
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2008162455A priority Critical patent/JP5213542B2/en
Publication of JP2010004399A publication Critical patent/JP2010004399A/en
Application granted granted Critical
Publication of JP5213542B2 publication Critical patent/JP5213542B2/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 obtain a suitable image when the face exists in a peripheral part of an image. <P>SOLUTION: When generating an EVF image, a shading correction is strengthened in order to enhance reduction in the quantity of light in a terminal part of the image so as to easily detect the face in a face detection section 202. At the same time, when performing main photographing, it is determined whether the face is present in the end and when the face exists in the end, a state where the shading correction amount is large is maintained, but when the face does noe exist in the end, the shading correction amount is reduced in order to reduce noises. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は撮像装置、撮像方法、プログラム及び記録媒体に関し、特に、シェーディング補正を行うために用いて好適な技術に関する。   The present invention relates to an imaging apparatus, an imaging method, a program, and a recording medium, and more particularly to a technique suitable for use in performing shading correction.

一般に、光学系(レンズ)を通過して撮影した画像では、光軸中心から周辺部に離れるに従い光量が低下する現象が起こる。このような周辺部における光量落ちはF値が小さいほど大きく、また、広角側ほど大きく現れる。CCDやCMOS等の固体撮像素子を用いた撮像装置においては、周辺部の各画素の光量落ちを電気的に補正演算するシェーディング補正を行うことが可能である。具体的には、例えば、ある撮影条件のシェーディング情報の逆数を撮影画像に乗算することによりシェーディング補正を行うことができる。   In general, in an image taken through an optical system (lens), a phenomenon occurs in which the amount of light decreases as the distance from the optical axis center to the peripheral portion increases. Such a decrease in the amount of light in the peripheral portion is larger as the F value is smaller, and is larger as the angle is widened. In an imaging apparatus using a solid-state imaging device such as a CCD or a CMOS, it is possible to perform shading correction that electrically corrects and calculates a light amount drop of each pixel in the peripheral portion. Specifically, for example, the shading correction can be performed by multiplying the photographed image by the reciprocal of the shading information under a certain photographing condition.

ところが、シェーディング補正を常時行うと、画像の周辺部においてノイズの増加を招いてしまう。そこで、輝度情報及び色情報を参照し、例えば、空のようにシェーディングが目立つシーンであるか否かを判別し、シーンに応じてシェーディング補正量を変更する撮像装置が開示されている(例えば、特許文献1参照)。   However, if the shading correction is always performed, an increase in noise is caused in the peripheral portion of the image. Therefore, an imaging apparatus is disclosed that refers to luminance information and color information, for example, determines whether or not the scene is conspicuous in shading like the sky, and changes the shading correction amount according to the scene (for example, Patent Document 1).

特開2007−27943号公報JP 2007-27943 A

ところが、前記特許文献1に記載の技術では、空のようにシェーディングが目立つ均一な画面の場合、もしくは周辺部に高周波の被写体がある場合にシェーディング補正量を大きくしている。そのため、例えば、集合写真のように画像の周辺部に周辺光量の低下を嫌う顔などの被写体がある場合には、シェーディング補正を十分に行うことができない。   However, in the technique described in Patent Document 1, the shading correction amount is increased in the case of a uniform screen where shading is conspicuous, such as in the sky, or when there is a high-frequency subject in the periphery. For this reason, for example, when there is a subject such as a face that does not like a decrease in the amount of peripheral light at the periphery of the image, such as a group photo, the shading correction cannot be sufficiently performed.

また、周辺部における光量の低下が大きくなることにより、画像の周辺部が暗くなったり、コントラストが低くなったりする。したがって、集合写真のように画像の周辺部に顔が存在する画像において顔検出を行う場合に、この影響により輪郭信号や色差信号等の顔を検出するための信号レベルを確保できない場合がある。   In addition, the decrease in the amount of light in the peripheral portion becomes large, so that the peripheral portion of the image becomes dark or the contrast becomes low. Therefore, when face detection is performed on an image having a face in the periphery of the image, such as a group photo, the signal level for detecting a face such as a contour signal or a color difference signal may not be secured due to this influence.

本発明は前述の問題点に鑑み、画像の周辺部において顔が存在する場合に適切な画像を得ることができるようにすることを目的としている。   The present invention has been made in view of the above-described problems, and an object thereof is to obtain an appropriate image when a face exists in the peripheral portion of the image.

本発明の撮像装置は、被写体を撮像して画像信号を生成する撮像手段と、前記撮像手段によって生成された画像信号に対して顔検出を行う顔検出手段と、前記撮像手段によって生成された画像信号に対してシェーディング補正を行う補正手段と、前記撮像手段によって生成される画像信号を記録媒体に記録するための指示を出す指示手段とを有し、前記補正手段は、前記顔検出手段が画面の端部で顔を検出するために必要な補正量でシェーディング補正を行い、前記指示手段によって指示された画像信号に対しては、前記顔検出手段による検出結果に応じて前記補正量を変更することを特徴とする。   An image pickup apparatus according to the present invention includes an image pickup unit that picks up a subject and generates an image signal, a face detection unit that performs face detection on the image signal generated by the image pickup unit, and an image generated by the image pickup unit. A correction unit that performs shading correction on the signal; and an instruction unit that issues an instruction to record an image signal generated by the imaging unit on a recording medium. The shading correction is performed with a correction amount necessary for detecting the face at the end of the image, and the correction amount is changed according to the detection result by the face detection unit for the image signal instructed by the instruction unit. It is characterized by that.

本発明の撮像方法は、被写体を撮像して画像信号を生成する撮像工程と、前記撮像工程において生成された画像信号に対して顔検出を行う顔検出工程と、前記撮像工程において生成された画像信号に対してシェーディング補正を行う補正工程と、前記撮像工程において生成される画像信号を記録媒体に記録するための指示を出す指示工程とを有し、前記補正工程においては、前記顔検出工程において画面の端部で顔を検出するために必要な補正量でシェーディング補正を行い、前記指示工程において指示された画像信号に対しては、前記顔検出工程における検出結果に応じて前記補正量を変更することを特徴とする。   The imaging method of the present invention includes an imaging process for imaging an object to generate an image signal, a face detection process for performing face detection on the image signal generated in the imaging process, and an image generated in the imaging process. A correction process for performing shading correction on the signal, and an instruction process for issuing an instruction to record the image signal generated in the imaging process on a recording medium. In the correction process, in the face detection process The shading correction is performed with the correction amount necessary for detecting the face at the edge of the screen, and the correction amount is changed according to the detection result in the face detection step for the image signal instructed in the instruction step. It is characterized by doing.

本発明のプログラムは、被写体を撮像して画像信号を生成する撮像工程と、前記撮像工程において生成された画像信号に対して顔検出を行う顔検出工程と、前記撮像工程において生成された画像信号に対してシェーディング補正を行う補正工程と、前記撮像工程において生成される画像信号を記録媒体に記録するための指示を出す指示工程とをコンピュータに実行させ、前記補正工程においては、前記顔検出工程において画面の端部で顔を検出するために必要な補正量でシェーディング補正を行い、前記指示工程において指示された画像信号に対しては、前記顔検出工程における検出結果に応じて前記補正量を変更するようにコンピュータに実行させることを特徴とする。   The program of the present invention includes an imaging process for capturing an image of a subject to generate an image signal, a face detection process for performing face detection on the image signal generated in the imaging process, and an image signal generated in the imaging process. A correction process for performing shading correction on the image, and an instruction process for issuing an instruction to record the image signal generated in the imaging process on a recording medium. In the correction process, the face detection process is performed. The shading correction is performed with the correction amount necessary for detecting the face at the edge of the screen, and the correction amount is set according to the detection result in the face detection step for the image signal instructed in the instruction step. It is characterized by causing a computer to execute a change.

本発明の記録媒体は、前記に記載のプログラムを記録したことを特徴とする。   The recording medium of the present invention is characterized by recording the program described above.

本発明によれば、顔を検出するための信号レベルを確保することができる。これにより、画面の端部に周辺光量の低下を嫌う顔などの被写体がある場合にも、シェーディング補正を強めることができるため、適切な画像を得ることができる。   According to the present invention, it is possible to secure a signal level for detecting a face. As a result, even when there is a subject such as a face that does not like a decrease in the amount of peripheral light at the edge of the screen, the shading correction can be strengthened, so that an appropriate image can be obtained.

(第1の実施形態)
以下、本発明の第1の実施形態について、図面を参照しながら説明する。まず、本実施形態に係る撮像装置の構成例について、図1及び図2を参照しながら説明する。
図1は、本実施形態に係る撮像装置の構成例を示すブロック図である。
図1において、撮像装置100は、入射した光を固体撮像素子103上に結像させる光学系101と、光学系101の露出やズーム、フォーカス等を制御するための光学系制御部102とを備えている。
(First embodiment)
Hereinafter, a first embodiment of the present invention will be described with reference to the drawings. First, a configuration example of the imaging apparatus according to the present embodiment will be described with reference to FIGS. 1 and 2.
FIG. 1 is a block diagram illustrating a configuration example of an imaging apparatus according to the present embodiment.
In FIG. 1, an imaging apparatus 100 includes an optical system 101 that forms an image of incident light on a solid-state imaging device 103, and an optical system control unit 102 that controls exposure, zoom, focus, and the like of the optical system 101. ing.

また、結像させた光学像を電気信号に変換する固体撮像素子103と、固体撮像素子103を駆動するための撮像系制御部104と、固体撮像素子103から出力される電気信号にクランプ、ゲイン等の処理を行うアナログ信号処理部105とを備えている。さらに、アナログ信号をデジタル信号にA/D変換するアナログ/デジタル(A/D)変換部106と、A/D変換されたデジタル信号から画像データを生成するデジタル信号処理部107とを備えている。   In addition, the solid-state imaging device 103 that converts the optical image that has been formed into an electrical signal, the imaging system control unit 104 that drives the solid-state imaging device 103, and the clamped and gained electrical signals that are output from the solid-state imaging device 103 And an analog signal processing unit 105 that performs such processing. Further, an analog / digital (A / D) conversion unit 106 that performs A / D conversion of an analog signal into a digital signal, and a digital signal processing unit 107 that generates image data from the A / D converted digital signal are provided. .

また、デジタル信号処理部107にて画像データを生成する際に、一時的に画像データを格納する内部記憶部108と、生成した画像データを最終的に保存するための外部記憶装置112に出力するインターフェース(I/F)部109とを備えている。さらに、生成された画像データに基づく画像を表示する電子ファインダとして機能する画像表示部110と、撮像装置100の各部を制御する制御部111とを備えている。   Further, when the image data is generated by the digital signal processing unit 107, the image data is temporarily output to the internal storage unit 108 and the generated image data is output to the external storage device 112 for finally storing the image data. And an interface (I / F) unit 109. Furthermore, an image display unit 110 that functions as an electronic viewfinder that displays an image based on the generated image data, and a control unit 111 that controls each unit of the imaging apparatus 100 are provided.

次に、デジタル信号に対してシェーディング補正等の処理を行う一般的な構成について、図3を参照しながら説明する。
A/D変換されたデジタル信号がRGB信号としてシェーディング補正部301に入力される。シェーディング補正部301は、固体撮像素子から読み出したRGB信号に対して、別途設定したシェーディング補正量を用いてシェーディング補正を行う。
Next, a general configuration for performing processing such as shading correction on a digital signal will be described with reference to FIG.
The A / D converted digital signal is input to the shading correction unit 301 as an RGB signal. The shading correction unit 301 performs shading correction on the RGB signal read from the solid-state image sensor using a shading correction amount set separately.

輝度処理部303は、シェーディング補正部301から出力された輝度信号に対して輪郭強調やノイズリダクション、ガンマ処理等の輝度処理を実施する。一方、色処理部304は、シェーディング補正部301から出力された色信号に対して色変換、ホワイトバランスや高輝度、低輝度の色の濃さを薄くする色消し処理、ガンマ処理等の色処理を実施する。そして、輝度処理部303及び色処理部304から出力された信号を加算器305において合成し、YCrCb信号として出力する。   The luminance processing unit 303 performs luminance processing such as contour enhancement, noise reduction, and gamma processing on the luminance signal output from the shading correction unit 301. On the other hand, the color processing unit 304 performs color conversion on the color signal output from the shading correction unit 301, color processing such as white balance, high-brightness, low-brightness color reduction, and gamma processing. To implement. Then, the signals output from the luminance processing unit 303 and the color processing unit 304 are combined by the adder 305 and output as a YCrCb signal.

図4は、像高に対する輝度の変化を示す図である。
図4において、横軸は像高を示しており、光学系(レンズ)を通過して撮影した画像は、軸上(画像中心)から像高10割(画像四隅)にいくに従い輝度が低下している。シェーディング補正においては、シェーディング補正係数を画素ごとに乗算することにより端部の輝度を画像中心の輝度まで上げることができる。シェーディング補正前の輝度をYとし、シェーディング補正係数をαとした場合、シェーディング補正後の輝度Y′は、以下のようになる。
各画素のシェーディング補正後の輝度Y′=Y*α
FIG. 4 is a diagram showing a change in luminance with respect to image height.
In FIG. 4, the horizontal axis indicates the image height, and the brightness of an image taken through the optical system (lens) decreases as the image height increases from the axial (center of the image) to 100% of the image height (four corners of the image). ing. In the shading correction, the luminance at the end can be increased to the luminance at the center of the image by multiplying the shading correction coefficient for each pixel. When the luminance before the shading correction is Y and the shading correction coefficient is α, the luminance Y ′ after the shading correction is as follows.
Luminance Y ′ = Y * α after shading correction of each pixel

なお、画像中心の輝度レベルまで補正することも可能であるが、途中までで補正を止めることも可能である。本実施形態では、画質よりも、画面のどの位置にある顔であっても漏れなく検出することを優先させるため、EVF画像に対しては、シェーディング補正量を大きくする。一方、本撮影を行う場合は、ノイズの増加を考慮して、画面の端部に顔が検出されなかった場合には、途中までで補正を止める。   Although it is possible to correct the luminance level to the center of the image, it is also possible to stop the correction halfway. In this embodiment, the shading correction amount is increased for the EVF image in order to prioritize the detection of any face on the screen without omission over the image quality. On the other hand, in the case of performing actual photographing, in consideration of an increase in noise, if a face is not detected at the edge of the screen, correction is stopped halfway.

次に、図1におけるデジタル信号処理部107の構成うち、画像データを生成する構成について図2を参照しながら説明する。図2は、本実施形態に係るデジタル信号処理部107の構成例を示すブロック図である。
図2に示すデジタル信号処理部107において、A/D変換されたデジタル信号がRGB信号としてシェーディング補正部201に入力される。シェーディング補正部201は、固体撮像素子103から読み出したRGB信号に対して、別途設定したシェーディング補正量を用いてシェーディング補正を行う。
Next, among the configurations of the digital signal processing unit 107 in FIG. 1, a configuration for generating image data will be described with reference to FIG. FIG. 2 is a block diagram illustrating a configuration example of the digital signal processing unit 107 according to the present embodiment.
In the digital signal processing unit 107 shown in FIG. 2, the A / D converted digital signal is input to the shading correction unit 201 as an RGB signal. The shading correction unit 201 performs shading correction on the RGB signals read from the solid-state image sensor 103 using a separately set shading correction amount.

顔検出部202は、入力された信号に対して顔の有無及び顔がある場合には顔の座標を検出し、その情報をシェーディング補正部201に出力する。輝度処理部203は、シェーディング補正部201から出力された輝度信号に対して輪郭強調やノイズリダクション、ガンマ処理等の輝度処理を実施する。一方、色処理部204は、シェーディング補正部201から出力された色信号に対して色変換、ホワイトバランスや高輝度、低輝度の色の濃さを薄くする色消し処理、ガンマ処理等の色処理を実施する。そして、輝度処理部203及び色処理部204から出力された信号を加算器205において合成し、YCrCb信号として出力する。   The face detection unit 202 detects the presence / absence of a face and the face coordinates in the input signal, and outputs the information to the shading correction unit 201. The luminance processing unit 203 performs luminance processing such as edge enhancement, noise reduction, and gamma processing on the luminance signal output from the shading correction unit 201. On the other hand, the color processing unit 204 performs color conversion on the color signal output from the shading correction unit 201, color processing such as white balance, high-brightness, low-brightness color reduction, and gamma processing. To implement. Then, the signals output from the luminance processing unit 203 and the color processing unit 204 are combined by the adder 205 and output as a YCrCb signal.

ここで、顔検出部202による顔検出について説明する。顔検出は、輝度信号から検出する方法と、色信号から検出する方法とがある。輝度信号から検出する方法では、垂直方向に複数の列を走査し、被写体の輪郭を検出する。そして、検出した輪郭が顔の輪郭であると判断した場合は、顔があるものとして検出する。また、色信号から検出する方法では、撮影画面を複数領域に分割し、色差信号から肌色領域を検出する。そして、肌色領域を検出することにより顔であると判断した場合は、顔があるものとして検出する。本実施形態では、どちらの方法を用いてもよい。   Here, face detection by the face detection unit 202 will be described. Face detection includes a method of detecting from a luminance signal and a method of detecting from a color signal. In the method of detecting from the luminance signal, a plurality of columns are scanned in the vertical direction to detect the contour of the subject. When it is determined that the detected contour is a face contour, it is detected that there is a face. In the method of detecting from the color signal, the photographing screen is divided into a plurality of areas, and the skin color area is detected from the color difference signal. When it is determined that the face is detected by detecting the skin color area, the face is detected as being present. In this embodiment, either method may be used.

図5は、本実施形態における撮像処理手順の一例を示すフローチャートである。なお、図5に示す各処理は制御部111の制御により行われる。
まず、撮像装置100の電源が投入されることによりEVF画像を画像表示部110に表示させるための処理を開始する。
FIG. 5 is a flowchart illustrating an example of an imaging processing procedure in the present embodiment. 5 is performed under the control of the control unit 111.
First, processing for causing the image display unit 110 to display an EVF image is started when the imaging apparatus 100 is turned on.

そして、ステップS501において、撮像系制御部104は、固体撮像素子103をEVF用の駆動条件で動作させる。次に、ステップS502において、顔検出部202にて顔検出しやすいようにシェーディング補正部201は、画像端部の光量落ちを改善するためにシェーディング補正量を強める。そして、ステップS503において、固体撮像素子103から出力された画像信号に対してシェーディング補正を実施する。なお、ステップS502において、シェーディング補正を強める際には、画面のどの位置にある顔であっても漏れなく検出できる程度にシェーディング補正量を大きくする。   In step S501, the imaging system control unit 104 operates the solid-state imaging device 103 under EVF drive conditions. Next, in step S <b> 502, the shading correction unit 201 increases the shading correction amount in order to improve the light amount drop at the edge of the image so that the face detection unit 202 can easily detect the face. In step S503, shading correction is performed on the image signal output from the solid-state image sensor 103. In step S502, when the shading correction is strengthened, the shading correction amount is increased to such an extent that any face on the screen can be detected without omission.

次に、ステップS504において、顔検出部202は、シェーディング補正を実施した画像信号に対して顔検出を行う。そして、ステップS505において、デジタル信号処理部107は表示制御手段として機能し、顔検出結果が反映されたEVF画像を生成して、画像表示部110にEVF画像を表示する。   In step S504, the face detection unit 202 performs face detection on the image signal on which shading correction has been performed. In step S505, the digital signal processing unit 107 functions as a display control unit, generates an EVF image reflecting the face detection result, and displays the EVF image on the image display unit 110.

次に、ステップS506において、撮影者により不図示のシャッタースイッチが操作され、本撮影(記録処理)のトリガ信号(以下、SW2)を検出したか否かを判断する。この判断の結果、SW2を検出しなかった場合は、ステップS513に進む。そして、ステップS513において、EVF画像の表示を終了する指示があったか否かを判断する。この判断の結果、終了する指示があった場合は、処理を終了する。   Next, in step S506, it is determined whether or not a photographer has operated a shutter switch (not shown) to detect a trigger signal (hereinafter referred to as SW2) for actual photographing (recording processing). If the result of this determination is that SW2 has not been detected, processing proceeds to step S513. In step S513, it is determined whether there is an instruction to end the display of the EVF image. As a result of this determination, if there is an instruction to end, the process ends.

一方、ステップS513の判断の結果、終了する指示がなかった場合は、ステップS503に戻る。そして、ステップS503におけるシェーディング補正からステップS505におけるEVF表示までのシーケンスを、SW2を検出するまで繰り返す。   On the other hand, if the result of determination in step S513 is that there is no instruction to end, processing returns to step S503. Then, the sequence from the shading correction in step S503 to the EVF display in step S505 is repeated until SW2 is detected.

一方、ステップS506の判断の結果、SW2を検出した場合は、ステップS507に進み、制御部111は指示手段として機能し、本撮影のシーケンスに移る。そして、ステップS507において、撮像系制御部104は、固体撮像素子103を本撮影用の駆動条件で動作させる。次に、ステップS508において、シェーディング補正部201は、顔検出部202による顔検出結果をもとに、撮影画像(EVF画像)の端部に顔が存在するか否かを判定する。このとき、参照する顔検出結果として、本撮影の直前に取得した数フレームの画像のものを用いて顔が存在するか否かを判定する。   On the other hand, if SW2 is detected as a result of the determination in step S506, the process proceeds to step S507, where the control unit 111 functions as an instruction unit, and the process proceeds to the main imaging sequence. In step S507, the imaging system control unit 104 operates the solid-state imaging device 103 under the driving conditions for main imaging. Next, in step S508, the shading correction unit 201 determines whether or not a face exists at the end of the captured image (EVF image) based on the face detection result by the face detection unit 202. At this time, as a face detection result to be referred to, it is determined whether or not a face exists using an image of several frames acquired immediately before the main photographing.

なお、端部とする基準については、撮影者により設定を変更できるようにしてもよい。図4に示したように、軸上(画像中心)から像高10割(画像四隅)にいくに従い輝度が低下している。通常時は、例えば、像高8割を超える範囲を端部と定義し、撮影者により、その端部と定義する範囲を変更可能にしてもよい。   In addition, about the reference | standard used as an edge part, you may enable it to change a setting by a photographer. As shown in FIG. 4, the luminance decreases as the image height goes from the on-axis (image center) to 100% of the image height (image corners). In normal times, for example, a range exceeding 80% of the image height may be defined as an end, and the range defined as the end may be changed by the photographer.

この判定の結果、撮影画像の端部に顔が存在した場合は、周辺が光量落ちする影響により顔が暗くなるのを避けるために、ステップS509において、シェーディング補正部201は、シェーディング補正量が大きな状態に保持する。一方、ステップS508の判定の結果、撮影画像の端部に顔が存在しない場合は、画像端部のノイズ増加を避けるために、ステップS510において、シェーディング補正部201は、シェーディング補正量を小さくする。そして、シェーディング補正量を決定したら、ステップS511において、本撮影において生成された画像信号に対してシェーディング補正を実施する。   If the result of this determination is that a face is present at the edge of the photographed image, the shading correction unit 201 has a large shading correction amount in step S509 in order to avoid the face from becoming dark due to the effect of a decrease in the amount of light at the periphery. Keep in state. On the other hand, if the result of determination in step S508 is that there is no face at the edge of the captured image, the shading correction unit 201 decreases the shading correction amount in step S510 in order to avoid an increase in noise at the edge of the image. When the shading correction amount is determined, shading correction is performed on the image signal generated in the main photographing in step S511.

次に、ステップS512において、デジタル信号処理部107は、ステップS511でシェーディング補正を実施した画像信号から本撮影の画像データを生成し、I/F部109を介して外部記憶装置112に記録する。そして、記録後は再びステップS501に戻る。   Next, in step S 512, the digital signal processing unit 107 generates image data for actual shooting from the image signal subjected to the shading correction in step S 511, and records it in the external storage device 112 via the I / F unit 109. After recording, the process returns to step S501 again.

なお、本実施形態においては、画像の端部で顔が検出されたら、シェーディング補正を強めたままにし、画像の端部で顔が検出されなかったら、シェーディング補正を弱めるようにした。一方、本撮影時においてシェーディング補正の強度を、顔が端部にあるほど強度を大きくするようにしてもよい。この場合、端部に顔が存在するか否かの判断は行わず、シェーディング補正部201は、顔検出結果として最も端部にある顔の座標についての情報に基づいて、その座標に応じたシェーディング補正量に調整する。また、端部に顔が存在するか否かの判断し、端部に顔が存在する場合に、最も端部にある顔の座標についての情報に基づいて、その座標に応じたシェーディング補正量に調整するようにしてもよい。   In the present embodiment, if a face is detected at the edge of the image, the shading correction is kept strong, and if no face is detected at the edge of the image, the shading correction is weakened. On the other hand, the intensity of shading correction at the time of actual photographing may be increased as the face is at the end. In this case, the shading correction unit 201 does not determine whether or not a face is present at the end, and the shading correction unit 201 performs shading according to the coordinates based on the information about the coordinates of the face at the end as the face detection result. Adjust the correction amount. In addition, it is determined whether or not a face exists at the end, and when there is a face at the end, the shading correction amount corresponding to the coordinate is determined based on the information about the coordinates of the face at the end. You may make it adjust.

以上のように本実施形態によれば、画面の端部で顔を検出するために必要な補正量でシェーディング補正を行うようにしたので、顔を検出するための信号レベルを確保することができる。これにより、画面の端部に周辺光量の低下を嫌う顔などの被写体がある場合にも、シェーディング補正を強めることができるため、適切な画像を得ることができる。また、画面の端部に顔が検出されなかった場合は、シェーディング補正量を小さくするようにしたので、画像の端部におけるノイズの増加を防ぐことができる。   As described above, according to this embodiment, since the shading correction is performed with the correction amount necessary for detecting the face at the edge of the screen, the signal level for detecting the face can be ensured. . As a result, even when there is a subject such as a face that does not like a decrease in the amount of peripheral light at the edge of the screen, the shading correction can be strengthened, so that an appropriate image can be obtained. Also, when no face is detected at the edge of the screen, the shading correction amount is reduced, so that an increase in noise at the edge of the image can be prevented.

(本発明に係る他の実施形態)
前述した本発明の実施形態における撮像装置を構成する各手段、並びに撮像方法の各工程は、コンピュータのRAMやROMなどに記憶されたプログラムが動作することによって実現できる。このプログラム及び前記プログラムを記録したコンピュータ読み取り可能な記録媒体は本発明に含まれる。
(Other embodiments according to the present invention)
Each means constituting the image pickup apparatus and each step of the image pickup method in the embodiment of the present invention described above can be realized by operating a program stored in a RAM or ROM of a computer. This program and a computer-readable recording medium recording the program are included in the present invention.

また、本発明は、例えば、システム、装置、方法、プログラムもしくは記録媒体等としての実施形態も可能であり、具体的には、複数の機器から構成されるシステムに適用してもよいし、また、一つの機器からなる装置に適用してもよい。   Further, the present invention can be implemented as, for example, a system, apparatus, method, program, or recording medium. Specifically, the present invention may be applied to a system including a plurality of devices. The present invention may be applied to an apparatus composed of a single device.

なお、本発明は、前述した実施形態の機能を実現するソフトウェアのプログラム(実施形態では図5に示すフローチャートに対応したプログラム)を、システムまたは装置に直接、または遠隔から供給する場合も含む。そして、そのシステムまたは装置のコンピュータが前記供給されたプログラムコードを読み出して実行することによっても達成される場合を含む。   Note that the present invention includes a case where a software program for realizing the functions of the above-described embodiments (in the embodiment, a program corresponding to the flowchart shown in FIG. 5) is directly or remotely supplied to a system or apparatus. This includes the case where the system or the computer of the apparatus is also achieved by reading and executing the supplied program code.

したがって、本発明の機能処理をコンピュータで実現するために、前記コンピュータにインストールされるプログラムコード自体も本発明を実現するものである。つまり、本発明は、本発明の機能処理を実現するためのコンピュータプログラム自体も含まれる。   Accordingly, since the functions of the present invention are implemented by computer, the program code installed in the computer also implements the present invention. In other words, the present invention includes a computer program itself for realizing the functional processing of the present invention.

その場合、プログラムの機能を有していれば、オブジェクトコード、インタプリタにより実行されるプログラム、OSに供給するスクリプトデータ等の形態であってもよい。   In that case, as long as it has the function of a program, it may be in the form of object code, a program executed by an interpreter, script data supplied to the OS, and the like.

プログラムを供給するための記録媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスクなどがある。さらに、MO、CD−ROM、CD−R、CD−RW、磁気テープ、不揮発性のメモリカード、ROM、DVD(DVD−ROM、DVD−R)などもある。   Examples of the recording medium for supplying the program include a flexible disk, a hard disk, an optical disk, and a magneto-optical disk. Further, there are MO, CD-ROM, CD-R, CD-RW, magnetic tape, nonvolatile memory card, ROM, DVD (DVD-ROM, DVD-R) and the like.

その他、プログラムの供給方法としては、クライアントコンピュータのブラウザを用いてインターネットのホームページに接続する方法がある。そして、前記ホームページから本発明のコンピュータプログラムそのもの、もしくは圧縮され自動インストール機能を含むファイルをハードディスク等の記録媒体にダウンロードすることによっても供給できる。   As another program supply method, there is a method of connecting to a homepage on the Internet using a browser of a client computer. The computer program itself of the present invention or a compressed file including an automatic installation function can be downloaded from the homepage by downloading it to a recording medium such as a hard disk.

また、本発明のプログラムを構成するプログラムコードを複数のファイルに分割し、それぞれのファイルを異なるホームページからダウンロードすることによっても実現可能である。つまり、本発明の機能処理をコンピュータで実現するためのプログラムファイルを複数のユーザに対してダウンロードさせるWWWサーバも、本発明に含まれるものである。   It can also be realized by dividing the program code constituting the program of the present invention into a plurality of files and downloading each file from a different homepage. That is, a WWW server that allows a plurality of users to download a program file for realizing the functional processing of the present invention on a computer is also included in the present invention.

また、その他の方法として、本発明のプログラムを暗号化してCD−ROM等の記録媒体に格納してユーザに配布し、所定の条件をクリアしたユーザに対し、インターネットを介してホームページから暗号化を解く鍵情報をダウンロードさせる。そして、その鍵情報を使用することにより暗号化されたプログラムを実行してコンピュータにインストールさせて実現することも可能である。   As another method, the program of the present invention is encrypted, stored in a recording medium such as a CD-ROM, distributed to users, and encrypted from a homepage via the Internet to users who have cleared predetermined conditions. Download the key information to be solved. It is also possible to execute the encrypted program by using the key information and install the program on a computer.

また、コンピュータが、読み出したプログラムを実行することによって、前述した実施形態の機能が実現される。さらに、そのプログラムの指示に基づき、コンピュータ上で稼動しているOSなどが、実際の処理の一部または全部を行い、その処理によっても前述した実施形態の機能が実現され得る。   Further, the functions of the above-described embodiments are realized by the computer executing the read program. Furthermore, based on the instructions of the program, an OS or the like running on the computer performs part or all of the actual processing, and the functions of the above-described embodiments can be realized by the processing.

さらに、その他の方法として、まず記録媒体から読み出されたプログラムが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれる。そして、そのプログラムの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によっても前述した実施形態の機能が実現される。   As another method, the program read from the recording medium is first written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer. Then, based on the instructions of the program, the CPU or the like provided in the function expansion board or function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are also realized by the processing.

本発明の実施形態に係る撮像装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the imaging device which concerns on embodiment of this invention. 本発明の実施形態に係るデジタル信号処理部の構成例を示すブロック図である。It is a block diagram which shows the structural example of the digital signal processing part which concerns on embodiment of this invention. 従来のデジタル信号処理部の構成例を示すブロック図である。It is a block diagram which shows the structural example of the conventional digital signal processing part. 像高に対する輝度の変化を示す図である。It is a figure which shows the change of the brightness | luminance with respect to image height. 本発明の実施形態における撮像処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the imaging process procedure in embodiment of this invention.

符号の説明Explanation of symbols

100 撮像装置
101 光学系
102 光学系制御部
103 固体撮像素子
104 撮像系制御部
105 アナログ信号処理部
106 A/D変換部
107 デジタル信号処理部
108 内部記憶部
109 I/F部
110 画像表示部
111 制御部
112 外部記憶装置
201 シェーディング補正部
202 顔検出部
203 輝度処理部
204 色処理部
205 加算器
DESCRIPTION OF SYMBOLS 100 Imaging device 101 Optical system 102 Optical system control part 103 Solid-state image sensor 104 Imaging system control part 105 Analog signal processing part 106 A / D conversion part 107 Digital signal processing part 108 Internal storage part 109 I / F part 110 Image display part 111 Control unit 112 External storage device 201 Shading correction unit 202 Face detection unit 203 Luminance processing unit 204 Color processing unit 205 Adder

Claims (12)

被写体を撮像して画像信号を生成する撮像手段と、
前記撮像手段によって生成された画像信号に対して顔検出を行う顔検出手段と、
前記撮像手段によって生成された画像信号に対してシェーディング補正を行う補正手段と、
前記撮像手段によって生成される画像信号を記録媒体に記録するための指示を出す指示手段とを有し、
前記補正手段は、前記顔検出手段が画面の端部で顔を検出するために必要な補正量でシェーディング補正を行い、前記指示手段によって指示された画像信号に対しては、前記顔検出手段による検出結果に応じて前記補正量を変更することを特徴とする撮像装置。
Imaging means for imaging a subject and generating an image signal;
Face detection means for performing face detection on the image signal generated by the imaging means;
Correction means for performing shading correction on the image signal generated by the imaging means;
Instruction means for issuing an instruction to record the image signal generated by the imaging means on a recording medium;
The correction means performs shading correction with a correction amount necessary for the face detection means to detect a face at the edge of the screen, and the face detection means performs an image signal instructed by the instruction means. An imaging apparatus, wherein the correction amount is changed according to a detection result.
前記補正手段は、前記指示手段によって指示された画像信号に対しては、前記顔検出手段による、前記指示手段によって指示される直前に生成された画像信号に対する検出結果に応じて、前記補正量を変更することを特徴とする請求項1に記載の撮像装置。   For the image signal instructed by the instruction means, the correction means sets the correction amount according to a detection result for the image signal generated immediately before instructed by the instruction means by the face detection means. The imaging apparatus according to claim 1, wherein the imaging apparatus is changed. 前記補正手段は、前記指示手段によって指示された画像信号に対しては、前記顔検出手段により画面の端部に顔が検出されなかった場合に、前記補正量を小さくすることを特徴とする請求項1または2に記載の撮像装置。   The correction unit reduces the correction amount of the image signal instructed by the instruction unit when the face detection unit does not detect a face at the end of the screen. Item 3. The imaging device according to Item 1 or 2. 前記補正手段は、前記指示手段によって指示された画像信号に対しては、前記顔検出手段によって検出された顔の位置が画面の端部であるほど、前記補正量を大きくすることを特徴とする請求項1または2に記載の撮像装置。   For the image signal instructed by the instruction means, the correction means increases the correction amount as the face position detected by the face detection means is closer to the edge of the screen. The imaging device according to claim 1 or 2. 前記補正手段によってシェーディング補正された画像信号に基づく画像を表示部に表示する表示制御手段をさらに有することを特徴とする請求項1〜4の何れか1項に記載の撮像装置。   5. The imaging apparatus according to claim 1, further comprising a display control unit that displays an image based on the image signal subjected to shading correction by the correction unit on a display unit. 被写体を撮像して画像信号を生成する撮像工程と、
前記撮像工程において生成された画像信号に対して顔検出を行う顔検出工程と、
前記撮像工程において生成された画像信号に対してシェーディング補正を行う補正工程と、
前記撮像工程において生成される画像信号を記録媒体に記録するための指示を出す指示工程とを有し、
前記補正工程においては、前記顔検出工程において画面の端部で顔を検出するために必要な補正量でシェーディング補正を行い、前記指示工程において指示された画像信号に対しては、前記顔検出工程における検出結果に応じて前記補正量を変更することを特徴とする撮像方法。
An imaging step of imaging an object and generating an image signal;
A face detection step of performing face detection on the image signal generated in the imaging step;
A correction step of performing shading correction on the image signal generated in the imaging step;
An instruction step for issuing an instruction to record the image signal generated in the imaging step on a recording medium,
In the correction step, shading correction is performed with a correction amount necessary for detecting a face at an edge of the screen in the face detection step, and the face detection step is performed on the image signal instructed in the instruction step. An imaging method, wherein the correction amount is changed in accordance with a detection result in.
前記補正工程においては、前記指示工程において指示された画像信号に対しては、前記顔検出工程における、前記指示工程において指示される直前に生成された画像信号に対する検出結果に応じて、前記補正量を変更することを特徴とする請求項6に記載の撮像方法。   In the correction step, for the image signal instructed in the instruction step, the correction amount is determined according to a detection result for the image signal generated immediately before instructing in the instruction step in the face detection step. The imaging method according to claim 6, wherein: 前記補正工程においては、前記指示工程において指示された画像信号に対しては、前記顔検出工程において画面の端部に顔が検出されなかった場合に、前記補正量を小さくすることを特徴とする請求項6または7に記載の撮像方法。   In the correction step, for the image signal instructed in the instruction step, the correction amount is reduced when a face is not detected at the end of the screen in the face detection step. The imaging method according to claim 6 or 7. 前記補正工程においては、前記指示工程において指示された画像信号に対しては、前記顔検出工程において検出された顔の位置が画面の端部であるほど、前記補正量を大きくすることを特徴とする請求項6または7に記載の撮像方法。   In the correction step, for the image signal instructed in the instruction step, the correction amount is increased as the position of the face detected in the face detection step is the edge of the screen. The imaging method according to claim 6 or 7. 前記補正工程においてシェーディング補正された画像信号に基づく画像を表示部に表示する表示制御工程をさらに有することを特徴とする請求項6〜9の何れか1項に記載の撮像方法。   10. The imaging method according to claim 6, further comprising a display control step of displaying an image based on the image signal subjected to the shading correction in the correction step on a display unit. 被写体を撮像して画像信号を生成する撮像工程と、
前記撮像工程において生成された画像信号に対して顔検出を行う顔検出工程と、
前記撮像工程において生成された画像信号に対してシェーディング補正を行う補正工程と、
前記撮像工程において生成される画像信号を記録媒体に記録するための指示を出す指示工程とをコンピュータに実行させ、
前記補正工程においては、前記顔検出工程において画面の端部で顔を検出するために必要な補正量でシェーディング補正を行い、前記指示工程において指示された画像信号に対しては、前記顔検出工程における検出結果に応じて前記補正量を変更するようにコンピュータに実行させることを特徴とするプログラム。
An imaging step of imaging an object and generating an image signal;
A face detection step of performing face detection on the image signal generated in the imaging step;
A correction step of performing shading correction on the image signal generated in the imaging step;
Causing the computer to execute an instruction step for issuing an instruction to record the image signal generated in the imaging step on a recording medium;
In the correction step, shading correction is performed with a correction amount necessary for detecting a face at an edge of the screen in the face detection step, and the face detection step is performed on the image signal instructed in the instruction step. A program that causes a computer to change the correction amount in accordance with a detection result in the program.
請求項11に記載のプログラムを記録したことを特徴とするコンピュータ読み取り可能な記録媒体。   A computer-readable recording medium on which the program according to claim 11 is recorded.
JP2008162455A 2008-06-20 2008-06-20 Imaging apparatus and imaging method Expired - Fee Related JP5213542B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008162455A JP5213542B2 (en) 2008-06-20 2008-06-20 Imaging apparatus and imaging method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008162455A JP5213542B2 (en) 2008-06-20 2008-06-20 Imaging apparatus and imaging method

Publications (2)

Publication Number Publication Date
JP2010004399A true JP2010004399A (en) 2010-01-07
JP5213542B2 JP5213542B2 (en) 2013-06-19

Family

ID=41585699

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008162455A Expired - Fee Related JP5213542B2 (en) 2008-06-20 2008-06-20 Imaging apparatus and imaging method

Country Status (1)

Country Link
JP (1) JP5213542B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006050040A (en) * 2004-08-02 2006-02-16 Canon Inc Imaging apparatus
JP2007027943A (en) * 2005-07-13 2007-02-01 Konica Minolta Photo Imaging Inc Imaging apparatus, program and method for processing shading
JP2007165946A (en) * 2005-12-09 2007-06-28 Fujifilm Corp Apparatus and method of correcting object image
JP2007166017A (en) * 2005-12-09 2007-06-28 Nikon Corp Camera, and image processing program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006050040A (en) * 2004-08-02 2006-02-16 Canon Inc Imaging apparatus
JP2007027943A (en) * 2005-07-13 2007-02-01 Konica Minolta Photo Imaging Inc Imaging apparatus, program and method for processing shading
JP2007165946A (en) * 2005-12-09 2007-06-28 Fujifilm Corp Apparatus and method of correcting object image
JP2007166017A (en) * 2005-12-09 2007-06-28 Nikon Corp Camera, and image processing program

Also Published As

Publication number Publication date
JP5213542B2 (en) 2013-06-19

Similar Documents

Publication Publication Date Title
JP5141733B2 (en) Imaging apparatus, imaging method, and program
JP5089405B2 (en) Image processing apparatus, image processing method, and imaging apparatus
JP2010016798A (en) Imaging apparatus, control method thereof, and program
JP6720881B2 (en) Image processing apparatus and image processing method
US8717449B2 (en) Image synthesizing apparatus, image recording method, and recording medium
JP2005136852A (en) Image processing method, image processing apparatus and image processing program
JP5225137B2 (en) Imaging apparatus, image processing method, and program
JP2007124292A (en) Imaging apparatus, imaging method, and imaging program
JP2009005083A (en) Imaging apparatus, control method of imaging apparatus and control program of imaging apparatus
JP2010199727A (en) Imager
JP4952574B2 (en) Image composition apparatus and program
JP4613710B2 (en) Image processing apparatus and program
JP5882644B2 (en) Image processing apparatus, control method thereof, and program
JP5213542B2 (en) Imaging apparatus and imaging method
JP5321308B2 (en) Image processing apparatus and image processing program
JP2010011073A (en) Imaging device, its image processing method and program
JP2007259303A (en) Image processing apparatus and image processing method
JP2006324788A (en) Apparatus and method for processing video signal
JP2007081724A (en) Imaging apparatus and control method thereof
JP2011135379A (en) Imaging apparatus, imaging method and program
JP4964062B2 (en) Electronic camera
JP2007028496A (en) Image processing apparatus, image processing method, program and storage medium
JP5739752B2 (en) Image processing apparatus and imaging apparatus
JP6601062B2 (en) Imaging control apparatus, imaging control method, and program
JP2009053428A (en) Electronic camera

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110614

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120509

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120515

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120712

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130226

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

Free format text: PAYMENT UNTIL: 20160308

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees