JP2017130134A - Image processing apparatus, image processing method, and program - Google Patents

Image processing apparatus, image processing method, and program Download PDF

Info

Publication number
JP2017130134A
JP2017130134A JP2016010484A JP2016010484A JP2017130134A JP 2017130134 A JP2017130134 A JP 2017130134A JP 2016010484 A JP2016010484 A JP 2016010484A JP 2016010484 A JP2016010484 A JP 2016010484A JP 2017130134 A JP2017130134 A JP 2017130134A
Authority
JP
Japan
Prior art keywords
predetermined
timing
images
period
image processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2016010484A
Other languages
Japanese (ja)
Other versions
JP2017130134A5 (en
JP6682874B2 (en
Inventor
石毛 善樹
Yoshiki Ishige
善樹 石毛
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2016010484A priority Critical patent/JP6682874B2/en
Publication of JP2017130134A publication Critical patent/JP2017130134A/en
Publication of JP2017130134A5 publication Critical patent/JP2017130134A5/ja
Application granted granted Critical
Publication of JP6682874B2 publication Critical patent/JP6682874B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Studio Devices (AREA)
  • Image Analysis (AREA)

Abstract

PROBLEM TO BE SOLVED: To correctly specify timing when a specific motion is performed among prescribed motions of a subject.SOLUTION: An imaging apparatus 100 includes: acquisition means (an image acquisition part 5a) for acquiring a plurality of images obtained by consecutively imaging prescribed motions of a subject; region setting means (a region setting part 5c) for setting a region at a prescribed position in each of the plurality of images acquired by the acquisition means; and specification means (a specification part 5f) for specifying timing when the subject performs the specific motion in accordance with the amount of change and a change time among the plurality of images in the region set by the region setting means.SELECTED DRAWING: Figure 1

Description

本発明は、画像処理装置、画像処理方法、及びプログラムに関する。   The present invention relates to an image processing apparatus, an image processing method, and a program.

従来、ゴルフのスイングを撮影しながら、インパクトの瞬間を検出する装置が知られている(例えば、特許文献1参照)。具体的には、当該装置は、撮影フレーム内でゴルフクラブが通過する所定位置に所定サイズの検出領域を設け、この検出領域内の画素値の変化を検出することによって、インパクトの瞬間を検出する。   2. Description of the Related Art Conventionally, an apparatus that detects an impact moment while photographing a golf swing is known (see, for example, Patent Document 1). Specifically, the apparatus detects a moment of impact by providing a detection area of a predetermined size at a predetermined position where the golf club passes within the shooting frame, and detecting a change in a pixel value in the detection area. .

特開2015−69432号公報Japanese Patent Laying-Open No. 2015-69432

しかしながら、上記特許文献1に開示されている装置では、ワッグル、テイクバックなどのゴルフのスイングにおける準備動作やフォロースイング後の動作の影響でインパクトの瞬間が正しく検出されない場合があった。   However, in the apparatus disclosed in Patent Document 1, the moment of impact may not be detected correctly due to the effects of preparatory movements such as waggle and takeback and movements after the follow swing.

本発明は、このような問題に鑑みてなされたものであり、本発明の課題は、被写体の所定の動作のうち、特定の動作が行われたタイミングを正しく特定することができる画像処理装置、画像処理方法、及びプログラムを提供することである。   The present invention has been made in view of such problems, and an object of the present invention is to provide an image processing apparatus that can correctly specify the timing at which a specific operation is performed among predetermined operations of a subject, An image processing method and a program are provided.

上記課題を解決するため、本発明に係る画像処理装置は、
被写体の所定の動作が連続的に撮像された複数の画像を取得する取得手段と、前記取得手段により取得された複数の画像の各々における所定位置に領域を設定する領域設定手段と、前記領域設定手段により設定された領域における前記複数の画像間の変化量と変化時間に応じて、前記被写体が特定の動作を行ったタイミングを特定する特定手段と、を備えたことを特徴としている。
In order to solve the above problems, an image processing apparatus according to the present invention provides:
An acquisition unit that acquires a plurality of images obtained by continuously capturing a predetermined motion of a subject, a region setting unit that sets a region at a predetermined position in each of the plurality of images acquired by the acquisition unit, and the region setting And a specifying unit that specifies a timing at which the subject has performed a specific operation in accordance with a change amount and a change time between the plurality of images in the region set by the unit.

また、本発明に係る画像共有方法は、
画像処理装置を用いた画像処理方法であって、被写体の所定の動作が連続的に撮像された複数の画像を取得する処理と、取得された複数の画像の各々における所定位置に領域を設定する処理と、設定された領域における前記複数の画像間の変化量と変化時間に応じて、前記被写体が特定の動作を行ったタイミングを特定する処理と、を含むことを特徴としている。
The image sharing method according to the present invention includes:
An image processing method using an image processing apparatus, which acquires a plurality of images obtained by continuously capturing a predetermined motion of a subject, and sets an area at a predetermined position in each of the acquired plurality of images And a process of specifying a timing at which the subject has performed a specific operation in accordance with a change amount and a change time between the plurality of images in a set region.

また、本発明に係るプログラムは、
画像処理装置のコンピュータを、被写体の所定の動作が連続的に撮像された複数の画像を取得する取得手段、前記取得手段により取得された複数の画像の各々における所定位置に領域を設定する領域設定手段、前記領域設定手段により設定された領域における前記複数の画像間の変化量と変化時間に応じて、前記被写体が特定の動作を行ったタイミングを特定する特定手段、として機能させることを特徴としている。
The program according to the present invention is
An acquisition unit that acquires a plurality of images obtained by continuously capturing a predetermined motion of a subject, and a region setting that sets a region at a predetermined position in each of the plurality of images acquired by the acquisition unit. And a specifying means for specifying a timing at which the subject has performed a specific action according to a change amount and a change time between the plurality of images in the area set by the area setting means. Yes.

本発明によれば、被写体の所定の動作のうち、特定の動作が行われたタイミングを正しく特定することができる。   According to the present invention, it is possible to correctly specify the timing at which a specific operation is performed among predetermined operations of the subject.

本発明を適用した一実施形態の撮像装置の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the imaging device of one Embodiment to which this invention is applied. 図1の撮像装置による撮像処理に係る動作の一例を示すフローチャートである。3 is a flowchart illustrating an example of an operation related to an imaging process by the imaging apparatus of FIG. 1. 図2の撮像処理におけるモーション検出処理に係る動作の一例を示すフローチャートである。3 is a flowchart illustrating an example of an operation related to a motion detection process in the imaging process of FIG. 2. 図1の撮像装置による動作タイミング特定処理に係る動作の一例を示すフローチャートである。3 is a flowchart illustrating an example of an operation related to an operation timing specifying process by the imaging apparatus of FIG. 1. (a)〜(e)は、動画像を構成するフレーム画像の一例を示す図であり、(f)は、グラフ化した画像変化量情報の一例を示す図である。(A)-(e) is a figure which shows an example of the frame image which comprises a moving image, (f) is a figure which shows an example of the image change amount information graphed.

以下に、本発明について、図面を用いて具体的な態様を説明する。ただし、発明の範囲は、図示例に限定されない。   Hereinafter, specific embodiments of the present invention will be described with reference to the drawings. However, the scope of the invention is not limited to the illustrated examples.

図1は、本発明を適用した一実施形態の撮像装置100の概略構成を示すブロック図である。
図1に示すように、本実施形態の撮像装置100は、中央制御部1と、メモリ2と、撮像部3と、画像データ生成部4と、画像処理部5と、画像記録部6と、表示部7と、操作入力部8とを備えている。
また、中央制御部1、メモリ2、撮像部3、画像データ生成部4、画像処理部5、画像記録部6及び表示部7は、バスライン9を介して接続されている。
FIG. 1 is a block diagram illustrating a schematic configuration of an imaging apparatus 100 according to an embodiment to which the present invention is applied.
As illustrated in FIG. 1, the imaging apparatus 100 according to the present embodiment includes a central control unit 1, a memory 2, an imaging unit 3, an image data generation unit 4, an image processing unit 5, an image recording unit 6, A display unit 7 and an operation input unit 8 are provided.
The central control unit 1, the memory 2, the imaging unit 3, the image data generation unit 4, the image processing unit 5, the image recording unit 6, and the display unit 7 are connected via a bus line 9.

中央制御部1は、撮像装置100の各部を制御するものである。具体的には、中央制御部1は、図示は省略するが、CPU(Central Processing Unit)、RAM(Random Access Memory)、ROM(Read Only Memory)を備え、撮像装置100用の各種処理プログラム(図示略)に従って各種の制御動作を行う。   The central control unit 1 controls each unit of the imaging device 100. Specifically, although not shown, the central control unit 1 includes a CPU (Central Processing Unit), a RAM (Random Access Memory), and a ROM (Read Only Memory), and includes various processing programs (illustrated) for the imaging apparatus 100. Various control operations are performed according to (omitted).

メモリ2は、例えば、DRAM(Dynamic Random Access Memory)等により構成され、中央制御部1や画像処理部5等の各部によって処理されるデータ等を一時的に記憶するものである。   The memory 2 is configured by, for example, a DRAM (Dynamic Random Access Memory) or the like, and temporarily stores data processed by each unit such as the central control unit 1 and the image processing unit 5.

撮像部3は、所定の動作(例えば、ゴルフのスイング)を行う被写体を撮像する。具体的には、撮像部3は、レンズ部3aと、電子撮像部3bと、撮像制御部3cとを備えている。   The imaging unit 3 images a subject that performs a predetermined operation (for example, a golf swing). Specifically, the imaging unit 3 includes a lens unit 3a, an electronic imaging unit 3b, and an imaging control unit 3c.

レンズ部3aは、例えば、ズームレンズやフォーカスレンズ等の複数のレンズから構成されている。
電子撮像部3bは、例えば、CMOS(Complementary Metal-oxide Semiconductor)やCCD(Charge Coupled Device)等のイメージセンサから構成され、レンズ部3aの各種レンズを通過した光学像を二次元の画像信号に変換する。
なお、図示は省略するが、撮像部3は、レンズ部3aを通過する光の量を調整する絞りを備えていても良い。
The lens unit 3a includes a plurality of lenses such as a zoom lens and a focus lens, for example.
The electronic imaging unit 3b is composed of, for example, an image sensor such as a complementary metal-oxide semiconductor (CMOS) or a charge coupled device (CCD), and converts an optical image that has passed through various lenses of the lens unit 3a into a two-dimensional image signal. To do.
In addition, although illustration is abbreviate | omitted, the imaging part 3 may be provided with the aperture_diaphragm | restriction which adjusts the quantity of the light which passes the lens part 3a.

撮像制御部3cは、撮像部3による被写体の撮像を制御する。即ち、撮像制御部3cは、図示は省略するが、タイミング発生器、ドライバなどを備えている。そして、撮像制御部3cは、タイミング発生器、ドライバにより電子撮像部3bを走査駆動して、所定周期毎に光学像を電子撮像部3bにより二次元の画像信号に変換させ、当該電子撮像部3bの撮像領域から1画面分ずつフレーム画像を読み出して画像データ生成部4に出力させる。   The imaging control unit 3c controls imaging of the subject by the imaging unit 3. In other words, the imaging control unit 3c includes a timing generator, a driver, and the like, although not illustrated. Then, the imaging control unit 3c scans and drives the electronic imaging unit 3b with a timing generator and a driver, converts the optical image into a two-dimensional image signal with the electronic imaging unit 3b every predetermined period, and the electronic imaging unit 3b. The frame image is read from the imaging area for each screen and is output to the image data generation unit 4.

画像データ生成部4は、電子撮像部3bから転送されたフレーム画像のアナログ値の信号に対してRGBの各色成分毎に適宜ゲイン調整した後に、サンプルホールド回路(図示略)でサンプルホールドしてA/D変換器(図示略)でデジタルデータに変換し、カラープロセス回路(図示略)で画素補間処理及びγ補正処理を含むカラープロセス処理を行った後、デジタル値の輝度信号Y及び色差信号Cb,Cr(YUVデータ)を生成する。また、画像データ生成部4は、動画像を構成する複数のフレーム画像の各々を所定形式(例えば、MPEG形式やモーションJPEG形式等)で符号化して、動画像の画像データを生成する。
また、画像データ生成部4は、生成した画像データをバッファメモリとして使用されるメモリ2に転送する。
The image data generation unit 4 appropriately adjusts the gain for each RGB color component with respect to the analog value signal of the frame image transferred from the electronic imaging unit 3b, and then performs sample holding by a sample hold circuit (not shown). The digital signal is converted into digital data by a / D converter (not shown), color processing including pixel interpolation processing and γ correction processing is performed by a color process circuit (not shown), and then a digital luminance signal Y and color difference signal Cb , Cr (YUV data). Further, the image data generation unit 4 encodes each of a plurality of frame images constituting the moving image in a predetermined format (for example, MPEG format, motion JPEG format, etc.), and generates moving image image data.
In addition, the image data generation unit 4 transfers the generated image data to the memory 2 used as a buffer memory.

画像処理部5は、画像取得部5aと、復号部5b、領域設定部5cと、算出部5dと、画像変化量情報取得部5eと、特定部5fとを具備している。
なお、画像処理部5の各部は、例えば、所定のロジック回路から構成されているが、当該構成は一例であってこれに限られるものではない。
The image processing unit 5 includes an image acquisition unit 5a, a decoding unit 5b, an area setting unit 5c, a calculation unit 5d, an image change amount information acquisition unit 5e, and a specifying unit 5f.
Note that each unit of the image processing unit 5 includes, for example, a predetermined logic circuit, but the configuration is an example and the present invention is not limited thereto.

画像取得部5aは、モーション検出処理の処理対象となる画像を取得する。
即ち、画像取得部(取得手段)5aは、被写体の動作が連続的に撮像された複数のフレーム画像を取得する。具体的には、画像取得部5aは、例えば、被写体による所定のスポーツの一連の動作(例えば、ゴルフのスイング等)が撮像部3により撮像されて画像データ生成部4により生成された複数のフレーム画像からなる動画像の画像データを、モーション検出処理の処理対象として取得する。
例えば、撮像部3は、被写体による所定のスポーツの一連の動作を所定の撮像フレームレート(例えば、1000fps等)で撮像し、画像データ生成部4は、フレーム番号が対応付けられた複数のフレーム画像からなる動画像の画像データを生成してメモリ2に転送する。
そして、画像取得部5aは、メモリ2に格納されている動画像の画像データを読み出して、モーション検出処理の処理対象として取得する。
なお、画像取得部5aは、撮像部3による被写体の撮像後に画像記録部6に記録されている動画像の画像データを読み出して、モーション検出処理の処理対象として取得しても良い。
The image acquisition unit 5a acquires an image to be processed by the motion detection process.
That is, the image acquisition unit (acquisition unit) 5a acquires a plurality of frame images obtained by continuously capturing the motion of the subject. Specifically, the image acquisition unit 5a includes, for example, a plurality of frames generated by the image data generation unit 4 when a series of motions (for example, golf swing) by a subject is captured by the imaging unit 3. Image data of a moving image composed of images is acquired as a processing target of motion detection processing.
For example, the imaging unit 3 captures a series of operations of a predetermined sport by a subject at a predetermined imaging frame rate (for example, 1000 fps), and the image data generation unit 4 includes a plurality of frame images associated with frame numbers. Is generated and transferred to the memory 2.
And the image acquisition part 5a reads the image data of the moving image stored in the memory 2, and acquires it as a process target of a motion detection process.
Note that the image acquisition unit 5a may read out the image data of the moving image recorded in the image recording unit 6 after the imaging of the subject by the imaging unit 3 and acquire it as a processing target of the motion detection process.

復号部5bは、複数のフレーム画像からなる動画像の画像データを復号する。
具体的には、復号部5bは、例えば、画像取得部5aにより取得された所定形式(例えば、MPEG形式やモーションJPEG形式等)で符号化されている動画像の画像データに対して、当該動画像データの符号化方式に応じた復号処理を施して、複数のフレーム画像のYUVデータを生成する。
このとき、復号部5bは、例えば、表示パネル7aの表示解像度等に基づいて各フレーム画像を所定サイズ(例えば、VGAやQVGAサイズ)に縮小する処理を行っても良い。
The decoding unit 5b decodes moving image image data including a plurality of frame images.
Specifically, for example, the decoding unit 5b applies the moving image to the moving image image data encoded in a predetermined format (for example, MPEG format or motion JPEG format) acquired by the image acquisition unit 5a. A decoding process according to the image data encoding method is performed to generate YUV data of a plurality of frame images.
At this time, the decoding unit 5b may perform a process of reducing each frame image to a predetermined size (for example, VGA or QVGA size) based on, for example, the display resolution of the display panel 7a.

領域設定部5cは、被写体の検出領域を設定する。
即ち、領域設定部(領域設定手段)5cは、画像取得部5aにより取得された動画像を構成する複数のフレーム画像の各々について所定位置に、被写体が特定の動作を行ったタイミングを特定するための複数の検出領域を設定する。具体的には、領域設定部5cは、例えば、被写体によるゴルフのスイングに係る動画像の場合、クラブヘッドがゴルフボールを捉えるインパクトのときの当該クラブヘッドを検出するためのインパクト検出領域Aを、当該動画像を構成する複数のフレーム画像の各々における中央下(被写体の足元)の位置に設定する(図5(a)〜(e)参照)。インパクト検出領域Aは、上記インパクトのとき(図5(d)参照)以外に、クラブヘッドを左右にぶらぶら動かす動作(例えば、ワッグル等;図5(a)参照)や、テイクバック(バックスイング)(図5(b)参照)が行われたときのクラブヘッドも検出することができるように横長の矩形形状をなしている。
また、領域設定部5cは、テイクバック(バックスイング)が行われ、トップの位置にきたとき(図5(c)参照)のクラブヘッドを検出するためのトップ検出領域Bを、当該動画像を構成する複数のフレーム画像の各々における中央上(被写体の頭部上方)の位置に設定する(図5(a)〜(e)参照)。トップ検出領域Bは、上記トップのとき(図5(c)参照)以外に、フォロースイングが行われたとき(図5(e)参照)のクラブヘッドも検出することができるように横長の矩形形状をなしている。
また、領域設定部5cは、複数のフレーム画像のうち、最初のフレーム画像(図5(a)参照)の所定位置にインパクト検出領域A及びトップ検出領域Bを設定することで、残りのフレーム画像についても同様に、最初のフレーム画像の検出領域に対応する位置に検出領域を適用して設定する。
ここで、インパクト検出領域A及びトップ検出領域Bの位置や大きさは、例えば、表示パネル7aに表示された最初のフレーム画像の中でユーザによる操作入力部8の所定操作に基づいて手動で調整されても良いし、予めデフォルトとして規定されている内容で自動的に設定されても良い。
また、インパクト検出領域A及びトップ検出領域Bの大きさは、被写体を撮影する向きや撮像部3の画角等に基づいて、全画面の大きさに対して所定の割合となるように相対的な大きさで設定されても良いし、所定の画素数となるように絶対的な大きさで設定されても良い。
The area setting unit 5c sets a subject detection area.
That is, the region setting unit (region setting unit) 5c specifies the timing at which the subject performs a specific operation at a predetermined position for each of a plurality of frame images constituting the moving image acquired by the image acquisition unit 5a. A plurality of detection areas are set. Specifically, for example, in the case of a moving image related to a golf swing by a subject, the region setting unit 5c includes an impact detection region A for detecting the club head when the club head has an impact of capturing a golf ball. The position is set to the position below the center (the foot of the subject) in each of the plurality of frame images constituting the moving image (see FIGS. 5A to 5E). In the impact detection area A, in addition to the impact described above (see FIG. 5D), the club head is hung from side to side (for example, waggle, etc .; see FIG. 5A), take back (back swing) The club head has a horizontally long rectangular shape so that the club head when it is performed (see FIG. 5B) can also be detected.
In addition, the area setting unit 5c displays the moving image as the top detection area B for detecting the club head when the takeback (back swing) is performed and the top position is reached (see FIG. 5C). It is set at a position on the center (above the head of the subject) in each of a plurality of frame images to be configured (see FIGS. 5A to 5E). The top detection area B is a horizontally long rectangle so that the club head when a follow swing is performed (see FIG. 5E) can be detected in addition to the top (see FIG. 5C). It has a shape.
The region setting unit 5c sets the impact detection region A and the top detection region B at predetermined positions of the first frame image (see FIG. 5A) among the plurality of frame images, thereby remaining frame images. Similarly, the detection area is set at a position corresponding to the detection area of the first frame image.
Here, the positions and sizes of the impact detection area A and the top detection area B are manually adjusted based on a predetermined operation of the operation input unit 8 by the user in the first frame image displayed on the display panel 7a, for example. It may be set, or may be automatically set with the contents defined as defaults in advance.
In addition, the sizes of the impact detection area A and the top detection area B are relative to each other so as to be a predetermined ratio with respect to the size of the entire screen based on the direction in which the subject is photographed, the angle of view of the imaging unit 3, and the like. It may be set with any size, or may be set with an absolute size so as to have a predetermined number of pixels.

算出部5dは、検出領域における複数の画像間の変化量を算出する。
即ち、算出部5dは、領域設定部5cにより設定されたインパクト検出領域A及びトップ検出領域Bの各々における複数のフレーム画像間の変化量を算出する。具体的には、算出部5dは、例えば、復号部5bにより復号された各フレーム画像について、最初のフレーム画像F1から順に、フレーム画像F1であればフレーム画像F2との間で、フレーム画像F2であればフレーム画像F3との間で、というように隣合うフレーム画像とのインパクト検出領域A及びトップ検出領域Bの各々における画素値の差分をとり、これらの隣合うフレーム画像間の画素値の差分を時間軸に沿って順次、積算した値を、複数のフレーム画像間の変化量として算出する。そして、算出部5dは、複数のフレーム画像間の変化量の算出を終えると、当該複数のフレーム画像間の変化量を示す画像変化量情報を、当該複数のフレーム画像からなる動画像の画像データと対応付けて画像記録部6に記録する。ここで、ゴルフのスイングの場合、複数のフレーム画像間の変化量は、例えば、図5(f)に示すグラフとして表される。具体的には、図5(f)に示す実線のグラフは、インパクト検出領域Aにおける複数のフレーム画像間の変化量を示している。この実線のグラフでは、ワッグルや、テイクバック、インパクトのときにグラフが起伏していることがわかる。一方、一点鎖線のグラフは、トップ検出領域Bにおける複数のフレーム画像間の変化量を示している。この一点鎖線のグラフでは、テイクバック後のトップのとき、インパクト後のフォローのときにグラフが起伏していることがわかる。
The calculation unit 5d calculates the amount of change between a plurality of images in the detection area.
That is, the calculation unit 5d calculates the amount of change between a plurality of frame images in each of the impact detection area A and the top detection area B set by the area setting unit 5c. Specifically, for example, with respect to each frame image decoded by the decoding unit 5b, the calculation unit 5d performs the frame image F2 between the frame image F2 and the frame image F1 in order from the first frame image F1. If there is a frame image F3, the difference between the pixel values in the impact detection area A and the top detection area B with the adjacent frame image is taken, and the difference between the pixel values between these adjacent frame images. Are sequentially integrated along the time axis to calculate a change amount between a plurality of frame images. When the calculation unit 5d finishes calculating the amount of change between the plurality of frame images, the calculation unit 5d displays image change amount information indicating the amount of change between the plurality of frame images as image data of a moving image including the plurality of frame images. And recorded in the image recording unit 6. Here, in the case of a golf swing, the amount of change between a plurality of frame images is represented, for example, as a graph shown in FIG. Specifically, the solid line graph shown in FIG. 5F indicates the amount of change between a plurality of frame images in the impact detection area A. This solid line graph shows that the graph is undulating during waggle, takeback, and impact. On the other hand, the alternate long and short dash line graph indicates the amount of change between a plurality of frame images in the top detection region B. In this one-dot chain line graph, it can be seen that the graph undulates at the top after takeback and at the follow after impact.

画像変化量情報取得部5eは、動作タイミング特定処理の処理対象となる画像変化量情報を取得する。
即ち、画像変化量情報取得部5eは、算出部5dにより算出されたインパクト検出領域A及びトップ検出領域Bの各々における複数のフレーム画像間の変化量を示す画像変化量情報を取得する。具体的には、例えば、画像記録部6に記録されている動画像の中で、ユーザによる操作入力部8の所定操作に基づいてユーザ所望の動画像が指定されると、画像変化量情報取得部5eは、当該動画像の画像データと対応付けられて記録されている画像変化量情報を取得する。ここで、ユーザにより指定可能な動画像は、画像変化量情報が対応付けられて画像記録部6に記録されている動画像に限られる。
The image change amount information acquisition unit 5e acquires image change amount information to be processed by the operation timing specifying process.
In other words, the image change amount information acquisition unit 5e acquires image change amount information indicating the change amount between a plurality of frame images in each of the impact detection area A and the top detection area B calculated by the calculation unit 5d. Specifically, for example, when a user-desired moving image is designated based on a predetermined operation of the operation input unit 8 by the user among moving images recorded in the image recording unit 6, image change amount information acquisition is performed. The unit 5e acquires image change amount information recorded in association with the image data of the moving image. Here, the moving images that can be specified by the user are limited to moving images that are recorded in the image recording unit 6 in association with image change amount information.

特定部5fは、被写体が特定の動作を行ったタイミングを特定する。
即ち、特定部(特定手段)5fは、画像変化量情報取得部5eにより取得された画像変化量情報に基づいて、被写体が特定の動作を行ったタイミング(例えば、ゴルフスイングのインパクトのタイミング)を特定する。具体的には、特定部5fは、先ず、画像変化量情報取得部5eにより取得された画像変化量情報のうちのインパクト検出領域Aにおける画像変化量情報(例えば、図5(f)に示す実線のグラフを表すデータ)から、インパクト検出領域Aで複数のフレーム画像間の変化量が所定(閾値)以上となる期間(例えば、図5(f)に示す実線のグラフのa1,a2,a3)(以下、第1の期間という)を抽出する。そして、第1の期間が抽出された場合、特定部5fは、トップ検出領域Bにおける画像変化量情報(例えば、図5に示す一点鎖線のグラフを表すデータ)から、トップ検出領域Bで複数のフレーム画像間の変化量が所定以上となる期間(例えば、図5(f)に示す一点鎖線のグラフのb1,b2)(以下、第2の期間という)を抽出する。そして、第2の期間が抽出された場合、特定部5fは、第2の期間(複数の第2の期間が抽出された場合は、最初の第2の期間(例えば、図5(f)の一点鎖線のグラフのb1))の後に第1の期間があるか否かを判定する。そして、第2の期間(複数の第2の期間が抽出された場合は、最初の第2の期間)の後に第1の期間があると判定された場合、特定部5fは、当該第2の期間の直後の第1の期間(例えば、図5(f)の実線のグラフのa3)のピークポイント(図5(f)の実線のグラフのP3)をインパクトのタイミングとして特定する。
また、第2の期間が抽出されなかった場合には、特定部5fは、抽出された第1の期間のうち、期間の長さが所定時間以内である第1の期間があるか否かを判定する。そして、期間の長さが所定時間以内である第1の期間(例えば、図5(f)に示す実線のグラフのa2,a3)があると判定された場合、特定部5fは、当該第1の期間が複数あるか否かを判定する。そして、当該第1の期間が複数あると判定された場合、特定部5fは、複数ある第1の期間のうち、最後の第1の期間(例えば、図5(f)の実線のグラフのa3)のピークポイント(図5(f)の実線のグラフのP3)をインパクトのタイミングとして特定するとともに、その直前の第1の期間(例えば、図5(f)の実線のグラフのa2)のピークポイント(図5(f)の実線のグラフのP2)をテイクバックの開始タイミングとして特定する。一方、第1の期間が複数でない、すなわち第1の期間が1つであると判定された場合、特定部5fは、この第1の期間のピークポイント(例えば、図5(f)の実線のグラフのP3)をインパクトのタイミングとして特定する。
The specifying unit 5f specifies the timing when the subject performs a specific operation.
That is, the specifying unit (specifying unit) 5f determines the timing (for example, the impact timing of the golf swing) when the subject performs a specific action based on the image change amount information acquired by the image change amount information acquiring unit 5e. Identify. Specifically, the specifying unit 5f firstly sets the image change amount information in the impact detection area A among the image change amount information acquired by the image change amount information acquiring unit 5e (for example, the solid line shown in FIG. 5F). (A data representing the graph of FIG. 5), a period in which the amount of change between a plurality of frame images in the impact detection area A is equal to or greater than a predetermined (threshold value) (for example, a1, a2, a3 in the solid line graph shown in FIG. 5F). (Hereinafter referred to as the first period). When the first period is extracted, the specifying unit 5f uses a plurality of pieces of information in the top detection region B from the image change amount information in the top detection region B (for example, data representing a one-dot chain line graph illustrated in FIG. 5). A period (for example, b1 and b2 in the dashed-dotted line graph shown in FIG. 5F) (hereinafter referred to as the second period) is extracted in which the change amount between the frame images is equal to or greater than a predetermined value. When the second period is extracted, the specifying unit 5f selects the second period (for example, the first second period (for example, FIG. 5F) when a plurality of second periods are extracted. It is determined whether or not there is a first period after b1)) of the dashed-dotted line graph. When it is determined that there is a first period after the second period (the first second period when a plurality of second periods are extracted), the specifying unit 5f A peak point (P3 in the solid line graph in FIG. 5F) of the first period (for example, a3 in the solid line graph in FIG. 5F) immediately after the period is specified as the impact timing.
When the second period is not extracted, the specifying unit 5f determines whether or not there is a first period whose length is within a predetermined time among the extracted first periods. judge. If it is determined that there is a first period (for example, a2 and a3 in the solid line graph shown in FIG. 5F) whose length is within a predetermined time, the specifying unit 5f It is determined whether there are a plurality of periods. When it is determined that there are a plurality of the first periods, the specifying unit 5f selects the last first period (for example, a3 in the solid line graph of FIG. 5F) among the plurality of first periods. ) Peak point (P3 in the solid line graph in FIG. 5 (f)) is specified as the impact timing, and the peak in the first period (for example, a2 in the solid line graph in FIG. 5 (f)) immediately before that is specified. The point (P2 in the solid line graph in FIG. 5F) is specified as the takeback start timing. On the other hand, when it is determined that the first period is not plural, that is, the first period is one, the specifying unit 5f determines the peak point of this first period (for example, the solid line in FIG. 5F). P3) of the graph is specified as the impact timing.

画像記録部6は、例えば、不揮発性メモリ(フラッシュメモリ)等により構成されている。また、画像記録部6は、画像データ生成部4の符号化部(図示略)により所定の符号化方式で符号化された各種の画像の画像データを記録する。
具体的には、画像記録部6は、例えば、撮像部3により被写体の一連の動作が連続された動画像の画像データ等を記録する。
The image recording unit 6 is configured by, for example, a nonvolatile memory (flash memory). The image recording unit 6 records image data of various images encoded by a coding unit (not shown) of the image data generation unit 4 using a predetermined coding method.
Specifically, the image recording unit 6 records, for example, image data of a moving image in which a series of movements of the subject are continued by the imaging unit 3.

なお、画像記録部6は、例えば、記録媒体(図示略)が着脱自在に構成され、装着された記録媒体からのデータの読み出しや記録媒体に対するデータの書き込みを制御する構成であっても良い。   The image recording unit 6 may be configured, for example, such that a recording medium (not shown) is detachable and controls reading of data from the mounted recording medium and writing of data to the recording medium.

表示部7は、静止画像や動画像を表示する。具体的には、表示部7は、表示パネル7aと、表示制御部7bとを具備している。   The display unit 7 displays still images and moving images. Specifically, the display unit 7 includes a display panel 7a and a display control unit 7b.

表示パネル7aは、表示領域内に画像を表示する。具体的には、表示部7は、静止画撮像モードや動画撮像モードにて、撮像部3による被写体の撮像により生成された複数の画像フレームを所定の再生フレームレートで逐次更新しながらライブビュー画像を表示する。
なお、表示パネル7aとしては、例えば、液晶表示パネルや有機EL表示パネルなどが挙げられるが、一例であってこれらに限られるものではない。
The display panel 7a displays an image in the display area. Specifically, the display unit 7 updates the live view image while sequentially updating a plurality of image frames generated by imaging the subject by the imaging unit 3 in the still image capturing mode and the moving image capturing mode. Is displayed.
Examples of the display panel 7a include a liquid crystal display panel and an organic EL display panel, but are not limited to these examples.

表示制御部7bは、画像記録部6から読み出され復号部5bにより復号された所定サイズの画像データに基づいて、所定の画像を表示パネル7aの表示画面に表示させる制御を行う。具体的には、表示制御部7bは、VRAM(Video Random Access Memory)、VRAMコントローラ、デジタルビデオエンコーダなどを備えている。そして、デジタルビデオエンコーダは、復号部5bにより復号されてVRAM(図示略)に記憶されている輝度信号Y及び色差信号Cb,Crを、VRAMコントローラを介してVRAMから読み出して、これらのデータを元にビデオ信号を発生して表示パネル7aに出力する。   The display control unit 7b performs control to display a predetermined image on the display screen of the display panel 7a based on image data of a predetermined size read from the image recording unit 6 and decoded by the decoding unit 5b. Specifically, the display control unit 7b includes a VRAM (Video Random Access Memory), a VRAM controller, a digital video encoder, and the like. Then, the digital video encoder reads the luminance signal Y and the color difference signals Cb and Cr decoded by the decoding unit 5b and stored in the VRAM (not shown) from the VRAM via the VRAM controller. A video signal is generated and output to the display panel 7a.

操作入力部8は、装置本体に対して各種指示を入力するためのものである。
具体的には、操作入力部8は、例えば、モードや機能等の選択指示に係る上下左右のカーソルボタンや決定ボタン等を具備する操作部(図示略)を備えている。
そして、ユーザにより操作部の各種ボタンが操作されると、操作入力部8は、操作されたボタンに応じた操作指示を中央制御部1に出力する。中央制御部1は、操作入力部8から出力され入力された操作指示に従って所定の動作(例えば、被写体の撮像等)を各部に実行させる。
なお、操作入力部8は、表示部7の表示パネル7aと一体となって設けられたタッチパネル(図示略)を有して構成されていても良い。
The operation input unit 8 is for inputting various instructions to the apparatus main body.
Specifically, the operation input unit 8 includes, for example, an operation unit (not shown) including up / down / left / right cursor buttons and a determination button related to a selection instruction of a mode, a function, and the like.
When the user operates various buttons on the operation unit, the operation input unit 8 outputs an operation instruction corresponding to the operated button to the central control unit 1. The central control unit 1 causes each unit to execute a predetermined operation (for example, imaging of a subject) in accordance with an operation instruction output from the operation input unit 8 and input.
The operation input unit 8 may include a touch panel (not shown) provided integrally with the display panel 7a of the display unit 7.

次に、撮像処理について、図2、図3、及び図5を参照して説明する。
図2は、撮像処理に係る動作の一例を示すフローチャートである。
Next, the imaging process will be described with reference to FIGS. 2, 3, and 5.
FIG. 2 is a flowchart illustrating an example of an operation related to the imaging process.

以下に説明する撮像処理は、ユーザによる操作入力部8の所定操作に基づいて、メニュー画面(図示略)に表示された複数の動作モードの中からモーション検出モードが選択指示された場合に実行される処理である。   The imaging process described below is executed when a motion detection mode is instructed from a plurality of operation modes displayed on a menu screen (not shown) based on a predetermined operation of the operation input unit 8 by the user. Process.

<撮像処理>
図2のフローチャートに示すように、ユーザによる操作入力部8の所定操作に基づいて撮像が指示されると、撮像部3は、ゴルフのスイングの動作を所定の撮像フレームレート(例えば、1000fps等)で撮像して、画像データ生成部4は、複数のフレーム画像を所定の符号化方式で符号化した動画像の画像データを生成する(ステップS1)。
そして、画像データ生成部4は、生成された動画像の画像データをメモリ2に転送する。
<Imaging process>
As shown in the flowchart of FIG. 2, when imaging is instructed based on a predetermined operation of the operation input unit 8 by the user, the imaging unit 3 performs a golf swing operation at a predetermined imaging frame rate (for example, 1000 fps). The image data generation unit 4 generates image data of a moving image obtained by encoding a plurality of frame images using a predetermined encoding method (step S1).
Then, the image data generation unit 4 transfers the generated moving image image data to the memory 2.

続けて、画像処理部5は、動画像の画像データから各フレーム画像間の変化量を算出することによりモーションを検出するモーション検出処理(図3参照)を行い(ステップS2)、撮像処理を終了する。
なお、モーション検出処理については、後述する。
Subsequently, the image processing unit 5 performs a motion detection process (see FIG. 3) for detecting a motion by calculating a change amount between each frame image from the image data of the moving image (step S2), and ends the imaging process. To do.
The motion detection process will be described later.

<モーション検出処理>
以下に、モーション検出処理について、図3を参照して詳細に説明する。
図3は、モーション検出処理に係る動作の一例を示すフローチャートである。
<Motion detection processing>
Hereinafter, the motion detection process will be described in detail with reference to FIG.
FIG. 3 is a flowchart illustrating an example of an operation related to the motion detection process.

図3に示すように、画像取得部5aは、ゴルフのスイングの動作が連続的に撮像された複数のフレーム画像からなる動画像の画像データをメモリ2から読み出して、モーション検出処理の処理対象として取得する(ステップS11)。   As shown in FIG. 3, the image acquisition unit 5 a reads out image data of a moving image composed of a plurality of frame images obtained by continuously capturing golf swing motions from the memory 2 and uses it as a processing target for motion detection processing. Obtain (step S11).

次に、復号部5bは、動画像の画像データを構成する全てのフレーム画像を最初のフレーム画像から順次復号していく(ステップS12)。
続けて、領域設定部5cは、例えば、表示パネル7aに何れか一のフレーム画像(例えば、フレーム番号が「1」のフレーム画像(図5(a)参照))が表示された状態で、ユーザによる操作入力部8の所定操作に基づいて当該フレーム画像の中央下(被写体の足元)の位置にインパクト検出領域Aを設定するとともに、当該フレーム画像の中央上(被写体の頭部上方)の位置にトップ検出領域Bを設定する(ステップS13;図5(a)参照)。これにより、動画像を構成する他のフレーム画像(図5(b)〜(e)参照)についても、同様に、インパクト検出領域A及びトップ検出領域Bが設定された状態となる。
Next, the decoding unit 5b sequentially decodes all frame images constituting the moving image image data from the first frame image (step S12).
Subsequently, the area setting unit 5c, for example, in a state where any one of the frame images (for example, the frame image having the frame number “1” (see FIG. 5A)) is displayed on the display panel 7a. The impact detection area A is set at a position below the center of the frame image (under the foot of the subject) based on a predetermined operation of the operation input unit 8 by the above, and at a position above the center of the frame image (above the head of the subject). A top detection area B is set (step S13; see FIG. 5A). As a result, the impact detection area A and the top detection area B are similarly set for the other frame images (see FIGS. 5B to 5E) constituting the moving image.

次に、算出部5dは、例えば、動画像を構成する各フレーム画像について、最初のフレーム画像から順に、隣合うフレーム画像とのインパクト検出領域A及びトップ検出領域Bの各々における画素値の差分をとり、これらの隣合うフレーム画像間の画素値の差分を時間軸に沿って順次、積算した値を、複数のフレーム画像間の変化量として算出する(ステップS14)。続けて、算出部5dは、算出された複数のフレーム画像間の変化量を示す画像変化量情報を、当該複数のフレーム画像からなる動画像の画像データと対応付けて画像記録部6に記録して(ステップS15)、モーション検出処理を終了する。   Next, for example, for each frame image constituting the moving image, the calculation unit 5d calculates a difference in pixel value in each of the impact detection area A and the top detection area B from the adjacent frame image in order from the first frame image. Then, a value obtained by sequentially integrating the pixel value differences between the adjacent frame images along the time axis is calculated as a change amount between the plurality of frame images (step S14). Subsequently, the calculation unit 5d records the image change amount information indicating the calculated change amounts between the plurality of frame images in the image recording unit 6 in association with the image data of the moving image including the plurality of frame images. (Step S15), the motion detection process is terminated.

次に、動作タイミング特定処理について、図4及び図5を参照して説明する。
図4は、動作タイミング特定処理に係る動作の一例を示すフローチャートである。
Next, the operation timing specifying process will be described with reference to FIGS.
FIG. 4 is a flowchart illustrating an example of an operation related to the operation timing specifying process.

以下に説明する動作タイミング特定処理は、ユーザによる操作入力部8の所定操作に基づいて、メニュー画面(図示略)に表示された複数の動作モードの中から動作タイミング特定モードが選択指示された場合に実行される処理である。   The operation timing specifying process described below is performed when an operation timing specifying mode is selected from a plurality of operation modes displayed on a menu screen (not shown) based on a predetermined operation of the operation input unit 8 by the user. It is a process to be executed.

<動作タイミング特定処理>
図4のフローチャートに示すように、先ず、画像処理部5は、ユーザによる操作入力部8の所定操作に基づいてユーザ所望の動画像の指定がなされたか否かを判定する(ステップS21)。
ステップS21にて、ユーザ所望の動画像の指定がなされたと判定された場合(ステップS21;Yes)、画像変化量情報取得部5eは、指定がなされた動画像の画像データを画像記録部6から読み出して、当該動画像の画像データと対応付けられて記録されている画像変化量情報を、動作タイミング特定処理の処理対象として取得する(ステップS22)。
一方、ステップS21にて、ユーザ所望の動画像の指定がなされていないと判定された場合(ステップS21;No)、当該指定がなされるまで、ステップS21の処理を繰り返し行う。
<Operation timing identification process>
As shown in the flowchart of FIG. 4, first, the image processing unit 5 determines whether or not a user-desired moving image has been designated based on a predetermined operation of the operation input unit 8 by the user (step S21).
When it is determined in step S21 that the user-desired moving image has been designated (step S21; Yes), the image change amount information acquisition unit 5e receives the image data of the designated moving image from the image recording unit 6. The image change amount information read out and recorded in association with the image data of the moving image is acquired as a processing target of the operation timing specifying process (step S22).
On the other hand, when it is determined in step S21 that the user-desired moving image has not been designated (step S21; No), the process of step S21 is repeated until the designation is made.

次に、特定部5fは、画像変化量情報取得部5eにより取得された画像変化量情報のうちのインパクト検出領域Aにおける画像変化量情報(例えば、図5(f)に示す実線のグラフを表すデータ)から、インパクト検出領域Aで複数のフレーム画像間の変化量が所定(閾値)以上となる第1の期間があるか否かを判定する(ステップS23)。
ステップS23にて、当該第1の期間(例えば、図5(f)の実線のグラフのa1,a2,a3)があると判定された場合(ステップS23;Yes)、特定部5fは、トップ検出領域Bにおける画像変化量情報(例えば、図5(f)に示す一点鎖線のグラフを表すデータ)から、トップ検出領域Bで複数のフレーム画像間の変化量が所定以上となる第2の期間があるか否かを判定する(ステップS24)。
一方、ステップS23にて、第1の期間がないと判定された場合(ステップS23;No)、動作タイミング特定処理を終了する。このとき、表示制御部7bの制御下にて表示パネル7aに、「特定の動作のタイミング(例えば、インパクトのタイミング)を特定することができません。」等のメッセージを表示させる。
Next, the specifying unit 5f represents image change amount information (for example, a solid line graph illustrated in FIG. 5F) in the impact detection area A among the image change amount information acquired by the image change amount information acquiring unit 5e. From the data), it is determined whether or not there is a first period in which the amount of change between the plurality of frame images is greater than or equal to a predetermined (threshold value) in the impact detection area A (step S23).
When it is determined in step S23 that there is the first period (for example, a1, a2, a3 in the solid line graph of FIG. 5F) (step S23; Yes), the specifying unit 5f detects the top. From the image change amount information in the region B (for example, data representing a one-dot chain line graph shown in FIG. 5F), the second period in which the change amount between the plurality of frame images in the top detection region B is equal to or greater than a predetermined value. It is determined whether or not there is (step S24).
On the other hand, when it determines with there being no 1st period in step S23 (step S23; No), an operation timing specific process is complete | finished. At this time, under the control of the display control unit 7b, a message such as “Specific operation timing (for example, impact timing) cannot be specified” is displayed.

次に、ステップS24にて、第2の期間(例えば、図5(f)の一点鎖線のグラフのb1,b2)があると判定された場合(ステップS24;Yes)、特定部5fは、第2の期間(複数の第2の期間が抽出された場合は、最初の第2の期間)の後に第1の期間があるか否かを判定する(ステップS25)。
ステップS25にて、第2の期間(複数の第2の期間が抽出された場合は、最初の第2の期間)の後に第1の期間(例えば、図5(f)の実線のグラフのa3)があると判定された場合(ステップS25;Yes)、特定部5fは、当該第2の期間の直後の第1の期間のピークポイント(図5(f)の実線のグラフのP3)をインパクトのタイミングとして特定して(ステップS26)、動作タイミング特定処理を終了する。
一方、ステップS25にて、第2の期間(複数の第2の期間が抽出された場合は、最初の第2の期間)の後に第1の期間がないと判定された場合(ステップS25;No)、動作タイミング特定処理を終了する。このとき、表示制御部7bの制御下にて表示パネル7aに、「特定の動作のタイミング(例えば、インパクトのタイミング)を特定することができません。」等のメッセージを表示させる。
Next, when it is determined in step S24 that there is a second period (for example, b1 and b2 in the dashed-dotted line graph in FIG. 5F) (step S24; Yes), the specifying unit 5f It is determined whether there is a first period after the second period (or the first second period when a plurality of second periods are extracted) (step S25).
In step S25, after the second period (the first second period when a plurality of second periods are extracted), the first period (for example, a3 in the solid line graph of FIG. 5F). ) Is determined (step S25; Yes), the specifying unit 5f impacts the peak point (P3 in the solid line graph of FIG. 5F) in the first period immediately after the second period. (Step S26), and the operation timing specifying process is terminated.
On the other hand, when it is determined in step S25 that there is no first period after the second period (the first second period when a plurality of second periods are extracted) (step S25; No) ), The operation timing specifying process is terminated. At this time, under the control of the display control unit 7b, a message such as “Specific operation timing (for example, impact timing) cannot be specified” is displayed.

また、ステップS24にて、第2の期間がないと判定された場合(ステップS24;No)、特定部5fは、期間の長さが所定時間以内である第1の期間があるか否かを判定する(ステップS27)。
ステップS27にて、期間の長さが所定時間以内である第1の期間(例えば、図5(f)の実線のグラフのa2,a3)があると判定された場合(ステップS27;Yes)、特定部5fは、当該第1の期間が複数あるか否かを判定する(ステップS28)。
一方、ステップS27にて、期間の長さが所定時間以内である第1の期間がないと判定された場合(ステップS27;No)、動作タイミング特定処理を終了する。このとき、表示制御部7bの制御下にて表示パネル7aに、「特定の動作のタイミング(例えば、インパクトのタイミング)を特定することができません。」等のメッセージを表示させる。
In Step S24, when it is determined that there is no second period (Step S24; No), the specifying unit 5f determines whether or not there is a first period whose length is within a predetermined time. Determination is made (step S27).
When it is determined in step S27 that there is a first period (for example, a2 and a3 in the solid line graph of FIG. 5F) whose length is within a predetermined time (step S27; Yes), The specifying unit 5f determines whether there are a plurality of the first periods (step S28).
On the other hand, when it is determined in step S27 that there is no first period in which the length of the period is within the predetermined time (step S27; No), the operation timing specifying process ends. At this time, under the control of the display control unit 7b, a message such as “Specific operation timing (for example, impact timing) cannot be specified” is displayed.

次に、ステップS28にて、期間の長さが所定時間以内である第1の期間が複数あると判定された場合(ステップS28;Yes)、特定部5fは、複数ある第1の期間のうち、最後の第1の期間のピークポイント(図5(f)の実線のグラフのP3)をインパクトのタイミングとして特定し(ステップS29)、その直前の第1の期間のピークポイント(図5(f)の実線のグラフのP2)をテイクバックの開始タイミングとして特定し(ステップS30)、動作タイミング特定処理を終了する。
一方、ステップS28にて、期間の長さが所定時間以内である第1の期間が複数ない、すなわち当該第1の期間(例えば、図5(f)の実線のグラフのa3)が1つであると判定された場合(ステップS28;No)、特定部5fは、この第1の期間のピークポイント(図5(f)の実線のグラフのP3)をインパクトのタイミングとして特定し(ステップS31)、動作タイミング特定処理を終了する。
Next, in Step S28, when it is determined that there are a plurality of first periods whose length is within a predetermined time (Step S28; Yes), the specifying unit 5f includes the plurality of first periods. The peak point of the last first period (P3 in the solid line graph of FIG. 5 (f)) is specified as the impact timing (step S29), and the peak point of the first period (FIG. 5 (f) ) P2) of the solid line graph is specified as the takeback start timing (step S30), and the operation timing specifying process is terminated.
On the other hand, in step S28, there are not a plurality of first periods whose length is within a predetermined time, that is, the first period (for example, a3 in the solid line graph of FIG. 5F) is one. If determined to be present (step S28; No), the identifying unit 5f identifies the peak point of this first period (P3 in the solid line graph of FIG. 5 (f)) as the impact timing (step S31). Then, the operation timing specifying process is terminated.

以上のように、本実施形態の撮像装置100によれば、被写体の所定の動作が連続的に撮像された複数のフレーム画像からなる動画像を取得し、当該複数のフレーム画像の各々における所定位置に領域(インパクト検出領域A及びトップ検出領域B)を設定し、当該領域における複数のフレーム画像間の変化量と変化時間に応じて、被写体が特定の動作を行ったタイミングを特定するので、例えば、ゴルフのスイングの場合、ワッグル、テイクバックなどのゴルフスイングにおける準備動作やフォロースイング後の動作等、インパクトの瞬間とは複数のフレーム画像間の変化量と変化時間が異なる動作を特定の動作の候補から排除することができ、インパクトのタイミングの特定精度を向上させることができる。   As described above, according to the imaging apparatus 100 of the present embodiment, a moving image composed of a plurality of frame images obtained by continuously capturing a predetermined motion of a subject is acquired, and a predetermined position in each of the plurality of frame images is acquired. Area (impact detection area A and top detection area B) is specified, and the timing at which the subject has performed a specific action is specified according to the change amount and change time between the plurality of frame images in the area. In the case of a golf swing, a specific motion is a motion that differs in the amount of change and change time between multiple frame images from the moment of impact, such as a preparatory motion in a golf swing such as waggle or takeback, or a motion after a follow swing. It can be excluded from the candidates, and the accuracy of identifying the impact timing can be improved.

また、本実施形態の撮像装置100によれば、インパクト検出領域Aにおける複数のフレーム画像間の変化量が所定(閾値)以上となる期間の長さが所定時間以内である場合に、当該期間における所定タイミングを、被写体が特定の動作を行ったタイミングとして特定する一方で、インパクト検出領域Aにおける複数のフレーム画像間の変化量が所定(閾値)以上となる期間の長さが所定時間より長い場合には、当該期間における所定タイミングを、被写体が特定の動作を行ったタイミングとして特定しないようにしたので、例えば、ゴルフのスイングの場合、複数のフレーム画像間の変動時間が長いワッグルなどスイング開始前の動作が誤って特定されることを抑制することができる。   Further, according to the imaging device 100 of the present embodiment, when the length of a period in which the amount of change between a plurality of frame images in the impact detection area A is equal to or greater than a predetermined (threshold) is within a predetermined time, When the predetermined timing is specified as the timing at which the subject performs a specific operation, and the length of the period in which the change amount between the plurality of frame images in the impact detection area A is equal to or greater than the predetermined (threshold) is longer than the predetermined time In this case, the predetermined timing in the period is not specified as the timing at which the subject performs a specific operation. For example, in the case of a golf swing, before the start of a swing such as a waggle with a long variation time between a plurality of frame images. It can be suppressed that the operation of is specified in error.

また、本実施形態の撮像装置100によれば、インパクト検出領域Aにおける複数のフレーム画像間の変化量が所定(閾値)以上となる期間のうち、当該期間の長さが所定時間以内である期間が複数ある場合は、当該複数の期間のうち最後の期間の所定タイミングを、被写体が特定の動作を行ったタイミングとして特定するので、例えば、ゴルフのスイングの場合、当該複数の期間のうち最後の期間の所定タイミングを、インパクトのタイミングとして特定し、その直前の期間の所定タイミングを、テイクバックの開始タイミングとして特定し、ゴルフのスイングにおける各動作タイミングを好適に特定することができる。   Further, according to the imaging apparatus 100 of the present embodiment, among the periods in which the amount of change between the plurality of frame images in the impact detection area A is greater than or equal to a predetermined (threshold), the period is within a predetermined time. In the case of a golf swing, for example, in the case of a golf swing, the last timing in the last period is specified as the timing at which the subject has performed a specific action. The predetermined timing of the period is specified as the impact timing, the predetermined timing of the immediately preceding period is specified as the takeback start timing, and each operation timing in the golf swing can be preferably specified.

また、本実施形態の撮像装置100によれば、被写体の所定の動作のうちの特定の動作以外の動作を行う際に、当該被写体の一部(例えば、クラブヘッド)が通過する範囲が含まれるようにインパクト検出領域A及びトップ検出領域Bを設定するので、例えば、ゴルフのスイングの場合、ワッグル、テイクバックなどのゴルフスイングにおける準備動作やフォロースイング後の動作等、インパクト以外の動作(モーション)も検出することによって、これらの動作の中から相対的にインパクトの動作タイミングを特定することができるようになる。   Further, according to the imaging apparatus 100 of the present embodiment, a range through which a part of the subject (for example, a club head) passes when performing an operation other than a specific operation among the predetermined operations of the subject is included. Since the impact detection area A and the top detection area B are set as described above, for example, in the case of a golf swing, a motion other than impact, such as a preparatory motion in a golf swing such as waggle or takeback, or a motion after a follow swing By detecting this, it becomes possible to relatively specify the operation timing of the impact among these operations.

また、本実施形態の撮像装置100によれば、インパクト検出領域A及びトップ検出領域Bの各々において複数のフレーム画像間の変化量が所定(閾値)以上となる期間がある場合は、当該期間の順番に基づいて、被写体が特定の動作を行ったタイミングを特定することとなる。具体的には、例えば、ゴルフのスイングの場合、トップ検出領域Bにおいて複数のフレーム画像間の変化量が所定(閾値)以上である第2の期間(複数の第2の期間が抽出された場合は、最初の第2の期間)の直後の第1の期間(インパクト検出領域Aにおいて複数のフレーム画像間の変化量が所定(閾値)以上である期間)のピークポイントをインパクトのタイミングとして特定することとなる。
従って、領域設定部5cによって、インパクト検出領域Aの他にもトップ検出領域Bを設定することによって、トップ検出領域Bによって検出された所定の動作(例えば、トップスイングの動作)との前後関係からもインパクトの動作タイミングを特定することができるようになるので、当該特定処理の精度を向上させることができる。
Further, according to the imaging apparatus 100 of the present embodiment, when there is a period in which the amount of change between a plurality of frame images is greater than or equal to a predetermined (threshold) in each of the impact detection area A and the top detection area B, Based on the order, the timing at which the subject performs a specific operation is specified. Specifically, for example, in the case of a golf swing, a second period (a plurality of second periods are extracted) in which the amount of change between a plurality of frame images in the top detection region B is equal to or greater than a predetermined (threshold value). Specifies the peak point in the first period (period in which the amount of change between the plurality of frame images in the impact detection area A is equal to or greater than a predetermined (threshold)) immediately after the first second period) as the impact timing. It will be.
Therefore, by setting the top detection area B in addition to the impact detection area A by the area setting unit 5c, the predetermined setting detected by the top detection area B (for example, the top swing action) Since it becomes possible to specify the operation timing of the impact, the accuracy of the specifying process can be improved.

なお、本発明は、上記実施形態に限定されることなく、本発明の趣旨を逸脱しない範囲において、種々の改良並びに設計の変更を行っても良い。
例えば、上記実施形態にあっては、インパクト検出領域Aにおいて複数のフレーム画像間の変化量が所定(閾値)以上となる期間の長さが所定時間以内である場合に、当該期間における所定タイミングを、被写体が特定の動作を行ったタイミングとして特定するようにしたが、一例であってこれに限られるものではない。例えば、被写体が特定の動作を行う際の所要時間を予測可能な場合には、上記期間の長さが所定の範囲内、つまり予測される所要時間内である場合に、当該期間における所定タイミングを、被写体が特定の動作を行ったタイミングとして特定するようにしても良い。
The present invention is not limited to the above-described embodiment, and various improvements and design changes may be made without departing from the spirit of the present invention.
For example, in the above embodiment, when the length of a period in which the amount of change between a plurality of frame images in the impact detection area A is equal to or greater than a predetermined (threshold) is within a predetermined time, the predetermined timing in the period is The subject is specified as the timing at which the subject performs a specific operation, but this is an example and the present invention is not limited to this. For example, when the time required for the subject to perform a specific motion can be predicted, the predetermined timing in the period is set when the length of the period is within a predetermined range, that is, the predicted required time. The timing when the subject performs a specific operation may be specified.

また、上記実施形態にあっては、動画像を構成する各フレーム画像について、隣合うフレーム画像とのインパクト検出領域A及びトップ検出領域Bの各々における画素値の差分をとり、これらの隣合うフレーム画像間の画素値の差分を時間軸に沿って順次、積算した値を、複数のフレーム画像間の変化量として算出するようにしたが、一例であってこれに限られるものではない。例えば、動画像を構成する各フレーム画像について、隣合うフレーム画像とのインパクト検出領域A及びトップ検出領域Bの各々における画素値の差分の絶対値を、複数のフレーム画像間の変化量として算出するようにしても良い。   Further, in the above embodiment, for each frame image constituting the moving image, the difference between pixel values in the impact detection area A and the top detection area B from the adjacent frame image is taken, and these adjacent frames are taken. A value obtained by sequentially integrating the pixel value differences between images along the time axis is calculated as a change amount between a plurality of frame images. However, this is an example, and the present invention is not limited to this. For example, for each frame image constituting the moving image, the absolute value of the difference between the pixel values in each of the impact detection area A and the top detection area B from the adjacent frame image is calculated as the amount of change between the plurality of frame images. You may do it.

また、上記実施形態にあっては、モーション検出モードにおいて、撮像処理(図2参照)を行い、動作タイミング特定モードにおいて、動作タイミング特定処理(図4参照)を行うようにしたが、一例であってこれに限られるものではない。例えば、図2に示す撮像処理と、図4に示す動作タイミング特定処理と、を一連の流れで行うようにしても良い。かかる場合、モーション検出処理(図3参照)のステップS11〜ステップS14までは、上記実施形態と同様の処理を行い、ステップS15において、算出部5dは、算出された複数のフレーム画像間の変化量を示す画像変化量情報を、当該複数のフレーム画像からなる動画像の画像データと対応付けてメモリ2に転送し、モーション検出処理を終了するようにする。そして、動作タイミング特定処理(図4参照)において、先ず、画像変化量情報取得部5eは、メモリ2から上記画像変化量情報を読み出し、当該画像変化量情報を取得した後、上記実施形態と同様、ステップS23〜ステップS31の処理を行うようにする。   In the above embodiment, the imaging process (see FIG. 2) is performed in the motion detection mode, and the operation timing specifying process (see FIG. 4) is performed in the operation timing specifying mode. It is not limited to this. For example, the imaging process shown in FIG. 2 and the operation timing specifying process shown in FIG. 4 may be performed in a series of flows. In such a case, the same processing as in the above embodiment is performed from step S11 to step S14 of the motion detection processing (see FIG. 3), and in step S15, the calculation unit 5d calculates the amount of change between the plurality of frame images calculated. Is transferred to the memory 2 in association with the image data of the moving image composed of the plurality of frame images, and the motion detection process is terminated. In the operation timing specifying process (see FIG. 4), first, the image change amount information acquisition unit 5e reads the image change amount information from the memory 2, acquires the image change amount information, and then, similarly to the above embodiment. Then, the processing of step S23 to step S31 is performed.

また、上記実施形態にあっては、インパクト検出領域A及びトップ検出領域Bの2種類の領域を設定するようにしたが、一例であってこれに限られるものではなく、例えば、ユーザによる操作入力部8の所定操作に基づき、トップ検出領域Bの設定を省略することができるようにしても良い。   In the above embodiment, two types of areas, the impact detection area A and the top detection area B, are set. However, the present invention is not limited to this example. The setting of the top detection area B may be omitted based on a predetermined operation of the unit 8.

また、上記実施形態にあっては、特定部5fは、例えば、インパクト検出領域Aにおける複数の画像間の変化量が所定の条件(例えば、閾値以上であること)を満たす期間が複数ある場合は、当該複数の期間のうち変化時間が所定の条件(例えば、最も短い期間であること)を満たす期間の所定タイミングを、前記被写体が特定の動作を行ったタイミングとして特定するようにしても良い。具体的には、例えば、ゴルフのスイングを一例とした場合、図5(f)の実線のグラフに示すように、特定部5fは、インパクト検出領域Aにおける複数の画像間の変化量が閾値以上であることを満たす期間(a1,a2,a3)が複数ある場合は、当該複数の期間のうち変化時間が最も短い期間であることを満たす期間(a3)の所定タイミング(例えば、ピークポイントP3)を、被写体が特定の動作を行ったタイミング(インパクトのタイミング)として特定する。   In the above embodiment, the specifying unit 5f, for example, when there are a plurality of periods in which the amount of change between a plurality of images in the impact detection area A satisfies a predetermined condition (for example, a threshold value or more). A predetermined timing of a period satisfying a predetermined condition (for example, the shortest period) among the plurality of periods may be specified as a timing at which the subject performs a specific operation. Specifically, for example, when a golf swing is taken as an example, as shown in the solid line graph of FIG. 5F, the specifying unit 5f has a change amount between a plurality of images in the impact detection area A equal to or greater than a threshold value. When there are a plurality of periods (a1, a2, a3) satisfying that, a predetermined timing (for example, peak point P3) of the period (a3) satisfying that the change time is the shortest period among the plurality of periods Is specified as the timing when the subject performs a specific operation (impact timing).

また、上記実施形態にあっては、取得手段、領域設定手段、特定手段としての機能を、中央制御部1の制御下にて、画像取得部5a、領域設定部5c、特定部5fが駆動することにより実現される構成としたが、これに限られるものではなく、中央制御部1のCPUによって予定のプログラム等が実行されることにより実現される構成としても良い。
即ち、プログラムを記憶するプログラムメモリ(図示略)に、取得処理ルーチン、領域設定処理ルーチン、特定処理ルーチンを含むプログラムを記録しておく。そして、取得処理ルーチンにより中央制御部1のCPUを、被写体の所定の動作が連続的に撮像された複数の画像を取得する取得手段として機能させるようにしても良い。また、領域設定処理ルーチンにより中央制御部1のCPUを、取得処理ルーチンにより取得された複数の画像の各々における所定位置に領域を設定する領域設定手段として機能させるようにしても良い。また、特定処理ルーチンにより中央制御部1のCPUを、領域設定処理ルーチンにより設定された領域における前記複数の画像間の変化量と変化時間に応じて、前記被写体が特定の動作を行ったタイミングを特定する特定手段として機能させるようにしても良い。
In the above embodiment, the image acquisition unit 5a, the region setting unit 5c, and the specifying unit 5f are driven under the control of the central control unit 1 to function as the acquisition unit, the region setting unit, and the specifying unit. However, the present invention is not limited to this, and may be realized by executing a scheduled program or the like by the CPU of the central control unit 1.
That is, a program including an acquisition processing routine, an area setting processing routine, and a specific processing routine is recorded in a program memory (not shown) that stores the program. Then, the CPU of the central control unit 1 may function as an acquisition unit that acquires a plurality of images obtained by continuously capturing a predetermined operation of the subject by an acquisition process routine. Further, the CPU of the central control unit 1 may function as a region setting unit that sets a region at a predetermined position in each of the plurality of images acquired by the acquisition processing routine by the region setting processing routine. Further, the CPU of the central control unit 1 determines the timing at which the subject performs a specific operation according to the amount of change and the change time between the plurality of images in the region set by the region setting processing routine. You may make it function as a specific means to specify.

さらに、上記の各処理を実行するためのプログラムを格納したコンピュータ読み取り可能な媒体として、ROMやハードディスク等の他、フラッシュメモリ等の不揮発性メモリ、CD−ROM等の可搬型記録媒体を適用することも可能である。また、プログラムのデータを所定の通信回線を介して提供する媒体としては、キャリアウェーブ(搬送波)も適用される。   Furthermore, as a computer-readable medium storing a program for executing each of the above processes, a non-volatile memory such as a flash memory or a portable recording medium such as a CD-ROM is applied in addition to a ROM or a hard disk. Is also possible. A carrier wave is also used as a medium for providing program data via a predetermined communication line.

本発明のいくつかの実施形態を説明したが、本発明の範囲は、上述の実施の形態に限定するものではなく、特許請求の範囲に記載された発明の範囲とその均等の範囲を含む。
以下に、この出願の願書に最初に添付した特許請求の範囲に記載した発明を付記する。付記に記載した請求項の項番は、この出願の願書に最初に添付した特許請求の範囲の通りである。
〔付記〕
<請求項1>
被写体の所定の動作が連続的に撮像された複数の画像を取得する取得手段と、
前記取得手段により取得された複数の画像の各々における所定位置に領域を設定する領域設定手段と、
前記領域設定手段により設定された領域における前記複数の画像間の変化量と変化時間に応じて、前記被写体が特定の動作を行ったタイミングを特定する特定手段と、
を備えたことを特徴とする画像処理装置。
<請求項2>
前記領域設定手段は、前記被写体の所定の動作が行われる際に、当該被写体の一部が通過する位置を前記所定位置として、当該位置に前記領域を設定し、
前記特定手段は、前記領域設定手段により設定された領域における前記複数の画像間の変化量と変化時間が所定の条件を満たす期間における所定タイミングを、前記被写体が特定の動作を行ったタイミングとして特定することを特徴とする請求項1に記載の画像処理装置。
<請求項3>
前記特定手段は、前記領域設定手段により設定された領域における前記複数の画像間の変化量が所定以上となる期間の長さが所定の範囲内である場合に、当該期間における所定タイミングを、前記被写体が特定の動作を行ったタイミングとして特定することを特徴とする請求項2に記載の画像処理装置。
<請求項4>
前記特定手段は、前記領域設定手段により設定された領域における前記複数の画像間の変化量が所定以上となる期間の長さが所定時間以内である場合に、当該期間における所定タイミングを、前記被写体が特定の動作を行ったタイミングとして特定する一方で、前記領域設定手段により設定された領域における前記複数の画像間の変化量が所定以上となる期間の長さが所定時間より長い場合には、当該期間における所定タイミングを、前記被写体が特定の動作を行ったタイミングとして特定しないことを特徴とする請求項3に記載の画像処理装置。
<請求項5>
前記特定手段は、前記領域設定手段により設定された領域における前記複数の画像間の変化量が所定以上となる期間のうち、当該期間の長さが所定時間以内である期間が複数ある場合は、当該複数の期間のうち予め決められた順番に相当する期間の所定タイミングを、前記被写体が特定の動作を行ったタイミングとして特定することを特徴とする請求項4に記載の画像処理装置。
<請求項6>
前記特定手段は、前記領域設定手段により設定された領域における前記複数の画像間の変化量と変化時間が所定の条件を満たす期間が複数ある場合は、当該複数の期間のうち予め決められた順番に相当する期間の所定タイミングを、前記被写体が特定の動作を行ったタイミングとして特定することを特徴とする請求項2に記載の画像処理装置。
<請求項7>
前記特定手段は、前記領域設定手段により設定された領域における前記複数の画像間の変化量が所定の条件を満たす期間が複数ある場合は、当該複数の期間のうち変化時間が所定の条件を満たす期間の所定タイミングを、前記被写体が特定の動作を行ったタイミングとして特定することを特徴とする請求項2に記載の画像処理装置。
<請求項8>
前記特定手段は、前記領域設定手段により設定された領域における前記複数の画像間の変化量が所定の条件を満たす期間が複数ある場合は、当該複数の期間のうち変化時間が最も短い期間の所定タイミングを、前記被写体が特定の動作を行ったタイミングとして特定することを特徴とする請求項7に記載の画像処理装置。
<請求項9>
前記領域設定手段は、前記被写体の所定の動作のうちの特定の動作以外の動作を行う際に、当該被写体の一部が通過する範囲が含まれるように前記領域を設定することを特徴とする請求項1に記載の画像処理装置。
<請求項10>
前記領域設定手段は、前記領域を複数設定し、
前記特定手段は、前記領域設定手段により設定された複数の領域の各々において前記複数の画像間の変化量が所定以上となる期間がある場合は、当該期間の順番に基づいて、前記被写体が特定の動作を行ったタイミングを特定することを特徴とする請求項1に記載の画像処理装置。
<請求項11>
前記領域設定手段により設定された領域における前記複数の画像間の変化量は、当該画像間の画素値の差分の絶対値であることを特徴とする請求項1に記載の画像処理装置。
<請求項12>
前記領域設定手段により設定された領域における前記複数の画像間の変化量は、当該画像間の画素値の差分を時間軸に沿って積算した値であることを特徴とする請求項1に記載の画像処理装置。
<請求項13>
前記被写体の所定の動作は、ゴルフスイングであり、
前記被写体が特定の動作を行ったタイミングは、インパクトのタイミングであることを特徴とする請求項5に記載の画像処理装置。
<請求項14>
前記特定手段は、前記領域設定手段により設定された領域における前記複数の画像間の変化量が所定以上となる期間のうち、当該期間の長さが所定時間以内である期間が複数ある場合は、当該複数の期間のうち最後に相当する期間の所定タイミングを、前記インパクトのタイミングとして特定するとともに、その直前の期間の所定タイミングを、テイクバックの開始タイミングとして特定することを特徴とする請求項13に記載の画像処理装置。
<請求項15>
画像処理装置を用いた画像処理方法であって、
被写体の所定の動作が連続的に撮像された複数の画像を取得する処理と、
取得された複数の画像の各々における所定位置に領域を設定する処理と、
設定された領域における前記複数の画像間の変化量と変化時間に応じて、前記被写体が特定の動作を行ったタイミングを特定する処理と、
を含むことを特徴とする画像処理方法。
<請求項16>
画像処理装置のコンピュータを、
被写体の所定の動作が連続的に撮像された複数の画像を取得する取得手段、
前記取得手段により取得された複数の画像の各々における所定位置に領域を設定する領域設定手段、
前記領域設定手段により設定された領域における前記複数の画像間の変化量と変化時間に応じて、前記被写体が特定の動作を行ったタイミングを特定する特定手段、
として機能させることを特徴とするプログラム。
Although several embodiments of the present invention have been described, the scope of the present invention is not limited to the above-described embodiments, but includes the scope of the invention described in the claims and equivalents thereof.
The invention described in the scope of claims attached to the application of this application will be added below. The item numbers of the claims described in the appendix are as set forth in the claims attached to the application of this application.
[Appendix]
<Claim 1>
Acquisition means for acquiring a plurality of images obtained by continuously capturing a predetermined motion of a subject;
Area setting means for setting an area at a predetermined position in each of the plurality of images acquired by the acquisition means;
A specifying unit that specifies a timing at which the subject has performed a specific operation according to a change amount and a change time between the plurality of images in the region set by the region setting unit;
An image processing apparatus comprising:
<Claim 2>
The region setting means sets the region at the position where the predetermined position is a position through which a part of the subject passes when a predetermined operation of the subject is performed,
The specifying unit specifies a predetermined timing in a period in which a change amount and a change time between the plurality of images in a region set by the region setting unit satisfy a predetermined condition as a timing at which the subject performs a specific operation. The image processing apparatus according to claim 1, wherein:
<Claim 3>
When the length of a period in which the amount of change between the plurality of images in the region set by the region setting unit is greater than or equal to a predetermined range is within a predetermined range, the specifying unit determines the predetermined timing in the period, The image processing apparatus according to claim 2, wherein the image processing apparatus is specified as a timing at which a subject performs a specific operation.
<Claim 4>
The specifying unit determines a predetermined timing in the period when the length of a period in which a change amount between the plurality of images in the region set by the region setting unit is equal to or greater than a predetermined time is within a predetermined time. Is specified as the timing at which the specific operation is performed, while the length of the period in which the amount of change between the plurality of images in the region set by the region setting unit is greater than or equal to a predetermined time is longer than a predetermined time, The image processing apparatus according to claim 3, wherein the predetermined timing in the period is not specified as a timing at which the subject performs a specific operation.
<Claim 5>
The specifying unit has a period in which a length of the period is within a predetermined time among a period in which a change amount between the plurality of images in the region set by the region setting unit is not less than a predetermined time. The image processing apparatus according to claim 4, wherein a predetermined timing in a period corresponding to a predetermined order among the plurality of periods is specified as a timing at which the subject performs a specific operation.
<Claim 6>
When there are a plurality of periods in which the change amount and change time between the plurality of images in the region set by the region setting unit satisfy a predetermined condition, the specifying unit determines a predetermined order among the plurality of periods. The image processing apparatus according to claim 2, wherein a predetermined timing in a period corresponding to is specified as a timing at which the subject performs a specific operation.
<Claim 7>
In the case where there are a plurality of periods in which the amount of change between the plurality of images in the region set by the region setting unit satisfies a predetermined condition, the specifying unit has a change time satisfying a predetermined condition among the plurality of periods The image processing apparatus according to claim 2, wherein the predetermined timing of the period is specified as a timing at which the subject performs a specific operation.
<Claim 8>
When there are a plurality of periods in which the amount of change between the plurality of images in the region set by the region setting unit satisfies a predetermined condition, the specifying unit determines a predetermined period of the shortest change time among the plurality of periods. The image processing apparatus according to claim 7, wherein the timing is specified as a timing at which the subject performs a specific operation.
<Claim 9>
The region setting means sets the region to include a range through which a part of the subject passes when performing an operation other than a specific operation among the predetermined operations of the subject. The image processing apparatus according to claim 1.
<Claim 10>
The region setting means sets a plurality of the regions,
If there is a period in which the amount of change between the plurality of images is greater than or equal to a predetermined value in each of the plurality of areas set by the area setting unit, the specifying unit specifies the subject based on the order of the periods. The image processing apparatus according to claim 1, wherein a timing at which the operation is performed is specified.
<Claim 11>
The image processing apparatus according to claim 1, wherein the change amount between the plurality of images in the region set by the region setting unit is an absolute value of a difference in pixel value between the images.
<Claim 12>
The amount of change between the plurality of images in the region set by the region setting means is a value obtained by integrating a difference in pixel values between the images along a time axis. Image processing device.
<Claim 13>
The predetermined motion of the subject is a golf swing,
The image processing apparatus according to claim 5, wherein the timing at which the subject performs a specific operation is an impact timing.
<Claim 14>
The specifying unit has a period in which a length of the period is within a predetermined time among a period in which a change amount between the plurality of images in the region set by the region setting unit is not less than a predetermined time. The predetermined timing of a period corresponding to the last of the plurality of periods is specified as the timing of the impact, and the predetermined timing of the period immediately before is specified as the start timing of takeback. An image processing apparatus according to 1.
<Claim 15>
An image processing method using an image processing apparatus,
A process of acquiring a plurality of images in which a predetermined motion of a subject is continuously captured;
A process of setting an area at a predetermined position in each of a plurality of acquired images;
A process of specifying a timing at which the subject has performed a specific operation according to a change amount and a change time between the plurality of images in a set region;
An image processing method comprising:
<Claim 16>
The computer of the image processing device
Acquisition means for acquiring a plurality of images in which a predetermined motion of a subject is continuously captured;
Area setting means for setting an area at a predetermined position in each of the plurality of images acquired by the acquisition means;
A specifying unit for specifying a timing at which the subject performs a specific operation according to a change amount and a change time between the plurality of images in the region set by the region setting unit;
A program characterized by functioning as

100 撮像装置
1 中央制御部
3 撮像部
5 画像処理部
5a 画像取得部
5b 復号部
5c 領域設定部
5d 算出部
5e 画像変化量情報取得部
5f 特定部
A インパクト検出領域
B トップ検出領域
DESCRIPTION OF SYMBOLS 100 Imaging device 1 Central control part 3 Imaging part 5 Image processing part 5a Image acquisition part 5b Decoding part 5c Area setting part 5d Calculation part 5e Image change amount information acquisition part 5f Specific part A Impact detection area B Top detection area

Claims (16)

被写体の所定の動作が連続的に撮像された複数の画像を取得する取得手段と、
前記取得手段により取得された複数の画像の各々における所定位置に領域を設定する領域設定手段と、
前記領域設定手段により設定された領域における前記複数の画像間の変化量と変化時間に応じて、前記被写体が特定の動作を行ったタイミングを特定する特定手段と、
を備えたことを特徴とする画像処理装置。
Acquisition means for acquiring a plurality of images obtained by continuously capturing a predetermined motion of a subject;
Area setting means for setting an area at a predetermined position in each of the plurality of images acquired by the acquisition means;
A specifying unit that specifies a timing at which the subject has performed a specific operation according to a change amount and a change time between the plurality of images in the region set by the region setting unit;
An image processing apparatus comprising:
前記領域設定手段は、前記被写体の所定の動作が行われる際に、当該被写体の一部が通過する位置を前記所定位置として、当該位置に前記領域を設定し、
前記特定手段は、前記領域設定手段により設定された領域における前記複数の画像間の変化量と変化時間が所定の条件を満たす期間における所定タイミングを、前記被写体が特定の動作を行ったタイミングとして特定することを特徴とする請求項1に記載の画像処理装置。
The region setting means sets the region at the position where the predetermined position is a position through which a part of the subject passes when a predetermined operation of the subject is performed,
The specifying unit specifies a predetermined timing in a period in which a change amount and a change time between the plurality of images in a region set by the region setting unit satisfy a predetermined condition as a timing at which the subject performs a specific operation. The image processing apparatus according to claim 1, wherein:
前記特定手段は、前記領域設定手段により設定された領域における前記複数の画像間の変化量が所定以上となる期間の長さが所定の範囲内である場合に、当該期間における所定タイミングを、前記被写体が特定の動作を行ったタイミングとして特定することを特徴とする請求項2に記載の画像処理装置。   When the length of a period in which the amount of change between the plurality of images in the region set by the region setting unit is greater than or equal to a predetermined range is within a predetermined range, the specifying unit determines the predetermined timing in the period, The image processing apparatus according to claim 2, wherein the image processing apparatus is specified as a timing at which a subject performs a specific operation. 前記特定手段は、前記領域設定手段により設定された領域における前記複数の画像間の変化量が所定以上となる期間の長さが所定時間以内である場合に、当該期間における所定タイミングを、前記被写体が特定の動作を行ったタイミングとして特定する一方で、前記領域設定手段により設定された領域における前記複数の画像間の変化量が所定以上となる期間の長さが所定時間より長い場合には、当該期間における所定タイミングを、前記被写体が特定の動作を行ったタイミングとして特定しないことを特徴とする請求項3に記載の画像処理装置。   The specifying unit determines a predetermined timing in the period when the length of a period in which a change amount between the plurality of images in the region set by the region setting unit is equal to or greater than a predetermined time is within a predetermined time. Is specified as the timing at which the specific operation is performed, while the length of the period in which the amount of change between the plurality of images in the region set by the region setting unit is greater than or equal to a predetermined time is longer than a predetermined time, The image processing apparatus according to claim 3, wherein the predetermined timing in the period is not specified as a timing at which the subject performs a specific operation. 前記特定手段は、前記領域設定手段により設定された領域における前記複数の画像間の変化量が所定以上となる期間のうち、当該期間の長さが所定時間以内である期間が複数ある場合は、当該複数の期間のうち予め決められた順番に相当する期間の所定タイミングを、前記被写体が特定の動作を行ったタイミングとして特定することを特徴とする請求項4に記載の画像処理装置。   The specifying unit has a period in which a length of the period is within a predetermined time among a period in which a change amount between the plurality of images in the region set by the region setting unit is not less than a predetermined time. The image processing apparatus according to claim 4, wherein a predetermined timing in a period corresponding to a predetermined order among the plurality of periods is specified as a timing at which the subject performs a specific operation. 前記特定手段は、前記領域設定手段により設定された領域における前記複数の画像間の変化量と変化時間が所定の条件を満たす期間が複数ある場合は、当該複数の期間のうち予め決められた順番に相当する期間の所定タイミングを、前記被写体が特定の動作を行ったタイミングとして特定することを特徴とする請求項2に記載の画像処理装置。   When there are a plurality of periods in which the change amount and change time between the plurality of images in the region set by the region setting unit satisfy a predetermined condition, the specifying unit determines a predetermined order among the plurality of periods. The image processing apparatus according to claim 2, wherein a predetermined timing in a period corresponding to is specified as a timing at which the subject performs a specific operation. 前記特定手段は、前記領域設定手段により設定された領域における前記複数の画像間の変化量が所定の条件を満たす期間が複数ある場合は、当該複数の期間のうち変化時間が所定の条件を満たす期間の所定タイミングを、前記被写体が特定の動作を行ったタイミングとして特定することを特徴とする請求項2に記載の画像処理装置。   In the case where there are a plurality of periods in which the amount of change between the plurality of images in the region set by the region setting unit satisfies a predetermined condition, the specifying unit has a change time satisfying a predetermined condition among the plurality of periods The image processing apparatus according to claim 2, wherein the predetermined timing of the period is specified as a timing at which the subject performs a specific operation. 前記特定手段は、前記領域設定手段により設定された領域における前記複数の画像間の変化量が所定の条件を満たす期間が複数ある場合は、当該複数の期間のうち変化時間が最も短い期間の所定タイミングを、前記被写体が特定の動作を行ったタイミングとして特定することを特徴とする請求項7に記載の画像処理装置。   When there are a plurality of periods in which the amount of change between the plurality of images in the region set by the region setting unit satisfies a predetermined condition, the specifying unit determines a predetermined period of the shortest change time among the plurality of periods. The image processing apparatus according to claim 7, wherein the timing is specified as a timing at which the subject performs a specific operation. 前記領域設定手段は、前記被写体の所定の動作のうちの特定の動作以外の動作を行う際に、当該被写体の一部が通過する範囲が含まれるように前記領域を設定することを特徴とする請求項1に記載の画像処理装置。   The region setting means sets the region to include a range through which a part of the subject passes when performing an operation other than a specific operation among the predetermined operations of the subject. The image processing apparatus according to claim 1. 前記領域設定手段は、前記領域を複数設定し、
前記特定手段は、前記領域設定手段により設定された複数の領域の各々において前記複数の画像間の変化量が所定以上となる期間がある場合は、当該期間の順番に基づいて、前記被写体が特定の動作を行ったタイミングを特定することを特徴とする請求項1に記載の画像処理装置。
The region setting means sets a plurality of the regions,
If there is a period in which the amount of change between the plurality of images is greater than or equal to a predetermined value in each of the plurality of areas set by the area setting unit, the specifying unit specifies the subject based on the order of the periods. The image processing apparatus according to claim 1, wherein a timing at which the operation is performed is specified.
前記領域設定手段により設定された領域における前記複数の画像間の変化量は、当該画像間の画素値の差分の絶対値であることを特徴とする請求項1に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the change amount between the plurality of images in the region set by the region setting unit is an absolute value of a difference in pixel value between the images. 前記領域設定手段により設定された領域における前記複数の画像間の変化量は、当該画像間の画素値の差分を時間軸に沿って積算した値であることを特徴とする請求項1に記載の画像処理装置。   The amount of change between the plurality of images in the region set by the region setting means is a value obtained by integrating a difference in pixel values between the images along a time axis. Image processing device. 前記被写体の所定の動作は、ゴルフスイングであり、
前記被写体が特定の動作を行ったタイミングは、インパクトのタイミングであることを特徴とする請求項5に記載の画像処理装置。
The predetermined motion of the subject is a golf swing,
The image processing apparatus according to claim 5, wherein the timing at which the subject performs a specific operation is an impact timing.
前記特定手段は、前記領域設定手段により設定された領域における前記複数の画像間の変化量が所定以上となる期間のうち、当該期間の長さが所定時間以内である期間が複数ある場合は、当該複数の期間のうち最後に相当する期間の所定タイミングを、前記インパクトのタイミングとして特定するとともに、その直前の期間の所定タイミングを、テイクバックの開始タイミングとして特定することを特徴とする請求項13に記載の画像処理装置。   The specifying unit has a period in which a length of the period is within a predetermined time among a period in which a change amount between the plurality of images in the region set by the region setting unit is not less than a predetermined time. The predetermined timing of a period corresponding to the last of the plurality of periods is specified as the timing of the impact, and the predetermined timing of the period immediately before is specified as the start timing of takeback. An image processing apparatus according to 1. 画像処理装置を用いた画像処理方法であって、
被写体の所定の動作が連続的に撮像された複数の画像を取得する処理と、
取得された複数の画像の各々における所定位置に領域を設定する処理と、
設定された領域における前記複数の画像間の変化量と変化時間に応じて、前記被写体が特定の動作を行ったタイミングを特定する処理と、
を含むことを特徴とする画像処理方法。
An image processing method using an image processing apparatus,
A process of acquiring a plurality of images in which a predetermined motion of a subject is continuously captured;
A process of setting an area at a predetermined position in each of a plurality of acquired images;
A process of specifying a timing at which the subject has performed a specific operation according to a change amount and a change time between the plurality of images in a set region;
An image processing method comprising:
画像処理装置のコンピュータを、
被写体の所定の動作が連続的に撮像された複数の画像を取得する取得手段、
前記取得手段により取得された複数の画像の各々における所定位置に領域を設定する領域設定手段、
前記領域設定手段により設定された領域における前記複数の画像間の変化量と変化時間に応じて、前記被写体が特定の動作を行ったタイミングを特定する特定手段、
として機能させることを特徴とするプログラム。
The computer of the image processing device
Acquisition means for acquiring a plurality of images in which a predetermined motion of a subject is continuously captured;
Area setting means for setting an area at a predetermined position in each of the plurality of images acquired by the acquisition means;
A specifying unit for specifying a timing at which the subject performs a specific operation according to a change amount and a change time between the plurality of images in the region set by the region setting unit;
A program characterized by functioning as
JP2016010484A 2016-01-22 2016-01-22 Image processing apparatus, image processing method, and program Active JP6682874B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016010484A JP6682874B2 (en) 2016-01-22 2016-01-22 Image processing apparatus, image processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016010484A JP6682874B2 (en) 2016-01-22 2016-01-22 Image processing apparatus, image processing method, and program

Publications (3)

Publication Number Publication Date
JP2017130134A true JP2017130134A (en) 2017-07-27
JP2017130134A5 JP2017130134A5 (en) 2019-02-21
JP6682874B2 JP6682874B2 (en) 2020-04-15

Family

ID=59394861

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016010484A Active JP6682874B2 (en) 2016-01-22 2016-01-22 Image processing apparatus, image processing method, and program

Country Status (1)

Country Link
JP (1) JP6682874B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003348528A (en) * 2002-05-22 2003-12-05 Nippon Telegr & Teleph Corp <Ntt> Representative image selection method, representative image selection apparatus, representative image selection program and recording medium for representative image selection program
JP2015069432A (en) * 2013-09-30 2015-04-13 カシオ計算機株式会社 Image processing apparatus, image processing method, and program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003348528A (en) * 2002-05-22 2003-12-05 Nippon Telegr & Teleph Corp <Ntt> Representative image selection method, representative image selection apparatus, representative image selection program and recording medium for representative image selection program
JP2015069432A (en) * 2013-09-30 2015-04-13 カシオ計算機株式会社 Image processing apparatus, image processing method, and program

Also Published As

Publication number Publication date
JP6682874B2 (en) 2020-04-15

Similar Documents

Publication Publication Date Title
JP5935779B2 (en) Image processing apparatus, image processing method, and program
TWI420901B (en) Image capturing device, image capturing method and image capturing program
US9779290B2 (en) Detecting apparatus, detecting method and computer readable recording medium recording program for detecting state in predetermined area within images
JP6652039B2 (en) Imaging device, imaging method, and program
US9210326B2 (en) Imaging apparatus which controls display regarding capturing, imaging method, and storage medium
JP6500535B2 (en) Image processing apparatus, image processing method and program
JP5510287B2 (en) Subject detection apparatus, subject detection method, and program
US10401174B2 (en) Posture estimating apparatus for estimating posture, posture estimating method and recording medium
JP6693071B2 (en) Imaging device, imaging control method, and program
JP6682874B2 (en) Image processing apparatus, image processing method, and program
JP6597262B2 (en) Image processing apparatus, image processing method, and program
JP2011155420A (en) Camera shake correction device, imaging processing method and program
JP5807695B2 (en) Subject detection apparatus, subject detection method, and program
JP6435904B2 (en) Output device, output control method, and program
JP6322964B2 (en) Imaging apparatus, imaging control method, and program
JP6354443B2 (en) Control device, control system, control method, and program
JP5740934B2 (en) Subject detection apparatus, subject detection method, and program
JP5644180B2 (en) Imaging apparatus, imaging method, and program
JP6314438B2 (en) Display control apparatus, display control method, and program
JP2011077850A (en) Image processing apparatus, image processing method, and program
JP6601062B2 (en) Imaging control apparatus, imaging control method, and program
JP2017200077A (en) Output device, output processing method and program
JP2011248156A (en) Image pickup device, image pickup method and program
JP2011114508A (en) Image selecting device, image selecting method, and program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190109

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190109

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20191105

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20191112

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200107

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200309

R150 Certificate of patent or registration of utility model

Ref document number: 6682874

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150