JP2004096679A - Segment video image generating equipment, segment video image generating method and segment video image generating program - Google Patents

Segment video image generating equipment, segment video image generating method and segment video image generating program Download PDF

Info

Publication number
JP2004096679A
JP2004096679A JP2002258663A JP2002258663A JP2004096679A JP 2004096679 A JP2004096679 A JP 2004096679A JP 2002258663 A JP2002258663 A JP 2002258663A JP 2002258663 A JP2002258663 A JP 2002258663A JP 2004096679 A JP2004096679 A JP 2004096679A
Authority
JP
Japan
Prior art keywords
area
moving
region
motion vector
center point
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
JP2002258663A
Other languages
Japanese (ja)
Other versions
JP4163914B2 (en
Inventor
Nagahito Narita
成田 長人
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.)
Japan Broadcasting Corp
Original Assignee
Nippon Hoso Kyokai NHK
Japan Broadcasting Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Hoso Kyokai NHK, Japan Broadcasting Corp filed Critical Nippon Hoso Kyokai NHK
Priority to JP2002258663A priority Critical patent/JP4163914B2/en
Publication of JP2004096679A publication Critical patent/JP2004096679A/en
Application granted granted Critical
Publication of JP4163914B2 publication Critical patent/JP4163914B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Studio Circuits (AREA)
  • Image Analysis (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To enable prevention of redundancy of content of a video image of a generated segment video image, and set a segment region, without being restricted by aspect ratio when a segment video image is displayed. <P>SOLUTION: A segment region setting part 30 is provided with, as shown by the figure, a small region forming part 31, which divides a moving region into the horizontal and vertical directions and forms small regions; a moving small region setting part 32 for setting a moving small region for every small region; a moving small region central point/area calculation part 33 for calculating a central point and an area of the moving small region for every moving small region; a moving region central point calculation part 34, which calculates the central point of the moving region, by using the central point and the area of the moving small region; a relative moving vector mean rate/variance calculation part 35 for calculating the mean rate and variance of relative moving vector in the moving region; and a segment region coordinates calculating part 36, which calculates coordinates which are used for setting a segment region by using the central point of the moving region, and for the mean rate and the variance of the relative moving vector in the moving region. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、撮影された映像から一部の領域を抽出して切り出し映像を生成する切り出し映像生成装置、切り出し映像生成方法及び切り出し映像生成プログラムに関する。
【0002】
【従来の技術】
従来、一台のテレビカメラにより撮影された映像内容によって、他の複数のカメラを自動制御したり、複数のカメラからの映像出力を本線用に切り替えたりする技術が知られている(例えば、非特許文献1)。
【0003】
【非特許文献1】
井口ほか 「アクティブカメラの協調によるスポーツ映像撮影システム」 電子情報学会画像工学研究会技術研究報告 p37−44 2000年7月
【0004】
また、従来、撮影された映像から一部の映像を切り出して「切り出し映像」を生成する方法が知られている。この種の従来技術としては、本出願人により、特願2001−362908において、撮影された映像(以降、「撮影映像」という)から、一部の領域を抽出して切り出し映像を生成する「映像生成装置」が提案されている。この映像生成装置は、被写体の動き情報に基づいて撮影映像から映像を抽出する領域(以降、「切り出し領域」という)を設定して切り出し映像を生成するように構成されている。
【0005】
以下、特願2001−362908の映像生成装置における切り出し領域の設定方法について、図10及び図11を参照して説明する。参照する図面において、図10は、従来の切り出し領域の設定方法における動領域の設定方法を説明するための図である。また、図11は、従来の切り出し領域の設定方法における切り出し領域の設定方法を説明するための図である。
【0006】
切り出し領域を設定する際は、まず、撮影映像を「背景映像」と「この背景以外の映像(以降、『被写体映像』という)」とに分離する。次に、撮影映像を水平及び垂直方向にm×n画素(m,nは正の定数)の矩形領域に分割してマクロブロックを作成し、マクロブロック毎の「被写体の動きベクトル」と、「背景映像の動きベクトル」とを算出する。そして、マクロブロック毎に、被写体映像の動きベクトルと背景映像の動きベクトルとの差分ベクトルである「相対動きベクトル」を算出する。
【0007】
次に、相対動きベクトルの大きさが予め定められた閾値を超えるマクロブロックを「動マクロブロック」として判定し、この動マクロブロックを含んで構成される矩形領域を「動領域」として設定する。動領域は、図10に示すように、動領域を構成する動マクロブロックの水平及び垂直方向の座標が最小である座標A(Xmin,Ymin)と、最大である座標B(Xmax,Ymax)とで囲まれる矩形領域として設定される。
【0008】
そして、図11に示すように、動領域の水平方向に水平方向の幅がαである領域を左右対称に付け足し、動領域の垂直方向に垂直方向の高さがβである領域を上下対称に付け足して「切り出し領域」を設定する。切り出し領域は、切り出し領域を構成するマクロブロックの水平及び垂直方向の座標が最小である座標C(X´min,Y´min)と、最大である座標D(X´max,Y´max)とで囲まれる矩形領域として設定される。なお、X´min=Xmin−α、Y´min=Ymin−β、X´max=Xmax+α、Y´max=Ymax+βである。また、αとβは、被写体の動き情報である動領域における相対動きベクトルの平均値及び分散と、切り出し映像を表示する際のアスペクト比に基づいて決定される。
【0009】
【発明が解決しようとする課題】
しかしながら、前記映像生成装置における切り出し領域の設定方法では、動領域において被写体がどのように分布しているかを示す情報である「被写体の分布情報」については考慮していなかった。即ち、動領域における被写体の分布が均等な場合(図12(a)参照)と、不均等な場合(図12(b)参照)との区別をしていなかった。そのため、動領域における被写体の分布が不均等な場合(図12(b)参照)は、図13に示すように、切り出し領域には、その映像において被写体が多く分布している領域である「注目領域」(図中の破線で囲った部分)から外れた領域が多く含まれるため、切り出し映像の映像内容が冗長化するという問題があった。
【0010】
また、前記した切り出し領域の設定方法では、切り出し領域を設定する際に、その切り出し映像を表示する際のアスペクト比が必要であるため、前記アスペクト比が不明な場合は切り出し領域を設定することができないという問題があった。
【0011】
そこで、本発明は、生成された切り出し映像の映像内容の冗長化を防止することができ、かつ、切り出し映像を表示する際のアスペクト比が不明な場合でも切り出し領域を設定することができる切り出し映像生成装置、切り出し映像生成方法及び切り出し映像生成プログラムを提供することを目的とする。
【0012】
【課題を解決するための手段】
本発明は、前記目的を達成するために、以下のように構成した。
請求項1に記載の切り出し映像生成装置は、撮影された撮影映像から一部の領域を抽出して切り出し映像を生成する切り出し映像生成装置であって、前記撮影映像を背景映像とこの背景映像以外の映像である被写体映像とに分離し、前記撮影映像を水平及び垂直方向に所定の画素数の矩形領域に分割して作成したマクロブロック毎に、前記被写体映像の動きベクトルと前記背景映像の動きベクトルとの差分ベクトルである相対動きベクトルを算出する相対動きベクトル算出部と、前記相対動きベクトルの大きさが予め定められた閾値を超えるマクロブロックである動マクロブロックを含んで構成される領域を動領域として設定する動領域設定部と、前記動領域における前記相対動きベクトルの平均値及び分散に基づいて、前記撮影映像から抽出する切り出し領域を設定する切り出し領域設定部と、前記撮影映像から前記切り出し領域を抽出して切り出し映像を生成する切り出し領域抽出部とを備えて構成されることを特徴とする。
【0013】
請求項1に記載の切り出し映像生成装置によれば、相対動きベクトル算出部では、まず、撮影された「撮影映像」を、「背景映像」とこの背景映像以外の映像である「被写体映像」とに分離する。次に、撮影映像を水平及び垂直方向に所定の画素数の矩形領域に分割してマクロブロックを作成し、マクロブロック毎の「被写体の動きベクトル」と、「背景映像の動きベクトル」とを算出する。そして、マクロブロック毎に、被写体映像の動きベクトルと背景映像の動きベクトルとの差分ベクトルである相対動きベクトルを算出することができる。
また、動領域設定部では、相対動きベクトル算出部で算出された相対動きベクトルの大きさが予め定められた閾値を超えるマクロブロックである動マクロブロックを含んで構成される領域を動領域として設定することができる。
また、切り出し領域設定部では、動領域設定部で設定された動領域における相対動きベクトルの平均値及び分散を算出し、その算出結果に基づいて、撮影映像から抽出する切り出し領域を設定することができる。
そして、切り出し領域抽出部では、切り出し領域設定部で設定された切り出し領域を撮影映像から抽出して「切り出し映像」を生成することができる。
【0014】
以上のようにして、請求項1に記載の切り出し映像生成装置によれば、撮影映像から、被写体の動き情報である「動領域における相対動きベクトルの平均値及び分散」に基づいて一部の領域を抽出して切り出し映像を生成することができる。したがって、切り出し映像を表示する際のアスペクト比が不明な場合でも切り出し領域を設定することができる。
【0015】
また、請求項2に記載の切り出し映像生成装置は、請求項1に記載の切り出し映像生成装置において、前記切り出し領域設定部は、前記動領域を水平及び垂直方向に分割して小領域を作成する小領域作成部と、前記小領域毎に前記動マクロブロックを含んで構成される領域を動小領域として設定する動小領域設定部と、前記動小領域毎に動小領域の中心点及び面積を算出する動小領域中心点・面積算出部と、前記動小領域の中心点及び面積を用いて前記動領域の中心点を算出する動領域中心点算出部と、前記動領域における前記相対動きベクトルの平均値及び分散を算出する相対動きベクトル平均値・分散算出部と、前記動領域の中心点と、前記動領域における前記相対動きベクトルの平均値及び分散とを用いて、前記切り出し領域を設定するための座標を算出する切り出し領域座標算出部とを備えて構成されることを特徴とする。
【0016】
請求項2に記載の切り出し映像生成装置によれば、切り出し領域設定部では、以下のように動作する。
小領域作成部では、動領域設定部で設定された動領域を水平及び垂直方向に分割して小領域を作成することができる。また、動小領域設定部では、小領域作成部で作成された小領域毎に、動マクロブロックを含んで構成される領域を動小領域として設定することができる。
動小領域中心点・面積算出部では、動小領域設定部で設定された動小領域毎に、動小領域の中心点及び面積を算出することができる。また、動領域中心点算出部では、動小領域中心点・面積算出部で算出された動小領域の中心点及び面積を用いて動領域の中心点を算出することができる。
そして、相対動きベクトル平均値・分散算出部では、相対動きベクトル算出部で算出された各マクロブロックの相対動きベクトルから、動領域における相対動きベクトルの平均値及び分散を算出することができる。また、切り出し領域座標算出部では、動領域中心点算出部で算出された動領域の中心点と、相対動きベクトル平均値・分散算出部で算出された動領域における相対動きベクトルの平均値及び分散とを用いて、切り出し領域を設定するための座標を算出することができる。
【0017】
以上のようにして、請求項2に記載の切り出し映像生成装置によれば、被写体の動き情報である「動領域における相対動きベクトルの平均値及び分散」と、被写体の分布情報である「動領域の中心点」とに基づいて切り出し領域を設定することができる。したがって、動領域における被写体の分布が不均等な場合でも、被写体が多く分布している領域である「注目領域」を中心に切り出し領域を設定することができる。その結果、従来の切り出し領域設定方法に比べて、切り出し領域における注目領域から外れた領域を減少させることができるので、生成された切り出し映像の映像内容の冗長化を防止することができる。
【0018】
請求項3に記載の切り出し映像生成装置は、請求項1に記載の切り出し映像生成装置において、前記切り出し領域設定部は、前記動領域を水平及び垂直方向に分割して小領域を作成する小領域作成部と、前記小領域毎に前記動マクロブロックを含んで構成される領域を動小領域として設定する動小領域設定部と、前記動小領域毎に動小領域の中心点及び面積を算出する動小領域中心点・面積算出部と、前記動小領域の中心点及び面積を用いて前記動領域の中心点を算出する動領域中心点算出部と、前記動領域における背景と隣接する小領域の前記相対動きベクトルの平均値及び分散を算出する相対動きベクトル平均値・分散算出部と、前記動領域の中心点と、前記動領域における背景と隣接する小領域の前記相対動きベクトルの平均値及び分散とを用いて、前記切り出し領域を設定するための座標を算出する切り出し領域座標算出部とを備えて構成されることを特徴とする。
【0019】
請求項3に記載の切り出し映像生成装置によれば、切り出し領域設定部では、以下のように動作する。
小領域作成部では、動領域設定部で設定された動領域を水平及び垂直方向に分割して小領域を作成することができる。また、動小領域設定部では、小領域作成部で作成された小領域毎に、動マクロブロックを含んで構成される領域を動小領域として設定することができる。
動小領域中心点・面積算出部では、動小領設定部で設定された動小領域毎に、動小領域の中心点及び面積を算出することができる。また、動領域中心点算出部では、動小領域中心点・面積算出部で算出された動小領域の中心点及び面積を用いて動領域の中心点を算出することができる。
そして、相対動きベクトル平均値・分散算出部では、相対動きベクトル算出部で算出された各マクロブロックの相対動きベクトルから、動領域における背景と隣接する小領域の相対動きベクトルの平均値及び分散を算出することができる。また、切り出し領域座標算出部では、動領域中心点算出部で算出された動領域の中心点と、相対動きベクトル平均値・分散算出部で算出された動領域における背景と隣接する小領域の相対動きベクトルの平均値及び分散とを用いて、切り出し領域を設定するための座標を算出することができる。
【0020】
以上のようにして、請求項3に記載の切り出し映像生成装置によれば、被写体の動き情報である「動領域における背景と隣接する小領域の相対動きベクトルの平均値及び分散」と、被写体の分布情報である「動領域の中心点」とに基づいて切り出し領域を設定することができる。したがって、動領域における被写体の分布が不均等な場合でも、被写体が多く分布している領域である「注目領域」を中心に切り出し領域を設定することができる。その結果、従来の切り出し領域設定方法に比べて、切り出し領域における注目領域から外れた領域を減少させることができるので、生成された切り出し映像の映像内容の冗長化を防止することができる。
【0021】
請求項4に記載の切り出し映像生成方法は、撮影された撮影映像から一部の領域を抽出して切り出し映像を生成する切り出し映像生成方法であって、前記撮影映像を背景映像とこの背景映像以外の映像である被写体映像とに分離し、前記撮影映像を水平及び垂直方向に所定の画素数の矩形領域に分割して作成したマクロブロック毎に、前記被写体映像の動きベクトルと前記背景映像の動きベクトルとの差分ベクトルである相対動きベクトルを算出する相対動きベクトル算出ステップと、前記相対動きベクトルの大きさが予め定められた閾値を超えるマクロブロックである動マクロブロックを含んで構成される領域を動領域として設定する動領域設定ステップと、前記動領域における前記相対動きベクトルの平均値及び分散に基づいて、前記撮影映像から抽出する切り出し領域を設定する切り出し領域設定ステップと、前記撮影映像から前記切り出し領域を抽出して切り出し映像を生成する切り出し領域抽出ステップとを含むことを特徴とする。
【0022】
請求項4に記載の切り出し映像生成方法によれば、まず、相対動きベクトル算出ステップでは、撮影された「撮影映像」を、「背景映像」とこの背景映像以外の映像である「被写体映像」とに分離し、撮影映像を水平及び垂直方向に所定の画素数の矩形領域に分割して作成したマクロブロック毎に、被写体映像の動きベクトルと背景映像の動きベクトルとの差分ベクトルである相対動きベクトルを算出する。
続いて、動領域設定ステップでは、相対動きベクトル算出ステップで算出された相対動きベクトルの大きさが予め定められた閾値を超えるマクロブロックである動マクロブロックを含んで構成される領域を動領域として設定する。
次に、切り出し領域設定ステップでは、動領域設定ステップで設定された動領域における相対動きベクトルの平均値及び分散を算出し、その算出結果に撮影映像から抽出する切り出し領域を設定する。
そして、切り出し領域抽出ステップでは、切り出し領域設定ステップで設定された切り出し領域を撮影映像から抽出して「切り出し映像」を生成する。
【0023】
以上のようにして、請求項4に記載の切り出し映像生成方法によれば、撮影映像から、被写体の動き情報である「動領域における相対動きベクトルの平均値及び分散」に基づいて一部の領域を抽出して、切り出し映像を生成することができる。したがって、切り出し映像を表示する際のアスペクト比が不明な場合でも切り出し領域を設定することができる。
【0024】
また、請求項5に記載の切り出し映像生成方法は、請求項4に記載の切り出し映像生成方法において、前記切り出し領域設定ステップは、前記動領域を水平及び垂直方向に分割して小領域を作成する小領域作成ステップと、前記小領域毎に前記動マクロブロックを含んで構成される領域を動小領域として設定する動小領域設定ステップと、前記動小領域毎に動小領域の中心点及び面積を算出する動小領域中心点・面積算出ステップと、前記動小領域の中心点及び面積を用いて前記動領域の中心点を算出する動領域中心点算出ステップと、前記動領域における前記相対動きベクトルの平均値及び分散を算出する相対動きベクトル平均値・分散算出ステップと、前記動領域の中心点と、前記動領域における相対動きベクトルの平均値及び分散とを用いて、前記切り出し領域を設定するための座標を算出する切り出し領域座標算出ステップとを含むことを特徴とする。
【0025】
請求項5に記載の切り出し映像生成方法によれば、切り出し領域設定部ステップでは、以下のように処理が進む。
まず、小領域作成ステップでは、動領域設定ステップで設定された動領域を水平及び垂直方向に分割して小領域を作成する。そして、続く、動小領域設定ステップでは、小領域作成ステップで作成された小領域毎に、動マクロブロックを含んで構成される領域を動小領域として設定する。
続いて、動小領域中心点・面積算出ステップでは、動小領設定ステップで設定された動小領域毎に、動小領域の中心点及び面積を算出する。そして、続く、動領域中心点算出ステップでは、動小領域中心点・面積算出ステップで算出された動小領域の中心点及び面積を用いて動領域の中心点を算出する。
次に、相対動きベクトル平均値・分散算出ステップでは、相対動きベクトル算出ステップで算出された各マクロブロックの相対動きベクトルから、動領域における相対動きベクトルの平均値及び分散を算出する。そして、続く、切り出し領域座標算出ステップでは、動領域中心点算出ステップで算出された動領域の中心点と、相対動きベクトル平均値・分散算出ステップで算出された動領域における相対動きベクトルの平均値及び分散とを用いて、切り出し領域を設定するための座標を算出する。
【0026】
以上のようにして、請求項5に記載の切り出し映像生成方法によれば、被写体の動き情報である「動領域における相対動きベクトルの平均値及び分散」と、被写体の分布情報である「動領域の中心点」とに基づいて切り出し領域を設定することができる。したがって、動領域における被写体の分布が不均等な場合でも、被写体が多く分布している領域である「注目領域」を中心に切り出し領域を設定することができる。その結果、従来の切り出し領域設定方法に比べて、切り出し領域における注目領域から外れた領域を減少させることができるので、生成された切り出し映像の映像内容の冗長化を防止することができる。
【0027】
請求項6に記載の切り出し映像生成方法は、請求項4に記載の切り出し映像生成方法において、前記切り出し領域設定ステップは、前記動領域を水平及び垂直方向に分割して小領域を作成する小領域作成ステップと、前記小領域毎に前記動マクロブロックを含んで構成される領域を動小領域として設定する動小領域設定ステップと、前記動小領域毎に動小領域の中心点及び面積を算出する動小領域中心点・面積算出ステップと、前記動小領域の中心点及び面積を用いて前記動領域の中心点を算出する動領域中心点算出ステップと、前記動領域における背景と隣接する小領域の前記相対動きベクトルの平均値及び分散を算出する相対動きベクトル平均値・分散算出ステップと、前記動領域の中心点と、前記動領域における背景と隣接する小領域の前記相対動きベクトルの平均値及び分散とを用いて、前記切り出し領域を設定するための座標を算出する切り出し領域座標算出ステップとを含むことを特徴とする。
【0028】
請求項6に記載の切り出し映像生成方法によれば、切り出し領域設定部ステップでは、次のように処理が進む。
まず、小領域作成ステップでは、動領域設定ステップで設定された動領域を水平及び垂直方向に分割して小領域を作成する。そして、続く、動小領域設定ステップでは、小領域作成ステップで作成された小領域毎に、動マクロブロックを含んで構成される領域を動小領域として設定する。
続いて、動小領域中心点・面積算出ステップでは、動小領設定ステップで設定された動小領域毎に、動小領域の中心点及び面積を算出する。そして、続く、動領域中心点算出ステップでは、動小領域中心点・面積算出ステップで算出された動小領域の中心点及び面積を用いて動領域の中心点を算出する。
次に、相対動きベクトル平均値・分散算出ステップでは、相対動きベクトル算出ステップで算出された各マクロブロックの相対動きベクトルから、動領域における背景と隣接する小領域の相対動きベクトルの平均値及び分散を算出する。そして、続く、切り出し領域座標算出ステップでは、動領域中心点算出ステップで算出された動領域の中心点と、相対動きベクトル平均値・分散算出ステップで算出された動領域における背景と隣接する小領域の相対動きベクトルの平均値及び分散とを用いて、切り出し領域を設定するための座標を算出する。
【0029】
以上のようにして、請求項6に記載の切り出し映像生成方法によれば、被写体の動き情報である「動領域における背景と隣接する小領域の相対動きベクトルの平均値及び分散」と、被写体の分布情報である「動領域の中心点」とに基づいて切り出し領域を設定することができる。したがって、動領域における被写体の分布が不均等な場合でも、被写体が多く分布している領域である「注目領域」を中心に切り出し領域を設定することができる。その結果、従来の切り出し領域設定方法に比べて、切り出し領域における注目領域から外れた領域を減少させることができるので、生成された切り出し映像の映像内容の冗長化を防止することができる。
【0030】
請求項7に記載の切り出し映像生成プログラムは、撮影された撮影映像から一部の領域を抽出して切り出し映像を生成する装置を、以下に示す手段として機能させることを特徴とする。当該装置を機能させる手段は、前記撮影映像を背景映像とこの背景映像以外の映像である被写体映像とに分離し、前記撮影映像を水平及び垂直方向に所定の画素数の矩形領域に分割して作成したマクロブロック毎に、前記被写体映像の動きベクトルと前記背景映像の動きベクトルとの差分ベクトルである相対動きベクトルを算出する相対動きベクトル算出手段、前記相対動きベクトルの大きさが予め定められた閾値を超えるマクロブロックである動マクロブロックを含んで構成される領域を動領域として設定する動領域設定手段、前記動領域における前記相対動きベクトルの平均値及び分散に基づいて、前記撮影映像から抽出する切り出し領域を設定する切り出し領域設定手段、前記撮影映像から前記切り出し領域を抽出して切り出し映像を生成する切り出し領域抽出手段である。
【0031】
請求項7に記載の切り出し映像生成プログラムによれば、相対動きベクトル算出手段では、まず、撮影された「撮影映像」を、「背景映像」とこの背景映像以外の映像である「被写体映像」とに分離する。次に、撮影映像を水平及び垂直方向に所定の画素数の矩形領域に分割してマクロブロックを作成し、マクロブロック毎の「被写体の動きベクトル」と、「背景映像の動きベクトル」とを算出する。そして、マクロブロック毎に、被写体映像の動きベクトルと背景映像の動きベクトルとの差分ベクトルである相対動きベクトルを算出する。
また、動領域設定手段では、相対動きベクトル算出手段で算出された相対動きベクトル算出部で算出された相対動きベクトルの大きさが予め定められた閾値を超えるマクロブロックである動マクロブロックを含んで構成される領域を動領域として設定する。
また、切り出し領域設定手段では、動領域設定手段で設定された動領域における相対動きベクトルの平均値及び分散を算出し、その算出結果に基づいて、撮影映像から抽出する切り出し領域を設定する。
そして、切り出し領域抽出手段では、切り出し領域設定手段で設定された切り出し領域を撮影映像から抽出して「切り出し映像」を生成する。
【0032】
以上のようにして、請求項7に記載の切り出し映像生成プログラムによれば、撮影映像から、被写体の動き情報である「動領域における相対動きベクトルの平均値及び分散」に基づいて一部の領域を抽出して切り出し映像を生成することができる。したがって、切り出し映像を表示する際のアスペクト比が不明な場合でも切り出し領域を設定することができる。
【0033】
請求項8に記載の切り出し映像生成プログラムは、請求項7に記載の切り出し映像生成プログラムにおいて、前記切り出し領域設定手段は、前記動領域を水平及び垂直方向に分割して小領域を作成する小領域作成手段と、前記小領域毎に前記動マクロブロックを含んで構成される領域を動小領域として設定する動小領域設定手段と、前記動小領域毎に動小領域の中心点及び面積を算出する動小領域中心点・面積算出手段と、前記動小領域の中心点及び面積を用いて前記動領域の中心点を算出する動領域中心点算出手段と、前記動領域における前記相対動きベクトルの平均値及び分散を算出する相対動きベクトル平均値・分散算出手段と、前記動領域の中心点と、前記動領域における前記相対動きベクトルの平均値及び分散とを用いて、前記切り出し領域を設定するための座標を算出する切り出し領域座標算出手段とを備えていることを特徴とする。
【0034】
請求項8に記載の切り出し映像生成プログラムによれば、切り出し領域設定手段は、以下のように機能する。
小領域作成手段では、動領域設定手段で設定された動領域を水平及び垂直方向に分割して小領域を作成する。また、動小領域設定手段では、小領域作成手段で作成された小領域毎に、動マクロブロックを含んで構成される領域を動小領域として設定する。
動小領域中心点・面積算出手段では、動小領設定手段で設定された動小領域毎に、動小領域の中心点及び面積を算出する。また、動領域中心点算出手段では、動小領域中心点・面積算出手段で算出された動小領域の中心点及び面積を用いて動領域の中心点を算出する。
そして、相対動きベクトル平均値・分散算出手段では、相対動きベクトル算出手段で算出された各マクロブロックの相対動きベクトルから、動領域における相対動きベクトルの平均値及び分散を算出する。また、切り出し領域座標算出手段では、動領域中心点算出手段で算出された動領域の中心点と、相対動きベクトル平均値・分散算出手段で算出された動領域における相対動きベクトルの平均値及び分散とを用いて、切り出し領域を設定するための座標を算出する。
【0035】
以上のようにして、請求項8に記載の切り出し映像生成プログラムによれば、被写体の動き情報である「動領域における相対動きベクトルの平均値及び分散」と、被写体の分布情報である「動領域の中心点」とに基づいて切り出し領域を設定することができる。したがって、動領域における被写体の分布が不均等な場合でも、被写体が多く分布している領域である「注目領域」を中心に切り出し領域を設定することができる。その結果、従来の切り出し領域設定方法に比べて、切り出し領域における注目領域から外れた領域を減少させることができるので、生成された切り出し映像の映像内容の冗長化を防止することができる。
【0036】
請求項9に記載の切り出し映像生成プログラムは、請求項7に記載の切り出し映像生成プログラムにおいて、前記切り出し領域設定手段は、前記動領域を水平及び垂直方向に分割して小領域を作成する小領域作成手段と、前記小領域毎に前記動マクロブロックを含んで構成される領域を動小領域として設定する動小領域設定手段と、前記動小領域毎に動小領域の中心点及び面積を算出する動小領域中心点・面積算出手段と、前記動小領域の中心点及び面積を用いて前記動領域の中心点を算出する動領域中心点算出手段と、前記動領域における背景と隣接する小領域の前記相対動きベクトルの平均値及び分散を算出する相対動きベクトル平均値・分散算出手段と、前記動領域の中心点と、前記動領域における前記相対動きベクトルの平均値及び分散とを用いて、前記切り出し領域を設定するための座標を算出する切り出し領域座標算出手段とを備えていることを特徴とする。
【0037】
請求項9に記載の切り出し映像生成プログラムによれば、切り出し領域設定手段は、以下のように機能する。
小領域作成手段では、動領域設定手段で設定された動領域を水平及び垂直方向に分割して小領域を作成する。また、動小領域設定手段では、小領域作成手段で作成された小領域毎に、動マクロブロックを含んで構成される領域を動小領域として設定する。
動小領域中心点・面積算出手段では、動小領設定手段で設定された動小領域毎に、動小領域の中心点及び面積を算出する。また、動領域中心点算出手段では、動小領域中心点・面積算出手段で算出された動小領域の中心点及び面積を用いて動領域の中心点を算出する。
そして、相対動きベクトル平均値・分散算出手段では、相対動きベクトル算出手段で算出された各マクロブロックの相対動きベクトルから、動領域における背景と隣接する小領域の相対動きベクトルの平均値及び分散を算出する。また、切り出し領域座標算出手段では、動領域中心点算出手段で算出された動領域の中心点と、相対動きベクトル平均値・分散算出手段で算出された動領域における背景と隣接する小領域の相対動きベクトルの平均値及び分散とを用いて、切り出し領域を設定するための座標を算出する。
【0038】
以上のようにして、請求項9に記載の切り出し映像生成プログラムによれば、被写体の動き情報である「動領域における背景と隣接する小領域の平均値及び分散」と、被写体の分布情報である「動領域の中心点」とに基づいて切り出し領域を設定することができる。したがって、動領域における被写体の分布が不均等な場合でも、被写体が多く分布している領域である「注目領域」を中心に切り出し領域を設定することができる。その結果、従来の切り出し領域設定方法に比べて、切り出し領域における注目領域から外れた領域を減少させることができるので、生成された切り出し映像の映像内容の冗長化を防止することができる。
【0039】
【発明の実施の形態】
以下、本発明の一実施の形態を、適宜図面を参照して詳細に説明する。なお、本発明に係る切り出し映像生成装置、切り出し映像生成方法及び切り出し映像生成プログラムは、撮影された撮影映像から、被写体の動き情報である「動領域における相対動きベクトルの平均値及び分散」と、被写体の分布情報である「動領域の中心点」とに基づいて一部の領域を抽出して切り出し映像を生成するものである。
【0040】
初めに、本発明における「切り出し領域の設定方法」の概略について簡単に説明する。図3は、本発明における切り出し領域の設定方法を説明するための図である。なお、本発明における切り出し領域の設定方法では、撮影映像を水平及び垂直方向にm×n画素(m,nは正の定数)の矩形領域に分割して作成された「マクロブロック」を最小単位として扱う。
【0041】
本発明における切り出し領域の設定方法を図3を参照して説明すると、まず、各マクロブロックを、相対動きベクトルの大きさによって「動マクロブロック」と「静マクロブロック」とに分けた後、動マクロブロックを含んで構成される矩形領域を「動領域」として設定する。次に、動領域を水平及び垂直方向に所定の数に分割して「小領域」を作成し、小領域毎に、動マクロブロックを含んで構成される矩形領域を「動小領域」として設定する。そして、「各動小領域の中心点及び面積」を基に「動領域の中心点」を求め、動領域の中心点と「動領域における相対動きベクトルの平均値及び分散」とを用いて「切り出し領域」を設定する。
【0042】
(切り出し映像生成装置1の構成)
まず、切り出し映像生成装置1の構成を、主に図1を参照して説明する。参照する図面において、図1は、切り出し映像生成装置1の構成を示すブロック図である。
【0043】
図1に示すように、切り出し映像生成装置1は、相対動きベクトル算出部10、動領域設定部20、切り出し領域設定部30、信号遅延部40及び切り出し領域抽出部50を備えている。この切り出し映像生成装置1に入力された撮影映像(入力映像信号)は、2つに分岐されて相対動きベクトル算出部10と信号遅延部40とに入力される。以下、切り出し映像生成装置1の各部について詳細に説明する。
【0044】
相対動きベクトル算出部10は、撮影映像を背景映像とこの背景映像以外の映像である被写体映像とに分離し、撮影映像を水平及び垂直方向に所定の画素数の矩形領域に分割して作成したマクロブロック毎に、被写体映像の動きベクトルと背景映像の動きベクトルとの差分ベクトルである相対動きベクトルを算出する。
【0045】
詳しく説明すると、相対動きベクトル算出部10は、まず、各フレームについて、撮影映像を背景映像と被写体映像とに分離する。また、撮影映像を水平及び垂直方向にm×n画素(m,nは正の定数)の矩形領域に分割してマクロブロックを作成する。そして、マクロブロック毎に、被写体の動きベクトルを算出する。なお、動きベクトルとは、被写体の動きの大きさをベクトル量で表したものであり、例えば、フレーム間にブロックマッチング法を適用して算出することができる。
【0046】
次に、相対動きベクトル算出部10は、背景画像の動きベクトルを算出する。背景映像の動きベクトルは、例えば、文献(「動画像符号化におけるグローバル動き補償法」電子情報通信学会論文誌B‐I、Vol.J76‐B‐I、No.12、p.994−952、1993年12月,上倉一人 等)に開示されている方法や、文献(「A High‐Precision Camera Operation Parameter Measurement System and Its Application to Image Motion Inferring」IEEE Transacations on Broadcasting、Vol.47、No.1、p.46−55、March 2001,鄭文涛 等)に開示されている方法を用いて算出することができる。
【0047】
そして、相対動きベクトル算出部10は、マクロブロック毎に、被写体の動きベクトルと、背景映像の動きベクトルとの差分ベクトルである相対動きベクトルを算出する。なお、カメラが静止している場合は、背景映像の動きベクトルの大きさは一定となるので、被写体の動きベクトルがそのまま相対動きベクトルとなる。相対動きベクトル算出部10で算出された各マクロブロックの相対動きベクトルは、相対動きベクトル情報として動領域設定部20と切り出し領域設定部30とに入力される。
【0048】
動領域設定部20は、相対動きベクトル算出部10で算出された各マクロブロックの相対動きベクトルを基に、動領域を設定する。
【0049】
動領域の設定方法について詳しく説明すると、まず、相対動きベクトルの大きさが予め定められた閾値を超えるマクロブロックを「動マクロブロック」と判定し、この動マクロブロックを含んで構成される矩形領域を動領域として設定する。なお、動マクロブロック以外のマクロブロックは、「静マクロブロック」と判定される。
【0050】
そして、図11に示すように、動領域を構成する動マクロブロックの水平及び垂直方向の座標が最小である座標A(Xmin,Ymin)と、最大である座標B(Xmax,Ymax)を検出し、座標Aと座標Bとで囲まれる矩形領域を動領域として設定する。動領域設定部20で設定された動領域は、動領域情報として切り出し領域設定部30に入力される。
【0051】
切り出し領域設定部30は、動領域における相対動きベクトルの平均値及び分散に基づいて、撮影映像から抽出する切り出し領域を設定する。図2は、切り出し映像生成装置1における切り出し領域設定部30の構成を示すブロック図である。
【0052】
図1及び図2に示すように、切り出し領域設定部30は、小領域作成部31、動小領設定部32、動小領域中心点・面積算出部33、動領域中心点算出部34、相対動きベクトル平均値・分散算出部35及び切り出し領域座標算出部36を備えて構成されている。相対動きベクトル算出部10で算出された相対動きベクトル情報は、動小領設定部32と相対動きベクトル平均値・分散算出部35とに入力される。また、動領域設定部20で設定された動領域情報は、小領域作成部31と相対動きベクトル平均値・分散算出部35とに入力される。
【0053】
小領域作成部31は、動領域設定部20で設定された動領域を水平及び垂直方向に分割して小領域を作成する。図3の例では、動領域は水平及び分割方向にそれぞれ2分割されており、4つの小領域が作成されている。
【0054】
なお、動領域を分割する数は、動領域の画素数により決定される。例えば、動領域の水平及び垂直方向の画素数がそれぞれ256画素以上の場合は水平及び垂直方向にそれぞれ2分割、356画素以上の場合は水平及び垂直方向にそれぞれ3分割、512画素以上の場合は水平及び垂直方向にそれぞれ4分割というように、予め定めておくとよい。
【0055】
また、本実施の形態では、各小領域は、相対動きベクトル算出部10で作成されたマクロブロックを最小単位として構成されている。このように、各小領域を、相対動きベクトル算出部10で作成されたマクロブロックを最小単位として構成することにより、動小領設定部32において動マクロブロックを判定する手間を省くことができる。
【0056】
動小領設定部32は、小領域作成部31で作成された小領域毎に、動マクロブロックを含んで構成される矩形領域を動小領域として設定する。図4は、動小領域を設定する方法を説明するための図であり、(a)は一例を示し、(b)は他の例を示す。なお、図4(a),(b)の例では、小領域は、16個のマクロブロックMB1〜MB16から構成されている。
【0057】
図4(a)の例では、小領域を構成しているマクロブロックMB1〜MB16の内、マクロブロックMB1,MB2,MB3,MB5,MB6,MB9,MB10が動マクロブロックで、その他のマクロブロックMBが静マクロブロックである。そして、動マクロブロックMB1,MB2,MB3,MB5,MB6,MB9,MB10に、静マクロブロックMB7,MB11を加えた矩形領域が動小領域となる。
【0058】
また、図4(b)の例では、小領域を構成しているマクロブロックMB1〜MB16の内、マクロブロックMB1,MB2,MB3,MB4,MB7,MB8,MB9,MB10が動マクロブロックで、その他のマクロブロックMBが静マクロブロックである。そして、動マクロブロックMB1,MB2,MB3,MB4,MB7,MB8,MB9,MB10に、静マクロブロックMB5,MB6,MB11,MB12を加えた矩形領域が動小領域となる。
【0059】
動小領域中心点・面積算出部33は、動小領設定部32で設定された動小領域毎に、動小領域の中心点及び面積を算出する。図5は、図4(a)で設定された動小領域の中心点及び面積を算出する方法を説明するための図である。なお、ここでは、図4(a)に示す小領域は、小領域SD1に該当するものとする。
【0060】
動小領域の中心点Msdを求める際は、図5に示すように、動小領域を構成するマクロブロックMBの水平及び垂直方向の座標が最小である座標a(xmin,ymin)と、最大である座標b(xmax,ymax)とを検出する。そして、座標aと座標bとの中点である((xmin+xmax)/2,(ymin+ymax)/2)が動小領域の中心点Msdとなる。
【0061】
また、動小領域の面積Sは、動小領域に含まれる動マクロブロックの数とする。図4(a)の例では、動小領域内には動マクロブロックが7つ含まれているので、動小領域の面積Sは「7」となる。また、図4(b)の例では、動小領域内には動マクロブロックが8つ含まれているので、動小領域の面積Sは「8」となる。
【0062】
動領域中心点算出部34は、動小領域中心点・面積算出部33で算出された動小領域の中心点Msd及び面積Sを用いて動領域の中心点Mmdを算出する。動領域の中心点Mmd(Xmid,Ymid)は、下記の式(1)によって算出される。
【0063】
【数1】

Figure 2004096679
【0064】
図6は、動領域中心点算出部34で算出された動領域の中心点Mmdの一例を示す図である。図6に示すように、動領域中心点算出部34で算出された動領域の中心点Mmdの位置は、本来の動領域の中心M((Xmin+Xmax)/2,(Ymin+Ymax)/2)の位置とは異なっている。
【0065】
相対動きベクトル平均値・分散算出部35は、相対動きベクトル算出部10で算出された相対動きベクトル情報から、動領域における相対動きベクトルの平均値Avei(i=x,y)と、分散σi(i=x,y)とを算出する。
【0066】
そして、切り出し領域座標算出部36は、動領域中心点算出部34で算出された動領域の中心点Mmdと、相対動きベクトル平均値・分散算出部35で算出された動領域における相対動きベクトルの平均値Aveiと分散σiとを用いて、切り出し領域を設定するための座標を算出する。図7は、切り出し領域を設定する方法を説明するための図である。
【0067】
図7に示すように、動領域の水平方向に水平方向の幅がαである領域と水平方向の幅がβである領域を付け足し、動領域の垂直方向に垂直方向の高さがγである領域と垂直方向の高さがδである領域を付け足して切り出し領域を設定する。なお、水平方向の幅がαである領域は、水平方向における座標の小さい側に付け足され、水平方向の幅がβである領域は、水平方向における座標の大きい側に付け足される。また、垂直方向の高さがγである領域は、垂直方向における座標の小さい側に付け足され、垂直方向の高さがδである領域は、垂直方向における座標の大きい側に付け足される。
【0068】
この切り出し領域は、切り出し領域を構成するマクロブロックの水平及び垂直方向の座標が最小である座標C(X´min,Y´min)と、最大である座標D(X´max,Y´max)とで囲まれる矩形領域として設定される。なお、X´minはXmin−α、X´maxはXmax+β、Y´minはYmin−γ、Y´maxはYmax+δである。
【0069】
α、β、γ、δは、動領域中心点算出部34で算出された動領域の中心点Mmdと、相対動きベクトル平均値・分散算出部35で算出された動領域における相対動きベクトルの平均値Avei及び分散σiとを用いて算出される。具体的には、下記の式(2)〜(5)によって算出される。なお、下記の式(2)〜(9)において、f(σi)は図8に示す関数によって求められる。また、定数pは正の数とする。
【0070】
α、βは、下記の式(2)〜(5)によって算出される。
【0071】
Xmid≧(Xmin+Xmax)/2の場合
α=|Avex|×f(σx)……(2)
β=|Avex|×f(σx)+p×(Xmid−Xmin)/(Xmax−Xmid)……(3)
【0072】
Xmid<(Xmin+Xmax)/2の場合
α=|Avex|×f(σx)+p×(Xmax−Xmid)/(Xmid−Xmin)……(4)
β=|Avex|×f(σx)……(5)
【0073】
γ、δは、下記の式(6)〜(9)によって算出される。
【0074】
Ymid≧(Ymin+Ymax)/2の場合
γ=|Avey|×f(σy)……(6)
δ=|Avey|×f(σy)+p×(Ymid−Ymin)/(Ymax−Ymid)……(7)
【0075】
Ymid<(Ymin+Ymax)/2の場合
γ=|Avey|×f(σy)+p×(Ymax−Ymid)/(Ymid−Ymin)……(8)
δ=|Avey|×f(σy)……(9)
【0076】
また、特定のアスペクト比の切り出し映像を生成する場合は、α、β、γ、δは、下記の式(10)〜(17)によって算出される。なお、アスペクト比はa:bとする。また、下記の式(10)〜(25)において、f(σi)は図8に示す関数によって求められる。また、定数pは正の数とする。
【0077】
(Ymax−Ymin)/(Xmax−Xmin)≧b/aの場合は、α、β、γ、δは、下記の式(10)〜(17)によって算出される。
【0078】
Xmid≧(Xmin+Xmax)/2の場合
α=|Avex|×f(σx)……(10)
β=a/b(Ymax−Ymin+γ+δ)−(Xmax−Xmin+α)……(11)
【0079】
Xmid<(Xmin+Xmax)/2の場合
β=|Avex|×f(σx)…(12)
α=a/b(Ymax−Ymin+γ+δ)−(Xmax−Xmin+β)……(13)
【0080】
Ymid≧(Ymin+Ymax)/2の場合
γ=|Avey|×f(σy)……(14)
δ=b/a(Ymax−Ymin+α+β)−(Ymax−Ymin+γ)……(15)
【0081】
Ymid<(Ymin+Ymax)/2の場合
δ=|Avey|×f(σy)……(16)
γ=b/a(Ymax−Ymin+α+β)−(Ymax−Ymin+δ)……(17)
【0082】
(Ymax−Ymin)/(Xmax−Xmin)<b/aの場合は、α、β、γ、δは、下記の式(18)〜(25)によって算出される。
【0083】
Xmid≧(Xmin+Xmax)/2の場合
α=|Avex|×f(σx)……(18)
β=a/b(Ymax−Ymin+γ+δ)−(Xmax−Xmin+α)……(19)
【0084】
Xmid<(Xmin+Xmax)/2の場合
β=|Avex|×f(σx)…(20)
α=a/b(Ymax−Ymin+γ+δ)−(Xmax−Xmin+β)……(21)
【0085】
Ymid≧(Ymin+Ymax)/2の場合
γ=|Avey|×f(σy)……(22)
δ=b/a(Xmax−Xmin+α+β)−(Ymax−Ymin+γ)……(23)
【0086】
Ymid<(Ymin+Ymax)/2の場合
δ=|Avey|×f(σy)……(24)
γ=b/a(Xmax−Xmin+α+β)−(Ymax−Ymin+δ)……(25)
【0087】
切り出し領域座標算出部36で算出された座標C(X´min,Y´min)と座標D(X´max,Y´max)は、切り出し座標情報として切り出し領域抽出部50に入力される。
【0088】
なお、必要があれば、伝送フォーマットにおける画素数やモニターの画素数等に合わせて、切り出し領域抽出部50で生成された切り出し映像の画素数を変換することもできる。画素数を変換する方法としては、例えば、標本化周波数変換手法を用いることができる。
【0089】
図1に戻って説明を続けると、信号遅延部40は、切り出し領域抽出部50に切り出し領域座標算出部36で算出された切り出し領域情報が入力されるまで、切り出し領域抽出部50に入力される入力映像信号を遅延させ、切り出し領域抽出部50における切り出し領域情報と入力映像信号との同時性を確保する。
【0090】
そして、切り出し領域抽出部50では、切り出し領域設定部30から入力された切り出し座標情報に基づいて、撮影映像から切り出し領域を抽出して切り出し映像を生成する。切り出し領域抽出部50で生成された切り出し映像は、出力映像信号として外部に出力される。
【0091】
(切り出し映像生成装置1の動作)
次に、図9に示す切り出し映像生成装置1の動作を示すフローチャートを参照して切り出し映像生成装置1の動作を説明する。
【0092】
まず、相対動きベクトル算出部10(図1参照)では、撮影映像を背景映像とこの背景映像以外の映像である被写体映像とに分離し、撮影映像を水平及び垂直方向に所定の画素数の矩形領域に分割して作成したマクロブロック毎に、被写体映像の動きベクトルと背景映像の動きベクトルとの差分ベクトルである相対動きベクトルを算出する(S1)。
【0093】
続いて、動領域設定部20(図1参照)では、相対動きベクトル算出部10で算出された各マクロブロックの相対動きベクトルを基に、動領域(図3参照)を設定する(S2)。
【0094】
次に、切り出し領域設定部30(図1参照)では、動領域における相対動きベクトルの平均値及び分散に基づいて、撮影映像から抽出する切り出し領域(図7参照)を設定する(S3)。
【0095】
切り出し領域設定部30内での動作を詳しく説明すると、まず、小領域作成部31(図2参照)では、動領域設定部20で設定された動領域を水平及び垂直方向に分割して小領域(図3参照)を作成する(S31)。
【0096】
次に、動小領設定部32(図2参照)では、小領域作成部31で作成された小領域毎に、動マクロブロックを含んで構成される矩形領域を動小領域(図4(a),(b)参照)として設定する(S32)。
【0097】
動小領域中心点・面積算出部33(図2参照)では、動小領設定部32で設定された動小領域毎に、動小領域の中心点Msd(図5参照)及び面積Sを算出する(S33)。
【0098】
動領域中心点算出部34(図2参照)では、動小領域中心点・面積算出部33で算出された動小領域の中心点Msd及び面積Sを用いて動領域の中心点Mmd(図6参照)を算出する(S34)。
【0099】
相対動きベクトル平均値・分散算出部35(図2参照)では、相対動きベクトル算出部10で算出された相対動きベクトル情報から、動領域における相対動きベクトルの平均値Avei(i=x,y)と、分散σi(i=x,y)とを算出する(S35)。
【0100】
切り出し領域座標算出部36(図2参照)では、動領域中心点算出部34で算出された動領域の中心点Mmdと、相対動きベクトル平均値・分散算出部35で算出された動領域における相対動きベクトルの平均値Aveiと分散σiとを用いて、切り出し領域を設定するための座標(図7参照)を算出する(S36)。
【0101】
そして、切り出し領域抽出部50では、切り出し領域設定部30から入力された切り出し領域情報に基づいて、撮影映像から切り出し領域を抽出して切り出し映像を生成する(S4)。
【0102】
以上のようにして、本発明に係る切り出し映像生成装置及び切り出し映像生成方法によれば、撮影映像から、被写体の動き情報である「動領域における相対動きベクトルの平均値及び分散」と、被写体の分布情報である「動領域の中心点」とに基づいて一部の領域を抽出して切り出し映像を生成することができる。このようにして生成された切り出し映像は、被写体の分布情報に基づいて切り出し領域が設定されているので、映像内容は冗長にならない。また、本発明に係る切り出し映像生成装置及び切り出し映像生成方法では、切り出し領域をアスペクト比によって制約されることなくを設定することができる。
【0103】
以上、本発明の一実施の形態について説明したが、本発明はこれにのみ限定されるものではなく、本発明の技術的思想に基づく限りにおいて、種々の変形が可能である。
【0104】
例えば、切り出し映像生成装置1の各構成を各過程(ステップ)と見なした、切り出し映像生成方法と捉えることも可能である。この場合、切り出し映像生成方法は、切り出し映像生成装置と同様の効果が得られる。また、切り出し映像生成装置1の各構成を一般的なコンピュータ言語で記述したプログラム(切り出し映像生成プログラム)と見なすことも可能である。この場合も、切り出し映像生成プログラムは、切り出し映像生成装置1と同様の効果が得られる。
【0105】
また、本実施の形態では、切り出し領域設定部30の切り出し領域座標算出部36において、切り出し領域を設定するための座標を算出する際は、動領域の中心点Mmdと、動領域における相対動きベクトルの平均値Avei及び分散σiとを用いてα、β、γ、δを算出しているが、動領域における相対動きベクトルの平均値Avei及び分散σiの代わりに、動領域内の背景と隣接する小領域における相対動きベクトルの平均値Avesji(i=x,y)及び分散σsji(i=x,y)を用いてα、β、γ、δを算出することもできる。なお、sjは小領域の番号で、j=1〜m×nとする。
【0106】
具体的には、動領域の水平方向における座標が小さい側において、背景と隣接する小領域同士で相対動きベクトルの平均値Avesjxを比較し、平均値Avesjxの最小値「Min Avesjx」を求める。同様に、動領域の水平方向における座標が大きい側において、背景と隣接する小領域同士で相対動きベクトルの平均値Avesjxを比較し、平均値Avesjxの最大値「Max Avesjx」を求める。
【0107】
また、動領域の垂直方向における座標が小さい側において、背景と隣接する小領域同士で相対動きベクトルの平均値Avesjyを比較し、平均値Avesjyの最小値「Min Avesjy」を求める。同様に、動領域の垂直方向における座標が大きい側において、背景と隣接する小領域同士で相対動きベクトルの平均値Avesjyを比較し、平均値Avesjyの最大値「Max Avesjy」を求める。
【0108】
そして、α、β、γ、δは、下記の式(26)〜(33)によって算出される。なお、下記の式(26)〜(33)において、f(σsji)は図8に示す関数によって求められる。また、定数pは1.0とする。
【0109】
α、βは、下記の式(26)〜(29)によって算出される。
【0110】
Xmid≧(Xmin+Xmax)/2の場合
α=|Min Avesjx|×f(σsjx)……(26)
β=|Min Avesjx|×f(σx)+p×(Xmid−Xmin)/(Xmax−Xmid)……(27)
【0111】
Xmid<(Xmin+Xmax)/2の場合
α=|Min Avesjx|×f(σsjx)+p×(Xmax−Xmid)/(Xmid−Xmin)……(28)
β=|Min Avesjx|×f(σsjx)……(29)
【0112】
γ、δは、下記の式(30)〜(33)によって算出される。
【0113】
Ymid≧(Ymin+Ymax)/2の場合
γ=|Min Avesjy|×f(σsjy)……(30)
δ=|Min Avesjy|×f(σsjy)+p×(Ymid−Ymin)/(Ymax−Ymid)……(31)
【0114】
Ymid<(Ymin+Ymax)/2の場合
γ=|Min Avesjy|×f(σsjy)+p×(Ymax−Ymid)/(Ymid−Ymin)……(32)
δ=|Min Avesjy|×f(σsjy)……(33)
【0115】
このようにα、β、γ、δを算出することで、本実施の形態と同様に、切り出し領域設定部30の切り出し領域座標算出部36において切り出し領域を設定することができる。
【0116】
【発明の効果】
請求項1、請求項4及び請求項7に記載の発明によれば、撮影映像から、被写体の動き情報である「動領域における相対動きベクトルの平均値及び分散」に基づいて一部の領域を抽出して切り出し映像を生成することができる。したがって、切り出し領域をアスペクト比によって制約されることなく設定することができる。
【0117】
請求項2、請求項5及び請求項8に記載の発明によれば、被写体の動き情報である「動領域における相対動きベクトルの平均値及び分散」と、被写体の分布情報である「動領域の中心点」とに基づいて切り出し領域を設定することができる。したがって、被写体の分布情報に基づいて切り出し領域を設定することができるので、生成された切り出し映像の映像内容の冗長化を防止することができる。また、切り出し領域をアスペクト比によって制約されることなく設定することができる。
【0118】
請求項3、請求項6及び請求項9に記載の発明によれば、被写体の動き情報である「動領域内における背景と隣接する小領域の相対動きベクトルの平均値及び分散」と、被写体の分布情報である「動領域の中心点」とに基づいて切り出し領域を設定することができる。したがって、被写体の分布情報に基づいて切り出し領域を設定することができるので、生成された切り出し映像の映像内容の冗長化を防止することができる。また、切り出し領域をアスペクト比によって制約されることなくを設定することができる。
【図面の簡単な説明】
【図1】本発明の一実施の形態に係る映像生成装置1の構成を示すブロック図である。
【図2】切り出し映像生成装置1における切り出し領域設定部30の構成を示すブロック図である。
【図3】本発明における切り出し領域の設定方法を説明するための図である。
【図4】動小領域を設定する方法を説明するための図であり、(a)は一例を示し、(b)は他の例を示す。
【図5】図4(a)で設定された動小領域の中心点及び面積を算出する方法を説明するための図である。
【図6】動領域中心点算出部34で算出された動領域の中心点Mmdの一例を示す図である。
【図7】撮影映像における切り出し領域を示す図である。
【図8】切り出し領域を設定するための座標を算出する際に用いる関数を示す図である。
【図9】切り出し映像生成装置1の動作を示すフローチャートである。
【図10】従来の切り出し領域の設定方法における動領域の設定方法を説明するための図である。
【図11】従来の切り出し領域の設定方法における切り出し領域の設定方法を説明するための図である。
【図12】動領域における被写体の分布を示す図であり、(a)は動領域における被写体の分布が均等な場合を示し、(b)は動領域における被写体の分布が不均等な場合を示す。
【図13】動領域における被写体の分布が不均等な場合の切り出し領域を示す図である。
【符号の説明】
1  切り出し映像生成装置
10 相対動きベクトル算出部
20 動領域設定部
30 切り出し領域設定部
31 小領域作成部
32 動小領設定部
33 動小領域中心点・面積算出部
34 動領域中心点算出部
35 相対動きベクトル平均値・分散算出部
36 切り出し領域座標算出部
40 信号遅延部
50 切り出し領域抽出部[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a cut-out video generation device, a cut-out video generation method, and a cut-out video generation program that extract a partial area from a captured video to generate a cut-out video.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, there is known a technology of automatically controlling a plurality of other cameras or switching video outputs from a plurality of cameras to a main line based on video content captured by one television camera (for example, Patent Document 1).
[0003]
[Non-patent document 1]
Iguchi et al. "Sports Video Shooting System with Active Camera Cooperation" IEICE Technical Report on Image Engineering, pp. 37-44, July 2000
[0004]
Conventionally, there has been known a method of cutting out a part of an image from a captured image to generate a “cutout image”. As a conventional technique of this kind, the present applicant has disclosed in Japanese Patent Application No. 2001-362908 a method of extracting a partial area from a captured video (hereinafter, referred to as a “photographed video”) to generate a clipped video. A generator has been proposed. This video generation device is configured to generate a cutout video by setting an area for extracting a video from a shot video (hereinafter, referred to as a “cutout area”) based on motion information of a subject.
[0005]
Hereinafter, a method of setting a cutout region in the video generation device of Japanese Patent Application No. 2001-362908 will be described with reference to FIGS. 10 and 11. In the drawings to be referred to, FIG. 10 is a diagram for explaining a method of setting a moving area in a conventional method of setting a cut-out area. FIG. 11 is a diagram for explaining a method for setting a cutout area in a conventional method for setting a cutout area.
[0006]
When setting the cut-out area, first, the captured video is separated into a “background video” and a “video other than the background (hereinafter,“ subject video ”)”. Next, the captured video is divided into rectangular areas of m × n pixels (m and n are positive constants) in the horizontal and vertical directions to create macroblocks, and “movement vectors of the subject” for each macroblock and “ And the motion vector of the background image. " Then, a “relative motion vector” which is a difference vector between the motion vector of the subject video and the motion vector of the background video is calculated for each macroblock.
[0007]
Next, a macroblock in which the magnitude of the relative motion vector exceeds a predetermined threshold is determined as a “moving macroblock”, and a rectangular area including the moving macroblock is set as a “moving area”. As shown in FIG. 10, the moving area includes coordinates A (Xmin, Ymin) at which the horizontal and vertical coordinates of the moving macroblocks constituting the moving area are minimum, and coordinates B (Xmax, Ymax) at which the coordinates are maximum. Is set as a rectangular area surrounded by.
[0008]
Then, as shown in FIG. 11, an area having a horizontal width α in the horizontal direction of the moving area is symmetrically added, and an area having a vertical height β in the vertical direction of the moving area is vertically symmetrical. Set the “cutout area” by adding. The cutout area includes a coordinate C (X'min, Y'min) at which the horizontal and vertical coordinates of the macroblocks constituting the cutout area are the minimum, a coordinate D (X'max, Y'max) at the maximum, and Is set as a rectangular area surrounded by. Note that X′min = Xmin−α, Y′min = Ymin−β, X′max = Xmax + α, and Y′max = Ymax + β. Further, α and β are determined based on the average value and variance of the relative motion vector in the moving area, which is the motion information of the subject, and the aspect ratio when displaying the cut-out video.
[0009]
[Problems to be solved by the invention]
However, in the method of setting the cutout region in the video generation device, “distribution information of the subject” that is information indicating how the subject is distributed in the moving region is not considered. That is, no distinction is made between a case where the distribution of subjects in the moving area is uniform (see FIG. 12A) and a case where the distribution of subjects is uneven (see FIG. 12B). Therefore, when the distribution of the subjects in the moving region is not uniform (see FIG. 12B), as shown in FIG. 13, the cutout region is a region where many subjects are distributed in the video. Since many areas deviated from "areas" (portions surrounded by broken lines in the figure) are included, there is a problem that the video content of the cut-out video becomes redundant.
[0010]
In the above-described method of setting the cutout area, when setting the cutout area, an aspect ratio when displaying the cutout video is necessary.If the aspect ratio is unknown, the cutout area may be set. There was a problem that could not be done.
[0011]
Therefore, the present invention provides a clipped image which can prevent the video content of the generated clipped image from being redundant, and can set a clipped area even when the aspect ratio when displaying the clipped video is unknown. It is an object of the present invention to provide a generation device, a cutout video generation method, and a cutout video generation program.
[0012]
[Means for Solving the Problems]
The present invention is configured as described below to achieve the above object.
The clipped image generation device according to claim 1, wherein the cutout image generation device is configured to extract a partial region from a captured captured image to generate a cutout image, wherein the captured image is a background image and other than the background image. The motion vector of the subject video and the motion of the background video are divided into macroblocks created by dividing the captured video into rectangular regions having a predetermined number of pixels in the horizontal and vertical directions. A relative motion vector calculation unit that calculates a relative motion vector that is a difference vector from a vector, and a region that includes a moving macroblock that is a macroblock whose magnitude of the relative motion vector exceeds a predetermined threshold. A moving region setting unit configured to set a moving region; and extracting from the captured video based on an average value and a variance of the relative motion vector in the moving region. A cutout region setting unit that sets a clip region that, characterized in that it is constituted by a cutout region extracting unit for generating a video cut by extracting the cutout region from the captured image.
[0013]
According to the clipped video generation device of the first aspect, the relative motion vector calculation unit firstly converts the captured “photographed video” into a “background video” and a “subject video” other than the background video. To separate. Next, the captured video is divided into rectangular regions of a predetermined number of pixels in the horizontal and vertical directions to create macroblocks, and a “motion vector of the subject” and a “motion vector of the background video” are calculated for each macroblock. I do. Then, a relative motion vector that is a difference vector between the motion vector of the subject video and the motion vector of the background video can be calculated for each macroblock.
The moving region setting unit sets a region including a moving macro block, which is a macro block whose magnitude of the relative motion vector calculated by the relative motion vector calculating unit exceeds a predetermined threshold, as a moving region. can do.
Further, the cutout region setting unit calculates an average value and a variance of relative motion vectors in the moving region set by the moving region setting unit, and sets a cutout region to be extracted from the captured video based on the calculation result. it can.
Then, the cut-out area extracting unit can extract the cut-out area set by the cut-out area setting unit from the captured video to generate a “cut-out video”.
[0014]
As described above, according to the clipped image generation device of the first aspect, based on the “moving area average value and variance of relative motion vectors” that are motion information of a subject, a partial area is obtained from the captured video. Can be extracted to generate a clipped image. Therefore, even when the aspect ratio at the time of displaying the cutout video is unknown, the cutout area can be set.
[0015]
According to a second aspect of the present invention, there is provided the cutout image generating apparatus according to the first aspect, wherein the cutout area setting unit divides the moving area in the horizontal and vertical directions to create a small area. A small area creating unit, a moving small area setting unit that sets an area including the moving macroblock for each of the small areas as a moving small area, a center point and an area of the moving small area for each of the moving small areas A moving area center point / area calculating unit for calculating the moving area, a moving area center point calculating unit for calculating the moving area center point using the center point and the area of the moving small area, and the relative movement in the moving area. A relative motion vector average / variance calculation unit for calculating an average value and a variance of a vector, a center point of the moving area, and the average value and the variance of the relative motion vector in the moving area, and Set Characterized in that it is constituted by a cutout region coordinate calculating unit for calculating the coordinates for.
[0016]
According to the cutout image generation device of the second aspect, the cutout region setting unit operates as follows.
The small area creating unit can create a small area by dividing the moving area set by the moving area setting unit in the horizontal and vertical directions. Further, the moving small area setting unit can set, as a moving small area, an area including a moving macroblock for each small area created by the small area creating unit.
The moving small area center point / area calculating unit can calculate the center point and the area of the moving small area for each moving small area set by the moving small area setting unit. In addition, the moving area center point calculation unit can calculate the center point of the moving area using the center point and area of the moving small area calculated by the moving small area center point / area calculation unit.
Then, the relative motion vector average / variance calculation unit can calculate the average value and the variance of the relative motion vector in the moving region from the relative motion vector of each macroblock calculated by the relative motion vector calculation unit. Further, the cut-out area coordinate calculating unit calculates the center value of the moving area calculated by the moving area center point calculating unit and the average value and variance of the relative motion vector in the moving area calculated by the relative motion vector average / variance calculating unit. The coordinates for setting the cutout area can be calculated using
[0017]
As described above, according to the clipped image generation device of the second aspect, “the average value and the variance of the relative motion vector in the moving area” that is the motion information of the subject and “the moving area that is the distribution information of the subject” Can be set based on the “center point of”. Therefore, even when the distribution of the subjects in the moving region is not uniform, it is possible to set the cut-out region around the “attention region”, which is a region where many subjects are distributed. As a result, it is possible to reduce the area of the cut-out area that deviates from the attention area as compared with the conventional cut-out area setting method, so that it is possible to prevent the video content of the generated cut-out video from becoming redundant.
[0018]
The cut-out image generation device according to claim 3, wherein the cut-out region setting unit is configured to divide the moving region in the horizontal and vertical directions to create a small region. A creating unit, a moving small region setting unit that sets a region including the moving macro block for each of the small regions as a moving small region, and calculating a center point and an area of the moving small region for each of the moving small regions A moving area center point / area calculating unit, a moving area center point calculating unit that calculates a center point of the moving area using the center point and area of the moving small area, and a small area adjacent to the background in the moving area. A relative motion vector average / variance calculation unit for calculating an average value and a variance of the relative motion vector of the region, a center point of the moving region, and an average of the relative motion vectors of a small region adjacent to a background in the moving region Value and minutes With bets, characterized in that it is constituted by a cutout region coordinate calculating unit for calculating the coordinates for setting the cut-out region.
[0019]
According to the cut-out image generation device of the third aspect, the cut-out area setting unit operates as follows.
The small area creating unit can create a small area by dividing the moving area set by the moving area setting unit in the horizontal and vertical directions. Further, the moving small area setting unit can set, as a moving small area, an area including a moving macroblock for each small area created by the small area creating unit.
The moving small area center point / area calculating unit can calculate the center point and the area of the moving small area for each moving small area set by the moving small area setting unit. In addition, the moving area center point calculation unit can calculate the center point of the moving area using the center point and area of the moving small area calculated by the moving small area center point / area calculation unit.
Then, the relative motion vector average value / variance calculation unit calculates the average value and the variance of the relative motion vector of the small area adjacent to the background in the moving area from the relative motion vector of each macroblock calculated by the relative motion vector calculation unit. Can be calculated. Also, the cut-out area coordinate calculation unit calculates a relative point between the center of the motion area calculated by the motion area center point calculation unit and the small area adjacent to the background in the motion area calculated by the relative motion vector average / variance calculation unit. Using the average value and the variance of the motion vectors, the coordinates for setting the cutout area can be calculated.
[0020]
As described above, according to the clipped image generation device of the third aspect, the motion information of the subject “the average value and the variance of the relative motion vector of the small area adjacent to the background in the moving area” The cutout area can be set based on the distribution information “the center point of the moving area”. Therefore, even when the distribution of the subjects in the moving region is not uniform, it is possible to set the cut-out region around the “attention region”, which is a region where many subjects are distributed. As a result, it is possible to reduce the area of the cut-out area that deviates from the attention area as compared with the conventional cut-out area setting method, so that it is possible to prevent the video content of the generated cut-out video from becoming redundant.
[0021]
5. The clipped video generation method according to claim 4, wherein the clipped video is generated by extracting a partial area from a captured video and generating a clipped video, wherein the captured video is a background video and a video other than the background video. The motion vector of the subject video and the motion of the background video are divided into macroblocks created by dividing the captured video into rectangular regions having a predetermined number of pixels in the horizontal and vertical directions. A relative motion vector calculating step of calculating a relative motion vector that is a difference vector with respect to a vector, and a region including a moving macroblock that is a macroblock whose magnitude of the relative motion vector exceeds a predetermined threshold. A moving region setting step of setting the moving region as a moving region, and the imaging based on an average value and a variance of the relative motion vector in the moving region. Characterized in that it comprises a cut-out region setting step of setting a clipping region to be extracted from the image, and a cutout region extraction step of generating an image cut by extracting the cutout region from the captured image.
[0022]
According to the clipped image generation method of the fourth aspect, first, in the relative motion vector calculation step, the captured “photographed video” is defined as “background video” and “subject video” other than the background video. And a relative motion vector which is a difference vector between a motion vector of the subject video and a motion vector of the background video for each macroblock created by dividing the captured video into rectangular regions having a predetermined number of pixels in the horizontal and vertical directions. Is calculated.
Subsequently, in the moving region setting step, a region including a moving macroblock in which the magnitude of the relative motion vector calculated in the relative motion vector calculating step exceeds a predetermined threshold is defined as a moving region. Set.
Next, in the cutout region setting step, the average value and the variance of the relative motion vector in the moving region set in the moving region setting step are calculated, and the cutout region to be extracted from the captured video is set in the calculation result.
Then, in the cutout region extracting step, the cutout region set in the cutout region setting step is extracted from the captured video to generate a “cutout video”.
[0023]
As described above, according to the clipped image generation method of the fourth aspect, based on the “average and variance of the relative motion vector in the moving area” which is the motion information of the subject, the partial area is obtained from the captured image. Can be extracted to generate a clipped image. Therefore, even when the aspect ratio at the time of displaying the cutout video is unknown, the cutout area can be set.
[0024]
In the clipped image generation method according to a fifth aspect, in the clipped image generation method according to the fourth aspect, the cutout area setting step divides the moving area in the horizontal and vertical directions to create a small area. A small area creating step, a moving small area setting step of setting an area including the moving macro block for each small area as a moving small area, a center point and an area of the moving small area for each moving small area Calculating the center point and area of the moving small area, calculating the center point of the moving area using the center point and the area of the moving small area, and calculating the relative point in the moving area. A relative motion vector average / variance calculation step of calculating an average value and a variance of a vector, a center point of the moving area, and an average value and a variance of a relative motion vector in the moving area. There are, characterized in that it comprises a cut-out area coordinate calculation step of calculating coordinates for setting the cut-out region.
[0025]
According to the clipped image generation method of the fifth aspect, in the clipped region setting unit step, the processing proceeds as follows.
First, in the small area creating step, the moving area set in the moving area setting step is divided in the horizontal and vertical directions to create a small area. In the subsequent moving small area setting step, an area including a moving macro block is set as a moving small area for each small area created in the small area creating step.
Subsequently, in the moving small area center point / area calculating step, the center point and the area of the moving small area are calculated for each moving small area set in the moving small area setting step. Then, in the moving area center point calculation step, the center point of the moving area is calculated using the center point and area of the moving small area calculated in the moving small area center point / area calculation step.
Next, in the relative motion vector average value / variance calculation step, the average value and the variance of the relative motion vector in the moving area are calculated from the relative motion vector of each macroblock calculated in the relative motion vector calculation step. Then, in the following cutout area coordinate calculation step, the center point of the moving area calculated in the moving area center point calculation step and the average value of the relative motion vector in the moving area calculated in the relative motion vector average / variance calculation step And the variance are used to calculate coordinates for setting the cutout area.
[0026]
As described above, according to the clipped image generation method of the fifth aspect, “the average value and the variance of the relative motion vector in the moving area” as the motion information of the subject and “the moving area as the distribution information of the subject” Can be set based on the “center point of”. Therefore, even when the distribution of the subjects in the moving region is not uniform, it is possible to set the cut-out region around the “attention region”, which is a region where many subjects are distributed. As a result, it is possible to reduce the area of the cut-out area that deviates from the attention area as compared with the conventional cut-out area setting method, so that it is possible to prevent the video content of the generated cut-out video from becoming redundant.
[0027]
7. The cutout image generation method according to claim 6, wherein in the cutout image generation method according to claim 4, the cutout area setting step includes dividing the moving area in the horizontal and vertical directions to create a small area. A creating step, a moving small area setting step of setting a region including the moving macro block for each of the small areas as a moving small area, and calculating a center point and an area of the moving small area for each of the moving small areas Moving small area center point / area calculating step, a moving area center point calculating step of calculating a center point of the moving area using the center point and area of the moving small area, and a small area adjacent to the background in the moving area. Calculating a mean value and a variance of the relative motion vector of the region, calculating a mean value and a variance of the relative motion vector; a central point of the moving region; By using the mean value and variance of the relative motion vector, characterized in that it comprises a cut-out area coordinate calculation step of calculating coordinates for setting the cut-out region.
[0028]
According to the clipped image generation method of the sixth aspect, the processing proceeds as follows in the clipped region setting unit step.
First, in the small area creating step, the moving area set in the moving area setting step is divided in the horizontal and vertical directions to create a small area. In the subsequent moving small area setting step, an area including a moving macro block is set as a moving small area for each small area created in the small area creating step.
Subsequently, in the moving small area center point / area calculating step, the center point and the area of the moving small area are calculated for each moving small area set in the moving small area setting step. Then, in the moving area center point calculation step, the center point of the moving area is calculated using the center point and area of the moving small area calculated in the moving small area center point / area calculation step.
Next, in the relative motion vector average value / variance calculating step, the average value and the variance of the relative motion vector of the small area adjacent to the background in the moving area are calculated from the relative motion vector of each macroblock calculated in the relative motion vector calculating step. Is calculated. Then, in the following cutout area coordinate calculation step, the center point of the motion area calculated in the motion area center point calculation step and the small area adjacent to the background in the motion area calculated in the relative motion vector average / variance calculation step Using the average value and the variance of the relative motion vector, the coordinates for setting the cutout area are calculated.
[0029]
As described above, according to the clipped image generation method according to the sixth aspect, “the average value and the variance of the relative motion vector of the small area adjacent to the background in the moving area”, which is the motion information of the subject, The cutout area can be set based on the distribution information “the center point of the moving area”. Therefore, even when the distribution of the subjects in the moving region is not uniform, it is possible to set the cut-out region around the “attention region”, which is a region where many subjects are distributed. As a result, it is possible to reduce the area of the cut-out area that deviates from the attention area as compared with the conventional cut-out area setting method, so that it is possible to prevent the video content of the generated cut-out video from becoming redundant.
[0030]
According to a seventh aspect of the present invention, there is provided a cut-out video generation program that causes a device that extracts a partial area from a shot video to generate a cut-out video to function as the following means. Means for causing the device to function, the captured video is separated into a background video and a subject video that is a video other than the background video, and the captured video is divided into a rectangular area having a predetermined number of pixels in the horizontal and vertical directions. For each created macroblock, relative motion vector calculation means for calculating a relative motion vector that is a difference vector between the motion vector of the subject video and the motion vector of the background video, and the magnitude of the relative motion vector is predetermined. Moving region setting means for setting a region including a moving macroblock which is a macroblock exceeding a threshold value as a moving region; extracting from the photographed video based on an average value and a variance of the relative motion vectors in the moving region. A cutout area setting unit that sets a cutout area to be extracted, and extracts the cutout area from the captured video and A cutout region extraction means for forming.
[0031]
According to the clipped video generation program of the present invention, the relative motion vector calculating means firstly converts the captured “photographed video” into a “background video” and a “subject video” other than the background video. To separate. Next, the captured video is divided into rectangular regions of a predetermined number of pixels in the horizontal and vertical directions to create macroblocks, and a “motion vector of the subject” and a “motion vector of the background video” are calculated for each macroblock. I do. Then, a relative motion vector, which is a difference vector between the motion vector of the subject video and the motion vector of the background video, is calculated for each macroblock.
Further, the moving area setting means includes a moving macro block in which the magnitude of the relative motion vector calculated by the relative motion vector calculating section calculated by the relative motion vector calculating means exceeds a predetermined threshold. The configured region is set as a moving region.
The cutout area setting means calculates an average value and a variance of relative motion vectors in the moving area set by the moving area setting means, and sets a cutout area to be extracted from the captured video based on the calculation result.
Then, the cut-out area extracting means extracts the cut-out area set by the cut-out area setting means from the photographed video to generate a “cut-out video”.
[0032]
As described above, according to the clipped image generation program of the seventh aspect, based on the “moving area average value and variance of relative motion vectors”, which is motion information of the subject, a partial area is obtained from the captured video. Can be extracted to generate a clipped image. Therefore, even when the aspect ratio at the time of displaying the cutout video is unknown, the cutout area can be set.
[0033]
A cut-out image generation program according to claim 8, wherein the cut-out area setting means is configured to divide the moving area in the horizontal and vertical directions to create a small area. Creating means, moving small area setting means for setting an area including the moving macroblock for each of the small areas as a moving small area, calculating a center point and an area of the moving small area for each of the moving small areas Moving area center point / area calculating means, moving area center point calculating means for calculating the center point of the moving area using the center point and area of the moving small area, and calculating the relative motion vector of the moving area in the moving area. The relative motion vector average / variance calculating means for calculating an average value and a variance, a center point of the moving area, and the average value and the variance of the relative motion vector in the moving area are used for the cutoff. Characterized in that it comprises a cut-out area coordinate calculation means for calculating coordinates for setting the area out.
[0034]
According to the clipping image generation program of the eighth aspect, the clipping region setting means functions as follows.
The small area creating means creates a small area by dividing the moving area set by the moving area setting means in the horizontal and vertical directions. The moving small area setting means sets, as a moving small area, an area including a moving macroblock for each small area created by the small area creating means.
The moving small area center point / area calculating means calculates the center point and the area of the moving small area for each moving small area set by the moving small area setting means. The moving area center point calculating means calculates the moving area center point using the moving small area center point and area calculated by the moving small area center point / area calculating means.
Then, the relative motion vector average / variance calculating means calculates the average value and the variance of the relative motion vector in the moving area from the relative motion vector of each macro block calculated by the relative motion vector calculating means. Also, the cut-out area coordinate calculating means calculates the center value of the moving area calculated by the moving area center point calculating means and the average value and the variance of the relative motion vector in the moving area calculated by the relative motion vector average / variance calculating means. Are used to calculate coordinates for setting the cut-out area.
[0035]
As described above, according to the clipped image generation program according to the eighth aspect, “the average value and the variance of the relative motion vector in the moving area” that is the motion information of the subject and “the moving area that is the distribution information of the subject” Can be set based on the “center point of”. Therefore, even when the distribution of the subjects in the moving region is not uniform, it is possible to set the cut-out region around the “attention region”, which is a region where many subjects are distributed. As a result, it is possible to reduce the area of the cut-out area that deviates from the attention area as compared with the conventional cut-out area setting method, so that it is possible to prevent the video content of the generated cut-out video from becoming redundant.
[0036]
The cut-out image generation program according to claim 9, wherein the cut-out area setting means is configured to divide the moving area in the horizontal and vertical directions to create a small area. Creating means, moving small area setting means for setting an area including the moving macroblock for each of the small areas as a moving small area, calculating a center point and an area of the moving small area for each of the moving small areas Moving area center point / area calculating means, moving area center point calculating means for calculating the center point of the moving area using the center point and area of the moving small area, and a small area adjacent to the background in the moving area. A relative motion vector average value / variance calculation means for calculating an average value and a variance of the relative motion vector of the region, a center point of the moving region, and an average value of the relative motion vector in the moving region and Using distributed bets, characterized in that it comprises a cut-out area coordinate calculation means for calculating coordinates for setting the cut-out region.
[0037]
According to the cutout image generation program of the ninth aspect, the cutout area setting means functions as follows.
The small area creating means creates a small area by dividing the moving area set by the moving area setting means in the horizontal and vertical directions. The moving small area setting means sets, as a moving small area, an area including a moving macroblock for each small area created by the small area creating means.
The moving small area center point / area calculating means calculates the center point and the area of the moving small area for each moving small area set by the moving small area setting means. The moving area center point calculating means calculates the moving area center point using the moving small area center point and area calculated by the moving small area center point / area calculating means.
The relative motion vector average value / variance calculation means calculates the average value and the variance of the relative motion vector of the small area adjacent to the background in the moving area from the relative motion vector of each macroblock calculated by the relative motion vector calculation means. calculate. Further, the cut-out area coordinate calculating means calculates a relative point between the center of the moving area calculated by the moving area center point calculating means and the small area adjacent to the background in the moving area calculated by the relative motion vector average / variance calculating means. Using the average value and the variance of the motion vectors, the coordinates for setting the cutout area are calculated.
[0038]
As described above, according to the clipped image generation program according to the ninth aspect, “the average value and the variance of the small area adjacent to the background in the moving area”, which is the motion information of the subject, and the distribution information of the subject. The cut-out area can be set based on “the center point of the moving area”. Therefore, even when the distribution of the subjects in the moving region is not uniform, it is possible to set the cut-out region around the “attention region”, which is a region where many subjects are distributed. As a result, it is possible to reduce the area of the cut-out area that deviates from the attention area as compared with the conventional cut-out area setting method, so that it is possible to prevent the video content of the generated cut-out video from becoming redundant.
[0039]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings as appropriate. Note that the cut-out video generation device, the cut-out video generation method, and the cut-out video generation program according to the present invention are configured such that, based on the shot video, the `` average and variance of relative motion vectors in a moving area '' which is motion information of a subject; A part of the region is extracted based on the “central point of the moving region” which is the distribution information of the subject, and a cut-out image is generated.
[0040]
First, the outline of the “method of setting a cutout area” in the present invention will be briefly described. FIG. 3 is a diagram for explaining a method of setting a cut-out area according to the present invention. In the method of setting the cutout area according to the present invention, a “macroblock” created by dividing a captured image into rectangular areas of m × n pixels (m and n are positive constants) in the horizontal and vertical directions is a minimum unit. Treat as
[0041]
The method of setting the cut-out area according to the present invention will be described with reference to FIG. 3. First, each macroblock is divided into a “moving macroblock” and a “static macroblock” according to the magnitude of the relative motion vector, A rectangular area including a macro block is set as a “moving area”. Next, the moving area is divided into a predetermined number in the horizontal and vertical directions to create a “small area”, and for each small area, a rectangular area including a moving macroblock is set as a “moving small area”. I do. Then, a “center point of the moving area” is obtained based on “the center point and the area of each moving small area”, and “the average value and the variance of the relative motion vector in the moving area” is calculated using the center point of the moving area and Set the clipping area.
[0042]
(Configuration of cutout video generation device 1)
First, the configuration of the cut-out video generation device 1 will be described mainly with reference to FIG. In the drawings to be referred to, FIG. 1 is a block diagram showing a configuration of a cut-out video generation device 1.
[0043]
As shown in FIG. 1, the cut-out video generation device 1 includes a relative motion vector calculation unit 10, a moving region setting unit 20, a cut-out region setting unit 30, a signal delay unit 40, and a cut-out region extraction unit 50. The captured video (input video signal) input to the cut-out video generation device 1 is branched into two and input to the relative motion vector calculation unit 10 and the signal delay unit 40. Hereinafter, each unit of the cut-out video generation device 1 will be described in detail.
[0044]
The relative motion vector calculation unit 10 divides the captured video into a background video and a subject video, which is a video other than the background video, and divides the captured video horizontally and vertically into rectangular regions each having a predetermined number of pixels. A relative motion vector, which is a difference vector between the motion vector of the subject video and the motion vector of the background video, is calculated for each macroblock.
[0045]
More specifically, the relative motion vector calculation unit 10 first separates the captured video into a background video and a subject video for each frame. Also, a macroblock is created by dividing the captured image into rectangular areas of m × n pixels (m and n are positive constants) in the horizontal and vertical directions. Then, a motion vector of the subject is calculated for each macro block. The motion vector represents the magnitude of the motion of the subject in a vector amount, and can be calculated by applying a block matching method between frames, for example.
[0046]
Next, the relative motion vector calculation unit 10 calculates a motion vector of the background image. The motion vector of the background video is described in, for example, a document (“Global motion compensation method in video coding” IEICE Transactions BI, Vol. J76-BI, No. 12, p. 994-952, And the literature ("A High-Precision Camera Operational Parameter Measurement System and Its Application to Imagery Promotion Information Education, Information Technology. pp. 46-55, March 2001, Jung Wen-Tao et al.).
[0047]
Then, the relative motion vector calculation unit 10 calculates, for each macroblock, a relative motion vector that is a difference vector between the motion vector of the subject and the motion vector of the background video. When the camera is stationary, the magnitude of the motion vector of the background video is constant, so that the motion vector of the subject becomes the relative motion vector as it is. The relative motion vector of each macroblock calculated by the relative motion vector calculation unit 10 is input to the moving region setting unit 20 and the cutout region setting unit 30 as relative motion vector information.
[0048]
The moving area setting unit 20 sets a moving area based on the relative motion vector of each macroblock calculated by the relative motion vector calculating unit 10.
[0049]
The method of setting a moving area will be described in detail. First, a macroblock in which the magnitude of a relative motion vector exceeds a predetermined threshold is determined as a “moving macroblock”, and a rectangular area including the moving macroblock is determined. Is set as the moving area. Note that macroblocks other than moving macroblocks are determined to be “static macroblocks”.
[0050]
Then, as shown in FIG. 11, the coordinates A (Xmin, Ymin) at which the horizontal and vertical coordinates of the moving macroblocks constituting the moving area are minimum and the coordinates B (Xmax, Ymax) at which the coordinates are maximum are detected. , A rectangular area surrounded by coordinates A and B is set as a moving area. The moving region set by the moving region setting unit 20 is input to the cutout region setting unit 30 as moving region information.
[0051]
The cutout area setting unit 30 sets a cutout area to be extracted from a captured video based on the average and variance of relative motion vectors in the moving area. FIG. 2 is a block diagram illustrating a configuration of the cutout region setting unit 30 in the cutout video generation device 1.
[0052]
As shown in FIGS. 1 and 2, the cutout region setting unit 30 includes a small region creating unit 31, a moving region setting unit 32, a moving small region center point / area calculating unit 33, a moving region center point calculating unit 34, It is configured to include a motion vector average value / variance calculation unit 35 and a cutout area coordinate calculation unit 36. The relative motion vector information calculated by the relative motion vector calculation unit 10 is input to the moving area setting unit 32 and the relative motion vector average value / variance calculation unit 35. The moving area information set by the moving area setting unit 20 is input to the small area creating unit 31 and the relative motion vector average / variance calculating unit 35.
[0053]
The small area creating unit 31 creates a small area by dividing the moving area set by the moving area setting unit 20 in the horizontal and vertical directions. In the example of FIG. 3, the moving area is divided into two in the horizontal direction and the dividing direction, and four small areas are created.
[0054]
Note that the number of divided moving regions is determined by the number of pixels in the moving region. For example, when the number of pixels in the horizontal and vertical directions of the moving area is 256 pixels or more, respectively, it is divided into two in the horizontal and vertical directions, and when it is more than 256 pixels, it is divided into three in the horizontal and vertical directions, and when it is 512 pixels or more. It is good to determine in advance such that it is divided into four in the horizontal and vertical directions.
[0055]
In the present embodiment, each small area is configured with a macroblock created by the relative motion vector calculation unit 10 as a minimum unit. As described above, by configuring each small area with the macroblock created by the relative motion vector calculation unit 10 as a minimum unit, it is possible to save the trouble of determining the moving macroblock in the moving area setting unit 32.
[0056]
The moving area setting unit 32 sets a rectangular area including a moving macroblock as a moving small area for each small area created by the small area creating unit 31. FIGS. 4A and 4B are diagrams for explaining a method of setting a moving small area, where FIG. 4A shows an example and FIG. 4B shows another example. In the example of FIGS. 4A and 4B, the small area is composed of 16 macro blocks MB1 to MB16.
[0057]
In the example of FIG. 4A, of the macroblocks MB1 to MB16 forming the small area, the macroblocks MB1, MB2, MB3, MB5, MB6, MB9, and MB10 are moving macroblocks, and the other macroblocks MB1 to MB16. Is a static macroblock. Then, a rectangular area obtained by adding the static macroblocks MB7 and MB11 to the moving macroblocks MB1, MB2, MB3, MB5, MB6, MB9, and MB10 becomes a moving small area.
[0058]
In the example of FIG. 4B, among the macroblocks MB1 to MB16 forming the small area, the macroblocks MB1, MB2, MB3, MB4, MB7, MB8, MB9, MB10 are moving macroblocks, and the other. Is a static macroblock. Then, a rectangular area obtained by adding the static macroblocks MB5, MB6, MB11, and MB12 to the moving macroblocks MB1, MB2, MB3, MB4, MB7, MB8, MB9, and MB10 becomes the moving small area.
[0059]
The moving small area center point / area calculating unit 33 calculates the center point and the area of the moving small area for each moving small area set by the moving small area setting unit 32. FIG. 5 is a diagram for explaining a method of calculating the center point and the area of the moving small region set in FIG. Here, it is assumed that the small area shown in FIG. 4A corresponds to the small area SD1.
[0060]
When obtaining the center point Msd of the moving small area, as shown in FIG. 5, the coordinates a (xmin, ymin) at which the horizontal and vertical coordinates of the macroblocks MB constituting the moving small area are the minimum and the maximum at the maximum. A certain coordinate b (xmax, ymax) is detected. Then, the center point between the coordinates a and b ((xmin + xmax) / 2, (ymin + ymax) / 2) is the center point Msd of the moving small area.
[0061]
The area S of the moving small area is the number of moving macro blocks included in the moving small area. In the example of FIG. 4A, since the moving small area includes seven moving macroblocks, the area S of the moving small area is “7”. Also, in the example of FIG. 4B, since the moving small area includes eight moving macroblocks, the area S of the moving small area is “8”.
[0062]
The moving area center point calculation unit 34 calculates the center point Mmd of the moving area using the center point Msd and the area S of the moving small area calculated by the moving small area center point / area calculation unit 33. The center point Mmd (Xmid, Ymid) of the moving area is calculated by the following equation (1).
[0063]
(Equation 1)
Figure 2004096679
[0064]
FIG. 6 is a diagram illustrating an example of the center point Mmd of the moving area calculated by the moving area center point calculation unit 34. As shown in FIG. 6, the position of the center point Mmd of the moving region calculated by the moving region center point calculating unit 34 is the position of the center M ((Xmin + Xmax) / 2, (Ymin + Ymax) / 2) of the original moving region. Is different from
[0065]
The relative motion vector average value / variance calculation unit 35 calculates the average value Avei (i = x, y) of the relative motion vector in the moving area and the variance σi from the relative motion vector information calculated by the relative motion vector calculation unit 10. 2 (I = x, y) is calculated.
[0066]
Then, the cut-out area coordinate calculation unit 36 calculates the center point Mmd of the motion area calculated by the motion area center point calculation unit 34 and the relative motion vector in the motion area calculated by the relative motion vector average / variance calculation unit 35. Mean Avei and variance σi 2 Are used to calculate coordinates for setting the cut-out area. FIG. 7 is a diagram for explaining a method of setting a cutout area.
[0067]
As shown in FIG. 7, a region having a horizontal width of α in the horizontal direction of the moving region and a region having a horizontal width of β in the horizontal direction are added, and the vertical height of the moving region in the vertical direction is γ. A cutout region is set by adding a region whose height in the vertical direction to the region is δ. It should be noted that a region having a horizontal width of α is added to a side having a smaller coordinate in the horizontal direction, and a region having a horizontal width of β is added to a side having a larger coordinate in the horizontal direction. Further, an area having a vertical height of γ is added to a side having a smaller vertical coordinate, and an area having a vertical height of δ is added to a side having a larger vertical coordinate.
[0068]
This cutout area has coordinates C (X'min, Y'min) at which the horizontal and vertical coordinates of the macroblocks constituting the cutout area are minimum, and coordinates D (X'max, Y'max) which are maximum. Is set as a rectangular area surrounded by. Note that X'min is Xmin-α, X'max is Xmax + β, Y'min is Ymin-γ, and Y'max is Ymax + δ.
[0069]
α, β, γ, and δ are the average of the center point Mmd of the moving area calculated by the moving area center point calculating unit 34 and the average of the relative motion vector in the moving area calculated by the relative motion vector average / variance calculating unit 35. Value Avei and variance σi 2 Is calculated using Specifically, it is calculated by the following equations (2) to (5). In the following equations (2) to (9), f (σi 2 ) Is obtained by the function shown in FIG. The constant p is a positive number.
[0070]
α and β are calculated by the following equations (2) to (5).
[0071]
When Xmid ≧ (Xmin + Xmax) / 2
α = | Avex | × f (σx 2 ) ... (2)
β = | Avex | × f (σx 2 ) + P × (Xmid−Xmin) / (Xmax−Xmid) (3)
[0072]
When Xmid <(Xmin + Xmax) / 2
α = | Avex | × f (σx 2 ) + P × (Xmax−Xmid) / (Xmid−Xmin) (4)
β = | Avex | × f (σx 2 ) …… (5)
[0073]
γ and δ are calculated by the following equations (6) to (9).
[0074]
When Ymid ≧ (Ymin + Ymax) / 2
γ = | Avey | × f (σy 2 ) …… (6)
δ = | Avey | × f (σy 2 ) + P × (Ymid−Ymin) / (Ymax−Ymid) (7)
[0075]
When Ymid <(Ymin + Ymax) / 2
γ = | Avey | × f (σy 2 ) + P × (Ymax−Ymid) / (Ymid−Ymin) (8)
δ = | Avey | × f (σy 2 ) …… (9)
[0076]
When generating a clipped image having a specific aspect ratio, α, β, γ, and δ are calculated by the following equations (10) to (17). The aspect ratio is a: b. Further, in the following equations (10) to (25), f (σi 2 ) Is obtained by the function shown in FIG. The constant p is a positive number.
[0077]
When (Ymax−Ymin) / (Xmax−Xmin) ≧ b / a, α, β, γ, and δ are calculated by the following equations (10) to (17).
[0078]
When Xmid ≧ (Xmin + Xmax) / 2
α = | Avex | × f (σx 2 ) …… (10)
β = a / b (Ymax−Ymin + γ + δ) − (Xmax−Xmin + α) (11)
[0079]
When Xmid <(Xmin + Xmax) / 2
β = | Avex | × f (σx 2 ) ... (12)
α = a / b (Ymax−Ymin + γ + δ) − (Xmax−Xmin + β) (13)
[0080]
When Ymid ≧ (Ymin + Ymax) / 2
γ = | Avey | × f (σy 2 ) ... (14)
δ = b / a (Ymax−Ymin + α + β) − (Ymax−Ymin + γ) (15)
[0081]
When Ymid <(Ymin + Ymax) / 2
δ = | Avey | × f (σy 2 ) ... (16)
γ = b / a (Ymax−Ymin + α + β) − (Ymax−Ymin + δ) (17)
[0082]
When (Ymax−Ymin) / (Xmax−Xmin) <b / a, α, β, γ, and δ are calculated by the following equations (18) to (25).
[0083]
When Xmid ≧ (Xmin + Xmax) / 2
α = | Avex | × f (σx 2 ) ... (18)
β = a / b (Ymax−Ymin + γ + δ) − (Xmax−Xmin + α) (19)
[0084]
When Xmid <(Xmin + Xmax) / 2
β = | Avex | × f (σx 2 )… (20)
α = a / b (Ymax−Ymin + γ + δ) − (Xmax−Xmin + β) (21)
[0085]
When Ymid ≧ (Ymin + Ymax) / 2
γ = | Avey | × f (σy 2 ) ... (22)
δ = b / a (Xmax−Xmin + α + β) − (Ymax−Ymin + γ) (23)
[0086]
When Ymid <(Ymin + Ymax) / 2
δ = | Avey | × f (σy 2 ) ... (24)
γ = b / a (Xmax−Xmin + α + β) − (Ymax−Ymin + δ) (25)
[0087]
The coordinates C (X'min, Y'min) and the coordinates D (X'max, Y'max) calculated by the cutout area coordinate calculation unit 36 are input to the cutout area extraction unit 50 as cutout coordinate information.
[0088]
If necessary, the number of pixels of the cut-out video generated by the cut-out area extracting unit 50 can be converted according to the number of pixels in the transmission format, the number of pixels in the monitor, and the like. As a method of converting the number of pixels, for example, a sampling frequency conversion method can be used.
[0089]
Returning to FIG. 1, the signal delay unit 40 is input to the cutout region extraction unit 50 until the cutout region information calculated by the cutout region coordinate calculation unit 36 is input to the cutout region extraction unit 50. The input video signal is delayed, so that the clipped region information in the clipped region extraction unit 50 is synchronized with the input video signal.
[0090]
Then, the cutout region extracting unit 50 extracts a cutout region from the captured video based on the cutout coordinate information input from the cutout region setting unit 30, and generates a cutout video. The cut-out video generated by the cut-out region extraction unit 50 is output to the outside as an output video signal.
[0091]
(Operation of cutout video generation device 1)
Next, the operation of the cut-out video generation device 1 will be described with reference to a flowchart showing the operation of the cut-out video generation device 1 shown in FIG.
[0092]
First, the relative motion vector calculation unit 10 (see FIG. 1) separates the captured video into a background video and a subject video, which is a video other than the background video, and divides the captured video into a rectangle having a predetermined number of pixels in the horizontal and vertical directions. A relative motion vector, which is a difference vector between the motion vector of the subject video and the motion vector of the background video, is calculated for each macroblock created by dividing the area (S1).
[0093]
Subsequently, the moving area setting unit 20 (see FIG. 1) sets a moving area (see FIG. 3) based on the relative motion vector of each macroblock calculated by the relative motion vector calculating unit 10 (S2).
[0094]
Next, the cutout area setting unit 30 (see FIG. 1) sets a cutout area (see FIG. 7) to be extracted from the captured video based on the average and variance of the relative motion vectors in the moving area (S3).
[0095]
The operation in the cutout area setting unit 30 will be described in detail. First, the small area creation unit 31 (see FIG. 2) divides the moving area set by the moving area setting unit 20 in the horizontal and vertical directions, and (See FIG. 3) is created (S31).
[0096]
Next, the moving subregion setting unit 32 (see FIG. 2) converts a rectangular region including a moving macroblock into a moving subregion (see FIG. ) And (b)) (S32).
[0097]
The moving small area center point / area calculation unit 33 (see FIG. 2) calculates the center point Msd (see FIG. 5) and the area S of the moving small area for each moving small area set by the moving small area setting unit 32. (S33).
[0098]
The moving area center point calculation unit 34 (see FIG. 2) uses the center point Msd and the area S of the moving small area calculated by the moving small area center point / area calculation unit 33 to calculate the center point Mmd of the moving area (FIG. 6). (See S34).
[0099]
The relative motion vector average value / variance calculation unit 35 (see FIG. 2) uses the relative motion vector information calculated by the relative motion vector calculation unit 10 to calculate the average value Avei (i = x, y) of the relative motion vectors in the moving area. And the variance σi 2 (I = x, y) is calculated (S35).
[0100]
The cut-out area coordinate calculation unit 36 (see FIG. 2) calculates the center point Mmd of the motion area calculated by the motion area center point calculation unit 34 and the relative value in the motion area calculated by the relative motion vector average / variance calculation unit 35. Average value Avei and variance σi of motion vector 2 Are used to calculate coordinates (see FIG. 7) for setting the cutout area (S36).
[0101]
Then, the cutout region extracting unit 50 extracts a cutout region from the captured video based on the cutout region information input from the cutout region setting unit 30, and generates a cutout video (S4).
[0102]
As described above, according to the clipped video generation device and the clipped video generation method according to the present invention, from the captured video, “the average value and the variance of the relative motion vector in the moving area”, which is the motion information of the subject, It is possible to extract a partial area based on the “central point of the moving area” that is the distribution information and generate a clipped image. In the cutout video generated in this manner, the cutout region is set based on the distribution information of the subject, and thus the video content does not become redundant. Moreover, in the cut-out video generation device and the cut-out video generation method according to the present invention, it is possible to set the cut-out area without being restricted by the aspect ratio.
[0103]
As mentioned above, although one Embodiment of this invention was described, this invention is not limited only to this, As long as it is based on the technical idea of this invention, a various deformation | transformation is possible.
[0104]
For example, it is also possible to regard each component of the cut-out video generation device 1 as a cut-out video generation method in which each component (step) is regarded as a process. In this case, the cut-out video generation method has the same effect as the cut-out video generation device. Further, each configuration of the cut-out video generation device 1 can be regarded as a program (cut-out video generation program) described in a general computer language. Also in this case, the cut-out video generation program has the same effect as that of the cut-out video generation device 1.
[0105]
In the present embodiment, when the coordinates for setting the cutout area are calculated by the cutout area coordinate calculation unit 36 of the cutout area setting unit 30, the center point Mmd of the moving area and the relative motion vector in the moving area are calculated. Mean Avei and variance σi of 2 Are used to calculate α, β, γ, and δ, but the average value Avei and the variance σi of the relative motion vector in the moving region are calculated. 2 Instead of the average value Avesji (i = x, y) and the variance σsji of the relative motion vectors in the small region adjacent to the background in the moving region. 2 It is also possible to calculate α, β, γ, and δ using (i = x, y). Here, sj is the number of the small area, and j = 1 to m × n.
[0106]
Specifically, the average value Avesjx of the relative motion vectors is compared between the small regions adjacent to the background on the side of the moving region where the coordinates in the horizontal direction are small, and the minimum value “Min Avesjx” of the average value Avesjx is obtained. Similarly, the average value Avesjx of the relative motion vectors is compared between the small regions adjacent to the background on the side where the coordinates of the moving region in the horizontal direction are large, and the maximum value “Max Avesjx” of the average value Avesjx is obtained.
[0107]
Further, on the side where the coordinates in the vertical direction of the moving area are small, the average value Avesjy of the relative motion vectors is compared between the small areas adjacent to the background, and the minimum value “Min Avesjy” of the average value Avesjy is obtained. Similarly, on the side where the coordinates in the vertical direction of the moving area are larger, the average value Avesjy of the relative motion vectors is compared between the small areas adjacent to the background, and the maximum value “Max Avesjy” of the average value Avesjy is obtained.
[0108]
Then, α, β, γ, and δ are calculated by the following equations (26) to (33). Note that in the following equations (26) to (33), f (σsji 2 ) Is obtained by the function shown in FIG. The constant p is set to 1.0.
[0109]
α and β are calculated by the following equations (26) to (29).
[0110]
When Xmid ≧ (Xmin + Xmax) / 2
α = | Min Avesjx | × f (σsjx 2 ) …… (26)
β = | Min Avesjx | × f (σx 2 ) + P × (Xmid−Xmin) / (Xmax−Xmid) (27)
[0111]
When Xmid <(Xmin + Xmax) / 2
α = | Min Avesjx | × f (σsjx 2 ) + P × (Xmax−Xmid) / (Xmid−Xmin) (28)
β = | Min Avesjx | × f (σsjx 2 ) …… (29)
[0112]
γ and δ are calculated by the following equations (30) to (33).
[0113]
When Ymid ≧ (Ymin + Ymax) / 2
γ = | Min Avesjy | × f (σsjy 2 ) ... (30)
δ = | Min Avesjy | × f (σsjy 2 ) + P × (Ymid−Ymin) / (Ymax−Ymid) (31)
[0114]
When Ymid <(Ymin + Ymax) / 2
γ = | Min Avesjy | × f (σsjy 2 ) + P × (Ymax−Ymid) / (Ymid−Ymin) (32)
δ = | Min Avesjy | × f (σsjy 2 ) ... (33)
[0115]
By calculating α, β, γ, and δ in this manner, the cutout area can be set in the cutout area coordinate calculation unit 36 of the cutout area setting unit 30, as in the present embodiment.
[0116]
【The invention's effect】
According to the first, fourth, and seventh aspects of the present invention, a partial area is determined from a captured image based on “average and variance of relative motion vectors in a moving area” which is motion information of a subject. The extracted video can be extracted and generated. Therefore, the cutout area can be set without being restricted by the aspect ratio.
[0117]
According to the second, fifth, and eighth aspects of the present invention, “the average value and the variance of the relative motion vector in the moving area” as the motion information of the subject and “the moving area The cutout area can be set based on the “center point”. Therefore, since the cutout region can be set based on the distribution information of the subject, it is possible to prevent the video content of the generated cutout video from being redundant. In addition, the cutout area can be set without being restricted by the aspect ratio.
[0118]
According to the third, sixth, and ninth aspects of the present invention, “the average value and the variance of the relative motion vector of the small area adjacent to the background in the moving area”, which is the motion information of the subject, The cutout area can be set based on the distribution information “the center point of the moving area”. Therefore, since the cutout region can be set based on the distribution information of the subject, it is possible to prevent the video content of the generated cutout video from becoming redundant. Further, the cutout area can be set without being restricted by the aspect ratio.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration of a video generation device 1 according to an embodiment of the present invention.
FIG. 2 is a block diagram illustrating a configuration of a cut-out area setting unit 30 in the cut-out video generation device 1.
FIG. 3 is a diagram for explaining a method of setting a cut-out area according to the present invention.
4A and 4B are diagrams for explaining a method of setting a moving small area, where FIG. 4A shows an example and FIG. 4B shows another example.
FIG. 5 is a diagram for explaining a method of calculating a center point and an area of a moving small region set in FIG. 4A.
FIG. 6 is a diagram illustrating an example of a center point Mmd of a moving area calculated by a moving area center point calculating unit 34;
FIG. 7 is a diagram showing a cut-out area in a captured video.
FIG. 8 is a diagram showing a function used when calculating coordinates for setting a cutout area.
FIG. 9 is a flowchart showing an operation of the cut-out video generation device 1.
FIG. 10 is a diagram for explaining a method of setting a moving area in a conventional method of setting a cutout area.
FIG. 11 is a diagram for explaining a method of setting a cutout area in a conventional method of setting a cutout area.
12A and 12B are diagrams illustrating distributions of subjects in a moving region, where FIG. 12A illustrates a case where the distribution of subjects in the moving region is uniform, and FIG. 12B illustrates a case where the distribution of subjects in the moving region is uneven. .
FIG. 13 is a diagram illustrating a cut-out region when the distribution of subjects in a moving region is uneven.
[Explanation of symbols]
1 clipped video generation device
10 Relative motion vector calculation unit
20 Moving area setting section
30 Cutout area setting section
31 Small area creation unit
32 Dynamic subsection setting section
33 Moving small area center point / area calculation unit
34 Motion area center point calculation unit
35 Relative motion vector average and variance calculator
36 Cutout area coordinate calculation unit
40 signal delay section
50 Cutout area extraction unit

Claims (9)

撮影された撮影映像から一部の領域を抽出して切り出し映像を生成する切り出し映像生成装置であって、
前記撮影映像を背景映像とこの背景映像以外の映像である被写体映像とに分離し、前記撮影映像を水平及び垂直方向に所定の画素数の矩形領域に分割して作成したマクロブロック毎に、前記被写体映像の動きベクトルと前記背景映像の動きベクトルとの差分ベクトルである相対動きベクトルを算出する相対動きベクトル算出部と、
前記相対動きベクトルの大きさが予め定められた閾値を超えるマクロブロックである動マクロブロックを含んで構成される領域を動領域として設定する動領域設定部と、
前記動領域における前記相対動きベクトルの平均値及び分散に基づいて、前記撮影映像から抽出する切り出し領域を設定する切り出し領域設定部と、
前記撮影映像から前記切り出し領域を抽出して切り出し映像を生成する切り出し領域抽出部と
を備えて構成されることを特徴とする切り出し映像生成装置。
A cutout video generation device that extracts a partial area from a shot video and generates a cutout video,
The captured image is separated into a background image and a subject image that is an image other than the background image, and the captured image is divided into rectangular regions each having a predetermined number of pixels in the horizontal and vertical directions. A relative motion vector calculation unit that calculates a relative motion vector that is a difference vector between the motion vector of the subject video and the motion vector of the background video,
A moving region setting unit that sets a region including a moving macroblock that is a macroblock whose magnitude of the relative motion vector exceeds a predetermined threshold value as a moving region,
A cutout region setting unit that sets a cutout region to be extracted from the captured video based on an average value and a variance of the relative motion vector in the moving region,
A cut-out image generating apparatus, comprising: a cut-out region extracting unit that extracts the cut-out region from the photographed image to generate a cut-out image.
前記切り出し領域設定部は、
前記動領域を水平及び垂直方向に分割して小領域を作成する小領域作成部と、前記小領域毎に前記動マクロブロックを含んで構成される領域を動小領域として設定する動小領域設定部と、
前記動小領域毎に動小領域の中心点及び面積を算出する動小領域中心点・面積算出部と、
前記動小領域の中心点及び面積を用いて前記動領域の中心点を算出する動領域中心点算出部と、
前記動領域における前記相対動きベクトルの平均値及び分散を算出する相対動きベクトル平均値・分散算出部と、
前記動領域の中心点と、前記動領域における前記相対動きベクトルの平均値及び分散とを用いて、前記切り出し領域を設定するための座標を算出する切り出し領域座標算出部と
を備えて構成されることを特徴とする請求項1に記載の切り出し映像生成装置。
The cutout area setting unit,
A small area creating unit that creates a small area by dividing the moving area in the horizontal and vertical directions, and a moving small area setting that sets an area including the moving macroblock for each of the small areas as a moving small area Department and
A moving small area center point / area calculating unit for calculating a center point and an area of the moving small area for each moving small area,
A moving area center point calculation unit that calculates a center point of the moving area using a center point and an area of the moving small area,
A relative motion vector average value / variance calculation unit for calculating an average value and a variance of the relative motion vector in the moving region,
A center point of the moving region, and a cutout region coordinate calculation unit that calculates coordinates for setting the cutout region using an average value and a variance of the relative motion vector in the moving region. The cut-out image generation device according to claim 1, wherein:
前記切り出し領域設定部は、
前記動領域を水平及び垂直方向に分割して小領域を作成する小領域作成部と、前記小領域毎に前記動マクロブロックを含んで構成される領域を動小領域として設定する動小領域設定部と、
前記動小領域毎に動小領域の中心点及び面積を算出する動小領域中心点・面積算出部と、
前記動小領域の中心点及び面積を用いて前記動領域の中心点を算出する動領域中心点算出部と、
前記動領域における背景と隣接する小領域の前記相対動きベクトルの平均値及び分散を算出する相対動きベクトル平均値・分散算出部と、
前記動領域の中心点と、前記動領域における背景と隣接する小領域の前記相対動きベクトルの平均値及び分散とを用いて、前記切り出し領域を設定するための座標を算出する切り出し領域座標算出部と
を備えて構成されることを特徴とする請求項1に記載の切り出し映像生成装置。
The cutout area setting unit,
A small area creating unit that creates a small area by dividing the moving area in the horizontal and vertical directions, and a moving small area setting that sets an area including the moving macroblock for each of the small areas as a moving small area Department and
A moving small area center point / area calculating unit for calculating a center point and an area of the moving small area for each moving small area,
A moving area center point calculation unit that calculates a center point of the moving area using a center point and an area of the moving small area,
A relative motion vector average value / variance calculation unit that calculates an average value and a variance of the relative motion vector of the small region adjacent to the background in the moving region,
A cutout area coordinate calculation unit that calculates coordinates for setting the cutout area using a center point of the moving area and an average value and a variance of the relative motion vectors of the small area adjacent to the background in the moving area. The cut-out image generation device according to claim 1, comprising:
撮影された撮影映像から一部の領域を抽出して切り出し映像を生成する切り出し映像生成方法であって、
前記撮影映像を背景映像とこの背景映像以外の映像である被写体映像とに分離し、前記撮影映像を水平及び垂直方向に所定の画素数の矩形領域に分割して作成したマクロブロック毎に、前記被写体映像の動きベクトルと前記背景映像の動きベクトルとの差分ベクトルである相対動きベクトルを算出する相対動きベクトル算出ステップと、
前記相対動きベクトルの大きさが予め定められた閾値を超えるマクロブロックである動マクロブロックを含んで構成される領域を動領域として設定する動領域設定ステップと、
前記動領域における前記相対動きベクトルの平均値及び分散に基づいて、前記撮影映像から抽出する切り出し領域を設定する切り出し領域設定ステップと、
前記撮影映像から前記切り出し領域を抽出して切り出し映像を生成する切り出し領域抽出ステップと
を含むことを特徴とする切り出し映像生成方法。
A clipped video generation method for extracting a partial region from a captured video and generating a clipped video,
The captured image is separated into a background image and a subject image that is an image other than the background image, and the captured image is divided into rectangular regions each having a predetermined number of pixels in the horizontal and vertical directions. A relative motion vector calculation step of calculating a relative motion vector that is a difference vector between the motion vector of the subject video and the motion vector of the background video,
A moving region setting step of setting, as a moving region, a region including a moving macroblock in which the size of the relative motion vector exceeds a predetermined threshold;
A cutout region setting step of setting a cutout region to be extracted from the captured video based on an average value and a variance of the relative motion vector in the moving region,
Extracting a cut-out region from the photographed image to generate a cut-out image.
前記切り出し領域設定ステップは、
前記動領域を水平及び垂直方向に分割して小領域を作成する小領域作成ステップと、
前記小領域毎に前記動マクロブロックを含んで構成される領域を動小領域として設定する動小領域設定ステップと、
前記動小領域毎に動小領域の中心点及び面積を算出する動小領域中心点・面積算出ステップと、
前記動小領域の中心点及び面積を用いて前記動領域の中心点を算出する動領域中心点算出ステップと、
前記動領域における前記相対動きベクトルの平均値及び分散を算出する相対動きベクトル平均値・分散算出ステップと、
前記動領域の中心点と、前記動領域における相対動きベクトルの平均値及び分散とを用いて、前記切り出し領域を設定するための座標を算出する切り出し領域座標算出ステップと
を含むことを特徴とする請求項4に記載の切り出し映像生成方法。
The cutout area setting step,
A small area creating step of creating a small area by dividing the moving area in the horizontal and vertical directions,
A moving small region setting step of setting a region including the moving macro block for each of the small regions as a moving small region;
A moving small area center point / area calculating step of calculating a center point and an area of the moving small area for each moving small area,
A moving area center point calculating step of calculating a center point of the moving area using a center point and an area of the moving small area,
A relative motion vector average value / variance calculation step of calculating an average value and a variance of the relative motion vector in the moving region,
Using a center point of the moving area and an average value and a variance of relative motion vectors in the moving area to calculate coordinates for setting the cut-out area. The clipped image generation method according to claim 4.
前記切り出し領域設定ステップは、
前記動領域を水平及び垂直方向に分割して小領域を作成する小領域作成ステップと、
前記小領域毎に前記動マクロブロックを含んで構成される領域を動小領域として設定する動小領域設定ステップと、
前記動小領域毎に動小領域の中心点及び面積を算出する動小領域中心点・面積算出ステップと、
前記動小領域の中心点及び面積を用いて前記動領域の中心点を算出する動領域中心点算出ステップと、
前記動領域における背景と隣接する小領域の前記相対動きベクトルの平均値及び分散を算出する相対動きベクトル平均値・分散算出ステップと、
前記動領域の中心点と、前記動領域における背景と隣接する小領域の相対動きベクトルの平均値及び分散とを用いて、前記切り出し領域を設定するための座標を算出する切り出し領域座標算出ステップと
を含むことを特徴とする請求項4に記載の切り出し映像生成方法。
The cutout area setting step,
A small area creating step of creating a small area by dividing the moving area in the horizontal and vertical directions,
A moving small region setting step of setting a region including the moving macro block for each of the small regions as a moving small region;
A moving small area center point / area calculating step of calculating a center point and an area of the moving small area for each moving small area,
A moving area center point calculating step of calculating a center point of the moving area using a center point and an area of the moving small area,
A relative motion vector average value / variance calculating step of calculating an average value and a variance of the relative motion vector of the small region adjacent to the background in the moving region;
A cut-out area coordinate calculating step of calculating coordinates for setting the cut-out area using a center point of the moving area and an average value and a variance of relative motion vectors of small areas adjacent to the background in the moving area; The method according to claim 4, further comprising:
撮影された撮影映像から一部の領域を抽出して切り出し映像を生成する装置を、
前記撮影映像を背景映像とこの背景映像以外の映像である被写体映像とに分離し、前記撮影映像を水平及び垂直方向に所定の画素数の矩形領域に分割して作成したマクロブロック毎に、前記被写体映像の動きベクトルと前記背景映像の動きベクトルとの差分ベクトルである相対動きベクトルを算出する相対動きベクトル算出手段、
前記相対動きベクトルの大きさが予め定められた閾値を超えるマクロブロックである動マクロブロックを含んで構成される領域を動領域として設定する動領域設定手段、
前記動領域における前記相対動きベクトルの平均値及び分散に基づいて、前記撮影映像から抽出する切り出し領域を設定する切り出し領域設定手段、
前記撮影映像から前記切り出し領域を抽出して切り出し映像を生成する切り出し領域抽出手段
として機能させることを特徴とする切り出し映像生成プログラム。
A device that extracts a partial area from a captured video and generates a clipped video,
The captured image is separated into a background image and a subject image that is an image other than the background image, and the captured image is divided into rectangular regions each having a predetermined number of pixels in the horizontal and vertical directions. Relative motion vector calculation means for calculating a relative motion vector that is a difference vector between the motion vector of the subject video and the motion vector of the background video,
A moving region setting unit that sets a region including a moving macro block that is a macro block whose magnitude of the relative motion vector exceeds a predetermined threshold value as a moving region;
A cutout region setting unit that sets a cutout region to be extracted from the captured video based on an average value and a variance of the relative motion vector in the moving region,
A cut-out image generation program that functions as a cut-out region extracting unit that extracts the cut-out region from the captured image to generate a cut-out image.
前記切り出し領域設定手段は、
前記動領域を水平及び垂直方向に分割して小領域を作成する小領域作成手段と、
前記小領域毎に前記動マクロブロックを含んで構成される領域を動小領域として設定する動小領域設定手段と、
前記動小領域毎に動小領域の中心点及び面積を算出する動小領域中心点・面積算出手段と、
前記動小領域の中心点及び面積を用いて前記動領域の中心点を算出する動領域中心点算出手段と、
前記動領域における前記相対動きベクトルの平均値及び分散を算出する相対動きベクトル平均値・分散算出手段と、
前記動領域の中心点と、前記動領域における前記相対動きベクトルの平均値及び分散とを用いて、前記切り出し領域を設定するための座標を算出する切り出し領域座標算出手段と
を備えていることを特徴とする請求項7に記載の切り出し映像生成プログラム。
The cutout area setting means,
Small area creating means for creating a small area by dividing the moving area in the horizontal and vertical directions,
Moving small area setting means for setting a region including the moving macro block for each small area as a moving small area,
Moving small area center point / area calculating means for calculating the center point and area of the moving small area for each moving small area,
A moving area center point calculating means for calculating a center point of the moving area using a center point and an area of the moving small area,
A relative motion vector average value / variance calculating means for calculating an average value and a variance of the relative motion vector in the moving region,
A center point of the moving region, and using a mean value and a variance of the relative motion vector in the moving region, a clipping region coordinate calculating unit that calculates coordinates for setting the clipping region. The cut-out image generation program according to claim 7, characterized in that:
前記切り出し領域設定部手段は、
前記動領域を水平及び垂直方向に分割して小領域を作成する小領域作成手段と、
前記小領域毎に前記動マクロブロックを含んで構成される領域を動小領域として設定する動小領域設定手段と、
前記動小領域毎に動小領域の中心点及び面積を算出する動小領域中心点・面積算出手段と、
前記動小領域の中心点及び面積を用いて前記動領域の中心点を算出する動領域中心点算出手段と、
前記動領域における背景と隣接する小領域の前記相対動きベクトルの平均値及び分散を算出する相対動きベクトル平均値・分散算出手段と、
前記動領域の中心点と、前記動領域における背景と隣接する小領域の前記相対動きベクトルの平均値及び分散とを用いて、前記切り出し領域を設定するための座標を算出する切り出し領域座標算出手段と
を備えていることを特徴とする請求項7に記載の切り出し映像生成プログラム。
The cutout area setting unit means,
Small area creating means for creating a small area by dividing the moving area in the horizontal and vertical directions,
Moving small area setting means for setting a region including the moving macro block for each small area as a moving small area,
Moving small area center point / area calculating means for calculating the center point and area of the moving small area for each moving small area,
A moving area center point calculating means for calculating a center point of the moving area using a center point and an area of the moving small area,
Relative motion vector average value / variance calculation means for calculating the average value and variance of the relative motion vector of the small area adjacent to the background in the moving area,
A cut-out area coordinate calculating unit that calculates coordinates for setting the cut-out area using a center point of the moving area and an average value and a variance of the relative motion vectors of the small areas adjacent to the background in the moving area. 8. The cut-out image generation program according to claim 7, comprising:
JP2002258663A 2002-09-04 2002-09-04 Cutout video generation device, cutout video generation method, and cutout video generation program Expired - Fee Related JP4163914B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002258663A JP4163914B2 (en) 2002-09-04 2002-09-04 Cutout video generation device, cutout video generation method, and cutout video generation program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002258663A JP4163914B2 (en) 2002-09-04 2002-09-04 Cutout video generation device, cutout video generation method, and cutout video generation program

Publications (2)

Publication Number Publication Date
JP2004096679A true JP2004096679A (en) 2004-03-25
JP4163914B2 JP4163914B2 (en) 2008-10-08

Family

ID=32063222

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002258663A Expired - Fee Related JP4163914B2 (en) 2002-09-04 2002-09-04 Cutout video generation device, cutout video generation method, and cutout video generation program

Country Status (1)

Country Link
JP (1) JP4163914B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100826812B1 (en) * 2007-07-23 2008-05-02 주식회사 만도 Method for detecting failure signal of steering sensor when a vehicle is j-turned on ice road
JP2009134693A (en) * 2007-10-30 2009-06-18 Canon Inc Image processing apparatus and image processing method
US8280115B2 (en) 2007-10-30 2012-10-02 Canon Kabushiki Kaisha Image processing apparatus and image processing method
JP2014241012A (en) * 2013-06-11 2014-12-25 株式会社メガチップス Moving body detection device, moving body detection method and control program
JP2016091528A (en) * 2014-11-05 2016-05-23 バイドゥ オンライン ネットワーク テクノロジー (ベイジン) カンパニー リミテッド Image segmentation method and image segmentation device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100826812B1 (en) * 2007-07-23 2008-05-02 주식회사 만도 Method for detecting failure signal of steering sensor when a vehicle is j-turned on ice road
JP2009134693A (en) * 2007-10-30 2009-06-18 Canon Inc Image processing apparatus and image processing method
US8280115B2 (en) 2007-10-30 2012-10-02 Canon Kabushiki Kaisha Image processing apparatus and image processing method
JP2013077307A (en) * 2007-10-30 2013-04-25 Canon Inc Image processing apparatus and image processing method
JP2014241012A (en) * 2013-06-11 2014-12-25 株式会社メガチップス Moving body detection device, moving body detection method and control program
JP2016091528A (en) * 2014-11-05 2016-05-23 バイドゥ オンライン ネットワーク テクノロジー (ベイジン) カンパニー リミテッド Image segmentation method and image segmentation device

Also Published As

Publication number Publication date
JP4163914B2 (en) 2008-10-08

Similar Documents

Publication Publication Date Title
JP5811106B2 (en) Video processing device, display device, and video processing method
US8542948B2 (en) Image processing apparatus and method
WO2011145322A1 (en) Panoramic expansion image display device and method of displaying panoramic expansion image
JP5974089B2 (en) Method and apparatus for reframing and encoding video signals
KR102198217B1 (en) Look-up table based stitching image generating apparatus and method
JP2014064835A (en) Image processing device, method and program
US20220405878A1 (en) Image processing apparatus, image processing method, and image processing program
JP4163914B2 (en) Cutout video generation device, cutout video generation method, and cutout video generation program
JP2016126673A (en) Information processing device, control method therefor, and video camera
KR20210012927A (en) Information processing apparatus, information processing method, and storage medium
US20150350669A1 (en) Method and apparatus for improving estimation of disparity in a stereo image pair using a hybrid recursive matching processing
JP5299567B2 (en) Image processing system, image processing method, and program
JP4018273B2 (en) Video processing apparatus, control method therefor, and storage medium
JP2016090906A (en) Image processor, image processing method, and program
JP4130176B2 (en) Image processing method and image composition apparatus
JP4166463B2 (en) Video generation device
JP7321716B2 (en) Image processing device, image processing method, and program
JP2018529145A5 (en)
JP7271115B2 (en) Image processing device, background image generation method and program
JP6838912B2 (en) Image processing equipment, image processing methods and programs
JP4680014B2 (en) Character multiplexer
JP2008263500A (en) Communication device and communication program
JP6242104B2 (en) Image processing apparatus, image processing method and program
US20230291865A1 (en) Image processing apparatus, image processing method, and storage medium
JP2004240913A (en) Object shape calculation device, object shape calculation method, and object shape calculation program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050207

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070601

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071212

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080205

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

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

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

Free format text: PAYMENT UNTIL: 20110801

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120801

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120801

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130801

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20140801

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees