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
JP4859787B2 - Imaging apparatus and image processing method - Google Patents
[go: Go Back, main page]

JP4859787B2 - Imaging apparatus and image processing method - Google Patents

Imaging apparatus and image processing method Download PDF

Info

Publication number
JP4859787B2
JP4859787B2 JP2007211017A JP2007211017A JP4859787B2 JP 4859787 B2 JP4859787 B2 JP 4859787B2 JP 2007211017 A JP2007211017 A JP 2007211017A JP 2007211017 A JP2007211017 A JP 2007211017A JP 4859787 B2 JP4859787 B2 JP 4859787B2
Authority
JP
Japan
Prior art keywords
subject
camera
motion
motion detection
image
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
JP2007211017A
Other languages
Japanese (ja)
Other versions
JP2009049480A (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2007211017A priority Critical patent/JP4859787B2/en
Publication of JP2009049480A publication Critical patent/JP2009049480A/en
Application granted granted Critical
Publication of JP4859787B2 publication Critical patent/JP4859787B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Exposure Control For Cameras (AREA)
  • Focusing (AREA)
  • Automatic Focus Adjustment (AREA)
  • Studio Devices (AREA)

Description

この発明は、カメラの焦点を自動的に調整するオートフォーカス機能や、カメラの露光時間を自動的に調整する自動露光機能などを備えている撮像装置及び画像処理方法に関するものである。   The present invention relates to an imaging apparatus and an image processing method having an autofocus function for automatically adjusting the focus of a camera, an automatic exposure function for automatically adjusting the exposure time of a camera, and the like.

従来の撮像装置は、画像認識処理を実施して進入物体の移動速度を検出し、その進入物体の移動速度に応じてシャッタースピードを制御することで、ブレのない画像の記録を行えるようにする機能を備えている。
また、画像認識処理を実施して進入物体の近傍の明るさを検出し、その進入物体の近傍の明るさに応じて絞りを制御することで、適正な輝度の画像の記録を行えるようにする機能を備えている(例えば、特許文献1を参照)。
A conventional imaging device performs image recognition processing to detect the moving speed of an approaching object, and controls the shutter speed according to the moving speed of the approaching object, thereby enabling recording of a blur-free image. It has a function.
In addition, image recognition processing is performed to detect the brightness in the vicinity of the approaching object, and the aperture is controlled according to the brightness in the vicinity of the approaching object, so that an image with appropriate luminance can be recorded. It has a function (see, for example, Patent Document 1).

特開2004−343803号公報(段落番号[0024]から[0028]、図1)JP 2004-343803 A (paragraph numbers [0024] to [0028], FIG. 1)

従来の撮像装置は以上のように構成されているので、例えば、屋内蛍光灯を光源とする照明下で撮影するときにフリッカが発生すると、カメラの撮像画像に縞状の輝度の濃淡が発生する。縞状の輝度の濃淡はフレーム毎に移動するため、進入物体の認識を正しく行うことができず、進入物体に対する輝度の制御を適切に行えなくなることがある課題があった。
また、カメラの撮像画像内に複数の被写体が同時に存在している場合、各被写体の動きを検出するだけでは、正確に進入物体を検出することができないことがある課題があった。
Since the conventional imaging apparatus is configured as described above, for example, when flicker occurs when shooting under illumination using an indoor fluorescent lamp as a light source, stripe-like luminance shading occurs in the captured image of the camera. . Since the brightness of the striped brightness moves from frame to frame, there is a problem that the approaching object cannot be recognized correctly and the brightness control on the approaching object cannot be performed properly.
Further, when there are a plurality of subjects at the same time in the captured image of the camera, there is a problem that it is not possible to accurately detect the entering object only by detecting the movement of each subject.

この発明は上記のような課題を解決するためになされたもので、フリッカが発生しても、進入物体である被写体の画像の鮮明化を図ることができる撮像装置及び画像処理方法を得ることを目的とする。
また、この発明は、カメラの撮像画像内に複数の被写体が同時に存在している場合でも、進入物体である被写体を容易に検出することができる撮像装置を得ることを目的とする。
The present invention has been made to solve the above-described problems, and it is an object of the present invention to obtain an imaging apparatus and an image processing method that can sharpen an image of a subject that is an entering object even if flicker occurs. Objective.
Another object of the present invention is to provide an imaging device that can easily detect a subject that is an entering object even when a plurality of subjects are present simultaneously in a captured image of a camera.

この発明に係る撮像装置は、カメラにより生成された画像データを解析して、撮像画像内に存在する被写体の動きを検出する動き検出手段と、カメラにより生成された画像データから撮像画像のライン毎の画素値の積算値を求め、ライン毎の画素値の積算値とカメラの露光時間及びフレームレートからフリッカの発生状況を特定するフリッカ発生状況特定手段とを設け、動き補正手段がフリッカ発生状況特定手段により特定されたフリッカの発生状況に応じて動き検出手段により検出された被写体の動きを補正するようにしたものである。   An image pickup apparatus according to the present invention analyzes image data generated by a camera and detects motion of a subject existing in the picked-up image, and each line of the picked-up image from the image data generated by the camera. Is provided with flicker occurrence status specifying means for determining the flicker occurrence status from the integrated pixel value for each line and the exposure time and frame rate of the camera, and the motion correction means identifies the flicker occurrence status. The motion of the subject detected by the motion detection means is corrected according to the flicker occurrence status specified by the means.

この発明によれば、カメラにより生成された画像データを解析して、撮像画像内に存在する被写体の動きを検出する動き検出手段と、カメラにより生成された画像データから撮像画像のライン毎の画素値の積算値を求め、ライン毎の画素値の積算値とカメラの露光時間及びフレームレートからフリッカの発生状況を特定するフリッカ発生状況特定手段とを設け、動き補正手段がフリッカ発生状況特定手段により特定されたフリッカの発生状況に応じて動き検出手段により検出された被写体の動きを補正するように構成したので、フリッカが発生しても、進入物体である被写体の画像の鮮明化を図ることができる効果がある。   According to the present invention, the image data generated by the camera is analyzed to detect the motion of the subject existing in the captured image, and the pixel for each line of the captured image from the image data generated by the camera. A flicker occurrence status specifying means for determining the flicker occurrence status from the integrated value of the pixel value for each line and the exposure time and frame rate of the camera is provided, and the motion correction means is provided by the flicker occurrence status specifying means. Since the movement of the subject detected by the motion detection unit is corrected according to the identified flicker occurrence state, the image of the subject that is the entering object can be sharpened even if flicker occurs. There is an effect that can be done.

実施の形態1.
図1はこの発明の実施の形態1による撮像装置を示す構成図であり、図において、カメラモジュール1は入射光を結像するレンズ系と、そのレンズ系を移動して焦点を調整するオートフォーカス処理用のレンズ移動機構と、そのレンズ系により結像された光画像を電気信号に変換して、各色成分(R,G,B)の信号レベルを示す撮像画像の画像データを生成する撮像素子とを備えている。
画像入力部2はカメラモジュール1により生成された画像データの形式変換や、有効画像エリアの切り出し処理などを実施して、後段の画像処理部3が処理可能なデータ形式の画像データを出力する。
Embodiment 1 FIG.
FIG. 1 is a block diagram showing an image pickup apparatus according to Embodiment 1 of the present invention. In the figure, a camera module 1 has a lens system that forms incident light and an autofocus that moves the lens system to adjust the focus. A lens moving mechanism for processing and an image sensor that converts an optical image formed by the lens system into an electrical signal and generates image data of a captured image indicating a signal level of each color component (R, G, B) And.
The image input unit 2 performs format conversion of the image data generated by the camera module 1, clipping of an effective image area, and the like, and outputs image data in a data format that can be processed by the subsequent image processing unit 3.

画像処理部3は画像入力部2による処理後の画像データに対する画像処理(例えば、画素補間処理、階調変換処理、色補正処理)を実施するとともに、オートフォーカス処理や自動露光処理などの撮像制御処理を実施する。
画像出力部4は画像処理部3による画像処理後の画像データの画像出力サイズやデータ形式を画像記録装置5に適するものに変換する処理を実施する。
画像記録装置5は画像出力部4から出力された画像データを画像メモリに記録する処理を実施する。
The image processing unit 3 performs image processing (for example, pixel interpolation processing, gradation conversion processing, color correction processing) on the image data processed by the image input unit 2, and performs imaging control such as autofocus processing and automatic exposure processing. Perform the process.
The image output unit 4 performs processing for converting the image output size and data format of the image data after the image processing by the image processing unit 3 into one suitable for the image recording device 5.
The image recording device 5 performs a process of recording the image data output from the image output unit 4 in an image memory.

画像処理部3の動き検出処理部11は画像入力部2による処理後の画像データを解析して、撮像画像内に存在する被写体の動きを検出する処理を実施する。なお、動き検出処理部11は動き検出手段を構成している。
画素値積算部12は画像入力部2による処理後の画像データから撮像画像のライン毎の画素値の積算値を算出する処理を実施する。
フリッカ検出処理部13は画素値積算部12により算出された撮像画像のライン毎の画素値の積算値と、自動露光処理部17により算出されたカメラモジュール1の露光時間及びフレームレートとから、フリッカの発生状況(フリッカの発生有無、フリッカの発生強度、フリッカの移動方向及び移動速度)を特定する処理を実施する。
ここでは、フリッカ検出処理部13が撮像画像のライン毎の画素値の積算値と、カメラモジュール1の露光時間及びフレームレートとから、フリッカの発生状況を特定するものについて示したが、後述するように、電源の周波数と、カメラモジュール1の露光時間及びフレームレートとから、フリッカの発生状況を特定するようにしてもよい。
なお、画素値積算部12及びフリッカ検出処理部13からフリッカ発生状況特定手段が構成されている。
The motion detection processing unit 11 of the image processing unit 3 analyzes the image data processed by the image input unit 2 and performs a process of detecting the motion of the subject existing in the captured image. The motion detection processing unit 11 constitutes motion detection means.
The pixel value integrating unit 12 performs a process of calculating an integrated value of pixel values for each line of the captured image from the image data processed by the image input unit 2.
The flicker detection processing unit 13 calculates the flicker from the integrated value of the pixel values for each line of the captured image calculated by the pixel value integration unit 12 and the exposure time and frame rate of the camera module 1 calculated by the automatic exposure processing unit 17. The processing for specifying the occurrence status (occurrence of flicker occurrence, flicker occurrence intensity, flicker moving direction and moving speed) is performed.
Here, the flicker detection processing unit 13 has been shown to identify the flicker occurrence state from the integrated value of the pixel values for each line of the captured image, the exposure time and the frame rate of the camera module 1, but will be described later. In addition, the flicker occurrence status may be specified from the frequency of the power source, the exposure time and the frame rate of the camera module 1.
The pixel value integrating unit 12 and the flicker detection processing unit 13 constitute flicker occurrence status specifying means.

動き検出補正部14はフリッカ検出処理部13により特定されたフリッカの発生状況に応じて動き検出処理部11により検出された被写体の動きを補正して、動き検出処理部11の動き検出結果からフリッカの影響を排除する処理を実施する。なお、動き検出補正部14は動き補正手段を構成している。   The motion detection correction unit 14 corrects the motion of the subject detected by the motion detection processing unit 11 according to the flicker occurrence status specified by the flicker detection processing unit 13, and flickers from the motion detection result of the motion detection processing unit 11. Implement processing to eliminate the effects of The motion detection / correction unit 14 constitutes a motion correction unit.

合焦検出部15は画像入力部2による処理後の画像データの高周波成分を抽出し、その高周波成分から被写体の合焦状態を示す指標値を算出する処理を実施する。
オートフォーカス処理部16は動き検出補正部14により補正された被写体の動きに合わせて、オートフォーカス処理用の検波ウィンドウを設定し、合焦検出部15により算出された指標値に応じてカメラモジュール1のレンズ移動機構を制御することにより、カメラモジュール1の撮像素子の焦点を調整する処理を実施する。
なお、合焦検出部15及びオートフォーカス処理部16からオートフォーカス処理手段が構成されている。
The focus detection unit 15 extracts a high-frequency component of the image data processed by the image input unit 2, and performs a process of calculating an index value indicating the focus state of the subject from the high-frequency component.
The autofocus processing unit 16 sets a detection window for autofocus processing in accordance with the movement of the subject corrected by the motion detection correction unit 14, and the camera module 1 according to the index value calculated by the focus detection unit 15. By controlling the lens moving mechanism, the process of adjusting the focus of the image sensor of the camera module 1 is performed.
The focus detection unit 15 and the autofocus processing unit 16 constitute an autofocus processing means.

自動露光処理部17は被写体の動きのあるポイントを中心に撮像画像の自動露光を行うものであり、画素値積算部12により算出された撮像画像のライン毎の画素値の積算値と、動き検出補正部14により補正された被写体の動きとから、カメラモジュール1の露光時間やアナログゲインアンプのゲイン倍率を算出して、カメラモジュール1の露光時間やアナログゲインアンプのゲイン倍率を調整する処理を実施する。なお、自動露光処理部17は自動露光処理手段を構成している。   The automatic exposure processing unit 17 performs automatic exposure of the captured image around a point where the subject moves, and the integrated value of the pixel value for each line of the captured image calculated by the pixel value integrating unit 12 and the motion detection. From the movement of the subject corrected by the correction unit 14, the exposure time of the camera module 1 and the gain magnification of the analog gain amplifier are calculated, and the exposure time of the camera module 1 and the gain magnification of the analog gain amplifier are adjusted. To do. Note that the automatic exposure processing unit 17 constitutes an automatic exposure processing means.

画質調整処理部18は画像入力部2による処理後の画像データに対する画像処理(例えば、画素補間処理、階調変換処理、色補正処理)を実施して、その画像データの階調性や色再現性を調整する。
図2はこの発明の実施の形態1による撮像装置の画像処理方法を示すフローチャートである。
The image quality adjustment processing unit 18 performs image processing (for example, pixel interpolation processing, gradation conversion processing, color correction processing) on the image data processed by the image input unit 2, and performs gradation processing and color reproduction of the image data. Adjust gender.
FIG. 2 is a flowchart showing an image processing method of the imaging apparatus according to Embodiment 1 of the present invention.

次に動作について説明する。
カメラモジュール1の撮像素子は、レンズ系により結像された光画像を電気信号に変換して、各色成分(R,G,B)の信号レベルを示す撮像画像の画像データを生成する(ステップST1)。
画像入力部2は、カメラモジュール1が撮像画像の画像データを生成すると、その画像データの形式変換や、有効画像エリアの切り出し処理などを実施して、後段の画像処理部3が処理可能なデータ形式の画像データを出力する。
Next, the operation will be described.
The image sensor of the camera module 1 converts the optical image formed by the lens system into an electrical signal, and generates image data of the captured image indicating the signal level of each color component (R, G, B) (step ST1). ).
When the camera module 1 generates image data of a captured image, the image input unit 2 performs format conversion of the image data, extraction of an effective image area, and the like, and data that can be processed by the subsequent image processing unit 3 Format image data is output.

画像処理部3は、画像入力部2から画像データを受けると、その画像データに対する画像処理(例えば、画素補間処理、階調変換処理、色補正処理)を実施するとともに、オートフォーカス処理や自動露光処理などの撮像制御処理を実施する。
以下、画像処理部3の処理内容を具体的に説明する。
When the image processing unit 3 receives the image data from the image input unit 2, the image processing unit 3 performs image processing (for example, pixel interpolation processing, gradation conversion processing, color correction processing) on the image data, and performs autofocus processing and automatic exposure. An imaging control process such as a process is performed.
Hereinafter, the processing content of the image processing unit 3 will be specifically described.

動き検出処理部11は、画像入力部2から画像データを受けると、その画像データを解析して、撮像画像内に存在する被写体の動きを検出する(ステップST2)。
ここで、図3は被写体の動き検出方法の一例を示す説明図である。
以下、動き検出処理部11における被写体の動きの検出処理を具体的に説明する。
When the motion detection processing unit 11 receives the image data from the image input unit 2, the motion detection processing unit 11 analyzes the image data and detects the motion of the subject existing in the captured image (step ST2).
Here, FIG. 3 is an explanatory diagram showing an example of a subject motion detection method.
Hereinafter, the subject motion detection processing in the motion detection processing unit 11 will be described in detail.

まず、動き検出処理部11は、画像入力部2から画像データを受けると、図3に示すように、その画像データを複数のフレームのブロックに分割(画像データを水平方向と垂直方向に分割)する。
動き検出処理部11は、画像データを複数のフレームのブロックに分割すると、各分割画像における画素値を水平方向に積算して、水平射影データを作成するとともに、各分割画像における画素値を垂直方向に積算して、垂直射影データを作成する。
First, when receiving the image data from the image input unit 2, the motion detection processing unit 11 divides the image data into blocks of a plurality of frames (divides the image data in the horizontal direction and the vertical direction) as shown in FIG. To do.
When dividing the image data into blocks of a plurality of frames, the motion detection processing unit 11 integrates the pixel values in each divided image in the horizontal direction to create horizontal projection data, and the pixel values in each divided image in the vertical direction. To create vertical projection data.

動き検出処理部11は、水平射影データと垂直射影データを作成すると、例えば、フレーム(2)の射影データ(水平射影データ、垂直射影データ)を順番に一画素ずつずらして、フレーム(1)の射影データ(水平射影データ、垂直射影データ)と比較することにより、フレーム間での被写体の動きを示す量として、類似度が最も高いずれ量を検出する。
動き検出処理部11における類似度の算出方法としては、例えば、射影データ同士の差分の絶対値を積算し、その積算値が小さい程、類似度が高いと判定する方式がある。
なお、特徴量として、射影データの傾きや曲率を算出し、射影データの類似度を算出する代わりに、特徴量同士の類似度を算出するようにしてもよい。
When creating the horizontal projection data and the vertical projection data, the motion detection processing unit 11 shifts the projection data (horizontal projection data, vertical projection data) of the frame (2) one pixel at a time in order, for example. By comparing with projection data (horizontal projection data, vertical projection data), an amount with the highest degree of similarity is detected as an amount indicating the movement of the subject between frames.
As a method for calculating the similarity in the motion detection processing unit 11, for example, there is a method in which the absolute values of differences between projection data are integrated, and the similarity is determined to be higher as the integrated value is smaller.
Instead of calculating the inclination and curvature of the projection data as the feature amount and calculating the similarity of the projection data, the similarity between the feature amounts may be calculated.

画素値積算部12は、画像入力部2から画像データを受けると、その画像データから撮像画像のライン毎の画素値の積算値を算出する(ステップST3)。
フリッカ検出処理部13は、画素値積算部12が撮像画像のライン毎の画素値の積算値を算出すると、撮像画像のライン毎の画素値の積算値と、自動露光処理部17により算出されたカメラモジュール1の露光時間及びフレームレートとから、フリッカの発生状況(フリッカの発生有無、フリッカの発生強度、フリッカの移動方向及び移動速度)を特定する(ステップST4)。
When receiving the image data from the image input unit 2, the pixel value integrating unit 12 calculates an integrated value of the pixel values for each line of the captured image from the image data (step ST3).
The flicker detection processing unit 13 calculates the integrated value of the pixel value for each line of the captured image and the automatic exposure processing unit 17 when the pixel value integration unit 12 calculates the integrated value of the pixel value for each line of the captured image. From the exposure time and frame rate of the camera module 1, the flicker occurrence status (whether flicker is generated, flicker generation intensity, flicker moving direction and moving speed) is specified (step ST4).

ここで、「フリッカ」とは、例えば、蛍光灯のように高速に周期的明滅を繰り返す光源下で撮影を行う場合において、カメラモジュール1の撮像素子による画像の撮像周期と、照明の明滅周期とが近づくことにより発生する撮影画像のちらつき現象のことである。
特に、撮像素子が画像信号の読み出しタイミングが画素毎に異なる種類の素子(例えば、CMOSセンサ)である場合、フリッカは、撮影画像上の輝度濃淡の縞模様として現れる。
Here, “flicker” refers to, for example, an imaging cycle of an image by the imaging device of the camera module 1 and an illumination blinking cycle when shooting is performed under a light source that periodically blinks at high speed like a fluorescent lamp. This is a flickering phenomenon of a photographed image that occurs due to the proximity of.
In particular, when the image sensor is an element of a different type (for example, a CMOS sensor) in which the readout timing of the image signal is different for each pixel, the flicker appears as a stripe pattern of luminance gradation on the captured image.

このフリッカによって発生する輝度濃淡の縞は、カメラモジュール1の露光時間と照明の明滅周期との関係により発生強度が決まり、カメラモジュール1の露光時間が短い程、発生強度が強くなる性質を有している。また、その露光時間が照明の明滅周期の整数倍に近い程、発生強度が弱くなる性質を有している。
また、撮影画像上に発生する縞の周期は、照明の明滅周期によって異なり、縞の移動速度は、照明の明滅周期と撮像素子の出力フレームレートとの関連性によって決まる。
The intensity shading stripes generated by the flicker are determined by the relationship between the exposure time of the camera module 1 and the flickering cycle of the illumination, and the generation intensity increases as the exposure time of the camera module 1 is shorter. ing. In addition, as the exposure time is closer to an integral multiple of the blinking cycle of illumination, the generated intensity is weakened.
The period of the fringes generated on the captured image varies depending on the blinking period of the illumination, and the moving speed of the stripes is determined by the relationship between the blinking period of the illumination and the output frame rate of the image sensor.

フリッカ検出処理部13では、発生するフリッカの性質を考慮して、フリッカの発生状況を高精度に特定するものであり、具体的には、次のようにして、フリッカの発生状況を特定している。
即ち、フリッカ検出処理部13は、画素値積算部12により算出された撮像画像のライン毎の画素値の積算値から、その撮像画像上でのライン間の濃淡の有無を判別し(例えば、各ラインの濃淡のレベル差が基準レベルを超えていれば、ライン間の濃淡が発生していると判別する)、ライン間の濃淡が発生していれば、そのライン間隔を求めて、フリッカの発生の有無及び照明の点滅周期を判別する。
The flicker detection processing unit 13 specifies the flicker occurrence status with high accuracy in consideration of the nature of the flicker that occurs. Specifically, the flicker occurrence status is specified as follows. Yes.
That is, the flicker detection processing unit 13 determines the presence or absence of shading between lines on the captured image from the integrated value of the pixel values for each line of the captured image calculated by the pixel value integrating unit 12 (for example, each If the level difference of the line shade exceeds the reference level, it is determined that the shade between the lines has occurred). If the shade between the lines has occurred, the line interval is obtained and flicker occurs. The presence / absence of light and the blinking cycle of the illumination are determined.

このとき、照明の点滅周期は、ライン毎の画素値の積算値から求めることも可能であるが、日本国内における電気の電源周波数は50Hzもしくは60Hzのいずれかであり、地域毎に使用する周波数が決まっているため、携帯電話機能を搭載する機器においては、無線通信の基地局情報を利用して使用地域を特定し、その使用地域から電源周波数を割り出して、その電源周波数から照明の点滅周期を求めるようにしてもよい。
あるいは、GPSを搭載して、GPSから得られる現在位置情報から使用地域を特定し、その使用地域から電源周波数を割り出して、その電源周波数から照明の点滅周期を求めるようにしてもよい。
上記のように判別したフリッカの発生の有無及び照明の点滅周期と、自動露光処理部17により算出される撮像素子の露光時間及びフレームレート情報から、縞の濃淡及び移動方向に関する情報を求める。
At this time, the lighting blinking cycle can be obtained from the integrated value of the pixel value for each line, but the power frequency of electricity in Japan is either 50 Hz or 60 Hz, and the frequency used for each region is Therefore, in devices equipped with mobile phone functions, use base station information for wireless communication is used to identify the use region, determine the power frequency from the use region, and determine the lighting blinking cycle from the power frequency. You may make it ask.
Alternatively, a GPS may be installed, a use area may be specified from current position information obtained from the GPS, a power frequency may be determined from the use area, and a lighting blinking period may be obtained from the power frequency.
From the presence / absence of occurrence of flicker and the blinking cycle of the illumination determined as described above, and the exposure time and frame rate information of the image sensor calculated by the automatic exposure processing unit 17, information on the density of the stripes and the moving direction is obtained.

動き検出補正部14は、フリッカ検出処理部13がフリッカの発生状況を特定すると、そのフリッカの発生状況に応じて動き検出処理部11により検出された被写体の動きを補正して、動き検出処理部11の動き検出結果からフリッカの影響を排除する(ステップST5)。
即ち、動き検出補正部14は、フリッカ検出処理部13により特定されたフリッカの発生状況(フリッカの発生有無、フリッカの発生強度、フリッカの移動方向及び移動速度)を参照して、動き検出処理部11により検出されたブロック毎の被写体の動きの情報から、フリッカの影響によるものを削除して、実際の被写体の動作による動き情報だけを抽出する。
When the flicker detection processing unit 13 specifies the flicker occurrence status, the motion detection correction unit 14 corrects the motion of the subject detected by the motion detection processing unit 11 according to the flicker occurrence status, and the motion detection processing unit The effect of flicker is excluded from the motion detection result of step 11 (step ST5).
That is, the motion detection correction unit 14 refers to the flicker occurrence status specified by the flicker detection processing unit 13 (whether flicker occurs, flicker generation intensity, flicker moving direction and moving speed), and the motion detection processing unit 11 removes the effect of flicker from the information on the motion of the subject for each block detected in step 11, and extracts only the motion information based on the actual motion of the subject.

ここで、図4は動き検出補正部14による動き検出情報の補正方法の一例を示す説明図である。
フリッカの発生時においては、動き検出処理部11から被写体の動き情報として得られる情報は、実際の被写体の動きとフリッカによる縞の動きを足し合わせたものとなっている。
そこで、動き検出補正部14では、図4に示すように、動き検出処理部11から出力された動き検出情報から、フリッカ検出処理部13から出力されたフリッカ検出情報(フリッカによる縞の濃淡や移動速度から得られる動きの検出量及び動きの検出方法に相当するもの)を除外するようにしている。
Here, FIG. 4 is an explanatory diagram showing an example of a motion detection information correction method by the motion detection correction unit 14.
When flicker occurs, the information obtained from the motion detection processing unit 11 as subject motion information is the sum of the actual subject motion and the flicker motion due to flicker.
Therefore, as shown in FIG. 4, the motion detection / correction unit 14 uses the flicker detection information output from the flicker detection processing unit 13 based on the motion detection information output from the motion detection processing unit 11 (such as the density and movement of stripes caused by flicker). The amount of motion detection obtained from the speed and the method corresponding to the motion detection method) are excluded.

なお、フリッカは、撮像画像の走査方向に対して垂直方向に発生するため、実際の動き検出情報から垂直方向の特定強度分の動き検出情報を差し引くことにより、補正された動き検出情報が得られる。
このようにして得られた補正動き検出情報は、フリッカの発生影響を除外したものとなるため、フリッカ発生状況下での撮影であっても、精度の高い動き検出が可能となる。
Since flicker occurs in a direction perpendicular to the scanning direction of the captured image, corrected motion detection information can be obtained by subtracting motion detection information for a specific intensity in the vertical direction from actual motion detection information. .
Since the corrected motion detection information obtained in this way excludes the occurrence of flicker, it is possible to detect motion with high accuracy even when shooting under a flicker occurrence.

合焦検出部15は、画像入力部2から画像データを受けると、その画像データの高周波成分を抽出し、その高周波成分から被写体の合焦状態を示す指標値を算出する(ステップST6)。被写体の合焦状態を示す指標値の算出自体は、公知の技術であるため説明を省略する。
オートフォーカス処理部16は、動き検出補正部14から補正後の被写体の動き検出情報を受けると、その動き検出情報が示す被写体の動きの位置に、オートフォーカス処理用の検波ウィンドウを設定し、合焦検出部15により算出された指標値に応じてカメラモジュール1のレンズ移動機構を制御することにより、カメラモジュール1の撮像素子の焦点を調整する(ステップST7)。
When receiving the image data from the image input unit 2, the focus detection unit 15 extracts a high-frequency component of the image data, and calculates an index value indicating the focus state of the subject from the high-frequency component (step ST6). Since the calculation of the index value indicating the in-focus state of the subject is a known technique, the description thereof is omitted.
Upon receipt of the corrected subject motion detection information from the motion detection correction unit 14, the autofocus processing unit 16 sets a detection window for autofocus processing at the position of the subject motion indicated by the motion detection information. The focus of the image sensor of the camera module 1 is adjusted by controlling the lens moving mechanism of the camera module 1 according to the index value calculated by the focus detection unit 15 (step ST7).

