JP4412894B2 - Image extraction device - Google Patents
Image extraction device Download PDFInfo
- Publication number
- JP4412894B2 JP4412894B2 JP2002345258A JP2002345258A JP4412894B2 JP 4412894 B2 JP4412894 B2 JP 4412894B2 JP 2002345258 A JP2002345258 A JP 2002345258A JP 2002345258 A JP2002345258 A JP 2002345258A JP 4412894 B2 JP4412894 B2 JP 4412894B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- moving image
- motion
- motion amount
- amount
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Image Analysis (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、動画データを処理する画像処理装置及び動画データから希望する動画部分を抽出する画像抽出装置に関する。
【0002】
【従来の技術】
近年、ビデオカメラではもちろん、デジタルカメラでも動画を撮影、記録できるようになっているが、撮影された動画の中から、再生したい部分や静止画の分解写真にしてプリントしたりしたい部分を見つけたい場合がある。例えば、ゴルフクラブをスイングしている間やプールに飛び込むときの瞬間、運動会でわが子が走っている間などである。
【0003】
従来は、このような動画の希望する部分を見つけるために、撮影して記録した部分をユーザが初めから再生してビデオカメラ、デジタルカメラのLCDやパソコンのディスプレイを眼で見ながら希望動画部分を探す作業を行なっていたが、この方法は手間と時間がかかり、眼も疲労するので好ましくなかった。
【0004】
下記特許文献1は、撮影開始スイッチで動画撮影し、記録された動画から一定時間間隔で動画分解写真を抜き出し、プリントするもので、特に、動画の先頭から動画分解写真を一定の時間間隔で抽出する店頭プリント機(いわゆるプリクラ機)を開示している。これは、動画の最初から静止画の抽出を実施するので、例えば、ゴルフスイングの開始からのような効果的な分解写真は得られなかった。
【0005】
【特許文献1】
特開平10−115866号公報
【0006】
【発明が解決しようとする課題】
本発明は、上記の事情を考慮し、動画データから希望する動画部分を効果的に容易に抽出する画像抽出装置を提供することを目的とする。
【0007】
また、本発明は、動画における画像の動きを時間軸に応じた動き量を示すヒストグラムにする技術が従来存在していなかったことに鑑み、このような動き量をヒストグラムにする画像処理装置を提供することを目的とする。
【0008】
【課題を解決するための手段】
本発明の第1の態様に係る画像処理装置は、動画データを処理する画像処理装置であって、前記動画データを構成する動画フレーム間の画像差分を計算し、前記動画フレーム内の画像の動き量を計算する動き量計算手段と、横軸が時間軸、縦軸が動き量であって、前記動き量計算手段によって計算された前記動画フレーム内の画像の時間ごとの前記動き量を示すヒストグラムを作成するヒストグラム化手段と、前記動画データに基づく動画の表示と、前記ヒストグラムとを並べて表示する表示手段と、前記動画から切り出す動画フレームの時間的範囲の指定を受け付ける切り出し領域指定手段と、前記動画から前記切り出し領域に対応する時間的範囲の画像を切り出す切り出し手段とを備える。
【0011】
上記第1の態様によれば、動画の動きを時間軸に応じた動き量を示すヒストグラムにしたので、どの時間にどのくらいの動き量があるかをすぐに知ることができ、そのヒストグラムを参照して、動画の、ある時間的範囲の画像を切り出すことができる。
【0012】
本発明の第2の態様に係る画像抽出装置は、動画データのうち所望の動画部分を抽出する画像抽出装置であって、前記動画データを構成する動画フレーム間の画像差分を計算し、前記動画フレーム内の画像の動き量を計算する動き量計算手段と、予め記憶された、動き量の時間変化を示す動作パターンに対応した動き量テンプレートの中から動き量テンプレートを指定する指定手段と、前記動き量の動作パターンが、前記指定手段によって指定された前記動き量テンプレートと一致する一致部分を前記動画データの中から検出する一致検出手段と、前記一致検出手段によって検出された前記一致部分の動画画像の少なくとも一部を表示する表示手段と、前記一致検出手段によって検出された前記一致部分の動画画像を切り出す切り出し手段とを備える。
【0013】
上記第2の態様によれば、動画データの動画における画像の動き量を計算し、この動き量から動き量の動作パターンに対応した動き量テンプレートを指定し、前記動き量テンプレートと前記画像の動き量とが一致する部分を検出し、一致する部分に該当する動画の時間的範囲の画像の少なくとも一部を表示する。これによって、ユーザは、希望する動画部分を自動的に容易に見つけだすことができる。表示後、一致された動画画像を切り出すことができる。
【0014】
本発明の第3の態様に係る画像抽出装置は、上記第2の態様において、前記切り出し手段によって切り出された前記一致部分の動画画像から静止画化された分解画像を抽出する抽出手段を有する。
【0015】
上記第3の態様によれば、一致された動画画像を切り出すことによって、ユーザは希望する動画部分を得ることができ、その後、切り出した動画画像を各フレームに分解して抽出することができる。
【0016】
本発明の第4の態様に係る画像抽出装置は、上記第2又は第3の態様において、横軸が時間軸、縦軸が動き量であって、前記動き量計算手段によって計算された前記動画フレーム内の画像の時間ごとの前記動き量を示すヒストグラムを作成するヒストグラム化手段を更に備え、前記一致検出手段は、前記ヒストグラムと前記指定手段によって指定された動き量テンプレートとの間で前記動き量の動作パターンが一致する部分を検出する。
【0017】
上記第4の態様によれば、動画における画像の動き量を計算してヒストグラム化するので、ヒストグラムによって画像の動き量がよく把握できる。前記一致検出手段は当該ヒストグラムと前記指定された動き量テンプレートとが一致する部分を検出するので、画像の動き量の動作パターンを自動的に見つけることができる。
【0018】
本発明の第5の態様に係る画像抽出装置は、動画データのうち所望の動画部分を抽出する画像抽出装置であって、前記動画データを構成する動画フレーム間の画像差分を計算し、前記動画フレーム内の画像の動き量を計算する動き量計算手段と、予め記憶された、動き量の時間変化を示す動作パターンに対応した動き量テンプレートの中から動き量テンプレートを指定する指定手段と、前記動き量の動作パターンが、前記指定手段によって指定された前記動き量テンプレートと一致する一致部分を前記動画データの中から検出する一致検出手段と、前記一致検出手段によって検出された前記一致部分の動画画像の少なくとも一部を表示するとともに、時間軸に対して前記動き量を表示し、前記動き量を表示したうち、前記一致部分に対応する推奨動画切り出し領域を表示する表示手段と、前記一致検出手段によって検出された前記一致部分の動画画像のうち、切り出す部分を指示する切り出し指示手段と、前記切り出し指示手段によって指示された切り出す部分を切り出す切り出し手段とを備える。
【0019】
上記第5の態様によれば、動画データの動画における画像の動き量を計算し、この動き量から動き量の動作パターンに対応した動き量テンプレートを指定し、前記動き量テンプレートと前記画像の動き量とが一致する部分を検出し、一致する部分に該当する動画の時間的範囲の画像の少なくとも一部及び前記画像の動き量を時間軸に応じた動き量表示し、その動き量表示したうちの推奨動画切り出し領域を表示する。これによって、ユーザは、切り出すべき動画部分を切り出し指示手段によって指示し、当該指示によって切り出す部分が切り出し手段によって切り出される。
【0020】
本発明の第6の態様に係る画像抽出装置は、上記第5の態様において、前記切り出し手段によって切り出された前記一致部分の動画画像から静止画化された分解画像を抽出する抽出手段を有する。
【0021】
上記第6の態様によれば、動画画像を切り出すことによって、ユーザは希望する動画部分を得ることができ、その後、切り出した動画画像を各フレームに分解して抽出することができる。
【0022】
本発明の第7の態様に係る画像抽出装置は、上記第5又は第6の態様において、横軸が時間軸、縦軸が動き量であって、前記動き量計算手段によって計算された前記動画フレーム内の画像の時間ごとの前記動き量を示すヒストグラムを作成するヒストグラム化手段を更に備え、前記一致検出手段は、前記ヒストグラムと前記指定手段によって指定された動き量テンプレートとの間で前記動き量の動作パターンが一致する部分を検出する。
【0023】
上記第7の態様によれば、動画における画像の動き量を計算してヒストグラム化するので、ヒストグラムによって画像の動き量がユーザによく把握できる。前記一致検出手段は当該ヒストグラムと前記指定された動き量テンプレートとが一致する部分を検出するので、ユーザは一致した部分の表示を見ながら希望する画像部分を見つけることができる。
本発明の第8の態様に係る画像抽出装置は、上記第4又は第7の態様において、前記表示手段は、前記動画と前記ヒストグラムとを並べて表示する。
【0024】
【発明の実施の形態】
以下、添付図面に従って本発明の実施の形態を詳説する。
【0025】
図1は本実施の形態に係る画像抽出装置2の構成を示すブロック図である。
【0026】
記録媒体スロット4に記録媒体をセットすると、記録媒体コントローラ6が作動して記録媒体に格納されている動画データが読み込まれる。ROM14には、制御プログラムが格納されている。
【0027】
動画データが第1メモリ8から第2メモリ10へ流れていき、先に読み出された動画を構成するフレーム、すなわち、先の動画フレームが第2メモリ10に記憶され、後に読み出された動画を構成するフレーム、すなわち、後の動画フレームが第1メモリ8に記憶されると、両メモリ8、10からの各画像データが順次動き量計算部16に送られる。動き量計算部16では、先に読み出された動画フレームの画像、すなわち前の画像から、後に読み出された動画フレームの画像、すなわち後の画像への移行の間に生じた画像差分を計算して画像の動き量を計算する。
【0028】
計算された動き量のデータは、ヒストグラムメモリ18に送られ、ヒストグラムメモリ18で動き量が時間に応じたヒストグラム化される。上記後の動画フレーム、すなわち2番目の動画フレームと、次の動画フレーム、すなわち3番目の動画フレームとの画像差分値も次に計算され、ヒストグラム化される。
【0029】
こうして、順次動画フレーム内の画像の動き量がヒストグラム化され、そのヒストグラムが液晶ディスプレイ(LCD)26に表示される。
【0030】
図4は、動き量がヒストグラム化される流れを示したフローチャートである。図4において、まず、動き量計算部16中の動画フレームポインタが最初の動画フレームに合わせられ、fp =0となる(ステップ50)。
【0031】
次に、最初の画像(フレーム(fp ))から次の画像(フレーム(fp +1))へ動画フレームが移行したときに差分値が計算される(ステップ52)。計算された差分値、すなわち、動き量はヒストグラムメモリ18に保存される(ステップ54)。そして、動画フレームポインタfp がフレーム(fp +1)に合わせられる(ステップ56)。動画データが終了したかどうか判断され(ステップ58)、終了ならばこのフロー全体が終了し、終了していないならばステップ52に移行する。
【0032】
動き量計算部16、ヒストグラムメモリ18の作動は、CPU12によって制御され、LCD26は、CPU12の指示信号によって制御されるLCDコントローラ28によって駆動される。
【0033】
第2メモリ10を通過した動画フレームの画像は、LCD26に順次フレーム画として表示され、連続したフレーム画となって動画として見える。図2は、LCD26の表示内容を示す図であり、画像の動き量を示すヒストグラム及びフレーム画を表示している。フレーム画には、画像のヒストグラムに対応する、時間に応じた画像の動き(動画)が表示される。
【0034】
操作者であるユーザは、LCD26に表示されるヒストグラムを見て、時間につれての画像の動き量を把握する。動画が終了すると、その動画の時間に応じての動き量の全体がわかる。動画終了時点では、終了時点のフレームがLCD26に表示されている。
【0035】
図3は、動画の動き量を示すヒストグラムからその動き量の動作パターンに対応するテンプレートを選択して推奨切り出し領域を表示する流れを示した図である。
【0036】
ユーザは、その動画の動きヒストグラムにおける動き量から、当該動き量の動作パターンに対応した動き量テンプレートを指定する。テンプレートメモリ20には、いろいろな種類の動き量テンプレートが記憶されている。すなわち、テンプレートメモリ20は、動きのパターンをテンプレートとしてもっている。例えば、初めは遅く、後で速くなる動きのテンプレート、初めと終わりは遅いが真ん中で速いテンプレート、などである。ユーザはその中から動画のヒストグラムを見た上で、動画の動き量の動作パターンに対応する動きをするテンプレートをテンプレート指示・切換部22によって選択する。
【0037】
図3の動きヒストグラムを見ると、小さい山が初めの方にあり、大きい山が後のほうにある。スローな動きからだんだん速い動きになりさらにその速い動きが落ち着いてきてまたスローな動きに戻るまでの動作パターンの動画を入手したい場合には、そのような初めは遅く後半で急激な動きをするパターンのテンプレート(ここでは、「終わり最高速検出テンプレート」と名づける)を選択する。
【0038】
すると、ヒストグラムメモリ18の動きヒストグラムと終わり最高速検出テンプレートとの情報が比較部24に送られ、両者の動き量が一致する部分を比較部24が検出する。一致する部分の検出は、ファジイ理論を用いてもよいし、時間軸をずらして山の形を合わせた上で一致するかどうかパターンマッチングしてみるようにしてもよい。一致部分を検出したら、比較部24は、終わり最高速検出テンプレートの動き量に合う動きヒストグラムの部分を推奨切り出し領域として特定する。LCD26には、この推奨切り出し領域が表示されると共にその推奨切り出し領域の一部のフレームが表示される。比較部24とテンプレートメモリ20とは、CPU12からの制御によって作動する。
【0039】
上述の例では、終わり最高速検出テンプレートをユーザが選択した例を示したが、すぐにだんだん速い動きになりその速い動きが落ち着いてきてまたスローな動きが続く状態の動作パターンの動画を入手したい場合には、そのような初めは急激な動きをして後半で落ち着いた動きをするパターンのテンプレート(ここでは、「終わり静止検出テンプレート」と名づける)を選択する(図3参照)。この場合も、ヒストグラムメモリ18の動きヒストグラムと終わり静止検出テンプレートとの情報が比較部24に送られ、両者の動き量が一致する部分を比較部24が検出する。一致部分を検出したら、比較部24は、終わり静止検出テンプレートの動き量に合う動きヒストグラムの部分を推奨切り出し領域として特定する。LCD26には、この推奨切り出し領域が表示されると共にその推奨切り出し領域の一部のフレームが表示される。
【0040】
上記2例共、ユーザが、LCD26に表示された推奨切り出し領域を切り出したい場合には、切り出し指示部30によって切り出し指示を行い、切り出し部38において前記切り出し指示された時間範囲の動画データが切り出される。切り出し指示は、切り出す最初のフレームと最後のフレームとを指定する。
【0041】
なお、推奨切り出し領域で切り出したくない場合は、切り出し指示部30によるカーソル情報がLCD26に送られるので、そのカーソルを使用して切り出し領域をマニュアルで指定することができる。その指定も切り出し指示部30によって指定情報が生成され、切り出し部38に指定情報が送られてその指定情報の通りに切り出される。
【0042】
上記2例に共通する表示処理の流れを図5を用いて説明する。図5は、ヒストグラムを表示してから推奨切り出し領域表示をして切り出し領域が入力されるまでの流れを示したフローチャートである。
【0043】
まず、動画終了時点では、LCD26において、動画終了時点のフレーム及びその動画の動きヒストグラムが表示されている(ステップ62)。
【0044】
ヒストグラムメモリ18の動きヒストグラムとテンプレートメモリ20の選択したテンプレートとの情報が比較部24に送られ、両者の動き量が一致する部分を比較部24が検出する(ステップ64)。検出したら(ステップ66)、比較部24は、テンプレートの動き量に合う動きヒストグラムの部分を推奨切り出し領域として特定し、LCD26にはこの推奨切り出し領域が表示される(ステップ68)と共にその推奨切り出し領域の一部のフレームが表示される。その後、ユーザが、LCD26に表示された推奨切り出し領域を切り出したい場合には、切り出し指示部30によって切り出し指示を行う(ステップ70)。ステップ66で一致領域が存在しない場合には、テンプレートを選択し直すようLCD26に表示がでる(ステップ60)。
【0045】
ある時間範囲の動画データが切り出された後は、フレーム分解部32において切り出された動画データが各フレームに分解される。分解されたフレームは動画を構成する各静止画となっている。
【0046】
合成部34では、分解された静止画が所定の様式にしたがって合成される。所定の様式とは、分割画像、インデックス画像、多重露光画像等である。
【0047】
書き出し部36では、合成された画像がプリントされる。
【0048】
動画データ切り出し以降の流れを図6を用いて説明する。図6は、ある時間範囲の動画データ切り出しから分解画像プリントに至るまでの流れを示したフローチャートである。
【0049】
まず、切り出し指示部30によって切り出し指示が行われた後、切り出し部38において、指示を受けた切り出し箇所が正しいかどうか判断する(ステップ72)。正しい場合には切り出し対象の動画ファイルを開く(ステップ74)。切り出し指示を受けたフレームを動画ファイルから抽出する(ステップ76)。これによって、切り出し指示された時間範囲の動画データが切り出される。抽出されたフレームは所定様式に合成され(ステップ78)、合成された画像がプリントされる(ステップ80)。その後、ファイルを閉じ(ステップ82)、切り出し対象が他にないか判断し(ステップ84)、他にある場合はステップ72に戻り、ない場合は終了する。ステップ72で切り出し箇所が正しくない場合は、ステップ84に移行する。
【0050】
本形態によれば、ユーザが画像の動き量をヒストグラムを見ることにより、どの時間にどのくらいの動き量があるかをすぐに知ることができる。
【0051】
ユーザは、入手したい動画部分を見つけ出すのに動画データを最初から再生してじっくり見ていく作業をしなくて済み、希望動画部分を容易に見つけだすことができる。例えば、ゴルフのスイングする瞬間などは動きが速くなるのでヒストグラムの山が大きくなり、そのヒストグラムの山を見てスイングする瞬間を特定することができる。したがって、LCDを見ながら動画データからの切り出し部分を容易に指示して切り出すことができ、その後、切り出した動画画像を各フレームに分解して抽出した分解画像を得ることができる。ユーザは、抽出した分解画像に基づいて静止画の分割画像、インデックス画像、多重露光画像等を合成して作成することができる。先ほどの例であれば、ゴルフのスイングする瞬間の動きにおいて少しずつ動いていった状態の分割画像を容易に得ることができるので、ユーザがスイングフォームの研究をするのにちょうどよい。
【0052】
なお、上述の2例では、テンプレートを選択した後に推奨切り出し領域を表示した上でユーザが指示して、ある時間範囲の動画を切り出すようにしたが、テンプレート選択後、推奨切り出し領域を表示せずに自動的にヒストグラムの動き量とテンプレートとの動き量とが一致する領域を切り出すようにしてもよい。この場合、切り出す領域時間は予め決めておく。
【0053】
この場合、ユーザは、希望する動画部分を自動的に容易に見つけだすことができるので、希望する部分を見つけ出すのに動画データを最初から再生してじっくり見ていく作業をしなくて済み、自動的に当該希望部分を動画データから切り出すことができ、さらに、切り出した動画画像を各フレームに分解して、抽出した分解画像を得ることができる。ユーザは、抽出した分解画像に基づいて静止画の分割画像、インデックス画像、多重露光画像等を合成して作成することができる。
【0054】
【発明の効果】
本発明の第1の態様によれば、ヒストグラムを見ることにより、どの時間にどのくらいの動き量があるかをすぐに知ることができる。
【0055】
更に、本発明の第1の態様によれば、動画データの欲しい部分をすぐに見つけ出して切り出すことができる。
【0056】
本発明の第2の態様によれば、ユーザは、希望する動画部分を自動的に容易に見つけだすことができるので、希望する部分を見つけ出すのに動画データを最初から再生してじっくり見ていく作業をしなくて済み、自動的に当該希望部分を動画データから切り出すことができる。
【0057】
本発明の第3の態様によれば、ユーザは希望する動画部分を得ることができ、その後、切り出した動画画像を各フレームに分解して、抽出した分解画像を得ることができる。ユーザは、抽出した分解画像に基づいて静止画の分割画像、インデックス画像、多重露光画像等を合成して作成することができる。
【0058】
本発明の第4の態様によれば、ヒストグラムによって画像の動き量がよく把握でき、画像の動き量の動作パターンを自動的に見つけることができる。
【0059】
本発明の第5の態様によれば、ユーザは、希望する動画部分を容易に見つけだすことができるので、希望する部分を見つけ出すのに動画データを最初から再生してじっくり見ていく作業をしなくて済み、表示を見ながら動画データからの切り出し部分を指示して切り出すことができる。
【0060】
本発明の第6の態様によれば、ユーザは希望する動画部分を得ることができ、その後、切り出した動画画像を各フレームに分解して、抽出した分解画像を得ることができる。ユーザは、抽出した分解画像に基づいて静止画の分割画像、インデックス画像、多重露光画像等を合成して作成することができる。
【0061】
本発明の第7の態様によれば、画像の動き量がユーザによく把握でき、ユーザは一致した部分の表示を見ながら希望する画像部分を見つけることができる。
【図面の簡単な説明】
【図1】画像抽出装置の構成を示すブロック図。
【図2】LCDの表示内容を示す図。
【図3】動画の動き量を示すヒストグラムからその動き量の動作パターンに対応するテンプレートを選択して推奨切り出し領域を表示する流れを示した図。
【図4】 動き量がヒストグラム化される流れを示したフローチャート。
【図5】ヒストグラムを表示してから推奨切り出し領域表示をして切り出し領域が入力されるまでの流れを示したフローチャート。
【図6】ある時間範囲の動画データ切り出しから分解画像プリントに至るまでの流れを示したフローチャート。
【符号の説明】
2…画像抽出装置、8…第1メモリ、10…第2メモリ、12…CPU、16…動き量計算部、18…ヒストグラムメモリ、20…テンプレートメモリ、22…テンプレート指示・切換部、24…比較部、26…LCD、28…LCDコントローラ、30…切り出し指示部、32…フレーム分解部、34…合成部、36…書き出し部、38…切り出し部[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image processing device that processes moving image data and an image extraction device that extracts a desired moving image portion from the moving image data.
[0002]
[Prior art]
In recent years, video cameras and digital cameras can be used to shoot and record videos, but you want to find the part you want to play or the part that you want to print as a disassembled photo of a still image. There is a case. For example, while swinging a golf club, when jumping into a pool, or while a child is running at an athletic meet.
[0003]
Conventionally, in order to find a desired part of such a moving image, the user reproduces the recorded and recorded part from the beginning and looks at the video camera, the LCD of the digital camera or the display of the personal computer with his / her eyes. Although searching was performed, this method was not preferable because it took time and effort and the eyes were tired.
[0004]
The following
[0005]
[Patent Document 1]
JP-A-10-115866 [0006]
[Problems to be solved by the invention]
In view of the above circumstances, an object of the present invention is to provide an image extraction device that effectively and easily extracts a desired moving image portion from moving image data.
[0007]
In addition, the present invention provides an image processing apparatus that uses such a motion amount as a histogram in view of the fact that there has not been a conventional technique for converting a motion of an image in a moving image into a histogram indicating a motion amount according to a time axis. The purpose is to do.
[0008]
[Means for Solving the Problems]
An image processing apparatus according to a first aspect of the present invention is an image processing apparatus that processes moving image data, calculates an image difference between moving image frames constituting the moving image data, and moves an image in the moving image frame. A motion amount calculating means for calculating the amount, and a horizontal axis representing a time axis and a vertical axis representing a motion amount, and a histogram showing the amount of motion per time of an image in the moving image frame calculated by the motion amount calculating means Generating a histogram, displaying a moving image based on the moving image data, displaying means for displaying the histogram side by side, a cutout area specifying unit for receiving a specification of a temporal range of a moving image frame cut out from the moving image, A cutout unit that cuts out an image in a temporal range corresponding to the cutout region from the moving image.
[0011]
According to the first aspect , since the motion of the video is a histogram indicating the amount of motion corresponding to the time axis, it is possible to immediately know how much amount of motion exists at which time, and refer to the histogram. Thus, it is possible to cut out an image of a certain time range of the moving image.
[0012]
An image extraction apparatus according to a second aspect of the present invention is an image extraction apparatus that extracts a desired moving image portion of moving image data, calculates an image difference between moving image frames constituting the moving image data, and the moving image A motion amount calculating means for calculating a motion amount of an image in a frame; a specifying means for specifying a motion amount template from motion amount templates corresponding to motion patterns indicating temporal changes in the motion amount stored in advance ; A coincidence detecting means for detecting a matching portion in which the motion amount motion pattern matches the motion amount template specified by the specifying means from the moving image data, and a moving image of the matching portion detected by the match detecting means Display means for displaying at least a part of the image; and clipping means for cutting out the moving image of the matching portion detected by the matching detection means; Provided.
[0013]
According to the second aspect , the motion amount of the image in the moving image data is calculated, the motion amount template corresponding to the motion amount motion pattern is designated from the motion amount, and the motion amount template and the motion of the image are specified. A portion that matches the amount is detected, and at least a part of the image in the temporal range of the moving image corresponding to the matching portion is displayed. As a result, the user can easily find the desired moving image part automatically. After the display, the matched moving image can be cut out.
[0014]
An image extraction apparatus according to a third aspect of the present invention includes an extraction unit that extracts a decomposed image that has been converted into a still image from the moving image of the matching portion cut out by the cutout unit in the second aspect .
[0015]
According to the third aspect , by cutting out the matched moving image, the user can obtain a desired moving image portion, and thereafter, the extracted moving image can be decomposed into each frame and extracted.
[0016]
The image extraction device according to a fourth aspect of the present invention is the image extraction apparatus according to the second or third aspect, wherein the horizontal axis is a time axis, the vertical axis is a motion amount, and the motion amount calculation unit calculates the moving image. The image processing apparatus further includes a histogram forming unit that creates a histogram indicating the amount of movement of the image in the frame for each time, and the coincidence detecting unit includes the amount of motion between the histogram and the amount-of-motion template specified by the specifying unit. The part where the operation pattern matches is detected .
[0017]
According to the fourth aspect , since the motion amount of the image in the moving image is calculated and formed into a histogram, the motion amount of the image can be well understood by the histogram. Since the coincidence detecting means detects a portion where the histogram and the designated motion amount template coincide, it is possible to automatically find the motion pattern of the motion amount of the image.
[0018]
An image extraction device according to a fifth aspect of the present invention is an image extraction device that extracts a desired moving image portion of moving image data, calculates an image difference between moving image frames constituting the moving image data, and the moving image A motion amount calculating means for calculating a motion amount of an image in a frame; a specifying means for specifying a motion amount template from motion amount templates corresponding to motion patterns indicating temporal changes in the motion amount stored in advance ; A coincidence detecting means for detecting a matching portion in which the motion amount motion pattern matches the motion amount template specified by the specifying means from the moving image data, and a moving image of the matching portion detected by the match detecting means Display at least a part of the image, display the amount of movement with respect to the time axis, and display the amount of movement corresponding to the matching portion A display unit for displaying a recommended moving image cutout region, a cutout instruction unit for instructing a cutout portion of the moving image of the matching portion detected by the match detection unit, and a cutout portion instructed by the cutout instruction unit are cut out Clipping means.
[0019]
According to the fifth aspect , the motion amount of the image in the moving image of the motion image data is calculated, the motion amount template corresponding to the motion pattern of the motion amount is designated from the motion amount, and the motion amount template and the motion of the image are specified. A portion that matches the amount is detected, and at least a part of the image in the temporal range of the moving image corresponding to the matching portion and the amount of movement of the image are displayed according to the time axis, and the amount of movement is displayed. The recommended video cutout area is displayed. Accordingly, the user instructs the moving image portion to be cut out by the cutout instruction unit, and the portion cut out by the instruction is cut out by the cutout unit.
[0020]
Image extracting apparatus according to a sixth aspect of the present invention, in the embodiment of the fifth, having an extraction means for extracting a degradation images stationary fractionated from the moving image of the matching portion clipped by the clipping means.
[0021]
According to the sixth aspect , by cutting out a moving image, the user can obtain a desired moving image portion, and thereafter, the cut out moving image can be decomposed into each frame and extracted.
[0022]
The image extraction device according to a seventh aspect of the present invention is the image extraction apparatus according to the fifth or sixth aspect, wherein the horizontal axis is a time axis, the vertical axis is a motion amount, and the motion amount calculated by the motion amount calculation means. The image processing apparatus further includes a histogram forming unit that creates a histogram indicating the amount of movement of the image in the frame for each time, and the coincidence detecting unit includes the amount of motion between the histogram and the amount-of-motion template specified by the specifying unit. The part where the operation pattern matches is detected .
[0023]
According to the seventh aspect , since the amount of motion of the image in the moving image is calculated and formed into a histogram, the amount of motion of the image can be well understood by the user using the histogram. Since the coincidence detecting unit detects a portion where the histogram and the designated motion amount template coincide with each other, the user can find a desired image portion while viewing the display of the coincident portion.
In the image extraction device according to an eighth aspect of the present invention, in the fourth or seventh aspect, the display means displays the moving image and the histogram side by side.
[0024]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
[0025]
FIG. 1 is a block diagram showing a configuration of an
[0026]
When a recording medium is set in the recording medium slot 4, the recording medium controller 6 operates to read moving image data stored in the recording medium. The
[0027]
The moving image data flows from the
[0028]
The calculated motion amount data is sent to the
[0029]
In this way, the amount of motion of the images in the moving image frame is sequentially converted into a histogram, and the histogram is displayed on the liquid crystal display (LCD) 26.
[0030]
FIG. 4 is a flowchart showing a flow in which the amount of motion is histogrammed. In FIG. 4, first, the moving image frame pointer in the motion
[0031]
Next, the difference value is calculated when the moving image frame shifts from the first image (frame (fp)) to the next image (frame (fp + 1)) (step 52). The calculated difference value, that is, the amount of motion is stored in the histogram memory 18 (step 54). Then, the moving picture frame pointer fp is set to the frame (fp + 1) (step 56). It is determined whether or not the moving image data has been completed (step 58). If completed, the entire flow is completed, and if not completed, the process proceeds to step 52.
[0032]
The operations of the motion
[0033]
The moving image frames that have passed through the
[0034]
A user who is an operator looks at the histogram displayed on the
[0035]
FIG. 3 is a diagram showing a flow of selecting a template corresponding to the motion pattern of the motion amount from the histogram showing the motion amount of the moving image and displaying the recommended cutout region.
[0036]
The user designates a motion amount template corresponding to the motion pattern of the motion amount from the motion amount in the motion histogram of the moving image. The
[0037]
Looking at the motion histogram of FIG. 3, a small peak is at the beginning and a large peak is at the back. If you want to get a motion pattern movie from the slow movement to the fast movement, then the fast movement calms down and then back to the slow movement, such a pattern that starts late and suddenly moves late Template (named here as “end fastest detection template”).
[0038]
Then, information on the motion histogram in the
[0039]
In the above example, the user selected the end fastest detection template. However, I want to obtain a motion pattern movie in which the fast movement becomes immediate, the fast movement settles down, and the slow movement continues. In such a case, a template of a pattern that makes a sudden movement at the beginning and a calm movement in the second half (here, named “end stationary detection template”) is selected (see FIG. 3). Also in this case, the information of the motion histogram of the
[0040]
In both the above examples, when the user wants to cut out the recommended cutout area displayed on the
[0041]
When it is not desired to cut out with the recommended cutout area, the cursor information from the
[0042]
A flow of display processing common to the above two examples will be described with reference to FIG. FIG. 5 is a flowchart showing a flow from displaying a histogram to displaying a recommended cutout area and inputting a cutout area.
[0043]
First, at the end of the moving image, the frame at the end of the moving image and the motion histogram of the moving image are displayed on the LCD 26 (step 62).
[0044]
Information on the motion histogram in the
[0045]
After moving image data in a certain time range is cut out, the moving image data cut out in the
[0046]
In the combining
[0047]
In the
[0048]
The flow after moving image data cut out will be described with reference to FIG. FIG. 6 is a flowchart showing a flow from cutting out moving image data in a certain time range to disassembled image printing.
[0049]
First, after a cutout instruction is given by the
[0050]
According to this embodiment, the user can immediately know how much amount of motion is present at what time by viewing the histogram of the amount of motion of the image.
[0051]
The user does not have to perform the work of reproducing the moving image data from the beginning to find out the moving image portion that the user wants to obtain, and can easily find the desired moving image portion. For example, since a golf swing swings quickly, the peak of the histogram becomes large, and the moment of swing can be specified by looking at the peak of the histogram. Therefore, it is possible to easily instruct and cut out a cut-out portion from the moving image data while looking at the LCD, and then obtain a decomposed image extracted by dividing the cut-out moving image into frames. The user can synthesize a still image divided image, an index image, a multiple exposure image, and the like based on the extracted decomposed image. In the case of the previous example, it is possible to easily obtain a divided image that is moving little by little at the moment of golf swinging, so it is just right for the user to study the swing form.
[0052]
In the above-described two examples, the recommended cutout area is displayed after the template is selected, and the user instructs to cut out a moving image within a certain time range. However, after the template is selected, the recommended cutout area is not displayed. Alternatively, an area where the amount of movement of the histogram and the amount of movement of the template coincide with each other may be automatically cut out. In this case, the area time to be cut out is determined in advance.
[0053]
In this case, the user can easily find the desired video part automatically, so it is not necessary to play the video data from the beginning to find the desired part, In addition, the desired portion can be cut out from the moving image data, and further, the extracted moving image can be decomposed into each frame to obtain an extracted decomposed image. The user can synthesize a still image divided image, an index image, a multiple exposure image, and the like based on the extracted decomposed image.
[0054]
【The invention's effect】
According to the first aspect of the present invention , it is possible to immediately know how much amount of motion is present at which time by looking at the histogram.
[0055]
Furthermore, according to the first aspect of the present invention , it is possible to quickly find and cut out a desired portion of the moving image data.
[0056]
According to the second aspect of the present invention , the user can automatically find out the desired moving image part automatically, so that the user can reproduce the moving image data from the beginning to find out the desired part. The desired portion can be automatically cut out from the moving image data.
[0057]
According to the third aspect of the present invention , the user can obtain a desired moving image portion, and thereafter, the clipped moving image can be decomposed into each frame to obtain an extracted decomposed image. The user can synthesize a still image divided image, an index image, a multiple exposure image, and the like based on the extracted decomposed image.
[0058]
According to the fourth aspect of the present invention , the amount of motion of the image can be grasped well by the histogram, and the motion pattern of the amount of motion of the image can be automatically found.
[0059]
According to the fifth aspect of the present invention , the user can easily find the desired moving image portion, so that the user does not have to work to reproduce the moving image data from the beginning to find the desired portion. It is possible to specify and cut out a cut-out portion from the moving image data while viewing the display.
[0060]
According to the sixth aspect of the present invention , the user can obtain a desired moving image portion, and thereafter, the clipped moving image can be decomposed into each frame to obtain an extracted decomposed image. The user can synthesize a still image divided image, an index image, a multiple exposure image, and the like based on the extracted decomposed image.
[0061]
According to the seventh aspect of the present invention , the amount of motion of the image can be grasped well by the user, and the user can find the desired image portion while viewing the display of the matched portion.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration of an image extraction device.
FIG. 2 is a diagram showing display contents on an LCD.
FIG. 3 is a diagram showing a flow of displaying a recommended cutout region by selecting a template corresponding to an operation pattern of the motion amount from a histogram showing the motion amount of the moving image.
FIG. 4 is a flowchart showing a flow in which the amount of motion is histogrammed.
FIG. 5 is a flowchart showing a flow from displaying a histogram to displaying a recommended cutout area and inputting a cutout area.
FIG. 6 is a flowchart showing a flow from cutting out moving image data in a certain time range to disassembled image printing.
[Explanation of symbols]
DESCRIPTION OF
Claims (5)
前記動画データを構成する動画フレーム間の画像差分を計算し、前記動画フレーム内の画像の動き量を計算する動き量計算手段と、
予め記憶された、動き量の時間変化を示す動作パターンに対応した動き量テンプレートの中から動き量テンプレートを指定する指定手段と、
前記動き量の動作パターンが、前記指定手段によって指定された前記動き量テンプレートと一致する一致部分を前記動画データの中から検出する一致検出手段と、
前記一致検出手段によって検出された前記一致部分の動画画像の少なくとも一部を表示する表示手段と、
前記一致検出手段によって検出された前記一致部分の動画画像を切り出す切り出し手段と、
前記切り出し手段によって切り出された前記一致部分の動画画像から静止画化された分解画像を抽出する抽出手段と、
を備える画像抽出装置。An image extracting device for extracting a desired moving image portion from moving image data,
A motion amount calculating means for calculating an image difference between moving image frames constituting the moving image data, and calculating a motion amount of an image in the moving image frame;
Designating means for designating a motion amount template from motion amount templates corresponding to motion patterns indicating temporal changes in motion amount stored in advance;
A match detecting means for detecting a matching portion in which the motion pattern of the motion matches the motion quantity template designated by the designating means from the video data;
Display means for displaying at least a part of the moving image of the matching part detected by the matching detection means;
Clipping means for cutting out the moving image of the matching portion detected by the matching detection means;
Extraction means for extracting a decomposed image that has been converted into a still image from the moving image of the matching part cut out by the cut-out means;
An image extraction apparatus comprising:
前記一致検出手段は、前記ヒストグラムと前記指定手段によって指定された動き量テンプレートとの間で前記動き量の動作パターンが一致する部分を検出する請求項1記載の画像抽出装置。The horizontal axis is a time axis, the vertical axis is a motion amount, and further comprises a histogram forming means for creating a histogram indicating the motion amount of each image in the moving image frame calculated by the motion amount calculation means,
Said coincidence detecting means, the histogram in claim 1 Symbol placement image extraction apparatus for detecting a portion of the operation pattern of the motion amount is matched with the specified amount of motion template by said designating means.
前記動画データを構成する動画フレーム間の画像差分を計算し、前記動画フレーム内の画像の動き量を計算する動き量計算手段と、
予め記憶された、動き量の時間変化を示す動作パターンに対応した動き量テンプレートの中から動き量テンプレートを指定する指定手段と、
前記動き量の動作パターンが、前記指定手段によって指定された前記動き量テンプレートと一致する一致部分を前記動画データの中から検出する一致検出手段と、
前記一致検出手段によって検出された前記一致部分の動画画像の少なくとも一部を表示するとともに、時間軸に対して前記動き量を表示し、前記動き量を表示したうち、前記一致部分に対応する推奨動画切り出し領域を表示する表示手段と、
前記一致検出手段によって検出された前記一致部分の動画画像のうち、切り出す部分を指示する切り出し指示手段と、
前記切り出し指示手段によって指示された切り出す部分を切り出す切り出し手段と、
前記切り出し手段によって切り出された前記一致部分の動画画像から静止画化された分解画像を抽出する抽出手段と、
を備える画像抽出装置。An image extracting device for extracting a desired moving image portion from moving image data,
A motion amount calculating means for calculating an image difference between moving image frames constituting the moving image data, and calculating a motion amount of an image in the moving image frame;
Designating means for designating a motion amount template from motion amount templates corresponding to motion patterns indicating temporal changes in motion amount stored in advance;
A match detecting means for detecting a matching portion in which the motion pattern of the motion matches the motion quantity template designated by the designating means from the video data;
Displaying at least a part of the moving image of the matching part detected by the matching detection means, displaying the amount of movement with respect to a time axis, and displaying the amount of movement, the recommendation corresponding to the matching part Display means for displaying a video cutout area;
Of the moving image of the matching part detected by the matching detection means, a clipping instruction means for instructing a portion to be clipped,
Cutout means for cutting out the portion to be cut out instructed by the cutout instruction means;
Extraction means for extracting a decomposed image that has been converted into a still image from the moving image of the matching part cut out by the cut-out means;
An image extraction apparatus comprising:
前記一致検出手段は、前記ヒストグラムと前記指定手段によって指定された動き量テンプレートとの間で前記動き量の動作パターンが一致する部分を検出する請求項3記載の画像抽出装置。The horizontal axis is a time axis, the vertical axis is a motion amount, and further comprises a histogram forming means for creating a histogram indicating the motion amount of each image in the moving image frame calculated by the motion amount calculation means,
The image extraction device according to claim 3 , wherein the coincidence detecting unit detects a portion in which the motion amount motion pattern matches between the histogram and the motion amount template designated by the designation unit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002345258A JP4412894B2 (en) | 2002-11-28 | 2002-11-28 | Image extraction device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002345258A JP4412894B2 (en) | 2002-11-28 | 2002-11-28 | Image extraction device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2004178369A JP2004178369A (en) | 2004-06-24 |
| JP4412894B2 true JP4412894B2 (en) | 2010-02-10 |
Family
ID=32706477
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2002345258A Expired - Fee Related JP4412894B2 (en) | 2002-11-28 | 2002-11-28 | Image extraction device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4412894B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113316001A (en) * | 2021-05-25 | 2021-08-27 | 上海哔哩哔哩科技有限公司 | Video alignment method and device |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4802524B2 (en) * | 2005-03-14 | 2011-10-26 | ソニー株式会社 | Image processing apparatus, camera system, video system, network data system, and image processing method |
| JP4609711B2 (en) * | 2005-05-19 | 2011-01-12 | ソニー株式会社 | Image processing apparatus and method, and program |
| JP6078943B2 (en) | 2011-02-28 | 2017-02-15 | ソニー株式会社 | Image processing apparatus and method, and program |
| JP6436142B2 (en) * | 2011-02-28 | 2018-12-12 | ソニー株式会社 | Image processing apparatus and method, and program |
| JP6409366B2 (en) * | 2014-06-30 | 2018-10-24 | ブラザー工業株式会社 | Image processing apparatus and computer program |
-
2002
- 2002-11-28 JP JP2002345258A patent/JP4412894B2/en not_active Expired - Fee Related
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113316001A (en) * | 2021-05-25 | 2021-08-27 | 上海哔哩哔哩科技有限公司 | Video alignment method and device |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2004178369A (en) | 2004-06-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3108585B2 (en) | Video image print access method and system | |
| US7454707B2 (en) | Image editing method, image editing apparatus, program for implementing image editing method, and recording medium recording program | |
| JP4227241B2 (en) | Image processing apparatus and method | |
| JP4313818B2 (en) | Image processing method and system | |
| US8861889B2 (en) | Image processing device, method and program for extracting still image data from moving image data | |
| JP2005277733A (en) | Moving image processing device | |
| CN104821001A (en) | Content management system, management content generation method, management content reproduction method, program and recording medium | |
| US8311393B2 (en) | Image editing apparatus and method | |
| JP4412894B2 (en) | Image extraction device | |
| JP2011248727A (en) | Image processing apparatus and method, and program | |
| JPWO2005086478A1 (en) | Video data processing | |
| JP5036331B2 (en) | Image processing apparatus, image processing method, and program | |
| EP1571825B1 (en) | Generation, starting from a time sequence of source still image data, of a still image file including additional information for subsequent processing | |
| JP2002223405A (en) | Video recording and reproducing device, and video recording and reproducing program | |
| JP4630406B2 (en) | Imaging device and contrast display method for continuously captured images | |
| JP4467231B2 (en) | Image processing device | |
| JP3535736B2 (en) | Image sequence parallel display method and apparatus, and recording medium recording image sequence parallel display program | |
| JP2000196956A (en) | Device and method for synthesizing picture | |
| JP2008187256A (en) | Movie creating apparatus, method and program | |
| JP4317003B2 (en) | Highlight still image generation / distribution device | |
| JP2006146428A (en) | Device and program for setting edition condition of photo-movie | |
| JP3351463B2 (en) | Multi-eye digitized sign language learning device | |
| JP2002190009A (en) | Electronic album device and computer readable recording medium recording electronic album program | |
| JP2004080615A (en) | Image-editing apparatus | |
| JP4284447B2 (en) | Morphing camera and morphing method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050315 |
|
| A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20061208 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20071128 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20071204 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080204 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080226 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080417 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20080515 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080707 |
|
| A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20080826 |
|
| A912 | Re-examination (zenchi) completed and case transferred to appeal board |
Free format text: JAPANESE INTERMEDIATE CODE: A912 Effective date: 20080926 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20091117 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121127 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 Ref document number: 4412894 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121127 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131127 Year of fee payment: 4 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| LAPS | Cancellation because of no payment of annual fees |