Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4845796B2 - IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD - Google Patents
[go: Go Back, main page]

JP4845796B2 - IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD - Google Patents

IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD Download PDF

Info

Publication number
JP4845796B2
JP4845796B2 JP2007103302A JP2007103302A JP4845796B2 JP 4845796 B2 JP4845796 B2 JP 4845796B2 JP 2007103302 A JP2007103302 A JP 2007103302A JP 2007103302 A JP2007103302 A JP 2007103302A JP 4845796 B2 JP4845796 B2 JP 4845796B2
Authority
JP
Japan
Prior art keywords
smear
area
imaging
region
correction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2007103302A
Other languages
Japanese (ja)
Other versions
JP2008263319A5 (en
JP2008263319A (en
Inventor
康嘉 宮▲崎▼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2007103302A priority Critical patent/JP4845796B2/en
Publication of JP2008263319A publication Critical patent/JP2008263319A/en
Publication of JP2008263319A5 publication Critical patent/JP2008263319A5/ja
Application granted granted Critical
Publication of JP4845796B2 publication Critical patent/JP4845796B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Studio Devices (AREA)

Description

本発明は、撮像装置及び撮像装置の制御方法に関する。   The present invention relates to an imaging apparatus and a control method for the imaging apparatus.

屋外等の撮影において太陽光等の輝度が高い対象を含む被写体を撮影した場合、被写体の画像に、上下に筋状のほぼ白階調のノイズ(スミア)が含まれることがある。このスミアは、撮影された画像の画質の劣化を招く。   When a subject including a subject with high brightness such as sunlight is photographed in outdoor photography, the subject image may include streaky, almost white gradation noise (smear). This smear causes deterioration of the image quality of the photographed image.

そこでこの問題を省みて、NTSC等の飛び越し走査において、信号が読み出されない領域の画素の出力信号を、信号が読み出される領域の画素の出力信号から減算する技術が提案されている(特許文献1を参照)。これにより、信号が読み出される領域の画素の出力信号からスミア信号成分をある程度補正することができる。
特開平1−193012号公報
In view of this problem, a technique for subtracting the output signal of the pixel in the region where the signal is not read out from the output signal of the pixel in the region where the signal is read out in interlaced scanning such as NTSC is proposed (Patent Document 1). See). As a result, the smear signal component can be corrected to some extent from the output signal of the pixel in the region where the signal is read out.
Japanese Patent Laid-Open No. 1-193012

しかし、特許文献1に示された技術では、スミアが発生したスミア領域を適切に補正できないことがある。   However, the technique disclosed in Patent Document 1 may not be able to appropriately correct a smear region where smear has occurred.

例えば、スミアが発生した際の画像(図9左図参照)に対して、スミアの補正を行う際の画像(図9右図参照)の画角や撮影範囲が変動しなければ、スミア信号成分を減算することにより、スミアが除去された画像を得ることができる。ところが、例えば、スミアが発生した際の画像(図10左図参照)に対して、スミアの補正を行う際の画像(図10右図参照)の画角が変動する場合、スミア信号成分を減算すると、次のような現象が起こる可能性がある。すなわち、スミア信号成分を減算する対象領域と、スミアが発生したスミア領域とがずれるので、図10右図に示すように、スミア領域の端近傍で過減算が行われて、黒筋が発生する。   For example, if the angle of view and the shooting range of the image (see the right diagram in FIG. 9) when the smear correction is not changed with respect to the image when the smear occurs (see the left diagram in FIG. 9), the smear signal component By subtracting, an image from which smear has been removed can be obtained. However, for example, when the angle of view of the image (see the right figure in FIG. 10) when the smear is corrected fluctuates with respect to the image when the smear occurs (see the left figure in FIG. 10), the smear signal component is subtracted. Then, the following phenomenon may occur. That is, the target area from which the smear signal component is subtracted is different from the smear area where the smear has occurred, so as shown in the right diagram of FIG. 10, oversubtraction is performed near the end of the smear area and black streaks are generated. .

一方、プログラムシフトが可能な撮像装置では、スミアが発生した際に、絞りを絞り込む方向にプログラムシフトすることで、入射光量を減少させてスミアの発生を低減する方法もある。この方法でも、スミア領域を適切に補正できないことがある。   On the other hand, in an imaging apparatus capable of program shift, there is also a method of reducing the occurrence of smear by reducing the amount of incident light by performing program shift in the direction of narrowing the aperture when smear occurs. Even with this method, the smear region may not be corrected appropriately.

例えば、スミアが発生したスミア領域の幅が所定値以上である場合、プログラムシフトを行うと、被写体の画像において、スミアが低減されきれずに細い灰色の筋が残ることがある。   For example, when the width of the smear area where smear has occurred is equal to or greater than a predetermined value, when the program shift is performed, smear may not be reduced and thin gray streaks may remain in the subject image.

本発明の目的は、スミア領域を適切に補正できる撮像装置及び撮像装置の制御方法を提供することにある。   An object of the present invention is to provide an imaging apparatus and an imaging apparatus control method that can appropriately correct a smear region.

本発明の第1側面に係る撮像装置は、撮像手段により取得された被写体の画像データから、スミアが発生したスミア領域を検出するとともに、前記スミア領域の幅を検出するスミア検出手段と、前記撮像手段の非読み出し領域または遮光領域の画素から出力されたデータから、前記スミアのスミア信号成分を取得するスミア信号成分取得手段と、前記撮像手段へ入射する光量を調整するために絞りを駆動する絞り手段と、前記撮像手段により取得された画像データから前記スミア信号成分を減算するための減算処理手段と、前記スミア領域の幅が予め決められた幅未満であることを含む予め定められた条件を満たす場合に、前記絞り手段に絞りを絞らせることによりスミアを低減し、前記スミア領域の幅が予め決められた幅以上であることを含む予め定められた条件を満たす場合に、前記減算処理手段に前記撮像手段により取得された画像データから前記スミア信号成分を減算させることによりスミアを低減する補正を行うように制御する補正制御手段とを備えることを特徴とする。 The image pickup apparatus according to the first aspect of the present invention includes a smear detection unit that detects a smear region in which smear has occurred and detects a width of the smear region from the image data of the subject acquired by the image pickup unit, and the imaging A smear signal component acquisition unit that acquires a smear signal component of the smear from data output from pixels in a non-readout region or a light shielding region of the unit; and a diaphragm that drives the aperture to adjust the amount of light incident on the imaging unit Means, subtraction processing means for subtracting the smear signal component from the image data acquired by the imaging means, and a predetermined condition including that the width of the smear region is less than a predetermined width. When satisfying, it is possible to reduce smear by causing the diaphragm means to throttle, and that the width of the smear area is not less than a predetermined width. If no predetermined conditions are satisfied, a correction control means for controlling the acquired image data by the imaging means to the subtraction processing means so as to perform correction to reduce the smear by subtracting the smear signal component It is characterized by providing.

また、本発明の第2側面に係る撮像装置は、撮像手段により取得された被写体の画像データから、スミアが発生したスミア領域を検出するとともに、前記スミア領域の移動量を検出するスミア検出手段と、前記撮像手段の非読み出し領域または遮光領域の画素から出力されたデータから、前記スミアのスミア信号成分を取得するスミア信号成分取得手段と、前記撮像手段へ入射する光量を調整するために絞りを駆動する絞り手段と、前記撮像手段により取得された画像データから前記スミア信号成分を減算するための減算処理手段と、前記スミア領域の移動量が予め決められた移動量未満であることを含む予め定められた条件を満たす場合に、前記減算処理手段に前記撮像手段により取得された画像データから前記スミア信号成分を減算させることによりスミアを低減し、前記スミア領域の移動量が予め決められた移動量以上であることを含む予め定められた条件を満たす場合に、前記絞り手段に絞りを絞らせることによりスミアを低減する補正を行うように制御する補正制御手段とを備えることを特徴とする。
また、本発明の第3側面に係る撮像装置は、撮像手段により取得された被写体の画像データから、スミアが発生したスミア領域を検出するスミア検出手段と、前記撮像手段の非読み出し領域または遮光領域の画素から出力されたデータから、前記スミアのスミア信号成分を取得するスミア信号成分取得手段と、前記撮像手段へ入射する光量を調整するために絞りを駆動する絞り手段と、前記撮像手段により取得された画像データから前記スミア信号成分を減算するための減算処理手段と、前記被写体の画像データから、前記被写体の顔として認識される顔領域を検出する顔検出手段と、前記スミア領域の位置と、前記顔領域の位置とから、前記スミア領域と前記顔領域との重なり具合を示す一致度を演算する演算手段と、前記一致度が予め決められた一致度以上であることを含む予め定められた条件を満たす場合に、前記絞り手段に絞りを絞らせることによりスミアを低減し、前記一致度が予め決められた一致度未満であることを含む予め定められた条件を満たす場合に、前記減算処理手段に前記撮像手段により取得された画像データから前記スミア信号成分を減算することによりスミアを低減する補正を行うように制御する補正制御手段とを備えることを特徴とする。
An image pickup apparatus according to a second aspect of the present invention includes a smear detection unit that detects a smear region where smear has occurred and detects a movement amount of the smear region from image data of a subject acquired by the image pickup unit. A smear signal component acquisition means for acquiring a smear signal component of the smear from data output from pixels in a non-readout area or a light shielding area of the imaging means; and a diaphragm for adjusting the amount of light incident on the imaging means. Including a diaphragm means for driving, a subtraction processing means for subtracting the smear signal component from the image data acquired by the imaging means, and a movement amount of the smear region being less than a predetermined movement amount in advance. When the predetermined condition is satisfied, the subtraction processing unit subtracts the smear signal component from the image data acquired by the imaging unit. The smear is reduced by reducing the smear by causing the throttling means to reduce the smear when a predetermined condition including that the movement amount of the smear region is equal to or greater than a predetermined movement amount is satisfied. And a correction control unit that controls to perform correction.
An imaging apparatus according to a third aspect of the present invention includes a smear detection unit that detects a smear region where smear has occurred from image data of a subject acquired by the imaging unit, and a non-reading region or a light shielding region of the imaging unit. The smear signal component acquisition unit that acquires the smear signal component of the smear from the data output from the pixel, the aperture unit that drives the aperture to adjust the amount of light incident on the imaging unit, and the imaging unit Subtraction processing means for subtracting the smear signal component from the image data obtained, face detection means for detecting a face area recognized as the face of the subject from the image data of the subject, and a position of the smear region, Calculating means for calculating a degree of coincidence indicating the degree of overlap between the smear area and the face area from the position of the face area; and the degree of coincidence is determined in advance. When a predetermined condition including being equal to or higher than a predetermined matching degree is satisfied, smear is reduced by narrowing the diaphragm to the throttling means, and the matching degree is less than a predetermined matching degree. Correction control means for performing control to reduce smear by subtracting the smear signal component from the image data acquired by the imaging means to the subtraction processing means when a predetermined condition is included. It is characterized by providing.

本発明によれば、スミア領域を適切に補正できる。   According to the present invention, it is possible to appropriately correct the smear region.

本発明の第1実施形態に係る撮像装置100について、図1を用いて説明する。図1は、本発明の第1実施形態に係る撮像装置100の構成図である。   An imaging apparatus 100 according to the first embodiment of the present invention will be described with reference to FIG. FIG. 1 is a configuration diagram of an imaging apparatus 100 according to the first embodiment of the present invention.

撮像装置100は、例えば、ディジタルカメラである。撮像装置100は、次の構成要素を備える。   The imaging device 100 is a digital camera, for example. The imaging device 100 includes the following components.

操作部101は、撮像装置100の操作者が撮像装置100に対して各種の指示を入力するために操作するスイッチやボタンなどを含む。操作部101の中には、シャッタースイッチも含まれている。このシャッタースイッチが半押しされた場合、信号SW1が操作部101から制御部102に対して通知される。また、シャッタースイッチが全押しされた場合、信号SW2が操作部101から制御部102に対して通知される。   The operation unit 101 includes switches, buttons, and the like that are operated by an operator of the imaging apparatus 100 to input various instructions to the imaging apparatus 100. The operation unit 101 also includes a shutter switch. When the shutter switch is half-pressed, the signal SW1 is notified from the operation unit 101 to the control unit 102. When the shutter switch is fully pressed, the signal SW2 is notified from the operation unit 101 to the control unit 102.

撮像手段103は、レンズ108a及び絞り109aを介して入射される光を受け、その光量に応じた電荷を発生させる。すなわち、撮像手段103は、被写体を撮像して画像信号を取得する。撮像手段103は、画素から信号が読み出される(撮像される)撮像領域と、画素から信号が読み出されない非読み出し領域と、遮光された遮光領域とを含む。撮像手段103では、例えば、撮像領域及び非読み出し領域にそれぞれフォトダイオード(画素)が配され、遮光領域にCCD(電荷結合素子)が配される。あるいは、撮像手段103では、オプティカルブラック信号を取得するために、さらに遮光領域の一部にフォトダイオード(画素)が配されていてもよい。   The image pickup unit 103 receives light incident through the lens 108a and the diaphragm 109a and generates a charge corresponding to the amount of light. That is, the imaging unit 103 captures an object and acquires an image signal. The imaging means 103 includes an imaging area where a signal is read out (imaged) from a pixel, a non-readout area where a signal is not read out from the pixel, and a light-shielded light-shielding area. In the imaging unit 103, for example, photodiodes (pixels) are arranged in the imaging region and the non-reading region, and a CCD (charge coupled device) is arranged in the light shielding region. Alternatively, in the imaging unit 103, in order to obtain an optical black signal, a photodiode (pixel) may be arranged in a part of the light shielding region.

A/D変換部104は、撮像手段103から出力されたアナログ画像信号に対して、サンプリング、ゲイン調整、A/D変換等を行い、ディジタル画像信号(画像データ)を出力する。   The A / D conversion unit 104 performs sampling, gain adjustment, A / D conversion, and the like on the analog image signal output from the imaging unit 103, and outputs a digital image signal (image data).

画像処理部105は、A/D変換部104から出力されたディジタル画像信号(画像データ)に対して各種の画像処理を行い、処理済みのディジタル画像信号(画像データ)を出力する。例えば、画像処理部105は、A/D変換部104から受けたディジタル画像信号を、YUV画像信号に変換して出力する。また、画像処理部105は、減算処理手段123を含む。減算処理手段123は、撮像手段103により取得された画像信号に応じた画像データからスミア信号成分を減算することで、スミア補正処理を行うことができる。この画像データは、例えば、撮像手段103の撮像領域の画素から取得された画像信号に応じたデータである。スミア信号成分は、例えば、撮像手段103の非読み出し領域の画素から取得された画像信号に応じたデータである。あるいは、スミア信号成分は、例えば、撮像手段103の遮光領域の画素から取得された画像信号に応じたデータである。   The image processing unit 105 performs various types of image processing on the digital image signal (image data) output from the A / D conversion unit 104 and outputs a processed digital image signal (image data). For example, the image processing unit 105 converts the digital image signal received from the A / D conversion unit 104 into a YUV image signal and outputs the YUV image signal. Further, the image processing unit 105 includes a subtraction processing unit 123. The subtraction processing unit 123 can perform smear correction processing by subtracting the smear signal component from the image data corresponding to the image signal acquired by the imaging unit 103. This image data is, for example, data corresponding to an image signal acquired from a pixel in the imaging area of the imaging unit 103. The smear signal component is, for example, data corresponding to an image signal acquired from a pixel in a non-readout area of the imaging unit 103. Or a smear signal component is the data according to the image signal acquired from the pixel of the light-shielding area | region of the imaging means 103, for example.

スミア検出手段106は、A/D変換部104から受けたディジタル画像信号から、すなわち、被写体の画像から、スミアが発生したスミア領域を検出するとともに、スミア情報を検出する。スミア情報は、スミア領域の幅及び移動量に関する情報である。スミア検出手段106は、スミア情報を制御部102に通知する。   The smear detection means 106 detects a smear area where smear has occurred and also detects smear information from the digital image signal received from the A / D converter 104, that is, from the image of the subject. The smear information is information relating to the width of the smear area and the amount of movement. The smear detection unit 106 notifies the control unit 102 of smear information.

AF処理部108は、レンズ108aを駆動して、AF処理を行う。   The AF processing unit 108 drives the lens 108a to perform AF processing.

AE処理部109は、絞り109aを駆動して、AE処理を行う。AE処理部109は、プログラムシフト手段122を含む。プログラムシフト手段122は、例えば、絞り109aを駆動して、絞り109aを絞ることで、スミア補正処理を行うことができる。   The AE processing unit 109 drives the aperture 109a to perform AE processing. The AE processing unit 109 includes program shift means 122. For example, the program shift unit 122 can perform smear correction processing by driving the aperture 109a and reducing the aperture 109a.

ここで、減算処理手段123とプログラムシフト手段122とは、スミア領域に含まれる画素のレベルを異なる方法で補正する複数のスミア補正処理を行うためのスミア補正手段である。   Here, the subtraction processing means 123 and the program shift means 122 are smear correction means for performing a plurality of smear correction processes for correcting the levels of pixels included in the smear area by different methods.

EF処理部110は、制御部102においてフラッシュが必要と判断された場合に、フラッシュオンの指示を制御部102から受け取る。EF処理部110は、フラッシュオンの指示に応じて、フラッシュ部111を制御する。これにより、フラッシュ部111は発光する。   The EF processing unit 110 receives a flash-on instruction from the control unit 102 when the control unit 102 determines that a flash is necessary. The EF processing unit 110 controls the flash unit 111 in response to a flash-on instruction. Thereby, the flash unit 111 emits light.

EVF表示部107は、小型液晶画面などを含み、画像処理部105による処理済みの画像データに従った画像を表示する。すなわち、EVF表示部107は、EVF(電子ビューファインダー)として機能する。   The EVF display unit 107 includes a small liquid crystal screen and displays an image according to the image data processed by the image processing unit 105. That is, the EVF display unit 107 functions as an EVF (electronic viewfinder).

フォーマット変換部112は、画像処理部105から出力されたディジタル画像信号(画像データ)のフォーマットをJPEGなどのフォーマットに変換し、画像記録部113に出力するものである。   The format conversion unit 112 converts the format of the digital image signal (image data) output from the image processing unit 105 into a format such as JPEG, and outputs the converted format to the image recording unit 113.

画像記録部113は、フォーマット変換部112から受けたフォーマット変換済みの画像データを、撮像装置100内のメモリ(図示せず)や、撮像装置100に挿入されている外部メモリなどに記録する処理を行う。   The image recording unit 113 records the format-converted image data received from the format conversion unit 112 in a memory (not shown) in the imaging apparatus 100, an external memory inserted in the imaging apparatus 100, or the like. Do.

外部接続部114は、撮像装置100をPC(パーソナルコンピュータ)やプリンタといった外部装置に接続するためのインターフェースとして機能するものである。   The external connection unit 114 functions as an interface for connecting the imaging device 100 to an external device such as a PC (personal computer) or a printer.

制御部102は、撮像装置100の各部の動作を制御するものである。制御部102は、例えば操作部101からの指示に応じて、各部を制御する。制御部102は、補正制御手段124を含む。補正制御手段124は、スミア情報に応じて、複数のスミア補正処理(減算処理手段123によるスミア補正処理、プログラムシフト手段122によるスミア補正処理)のいずれかを選択してスミア補正手段(122,123)に補正を行わせる。   The control unit 102 controls the operation of each unit of the imaging apparatus 100. The control unit 102 controls each unit in response to an instruction from the operation unit 101, for example. The control unit 102 includes correction control means 124. The correction control means 124 selects one of a plurality of smear correction processes (a smear correction process by the subtraction process means 123 and a smear correction process by the program shift means 122) according to the smear information, and the smear correction means (122, 123). ).

次に、撮像装置100を用いて撮影を行う際における撮像装置100の動作について説明する。   Next, the operation of the imaging apparatus 100 when shooting using the imaging apparatus 100 will be described.

操作部101に含まれている電源スイッチを撮像装置100の操作者がオンすると、制御部102は、これを検知し、撮像装置100を構成する各部に電源を供給する。撮像装置100を構成する各部に電源が供給されると、シャッター(図示せず)が開くので、撮像手段103には、レンズ108a及び絞り109aを介して、被写体の光学像が結像される。すなわち、撮像手段103は、被写体を撮像して画像信号を取得する。撮像手段103は、取得したアナログ画像信号をA/D変換部104に出力する。   When the operator of the imaging apparatus 100 turns on the power switch included in the operation unit 101, the control unit 102 detects this and supplies power to each unit constituting the imaging apparatus 100. When power is supplied to each part constituting the imaging apparatus 100, a shutter (not shown) is opened, so that an optical image of the subject is formed on the imaging means 103 via the lens 108a and the diaphragm 109a. That is, the imaging unit 103 captures an object and acquires an image signal. The imaging unit 103 outputs the acquired analog image signal to the A / D conversion unit 104.

A/D変換部104は、撮像手段103から出力されたアナログ画像信号に対して、サンプリング、ゲイン調整、A/D変換等を行い、ディジタル画像信号を生成して出力する。   The A / D conversion unit 104 performs sampling, gain adjustment, A / D conversion, and the like on the analog image signal output from the imaging unit 103 to generate and output a digital image signal.

スミア検出手段106は、A/D変換部104から受けたディジタル画像信号が示す被写体の画像から、スミア領域を検出するとともに、スミア情報を検出する。スミア情報は、スミア領域の幅及び移動量に関する情報である。スミア検出手段106は、スミア情報を制御部102に通知する。   The smear detection means 106 detects a smear area and smear information from the image of the subject indicated by the digital image signal received from the A / D conversion unit 104. The smear information is information relating to the width of the smear area and the amount of movement. The smear detection unit 106 notifies the control unit 102 of smear information.

また、制御部102(補正制御手段124)は、スミア情報を受けると、スミア情報に応じて複数のスミア補正処理(プログラムシフト手段122によるスミア補正処理、減算処理手段123によるスミア補正処理)のいずれかを選択して補正を行わせる。   Further, when the control unit 102 (correction control unit 124) receives the smear information, any of a plurality of smear correction processes (smear correction processing by the program shift unit 122, smear correction processing by the subtraction processing unit 123) according to the smear information. Select or to make corrections.

例えば、補正制御手段124は、スミア領域の幅に応じて、複数のスミア補正処理のいずれかを選択してスミア補正手段に補正を行わせる。補正制御手段124は、スミア領域の幅が第1閾値(図2に示すTH_SumiaAmount)未満である場合、プログラムシフト手段122を用いるスミア補正処理を選択してスミア補正手段に補正を行わせる(図3参照)。   For example, the correction control unit 124 selects one of a plurality of smear correction processes according to the width of the smear region and causes the smear correction unit to perform correction. If the width of the smear region is less than the first threshold (TH_SumiaAmount shown in FIG. 2), the correction control unit 124 selects the smear correction process using the program shift unit 122 and causes the smear correction unit to perform correction (FIG. 3). reference).

あるいは、例えば、補正制御手段124は、スミア領域の移動量に応じて、複数のスミア補正処理のいずれかを選択してスミア補正手段に補正を行わせる。補正制御手段124は、スミア領域の移動量が第2閾値(図2に示すTH_SumiaMove)未満である場合、減算処理手段123を用いるスミア補正処理を選択してスミア補正手段に補正を行わせる(図4参照)。   Alternatively, for example, the correction control unit 124 selects one of a plurality of smear correction processes according to the amount of movement of the smear region, and causes the smear correction unit to perform correction. When the amount of movement of the smear region is less than the second threshold (TH_SumiaMove shown in FIG. 2), the correction control unit 124 selects the smear correction process using the subtraction processing unit 123 and causes the smear correction unit to perform correction (FIG. 4).

画像処理部105は、A/D変換部104から出力されたディジタル画像信号(画像データ)に対して各種画像処理を行い、処理済みのディジタル画像信号(画像データ)を出力する。また、画像処理部105は、処理済みの画像データをEVF表示部107に出力する。EVF表示部107は、この処理済みの画像データに従った画像を表示する。   The image processing unit 105 performs various types of image processing on the digital image signal (image data) output from the A / D conversion unit 104, and outputs a processed digital image signal (image data). Further, the image processing unit 105 outputs the processed image data to the EVF display unit 107. The EVF display unit 107 displays an image according to the processed image data.

画像処理部105によって取得された画像に応じて、AF処理部108は、例えばコントラスト検出法により、被写体にピントを合わせるべくレンズ108aを駆動制御する。これにより、AF処理部108は、AF処理を行う。   In accordance with the image acquired by the image processing unit 105, the AF processing unit 108 drives and controls the lens 108a to focus on the subject, for example, by a contrast detection method. Thereby, the AF processing unit 108 performs AF processing.

また、画像処理部105によって取得された画像に応じて、AE処理部109は、画面が最適な露出になるように絞り109aを駆動制御する。これにより、AE処理部109は、AE処理を行う。   Further, according to the image acquired by the image processing unit 105, the AE processing unit 109 controls the driving of the diaphragm 109a so that the screen is exposed to an optimum exposure. Thereby, the AE processing unit 109 performs AE processing.

制御部102は、シャッタースイッチからSW1信号の通知(即ち、シャッタースイッチの半押しの通知)を受けていない限り、上記処理を繰り返す。制御部102が信号SW1信号の通知をシャッタースイッチから受けると、この時点における画像を用いてAF、AE処理を行い、撮影に最適なピントおよび露出設定条件を取得する。   The control unit 102 repeats the above process as long as the SW1 signal is not notified from the shutter switch (that is, the shutter switch is half-pressed). When the control unit 102 receives a notification of the signal SW1 signal from the shutter switch, AF and AE processes are performed using the image at this time, and the optimum focus and exposure setting conditions for photographing are acquired.

そして、制御部102は、シャッタースイッチからSW2信号の通知(即ち、シャッタースイッチの全押しの通知)を受けていない限りは、処理をSW1信号の通知前に戻し、上記処理を繰り返す。制御部102がSW2信号の通知をシャッタースイッチから受けると、フラッシュを発光するか否かの判断を行う。フラッシュを発光するか否かは、操作部101を用いて予め設定しておき、その設定データを読み取ることで判断するようにしても良いし、また周囲の暗さを検知し自動的に判断するようにしても良い。   Then, the control unit 102 returns the process before the notification of the SW1 signal and repeats the above process unless receiving the notification of the SW2 signal from the shutter switch (that is, the notification of the full press of the shutter switch). When the control unit 102 receives notification of the SW2 signal from the shutter switch, it determines whether or not to emit the flash. Whether or not to emit the flash may be determined in advance by using the operation unit 101 and may be determined by reading the setting data, or may be automatically determined by detecting the darkness of the surroundings. You may do it.

この判断の結果、フラッシュの発光を行う場合、制御部102は、EF処理部110を制御し、フラッシュ部111にプリ発光を行わせ、発光量の算出、EF枠の重み付けなどの処理を行う。そして、制御部102は、プリ発光により計算された本発光量でフラッシュ部111を発光させる。そして、制御部102は、撮像手段103を介して画像撮影を行う。フラッシュ非発光の場合には上記調光制御無しに以下の処理に移行する。   As a result of this determination, when performing flash emission, the control unit 102 controls the EF processing unit 110 to cause the flash unit 111 to perform pre-emission, and performs processing such as calculation of the emission amount and weighting of the EF frame. Then, the control unit 102 causes the flash unit 111 to emit light with the main light emission amount calculated by the pre-light emission. Then, the control unit 102 captures an image via the imaging unit 103. In the case of non-flash emission, the process proceeds to the following process without the above dimming control.

本撮影にて、外界からの光がレンズ108a及び絞り109aを介して撮像手段103に入光するので、撮像手段103の撮像領域の各画素には、入光した光の光量に応じた電荷が蓄積される。すなわち、撮像手段103は、被写体を撮像して画像信号を取得する。撮像手段103は、取得した画像信号をA/D変換部104に出力する。   In the actual photographing, light from the outside world enters the image pickup means 103 through the lens 108a and the diaphragm 109a, so that each pixel in the image pickup area of the image pickup means 103 has a charge corresponding to the amount of the incident light. Accumulated. That is, the imaging unit 103 captures an object and acquires an image signal. The imaging unit 103 outputs the acquired image signal to the A / D conversion unit 104.

A/D変換部104は、撮像手段103から出力されたアナログ画像信号に対して、サンプリング、ゲイン調整、A/D変換等を行い、ディジタル画像信号を生成して出力する。   The A / D conversion unit 104 performs sampling, gain adjustment, A / D conversion, and the like on the analog image signal output from the imaging unit 103 to generate and output a digital image signal.

画像処理部105は、A/D変換部104から出力されたディジタル画像信号に対して各種の画像処理を行い、処理済みのディジタル画像信号を出力する。   The image processing unit 105 performs various types of image processing on the digital image signal output from the A / D conversion unit 104, and outputs a processed digital image signal.

フォーマット変換部112は、画像処理部105から出力されたディジタル画像信号(画像データ)のフォーマットをJPEGなどのフォーマットに変換し、画像記録部113に出力する。画像記録部113は、フォーマット変換された画像データを所定のメモリに記録する処理を行う。   The format conversion unit 112 converts the format of the digital image signal (image data) output from the image processing unit 105 into a format such as JPEG and outputs the format to the image recording unit 113. The image recording unit 113 performs processing for recording the format-converted image data in a predetermined memory.

以上説明した処理により、スミアが発生したスミア領域に対して選択的に最適な補正処理を行うことができるので、適切にスミア領域を補正できる。これにより、ライブ画・静止画ともに適正な撮影を行うことが可能となる。   By the process described above, the optimum correction process can be selectively performed on the smear area where the smear has occurred, so that the smear area can be appropriately corrected. This makes it possible to perform appropriate shooting for both live images and still images.

次に、撮像装置100がスミア領域を補正する処理の流れを、図2を用いて説明する。図2は、撮像装置100がスミア領域を補正する処理の流れを示すフローチャートである。   Next, a flow of processing in which the imaging apparatus 100 corrects the smear area will be described with reference to FIG. FIG. 2 is a flowchart illustrating a flow of processing in which the imaging apparatus 100 corrects the smear region.

ステップS201では、制御部102が、AE処理部109にアクセスして、現状の露出設定値(Av,Tv,Gain)を取得する。   In step S201, the control unit 102 accesses the AE processing unit 109 to acquire the current exposure setting values (Av, Tv, Gain).

ステップS202では、スミア検出手段106が、被写体の画像から、スミア領域を検出する。例えば、スミア検出手段106は、撮像領域の画素の画像データと非読み出し領域の画素の画像データとに基づいて、スミア領域を検出する。あるいは、例えば、スミア検出手段106は、撮像領域の画素の画像データと、遮光領域の画素の画像データとに基づいて、スミア領域を検出する。   In step S202, the smear detection means 106 detects a smear region from the image of the subject. For example, the smear detection unit 106 detects a smear area based on image data of pixels in the imaging area and image data of pixels in the non-readout area. Alternatively, for example, the smear detection unit 106 detects the smear area based on the image data of the pixels in the imaging area and the image data of the pixels in the light shielding area.

ステップS203では、スミア検出手段106が、被写体の画像から、スミア情報を検出する。スミア情報は、スミア領域の幅及び移動量に関する情報である。   In step S203, the smear detection means 106 detects smear information from the image of the subject. The smear information is information relating to the width of the smear area and the amount of movement.

例えば、スミア検出手段106は、検出したスミア領域の長手方向と垂直な方向に並ぶ画素の数をカウントして、スミア領域の幅を検出するとともに、スミア領域の幅に関する情報をスミア情報に含める。   For example, the smear detection unit 106 counts the number of pixels arranged in the direction perpendicular to the longitudinal direction of the detected smear area, detects the width of the smear area, and includes information on the width of the smear area in the smear information.

例えば、スミア検出手段106は、画像記録部113にアクセスして、直前のフレームの画像に発生したスミア領域の情報を取得する。スミア検出手段106は、検出したスミア領域と、直前のフレームのスミア領域とを比較して、スミア領域の移動量を検出するとともに、スミア領域の移動量に関する情報をスミア情報に含める。   For example, the smear detection unit 106 accesses the image recording unit 113 and acquires information on a smear region generated in the image of the immediately preceding frame. The smear detection means 106 compares the detected smear area with the smear area of the immediately preceding frame, detects the amount of movement of the smear area, and includes information on the amount of movement of the smear area in the smear information.

ステップS204では、制御部102の補正制御手段124が、スミア領域の幅が第1閾値(TH_SumiaAmount)未満でありかつ絞り値(Av)が最大(AvMax)未満であるか否かを判断する。補正制御手段124は、スミア領域の幅が第1閾値未満でありかつ絞り値が最大未満であると判断する場合、処理をステップS205へ進める。ここで、絞り値が最大であるとは、絞り109aを最も絞った状態のことを指している。補正制御手段124は、スミア領域の幅が第1閾値未満でない、又は、絞り値が最大未満でないと判断する場合、処理をステップS206へ進める。   In step S204, the correction control means 124 of the control unit 102 determines whether or not the smear region width is less than the first threshold (TH_SumiaAmount) and the aperture value (Av) is less than the maximum (AvMax). If the correction control unit 124 determines that the width of the smear region is less than the first threshold and the aperture value is less than the maximum, the process proceeds to step S205. Here, the maximum aperture value indicates a state in which the aperture 109a is most contracted. If the correction control unit 124 determines that the width of the smear region is not less than the first threshold value or the aperture value is not less than the maximum, the process proceeds to step S206.

ステップS205では、補正制御手段124が、プログラムシフト手段122を用いるスミア補正処理を選択してスミア補正手段に補正を行わせる。プログラムシフト手段122は、絞り109aを駆動して、絞り109aを絞る。これにより、補正制御手段124は、図3左図に示す画像におけるスミア領域を補正して、図3右図に示す画像を得る。   In step S205, the correction control unit 124 selects smear correction processing using the program shift unit 122 and causes the smear correction unit to perform correction. The program shift means 122 drives the aperture 109a to reduce the aperture 109a. As a result, the correction control unit 124 corrects the smear region in the image shown in the left diagram of FIG. 3 to obtain the image shown in the right diagram of FIG. 3.

ステップS206では、制御部102の補正制御手段124が、スミア領域の移動量が第2閾値(TH_SumiaMove)未満であるか否かを判断する。補正制御手段124は、スミア領域の移動量が第2閾値未満であると判断する場合、処理をステップS207へ進め、スミア領域の移動量が第2閾値未満でないと判断する場合、処理をステップS210へ進める。   In step S206, the correction control means 124 of the control unit 102 determines whether or not the amount of movement of the smear region is less than the second threshold value (TH_SumiaMove). If the correction control unit 124 determines that the movement amount of the smear region is less than the second threshold value, the correction control unit 124 proceeds to step S207. If the correction control unit 124 determines that the movement amount of the smear region is not less than the second threshold value, the process proceeds to step S210. Proceed to

ステップS207では、補正制御手段124が、減算処理手段123を用いるスミア補正処理を選択してスミア補正手段に補正を行わせる(図4参照)。減算処理手段123は、撮像手段103により取得された画像信号に応じた画像データからスミア信号成分を減算する。この画像データは、例えば、撮像手段103の撮像領域の画素から取得された画像信号に応じたデータである。スミア信号成分は、例えば、撮像手段103の非読み出し領域の画素から取得された画像信号に応じたデータである。あるいは、スミア信号成分は、例えば、撮像手段103の遮光領域の画素から取得された画像信号に応じたデータである。これにより、補正制御手段124は、図4左図に示す画像におけるスミア領域を補正して、図4右図に示す画像を得る。   In step S207, the correction control unit 124 selects a smear correction process using the subtraction processing unit 123 and causes the smear correction unit to perform correction (see FIG. 4). The subtraction processing unit 123 subtracts the smear signal component from the image data corresponding to the image signal acquired by the imaging unit 103. This image data is, for example, data corresponding to an image signal acquired from a pixel in the imaging area of the imaging unit 103. The smear signal component is, for example, data corresponding to an image signal acquired from a pixel in a non-readout area of the imaging unit 103. Or a smear signal component is the data according to the image signal acquired from the pixel of the light-shielding area | region of the imaging means 103, for example. Thereby, the correction control means 124 corrects the smear region in the image shown in the left diagram of FIG. 4 to obtain the image shown in the right diagram of FIG.

ステップS210では、補正制御手段124が、プログラムシフト手段122を用いるスミア補正処理を選択してスミア補正手段に補正を行わせる。プログラムシフト手段122は、絞り109aを駆動して、絞り109aを絞る。これにより、補正制御手段124は、図5左図に示す画像におけるスミア領域を補正して、図5右図に示す画像を得る。   In step S210, the correction control unit 124 selects a smear correction process using the program shift unit 122 and causes the smear correction unit to perform correction. The program shift means 122 drives the aperture 109a to reduce the aperture 109a. Thereby, the correction control means 124 corrects the smear region in the image shown in the left diagram of FIG. 5 to obtain the image shown in the right diagram of FIG.

以上のように、補正制御手段124は、スミア領域の幅が第1閾値未満である場合、プログラムシフト手段122を用いるスミア補正処理を選択してスミア補正手段に補正を行わせる。補正制御手段124は、スミア領域の幅が第1閾値以上である場合、他のスミア補正処理を選択するように促す。これにより、被写体の画像において、スミアが低減されきれずに細い灰色の筋が残ることを抑制できる。   As described above, when the width of the smear region is less than the first threshold, the correction control unit 124 selects the smear correction process using the program shift unit 122 and causes the smear correction unit to perform correction. When the width of the smear region is equal to or greater than the first threshold value, the correction control unit 124 prompts the user to select another smear correction process. As a result, it is possible to prevent a thin gray streak from being left without smear being reduced in the subject image.

また、補正制御手段124は、さらに、スミア領域の移動量が第2閾値未満である場合、減算処理手段123を用いるスミア補正処理を選択してスミア補正手段に補正を行わせる。補正制御手段124は、スミア領域の移動量が第2閾値以上である場合、プログラムシフト手段122を用いるスミア補正処理を選択してスミア補正手段に補正を行わせる。これにより、スミア領域の端で過減算が発生して黒筋が発生することを低減できる。   Further, when the movement amount of the smear region is less than the second threshold, the correction control unit 124 selects a smear correction process using the subtraction processing unit 123 and causes the smear correction unit to perform correction. When the amount of movement of the smear region is equal to or greater than the second threshold, the correction control unit 124 selects a smear correction process using the program shift unit 122 and causes the smear correction unit to perform correction. Thereby, it is possible to reduce the occurrence of black streak due to excessive subtraction at the end of the smear region.

このように、スミア領域を適切に補正できる。   In this way, the smear region can be appropriately corrected.

なお、スミア情報は、スミア領域の幅、移動量、及び位置の少なくとも1つに関する情報であっても良い。この場合、撮像装置100がスミア領域を補正する処理の流れは、スミア情報に対応して、図2と異なる処理の流れであっても良い。   The smear information may be information related to at least one of the width, movement amount, and position of the smear area. In this case, the processing flow in which the imaging apparatus 100 corrects the smear area may be a processing flow different from that in FIG. 2 corresponding to the smear information.

次に、本発明の第2実施形態に係る撮像装置500について、図6を用いて説明する。図6は、本発明の第2実施形態に係る撮像装置500の構成図である。以下では、第1実施形態と異なる部分を中心に説明し、同様の部分に関しては説明を省略する。   Next, an imaging apparatus 500 according to the second embodiment of the present invention will be described with reference to FIG. FIG. 6 is a configuration diagram of an imaging apparatus 500 according to the second embodiment of the present invention. Below, it demonstrates centering on a different part from 1st Embodiment, and abbreviate | omits description about the same part.

撮像装置500は、その基本的な構成は第1実施形態と同様であるが、顔検出手段515、スミア検出手段506、及び制御部502を備える点で第1実施形態と異なる。すなわち、次の点で第1実施形態と異なる。   The basic configuration of the imaging apparatus 500 is the same as that of the first embodiment, but differs from the first embodiment in that it includes a face detection unit 515, a smear detection unit 506, and a control unit 502. That is, it differs from the first embodiment in the following points.

顔検出手段515は、A/D変換部104から受けたディジタル画像信号から、すなわち、被写体の画像から、顔領域を検出するとともに、顔情報を検出する。顔領域は、被写体の顔として認識された領域である。顔情報は、顔領域の位置に関する情報である。   The face detection unit 515 detects a face area and face information from the digital image signal received from the A / D conversion unit 104, that is, from the image of the subject. The face area is an area recognized as the face of the subject. The face information is information related to the position of the face area.

スミア検出手段506は、被写体の画像から、スミア領域を検出するとともに、スミア情報を検出する。スミア情報は、スミア領域の幅、移動量、及び位置に関する情報である。   The smear detection means 506 detects a smear area and smear information from the image of the subject. The smear information is information relating to the width, movement amount, and position of the smear area.

制御部502は、演算手段525を含む。演算手段525は、顔情報を顔検出手段515から受け取り、スミア情報をスミア検出手段506から受け取る。演算手段525は、スミア情報と顔情報とに基づいて、スミア領域と顔領域との相対的な位置を演算する。すなわち、演算手段525は、スミア情報と顔情報とに基づいて、一致度を演算する。一致度は、スミア領域と顔領域との重なり具合を示す。   The control unit 502 includes a calculation unit 525. The calculation unit 525 receives face information from the face detection unit 515 and receives smear information from the smear detection unit 506. The calculating means 525 calculates the relative positions of the smear area and the face area based on the smear information and the face information. That is, the calculating means 525 calculates the degree of coincidence based on the smear information and the face information. The degree of coincidence indicates the degree of overlap between the smear area and the face area.

制御部502の補正制御手段524は、スミア情報に応じて求められた情報、すなわち、スミア領域の顔領域に対する相対的な位置に応じて、複数のスミア補正処理のいずれかを選択してスミア補正手段に補正を行わせる。すなわち、補正制御手段524は、一致度が第3閾値(図7に示すTH)以上である場合、プログラムシフト手段122を用いるスミア補正処理を選択してスミア補正手段に補正を行わせる(図8参照)。   The correction control means 524 of the control unit 502 selects one of a plurality of smear correction processes according to the information obtained according to the smear information, that is, the relative position of the smear area to the face area, and performs smear correction. Let the means do the correction. That is, when the degree of coincidence is equal to or greater than the third threshold (TH shown in FIG. 7), the correction control unit 524 selects the smear correction process using the program shift unit 122 and causes the smear correction unit to perform correction (FIG. 8). reference).

また、撮像装置500がスミア領域を補正する処理の流れが、図7に示すように、次の点で第1実施形態と異なる。図7は、撮像装置500がスミア領域を補正する処理の流れを示すフローチャートである。   Further, as shown in FIG. 7, the flow of processing in which the imaging apparatus 500 corrects the smear region is different from that of the first embodiment in the following points. FIG. 7 is a flowchart showing a flow of processing in which the imaging apparatus 500 corrects the smear region.

ステップS603では、スミア検出手段506が、被写体の画像から、スミア情報を検出する。スミア情報は、スミア領域の幅、移動量、及び位置に関する情報である。   In step S603, the smear detection unit 506 detects smear information from the image of the subject. The smear information is information relating to the width, movement amount, and position of the smear area.

例えば、スミア検出手段506は、検出したスミア領域に属する画素の撮像領域における位置を検出することにより、スミア領域の位置を検出するとともに、スミア領域の位置に関する情報をスミア情報に含める。他の処理は、図2に示すステップS203と同様である。   For example, the smear detection unit 506 detects the position of the smear region by detecting the position of the pixel belonging to the detected smear region in the imaging region, and includes information on the position of the smear region in the smear information. The other processes are the same as step S203 shown in FIG.

ステップS608では、顔検出手段515が、被写体の画像から、顔領域を検出する。顔領域は、被写体の顔として認識された領域である。   In step S608, the face detection unit 515 detects a face area from the subject image. The face area is an area recognized as the face of the subject.

なお、本発明における顔検出に関しては、公知の顔検出技術を用いることとする。公知の顔検出技術としては、ニューラルネットワークに代表される学習を用いた手法、目や鼻や口といった形状に特徴のある部位を、画像領域からテンプレートマッチングを用い探し出し類似度が高ければ顔とみなす手法があげられる。また、他にも、肌の色や目の形といった画像特徴量を検出し統計的解析を用いた手法等、多数提案されており、一般的にはこれらの手法を複数組み合わせて顔認識するのが一般的である。   Note that a known face detection technique is used for the face detection in the present invention. As a known face detection technique, a method using learning typified by a neural network, a part having a characteristic shape such as an eye, nose, or mouth is searched from an image area using template matching, and is regarded as a face if the similarity is high. Techniques are listed. In addition, many other methods have been proposed, such as methods that detect image features such as skin color and eye shape and use statistical analysis. In general, multiple methods are used to recognize faces. Is common.

具体的な例としては特開平2002−251380号公報に記載のウェーブレット変換と画像特徴量を利用して顔検出する方法などが挙げられる。   Specific examples include a face detection method using wavelet transform and image feature amount described in JP-A-2002-251380.

ステップS609では、顔検出手段515が、被写体の画像から、顔情報を検出する。顔情報は、顔領域の位置に関する情報である。   In step S609, the face detection unit 515 detects face information from the image of the subject. The face information is information related to the position of the face area.

例えば、顔検出手段515は、検出した顔領域に属する画素の撮像領域における位置を検出することにより、顔領域の位置を検出するとともに、顔領域の位置に関する情報を顔情報に含める。   For example, the face detection unit 515 detects the position of the face area by detecting the position of the pixel belonging to the detected face area in the imaging area, and includes information on the position of the face area in the face information.

ステップS611では、制御部502の演算手段525が、顔情報を顔検出手段515から受け取り、スミア情報をスミア検出手段506から受け取る。演算手段525は、スミア情報と顔情報とに基づいて、スミア領域と顔領域との相対的な位置を演算する。すなわち、演算手段525は、スミア情報と顔情報とに基づいて、一致度を演算する。一致度は、スミア領域と顔領域との重なり具合を示す指標であり、例えば次の数式1により演算される。   In step S611, the calculation unit 525 of the control unit 502 receives face information from the face detection unit 515 and receives smear information from the smear detection unit 506. The calculating means 525 calculates the relative positions of the smear area and the face area based on the smear information and the face information. That is, the calculating means 525 calculates the degree of coincidence based on the smear information and the face information. The degree of coincidence is an index indicating the degree of overlap between the smear area and the face area, and is calculated by, for example, the following Equation 1.

α=(スミア領域と顔領域とが重なっている領域の面積)
÷(顔領域の面積)・・・数式1
ステップS612では、補正制御手段524が、一致度が第3閾値(TH)以上であるか否かを判断する。補正制御手段524は、一致度が第3閾値以上であると判断する場合、処理をステップS10へ進め、一致度が第3閾値以上でないと判断する場合、処理をステップS207へ進める。
α = (Area area where smear area and face area overlap)
÷ (Area of the face area) ... Equation 1
In step S612, the correction control means 524 determines whether or not the degree of coincidence is greater than or equal to the third threshold value (TH). Correction control means 524, if the match degree is judged to be the third threshold value or more, the process proceeds to step S 6 10, if it is determined that the degree of coincidence is not the third threshold value or more, the process proceeds to step S207.

ステップS610では、補正制御手段524が、プログラムシフト手段122を用いるスミア補正処理を選択してスミア補正手段に補正を行わせる。プログラムシフト手段122は、絞り109aを駆動して、絞り109aを絞る。これにより、補正制御手段524は、図8左図に示す画像におけるスミア領域を補正して、図8右図に示す画像を得る。   In step S610, the correction control unit 524 selects a smear correction process using the program shift unit 122 and causes the smear correction unit to perform correction. The program shift means 122 drives the aperture 109a to reduce the aperture 109a. Thereby, the correction control means 524 corrects the smear region in the image shown in the left diagram of FIG. 8 to obtain the image shown in the right diagram of FIG.

以上のように、補正制御手段524は、スミア領域と顔領域との重なり具合を示す一致度が第3閾値以上である場合、プログラムシフト手段122を用いるスミア補正処理を選択してスミア補正手段に補正を行わせる。補正制御手段524は、一致度が第3閾値未満である場合、減算処理手段123を用いるスミア補正処理を選択してスミア補正手段に補正を行わせる。これにより、スミア領域が被写体の顔にかかっている場合に、被写体の画像において顔に黒筋がかかってしまうことを低減できる。   As described above, the correction control unit 524 selects the smear correction process using the program shift unit 122 when the degree of coincidence indicating the degree of overlap between the smear region and the face region is equal to or greater than the third threshold value, and sets the smear correction unit to the smear correction unit. Make corrections. When the degree of coincidence is less than the third threshold, the correction control unit 524 selects a smear correction process using the subtraction processing unit 123 and causes the smear correction unit to perform correction. Thereby, when the smear region is applied to the face of the subject, it is possible to reduce the occurrence of black stripes on the face in the image of the subject.

以上、この発明の実施形態について図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の変更等も含まれる。例えば、スミア領域を補正する際に、補正制御手段はプログラムシフト手段122と減算処理手段123のいずれかを用いるスミア補正処理を選択するのではなく、これらを併用しながら互いの重み付けを異ならせるようにしても構わない。例えば、図2と図7とにおけるステップS207では、減算処理手段123によるスミア信号成分の減算処理だけでなく、これと並行してプログラムシフト手段122に絞り109aを絞らせてもよい。減算処理手段123で大まかにスミア領域を補正して、残りをプログラムシフト手段122で補正することにより、過減算のリスクを抑えつつも、プログラムシフト手段122のみでスミア領域を補正した場合よりも好適な結果が得られることもある。   The embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to this embodiment, and includes modifications and the like without departing from the gist of the present invention. For example, when correcting the smear area, the correction control means does not select the smear correction process using either the program shift means 122 or the subtraction processing means 123, but makes the weights different from each other while using them together. It doesn't matter. For example, in step S207 in FIG. 2 and FIG. 7, not only the smear signal component subtraction process by the subtraction processing means 123 but also the program shift means 122 may reduce the aperture 109a in parallel. The smear area is roughly corrected by the subtraction processing means 123, and the rest is corrected by the program shift means 122, so that the risk of oversubtraction is suppressed, but the smear area is corrected only by the program shift means 122. Results may be obtained.

本発明の第1実施形態に係る撮像装置の構成図。1 is a configuration diagram of an imaging apparatus according to a first embodiment of the present invention. 撮像装置がスミア領域を補正する処理の流れを示すフローチャート。6 is a flowchart showing a flow of processing in which the imaging apparatus corrects a smear region. 被写体の画像におけるスミア領域を示す図。The figure which shows the smear area | region in the image | photograph of a to-be-photographed object. 被写体の画像におけるスミア領域を示す図。The figure which shows the smear area | region in the image | photograph of a to-be-photographed object. 被写体の画像におけるスミア領域を示す図。The figure which shows the smear area | region in the image | photograph of a to-be-photographed object. 本発明の第2実施形態に係る撮像装置の構成図。The block diagram of the imaging device which concerns on 2nd Embodiment of this invention. 撮像装置がスミア領域を補正する処理の流れを示すフローチャート。6 is a flowchart showing a flow of processing in which the imaging apparatus corrects a smear region. 被写体の画像におけるスミア領域を示す図。The figure which shows the smear area | region in the image | photograph of a to-be-photographed object. 本発明の課題を説明する図。The figure explaining the subject of this invention. 本発明の課題を説明する図。The figure explaining the subject of this invention.

符号の説明Explanation of symbols

101 操作部
102 制御部
103 撮像手段
104 A/D変換部
105 画像処理部
106 スミア検出手段
107 EVF表示部
108 AF処理部
108a レンズ
109 AE処理部
109a メカ機構
110 EF処理部
111 フラッシュ部
112 フォーマット変換部
113 画像記録部
114 外部接続部
201 操作部
202 制御部
203 撮像手段
204 A/D変換部
205 画像処理部
206 スミア検出手段
207 EVF表示部
208 AF処理部
208a レンズ
209 AE処理部
209a メカ機構
210 EF処理部
211 フラッシュ部
212 フォーマット変換部
213 画像記録部
214 外部接続部
215 被写体検出部
101 Operation Unit 102 Control Unit 103 Imaging Unit 104 A / D Conversion Unit 105 Image Processing Unit 106 Smear Detection Unit 107 EVF Display Unit 108 AF Processing Unit 108a Lens 109 AE Processing Unit 109a Mechanical Mechanism 110 EF Processing Unit 111 Flash Unit 112 Format Conversion Unit 113 image recording unit 114 external connection unit 201 operation unit 202 control unit 203 imaging unit 204 A / D conversion unit 205 image processing unit 206 smear detection unit 207 EVF display unit 208 AF processing unit 208a lens 209 AE processing unit 209a mechanical mechanism 210 EF processing unit 211 flash unit 212 format conversion unit 213 image recording unit 214 external connection unit 215 subject detection unit

Claims (8)

撮像手段により取得された被写体の画像データから、スミアが発生したスミア領域を検出するとともに、前記スミア領域の幅を検出するスミア検出手段と、
前記撮像手段の非読み出し領域または遮光領域の画素から出力されたデータから、前記スミアのスミア信号成分を取得するスミア信号成分取得手段と、
前記撮像手段へ入射する光量を調整するために絞りを駆動する絞り手段と、
前記撮像手段により取得された画像データから前記スミア信号成分を減算するための減算処理手段と、
前記スミア領域の幅が予め決められた幅未満であることを含む予め定められた条件を満たす場合に、前記絞り手段に絞りを絞らせることによりスミアを低減し、前記スミア領域の幅が予め決められた幅以上であることを含む予め定められた条件を満たす場合に、前記減算処理手段に前記撮像手段により取得された画像データから前記スミア信号成分を減算させることによりスミアを低減する補正を行うように制御する補正制御手段と
を備えることを特徴とする撮像装置。
Smear detection means for detecting a smear area where smear has occurred from image data of the subject acquired by the imaging means, and detecting a width of the smear area;
Smear signal component acquisition means for acquiring a smear signal component of the smear from data output from a pixel in a non-readout area or a light shielding area of the imaging means;
Diaphragm means for driving the diaphragm to adjust the amount of light incident on the imaging means;
Subtraction processing means for subtracting the smear signal component from the image data obtained by the imaging means;
When a predetermined condition including that the width of the smear region is less than a predetermined width is satisfied, smear is reduced by causing the aperture means to reduce the aperture, and the width of the smear region is determined in advance. When a predetermined condition including being equal to or greater than a predetermined width is satisfied, correction is performed to reduce smear by causing the subtraction processing unit to subtract the smear signal component from the image data acquired by the imaging unit. Correction control means for controlling
An imaging apparatus comprising:
撮像手段により取得された被写体の画像データから、スミアが発生したスミア領域を検出するとともに、前記スミア領域の移動量を検出するスミア検出手段と、  Smear detection means for detecting a smear area where smear has occurred and detecting a movement amount of the smear area from image data of the subject acquired by the imaging means;
前記撮像手段の非読み出し領域または遮光領域の画素から出力されたデータから、前記スミアのスミア信号成分を取得するスミア信号成分取得手段と、  Smear signal component acquisition means for acquiring a smear signal component of the smear from data output from a pixel in a non-readout area or a light shielding area of the imaging means;
前記撮像手段へ入射する光量を調整するために絞りを駆動する絞り手段と、  Diaphragm means for driving the diaphragm to adjust the amount of light incident on the imaging means;
前記撮像手段により取得された画像データから前記スミア信号成分を減算するための減算処理手段と、  Subtraction processing means for subtracting the smear signal component from the image data obtained by the imaging means;
前記スミア領域の移動量が予め決められた移動量未満であることを含む予め定められた条件を満たす場合に、前記減算処理手段に前記撮像手段により取得された画像データから前記スミア信号成分を減算させることによりスミアを低減し、前記スミア領域の移動量が予め決められた移動量以上であることを含む予め定められた条件を満たす場合に、前記絞り手段に絞りを絞らせることによりスミアを低減する補正を行うように制御する補正制御手段と  When a predetermined condition including that the amount of movement of the smear region is less than a predetermined amount of movement is satisfied, the smear signal component is subtracted from the image data acquired by the imaging unit to the subtraction processing unit. The smear is reduced by reducing the smear area, and when the predetermined amount condition that the movement amount of the smear region is equal to or greater than the predetermined movement amount is satisfied, the throttling means reduces the smear. Correction control means for controlling to perform correction
を備えることを特徴とする撮像装置。An imaging apparatus comprising:
撮像手段により取得された被写体の画像データから、スミアが発生したスミア領域を検出するスミア検出手段と、  Smear detection means for detecting a smear area where smear has occurred from the image data of the subject acquired by the imaging means;
前記撮像手段の非読み出し領域または遮光領域の画素から出力されたデータから、前記スミアのスミア信号成分を取得するスミア信号成分取得手段と、  Smear signal component acquisition means for acquiring a smear signal component of the smear from data output from a pixel in a non-readout area or a light shielding area of the imaging means;
前記撮像手段へ入射する光量を調整するために絞りを駆動する絞り手段と、  Diaphragm means for driving the diaphragm to adjust the amount of light incident on the imaging means;
前記撮像手段により取得された画像データから前記スミア信号成分を減算するための減算処理手段と、  Subtraction processing means for subtracting the smear signal component from the image data obtained by the imaging means;
前記被写体の画像データから、前記被写体の顔として認識される顔領域を検出する顔検出手段と、  Face detection means for detecting a face area recognized as the face of the subject from the image data of the subject;
前記スミア領域の位置と、前記顔領域の位置とから、前記スミア領域と前記顔領域との重なり具合を示す一致度を演算する演算手段と、  An arithmetic means for calculating a degree of coincidence indicating the degree of overlap between the smear area and the face area from the position of the smear area and the position of the face area;
前記一致度が予め決められた一致度以上であることを含む予め定められた条件を満たす場合に、前記絞り手段に絞りを絞らせることによりスミアを低減し、前記一致度が予め決められた一致度未満であることを含む予め定められた条件を満たす場合に、前記減算処理手段に前記撮像手段により取得された画像データから前記スミア信号成分を減算することによりスミアを低減する補正を行うように制御する補正制御手段と  When a predetermined condition including that the degree of coincidence is equal to or higher than a predetermined degree of coincidence is satisfied, smear is reduced by narrowing the diaphragm to the diaphragm, and the degree of coincidence is predetermined. In a case where a predetermined condition including that of less than the predetermined condition is satisfied, correction is performed to reduce smear by subtracting the smear signal component from the image data acquired by the imaging unit to the subtraction processing unit. Correction control means to control and
を備えることを特徴とする撮像装置。An imaging apparatus comprising:
前記スミア検出手段は、更に、前記スミア領域の移動量を検出し、  The smear detection means further detects the amount of movement of the smear region,
前記補正制御手段は、前記スミア領域の幅が予め決められた幅未満、または、前記スミア領域の移動量が予め決められた移動量以上である場合に、前記絞り手段に絞りを絞らせることによりスミアを低減する補正を行うように制御することを特徴とする請求項1に記載の撮像装置。  The correction control means causes the diaphragm means to narrow the diaphragm when the width of the smear area is less than a predetermined width or the movement amount of the smear area is greater than or equal to a predetermined movement amount. The imaging apparatus according to claim 1, wherein control is performed so as to perform correction to reduce smear.
前記スミア検出手段は、更に、前記スミア領域の幅および移動量を検出し、  The smear detection means further detects a width and a movement amount of the smear region,
前記補正制御手段は、前記スミア領域の幅が前記予め決められた幅以上、且つ、前記スミア領域の移動量が予め決められた移動量未満または前記一致度が予め決められた一致度未満の場合に、前記減算処理手段に前記撮像手段により取得された画像データから前記スミア信号成分を減算させることによりスミアを低減する補正を行うように制御することを特徴とする請求項3に記載の撮像装置。  When the width of the smear region is equal to or greater than the predetermined width and the amount of movement of the smear region is less than a predetermined amount of movement or the degree of coincidence is less than a predetermined degree of coincidence, The imaging apparatus according to claim 3, wherein the subtraction processing unit is controlled to perform correction to reduce smear by subtracting the smear signal component from the image data acquired by the imaging unit. .
撮像手段と、前記撮像手段へ入射する光量を調整するために絞りを駆動する絞り手段とを有する撮像装置の制御方法であって、  An imaging apparatus control method comprising: imaging means; and diaphragm means for driving a diaphragm to adjust the amount of light incident on the imaging means,
スミア検出手段が、撮像手段により取得された被写体の画像データから、スミアが発生したスミア領域を検出するとともに、前記スミア領域の幅を検出するスミア検出工程と、  A smear detecting step for detecting a smear area where smear has occurred and detecting a width of the smear area from the image data of the subject acquired by the imaging means;
スミア信号成分取得手段が、前記撮像手段の非読み出し領域または遮光領域の画素から出力されたデータから、前記スミアのスミア信号成分を取得するスミア信号成分取得工程と、  A smear signal component acquisition unit acquires a smear signal component of the smear from data output from a pixel in a non-readout region or a light shielding region of the imaging unit;
補正制御手段が、前記スミア領域の幅が予め決められた幅未満であることを含む予め定められた条件を満たす場合に、前記絞り手段に絞りを絞らせることによりスミアを低減する第1の補正工程と、  A first correction for reducing smear by causing the diaphragm means to squeeze the diaphragm when the correction control means satisfies a predetermined condition including that the width of the smear region is less than a predetermined width. Process,
前記補正制御手段が、前記スミア領域の幅が予め決められた幅以上であることを含む予め定められた条件を満たす場合に、前記撮像手段により取得された画像データから前記スミア信号成分を減算させることによりスミアを低減する第2の補正工程と  The correction control means subtracts the smear signal component from the image data acquired by the imaging means when a predetermined condition including that the width of the smear region is equal to or larger than a predetermined width is satisfied. A second correction step for reducing smear by
を備えることを特徴とする撮像装置の制御方法。An image pickup apparatus control method comprising:
撮像手段と、前記撮像手段へ入射する光量を調整するために絞りを駆動する絞り手段とを有する撮像装置の制御方法であって、  An imaging apparatus control method comprising: imaging means; and diaphragm means for driving a diaphragm to adjust the amount of light incident on the imaging means,
スミア検出手段が、撮像手段により取得された被写体の画像データから、スミアが発生したスミア領域を検出するとともに、前記スミア領域の移動量を検出するスミア検出工程と、  A smear detection step for detecting a smear region where smear has occurred and detecting a movement amount of the smear region from the image data of the subject acquired by the imaging unit;
スミア信号成分取得手段が、前記撮像手段の非読み出し領域または遮光領域の画素から出力されたデータから、前記スミアのスミア信号成分を取得するスミア信号成分取得工程と、  A smear signal component acquisition unit acquires a smear signal component of the smear from data output from a pixel in a non-readout region or a light shielding region of the imaging unit;
補正制御手段が、前記スミア領域の移動量が予め決められた移動量未満であることを含む予め定められた条件を満たす場合に、前記撮像手段により取得された画像データから前記スミア信号成分を減算させることによりスミアを低減する第1の補正工程と、  The correction control means subtracts the smear signal component from the image data acquired by the imaging means when a predetermined condition including that the movement amount of the smear region is less than a predetermined movement amount is satisfied. A first correction step for reducing smear by causing
前記補正制御手段が、前記スミア領域の移動量が予め決められた移動量以上であることを含む予め定められた条件を満たす場合に、絞り手段に絞りを絞らせることによりスミアを低減する第2の補正工程と  The correction control means reduces the smear by reducing the diaphragm to a diaphragm when a predetermined condition including that the movement amount of the smear region is equal to or greater than a predetermined movement amount is satisfied. Correction process and
を備えることを特徴とする撮像装置の制御方法。An image pickup apparatus control method comprising:
撮像手段と、前記撮像手段へ入射する光量を調整するために絞りを駆動する絞り手段とを有する撮像装置の制御方法であって、  An imaging apparatus control method comprising: imaging means; and diaphragm means for driving a diaphragm to adjust the amount of light incident on the imaging means,
スミア検出手段が、撮像手段により取得された被写体の画像データから、スミアが発生したスミア領域を検出するスミア検出工程と、  A smear detection step in which the smear detection means detects a smear area where the smear has occurred from the image data of the subject acquired by the imaging means;
スミア信号成分取得手段が、前記撮像手段の非読み出し領域または遮光領域の画素から出力されたデータから、前記スミアのスミア信号成分を取得するスミア信号成分取得工程と、  A smear signal component acquisition unit acquires a smear signal component of the smear from data output from a pixel in a non-readout region or a light shielding region of the imaging unit;
顔検出手段が、前記被写体の画像データから、前記被写体の顔として認識される顔領域を検出する顔検出工程と、  A face detecting step of detecting a face area recognized as the face of the subject from the image data of the subject;
演算手段が、前記スミア領域の位置と、前記顔領域の位置とから、前記スミア領域と前記顔領域との重なり具合を示す一致度を演算する演算工程と、  A calculating step of calculating a degree of coincidence indicating the degree of overlap between the smear area and the face area from the position of the smear area and the position of the face area;
補正制御手段が、前記一致度が予め決められた一致度以上であることを含む予め定められた条件を満たす場合に、前記絞り手段に絞りを絞らせることによりスミアを低減する第1の補正工程と、  A first correction step in which the correction control means reduces smear by causing the diaphragm means to squeeze the diaphragm when a predetermined condition including that the degree of coincidence is equal to or greater than a predetermined degree of coincidence is satisfied. When,
前記補正制御手段が、前記一致度が予め決められた一致度未満であることを含む予め定められた条件を満たす場合に、前記撮像手段により取得された画像データから前記スミア信号成分を減算させることによりスミアを低減する第2の補正工程と  The correction control means subtracts the smear signal component from the image data acquired by the imaging means when a predetermined condition including that the degree of coincidence is less than a predetermined degree of coincidence is satisfied. A second correction step for reducing smear by
を備えることを特徴とする撮像装置の制御方法。An image pickup apparatus control method comprising:
JP2007103302A 2007-04-10 2007-04-10 IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD Expired - Fee Related JP4845796B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007103302A JP4845796B2 (en) 2007-04-10 2007-04-10 IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007103302A JP4845796B2 (en) 2007-04-10 2007-04-10 IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD

Publications (3)

Publication Number Publication Date
JP2008263319A JP2008263319A (en) 2008-10-30
JP2008263319A5 JP2008263319A5 (en) 2010-04-30
JP4845796B2 true JP4845796B2 (en) 2011-12-28

Family

ID=39985500

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007103302A Expired - Fee Related JP4845796B2 (en) 2007-04-10 2007-04-10 IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD

Country Status (1)

Country Link
JP (1) JP4845796B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5390943B2 (en) * 2008-07-16 2014-01-15 キヤノン株式会社 Image processing apparatus and image processing method
JP2010183481A (en) * 2009-02-09 2010-08-19 Hitachi Kokusai Electric Inc Solid-state imaging device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003143486A (en) * 2001-11-02 2003-05-16 Olympus Optical Co Ltd Image pickup device
JP2004260699A (en) * 2003-02-27 2004-09-16 Canon Inc Imaging device, imaging method, and program
JP4412929B2 (en) * 2003-07-30 2010-02-10 セコム株式会社 Face detection device
JP4742359B2 (en) * 2005-05-19 2011-08-10 カシオ計算機株式会社 Movie imaging apparatus and program thereof

Also Published As

Publication number Publication date
JP2008263319A (en) 2008-10-30

Similar Documents

Publication Publication Date Title
US7940325B2 (en) Apparatus and method of capturing images having optimized quality under night scene conditions
US8937677B2 (en) Digital photographing apparatus, method of controlling the same, and computer-readable medium
US8570429B2 (en) Image processing method and apparatus and digital photographing apparatus using the same
US9025050B2 (en) Digital photographing apparatus and control method thereof
US20070206941A1 (en) Imaging apparatus and imaging method
US9838625B2 (en) Image processing apparatus and control method for image processing apparatus for controlling correction of a black level in a combined image signal
KR20070035991A (en) Imaging Apparatus, Exposure Control Apparatus, Method and Program
US9071766B2 (en) Image capturing apparatus and control method thereof
US20150358552A1 (en) Image combining apparatus, image combining system, and image combining method
US10270991B2 (en) Image processing apparatus, image processing method, and computer-readable recording medium
KR100601312B1 (en) Automatic exposure compensation device and method of digital still camera
US20100245590A1 (en) Camera sensor system self-calibration
JP4845796B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP7442989B2 (en) Imaging device, control method for the imaging device, and program
JP4260003B2 (en) Electronic camera
JP2009017427A (en) Imaging device
KR20130134165A (en) Photographing apparatus, method for controlling the same, and computer-readable recording medium
KR101429512B1 (en) BANDING NOISE REMOVING DEVICE AND METHOD
KR101605769B1 (en) Image processing method and apparatus, and digital photographing apparatus using thereof
JP6659163B2 (en) Flash band determination device, control method thereof, and program
JP5307572B2 (en) Imaging system, video signal processing program, and imaging method
JP4871664B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP7815301B2 (en) Imaging device, control method and program thereof
US20250310651A1 (en) Image capturing apparatus capable of acquiring image balanced in light portions and dark portions, method of controlling image capturing apparatus, and storage medium
KR101416236B1 (en) Digital photographing apparatus for automatically performing auto focusing and control method thereof

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100316

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100316

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110810

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

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

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

Free format text: PAYMENT UNTIL: 20141021

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20141021

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees