JP5284137B2 - Imaging apparatus, control method thereof, and program - Google Patents

Imaging apparatus, control method thereof, and program Download PDF

Info

Publication number
JP5284137B2
JP5284137B2 JP2009036786A JP2009036786A JP5284137B2 JP 5284137 B2 JP5284137 B2 JP 5284137B2 JP 2009036786 A JP2009036786 A JP 2009036786A JP 2009036786 A JP2009036786 A JP 2009036786A JP 5284137 B2 JP5284137 B2 JP 5284137B2
Authority
JP
Japan
Prior art keywords
frame
display
image
image signal
size
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
JP2009036786A
Other languages
Japanese (ja)
Other versions
JP2010193293A (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 JP2009036786A priority Critical patent/JP5284137B2/en
Publication of JP2010193293A publication Critical patent/JP2010193293A/en
Application granted granted Critical
Publication of JP5284137B2 publication Critical patent/JP5284137B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Automatic Focus Adjustment (AREA)

Description

本発明は、被写体検出を行うビデオカメラ等の撮像装置、その制御方法及びプログラムに関する。   The present invention relates to an imaging apparatus such as a video camera that performs subject detection, a control method thereof, and a program.

近年、撮像装置においては、人間の顔等の特定の被写体の位置や大きさを画像認識アルゴリズムにより検出する技術が実用化されており、例えばAF(オートフォーカス)制御に利用されている。すなわち、特定の被写体の位置、大きさに合わせた測距枠を設定し、AF用の評価値を生成してAF制御を行えば、その特定の被写体に注目したフォーカス制御が可能となる。   In recent years, in an imaging apparatus, a technique for detecting the position and size of a specific subject such as a human face by an image recognition algorithm has been put into practical use, and is used for, for example, AF (autofocus) control. In other words, if a distance measurement frame that matches the position and size of a specific subject is set, an AF evaluation value is generated and AF control is performed, focus control focusing on the specific subject can be performed.

同時に、現在検出されている特定の被写体がどのようになっているかを、液晶モニタに表示する画像に枠を重畳させることで、ユーザに特定の被写体が検出された旨を報知し、検出されている特定の被写体を認識させることも行われている(例えば特許文献1)。   At the same time, the user can be informed that the specific subject has been detected by superimposing a frame on the image displayed on the liquid crystal monitor to indicate how the specific subject is currently detected. A specific subject is recognized (for example, Patent Document 1).

特開2003−107335号公報JP 2003-107335 A

従来の撮像装置では、被写体検出を行う画像のサイズと、液晶モニタに表示する画像のサイズとが異なることが多い。そのため、被写体検出の結果をそのまま用いて表示画像に枠を重畳してしまうと、枠のサイズが合わないことになる。そこで、被写体検出の結果を表示画像のサイズに合わせて変換し、枠を重畳することが行われている。   In conventional imaging apparatuses, the size of an image for subject detection is often different from the size of an image displayed on a liquid crystal monitor. For this reason, if the frame is superimposed on the display image using the result of subject detection as it is, the size of the frame will not match. Therefore, the result of subject detection is converted according to the size of the display image, and a frame is superimposed.

ところが、枠のサイズを表示画像のサイズに合わせて変換して枠を重畳すると、被写体検出の結果がわずかにずれた場合に、そのずれが被写体検出用画像のサイズと表示画像のサイズとの比だけ倍増されて重畳されることになる。   However, if the frame size is converted to the size of the display image and the frame is superimposed, if the subject detection result slightly shifts, the shift is the ratio between the size of the subject detection image and the size of the display image. Will be doubled and superimposed.

図9は、被写体検出の結果のずれが倍増される様子を示している。図9(a)は、28×28のセンサ上の画素サイズの画像で、黒で塗りつぶされているところに被写体がある図である。   FIG. 9 shows how the difference in the result of subject detection is doubled. FIG. 9A is an image of a pixel size on a 28 × 28 sensor, where the subject is located in black.

また、図9(b)は、図9(a)の画像を被写体検出用に1/3に縮小し、被写体検出した結果を示す図である。Hp、Vpは被写体の水平、垂直の位置データであり、Hw、Vwは被写体の水平、垂直のサイズデータである。   FIG. 9B is a diagram showing a result of subject detection after reducing the image of FIG. 9A to 1/3 for subject detection. Hp and Vp are horizontal and vertical position data of the subject, and Hw and Vw are horizontal and vertical size data of the subject.

また、図9(c)は、図9(a)の画像を表示画像用に1/2に縮小し、リサイズした枠を重畳した結果を示す図である。枠のリサイズは、例えば下式(1)〜(4)に示す演算を用いて算出される。   FIG. 9C is a diagram illustrating a result of superimposing a resized frame by reducing the image of FIG. 9A to 1/2 for a display image. The resizing of the frame is calculated using, for example, the calculations shown in the following formulas (1) to (4).

Figure 0005284137
Figure 0005284137

Hp'、Vp'はリサイズ後の枠の水平、垂直の位置データであり、Hw'、Vw'はリサイズ後の枠の水平、垂直のサイズデータである。また、H1、V1は被写体検出用画像の水平、垂直の画像サイズであり、H2、V2は表示画像の水平、垂直の画像サイズを示す。図中では、Hp'、Vp'演算時に発生した小数点以下の値は切り捨て、Hw'、Vw'演算時に発生した小数点以下の値は切り上げて示してある。   Hp ′ and Vp ′ are horizontal and vertical position data of the frame after resizing, and Hw ′ and Vw ′ are horizontal and vertical size data of the frame after resizing. H1 and V1 are the horizontal and vertical image sizes of the subject detection image, and H2 and V2 indicate the horizontal and vertical image sizes of the display image. In the drawing, values after the decimal point generated during the Hp ′ and Vp ′ calculations are rounded down, and values after the decimal point generated during the Hw ′ and Vw ′ calculations are rounded up.

一方で、図9(d)は、28×28のセンサ上の画素サイズの画像で、黒で塗りつぶされているところに被写体がある図であり、図9(a)に対して1フレーム後の画像で、被写体の動き等によって被写体が左へ1画素移動している。   On the other hand, FIG. 9D is an image of a pixel size on a 28 × 28 sensor, where a subject is painted in black, and is one frame after FIG. 9A. In the image, the subject has moved one pixel to the left due to the movement of the subject.

また、図9(e)は、図9(d)の画像を被写体検出用に1/3に縮小し、被写体検出した結果を示す図である。Hp、Vpは被写体の水平、垂直の位置データであり、Hw、Vwは被写体の水平、垂直のサイズデータである。   FIG. 9E is a diagram showing the result of subject detection after reducing the image of FIG. 9D to 1/3 for subject detection. Hp and Vp are horizontal and vertical position data of the subject, and Hw and Vw are horizontal and vertical size data of the subject.

また、図9(f)は、図9(a)の画像を表示画像用に1/2に縮小し、リサイズした枠を重畳した結果を示す図である。   FIG. 9F is a diagram illustrating a result of superimposing a resized frame by reducing the image of FIG. 9A to 1/2 for a display image.

ここで、図9(a)、(b)、(c)と、図9(d)、(e)、(f)とを比較すると、センサ上の画像((a)と(d))において、被写体が移動したために、被写体検出の結果((b)と(e))に差分が生じている。その結果、表示画像に重畳する枠の位置及びサイズのずれが倍増され((c)と(f))、連続した画像とするとフレームごとに枠が変動してしまうという問題があった。特に、表示画像サイズの被写体検出用画像サイズに対する比が大きい場合は、表示画像に重畳する枠の位置及びサイズが大きく変化するために、フレームごとに枠が大きく変動してしまうという問題があった。   Here, when FIGS. 9 (a), (b), and (c) are compared with FIGS. 9 (d), (e), and (f), in the images ((a) and (d)) on the sensor. Since the subject has moved, there is a difference between the subject detection results ((b) and (e)). As a result, the position and size deviation of the frame to be superimposed on the display image is doubled ((c) and (f)), and there is a problem that the frame fluctuates for each frame when the images are continuous. In particular, when the ratio of the display image size to the subject detection image size is large, the position and size of the frame to be superimposed on the display image change greatly, and there is a problem that the frame varies greatly from frame to frame. .

本発明は以上のような状況に鑑みてなされたものであり、被写体の動き等によって被写体検出結果がずれた場合でも、表示される枠が変動することを防ぐことを目的とする。   The present invention has been made in view of the above situation, and an object of the present invention is to prevent a displayed frame from fluctuating even when a subject detection result shifts due to a subject's movement or the like.

本発明の撮像装置は、複数の画素からなる撮像素子と、前記撮像素子により取得された画像信号のサイズを変換して被写体検出用画像信号を生成する第1のリサイズ手段と、前記被写体検出用画像信号から被写体の位置データおよびサイズデータを含む被写体情報を検出する被写体検出手段と、前記撮像素子により取得された画像信号のサイズを変換して表示用の画像信号を生成する第2のリサイズ手段と、前記被写体検出手段により検出された被写体情報に基づいて、前記表示用の画像信号に基づく表示画像に重畳する枠の情報を生成し、表示手段に該枠を前記表示画像に重畳して表示させる被写体検出枠制御手段備え、前記被写体検出枠制御手段は、前記表示用の画像信号のサイズの前記被写体検出用の画像信号のサイズに対する比が大きくなるほど、前記枠の幅を太く設定し、更新された前記被写体の位置データおよびサイズデータを用いて算出した前記枠の位置データおよびサイズデータが、前記表示画像に重畳されている枠を超えている場合には前記枠の更新を行い、前記表示画像に重畳されている枠を超えていない場合には前記枠の更新を行わないことを特徴とする。
本発明の撮像装置の制御方法は、複数の画素からなる撮像素子を備えた撮像装置の制御方法であって、前記撮像素子により取得された画像信号のサイズを変換して被写体検出用画像信号を生成するステップと、前記被写体検出用画像信号から被写体の位置データおよびサイズデータを含む被写体情報を検出するステップと、前記撮像素子により取得された画像信号のサイズを変換して表示用の画像信号を生成するステップと、前記検出された被写体情報に基づいて、前記表示用の画像信号に基づく表示画像に重畳する枠の情報を生成し、表示手段に該枠を前記表示画像に重畳して表示させる被写体検出枠制御ステップし、前記被写体検出枠制御ステップは、前記表示用の画像信号のサイズの前記被写体検出用の画像信号のサイズに対する比が大きくなるほど、前記枠の幅を太く設定し、更新された前記被写体の位置データおよびサイズデータを用いて算出した前記枠の位置データおよびサイズデータが、前記表示画像に重畳されている枠を超えている場合には前記枠の更新を行い、前記表示画像に重畳されている枠を超えていない場合には前記枠の更新を行わないことを特徴とする。
本発明のプログラムは、複数の画素からなる撮像素子を備えた撮像装置を制御するためのプログラムであって、前記撮像素子により取得された画像信号のサイズを変換して被写体検出用画像信号を生成する処理と、前記被写体検出用画像信号から被写体の位置データおよびサイズデータを含む被写体情報を検出する処理と、前記撮像素子により取得された画像信号のサイズを変換して表示用の画像信号を生成する処理と、前記検出された被写体情報に基づいて、前記表示用の画像信号に基づく表示画像に重畳する枠の情報を生成し、表示手段に該枠を前記表示画像に重畳して表示させる被写体検出枠制御処理コンピュータに実行させ、前記被写体検出枠制御処理は、前記表示用の画像信号のサイズの前記被写体検出用の画像信号のサイズに対する比が大きくなるほど、前記枠の幅を太く設定し、更新された前記被写体の位置データおよびサイズデータを用いて算出した前記枠の位置データおよびサイズデータが、前記表示画像に重畳されている枠を超えている場合には前記枠の更新を行い、前記表示画像に重畳されている枠を超えていない場合には前記枠の更新を行わないことを特徴とする
Imaging apparatus of the present invention includes an imaging device comprising a plurality of pixels, a first resizing means for generating an image signal for the object detected by converting the size of the image signal acquired by the imaging device, prior SL-be a subject detecting means for detecting the subject information including position data and the size data of the object from the image signal for Utsushitai detection, and generates an image signal for display by converting the size of the image signal acquired by the imaging device a second resizing means, based on the subject information detected by the object detecting means, and generates information of a frame to be superimposed on the display image based on the image signal for the display, the display of the frame on the display means includes a subject detecting frame control means for displaying superimposed on the image, the object detection frame control means, relative to the size of the image signal for the object detection size of the image signals for the display The larger the is, the wider the frame is set, and the frame position data and size data calculated using the updated subject position data and size data exceed the frame superimposed on the display image. The frame is updated when it is, and the frame is not updated when it does not exceed the frame superimposed on the display image .
Control method for an imaging apparatus of the present invention is a control method for an imaging apparatus having an imaging device comprising a plurality of pixels, the image signal for the object detected by converting the size of the obtained image signal by the image sensor and generating a pre-Symbol detecting the subject information including position data and the size data of the object from the image signal for the Utsushitai detection, display and convert the size of the acquired image signals by the imaging device and generating an image signal of the use, on the basis of the detected object information, generates information frame to be superimposed on the display image based on the image signal for the display, said the frame on the display means the display image by superimposing have a subject detection frame control step of displaying on said object detection frame control step, pairs of the size of the image signal for the object detection size of the image signals for the display As the ratio increases, the width of the frame is set to be thicker, and the frame position data and size data calculated using the updated position data and size data of the subject are superimposed on the display image. The frame is updated when exceeding the frame, and the frame is not updated when not exceeding the frame superimposed on the display image .
Program of the present invention is a program for controlling an imaging apparatus having an imaging device comprising a plurality of pixels, an image signal for the object detected by converting the size of the obtained image signal by the image sensor a process of generating to the previous SL and process of detecting the object information including the position data and the size data of the object from the image signal for the Utsushitai detection, for display by converting the size of the obtained image signal by the image sensor and generating an image signal, based on the detected subject information, and generates information of a frame to be superimposed on the display image based on the image signal for the display, the said frame on the display unit on the display image to execute the superimposing to object detection frame control display processing in a computer, the object detection frame control process, rhino image signal for the object detection size of the image signals for the display As the ratio to the larger, the frame width is set wider, and the frame position data and size data calculated using the updated subject position data and size data are superimposed on the display image. The frame is updated when exceeding the frame, and the frame is not updated when not exceeding the frame superimposed on the display image .

本発明によれば、被写体の動き等によって被写体検出結果がずれた場合でも、表示される枠が変動することを防ぐことができる。   According to the present invention, it is possible to prevent the displayed frame from fluctuating even when the subject detection result is shifted due to the movement of the subject.

第1の実施形態に係る撮像装置の構成例を示すブロック図である。It is a block diagram showing an example of composition of an imaging device concerning a 1st embodiment. 第1の実施形態における被写体検出枠表示制御手段の構成例を示すブロック図である。It is a block diagram which shows the structural example of the to-be-detected frame display control means in 1st Embodiment. 第1の実施形態の効果を説明するための図である。It is a figure for demonstrating the effect of 1st Embodiment. 第1の実施形態における被写体検出枠表示制御手段の制御動作を表すフローチャートである。6 is a flowchart illustrating a control operation of a subject detection frame display control unit according to the first embodiment. 第2の実施形態に係る撮像装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the imaging device which concerns on 2nd Embodiment. 第1の実施形態における被写体検出枠表示制御手段の構成例を示すブロック図である。It is a block diagram which shows the structural example of the to-be-detected frame display control means in 1st Embodiment. 第1の実施形態における被写体検出枠表示制御手段の制御動作を表すフローチャートである。6 is a flowchart illustrating a control operation of a subject detection frame display control unit according to the first embodiment. 電子ズーム倍率とα、βとの特性例を示す特性図である。It is a characteristic view which shows the example of a characteristic of electronic zoom magnification, (alpha), and (beta). 被写体検出結果のずれが倍増される様子を示す図である。It is a figure which shows a mode that the shift | offset | difference of a to-be-photographed object detection result is doubled.

以下、添付図面を参照して、本発明の好適な実施形態について説明する。
(第1の実施形態)
図1は、本発明を適用した実施形態に係る撮像装置の構成例を示すブロック図である。図1において、1はレンズ、2はレンズ1を駆動するレンズ駆動手段である。3は複数の画素からなる撮像素子、4は撮像素子3を駆動する撮像素子駆動手段である。5はCDS回路及びA/D変換器を含むアナログフロントエンド部(AFEと称する)である。
Preferred embodiments of the present invention will be described below with reference to the accompanying drawings.
(First embodiment)
FIG. 1 is a block diagram illustrating a configuration example of an imaging apparatus according to an embodiment to which the present invention is applied. In FIG. 1, reference numeral 1 denotes a lens, and reference numeral 2 denotes lens driving means for driving the lens 1. Reference numeral 3 denotes an image sensor composed of a plurality of pixels, and 4 denotes an image sensor driving means for driving the image sensor 3. Reference numeral 5 denotes an analog front end unit (referred to as AFE) including a CDS circuit and an A / D converter.

7は被写体検出手段である。6は第1のリサイズ手段であり、撮像素子3により取得されAFE5から出力される画像信号を被写体検出手段7で使用する被写体検出用画像のサイズに変換する。8はAF評価値生成手段であり、AFE5からの画像信号と被写体検出手段7からの被写体検出情報とに基づいてAF評価値を生成する。   Reference numeral 7 denotes a subject detection means. Reference numeral 6 denotes first resizing means for converting the image signal acquired by the image sensor 3 and output from the AFE 5 into the size of the subject detection image used by the subject detection means 7. Reference numeral 8 denotes an AF evaluation value generation unit that generates an AF evaluation value based on the image signal from the AFE 5 and the subject detection information from the subject detection unit 7.

9はカメラ信号処理手段である。10は第2のリサイズ手段であり、撮像素子3により取得されカメラ信号処理手段9から出力される画像信号を表示装置16に表示する画像のサイズに変換する。   Reference numeral 9 denotes camera signal processing means. Reference numeral 10 denotes a second resizing unit that converts an image signal acquired by the image pickup device 3 and output from the camera signal processing unit 9 into an image size to be displayed on the display device 16.

11は本発明でいう被写体検出枠制御手段として機能する被写体検出枠表示制御手段である。12は画像重畳手段であり、第2のリサイズ手段10からの画像信号に、被写体検出枠表示制御手段11からの枠を重畳する。14は撮像装置から取り外し可能な画像記録媒体である。13は記録処理手段であり、フレーム間予測符号化処理された画像信号を記録媒体14に記録する。   Reference numeral 11 denotes subject detection frame display control means which functions as subject detection frame control means in the present invention. An image superimposing unit 12 superimposes the frame from the subject detection frame display control unit 11 on the image signal from the second resizing unit 10. Reference numeral 14 denotes an image recording medium that can be detached from the imaging apparatus. Reference numeral 13 denotes recording processing means for recording the image signal subjected to the inter-frame predictive encoding process on the recording medium 14.

16はカメラ信号処理された画像信号を表示する表示装置である。15は表示装置16に画像を表示する表示処理手段である。17はバスである。18は撮像装置全体を制御するシステム制御部である。   Reference numeral 16 denotes a display device that displays an image signal subjected to camera signal processing. Reference numeral 15 denotes display processing means for displaying an image on the display device 16. 17 is a bus. A system control unit 18 controls the entire image pickup apparatus.

上述のように構成された撮像装置での撮影動作について説明する。まず、レンズ1はシステム制御部18により制御されるレンズ駆動手段2からの駆動パルスで駆動され、被写体像を撮像素子3上に結像させる。撮像素子3は、システム制御部18により制御される撮像素子駆動手段4からの駆動パルスによって撮像を行う。   A shooting operation in the imaging apparatus configured as described above will be described. First, the lens 1 is driven by a driving pulse from the lens driving means 2 controlled by the system control unit 18 to form a subject image on the image sensor 3. The image sensor 3 captures an image using a drive pulse from the image sensor driving unit 4 controlled by the system control unit 18.

撮像素子3から出力されたアナログの画像信号は、AFE5内部のCDS回路でクロック同期性ノイズが除去され、AFE5内部のA/D変換器でデジタル画像信号に変換される。AFE5からのデジタル画像信号は、カメラ信号処理手段9で輝度色差の画像信号に変換される。   The analog image signal output from the image pickup device 3 is removed from the clock synchronization noise by the CDS circuit inside the AFE 5 and converted into a digital image signal by the A / D converter inside the AFE 5. The digital image signal from the AFE 5 is converted into an image signal of luminance color difference by the camera signal processing means 9.

また、AFE5からのデジタル画像信号は第1のリサイズ手段6により、被写体検出手段7での被写体検出に適したサイズの画像信号に変換される。被写体検出手段7は、第1のリサイズ手段6で変換された画像信号から被写体を検出し、その被写体検出情報として被写体の位置データ及び被写体のサイズデータをAF評価値生成手段8、また、バス17を経由してシステム制御部18へ出力する。AF評価値生成手段8は、被写体検出手段7からの被写体検出情報とAFE5からの画像信号を用いてAF評価値を生成する。   The digital image signal from the AFE 5 is converted by the first resizing unit 6 into an image signal having a size suitable for subject detection by the subject detecting unit 7. The subject detection means 7 detects a subject from the image signal converted by the first resizing means 6, and uses subject position data and subject size data as AF evaluation value generation means 8 and a bus 17 as subject detection information. To the system control unit 18. The AF evaluation value generation unit 8 generates an AF evaluation value using the subject detection information from the subject detection unit 7 and the image signal from the AFE 5.

第2のリサイズ手段10は、カメラ信号処理手段9からの画像信号を表示画像サイズに変換して画像重畳手段12へ出力するとともに、記録用の画像サイズに変換し、記録処理手段13へ出力する。   The second resizing means 10 converts the image signal from the camera signal processing means 9 into a display image size and outputs it to the image superimposing means 12, converts it into a recording image size, and outputs it to the recording processing means 13. .

被写体検出枠表示制御手段11は、被写体検出手段7により検出された被写体情報と、表示画像サイズの被写体検出用画像サイズに対する比(以下、「サイズ比」と称する)から表示画像に重畳する枠の情報として、枠の位置データ、枠のサイズデータ及び枠の幅データを算出する。   The subject detection frame display control unit 11 determines the frame to be superimposed on the display image from the subject information detected by the subject detection unit 7 and the ratio of the display image size to the subject detection image size (hereinafter referred to as “size ratio”). As information, frame position data, frame size data, and frame width data are calculated.

画像重畳手段12は、第2のリサイズ手段10からの画像信号に被写体検出枠表示制御手段11からの枠情報に基づいた枠を重畳する。   The image superimposing unit 12 superimposes a frame based on the frame information from the subject detection frame display control unit 11 on the image signal from the second resizing unit 10.

表示処理手段15は、画像重畳手段12からの画像信号を表示装置16に適した信号(例えばNTSC方式のアナログ信号等)に変換して表示装置16に表示する。記録処理手段13は、カメラ信号処理手段9からの画像信号を圧縮符号化し、記録媒体14に適したデータ(例えば階層構造を持つファイルシステムデータ)に変換して記録媒体14に記録する。   The display processing means 15 converts the image signal from the image superimposing means 12 into a signal suitable for the display device 16 (for example, an NTSC analog signal or the like) and displays it on the display device 16. The recording processing unit 13 compresses and encodes the image signal from the camera signal processing unit 9, converts it into data suitable for the recording medium 14 (for example, file system data having a hierarchical structure), and records the data on the recording medium 14.

システム制御部18は、レンズ駆動手段2、撮像素子駆動手段4、カメラ信号処理手段9、記録処理手段13、表示処理手段15を制御する。   The system control unit 18 controls the lens driving unit 2, the image sensor driving unit 4, the camera signal processing unit 9, the recording processing unit 13, and the display processing unit 15.

次に、図2を参照して、被写体検出枠表示制御手段11の構成について説明する。101は枠リサイズ手段であり、システム制御部18からのサイズ比を用いて、表示画像に重畳する枠の位置及びサイズを、例えば上述した式(1)〜(4)に示す演算を用いて算出する。   Next, the configuration of the subject detection frame display control unit 11 will be described with reference to FIG. Reference numeral 101 denotes frame resizing means, which uses the size ratio from the system control unit 18 to calculate the position and size of the frame to be superimposed on the display image using, for example, the calculations shown in the above-described equations (1) to (4). To do.

102は枠幅算出手段であり、システム制御部18からのサイズ比に応じて枠の幅を算出し、画像重畳手段12へ出力する。   Reference numeral 102 denotes a frame width calculation unit that calculates a frame width according to the size ratio from the system control unit 18 and outputs the frame width to the image superimposing unit 12.

ここで、例えば、表示画像サイズと被写体検出用画像サイズとの比が10:1である場合、被写体検出結果が1画素ずれると、枠のリサイズ結果は10画素ずれることとなる。一方で、表示画像サイズと被写体検出用画像サイズとの比が1:10である場合は、被写体検出結果が1画素ずれても、枠のリサイズ結果は0.1画素しかずれないこととなる。そこで、枠幅算出手段102は、例えば下式(5)、(6)に示す演算を用いて枠の幅を設定する。   Here, for example, when the ratio between the display image size and the subject detection image size is 10: 1, if the subject detection result is shifted by 1 pixel, the frame resizing result is shifted by 10 pixels. On the other hand, when the ratio between the display image size and the subject detection image size is 1:10, even if the subject detection result is shifted by one pixel, the frame resizing result is shifted by only 0.1 pixel. Therefore, the frame width calculation means 102 sets the frame width using, for example, calculations shown in the following equations (5) and (6).

Figure 0005284137
Figure 0005284137

ここで、Wh、Wvはそれぞれ表示する枠の水平、垂直の幅であり、H1、V1は被写体検出用画像の水平、垂直の画像サイズであり、H2、V2は表示画像の水平、垂直の画像サイズを示す。また、αとβは変動を許容する画素数を表し、例えば、被写体検出結果のずれを1画素許容する場合には、α=1を設定することで、被写体検出結果のずれを1画素許容する枠の幅が設定される。   Here, Wh and Wv are the horizontal and vertical widths of the display frame, H1 and V1 are the horizontal and vertical image sizes of the subject detection image, and H2 and V2 are the horizontal and vertical images of the display image. Indicates size. In addition, α and β represent the number of pixels that are allowed to vary. For example, when one pixel deviation of the subject detection result is allowed, by setting α = 1, one pixel deviation of the subject detection result is allowed. The frame width is set.

図3は、式(5)、(6)に示す演算を用いて枠の幅を設定している様子を示す。図3(a)、(b)、(d)、(e)は図9(a)、(b)、(d)、(e)と同じであり、図3(c)及び(f)に示すように、図9の(c)及び(f)に対して、枠の幅を2画素として重畳している。   FIG. 3 shows a state in which the frame width is set using the calculations shown in equations (5) and (6). 3 (a), (b), (d), and (e) are the same as FIGS. 9 (a), (b), (d), and (e), and FIGS. 3 (c) and (f) As shown in FIG. 9, the width of the frame is overlapped with two pixels with respect to (c) and (f) of FIG.

このように、表示画像サイズの被写体検出用画像サイズに対する比に応じて枠の幅を設定することで枠の細かな変動が発生しない。すなわち、表示画像サイズが被写体検出用画像サイズに比べて大きくなるに従って枠の幅を太くする制御を行うことによって、枠の細かな変動を吸収することができる。   As described above, by setting the width of the frame in accordance with the ratio of the display image size to the subject detection image size, fine fluctuation of the frame does not occur. That is, by performing control to increase the width of the frame as the display image size becomes larger than the image size for subject detection, it is possible to absorb minute fluctuations in the frame.

次に、図4のフローチャートを参照して、被写体検出枠表示制御手段11の制御動作について説明する。まず、ステップS101において、被写体検出手段7から被写体検出結果として位置データ及びサイズデータを取得し、ステップS102へ進む。次にステップS102において、例えば上式(1)〜(4)に示す演算を用いて表示する枠の位置データ及びサイズデータの算出を行う。   Next, the control operation of the subject detection frame display control unit 11 will be described with reference to the flowchart of FIG. First, in step S101, position data and size data are acquired as a subject detection result from the subject detection means 7, and the process proceeds to step S102. In step S102, the position data and size data of the frame to be displayed are calculated using, for example, the calculations shown in the above formulas (1) to (4).

次にステップS103において、現在表示している枠の幅と、ステップS102で算出された枠の位置データ及びサイズデータの比較を行い、ステップS104へ進む。ステップS104において、現在表示している枠の幅と、ステップS102で算出された枠の位置データ及びサイズデータとを比較する。その比較の結果、ステップS102で算出された枠の位置データ及びサイズデータが、現在表示している枠の幅を超えている場合はステップS105へ進み、超えていない場合はステップS108へ進み、枠の更新を行わない。   In step S103, the width of the currently displayed frame is compared with the frame position data and size data calculated in step S102, and the process proceeds to step S104. In step S104, the width of the currently displayed frame is compared with the frame position data and size data calculated in step S102. As a result of the comparison, if the position data and size data of the frame calculated in step S102 exceed the width of the currently displayed frame, the process proceeds to step S105. If not, the process proceeds to step S108. Will not be updated.

ステップS105において、ステップS102で算出した枠の位置データ及びサイズデータに小数以下の切捨て等の処理を加えることで表示画像の画素位置に合致するように処理し、ステップS106へ進む。次にステップS106において、例えば上述した式(5)、(6)に示す演算を用いて枠の幅を算出する。   In step S105, the frame position data and size data calculated in step S102 are processed so as to match the pixel position of the display image by performing processing such as truncation of decimals, and the process proceeds to step S106. Next, in step S106, the width of the frame is calculated using, for example, the calculations shown in the above-described equations (5) and (6).

次にステップS107において、ステップS105、S106で算出した枠の位置、サイズ、幅を画像重畳手段12へ出力し、枠を更新する。   In step S107, the frame position, size, and width calculated in steps S105 and S106 are output to the image superimposing means 12, and the frame is updated.

以上説明したように、枠に幅を持たせることによって、被写体の動き等の要因によって被写体検出結果がずれた場合でも、画像ごとに枠が変動することを防ぐことができる。   As described above, by providing the frame with a width, it is possible to prevent the frame from fluctuating for each image even when the subject detection result is shifted due to a factor such as the movement of the subject.

(第2の実施形態)
次に、第2の実施形態について説明する。第2の実施形態に係る撮像装置では、図5に示すように、電子ズーム制御手段19を備えている。なお、電子ズーム制御手段19以外の構成は第1の実施形態と略同様であり、同様の構成には同一番号を付し、その詳細な説明は省略する。
(Second Embodiment)
Next, a second embodiment will be described. The imaging apparatus according to the second embodiment includes electronic zoom control means 19 as shown in FIG. The configuration other than the electronic zoom control means 19 is substantially the same as that in the first embodiment, and the same reference numerals are given to the same configurations, and detailed description thereof is omitted.

第2のリサイズ手段10は、カメラ信号処理手段9からの画像信号を表示画像サイズ及び記録用の画像サイズに変換し、電子ズーム制御手段19からの電子ズーム倍率情報に応じて電子ズーム処理を施して画像重畳手段12及び記録処理手段13へ出力する。   The second resizing means 10 converts the image signal from the camera signal processing means 9 into a display image size and a recording image size, and performs electronic zoom processing according to the electronic zoom magnification information from the electronic zoom control means 19. Output to the image superimposing means 12 and the recording processing means 13.

次に、図6を参照して、被写体検出枠表示制御手段11の構成について説明する。103は枠リサイズ手段であり、システム制御部18からのサイズ比と電子ズーム倍率を用いて、表示画像に重畳する枠の位置及びサイズを、例えば下式(7)〜(10)に示す演算を用いて算出する。   Next, the configuration of the subject detection frame display control unit 11 will be described with reference to FIG. Reference numeral 103 denotes frame resizing means, which uses the size ratio from the system control unit 18 and the electronic zoom magnification to calculate the position and size of the frame to be superimposed on the display image, for example, by the following equations (7) to (10). Use to calculate.

Figure 0005284137
Figure 0005284137

104は枠幅算出手段であり、システム制御部18からのサイズ比と電子ズーム倍率に応じて枠の幅を算出し、画像重畳手段12へ出力する。   A frame width calculation unit 104 calculates the frame width according to the size ratio and the electronic zoom magnification from the system control unit 18 and outputs the frame width to the image superimposing unit 12.

ここで、例えば、表示画像サイズと被写体検出用画像サイズとの比が10:1であり、電子ズームの倍率が2倍である場合、被写体検出結果が1画素ずれると、枠のリサイズ結果は20画素ずれることとなる。一方で、表示画像サイズと被写体検出用画像サイズとの比が1:10であり、電子ズームの倍率が2倍である場合は、被写体検出結果が1画素ずれても、枠のリサイズ結果は0.05画素しかずれないこととなる。そこで、枠幅算出手段104は、例えば下式(11)、(12)に示す演算を用いて枠の幅を設定する。   Here, for example, when the ratio between the display image size and the subject detection image size is 10: 1 and the magnification of the electronic zoom is double, if the subject detection result is shifted by one pixel, the frame resizing result is 20 Pixel shift will occur. On the other hand, when the ratio between the display image size and the subject detection image size is 1:10 and the magnification of the electronic zoom is double, the frame resizing result is 0 even if the subject detection result is shifted by one pixel. .05 pixels will be displaced. Therefore, the frame width calculation unit 104 sets the frame width using, for example, calculations shown in the following equations (11) and (12).

Figure 0005284137
Figure 0005284137

ここで、Wh'、Wv'はそれぞれ電子ズーム倍率を考慮して表示する枠の水平、垂直の幅であり、H1、V1は被写体検出用画像の水平、垂直の画像サイズであり、H2、V2は表示画像の水平、垂直の画像サイズを示す。また、αとβは変動を許容する画素数を表す。すなわち、表示画像サイズが被写体検出用画像サイズに比べて大きくなるのに加えて、電子ズーム倍率が大きくなるに従って枠の幅を太くする制御を行うことによって、枠の細かな変動を吸収することができる。   Here, Wh ′ and Wv ′ are the horizontal and vertical widths of the frame to be displayed in consideration of the electronic zoom magnification, and H1 and V1 are the horizontal and vertical image sizes of the subject detection image, and H2 and V2 Indicates the horizontal and vertical image sizes of the display image. In addition, α and β represent the number of pixels that allow variation. In other words, in addition to the display image size becoming larger than the subject detection image size, fine control of the frame can be absorbed by performing control to increase the frame width as the electronic zoom magnification increases. it can.

次に、図7のフローチャートを参照して、被写体検出枠表示制御手段11の制御動作について説明する。まず、ステップS201において、被写体検出手段7から被写体検出結果として位置データ及びサイズデータを取得し、ステップS202へ進む。次にステップS202において、電子ズーム制御手段19より電子ズーム倍率を取得し、ステップS203へ進む。次にステップS203において、例えば上式(7)〜(10)に示す演算を用いて表示する枠の位置データ及びサイズデータの算出を行う。   Next, the control operation of the subject detection frame display control unit 11 will be described with reference to the flowchart of FIG. First, in step S201, position data and size data are acquired as a subject detection result from the subject detection means 7, and the process proceeds to step S202. Next, in step S202, the electronic zoom magnification is obtained from the electronic zoom control means 19, and the process proceeds to step S203. Next, in step S203, for example, the position data and size data of the frame to be displayed are calculated using the calculations shown in the above equations (7) to (10).

次にステップS204において、現在表示している枠の幅と、ステップS203で算出された枠の位置データ及びサイズデータの比較を行い、ステップS205へ進む。ステップS205において、現在表示している枠の幅と、ステップS203で算出された枠の位置データ及びサイズデータとを比較する。その比較の結果、ステップS203で算出された枠の位置データ及びサイズデータが、現在表示している枠の幅を超えている場合はステップS206へ進み、超えていない場合はステップS209へ進み、枠の更新を行わない。   In step S204, the width of the currently displayed frame is compared with the position data and size data of the frame calculated in step S203, and the process proceeds to step S205. In step S205, the width of the currently displayed frame is compared with the frame position data and size data calculated in step S203. As a result of the comparison, if the position data and size data of the frame calculated in step S203 exceed the width of the currently displayed frame, the process proceeds to step S206. If not, the process proceeds to step S209. Will not be updated.

ステップS206において、ステップS203で算出した枠の位置データ及びサイズデータに小数以下の切捨て等の処理を加えることで表示画像の画素位置に合致するように処理し、ステップS207へ進む。次にステップS207において、例えば上述した式(11)、(12)に示す演算を用いて枠の幅を算出する。   In step S206, processing such as truncation of the fractional number is added to the frame position data and size data calculated in step S203 so as to match the pixel position of the display image, and the process proceeds to step S207. Next, in step S207, for example, the width of the frame is calculated using the calculations shown in the above-described equations (11) and (12).

次にステップS208において、ステップS206、S207で算出した枠の位置、サイズ、幅を画像重畳手段12へ出力し、枠を更新する。   In step S208, the frame position, size, and width calculated in steps S206 and S207 are output to the image superimposing unit 12 to update the frame.

なお、本実施形態では、表示画像また記録用の画像に対してのみ電子ズーム処理を加え、被写体検出用画像には電子ズーム処理を加えない構成について説明をしたが、被写体検出用画像にも電子ズーム処理を加えるようにしてもよい。その場合、上述した式(11)、(12)のように電子ズーム倍率を考慮するのではなく、上述した式(5)、(6)において、α、βを例えば図8に示す特性線のように制御することによって同様の効果を得ることができる。   In this embodiment, the electronic zoom process is applied only to the display image or the recording image, and the electronic zoom process is not applied to the subject detection image. Zoom processing may be added. In that case, instead of considering the electronic zoom magnification as in the above-described equations (11) and (12), in the above-described equations (5) and (6), α and β are, for example, the characteristic lines shown in FIG. By controlling in this way, the same effect can be obtained.

以上説明したように、更に電子ズームの倍率に応じて枠の幅を制御することにより、被写体の動き等の要因による被写体検出結果のずれが電子ズームの倍率分だけ大きくなった場合でも、画像ごとに枠が細かく変動することを防ぐことができる。   As described above, by controlling the width of the frame according to the magnification of the electronic zoom, even if the deviation of the subject detection result due to the subject's movement or the like is increased by the magnification of the electronic zoom, it is It is possible to prevent the frame from fluctuating finely.

なお、本発明の目的は、上述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システム或いは装置に供給することによっても達成される。この場合、そのシステム或いは装置のコンピュータ(又はCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行する。   The object of the present invention can also be achieved by supplying a storage medium storing software program codes for realizing the functions of the above-described embodiments to a system or apparatus. In this case, the computer (or CPU or MPU) of the system or apparatus reads and executes the program code stored in the storage medium.

この場合、記憶媒体から読み出されたプログラムコード自体が上述した実施形態の機能を実現することになり、プログラムコード自体及びそのプログラムコードを記憶した記憶媒体は本発明を構成することになる。   In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the program code itself and the storage medium storing the program code constitute the present invention.

プログラムコードを供給するための記憶媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROM等を用いることができる。   As a storage medium for supplying the program code, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

また、コンピュータが読み出したプログラムコードを実行することにより、上述した実施形態の機能が実現されるだけに限らない。例えば、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(基本システム或いはオペレーティングシステム)等が実際の処理の一部又は全部を行い、その処理によって上述した実施形態の機能が実現されてもよい。   Further, the functions of the above-described embodiments are not limited to being realized by executing the program code read by the computer. For example, an OS (basic system or operating system) running on the computer performs part or all of the actual processing based on an instruction of the program code, and the functions of the above-described embodiments are realized by the processing. May be.

さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれる形態でもよい。この場合メモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部又は全部を行い、その処理によって上述した実施形態の機能が実現される。   Further, the program code read from the storage medium may be written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer. In this case, after being written in the memory, the CPU of the function expansion board or function expansion unit performs part or all of the actual processing based on the instruction of the program code, and the function of the above-described embodiment is performed by the processing. Is realized.

1‥‥レンズ
2‥‥レンズ駆動手段
3‥‥撮像素子
4‥‥撮像素子駆動手段
5‥‥AFE
6‥‥第1のリサイズ手段
7‥‥被写体検出手段
8‥‥AF評価値生成手段
9‥‥カメラ信号処理手段
10‥‥第2のリサイズ手段
11‥‥被写体検出表示制御手段
12‥‥画像重畳手段
13‥‥記録処理手段
14‥‥記録媒体
15‥‥表示処理手段
16‥‥表示装置
17‥‥バス
18‥‥システム制御部
19‥‥電子ズーム制御手段
DESCRIPTION OF SYMBOLS 1 ... Lens 2 ... Lens drive means 3 ... Imaging element 4 ... Imaging element drive means 5 ... AFE
6. First resizing means 7 Subject detecting means 8 AF evaluation value generating means 9 Camera signal processing means 10 Second resizing means 11 Subject detection display control means 12 Image superposition Means 13 ... Recording processing means 14 ... Recording medium 15 ... Display processing means 16 ... Display device 17 ... Bus 18 ... System controller 19 ... Electronic zoom control means

Claims (6)

複数の画素からなる撮像素子と、
前記撮像素子により取得された画像信号のサイズを変換して被写体検出用画像信号を生成する第1のリサイズ手段と、
記被写体検出用画像信号から被写体の位置データおよびサイズデータを含む被写体情報を検出する被写体検出手段と、
前記撮像素子により取得された画像信号のサイズを変換して表示用の画像信号を生成する第2のリサイズ手段と、
前記被写体検出手段により検出された被写体情報に基づいて、前記表示用の画像信号に基づく表示画像に重畳する枠の情報を生成し、表示手段に該枠を前記表示画像に重畳して表示させる被写体検出枠制御手段備え
前記被写体検出枠制御手段は、前記表示用の画像信号のサイズの前記被写体検出用の画像信号のサイズに対する比が大きくなるほど、前記枠の幅を太く設定し、更新された前記被写体の位置データおよびサイズデータを用いて算出した前記枠の位置データおよびサイズデータが、前記表示画像に重畳されている枠を超えている場合には前記枠の更新を行い、前記表示画像に重畳されている枠を超えていない場合には前記枠の更新を行わないことを特徴とする撮像装置。
An image sensor comprising a plurality of pixels;
A first resizing means for generating an image signal for the object detected by converting the size of the obtained image signal by the image pickup device,
A subject detecting means for detecting the subject information including position data and the size data of the object from the previous SL image signal for the Utsushitai detection,
Second resizing means for converting the size of the image signal acquired by the image sensor to generate an image signal for display;
Based on the subject information detected by the object detecting means, and generates information of a frame to be superimposed on the display image based on the image signals for the display to display by superimposing the frame on the display image on the display unit includes a subject detecting frame control means,
The subject detection frame control means sets the width of the frame to be larger as the ratio of the size of the image signal for display to the size of the image signal for subject detection increases, and the updated position data of the subject and When the position data and size data of the frame calculated using size data exceed the frame superimposed on the display image, the frame is updated, and the frame superimposed on the display image An imaging apparatus characterized in that the frame is not updated when it does not exceed .
複数の画素からなる撮像素子と、
前記撮像素子により取得された画像信号のサイズを変換して被写体検出用の画像信号を生成する第1のリサイズ手段と、
前記被写体検出用の画像信号から被写体の位置データおよびサイズデータを含む被写体情報を検出する被写体検出手段と、
前記撮像素子により取得された画像信号のサイズを変換して表示用の画像信号を生成する第2のリサイズ手段と、
前記表示用の画像信号に対してさらに電子ズーム処理を行う電子ズーム手段と、
前記被写体検出手段により検出された被写体情報に基づいて、電子ズーム処理が行われた前記表示用の画像信号に基づく表示画像に重畳する枠の情報を生成し、表示手段に該枠を前記表示画像に重畳して表示させる被写体検出枠制御手段を備え、
前記被写体検出枠制御手段は、前記表示用の画像信号のサイズの前記被写体検出用の画像信号のサイズに対する比に対して前記電子ズーム処理の倍率を乗算した値が大きくなるほど、前記枠の幅を太く設定し、更新された前記被写体の位置データおよびサイズデータを用いて算出した前記枠の位置データおよびサイズデータが、前記表示画像に重畳されている枠を超えている場合には前記枠の更新を行い、前記表示画像に重畳されている枠を超えていない場合には前記枠の更新を行わないことを特徴とする撮像装置。
An image sensor comprising a plurality of pixels;
First resizing means for converting the size of the image signal acquired by the imaging element to generate an image signal for subject detection;
Subject detection means for detecting subject information including position data and size data of the subject from the image signal for subject detection;
Second resizing means for converting the size of the image signal acquired by the image sensor to generate an image signal for display;
Electronic zoom means for further performing electronic zoom processing on the image signal for display;
Based on the subject information detected by the subject detection means, information on a frame to be superimposed on a display image based on the display image signal subjected to the electronic zoom processing is generated, and the display means displays the frame on the display image. Subject detection frame control means for superimposing and displaying
The subject detection frame control means increases the width of the frame as the value obtained by multiplying the ratio of the size of the image signal for display to the size of the image signal for subject detection multiplied by the magnification of the electronic zoom processing increases. If the position data and size data of the frame calculated using the updated position data and size data of the subject set to be larger than the frame superimposed on the display image, the frame is updated. was carried out, the display shall be the feature imaging device that does not update the frame when the image does not exceed the frame superimposed on.
複数の画素からなる撮像素子を備えた撮像装置の制御方法であって、
前記撮像素子により取得された画像信号のサイズを変換して被写体検出用画像信号を生成するステップと、
記被写体検出用画像信号から被写体の位置データおよびサイズデータを含む被写体情報を検出するステップと、
前記撮像素子により取得された画像信号のサイズを変換して表示用の画像信号を生成するステップと、
前記検出された被写体情報に基づいて、前記表示用の画像信号に基づく表示画像に重畳する枠の情報を生成し、表示手段に該枠を前記表示画像に重畳して表示させる被写体検出枠制御ステップし、
前記被写体検出枠制御ステップは、前記表示用の画像信号のサイズの前記被写体検出用の画像信号のサイズに対する比が大きくなるほど、前記枠の幅を太く設定し、更新された前記被写体の位置データおよびサイズデータを用いて算出した前記枠の位置データおよびサイズデータが、前記表示画像に重畳されている枠を超えている場合には前記枠の更新を行い、前記表示画像に重畳されている枠を超えていない場合には前記枠の更新を行わないことを特徴とする撮像装置の制御方法。
A method for controlling an imaging apparatus including an imaging device including a plurality of pixels,
Converting the size of the image signal acquired by the image sensor to generate an image signal for subject detection;
Detecting the subject information including position data and the size data of the object from the previous SL image signal for the Utsushitai detection,
Converting the size of the image signal acquired by the image sensor to generate an image signal for display;
On the basis of the detected subject information, the superimposed display image based on the image signal for generating and displaying information of the frame, subject detection frame control to display by superimposing the frame on the display image on the display unit step have a,
The subject detection frame control step sets the width of the frame to be thicker as the ratio of the size of the image signal for display to the size of the image signal for subject detection increases, and the updated position data of the subject and When the position data and size data of the frame calculated using size data exceed the frame superimposed on the display image, the frame is updated, and the frame superimposed on the display image A control method for an imaging apparatus, wherein the frame is not updated when it does not exceed .
複数の画素からなる撮像素子を備えた撮像装置の制御方法であって、
前記撮像素子により取得された画像信号のサイズを変換して被写体検出用の画像信号を生成するステップと、
前記被写体検出用の画像信号から被写体の位置データおよびサイズデータを含む被写体情報を検出するステップと、
前記撮像素子により取得された画像信号のサイズを変換して表示用の画像信号を生成するステップと、
前記表示用の画像信号に対してさらに電子ズーム処理を行うステップと、
前記検出された被写体情報に基づいて、電子ズーム処理が行われた前記表示用の画像信号に基づく表示画像に重畳する枠の情報を生成し、表示手段に該枠を前記表示画像に重畳して表示させる被写体検出枠制御ステップを有し、
前記被写体検出枠制御ステップは、前記表示用の画像信号のサイズの前記被写体検出用の画像信号のサイズに対する比に対して前記電子ズーム処理の倍率を乗算した値が大きくなるほど、前記枠の幅を太く設定し、更新された前記被写体の位置データおよびサイズデータを用いて算出した前記枠の位置データおよびサイズデータが、前記表示画像に重畳されている枠を超えている場合には前記枠の更新を行い、前記表示画像に重畳されている枠を超えていない場合には前記枠の更新を行わないことを特徴とする撮像装置の制御方法
A method for controlling an imaging apparatus including an imaging device including a plurality of pixels,
Converting the size of the image signal acquired by the image sensor to generate an image signal for subject detection;
Detecting subject information including subject position data and size data from the subject detection image signal;
Converting the size of the image signal acquired by the image sensor to generate an image signal for display;
Further performing electronic zoom processing on the image signal for display;
Based on the detected subject information, information on a frame to be superimposed on a display image based on the display image signal subjected to the electronic zoom process is generated, and the frame is superimposed on the display image on a display unit. A subject detection frame control step to be displayed;
The subject detection frame control step increases the width of the frame as the value obtained by multiplying the ratio of the size of the image signal for display to the size of the image signal for subject detection multiplied by the magnification of the electronic zoom processing increases. If the position data and size data of the frame calculated using the updated position data and size data of the subject set to be larger than the frame superimposed on the display image, the frame is updated. And the frame is not updated when the frame does not exceed the frame superimposed on the display image .
複数の画素からなる撮像素子を備えた撮像装置を制御するためのプログラムであって、
前記撮像素子により取得された画像信号のサイズを変換して被写体検出用画像信号を生成する処理と、
記被写体検出用画像信号から被写体の位置データおよびサイズデータを含む被写体情報を検出する処理と、
前記撮像素子により取得された画像信号のサイズを変換して表示用の画像信号を生成する処理と、
前記検出された被写体情報に基づいて、前記表示用の画像信号に基づく表示画像に重畳する枠の情報を生成し、表示手段に該枠を前記表示画像に重畳して表示させる被写体検出枠制御処理コンピュータに実行させ
前記被写体検出枠制御処理は、前記表示用の画像信号のサイズの前記被写体検出用の画像信号のサイズに対する比が大きくなるほど、前記枠の幅を太く設定し、更新された前記被写体の位置データおよびサイズデータを用いて算出した前記枠の位置データおよびサイズデータが、前記表示画像に重畳されている枠を超えている場合には前記枠の更新を行い、前記表示画像に重畳されている枠を超えていない場合には前記枠の更新を行わないことを特徴とするプログラム。
A program for controlling an image pickup apparatus including an image pickup device including a plurality of pixels,
A process of converting the size of the image signal acquired by the image sensor to generate an image signal for subject detection;
A process of detecting the object information including the position data and the size data of the object from the previous SL image signal for the Utsushitai detection,
And generating an image signal for display by converting the size of the obtained image signal by the image pickup device,
On the basis of the detected subject information, the superimposed display image based on the image signal for generating and displaying information of the frame, subject detection frame control to display by superimposing the frame on the display image on the display unit to execute the processing to the computer,
The subject detection frame control processing sets the width of the frame to be thicker as the ratio of the size of the image signal for display to the size of the image signal for subject detection increases, and the updated position data of the subject and When the position data and size data of the frame calculated using size data exceed the frame superimposed on the display image, the frame is updated, and the frame superimposed on the display image A program characterized by not updating the frame if it does not exceed .
複数の画素からなる撮像素子を備えた撮像装置を制御するためのプログラムであって、
前記撮像素子により取得された画像信号のサイズを変換して被写体検出用の画像信号を生成する処理と、
前記被写体検出用の画像信号から被写体の位置データおよびサイズデータを含む被写体情報を検出する処理と、
前記撮像素子により取得された画像信号のサイズを変換して表示用の画像信号を生成する処理と、
前記表示用の画像信号に対してさらに電子ズーム処理を行う処理と、
前記検出された被写体情報に基づいて、電子ズーム処理が行われた前記表示用の画像信号に基づく表示画像に重畳する枠の情報を生成し、表示手段に該枠を前記表示画像に重畳して表示させる被写体検出枠制御処理をコンピュータに実行させ、
前記被写体検出枠制御処理は、前記表示用の画像信号のサイズの前記被写体検出用の画像信号のサイズに対する比に対して前記電子ズーム処理の倍率を乗算した値が大きくなるほど、前記枠の幅を太く設定し、更新された前記被写体の位置データおよびサイズデータを用いて算出した前記枠の位置データおよびサイズデータが、前記表示画像に重畳されている枠を超えている場合には前記枠の更新を行い、前記表示画像に重畳されている枠を超えていない場合には前記枠の更新を行わないことを特徴とするプログラム
A program for controlling an image pickup apparatus including an image pickup device including a plurality of pixels,
A process of converting the size of the image signal acquired by the image sensor to generate an image signal for subject detection;
Processing of detecting subject information including subject position data and size data from the subject detection image signal;
A process of generating a display image signal by converting the size of the image signal acquired by the image sensor;
Processing for further performing electronic zoom processing on the image signal for display;
Based on the detected subject information, information on a frame to be superimposed on a display image based on the display image signal subjected to the electronic zoom process is generated, and the frame is superimposed on the display image on a display unit. Let the computer execute the subject detection frame control process to be displayed,
The subject detection frame control processing increases the width of the frame as the value obtained by multiplying the ratio of the size of the image signal for display to the size of the image signal for subject detection multiplied by the magnification of the electronic zoom processing increases. If the position data and size data of the frame calculated using the updated position data and size data of the subject set to be larger than the frame superimposed on the display image, the frame is updated. And the frame is not updated when the frame does not exceed the frame superimposed on the display image .
JP2009036786A 2009-02-19 2009-02-19 Imaging apparatus, control method thereof, and program Expired - Fee Related JP5284137B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009036786A JP5284137B2 (en) 2009-02-19 2009-02-19 Imaging apparatus, control method thereof, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009036786A JP5284137B2 (en) 2009-02-19 2009-02-19 Imaging apparatus, control method thereof, and program

Publications (2)

Publication Number Publication Date
JP2010193293A JP2010193293A (en) 2010-09-02
JP5284137B2 true JP5284137B2 (en) 2013-09-11

Family

ID=42818832

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009036786A Expired - Fee Related JP5284137B2 (en) 2009-02-19 2009-02-19 Imaging apparatus, control method thereof, and program

Country Status (1)

Country Link
JP (1) JP5284137B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005252570A (en) * 2004-03-03 2005-09-15 Matsushita Electric Ind Co Ltd Video signal processor
JP2008109336A (en) * 2006-10-25 2008-05-08 Matsushita Electric Ind Co Ltd Image processor and imaging apparatus
JP5159189B2 (en) * 2007-06-29 2013-03-06 キヤノン株式会社 Image processing apparatus, imaging apparatus, image processing method, and program

Also Published As

Publication number Publication date
JP2010193293A (en) 2010-09-02

Similar Documents

Publication Publication Date Title
US8687126B2 (en) Digital image signal processing method, medium for recording the method, and digital image signal processing apparatus
US7671892B2 (en) Image sensing apparatus, and control method, program, and storage medium of image sensing apparatus
JP4549260B2 (en) Recording / reproducing apparatus, recording / reproducing method, and computer program
JP2012070241A (en) Image capturing apparatus, method and program
JP2009100373A (en) Noise reduction processing apparatus, noise reduction processing method, and electronic device
JP2009071375A (en) Imaging apparatus and image processing program
JP2010062952A (en) Imaging device, image processing device, method for processing image, program, and recording medium
US10477112B2 (en) Display control apparatus displaying image, control method therefor, and storage medium storing control program therefor
JP5952782B2 (en) Image processing apparatus, control method therefor, program, and storage medium
JP4777116B2 (en) Image processing apparatus and method, and imaging apparatus
JP4952574B2 (en) Image composition apparatus and program
JP5284137B2 (en) Imaging apparatus, control method thereof, and program
JP4893330B2 (en) Imaging device
JP2007011054A (en) Imaging apparatus, control method for imaging apparatus and computer program
JP6995490B2 (en) Video playback device and its control method and program
JP6746390B2 (en) Image processing method and image processing apparatus
US20120219264A1 (en) Image processing device
JP7377048B2 (en) Image processing device and method, and imaging device
JP5831492B2 (en) Imaging apparatus, display control method, and program
JP4921118B2 (en) Video signal processing apparatus, video signal processing method, and program
JP2011078132A (en) Imaging apparatus, imaging method, image processing apparatus, image processing method, program and recording medium
JP2009017423A (en) Imaging device
JP2006148821A (en) Histogram display apparatus
JP2009064247A (en) Program, image processor, and image processing method
JP2008160274A (en) Motion vector detection method, its apparatus and its program, electronic hand-blur correction method, its apparatus and its program, as well as imaging apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120217

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130207

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130212

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130409

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130529

R151 Written notification of patent or utility model registration

Ref document number: 5284137

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees