JP2007123953A - Imaging apparatus and imaging method - Google Patents
Imaging apparatus and imaging method Download PDFInfo
- Publication number
- JP2007123953A JP2007123953A JP2005308962A JP2005308962A JP2007123953A JP 2007123953 A JP2007123953 A JP 2007123953A JP 2005308962 A JP2005308962 A JP 2005308962A JP 2005308962 A JP2005308962 A JP 2005308962A JP 2007123953 A JP2007123953 A JP 2007123953A
- Authority
- JP
- Japan
- Prior art keywords
- timer
- shutter
- moving body
- moving
- moving object
- 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.)
- Pending
Links
Images
Landscapes
- Exposure Control For Cameras (AREA)
- Details Of Cameras Including Film Mechanisms (AREA)
- Studio Devices (AREA)
Abstract
Description
本発明は、自動でシャッタを切る撮像装置及び撮像方法に関する。 The present invention relates to an imaging apparatus and an imaging method that automatically release a shutter.
従来、カメラ本体のシャッタボタンを押さずにシャッタを切るために、セルフタイマを用いる方法があった。この方法では、例えば、撮影者且つ被写体であるユーザは、一度カメラ本体のセルフタイマスイッチを押してからシャッタが切られるまでの時間内に撮影地点まで行きカメラのほうを向いてポーズをとらなければならなかった。 Conventionally, there has been a method of using a self-timer to release the shutter without pressing the shutter button of the camera body. In this method, for example, the user who is the photographer and the subject must go to the shooting point and pose facing the camera within the time from when the self-timer switch of the camera body is pressed once until the shutter is released. There wasn't.
しかし、この場合ユーザはセルフタイマのスイッチを押してからどれくらいの時間でシャッタが切られるのか分かりにくく、急いで撮影地点まで行かなければならなかったり、撮影地点でシャッタが切られるまでの時間を潰したりする必要がある、という不利益があった。 However, in this case, it is difficult for the user to know how long the shutter will be released after the self-timer switch is pressed, and the user has to go to the shooting point quickly, or the time until the shutter is released at the shooting point There was a disadvantage that it was necessary to do.
また、従来、動いている被写体を撮影する方法として、ユーザが被写体の動きを予測し、画面内の所望の位置に被写体が来る瞬間にシャッタを切る、という方法があった。
しかし、この場合被写体の動きが早い場合や動きの予測が困難である場合、ユーザは被写体を追いかけてカメラを動かし続けなければならず、しかもシャッタを切るタイミングを掴むことが難しいという不利益があった。
Conventionally, as a method of photographing a moving subject, there is a method in which the user predicts the motion of the subject and releases the shutter at the moment when the subject comes to a desired position on the screen.
However, in this case, when the movement of the subject is fast or when it is difficult to predict the movement, the user has to keep moving the camera following the subject, and there is a disadvantage that it is difficult to grasp the timing to release the shutter. It was.
上記の不利益を解消するために、撮影した映像から動体を検出し、この情報を基に自動でシャッタを切る技術がある。
しかし、被写体が複数存在する場合、動体を検出する動体検出部が1つではどれか1つの動体にしかタイミングを合わせることができず、例えば集合写真をとるような場合に全員が集まっていないのにシャッタを切ってしまうような不利益があった。
In order to eliminate the above disadvantages, there is a technique for detecting a moving object from a captured image and automatically releasing a shutter based on this information.
However, when there are a plurality of subjects, a single moving object detection unit that detects a moving object can synchronize the timing with only one moving object. For example, when taking a group photo, all the members are not gathered. There was a disadvantage that the shutter was released.
更に、カメラ本体のシャッタボタンを押さずにシャッタを切る方法として、リモコンを使用する方法があった。しかし、この場合、被写体自身がリモコンを使用しようとすると、被写体の腕や手の形が不自然になってしまう、という不利益があった。またリモコンを押してから一定時間後にシャッタが切られるとしても、リモコンを持たなければならない不便さに変わりはない、という不利益があった。 Further, as a method of releasing the shutter without pressing the shutter button of the camera body, there is a method of using a remote controller. However, in this case, if the subject himself / herself tries to use the remote control, there is a disadvantage that the shape of the subject's arm or hand becomes unnatural. Further, even if the shutter is released after a certain time from pressing the remote controller, there is a disadvantage that the inconvenience of having the remote controller remains the same.
上述した不利益を解消するために、例えば、特許文献1に開示された、映像から動きベクトルを求め、動きが止まったらセルフタイマを起動する、という技術がある。
また、例えば特許文献2に開示された、予め記憶した動きパターンと比較してマッチングが取れたらシャッタを起動する技術がある。
In order to eliminate the disadvantages described above, for example, there is a technique disclosed in
Further, for example, there is a technique disclosed in
しかし、上述した特許文献1に開示された技術では、動きが止まったときにしか対応できないので、動き続ける物体の場合には撮影できない、という不利益がある。
また、上述した特許文献2に開示された技術では、画面内に存在する被写体以外の物体が偶然に記憶した動きパターンと同一の動きをした場合、誤ってシャッタを切ってしまう、という不利益がある。
However, since the technique disclosed in
Further, in the technique disclosed in
本発明は上述した不利益を解消するために、動体情報を検出し、これを基に動き検出によりシャッタを切るまでのタイマを起動する撮像装置及び撮像方法を提供することを目的とする。 An object of the present invention is to provide an imaging apparatus and an imaging method for detecting moving body information and starting a timer until the shutter is released by motion detection based on the moving body information in order to eliminate the disadvantages described above.
上述した目的を達成するために、第1の観点の発明の撮像装置は、撮像手段と、前記撮像手段による画像を基に、動体を検出し動体情報を出力する動体検出手段と、前記動体検出手段が検出した前記動体情報を記憶する記憶手段と、初期化されてから所定の時間経過後にタイマ完了信号を出力するタイマと、前記タイマの出力する前記タイマ完了信号を基に前記シャッタ起動信号を出力するシャッタ判定手段とを有し、前記シャッタ判定手段は、前記記憶手段に記憶された前記動体情報に含まれる動体の動きがあった場合に前記タイマを初期化する。 In order to achieve the above-described object, an imaging apparatus according to a first aspect of the present invention includes an imaging unit, a moving body detection unit that detects a moving body and outputs moving body information based on an image obtained by the imaging unit, and the moving body detection. Storage means for storing the moving body information detected by the means, a timer for outputting a timer completion signal after a predetermined time has elapsed since initialization, and the shutter activation signal based on the timer completion signal output by the timer. And a shutter determination means for outputting, and the shutter determination means initializes the timer when there is a movement of a moving object included in the moving object information stored in the storage means.
好適には、前記動体情報は、少なくとも前記動体の位置、大きさ、動きの有無及び動きの大きさのうち少なくとも1つを含む。 Preferably, the moving body information includes at least one of the position, size, presence / absence of movement, and magnitude of movement of the moving body.
更に好適には、前記シャッタ判定手段は、前記タイマの出力する前記タイマ完了信号にかかわらず前記シャッタ起動信号を出力する。 More preferably, the shutter determination means outputs the shutter activation signal regardless of the timer completion signal output from the timer.
更に好適には、前記シャッタ判定手段は、前記記憶手段に記憶された動体の動きの回数を検知し、所定の回数検知した時点で前記タイマを初期化する。 More preferably, the shutter determination unit detects the number of movements of the moving body stored in the storage unit, and initializes the timer when the predetermined number of times is detected.
更に好適には、前記シャッタ判定手段は、前記記憶手段に記憶された前記動体情報を基に、動体の動き始め及び動き終わりを検知し、前記動き始め或いは動き終わりに応じて前記タイマを初期化する。 More preferably, the shutter determination unit detects the start and end of movement of the moving body based on the moving body information stored in the storage unit, and initializes the timer according to the start or end of movement. To do.
更に好適には、前記シャッタ判定手段は、前記動体検出手段が検出した前記動体情報を基に、前記動体の動きの大きさを検知し、前記動体の動きの大きさが所定の大きさになった場合に前記タイマを初期化する。 More preferably, the shutter determination means detects the magnitude of movement of the moving object based on the moving object information detected by the moving object detection means, and the magnitude of movement of the moving object becomes a predetermined magnitude. If the timer is reset, the timer is initialized.
更に好適には、前記シャッタ判定手段は、前記記憶手段が記憶した前記動体情報を基に、所定の大きさ以上の前記動体の動きを所定の回数検知した場合に前記タイマを初期化する。 More preferably, the shutter determination unit initializes the timer when the movement of the moving body having a predetermined size or more is detected a predetermined number of times based on the moving body information stored in the storage unit.
更に好適には、前記シャッタ判定手段は、前記記憶手段が記憶した前記動体情報を基に、前記動体上の1点が前記撮像手段の撮影した前記画像内の所定の点に位置した場合に前記タイマを初期化する。 More preferably, the shutter determination unit is configured to detect the moving object when one point on the moving object is located at a predetermined point in the image captured by the imaging unit based on the moving object information stored in the storage unit. Initialize the timer.
更に好適には、前記シャッタ判定手段は、前記記憶手段が記憶した前記動体情報を基に、前記動体の大きさを検知し、前記動体の大きさが所定の大きさになった場合に前記タイマを初期化する。 More preferably, the shutter determination unit detects the size of the moving body based on the moving body information stored in the storage unit, and the timer determines when the size of the moving body reaches a predetermined size. Is initialized.
更に好適には、前記動体検出手段は、複数個の動体の動きを検出して複数の動体情報を出力し、前記記憶手段は前記複数の動体検出手段が出力した前記複数の動体情報を記憶し、前記シャッタ判定手段は、前記記憶手段が記憶する前記複数の動体情報を基に、前記複数の動体の動き終わりを検知し、前記複数の動体が全て動き終わった場合に前記タイマを初期化する。 More preferably, the moving object detection means detects movements of a plurality of moving objects and outputs a plurality of moving object information, and the storage means stores the plurality of moving object information output by the plurality of moving object detection means. The shutter determination means detects the end of movement of the plurality of moving bodies based on the plurality of moving body information stored in the storage means, and initializes the timer when all of the plurality of moving bodies have finished moving. .
更に好適には、前記撮像装置が撮像した前記画像内の人物の顔の領域を検出する顔領域検出手段を更に有し、前記動体検出手段は、複数個の動体の動きを検出して複数の動体情報を出力し、前記記憶手段は前記複数の動体検出手段が出力した前記複数の動体情報を記憶し、前記シャッタ判定手段は、前記記憶手段に記憶された複数の動体情報を基に、前記複数個の動体の中から前記顔の領域を基準として一定の範囲内の所定の大きさの動体を抽出し、当該動体の動きがあった場合に前記タイマを初期化する。 More preferably, it further comprises a face area detecting means for detecting a face area of a person in the image picked up by the image pickup device, wherein the moving object detecting means detects a plurality of moving objects to detect a plurality of moving objects. Moving body information is output, the storage means stores the plurality of moving body information output by the plurality of moving body detection means, and the shutter determination means is based on the plurality of moving body information stored in the storage means. A moving body having a predetermined size within a certain range is extracted from a plurality of moving bodies with reference to the face area, and the timer is initialized when the moving body moves.
更に好適には、前記シャッタ判定手段は、前記記憶手段に記憶された前記複数個の動体の動きの回数を検知し、所定の回数検知した時点で前記タイマを初期化する。 More preferably, the shutter determination unit detects the number of movements of the plurality of moving objects stored in the storage unit, and initializes the timer when the predetermined number of times is detected.
第2の観点の発明の撮像方法は、画像を撮影する第1の工程と、前記第1の工程において撮影された前記映像信号を基に、動体を検出し動体情報を出力する第2の工程と、前記第2の工程において検出された前記動体情報を記憶する第3の工程と、前記第3の工程において記憶された前記動体情報に含まれる動体の動きがあった場合にタイマを初期化する第4の工程と、前記第4の工程において前記タイマが初期化されてから所定の時間経過後にタイマ完了信号を出力する第5の工程と、前記第5の工程において前記タイマが出力する前記タイマ完了信号に応じてシャッタ起動信号を出力する第6の工程とを有する。 The imaging method according to the second aspect of the invention is a first step of photographing an image, and a second step of detecting moving body and outputting moving body information based on the video signal photographed in the first step. And a third step of storing the moving body information detected in the second step, and a timer is initialized when there is a movement of the moving body included in the moving body information stored in the third step. A fourth step of outputting a timer completion signal after a predetermined time has elapsed since the timer was initialized in the fourth step, and the timer outputting the timer in the fifth step. And a sixth step of outputting a shutter activation signal in response to the timer completion signal.
本発明によれば、動体情報を検出し、これを基に動き検出によりシャッタを切るまでのタイマを起動する撮像装置及び撮像方法を提供することができる。 ADVANTAGE OF THE INVENTION According to this invention, the imaging device and imaging method which detect a moving body information and start the timer until it releases a shutter by motion detection based on this can be provided.
以下、本発明の実施形態について説明する。
<第1実施形態>
本実施形態では、動きの有無に応じてシャッタを切る撮像装置について説明する。
図1は、第1実施形態の撮像装置1のブロック図である。
図1に示すように、撮像装置1は、センサ11、動体検出部12、シャッタ判定部13、タイマ14、記憶部15及びシャッタ16を有する。
Hereinafter, embodiments of the present invention will be described.
<First Embodiment>
In the present embodiment, an imaging device that releases a shutter according to the presence or absence of motion will be described.
FIG. 1 is a block diagram of an
As illustrated in FIG. 1, the
センサ11は、入射した光を画像(映像信号)として出力する。センサ11には、例えば、CCDやCMOS等の半導体素子を使用する。
動体検出部12は、センサ11が出力した画像に動体検出処理を施し、動体情報をシャッタ判定部13に出力する。
動体情報は、動体の動きの有無、動きの大きさ(速度及び方向)、動体の位置、動体のサイズの内少なくとも1つを含む情報である。
なお、動体検出部12の動体検出処理の方法は、例えば、背景差分法、フレーム間差分法、オプティカルフロー法といった方法があるが、本発明では動体検出処理の方法は限定しない。
The sensor 11 outputs incident light as an image (video signal). For the sensor 11, for example, a semiconductor element such as a CCD or a CMOS is used.
The moving
The moving body information is information including at least one of the presence / absence of movement of the moving body, the magnitude (speed and direction) of the movement, the position of the moving body, and the size of the moving body.
The moving object detection processing method of the moving
なお、第1実施形態では、動体検出部12が出力する動体情報には、動きの有無が必ず含まれる。
以下、動体検出部12の動体検出方法について説明する。
In the first embodiment, the moving body information output from the moving
Hereinafter, the moving body detection method of the moving
動体検出部12は、図2に示すように、例えば、センサ11から出力された画像の、n−1番目のフレームとn番目のフレームとの差分をとる。なお、nは任意の正整数である。
As illustrated in FIG. 2, the moving
動体検出部12は、図3に示すように、n−1番目のフレームとn番目のフレームとに差分があった場合、動きがあったと判断し、動体情報として動きがあったことを出力する。差分が無かった場合は、動きが無かったことを動体情報として出力する。
As illustrated in FIG. 3, the moving
なお、動体検出部12は、画像の中のn−1番目のフレームとn番目のフレームとで差分があった領域が所定の大きさ未満であった場合は、この差分をノイズとして認識し、動きがあったとは判定しない。所定の大きさは撮像装置1の製造時に予め設定しておいてもよいし、ユーザが任意に設定できるようにしてもよい。
Note that the moving
タイマ14は、後述するシャッタ判定部によって初期化され、初期化されてから所定の時間後に完了信号をシャッタ判定部13に出力する。
タイマの初期値は撮像装置1の製造時に予め設定しておいてもよいし、ユーザが設定してもよい。
The
The initial value of the timer may be set in advance when the
シャッタ判定部13は、動体検出部12の出力した動体情報を基に、タイマ14を初期化し、所定の時間後にタイマ14が出力する完了信号を受信してシャッタ起動信号をシャッタ16に出力する。
すなわち、シャッタ判定部13は、動体検出部12が出力した「動きがあった」ことを示す動体情報を受信した場合に、タイマを初期化する。動体検出部12が出力した動体情報が「動きがない」ことを示すものだった場合は、シャッタ判定部13は何もしない。
なお、シャッタ判定部13は、タイマ14を使用しない場合には、動体検出部12の出力した動体情報を受信したらすぐにシャッタ起動信号を出力する。タイマ14を使用するか否かは、例えば図示しない入力部によりユーザが設定可能である。
The
That is, the
When the
また、例えば、シャッタ判定部13は、動きのあった回数をカウントし、所定の回数となった場合にタイマ14を初期化(シャッタ起動信号を出力)したり、動き始めや動き終わりを検出し、これらに合わせてタイマ14を初期化(シャッタ起動信号を出力)したりすることも可能である。
Further, for example, the
記憶部15は、動体検出部12が出力した、全てのフレームの動体情報を記憶する。
すなわち、記憶部15は、動体情報の履歴を記憶しておく。
シャッタ16は、シャッタ判定部13が出力したシャッタ起動信号を受信してシャッタを切る。
The
That is, the
The
次に、第1実施形態の撮像装置1の動作例を説明する。
図4は、第1実施形態の撮像装置1の動作例を示すフローチャートである。
Next, an operation example of the
FIG. 4 is a flowchart illustrating an operation example of the
ステップST1:
センサ11が画像を動体検出部12に出力する。
ステップST2:
動体検出部12が、ステップST1においてセンサ11が出力した画像の動きを検出して動体情報をシャッタ判定部13に出力し、記憶部15はこれを記憶する。
ステップST3:
シャッタ判定部13は、動体情報を基に、動きがあったか否かの判定を行い、あった場合はステップST4に進み、無かった場合はステップST1に戻る。
Step ST1:
The sensor 11 outputs an image to the moving
Step ST2:
The moving
Step ST3:
The
ステップST4:
タイマ14を使用する場合はステップST5に、タイマ14を使用せず即座にシャッタを切る場合はステップST8に進む。
ステップST5:
シャッタ判定部13は、タイマ14を初期化する。
Step ST4:
If the
Step ST5:
The
ステップST6:
タイマ14が、予め設定された所定の時間に到るまでカウントを行う。
ステップST7:
タイマ14のカウントが終わり所定の時間に到った場合は完了信号をシャッタ判定部13に出力してステップST8に進み、終わっていない場合はステップST6に戻る。
Step ST6:
The
Step ST7:
When the count of the
ステップST8:
シャッタ判定部13はステップST7におけるタイマ14の完了信号を受信してシャッタ起動信号を出力する。
ステップST9:
シャッタ16がシャッタ起動信号を受信してシャッタを切る。
Step ST8:
The
Step ST9:
The
次に、動きのあった回数をカウントする場合の動作例を説明する。
図5は、動きのあった回数をカウントする場合の撮像装置1の動作例を示すフローチャートである。
Next, an operation example when counting the number of times of movement will be described.
FIG. 5 is a flowchart illustrating an operation example of the
ステップST11:
センサ11が画像を動体検出部12に出力する。
ステップST12:
動体検出部12が、ステップST11においてセンサ11が出力した画像の動きを検出して動体情報をシャッタ判定部13に出力し、記憶部15はこれを記憶する。
ステップST13:
シャッタ判定部13は動体情報を基に動きがあったか否かの判定を行い、あった場合はステップST14に進み、無かった場合はステップST11に戻る。
Step ST11:
The sensor 11 outputs an image to the moving
Step ST12:
The moving
Step ST13:
The
ステップST14:
シャッタ判定部13は、動体検出部12が検出した動きのあった回数をカウントする。
ステップST15:
シャッタ判定部13は、ステップST14においてカウントした動きの回数が所定の回数に達したか否かを判定し、達した場合はステップST16に進み、そうでない場合はステップST11に戻る。
なお、所定の回数は、図示しない入力部等によりユーザが決定してもよいし、撮像装置1の製造時に予め設定しておいてもよい。
Step ST14:
The
Step ST15:
The
The predetermined number of times may be determined by the user using an input unit (not shown) or may be set in advance when the
ステップST16:
タイマ14を使用する場合はステップST17に、タイマ14を使用せず即座にシャッタを切る場合はステップST20に進む。
ステップST17:
シャッタ判定部13は、タイマ14を初期化する。
Step ST16:
If the
Step ST17:
The
ステップST18:
タイマ14が、予め設定された所定の時間に到るまでカウントを行う。
ステップST19:
タイマ14のカウントが終わり所定の時間に到った場合は完了信号をシャッタ判定部13に出力してステップST20に進み、終わっていない場合はステップST18に戻る。
Step ST18:
The
Step ST19:
When the count of the
ステップST20:
シャッタ判定部13はステップST19におけるタイマ14の完了信号を受信してシャッタ起動信号を出力する。
ステップST21:
シャッタ16がシャッタ起動信号を受信してシャッタを切る。
Step ST20:
The
Step ST21:
The
更に、記憶部15に記憶された動きの履歴を基に、動き始め及び動き終わりを検出し、これらに合わせてシャッタを切る場合の動作例を説明する。
図6は、動き始め及び動き終わりを検出し、これらに合わせてシャッタを切る場合の動作例を示すフローチャートである。
Furthermore, an operation example in the case where the movement start and the movement end are detected based on the movement history stored in the
FIG. 6 is a flowchart showing an operation example in the case where the start and end of movement are detected and the shutter is released in accordance with these.
ステップST31:
センサ11が画像を動体検出部12に出力する。
ステップST32:
動体検出部12は、ステップST31においてセンサ11が出力した画像の動きを検出し、記憶部15はフレームごとに動きの有無を記憶し、記憶部15はこれを記憶する。
Step ST31:
The sensor 11 outputs an image to the moving
Step ST32:
The moving
ステップST33:
シャッタ判定部13は、現在のフレームの動きの有無が直前のフレームの動きの有無と同じであるか否かを判定し、同じ場合は動き続けている、或いは静止していると判断し、ステップST31に戻る。異なる場合は、動きが始まった或いは終わったと判断し、ステップST34に進む。
ステップST34:
タイマ14を使用する場合はステップST35に、タイマ14を使用せず即座にシャッタを切る場合はステップST38に進む。
ステップST35:
シャッタ判定部13はタイマ14を初期化する。
Step ST33:
The
Step ST34:
If the
Step ST35:
The
ステップST36:
タイマ14が、予め設定された所定の時間に到るまでカウントを行う。
ステップST37:
タイマ14のカウントが終わり所定の時間に到った場合は完了信号をシャッタ判定部13に出力してステップST38に進み、終わっていない場合はステップST36に戻る。
Step ST36:
The
Step ST37:
When the count of the
ステップST38:
シャッタ判定部13はステップST37におけるタイマ14の完了信号を受信してシャッタ起動信号を出力する。
ステップST39:
シャッタ16がシャッタ起動信号を受信してシャッタを切る。
Step ST38:
The
Step ST39:
The
以上説明したように、本実施形態の撮像装置1によれば、センサ11の出力する画像の動きの有無に応じてシャッタを切るため、ユーザが自らシャッタを切ることができないような場合でも、従来のセルフタイマのように、ユーザがシャッタの切られるタイミングを把握できずうまく撮影できない、といった不利益を解消することができる。
また、動きの有無、動いた回数、動き始め等に応じてシャッタを切ることができるので、動き続ける被写体も撮影することができる。
また、被写体の動きに応じてシャッタを切るため、動いている被写体を撮影するためにカメラを動かして被写体をカメラのフレーム内に捉え続ける必要がある、或いは、シャッタを切るタイミングが難しい、という不利益を解消することができる。
また、本実施形態の撮像装置1によれば、動きの回数をカウントしてシャッタを切ったり、動き始め或いは動き終わりを判定してシャッタを切ったりすることができるので、ユーザが動体検出によるシャッタ機能を使用する際の利便性が上昇する。
As described above, according to the
In addition, since the shutter can be released according to the presence / absence of movement, the number of times of movement, the start of movement, and the like, it is possible to photograph a subject that continues to move.
Also, since the shutter is released according to the movement of the subject, it is necessary to move the camera to capture the moving subject in order to keep the subject within the camera frame, or the timing to release the shutter is difficult. Profit can be eliminated.
Further, according to the
<第2実施形態>
本実施形態では、動きの大きさ(速度や方向)に応じてシャッタを切る撮像装置について説明する。
図7は、第2実施形態の撮像装置1aのブロック図である。
図7に示すように、第2実施形態の撮像装置1aは、第1実施形態の撮像装置1と動体検出部12a及びシャッタ判定部13aを除いて同じ構成を有する。
Second Embodiment
In the present embodiment, an imaging apparatus that releases a shutter according to the magnitude (speed or direction) of movement will be described.
FIG. 7 is a block diagram of the imaging apparatus 1a of the second embodiment.
As shown in FIG. 7, the imaging device 1a of the second embodiment has the same configuration except for the
動体検出部12aは、センサ11が出力した画像に動体検出処理を施し、動体情報を出力する。
動体情報は、動体の動きの有無、動きの大きさ(速度及び方向)、その他必要により、動体の位置、動体のサイズを含む情報である。
The moving object detection unit 12a performs moving object detection processing on the image output from the sensor 11, and outputs moving object information.
The moving body information is information including the presence / absence of movement of the moving body, the magnitude (speed and direction) of the movement, and the position of the moving body and the size of the moving body as necessary.
なお、第2実施形態では、動体検出部12aが出力する動体情報には、動きの大きさ(速度及び方向)が必ず含まれる。
動体検出部12aの動体検出方法は以下のように行う。
動体検出部12aは、例えば、センサ11から出力された画像の、n−1番目のフレームとn番目のフレームとの差分をとる。図8(a)は、取った差分を示す図である。
なお、nは任意の正整数である。
In the second embodiment, the moving body information output from the moving body detection unit 12a always includes the magnitude of the movement (speed and direction).
The moving object detection method of the moving object detection unit 12a is performed as follows.
For example, the moving body detection unit 12a calculates a difference between the n−1th frame and the nth frame of the image output from the sensor 11. FIG. 8A is a diagram showing the difference taken.
Note that n is an arbitrary positive integer.
動体検出部12aは、まずn−1番目のフレームとn番目のフレームとの差分領域の重心を求める。例えば、図8(b)に示すように、差分領域を矩形で囲った時の対角線の交点を重心とする。
次に、重心の移動距離を速度とする。或いは重心の移動距離を単位時間で割ったものを速度とする。単位時間は、例えばフレーム間の時間であるが、そうでなくてもよい。
The moving object detection unit 12a first obtains the center of gravity of the difference area between the (n-1) th frame and the nth frame. For example, as shown in FIG. 8B, the intersection of diagonal lines when the difference area is enclosed by a rectangle is used as the center of gravity.
Next, the moving distance of the center of gravity is defined as speed. Alternatively, the speed obtained by dividing the moving distance of the center of gravity by the unit time. The unit time is, for example, the time between frames, but this need not be the case.
図8(a)に示すように、画像上にxy座標を設定し重心の移動距離を(dx,dy)とすると、dx及びdyの符号と傾きdx/dyから重心の移動方向を求めることができる。
動体検出部12aは、以上のように求めた動きの大きさ(速度及び方向)を動体情報として出力する。
As shown in FIG. 8A, when the xy coordinates are set on the image and the moving distance of the center of gravity is (dx, dy), the moving direction of the center of gravity can be obtained from the sign of dx and dy and the inclination dx / dy. it can.
The moving object detection unit 12a outputs the magnitude (speed and direction) of the movement obtained as described above as moving object information.
シャッタ判定部13aは、動体検出部12aが出力した動体情報、すなわち動きの大きさ(速度及び方向)の内、速度が所定の大きさ以上であった場合に、タイマ14を初期化し、所定の時間後にタイマ14が出力する完了信号を受信してシャッタ起動信号を出力する。所定の大きさは、撮像装置1aの製造時に予め設定しておいてもよいし、ユーザが任意に設定できるようにしてもよい。
なお、シャッタ判定部13aは、タイマ14を使用しない場合には、動体検出部12aの出力した動体情報を受信したらすぐにシャッタ起動信号を出力する。タイマ14を使用するか否かは図示しない入力部によりユーザが設定可能である。
The shutter determining unit 13a initializes the
When the
また、シャッタ判定部13aは、上述した速度の大きさによる判定に加えて、動きの方向による判定を行うこともできる。例えば、速度が所定の大きさ以上、且つ動きの方向が所定の範囲内の方向であった場合にタイマ14を初期化する(或いはシャッタ起動信号を出力する)。所定の範囲は、撮像装置1aの製造時に予め設定しておいてもよいし、ユーザが任意に設定できるようにしてもよい。
In addition to the above-described determination based on the magnitude of the speed, the shutter determination unit 13a can also perform determination based on the direction of movement. For example, the
更に、記憶部15に動体情報を記憶しておくことにより、シャッタ判定部13aは、所定の大きさ(及び方向)の動きがあった回数をカウントし、所定の回数となった場合にタイマ14を初期化する(或いはシャッタ起動信号を出力する)こともできる。所定の回数は、撮像装置1aの製造時に予め設定しておいてもよいし、ユーザが任意に設定できるようにしてもよい。
Further, by storing the moving object information in the
以下、第2実施形態の撮像装置1aの動作例について説明する。
図9は、第2実施形態の撮像装置1aの動作例を示すフローチャートである。
Hereinafter, an operation example of the imaging apparatus 1a of the second embodiment will be described.
FIG. 9 is a flowchart illustrating an operation example of the imaging apparatus 1a according to the second embodiment.
ステップST41:
センサ11が画像を動体検出部12aに出力する。
ステップST42:
動体検出部12aが、ステップST41においてセンサ11が出力した画像の動きを検出して動体情報(動きの大きさ(速度及び方向))をシャッタ判定部13aに出力し、記憶部15はこれを記憶する。
ステップST43:
シャッタ判定部13aは、動体情報を基に、速度が所定の大きさ以上であった場合はステップST44に進み、速度が所定の大きさ以下(0を含む)であった場合はステップST41に戻る。動きの方向についても判定を行う場合は、速度が所定の大きさ以上且つ方向が所定の範囲内である場合にはステップST44に進み、そうでない場合にはステップST41に戻る。
Step ST41:
The sensor 11 outputs an image to the moving object detection unit 12a.
Step ST42:
The moving body detection unit 12a detects the movement of the image output from the sensor 11 in step ST41, and outputs moving body information (the magnitude (speed and direction) of the movement) to the shutter determination unit 13a, and the
Step ST43:
Based on the moving object information, the shutter determination unit 13a proceeds to step ST44 when the speed is equal to or greater than the predetermined magnitude, and returns to step ST41 when the speed is equal to or smaller than the predetermined magnitude (including 0). . When the direction of movement is also determined, if the speed is equal to or greater than the predetermined magnitude and the direction is within the predetermined range, the process proceeds to step ST44, and if not, the process returns to step ST41.
ステップST44:
速度が所定の大きさ以上であった回数をカウントする場合はステップST45に進み、しない場合はステップST47に進む。
ステップST45:
シャッタ判定部13aは、速度が所定の大きさ以上であった回数をカウントする。動きの方向についても判定を行う場合は、速度が所定の大きさ以上且つ方向が所定の範囲内であった回数をカウントする。
ステップST46:
シャッタ判定部13aは、ステップST45においてカウントした回数が所定の回数に達したか否かを判定し、達した場合はステップST47に進み、そうでない場合はステップST41に戻る。
Step ST44:
If the number of times that the speed is equal to or greater than the predetermined magnitude is counted, the process proceeds to step ST45, and otherwise, the process proceeds to step ST47.
Step ST45:
The shutter determination unit 13a counts the number of times that the speed is equal to or greater than a predetermined magnitude. When the direction of movement is also determined, the number of times that the speed is equal to or greater than a predetermined magnitude and the direction is within a predetermined range is counted.
Step ST46:
The shutter determination unit 13a determines whether or not the number counted in step ST45 has reached a predetermined number. If it has reached, the process proceeds to step ST47, and if not, the process returns to step ST41.
ステップST47:
タイマ14を使用する場合はステップST48に、タイマ14を使用せず即座にシャッタを切る場合はステップST51に進む。
ステップST48:
シャッタ判定部13aは、タイマ14を初期化する。
Step ST47:
If the
Step ST48:
The shutter determination unit 13a initializes the
ステップST49:
タイマ14が、予め設定された所定の時間に到るまでカウントを行う。
ステップST50:
タイマ14のカウントが終わり所定の時間に到った場合は完了信号をシャッタ判定部13aに出力してステップST51に進み、終わっていない場合はステップST49に戻る。
Step ST49:
The
Step ST50:
When the count of the
ステップST51:
シャッタ判定部13aはステップST50におけるタイマ14の完了信号を受信してシャッタ起動信号を出力する。
ステップST52:
シャッタ16がシャッタ起動信号を受信してシャッタを切る。
Step ST51:
The shutter determination unit 13a receives the completion signal of the
Step ST52:
The
以上説明したように、第2実施形態の撮像装置1aによれば、センサ11が出力した画像の動きの大きさ(速度及び方向)に基づいてシャッタを切ることができるので、ユーザが動体検出によるシャッタ機能を使用する際の利便性が向上する。 As described above, according to the imaging device 1a of the second embodiment, the shutter can be released based on the magnitude (speed and direction) of the movement of the image output from the sensor 11, so that the user can detect the moving object. Convenience when using the shutter function is improved.
<第3実施形態>
本実施形態では、動体の位置或いはサイズに応じてシャッタを切る撮像装置について説明する。
図10は、第3実施形態の撮像装置1bのブロック図である。
図10に示すように、第3実施形態の撮像装置1bは、第1実施形態の撮像装置1と動体検出部12b及びシャッタ判定部13bを除いて同じ構成を有する。
<Third Embodiment>
In the present embodiment, an imaging apparatus that cuts a shutter according to the position or size of a moving object will be described.
FIG. 10 is a block diagram of the imaging apparatus 1b of the third embodiment.
As shown in FIG. 10, the imaging apparatus 1b of the third embodiment has the same configuration except for the
動体検出部12bは、センサ11が出力した画像に動体検出処理を施し、動体情報を出力する。
動体情報は、動体の動きの有無、動きの大きさ(速度及び方向)、動体の位置、動体のサイズの内少なくとも1つを含む情報である。
The moving object detection unit 12b performs moving object detection processing on the image output from the sensor 11 and outputs moving object information.
The moving body information is information including at least one of the presence / absence of movement of the moving body, the magnitude (speed and direction) of the movement, the position of the moving body, and the size of the moving body.
なお、第3実施形態では、動体検出部12bが出力する動体情報には、動体の位置或いはサイズが必ず含まれる。
動体検出部12bの動体検出方法は以下のように行う。
In the third embodiment, the moving object information output from the moving object detection unit 12b always includes the position or size of the moving object.
The moving object detection method of the moving object detection unit 12b is performed as follows.
動体検出部12bは、例えば、センサ11から出力された画像の、n−1番目のフレームとn番目のフレームとの差分をとる。図11(a)は取った差分を示す図である。
なお、nは任意の正整数である。
For example, the moving object detection unit 12b calculates the difference between the n−1th frame and the nth frame of the image output from the sensor 11. FIG. 11A is a diagram showing the difference taken.
Note that n is an arbitrary positive integer.
動体検出部12bは、まずn−1番目のフレームとn番目のフレームとの差分領域の重心を求める。例えば、図11(b)に示すように、差分領域を矩形で囲った時の対角線の交点を重心とする。
次に、動体の位置を求める。例えば、重心の座標を動体の位置とする。或いは、差分領域を囲む矩形のいずれかの頂点や、差分領域を囲む円の中心点であってもよく、本実施形態では限定しない。
The moving object detection unit 12b first obtains the center of gravity of the difference area between the (n-1) th frame and the nth frame. For example, as shown in FIG. 11B, the intersection of diagonal lines when the difference area is enclosed by a rectangle is used as the center of gravity.
Next, the position of the moving object is obtained. For example, the coordinates of the center of gravity are set as the position of the moving object. Alternatively, it may be any vertex of a rectangle surrounding the difference area, or the center point of a circle surrounding the difference area, and is not limited in this embodiment.
次に、動体のサイズを求める。例えば、図11(b)に示すような差分領域の面積h×wを動体のサイズとする。或いは、動体が占める画素数や、動体を囲む円の面積でもよい。本実施形態では動体のサイズの求め方は限定しない。
動体検出部12bは、上述のように求めた動体の位置或いはサイズを動体情報として出力する。
Next, the size of the moving object is obtained. For example, the area h × w of the difference region as shown in FIG. Alternatively, it may be the number of pixels occupied by the moving object or the area of a circle surrounding the moving object. In the present embodiment, the method for obtaining the size of the moving object is not limited.
The moving object detection unit 12b outputs the position or size of the moving object obtained as described above as moving object information.
シャッタ判定部13bは、動体検出部12bが出力した動体情報、すなわち、動体の位置或いはサイズの内、動体の位置が所定の位置になったか否かの判定を行い、なった場合は、タイマ14を初期化し、所定の時間後にタイマ14が出力する完了信号を受信してシャッタ起動信号を出力する。所定の位置は、撮像装置1bの製造時に予め設定しておいてもよいし、ユーザが任意に設定できるようにしてもよい。
なお、シャッタ判定部13bは、タイマ14を使用しない場合には、動体の位置が所定の位置になったと判定した後すぐにシャッタ起動信号を出力する。タイマ14を使用するか否かは図示しない入力部によりユーザが設定可能である。
The shutter determination unit 13b determines whether or not the moving object information output from the moving object detection unit 12b, that is, the position or size of the moving object, has reached a predetermined position. And a completion signal output from the
When the
或いは、シャッタ判定部13bは、動体のサイズによる判定を行う。例えば、動体のサイズが所定の大きさになったか否かの判定を行い、所定の大きさになった場合にタイマ14を初期化する(或いはシャッタ起動信号を出力する)。所定のサイズは、撮像装置1bの製造時に予め設定しておいてもよいし、ユーザが任意に設定できるようにしてもよい。
Alternatively, the shutter determination unit 13b performs determination based on the size of the moving object. For example, it is determined whether or not the size of the moving object has become a predetermined size, and when the size has reached the predetermined size, the
更に、シャッタ判定部13bは、動体の位置及びサイズの両方が条件を満たしたか否かの判定を行い、条件を満たしたと判定したときのみタイマを初期化(或いはシャッタ起動信号を出力)することも可能である。この場合、例えば、シャッタ判定部13bは、動体の位置が所定の位置にあり、且つ動体のサイズが所定の大きさ以上になった場合に、タイマを初期化(或いはシャッタ起動信号を出力)する。 Furthermore, the shutter determination unit 13b determines whether or not both the position and size of the moving object satisfy the condition, and initializes the timer (or outputs a shutter activation signal) only when it is determined that the condition is satisfied. Is possible. In this case, for example, the shutter determination unit 13b initializes a timer (or outputs a shutter activation signal) when the position of the moving object is at a predetermined position and the size of the moving object exceeds a predetermined size. .
以下、第3実施形態の撮像装置1bの動作例について説明する。
図12は、第3実施形態の撮像装置1bの動作例を示すフローチャートである。
Hereinafter, an operation example of the imaging apparatus 1b according to the third embodiment will be described.
FIG. 12 is a flowchart illustrating an operation example of the imaging apparatus 1b according to the third embodiment.
ステップST61:
センサ11が画像を動体検出部12bに出力する。
ステップST62:
動体検出部12bが、ステップST61においてセンサ11が出力した画像の動きを検出して動体情報(動体の位置或いはサイズ)をシャッタ判定部13bに出力し、記憶部15はこれを記憶する。
ステップST63:
シャッタ判定部13bは、動体情報を基に、動体の位置が所定の位置にあることを条件にステップST64に進み、動体が所定の位置にない場合はステップST61に戻る。
或いは、動体のサイズを基に判定を行う場合には、シャッタ判定部13bは、動体のサイズが所定の大きさになった場合にステップST64に進み、そうでない場合はステップST61に戻る。
更に、動体の位置及びサイズに応じて判定を行う場合は、動体の位置が所定の位置にあり、且つ動体のサイズが所定の大きさ以上になった場合にステップST64に進み、そうでない場合はステップST61に戻る。
Step ST61:
The sensor 11 outputs an image to the moving object detection unit 12b.
Step ST62:
The moving object detection unit 12b detects the movement of the image output from the sensor 11 in step ST61, and outputs moving object information (position or size of the moving object) to the shutter determination unit 13b. The
Step ST63:
The shutter determination unit 13b proceeds to step ST64 on the condition that the position of the moving object is at the predetermined position based on the moving object information, and returns to step ST61 when the moving object is not at the predetermined position.
Or when determining based on the size of a moving body, the shutter determination part 13b progresses to step ST64, when the size of a moving body becomes a predetermined magnitude | size, and when that is not right, it returns to step ST61.
Further, when the determination is made according to the position and size of the moving object, the process proceeds to step ST64 when the position of the moving object is at a predetermined position and the size of the moving object is equal to or larger than the predetermined size. The process returns to step ST61.
ステップST64:
動体が所定の位置にあった回数をカウントする場合はステップST65に進み、しない場合はステップST67に進む。
ステップST65:
シャッタ判定部13bは、動体の位置が所定位置にあった回数、或いは動体のサイズが所定の大きさ以上であった回数をカウントする。
ステップST66:
シャッタ判定部13bは、ステップST65においてカウントした回数が所定の回数に達したか否かを判定し、達した場合はステップST67に進み、そうでない場合はステップST61に戻る。
Step ST64:
When counting the number of times the moving body is at the predetermined position, the process proceeds to step ST65, and when not counting, the process proceeds to step ST67.
Step ST65:
The shutter determination unit 13b counts the number of times that the position of the moving object is at a predetermined position or the number of times that the size of the moving object is equal to or greater than a predetermined size.
Step ST66:
The shutter determination unit 13b determines whether or not the number counted in step ST65 has reached a predetermined number. If it has reached, the process proceeds to step ST67, and if not, the process returns to step ST61.
ステップST67:
タイマ14を使用する場合はステップST68に、タイマ14を使用せず即座にシャッタを切る場合はステップST71に進む。
ステップST68:
シャッタ判定部13bは、タイマ14を初期化する。
Step ST67:
If the
Step ST68:
The shutter determination unit 13b initializes the
ステップST69:
タイマ14が、予め設定された所定の時間に到るまでカウントを行う。
ステップST70:
タイマ14のカウントが終わり所定の時間に到った場合は完了信号をシャッタ判定部13bに出力してステップST71に進み、終わっていない場合はステップST69に戻る。
Step ST69:
The
Step ST70:
When the count of the
ステップST71:
シャッタ判定部13bはステップST70におけるタイマ14の完了信号を受信してシャッタ起動信号を出力する。
ステップST72:
シャッタ16がシャッタ起動信号を受信してシャッタを切る。
Step ST71:
The shutter determination unit 13b receives the completion signal of the
Step ST72:
The
以上説明したように、第3実施形態の撮像装置1bによれば、センサ11が出力した画像内の動体の位置或いはサイズに応じてシャッタを切ることができるので、ユーザが動体検出によるシャッタ機能を使用する際の利便性が上昇する。 As described above, according to the imaging device 1b of the third embodiment, since the shutter can be released according to the position or size of the moving object in the image output from the sensor 11, the user has a shutter function based on the moving object detection. Convenience in use increases.
<第4実施形態>
本実施形態では、複数の動体を扱うことができる撮像装置について説明する。
図13は、第4実施形態の撮像装置1cのブロック図である。
図13に示すように、第4実施形態の撮像装置1cは、第1実施形態の撮像装置1と動体検出部12c−1〜12c−N及びシャッタ判定部13cを除いて同じ構成を有する。
<Fourth embodiment>
In this embodiment, an imaging apparatus capable of handling a plurality of moving objects will be described.
FIG. 13 is a block diagram of an imaging apparatus 1c according to the fourth embodiment.
As illustrated in FIG. 13, the imaging device 1c according to the fourth embodiment has the same configuration except for the
本実施形態の撮像装置1cは、N個の動体検出部12c−1〜12c−Nを有する。Nは2以上の整数である。
動体検出部12c−1〜12c−Nは、動体情報を検出し出力する。
ここで動体情報とは、動体の動きの有無、動きの大きさ(速度及び方向)、動体の位置、動体のサイズの内少なくとも1つを含む情報である。以下の説明では、一例として動体検出部12c−1〜12c−Nが動きの有無を動体情報として出力する場合について説明する。
The imaging device 1c according to the present embodiment includes N moving
The moving
Here, the moving body information is information including at least one of the presence / absence of movement of the moving body, the magnitude (speed and direction) of the movement, the position of the moving body, and the size of the moving body. In the following description, a case where the moving
シャッタ判定部13cは、動体検出部12c−1〜12c−Nの出力したN個の動体情報が全て所定の条件を満たしているか否かを判定し、満たしている場合はタイマ14を初期化し、所定の時間後にタイマ14が出力する完了信号を受信してシャッタ起動信号を出力する。或いは、タイマ14を使用しない場合には、条件を満たしていると判定した後シャッタ起動信号を出力する。タイマ14を使用するか否かは図示しない入力部によりユーザが設定可能である。
本実施例において動体情報が動きの有無である場合は、所定の条件は全ての動体の動きが止まっていることであるが、本発明では所定の条件は限定しない(動体情報の内容に応じて変わる)。
The
In the present embodiment, when the moving object information is the presence or absence of movement, the predetermined condition is that all moving objects stop moving, but the present invention does not limit the predetermined condition (according to the contents of the moving object information). change).
以下、第4実施形態の撮像装置1cの動作例について説明する。
図14は、第4実施形態の撮像装置1cの動作例を示すフローチャートである。
Hereinafter, an operation example of the imaging apparatus 1c according to the fourth embodiment will be described.
FIG. 14 is a flowchart illustrating an operation example of the imaging apparatus 1c according to the fourth embodiment.
ステップST81:
センサ11が画像を動体検出部12c−1〜12c−Nに出力する。
ステップST82:
動体検出部12c−1〜12c−Nが、ステップST81においてセンサ11が出力した画像内のN個の動体の動きを検出し、動体情報としてシャッタ判定部13cに出力し、記憶部15はこれを記憶する。
ステップST83:
シャッタ判定部13cは、記憶部15を参照し、N個の動体全ての動きが止まったか否かの判定を行い、止まった場合はステップST84に進み、そうでない場合はステップST81に戻る。
Step ST81:
The sensor 11 outputs an image to the moving
Step ST82:
The moving
Step ST83:
The
ステップST84:
タイマ14を使用する場合はステップST85に、タイマ14を使用せず即座にシャッタを切る場合はステップST88に進む。
ステップST85:
シャッタ判定部13cは、タイマ14を初期化する。
Step ST84:
If the
Step ST85:
The
ステップST86:
タイマ14が、予め設定された所定の時間に到るまでカウントを行う。
ステップST87:
タイマ14のカウントが終わり所定の時間に到った場合は完了信号をシャッタ判定部13cに出力してステップST88に進み、終わっていない場合はステップST86に戻る。
Step ST86:
The
Step ST87:
When the count of the
ステップST88:
シャッタ判定部13cはステップST87におけるタイマ14の完了信号を受信してシャッタ起動信号を出力する。
ステップST89:
シャッタ16がシャッタ起動信号を受信してシャッタを切る。
Step ST88:
The
Step ST89:
The
以上説明したように、本実施形態の撮像装置1cによれば、複数の被写体を対象にして写真を撮ることが容易になる。これにより、例えば集合写真等をシャッタ操作を行う者なしで撮影することが容易になる。 As described above, according to the imaging apparatus 1c of the present embodiment, it is easy to take a picture for a plurality of subjects. This makes it easy to take a group photo or the like without a shutter operator.
なお、本実施形態では動体情報として動きの有無を検出する場合について説明したが、これ以外の動体情報、すなわち動きの大きさ(速度及び方向)、動体の位置、動体のサイズのいずれかを基にシャッタ判定部13cが判定を行ってもよい。
In this embodiment, the case where the presence / absence of motion is detected as moving body information has been described. However, other moving body information, that is, based on one of the size (speed and direction) of the motion, the position of the moving body, and the size of the moving body. Alternatively, the
<第5実施形態>
本実施形態では、例えば手を振ったときに手の動きを検知しシャッタを切ることができる撮像装置について説明する。
図15は、第5実施形態の撮像装置1dのブロック図である。
図15に示すように、第5実施形態の撮像装置1dは、第1実施形態の撮像装置1とは動体検出部12d−1〜12d−N及びシャッタ判定部13dが異なり、また顔領域検出部17を有する。これら以外は第1実施形態の撮像装置1と同様の構成を有する。
<Fifth Embodiment>
In the present embodiment, for example, an imaging apparatus capable of detecting the movement of the hand and releasing the shutter when the hand is shaken will be described.
FIG. 15 is a block diagram of an imaging apparatus 1d according to the fifth embodiment.
As illustrated in FIG. 15, the imaging apparatus 1d according to the fifth embodiment is different from the
顔領域検出部17は、センサ11の出力した画像内の顔の領域を検出する。
顔領域の検出方法は、例えば、おおよそ肌の色をした領域を画像から抽出し、その領域と顔領域サンプルデータとのパターンマッチングを行い、顔領域であるか否かの判定を行う。マッチングが合えば、その領域を顔領域として検出し出力する。
なお、顔領域の検出方法は既知であり、上述した以外の既知の方法を用いてもよい。本実施形態では限定しない。
The face
As a method for detecting a face area, for example, an area having an approximate skin color is extracted from an image, pattern matching between the area and face area sample data is performed, and it is determined whether or not the face area. If matching is achieved, the area is detected and output as a face area.
Note that the detection method of the face area is known, and a known method other than those described above may be used. This embodiment is not limited.
本実施形態の撮像装置1dは、N個の動体検出部12d−1〜12d−Nを有する。Nは2以上の整数である。
動体検出部12d−1〜12d−Nは、動体情報を検出しシャッタ判定部13dに出力する。
ここで動体情報とは、動体の動きの有無、動きの大きさ(速度及び方向)、動体の位置、動体のサイズ等の情報である。
The imaging apparatus 1d according to the present embodiment includes N moving body detection units 12d-1 to 12d-N. N is an integer of 2 or more.
The moving object detection units 12d-1 to 12d-N detect moving object information and output the detected information to the shutter determination unit 13d.
Here, the moving body information is information such as the presence / absence of movement of the moving body, the magnitude (speed and direction) of the movement, the position of the moving body, and the size of the moving body.
シャッタ判定部13dは、顔領域検出部17が検出した顔領域の位置及びサイズから手があると思われる領域の位置及びサイズを推定する。
例えば、手の大きさは顔よりも少し小さく、手の位置は顔の右横、やや右上、やや右下、右下、左横、やや左上、やや左下、左下のいずれかである、と推定する。
The shutter determination unit 13d estimates the position and size of an area that is considered to have a hand from the position and size of the face area detected by the face
For example, the hand size is slightly smaller than the face, and the hand position is estimated to be either right side of the face, slightly upper right, slightly lower right, lower right, left side, slightly upper left, slightly lower left, or lower left To do.
シャッタ判定部13dは、動体検出部12d−1〜12d−Nが出力したN個の動体のうち、手があると推定された領域内にある推定された大きさの動体の動体情報を基に、シャッタ判定を行う。 The shutter determination unit 13d is based on the moving body information of the moving body of the estimated size in the area estimated to have a hand among the N moving bodies output by the moving body detection units 12d-1 to 12d-N. Then, shutter determination is performed.
以下、第5実施形態の撮像装置1dの動作例について説明する。
図16は、第5実施形態の撮像装置1dの動作例を示すフローチャートである。
Hereinafter, an operation example of the imaging apparatus 1d according to the fifth embodiment will be described.
FIG. 16 is a flowchart illustrating an operation example of the imaging apparatus 1d according to the fifth embodiment.
ステップST91:
センサ11が画像を動体検出部12d−1〜12d−N及び顔領域検出部17に出力する。
ステップST92:
動体検出部12d−1〜12d−Nが、ステップST91においてセンサ11が出力した画像内のN個の動体の動きを検出し、動体情報としてシャッタ判定部13に出力し、記憶部15はこれを記憶する。
Step ST91:
The sensor 11 outputs an image to the moving object detection units 12d-1 to 12d-N and the face
Step ST92:
The moving object detection units 12d-1 to 12d-N detect the movements of the N moving objects in the image output by the sensor 11 in step ST91, and output them as moving object information to the
ステップST93:
顔領域検出部17が、センサ11の出力した画像内の顔領域を検出する。
ステップST94:
シャッタ判定部13dは、顔領域検出部17が検出した顔領域を基に、手のある位置及び手のサイズを推定する。
ステップST95:
シャッタ判定部13dは、記憶部15を参照し、手のある位置の推定範囲内の動体情報を基に、推定される手の大きさや色とマッチングを行い、手と推定される動体を特定する。
Step ST93:
The face
Step ST94:
The shutter determination unit 13d estimates the position of the hand and the size of the hand based on the face area detected by the face
Step ST95:
The shutter determination unit 13d refers to the
ステップST96:
シャッタ判定部13dは、ステップST95で特定した手の候補である動体の動きがあるか否かを判定し、あった場合はステップST97に進み、無かった場合はステップST91に戻る。
ステップST97:
タイマ14を使用する場合はステップST98に、タイマ14を使用せず即座にシャッタを切る場合はステップST101に進む。
ステップST98:
シャッタ判定部13dは、タイマ14を初期化する。
Step ST96:
The shutter determination unit 13d determines whether or not there is a motion of a moving object that is a candidate for the hand specified in step ST95. If there is, the process proceeds to step ST97, and if there is not, the process returns to step ST91.
Step ST97:
If the
Step ST98:
The shutter determination unit 13d initializes the
ステップST99:
タイマ14が、予め設定された所定の時間に到るまでカウントを行う。
ステップST100:
タイマ14のカウントが終わり所定の時間に到った場合は完了信号をシャッタ判定部13dに出力してステップST101に進み、終わっていない場合はステップST99に戻る。
Step ST99:
The
Step ST100:
When the count of the
ステップST101:
シャッタ判定部13dはステップST100におけるタイマ14の完了信号を受信してシャッタ起動信号を出力する。
ステップST102:
シャッタ16がシャッタ起動信号を受信してシャッタを切る。
Step ST101:
The shutter determination unit 13d receives the completion signal of the
Step ST102:
The
なお、本実施形態の撮像装置1dは、第1実施形態の図6で説明したように、各フレームの手の候補の動きの有無を記憶部15に記憶しておき、手の動き始めまたは動き終わりを検出してそれによりシャッタ判定部13dがタイマを初期化(或いはシャッタ起動信号を出力)してもよい。
Note that, as described with reference to FIG. 6 of the first embodiment, the imaging device 1d according to the present embodiment stores the presence / absence of hand motion of each frame in the
また、本実施形態の撮像装置1dでは、顔領域を基準として手のある領域を推定しているが、本発明はこれに限定されず、例えばまぶたの領域を推定し、瞬きによってシャッタ判定部13dが判定を行うようにしてもよい。勿論まぶただけでなく、他の動体でもかまわない。 In the imaging apparatus 1d of the present embodiment, the region with the hand is estimated based on the face region, but the present invention is not limited to this. For example, the region of the eyelid is estimated, and the shutter determination unit 13d is estimated by blinking. May make a determination. Of course, not only eyelids, but also other moving objects may be used.
以上説明したように、本実施形態の撮像装置1dによれば、顔領域を検出し検出された顔領域を基に手のある範囲を推定し、その範囲内の動体を検出するので、例えば、手を振って動体検出によりシャッタを切ろうとした場合に、手の前を他の動体が動き、その動きによって誤ってシャッタが切られてしまう、という不利益を解消することができる。
また、例えばリモコン等を使用しなくてよいので、手の形や動きが不自然なまま撮影されてしまう、という不利益を解消することができる。
As described above, according to the imaging apparatus 1d of the present embodiment, a face area is detected, a range with a hand is estimated based on the detected face area, and moving objects within the range are detected. When the user tries to release the shutter by detecting the moving object by shaking his / her hand, the disadvantage that the other moving object moves in front of the hand and the shutter is accidentally released due to the movement can be eliminated.
Further, for example, since it is not necessary to use a remote controller or the like, it is possible to eliminate the disadvantage that a photograph is taken with an unnatural hand shape and movement.
本発明は上述した実施形態には限定されない。
すなわち、当業者は、本発明の技術的範囲またはその均等の範囲内において、上述した実施形態の構成要素に関し、様々な変更、コンビネーション、サブコンビネーション、並びに代替を行ってもよい。
The present invention is not limited to the embodiment described above.
That is, those skilled in the art may make various modifications, combinations, subcombinations, and alternatives regarding the components of the above-described embodiments within the technical scope of the present invention or an equivalent scope thereof.
なお、上述した実施形態では、センサ11にCCSやCMOS等の半導体素子を使用したが、本発明はこれに限定されない。 In the embodiment described above, a semiconductor element such as CCS or CMOS is used for the sensor 11, but the present invention is not limited to this.
1,1a,1b,1c,1d…撮像装置、12,12a,12b,12c,12d…動体検出部、13,13a,13b,13c,13d…シャッタ判定部、14…タイマ、15…記憶部、16…シャッタ、17…顔領域検出部
1, 1a, 1b, 1c, 1d ... imaging device, 12, 12a, 12b, 12c, 12d ... moving object detection unit, 13, 13a, 13b, 13c, 13d ... shutter determination unit, 14 ... timer, 15 ... storage unit, 16 ... Shutter, 17 ... Face area detection unit
Claims (13)
前記撮像手段による画像を基に、動体を検出し動体情報を出力する動体検出手段と、
前記動体検出手段が検出した前記動体情報を記憶する記憶手段と、
初期化されてから所定の時間経過後にタイマ完了信号を出力するタイマと、
前記タイマの出力する前記タイマ完了信号を基に前記シャッタ起動信号を出力するシャッタ判定手段と、
を有し、
前記シャッタ判定手段は、前記記憶手段に記憶された前記動体情報に含まれる動体の動きがあった場合に前記タイマを初期化する
撮像装置。 Imaging means;
A moving object detecting means for detecting a moving object and outputting moving object information based on an image obtained by the imaging means;
Storage means for storing the moving object information detected by the moving object detection means;
A timer that outputs a timer completion signal after a predetermined time has elapsed since initialization;
Shutter determination means for outputting the shutter activation signal based on the timer completion signal output by the timer;
Have
The shutter determination unit initializes the timer when there is a moving body included in the moving body information stored in the storage unit.
請求項1に記載の撮像装置。 The imaging apparatus according to claim 1, wherein the moving body information includes at least one of a position, a size, presence / absence of movement, and a magnitude of movement of the moving body.
請求項2に記載の撮像装置。 The imaging apparatus according to claim 2, wherein the shutter determination unit outputs the shutter activation signal regardless of the timer completion signal output from the timer.
請求項3に記載の撮像装置。 The imaging apparatus according to claim 3, wherein the shutter determination unit detects the number of movements of the moving object stored in the storage unit, and initializes the timer when the predetermined number of times is detected.
請求項3に記載の撮像装置。 The shutter determination unit detects the start and end of movement of a moving body based on the moving body information stored in the storage unit, and initializes the timer according to the start or end of movement. The imaging device described.
請求項3に記載の撮像装置。 The shutter determination means detects the magnitude of movement of the moving object based on the moving object information detected by the moving object detection means, and the timer determines when the magnitude of movement of the moving object reaches a predetermined magnitude. The imaging apparatus according to claim 3.
請求項6に記載の撮像装置。 The imaging according to claim 6, wherein the shutter determination unit initializes the timer when a predetermined number of movements of the moving body having a predetermined size or more are detected based on the moving body information stored in the storage unit. apparatus.
請求項3に記載の撮像装置。 The shutter determination unit initializes the timer when one point on the moving body is located at a predetermined point in the image captured by the imaging unit based on the moving body information stored in the storage unit. The imaging device according to claim 3.
請求項3に記載の撮像装置。 The shutter determination unit detects the size of the moving body based on the moving body information stored in the storage unit, and initializes the timer when the size of the moving body reaches a predetermined size. Item 4. The imaging device according to Item 3.
前記記憶手段は前記複数の動体検出手段が出力した前記複数の動体情報を記憶し、
前記シャッタ判定手段は、前記記憶手段が記憶する前記複数の動体情報を基に、前記複数の動体の動き終わりを検知し、前記複数の動体が全て動き終わった場合に前記タイマを初期化する
請求項3に記載の撮像装置。 The moving object detection means detects a plurality of moving objects and outputs a plurality of moving object information,
The storage means stores the plurality of moving body information output by the plurality of moving body detection means,
The shutter determination unit detects the end of movement of the plurality of moving bodies based on the plurality of moving body information stored in the storage unit, and initializes the timer when all of the plurality of moving bodies have finished moving. Item 4. The imaging device according to Item 3.
を更に有し、
前記動体検出手段は、複数個の動体の動きを検出して複数の動体情報を出力し、
前記記憶手段は前記複数の動体検出手段が出力した前記複数の動体情報を記憶し、
前記シャッタ判定手段は、前記記憶手段に記憶された複数の動体情報を基に、前記複数個の動体の中から前記顔の領域を基準として一定の範囲内の所定の大きさの動体を抽出し、当該動体の動きがあった場合に前記タイマを初期化する
請求項3に記載の撮像装置。 A face area detecting means for detecting a face area of a person in the image captured by the imaging device;
The moving object detection means detects a plurality of moving objects and outputs a plurality of moving object information,
The storage means stores the plurality of moving body information output by the plurality of moving body detection means,
The shutter determination unit extracts a moving body having a predetermined size within a predetermined range from the plurality of moving bodies based on the face area based on the plurality of moving body information stored in the storage unit. The imaging apparatus according to claim 3, wherein the timer is initialized when the moving object moves.
請求項11に記載の撮像装置。 The imaging apparatus according to claim 11, wherein the shutter determination unit detects the number of movements of the plurality of moving objects stored in the storage unit, and initializes the timer when the predetermined number of times is detected.
前記第1の工程において撮影された前記映像信号を基に、動体を検出し動体情報を出力する第2の工程と、
前記第2の工程において検出された前記動体情報を記憶する第3の工程と、
前記第3の工程において記憶された前記動体情報に含まれる動体の動きがあった場合にタイマを初期化する第4の工程と、
前記第4の工程において前記タイマが初期化されてから所定の時間経過後にタイマ完了信号を出力する第5の工程と、
前記第5の工程において前記タイマが出力する前記タイマ完了信号に応じてシャッタ起動信号を出力する第6の工程と、
を有する撮像方法。
A first step of taking an image;
A second step of detecting a moving body and outputting moving body information based on the video signal imaged in the first step;
A third step of storing the moving body information detected in the second step;
A fourth step of initializing a timer when there is a motion of the moving object included in the moving object information stored in the third step;
A fifth step of outputting a timer completion signal after a predetermined time has elapsed since the timer was initialized in the fourth step;
A sixth step of outputting a shutter activation signal in response to the timer completion signal output by the timer in the fifth step;
An imaging method comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005308962A JP2007123953A (en) | 2005-10-24 | 2005-10-24 | Imaging apparatus and imaging method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005308962A JP2007123953A (en) | 2005-10-24 | 2005-10-24 | Imaging apparatus and imaging method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007123953A true JP2007123953A (en) | 2007-05-17 |
Family
ID=38147352
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005308962A Pending JP2007123953A (en) | 2005-10-24 | 2005-10-24 | Imaging apparatus and imaging method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007123953A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2451321A (en) * | 2007-07-24 | 2009-01-28 | Sony Corp | Self-timer with motion detection |
JP2010183281A (en) * | 2009-02-04 | 2010-08-19 | Sumitomo Electric Ind Ltd | In-vehicle photographing device, and safety measure method for vehicle |
US7995109B2 (en) | 2007-08-23 | 2011-08-09 | Sony Corporation | Imaging apparatus that captures an image of a subject |
WO2011121917A1 (en) * | 2010-03-30 | 2011-10-06 | Sony Corporation | Image processing apparatus, method, and computer program storage device |
US8063952B2 (en) | 2007-08-23 | 2011-11-22 | Sony Corporation | Image-capturing apparatus and image-capturing method for performing drive log image capturing and life log image capturing as automatic image capturing |
JP2013183185A (en) * | 2012-02-29 | 2013-09-12 | Casio Comput Co Ltd | Imaging apparatus, and imaging control method and program |
JP2013225860A (en) * | 2007-05-30 | 2013-10-31 | Intellectual Ventures Second Llc | Camera configurable for autonomous operation |
JP2014030163A (en) * | 2012-07-05 | 2014-02-13 | Casio Comput Co Ltd | Imaging apparatus, photographing method, and program |
US8890966B2 (en) | 2007-11-06 | 2014-11-18 | Sony Corporation | Automatic image-capturing apparatus, automatic image-capturing control method, image display system, image display method, display control apparatus, and display control method |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01177287A (en) * | 1988-01-07 | 1989-07-13 | Konica Corp | Automatic releasing device for electronic still camera |
JPH08279954A (en) * | 1995-04-04 | 1996-10-22 | Canon Inc | Image pickup device |
JPH10133308A (en) * | 1996-10-29 | 1998-05-22 | Tec Corp | Image-pickup device |
JPH11102437A (en) * | 1997-09-25 | 1999-04-13 | Canon Inc | Image-pickup device and its method |
JP2000147608A (en) * | 1998-11-10 | 2000-05-26 | Casio Comput Co Ltd | Photographing device and storage medium |
JP2001028046A (en) * | 1999-07-15 | 2001-01-30 | Sharp Corp | Image recognizing device |
JP2001285676A (en) * | 2000-03-30 | 2001-10-12 | Minolta Co Ltd | Display device |
JP2003167292A (en) * | 2001-12-03 | 2003-06-13 | Konica Corp | Photographing device |
JP2005086271A (en) * | 2003-09-04 | 2005-03-31 | Nikon Corp | Electronic camera |
JP2005242566A (en) * | 2004-02-25 | 2005-09-08 | Canon Inc | Image composition device and method |
-
2005
- 2005-10-24 JP JP2005308962A patent/JP2007123953A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01177287A (en) * | 1988-01-07 | 1989-07-13 | Konica Corp | Automatic releasing device for electronic still camera |
JPH08279954A (en) * | 1995-04-04 | 1996-10-22 | Canon Inc | Image pickup device |
JPH10133308A (en) * | 1996-10-29 | 1998-05-22 | Tec Corp | Image-pickup device |
JPH11102437A (en) * | 1997-09-25 | 1999-04-13 | Canon Inc | Image-pickup device and its method |
JP2000147608A (en) * | 1998-11-10 | 2000-05-26 | Casio Comput Co Ltd | Photographing device and storage medium |
JP2001028046A (en) * | 1999-07-15 | 2001-01-30 | Sharp Corp | Image recognizing device |
JP2001285676A (en) * | 2000-03-30 | 2001-10-12 | Minolta Co Ltd | Display device |
JP2003167292A (en) * | 2001-12-03 | 2003-06-13 | Konica Corp | Photographing device |
JP2005086271A (en) * | 2003-09-04 | 2005-03-31 | Nikon Corp | Electronic camera |
JP2005242566A (en) * | 2004-02-25 | 2005-09-08 | Canon Inc | Image composition device and method |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013225860A (en) * | 2007-05-30 | 2013-10-31 | Intellectual Ventures Second Llc | Camera configurable for autonomous operation |
GB2451321B (en) * | 2007-07-24 | 2010-07-07 | Sony Corp | Image-capturing apparatus and image-capturing control method |
US8243156B2 (en) | 2007-07-24 | 2012-08-14 | Sony Corporation | Image-capturing apparatus and image-capturing control method |
GB2451321A (en) * | 2007-07-24 | 2009-01-28 | Sony Corp | Self-timer with motion detection |
US7995109B2 (en) | 2007-08-23 | 2011-08-09 | Sony Corporation | Imaging apparatus that captures an image of a subject |
US8063952B2 (en) | 2007-08-23 | 2011-11-22 | Sony Corporation | Image-capturing apparatus and image-capturing method for performing drive log image capturing and life log image capturing as automatic image capturing |
US8994852B2 (en) | 2007-08-23 | 2015-03-31 | Sony Corporation | Image-capturing apparatus and image-capturing method |
US8890966B2 (en) | 2007-11-06 | 2014-11-18 | Sony Corporation | Automatic image-capturing apparatus, automatic image-capturing control method, image display system, image display method, display control apparatus, and display control method |
US9866743B2 (en) | 2007-11-06 | 2018-01-09 | Sony Corporation | Automatic image-capturing apparatus, automatic image-capturing control method, image display system, image display method, display control apparatus, and display control method |
US9497371B2 (en) | 2007-11-06 | 2016-11-15 | Sony Corporation | Automatic image-capturing apparatus, automatic image-capturing control method, image display system, image display method, display control apparatus, and display control method |
JP2010183281A (en) * | 2009-02-04 | 2010-08-19 | Sumitomo Electric Ind Ltd | In-vehicle photographing device, and safety measure method for vehicle |
US8964038B2 (en) | 2010-03-30 | 2015-02-24 | Sony Corporation | Image processing apparatus, method, and computer program storage device |
JP2011211631A (en) * | 2010-03-30 | 2011-10-20 | Sony Corp | Image processing device and method, and program |
US9509903B2 (en) | 2010-03-30 | 2016-11-29 | Sony Corporation | Image processing apparatus, method, and computer program storage device |
WO2011121917A1 (en) * | 2010-03-30 | 2011-10-06 | Sony Corporation | Image processing apparatus, method, and computer program storage device |
JP2013183185A (en) * | 2012-02-29 | 2013-09-12 | Casio Comput Co Ltd | Imaging apparatus, and imaging control method and program |
JP2014030163A (en) * | 2012-07-05 | 2014-02-13 | Casio Comput Co Ltd | Imaging apparatus, photographing method, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2007123953A (en) | Imaging apparatus and imaging method | |
JP5144422B2 (en) | Imaging apparatus and imaging method | |
CN100448267C (en) | Digital camera | |
JP4819001B2 (en) | Imaging apparatus and method, program, image processing apparatus and method, and program | |
US20080266419A1 (en) | Method and apparatus for automatically controlling the decisive moment for an image acquisition device | |
JP2008244804A (en) | Image-taking device and method, and control program | |
JP2008276214A (en) | Digital camera | |
JP4663700B2 (en) | Imaging apparatus and imaging method | |
JP2011109427A (en) | Compound-eye imaging apparatus | |
TW200901754A (en) | Imaging device | |
JP5228354B2 (en) | Digital camera | |
JP2010259088A (en) | Imaging apparatus | |
JP2008299784A (en) | Object determination device and program therefor | |
JP2006067452A (en) | Video recording apparatus, and electronic camera | |
KR20090095649A (en) | Imaging apparatus | |
JP4492273B2 (en) | Imaging apparatus and program | |
JP4914688B2 (en) | Imaging device | |
JP2007049631A (en) | Imaging apparatus | |
JP2014068081A (en) | Imaging apparatus and control method of the same, program and storage medium | |
JP5073602B2 (en) | IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD | |
JP2005223658A (en) | Digital camera | |
JP2010098629A (en) | Imaging device | |
JP2013141155A (en) | Imaging device | |
KR20130055444A (en) | Digital photographing apparatus and continuous photographing method thereof | |
JP4254467B2 (en) | Digital camera |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20081009 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100728 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20101005 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20101118 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20101214 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110207 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20110712 |