自動露光処理部17は、動き検出補正部14から補正後の被写体の動き検出情報を受けると、その動き検出情報が示す被写体の動きの位置を中心に撮像画像の自動露光を行うため、補正後の被写体の動き検出情報と画素値積算部12により算出された撮像画像のライン毎の画素値の積算値とから、カメラモジュール1の露光時間やアナログゲインアンプのゲイン倍率を算出して、カメラモジュール1の露光時間やアナログゲインアンプのゲイン倍率を調整する(ステップST8)。   When the automatic exposure processing unit 17 receives the corrected motion detection information of the subject from the motion detection correction unit 14, the automatic exposure processing unit 17 performs automatic exposure of the captured image around the position of the motion of the subject indicated by the motion detection information. The exposure time of the camera module 1 and the gain magnification of the analog gain amplifier are calculated from the motion detection information of the subject and the integrated value of the pixel value for each line of the captured image calculated by the pixel value integrating unit 12, and the camera module 1 and the gain magnification of the analog gain amplifier are adjusted (step ST8).

画質調整処理部18は、画像入力部2から画像データを受けると、その画像データに対する画像処理(例えば、画素補間処理、階調変換処理、色補正処理)を実施して、その画像データの階調性や色再現性を調整する(ステップST9)。
画像出力部4は、画像処理部3の画質調整処理部18が画像データの階調性や色再現性を調整する画像処理を実施すると、画像処理後の画像データの画像出力サイズやデータ形式を画像記録装置5に適するものに変換する。
画像記録装置5は、画像出力部4から画像出力サイズやデータ形式が変換された画像データを受けると、その画像データを画像メモリに記録する(ステップST10)。
When the image quality adjustment processing unit 18 receives the image data from the image input unit 2, the image quality adjustment processing unit 18 performs image processing (for example, pixel interpolation processing, gradation conversion processing, color correction processing) on the image data, and converts the level of the image data. Tonality and color reproducibility are adjusted (step ST9).
When the image quality adjustment processing unit 18 of the image processing unit 3 performs image processing for adjusting the gradation and color reproducibility of the image data, the image output unit 4 sets the image output size and data format of the image data after the image processing. The image is converted into one suitable for the image recording device 5.
When the image recording device 5 receives the image data whose image output size or data format has been converted from the image output unit 4, the image recording device 5 records the image data in the image memory (step ST10).

以上で明らかなように、この実施の形態1によれば、カメラモジュール1により生成された画像データを解析して、撮像画像内に存在する被写体の動きを検出する動き検出処理部11と、カメラモジュール1により生成された画像データから撮像画像のライン毎の画素値の積算値を算出する画素値積算部12と、画素値積算部12により算出されたライン毎の画素値の積算値とカメラモジュール1の露光時間及びフレームレートからフリッカの発生状況を特定するフリッカ検出処理部13とを設け、動き補正部14がフリッカ検出処理部13により特定されたフリッカの発生状況に応じて動き検出処理部11により検出された被写体の動きを補正するように構成したので、フリッカが発生しても、進入物体である被写体の画像の鮮明化を図ることができる効果を奏する。
これにより、監視カメラ等において、撮像画像内の変化があった箇所へのフォーカス合わせや、露光条件の調整を行うことができるため、画面端部における画像変化に対しても、変化の状況を観察し易いフォーカス条件や露光条件で、撮像画像を記録することが可能となる。
As apparent from the above, according to the first embodiment, the motion detection processing unit 11 that analyzes the image data generated by the camera module 1 and detects the motion of the subject existing in the captured image, and the camera A pixel value integrating unit 12 that calculates an integrated value of pixel values for each line of the captured image from the image data generated by the module 1, an integrated value of pixel values for each line calculated by the pixel value integrating unit 12, and a camera module A flicker detection processing unit 13 for specifying the flicker occurrence status from the exposure time and the frame rate of 1, and the motion correction processing unit 14 according to the flicker occurrence status specified by the flicker detection processing unit 13. Since the movement of the subject detected by the correction is corrected, even if flicker occurs, the image of the subject that is the approaching object is sharpened. An effect that can bet.
As a result, in a monitoring camera, etc., it is possible to adjust the focus to the location where there was a change in the captured image and to adjust the exposure conditions. It is possible to record a captured image under focus conditions and exposure conditions that are easy to perform.

実施の形態2.
図5はこの発明の実施の形態2による撮像装置を示す構成図であり、図において、図1と同一符号は同一または相当部分を示すので説明を省略する。
色判別処理部19は画質調整処理部18により階調性や色再現性が調整された画像データを解析して、撮像画像内に存在している1以上の被写体の色を特定し、その被写体の色が特定色と一致しているか否かを判別する処理を実施する。なお、色判別処理部19は被写体色判別手段を構成している。
動き検出補正部20は図1の動き検出補正部14と同様に被写体の動きを補正する処理を実施するほか、色判別処理部19の判別結果を参照して、動き検出処理部11の動き検出結果の中から、色が特定色と一致してない被写体の動き検出結果を除去する処理を実施する。なお、動き検出補正部20は動き補正手段を構成している。
Embodiment 2. FIG.
5 is a block diagram showing an image pickup apparatus according to Embodiment 2 of the present invention. In the figure, the same reference numerals as those in FIG.
The color discrimination processing unit 19 analyzes the image data whose gradation property and color reproducibility have been adjusted by the image quality adjustment processing unit 18, specifies the colors of one or more subjects existing in the captured image, and the subject A process of determining whether or not the color matches the specific color is performed. The color discrimination processing unit 19 constitutes subject color discrimination means.
The motion detection / correction unit 20 performs a process for correcting the movement of the subject in the same manner as the motion detection / correction unit 14 of FIG. From the results, a process of removing the motion detection result of the subject whose color does not match the specific color is performed. The motion detection / correction unit 20 constitutes a motion correction unit.

次に動作について説明する。
色判別処理部19は、画質調整処理部18が画像データの階調性や色再現性を調整する画像処理を実施すると、画像処理後の画像データにおける各色成分(R,G,B)の信号レベルを参照して、撮像画像内に存在している1以上の被写体の色を特定する。
色判別処理部19は、撮像画像内に存在している1以上の被写体の色を特定すると、各被写体の色が特定色と一致しているか否かを判別し、特定色と一致している被写体が存在しているエリアを示す被写体存在エリア情報を動き検出補正部20に出力する。
Next, the operation will be described.
When the image quality adjustment processing unit 18 performs image processing for adjusting the gradation and color reproducibility of the image data, the color discrimination processing unit 19 outputs signals of each color component (R, G, B) in the image data after the image processing. With reference to the level, the color of one or more subjects existing in the captured image is specified.
When the color determination processing unit 19 specifies the color of one or more subjects existing in the captured image, the color determination processing unit 19 determines whether the color of each subject matches the specific color, and matches the specific color. The subject presence area information indicating the area where the subject is present is output to the motion detection and correction unit 20.

動き検出補正部20は、図1の動き検出補正部14と同様にして、被写体の動きを補正する処理を実施する。
また、動き検出補正部20は、色判別処理部19から被写体存在エリア情報を受けると、動き検出処理部11の動き検出結果が示す1以上の被写体の動き検出情報の中から、その被写体存在エリア情報が示すエリア以外に存在している被写体の動き検出情報を除去する。
即ち、動き検出処理部11の動き検出結果が示す1以上の被写体の動き検出情報の中から、その被写体存在エリア情報が示すエリアに存在している被写体の動き検出情報のみを抽出する。
ここで、図6は動き検出補正部20による動き検出情報の補正方法の一例を示す説明図である。
図6の例では、3つの被写体の動きが検出されているが、特定色の被写体が1つであるため(点線で囲まれている被写体)、1つの被写体の動き検出情報のみが抽出されている様子を示している。
The motion detection / correction unit 20 performs processing for correcting the movement of the subject in the same manner as the motion detection / correction unit 14 of FIG.
When the motion detection correction unit 20 receives the subject presence area information from the color discrimination processing unit 19, the motion detection correction unit 20 selects the subject presence area from the one or more subject motion detection information indicated by the motion detection result of the motion detection processing unit 11. The motion detection information of the subject existing outside the area indicated by the information is removed.
That is, only the motion detection information of the subject existing in the area indicated by the subject presence area information is extracted from the motion detection information of one or more subjects indicated by the motion detection result of the motion detection processing unit 11.
Here, FIG. 6 is an explanatory diagram illustrating an example of a method of correcting motion detection information by the motion detection / correction unit 20.
In the example of FIG. 6, the movement of three subjects is detected, but since there is one subject of a specific color (subject surrounded by a dotted line), only the motion detection information of one subject is extracted. It shows how it is.

以上で明らかなように、この実施の形態2によれば、動き検出補正部20が色判別処理部19の判別結果を参照して、動き検出処理部11の動き検出結果の中から、色が特定色と一致してない被写体の動き検出情報を除去するように構成したので、カメラモジュール1の撮像画像内に複数の被写体が同時に存在している場合でも、例えば、あらかじめ進入物体の色が分っているような場合には、進入物体である被写体を容易に検出することができる効果を奏する。   As apparent from the above, according to the second embodiment, the motion detection correction unit 20 refers to the discrimination result of the color discrimination processing unit 19 and the color is selected from the motion detection results of the motion detection processing unit 11. Since the motion detection information of the subject that does not match the specific color is removed, for example, even when there are a plurality of subjects at the same time in the captured image of the camera module 1, for example, the color of the approaching object is determined in advance. In such a case, it is possible to easily detect a subject that is an entering object.

実施の形態3.
図7はこの発明の実施の形態3による撮像装置を示す構成図であり、図において、図1と同一符号は同一または相当部分を示すので説明を省略する。
被写体形状判別処理部21は画質調整処理部18により階調性や色再現性が調整された画像データを解析して、撮像画像内に存在している1以上の被写体の形状を特定し、その被写体の形状が特定形状と一致しているか否かを判別する処理を実施する。なお、被写体形状判別処理部21は被写体形状判別手段を構成している。
動き検出補正部22は図1の動き検出補正部14と同様に被写体の動きを補正する処理を実施するほか、被写体形状判別処理部21の判別結果を参照して、動き検出処理部11の動き検出結果の中から、形状が特定形状と一致してない被写体の動き検出結果を除去する処理を実施する。なお、動き検出補正部22は動き補正手段を構成している。
Embodiment 3 FIG.
7 is a block diagram showing an image pickup apparatus according to Embodiment 3 of the present invention. In the figure, the same reference numerals as those in FIG.
The subject shape determination processing unit 21 analyzes the image data in which the gradation property and the color reproducibility are adjusted by the image quality adjustment processing unit 18 and specifies the shape of one or more subjects existing in the captured image. Processing for determining whether or not the shape of the subject matches the specific shape is performed. The subject shape discrimination processing unit 21 constitutes a subject shape discrimination means.
The motion detection / correction unit 22 performs a process of correcting the movement of the subject in the same manner as the motion detection / correction unit 14 in FIG. 1, and refers to the determination result of the subject shape determination processing unit 21 to move the motion detection processing unit 11. From the detection results, a process of removing the motion detection result of the subject whose shape does not match the specific shape is performed. The motion detection / correction unit 22 constitutes a motion correction unit.

次に動作について説明する。
被写体形状判別処理部21は、画質調整処理部18が画像データの階調性や色再現性を調整する画像処理を実施すると、画像処理後の画像データを解析して、撮像画像内に存在している1以上の被写体の形状と、あらかじめ設定されている特定形状とのパターンマッチングを実施することにより、撮像画像内に存在している1以上の被写体が特定形状と一致しているか否かを判別する。
被写体形状判別処理部21は、撮像画像内に存在している1以上の被写体が特定形状と一致しているか否かを判別すると、特定形状と一致している被写体が存在しているエリアを示す被写体存在エリア情報を動き検出補正部22に出力する。
Next, the operation will be described.
When the image quality adjustment processing unit 18 performs image processing for adjusting the gradation and color reproducibility of the image data, the subject shape determination processing unit 21 analyzes the image data after the image processing and exists in the captured image. It is determined whether or not one or more subjects existing in the captured image match the specific shape by performing pattern matching between the shape of the one or more subjects and the specific shape set in advance. Determine.
When the subject shape determination processing unit 21 determines whether or not one or more subjects existing in the captured image match a specific shape, the subject shape determination processing unit 21 indicates an area where a subject matching the specific shape exists. The subject presence area information is output to the motion detection / correction unit 22.

動き検出補正部22は、図1の動き検出補正部14と同様にして、被写体の動きを補正する処理を実施する。
また、動き検出補正部22は、被写体形状判別処理部21から被写体存在エリア情報を受けると、動き検出処理部11の動き検出結果が示す1以上の被写体の動き検出情報の中から、その被写体存在エリア情報が示すエリア以外に存在している被写体の動き検出情報を除去する。
即ち、動き検出処理部11の動き検出結果が示す1以上の被写体の動き検出情報の中から、その被写体存在エリア情報が示すエリアに存在している被写体の動き検出情報のみを抽出する。
ここで、図8は動き検出補正部22による動き検出情報の補正方法の一例を示す説明図である。
図8の例では、3つの被写体の動きが検出されているが、特定形状の被写体が1つであるため(点線で囲まれている被写体)、1つの被写体の動き検出情報のみが抽出されている様子を示している。
The motion detection / correction unit 22 performs processing for correcting the movement of the subject in the same manner as the motion detection / correction unit 14 of FIG.
In addition, when the motion detection correction unit 22 receives the subject presence area information from the subject shape determination processing unit 21, the motion detection correction unit 22 detects the subject presence from the motion detection information of one or more subjects indicated by the motion detection result of the motion detection processing unit 11. The motion detection information of the subject existing outside the area indicated by the area information is removed.
That is, only the motion detection information of the subject existing in the area indicated by the subject presence area information is extracted from the motion detection information of one or more subjects indicated by the motion detection result of the motion detection processing unit 11.
Here, FIG. 8 is an explanatory diagram showing an example of a method of correcting motion detection information by the motion detection correction unit 22.
In the example of FIG. 8, the movement of three subjects is detected, but since there is one subject having a specific shape (subject surrounded by a dotted line), only the motion detection information of one subject is extracted. It shows how it is.

以上で明らかなように、この実施の形態3によれば、動き検出補正部22が被写体形状判別処理部21の判別結果を参照して、動き検出処理部11の動き検出結果の中から、形状が特定形状と一致してない被写体の動き検出情報を除去するように構成したので、カメラモジュール1の撮像画像内に複数の被写体が同時に存在している場合でも、例えば、あらかじめ進入物体の形状が分っているような場合には、進入物体である被写体を容易に検出することができる効果を奏する。   As is apparent from the above, according to the third embodiment, the motion detection / correction unit 22 refers to the determination result of the subject shape determination processing unit 21 and determines the shape from the motion detection results of the motion detection processing unit 11. Since the motion detection information of the subject that does not match the specific shape is removed, even if there are a plurality of subjects at the same time in the captured image of the camera module 1, for example, the shape of the approaching object is previously When it is known, there is an effect that it is possible to easily detect a subject that is an entering object.

この発明の実施の形態1による撮像装置を示す構成図である。BRIEF DESCRIPTION OF THE DRAWINGS It is a block diagram which shows the imaging device by Embodiment 1 of this invention. この発明の実施の形態1による撮像装置の画像処理方法を示すフローチャートである。It is a flowchart which shows the image processing method of the imaging device by Embodiment 1 of this invention. 被写体の動き検出方法の一例を示す説明図である。It is explanatory drawing which shows an example of the motion detection method of a to-be-photographed object. 動き検出補正部14による動き検出情報の補正方法の一例を示す説明図である。It is explanatory drawing which shows an example of the correction method of the motion detection information by the motion detection correction part. この発明の実施の形態2による撮像装置を示す構成図である。It is a block diagram which shows the imaging device by Embodiment 2 of this invention. 動き検出補正部20による動き検出情報の補正方法の一例を示す説明図である。It is explanatory drawing which shows an example of the correction method of the motion detection information by the motion detection correction part. この発明の実施の形態3による撮像装置を示す構成図である。It is a block diagram which shows the imaging device by Embodiment 3 of this invention. 動き検出補正部22による動き検出情報の補正方法の一例を示す説明図である。It is explanatory drawing which shows an example of the correction method of the motion detection information by the motion detection correction part 22. FIG.

符号の説明Explanation of symbols

1 カメラモジュール、2 画像入力部、3 画像処理部、4 画像出力部、5 画像記録装置、11 動き検出処理部(動き検出手段)、12 画素値積算部(フリッカ発生状況特定手段)、13 フリッカ検出処理部(フリッカ発生状況特定手段)、14,20,22 動き検出補正部(動き補正手段)、15 合焦検出部(オートフォーカス処理手段)、16 オートフォーカス処理部(オートフォーカス処理手段)、17 自動露光処理部(自動露光処理手段)、18 画質調整処理部、19 色判別処理部(被写体色判別手段)、21 被写体形状判別処理部(被写体形状判別手段)。   DESCRIPTION OF SYMBOLS 1 Camera module, 2 Image input part, 3 Image processing part, 4 Image output part, 5 Image recording apparatus, 11 Motion detection process part (motion detection means), 12 Pixel value integration part (Flicker generation condition identification means), 13 Flicker Detection processing unit (flicker occurrence status specifying unit) 14, 20, 22 Motion detection correction unit (motion correction unit), 15 Focus detection unit (autofocus processing unit), 16 Autofocus processing unit (autofocus processing unit), 17 automatic exposure processing unit (automatic exposure processing unit), 18 image quality adjustment processing unit, 19 color discrimination processing unit (subject color discrimination unit), 21 subject shape discrimination processing unit (subject shape discrimination unit).

Claims (6)

入射光を結像して撮像画像の画像データを生成するカメラと、上記カメラにより生成された画像データを解析して、上記撮像画像内に存在する被写体の動きを検出する動き検出手段と、上記カメラにより生成された画像データから撮像画像のライン毎の画素値の積算値を求め、上記ライン毎の画素値の積算値と上記カメラの露光時間及びフレームレートからフリッカの発生状況を特定するフリッカ発生状況特定手段と、上記フリッカ発生状況特定手段により特定されたフリッカの発生状況に応じて上記動き検出手段により検出された被写体の動きを補正する動き補正手段と、上記動き補正手段により補正された被写体の動きに合わせて、上記カメラの焦点を調整するオートフォーカス処理手段と、上記動き補正手段により補正された被写体の動きに合わせて、上記カメラの露光時間を調整する自動露光処理手段とを備えた撮像装置。   A camera that forms incident light to generate image data of a captured image; a motion detection unit that analyzes image data generated by the camera and detects a motion of a subject existing in the captured image; and Flicker generation that determines the flicker generation status from the integrated value of the pixel value for each line, the exposure time of the camera, and the frame rate from the image data generated by the camera, for each line of the captured image Situation specifying means, motion correcting means for correcting the motion of the subject detected by the motion detecting means in accordance with the flicker occurrence status specified by the flicker occurrence status specifying means, and the subject corrected by the motion correction means Auto-focus processing means for adjusting the focus of the camera in accordance with the movement of the camera, and the subject corrected by the motion correction means. In accordance with the come, imaging apparatus having an automatic exposure processing means for adjusting the exposure time of the camera. 動き補正手段は、カメラにより生成された画像データを解析して、撮像画像内に存在している1以上の被写体の色を特定し、上記被写体の色が特定色と一致しているか否かを判別する被写体色判別手段が搭載されている場合、上記被写体色判別手段の判別結果を参照して、動き検出手段の動き検出結果の中から、色が特定色と一致してない被写体の動き検出結果を除去することを特徴とする請求項1記載の撮像装置。   The motion correction unit analyzes the image data generated by the camera, specifies one or more subject colors existing in the captured image, and determines whether the subject color matches the specific color. When the subject color discriminating means for discrimination is mounted, the motion detection of the subject whose color does not match the specific color from the motion detection results of the motion detection means with reference to the discrimination result of the subject color discrimination means The imaging apparatus according to claim 1, wherein a result is removed. 動き補正手段は、カメラにより生成された画像データを解析して、撮像画像内に存在している1以上の被写体の形状を特定し、上記被写体の形状が特定形状と一致しているか否かを判別する被写体形状判別手段が搭載されている場合、上記被写体形状判別手段の判別結果を参照して、動き検出手段の動き検出結果の中から、形状が特定形状と一致してない被写体の動き検出結果を除去することを特徴とする請求項1記載の撮像装置。   The motion correction unit analyzes the image data generated by the camera, specifies the shape of one or more subjects existing in the captured image, and determines whether the shape of the subject matches the specific shape. When the subject shape discriminating means to be discriminated is mounted, referring to the discrimination result of the subject shape discriminating means, the motion detection of the subject whose shape does not match the specific shape from the motion detection results of the motion detecting means The imaging apparatus according to claim 1, wherein a result is removed. 入射光を結像して撮像画像の画像データを生成するカメラと、上記カメラにより生成された画像データを解析して、上記撮像画像内に存在する被写体の動きを検出する動き検出手段と、電源の周波数と上記カメラの露光時間及びフレームレートからフリッカの発生状況を特定するフリッカ発生状況特定手段と、上記フリッカ発生状況特定手段により特定されたフリッカの発生状況に応じて上記動き検出手段により検出された被写体の動きを補正する動き補正手段と、上記動き補正手段により補正された被写体の動きに合わせて、上記カメラの焦点を調整するオートフォーカス処理手段と、上記動き補正手段により補正された被写体の動きに合わせて、上記カメラの露光時間を調整する自動露光処理手段とを備えた撮像装置。   A camera that forms incident light to generate image data of a captured image, a motion detection unit that analyzes image data generated by the camera and detects a motion of a subject existing in the captured image, and a power source Flicker occurrence status specifying means for specifying the flicker occurrence status from the frequency of the image, the exposure time and the frame rate of the camera, and the motion detection means detected according to the flicker occurrence status specified by the flicker occurrence status specifying means. A motion correction unit that corrects the movement of the subject, an autofocus processing unit that adjusts the focus of the camera in accordance with the motion of the subject corrected by the motion correction unit, and a subject that has been corrected by the motion correction unit. An image pickup apparatus comprising: an automatic exposure processing unit that adjusts an exposure time of the camera in accordance with movement. カメラが入射光を結像して撮像画像の画像データを生成する画像データ生成ステップと、動き検出手段が上記カメラにより生成された画像データを解析して、上記撮像画像内に存在する被写体の動きを検出する動き検出ステップと、フリッカ発生状況特定手段が上記カメラにより生成された画像データから撮像画像のライン毎の画素値の積算値を求め、上記ライン毎の画素値の積算値と上記カメラの露光時間及びフレームレートからフリッカの発生状況を特定するフリッカ発生状況特定ステップと、動き補正手段が上記フリッカ発生状況特定手段により特定されたフリッカの発生状況に応じて上記動き検出手段により検出された被写体の動きを補正する動き補正ステップと、オートフォーカス処理手段が上記動き補正手段により補正された被写体の動きに合わせて、上記カメラの焦点を調整するオートフォーカス処理ステップと、自動露光処理手段が上記動き補正手段により補正された被写体の動きに合わせて、上記カメラの露光時間を調整する自動露光処理ステップとを備えた画像処理方法。   An image data generation step in which the camera forms incident light to generate image data of the captured image, and a motion detection unit analyzes the image data generated by the camera and moves the subject existing in the captured image. And a flicker occurrence state specifying unit obtains an integrated value of pixel values for each line of the captured image from the image data generated by the camera, and the integrated value of the pixel values for each line and the camera A flicker occurrence status specifying step for specifying the flicker occurrence status from the exposure time and the frame rate, and a subject detected by the motion detection means according to the flicker occurrence status specified by the flicker occurrence status specifying means by the motion correction means A motion correction step for correcting the movement of the subject and the autofocus processing means corrected by the motion correction means. An autofocus processing step for adjusting the focus of the camera in accordance with the movement of the body, and an automatic exposure in which the automatic exposure processing means adjusts the exposure time of the camera in accordance with the movement of the subject corrected by the motion correction means. An image processing method comprising processing steps. カメラが入射光を結像して撮像画像の画像データを生成する画像データ生成ステップと、動き検出手段が上記カメラにより生成された画像データを解析して、上記撮像画像内に存在する被写体の動きを検出する動き検出ステップと、フリッカ発生状況特定手段が電源の周波数と上記カメラの露光時間及びフレームレートからフリッカの発生状況を特定するフリッカ発生状況特定ステップと、動き補正手段が上記フリッカ発生状況特定手段により特定されたフリッカの発生状況に応じて上記動き検出手段により検出された被写体の動きを補正する動き補正ステップと、オートフォーカス処理手段が上記動き補正手段により補正された被写体の動きに合わせて、上記カメラの焦点を調整するオートフォーカス処理ステップと、自動露光処理手段が上記動き補正手段により補正された被写体の動きに合わせて、上記カメラの露光時間を調整する自動露光処理ステップとを備えた画像処理方法。   An image data generation step in which the camera forms incident light to generate image data of the captured image, and a motion detection unit analyzes the image data generated by the camera and moves the subject existing in the captured image. A motion detection step for detecting flicker, a flicker occurrence status specifying means for specifying a flicker occurrence status from the frequency of the power supply, the exposure time and the frame rate of the camera, and a motion correction means for specifying the flicker occurrence status A motion correction step for correcting the motion of the subject detected by the motion detection means in accordance with the flicker occurrence status specified by the means, and an autofocus processing means in accordance with the motion of the subject corrected by the motion correction means. An autofocus processing step for adjusting the focus of the camera, and an automatic exposure processing means. Serial with the movement of the object corrected by the motion correction unit, an image processing method and an automatic exposure processing step of adjusting the exposure time of the camera.
JP2007211017A 2007-08-13 2007-08-13 Imaging apparatus and image processing method Expired - Fee Related JP4859787B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007211017A JP4859787B2 (en) 2007-08-13 2007-08-13 Imaging apparatus and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007211017A JP4859787B2 (en) 2007-08-13 2007-08-13 Imaging apparatus and image processing method

Publications (2)

Publication Number Publication Date
JP2009049480A JP2009049480A (en) 2009-03-05
JP4859787B2 true JP4859787B2 (en) 2012-01-25

Family

ID=40501327

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007211017A Expired - Fee Related JP4859787B2 (en) 2007-08-13 2007-08-13 Imaging apparatus and image processing method

Country Status (1)

Country Link
JP (1) JP4859787B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5622501B2 (en) * 2010-09-16 2014-11-12 三菱電機株式会社 Image processing apparatus and image processing method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3506900B2 (en) * 1998-03-03 2004-03-15 松下電器産業株式会社 Flicker correction device
JP2001136415A (en) * 1999-11-10 2001-05-18 Toshiba Corp Video signal processing device
JP2004317699A (en) * 2003-04-15 2004-11-11 Nikon Gijutsu Kobo:Kk Digital camera
JP4205020B2 (en) * 2004-07-30 2009-01-07 株式会社日立国際電気 Television camera control method and image recording apparatus control method
JP4866557B2 (en) * 2005-03-03 2012-02-01 パナソニック株式会社 Video signal processing apparatus, imaging apparatus equipped with the video signal processing apparatus, video signal processing method, and video signal processing program
JP4618062B2 (en) * 2005-09-07 2011-01-26 住友電気工業株式会社 Monitoring device, monitoring system, and monitoring method

Also Published As

Publication number Publication date
JP2009049480A (en) 2009-03-05

Similar Documents

Publication Publication Date Title
JP4040613B2 (en) Imaging device
US7929042B2 (en) Imaging apparatus, control method of imaging apparatus, and computer program
JP5071198B2 (en) Signal recognition device, signal recognition method, and signal recognition program
US20050093992A1 (en) Image processing apparatus, image-taking system, image processing method and image processing program
US8520130B2 (en) Image capturing apparatus and auto-focus control method thereof
CN107431764B (en) Photographic device, photographic device main body, and photographic device control method
US9961269B2 (en) Imaging device, imaging device body, and lens barrel that can prevent an image diaphragm value from frequently changing
JP2012156885A (en) Imaging apparatus
US20210337129A1 (en) Control device, image capturing apparatus, and control method
JP2020112635A (en) Control device, imaging device, control method, and program
US9307168B2 (en) Image capture apparatus and method for controlling image capture apparatus in which defective pixels are indicated
US20150080651A1 (en) Endoscope apparatus
CN103108135A (en) Imaging apparatus and method for controlling diaphragm
JP2013232880A (en) Image processing device and image processing method
JP4300936B2 (en) Imaging device
JP5106283B2 (en) Video camera
JP4859787B2 (en) Imaging apparatus and image processing method
US10687036B2 (en) Method, apparatus and system for detecting and reducing the effects of color fringing in digital video acquired by a camera
US12170842B2 (en) Illumination control device, imaging device, and storage medium
JP2009124309A (en) Imaging device
US9871982B2 (en) Image pickup apparatus that detects flash band and control method therefor
US11330192B2 (en) Acquisition method, computer readable recording medium and image apparatus
US8441550B2 (en) Imaging device program and method for preventing the generation of flicker
US8471950B2 (en) Signal processor for adjusting image quality of an input picture signal
JP2015087494A (en) Imaging device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100609

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110922

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

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

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20141111

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees