JP4589291B2 - Video evaluation device - Google Patents
Video evaluation device Download PDFInfo
- Publication number
- JP4589291B2 JP4589291B2 JP2006303778A JP2006303778A JP4589291B2 JP 4589291 B2 JP4589291 B2 JP 4589291B2 JP 2006303778 A JP2006303778 A JP 2006303778A JP 2006303778 A JP2006303778 A JP 2006303778A JP 4589291 B2 JP4589291 B2 JP 4589291B2
- Authority
- JP
- Japan
- Prior art keywords
- moving image
- shot boundary
- shot
- distribution
- ambiguity
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Description
本発明は、動画像を評価する装置に関し、特に、動画像におけるショット境界のあいまい性(ショット境界の検出の難しさ)を算出する装置に関する。 The present invention relates to an apparatus for evaluating a moving image, and more particularly to an apparatus for calculating ambiguity of shot boundaries in a moving image (difficulty in detecting shot boundaries).
一般に、1台のカメラを用いて連続して撮影した動画像の区間をショットといい、その切り替え点をショット境界という。動画像からこのショット境界を検出して画像の切り替えを行う手法が知られている。例えば、瞬時にショットの切り替えを行うカット、複数のフレームに渡って徐々に動画像の切り替えを行うディゾルブやワイプの手法がある。ショットは動画像の基本単位であるから、動画像の要約や検索等を行う際には、動画像をショットに分割するために、ショット境界の検出が必要不可欠となる。 In general, a section of a moving image continuously photographed using one camera is called a shot, and a switching point is called a shot boundary. A technique is known in which the shot boundary is detected from a moving image and the image is switched. For example, there are a cut method in which shots are switched instantaneously, and a dissolve and wipe method in which moving images are gradually switched over a plurality of frames. Since a shot is a basic unit of a moving image, it is indispensable to detect a shot boundary in order to divide the moving image into shots when summarizing or searching for a moving image.
ショット境界は、動画像を構成する連続したフレームの類似性を求めることにより検出することができる。これは、同じショットの区間に属する連続した2枚のフレームは類似性が高く、ショット境界の2枚のフレームは類似性が低いという知識によるものである。ショット境界を正確に検出するためには、連続したフレームの類似性を求めるアルゴリズム、及びショット境界であることを判定する場合の閾値となる類似性の程度について検討する必要がある。 A shot boundary can be detected by determining the similarity of consecutive frames constituting a moving image. This is due to the knowledge that two consecutive frames belonging to the same shot section have high similarity and two frames at the shot boundary have low similarity. In order to accurately detect a shot boundary, it is necessary to consider an algorithm for obtaining the similarity between consecutive frames and the degree of similarity that is a threshold value when determining a shot boundary.
しかしながら、前述したフレームの類似性を求める手法では、対象とする動画像の内容によって大きく影響を受けてしまう。例えば、スポーツを対象とする動画像では、被写体及びカメラが激しく動くから、ショット境界と被写体等の動きとを正確に区別できるようにするため、多くの計算時間を要するブロックマッチング等の複雑なアルゴリズムを用いる必要がある。これに対し、カメラの動きがほとんどない動画像では、輝度差分和等のような単純で高速に演算可能なアルゴリズムを用いればよい。 However, the above-described method for obtaining the similarity of frames is greatly influenced by the content of the target moving image. For example, in a moving image for sports, the subject and the camera move violently, so in order to be able to accurately distinguish between the shot boundary and the movement of the subject, a complicated algorithm such as block matching that requires a lot of calculation time Must be used. On the other hand, a simple and high-speed algorithm such as a luminance difference sum may be used for a moving image with little camera movement.
ここで、スポーツを対象とする動画像のように、ショット境界とそれ以外とを区別することが困難な動画像を、ショット境界があいまいな動画像という。この場合、動画像におけるショット境界のあいまい性(ショット境界の検出の難しさ)を示す値は大きくなり、ショット境界の検出は難しくなる。 Here, a moving image in which it is difficult to distinguish a shot boundary from the rest, such as a moving image targeting sports, is referred to as a moving image having an ambiguous shot boundary. In this case, the value indicating the ambiguity of shot boundaries in a moving image (difficulty in detecting shot boundaries) becomes large, and detection of shot boundaries becomes difficult.
従来、動画像評価装置は、動画像におけるフレーム間の類似性の程度を示すフレーム間類似度を、以下の(1)式に示すような輝度差分和等の単純な演算式により算出し、ショット境界を検出し(非特許文献1及び2を参照)、その検出率及び誤検出率に基づいてショット境界のあいまい性を算出していた。
ここで、Diffはフレーム間類似度を示し、ft(x,y)は、フレームtにおいて、そのフレームの座標(x,y)における画素値(例えば輝度値)を示す。
2. Description of the Related Art Conventionally, a moving image evaluation apparatus calculates an interframe similarity indicating a degree of similarity between frames in a moving image by a simple arithmetic expression such as a luminance difference sum as shown in the following equation (1). The boundary is detected (see
Here, Diff indicates the similarity between frames, and f t (x, y) indicates a pixel value (for example, a luminance value) at the coordinates (x, y) of the frame in the frame t.
また、人が動画像を閲覧し、カメラの動きや画像の変化量等を総合的に観ることにより、ショット境界のあいまい性を評価する手法もある。 There is also a method of evaluating the ambiguity of shot boundaries by allowing a person to browse a moving image and comprehensively view the movement of the camera, the amount of change in the image, and the like.
従来のショット境界のあいまい性を算出する動画像評価装置は、輝度差分和等の演算式を用いているから、定量的な算出が可能である。しかしながら、動画像に含まれる全てのショット境界の正確な位置を事前に把握しておく必要があり、必ずしもその位置を事前に把握することができないという問題があった。 Since the conventional moving image evaluation apparatus for calculating the ambiguity of the shot boundary uses an arithmetic expression such as a luminance difference sum, it can be quantitatively calculated. However, there is a problem that it is necessary to grasp in advance the exact positions of all shot boundaries included in the moving image, and the positions cannot always be grasped in advance.
また、閾値等の変数が存在する場合には、あらゆる動画像に対して良好な算出結果を得るために、適切な変数を決定しておく必要があるが、変数を決定するための規則を検討する必要があり、その決定が困難であるという問題があった。 In addition, when there are variables such as thresholds, it is necessary to determine appropriate variables in order to obtain good calculation results for all moving images. However, consider rules for determining variables. There was a problem that it was necessary to do that and it was difficult to determine.
さらに、人が主観的にあいまい性を評価する手法では、同一人物が評価した複数の動画像に対して相対的に比較して評価することが可能であるが、その評価の基準は人の感性によるところが大きく、定量的に評価することができないという問題があった。 Furthermore, in the method in which a person subjectively evaluates ambiguity, it is possible to evaluate by relatively comparing multiple moving images evaluated by the same person, but the evaluation standard is human sensitivity. There is a problem that it cannot be quantitatively evaluated.
そこで、本発明は前記課題を解決するためになされたものであり、その目的は、動画像におけるショット境界のあいまい性を定量的に算出することにより、その動画像の質を評価する際の指標の一つとして利用可能な動画像評価装置を提供することにある。 Therefore, the present invention has been made to solve the above-mentioned problems, and its purpose is to provide an index for evaluating the quality of a moving image by quantitatively calculating the ambiguity of shot boundaries in the moving image. Another object is to provide a moving image evaluation apparatus that can be used.
上記課題を解決するため、本発明は、動画像を構成する隣接した2つのフレームについて、ショット境界を含む場合のフレーム間の画素における差分値の分布と、ショット境界を含まない場合のフレーム間の画素における差分値の分布とを算出し、これらの分布の近接度合い(距離)によってショット境界に対するあいまい性を算出する。 In order to solve the above-described problem, the present invention provides a distribution of difference values between pixels when two adjacent frames constituting a moving image include a shot boundary and between frames when a shot boundary is not included. The difference value distribution in the pixel is calculated, and the ambiguity with respect to the shot boundary is calculated based on the proximity degree (distance) of these distributions.
すなわち、本発明による動画像評価装置は、動画像におけるショット境界のあいまい性を評価する動画像評価装置において、動画像におけるショット境界を判定するショット境界判定部、動画像を構成する隣接した2つのフレームについて、ショット境界を含む場合のフレーム間の画素における差分値の分布を算出すると共に、ショット境界を含まない場合のフレーム間の画素における差分値の分布を算出する画素差分分布算出部、及び、動画像を構成する全てのフレームについて、前記ショット境界を含む場合のフレーム間の画素における差分値の分布と、前記ショット境界を含まない場合のフレーム間の画素における差分値の分布との間の近接度合いを、あいまい性の値として算出するあいまい性算出部を備えたことを特徴とする。 That is, the moving image evaluation apparatus according to the present invention is a moving image evaluation apparatus that evaluates the ambiguity of shot boundaries in a moving image, a shot boundary determination unit that determines a shot boundary in a moving image, and two adjacent two that constitute a moving image. For a frame, a pixel difference distribution calculation unit that calculates a distribution of difference values in pixels between frames when including a shot boundary, and calculates a distribution of difference values in pixels between frames when not including a shot boundary, and Proximity between the distribution of difference values in pixels between frames when the shot boundary is included and the distribution of difference values in pixels between frames when the shot boundary is not included for all frames constituting the moving image An ambiguity calculation unit for calculating the degree as an ambiguity value is provided.
また、ショット境界が事前に判明している場合は、前記ショット境界判定部が、予め設定されたショット境界のフレーム番号に基づいてショット境界を判定することが好適である。また、ショット境界が事前に判明していない場合は、前記ショット境界判定部が、予め設定された時間間隔のタイミングにて、動画像におけるショット境界であると判定することが好適である。 When the shot boundary is known in advance, it is preferable that the shot boundary determination unit determines the shot boundary based on a preset frame number of the shot boundary. In addition, when the shot boundary is not known in advance, it is preferable that the shot boundary determination unit determines that it is a shot boundary in a moving image at a timing of a preset time interval.
また、前記画素差分分布算出部が、ショット境界を含む場合及び含まない場合のフレーム間の画素における差分値の分布を、その画素の輝度値、色相値及び彩度のうちのいずれかにより算出することが好適である。 Further, the pixel difference distribution calculation unit calculates a distribution of difference values between pixels when the shot boundary is included and when the shot boundary is not included, by any one of the luminance value, the hue value, and the saturation of the pixel. Is preferred.
また、前記画素差分分布算出部が、動画像を構成する隣接した2つのフレームについて、ショット境界を含む場合及び含まない場合のフレーム間の画素における差分値の出現頻度を該差分値毎に算出し、前記算出した差分値毎の出現頻度を、動画像を構成する全てのフレームについて加算して正規化し、動画像全体に対する差分値毎の分布を算出し、前記あいまい性算出部が、前記ショット境界を含む場合の動画像全体に対する差分値毎の分布と、前記ショット境界を含まない場合の動画像全体に対する差分値毎の分布との間の近接度合いを、あいまい性の値として算出することが好適である。 In addition, the pixel difference distribution calculation unit calculates, for each difference value, the frequency of appearance of the difference value in the pixel between the frames when the adjacent two frames constituting the moving image include and do not include the shot boundary. The appearance frequency for each calculated difference value is normalized by adding all frames constituting the moving image, and the distribution for each difference value with respect to the entire moving image is calculated. It is preferable to calculate the degree of proximity between the distribution for each difference value with respect to the entire moving image in the case of including the image and the distribution for each difference value with respect to the entire moving image in the case of not including the shot boundary as an ambiguity value. It is.
以上のように、本発明によれば、動画像におけるショット境界のあいまい性を定量的に算出することができ、その動画像の質を評価する際の指標の一つとして利用可能な動画像評価装置を実現することが可能となる。 As described above, according to the present invention, it is possible to quantitatively calculate the ambiguity of shot boundaries in a moving image, and the moving image evaluation that can be used as one of indices for evaluating the quality of the moving image. An apparatus can be realized.
以下、本発明を実施するための最良の形態について図面を用いて詳細に説明する。
本発明を実施するための最良の形態は、実施例1及び実施例2により具現化できる。実施例1は、動画像に含まれるショット境界が事前に判明している場合を想定しており、実施例2は、動画像に含まれるショット境界が事前に判明していない場合を想定している。実施例1では、動画像のフレーム間にショット境界を含む場合の画素差分分布、及びショット境界を含まない場合の画素差分分布に基づいてショット境界のあいまい性を算出する。これに対し、実施例2では、動画像において経験的に得られているショット境界の出現頻度により、仮想的なショット境界(以下、みなしショット境界という。)を設定する。そして、動画像のフレーム間にみなしショット境界を含む場合の画素差分分布、及びみなしショット境界を含まない場合のフレーム間の画素差分分布に基づいてショット境界のあいまい性を算出する。以下、実施例1及び2について詳細に説明する。
Hereinafter, the best mode for carrying out the present invention will be described in detail with reference to the drawings.
The best mode for carrying out the present invention can be realized by the first embodiment and the second embodiment. The first embodiment assumes a case where the shot boundary included in the moving image is known in advance, and the second embodiment assumes a case where the shot boundary included in the moving image is not known in advance. Yes. In the first embodiment, the ambiguity of the shot boundary is calculated based on the pixel difference distribution when the shot boundary is included between the frames of the moving image and the pixel difference distribution when the shot boundary is not included. On the other hand, in the second embodiment, a virtual shot boundary (hereinafter referred to as a deemed shot boundary) is set based on the appearance frequency of shot boundaries obtained empirically in a moving image. Then, the ambiguity of the shot boundary is calculated based on the pixel difference distribution when the deemed shot boundary is included between the frames of the moving image and the pixel difference distribution between the frames when the deemed shot boundary is not included. Hereinafter, Examples 1 and 2 will be described in detail.
まず、実施例1について説明する。前述のように、実施例1は、動画像に含まれるショット境界が事前に判明している場合の例である。図1は、本発明の実施の形態による実施例1の動画像評価装置の構成を示すブロック図である。また、図2は、実施例1の処理手順を示すフローチャート図である。この動画像評価装置1は、動画像入力部11、ショット境界判定部12、画素差分分布算出部13、ショット境界あいまい性算出部14、ショット境界情報記憶部21、フレーム記憶部22、及び画素差分分布記憶部23を備えている。
First, Example 1 will be described. As described above, the first embodiment is an example when the shot boundary included in the moving image is known in advance. FIG. 1 is a block diagram showing a configuration of a moving image evaluation apparatus of Example 1 according to the embodiment of the present invention. FIG. 2 is a flowchart showing the processing procedure of the first embodiment. The moving
動画像入力部11は、番組単位または映像クリップ単位の動画像を入力し、この動画像からフレームを時系列に順次取り出し、取り出したフレームをショット境界判定部12に出力する(ステップS21)。
The moving
ショット境界判定部12は、動画像入力部11からフレームを入力し、ショット境界情報記憶部21からショット境界情報を読み出す。ここで、ショット境界情報記憶部21には、ショット境界となるフレーム番号(ショットにおける先頭のフレーム番号)であるショット境界情報が予め格納されている。そして、ショット境界判定部12は、入力したフレーム及びショット境界情報に基づいて、そのフレームの番号がショットの先頭フレーム番号であるか否か(そのフレームがショットの先頭フレームであるか否か)を判定し、そのフレームが先頭フレームである場合はショット境界有の信号を画素差分分布算出部13に出力し、そのフレームが先頭フレームでない場合はショット境界無の信号を画素差分分布算出部13に出力する(ステップS21)。また、そのフレームを現フレームとしてフレーム記憶部22に格納する。これにより、フレーム記憶部22には、時系列のフレームが格納される。
The shot
画素差分分布算出部13は、ショット境界判定部12からショット境界有無信号を入力し、フレーム記憶部22から現フレーム及び直前フレーム(現フレームの直前にフレーム記憶部22に格納されたフレーム)を読み出す。
The pixel difference
そして、ショット境界有の信号の場合(現フレームがショットの先頭フレームである場合)に、直前フレーム(直前のショットの最終フレーム)と現フレーム(ショットの先頭フレーム)との間の画素の差分を算出し(ステップS22)、フレーム間にショット境界を含む場合の分布として画素差分分布記憶部23に格納する(ステップS23)。また、ショット境界無の信号の場合(現フレームがショットの先頭フレームでない場合)に、直前フレームと現フレーム(直前フレームが属するショットと同一のショットのフレーム)との間の画素の差分を算出し(ステップS22)、フレーム間にショット境界を含まない場合の分布として画素差分分布記憶部23に格納する(ステップS23)。このようにして、画素差分分布記憶部23には、動画像全体の画素差分分布が、ショット境界を含む場合と含まない場合とに区別して格納される。
In the case of a signal with a shot boundary (when the current frame is the first frame of a shot), the pixel difference between the previous frame (the last frame of the previous shot) and the current frame (the first frame of the shot) is calculated. It is calculated (step S22) and stored in the pixel difference
具体的には、画素差分分布算出部13は、以下の式により、直前フレームと現フレームとの間の画素の差分から、フレーム間の画素差分分布を、ショット境界を含む場合と含まない場合とに区別してそれぞれ算出する。
ここで、ft1(x,y)は直前フレームt1の座標(x,y)における画素値を示し、ft2(x,y)は現フレームt2の座標(x,y)における画素値を示し、vは座標(x,y)におけるフレーム間の画素差分値を示す。また、Histgramは、フレームt1とフレームt2との間の画素差分分布であり、画素差分値がvであるものの出現頻度を示す。
Specifically, the pixel difference
Here, f t1 (x, y) indicates the pixel value at the coordinate (x, y) of the immediately preceding frame t1, and f t2 (x, y) indicates the pixel value at the coordinate (x, y) of the current frame t2. , V indicates a pixel difference value between frames at coordinates (x, y). Histgram is a pixel difference distribution between the frame t1 and the frame t2, and indicates the appearance frequency of a pixel difference value of v.
尚、画素差分分布算出部13は、画素値ft1(x,y),ft2(x,y)を用いて画素差分分布を算出するようにしたが、この画素値は輝度値、色相値、彩度を含む概念である。また、画素差分分布算出部13は、画素値の差分の絶対値|ft1(x,y)−ft2(x,y)|を用いて画素差分分布を算出するようにしたが、画素値の差分の絶対値の代わりに、画素値の差分の絶対値の2乗を用いて画素差分分布を算出するようにしてもよい。
The pixel difference
また、画素差分分布算出部13は、以下の式により、前述の(2)式に示すフレーム間の画素差分分布をそれぞれ加算し、動画像全体のフレーム数で正規化することにより、動画像全体に対する画素差分分布を、ショット境界を含む場合と含まない場合とに区別してそれぞれ算出する。
ここで、Histは動画像全体に対する画素差分分布を示し、tnはフレーム番号nのフレームを示し、Tは、動画像全体におけるショット境界を含む場合のフレーム総数または含まない場合のフレーム総数を示す。
In addition, the pixel difference
Here, Hist indicates the pixel difference distribution for the entire moving image, tn indicates the frame of frame number n, and T indicates the total number of frames when the shot boundary is included in the entire moving image or the total number of frames when it does not include.
図5は、画素差分分布算出部13により算出された動画像全体における画素差分分布Hist(v)例を示す図である。横軸が画素の差分値、縦軸がその出現頻度を示している。尚、縦軸の画素の差分値は、画素値を0から255までの256段階で量子化されている。図5によれば、ショット境界を含む場合には、画素の差分値が0に近い箇所で小さなピークになり、全体的に均一な出現頻度となっていることがわかる。これに対し、ショット境界を含まない場合には、画素の差分値が0に近い箇所で突出したピークになっていることがわかる。
FIG. 5 is a diagram illustrating an example of the pixel difference distribution Hist (v) in the entire moving image calculated by the pixel difference
図1及び図2に戻って、画素差分分布算出部13は、動画像全体の全フレームについて前述の処理が完了すると(ステップS24)、全フレーム完了の信号をショット境界あいまい性算出部14に出力する。
Returning to FIGS. 1 and 2, when the above-described processing is completed for all frames of the entire moving image (Step S <b> 24), the pixel difference
ショット境界あいまい性算出部14は、画素差分分布算出部13から全フレーム完了の信号を入力すると、画素差分分布記憶部23からショット境界を含む場合の画素差分分布及びショット境界を含まない場合の画素差分分布を読み出し、以下の式により動画像におけるショット境界のあいまい性を算出する(ステップS25)。
ここで、Obsはあいまい性、thrは画素差分値の閾値、Vは画素差分値の量子化ステップ数をそれぞれ示す。また、HistSB(v)は、ショット境界を含む場合の分布において値がvであるときの出現頻度(出現確率)を示し、HistNSB(v)はショット境界を含まない場合の分布において値がvであるときの出現頻度を示す((3)式により算出された動画像全体に対する画素差分分布を示す)。尚、あいまい性は、0≦Obs≦100の範囲の値である。
When the shot boundary
Here, Obs is an ambiguity, thr is a threshold value of the pixel difference value, and V is a quantization step number of the pixel difference value. Hist SB (v) indicates the appearance frequency (appearance probability) when the value is v in the distribution when the shot boundary is included, and Hist NSB (v) has a value in the distribution when the shot boundary is not included. The appearance frequency when v is shown (the pixel difference distribution for the entire moving image calculated by the equation (3) is shown). The ambiguity is a value in the range of 0 ≦ Obs ≦ 100.
図6は、ドラマ番組を対象とする動画像の場合の画素差分分布Hist(v)例及びあいまい性の値を示す図である。また、図7は、サッカー番組を対象とする動画像の場合の画素差分分布Hist(v)例及びあいまい性を示す図である。図6及び図7によれば、カメラの動きがほとんどない図6の動画像の方が、カメラの動きが激しい図7の動画像よりも、ショット境界を含む場合の分布と含まない場合の分布とが近接していないことがわかる。この場合、前述の(4)式により、図6のあいまい性は3.2828であり、図7のあいまい性は9.7436である。したがって、カメラの動きがほとんどないドラマ番組や教育番組の場合にはあいまい性の値は小さくなり、カメラの動きが激しいスポーツ番組の場合にはあいまい性の値は大きくなる。 FIG. 6 is a diagram illustrating an example of a pixel difference distribution Hist (v) and a value of ambiguity in the case of a moving image targeting a drama program. FIG. 7 is a diagram illustrating an example of pixel difference distribution Hist (v) and ambiguity in the case of a moving image targeting a soccer program. According to FIGS. 6 and 7, the moving image of FIG. 6 with little camera movement includes the distribution with and without the shot boundary than the moving image of FIG. It can be seen that and are not close to each other. In this case, the ambiguity of FIG. 6 is 3.2828 and the ambiguity of FIG. Therefore, the value of ambiguity is small for a drama program or an educational program with little camera movement, and the value of ambiguity is large for a sports program with intense camera movement.
図8は、画素差分分布算出部13により算出された動画像全体における画素差分分布Hist(v)において、ショット境界の検出が容易な例及び困難な例を示す図である。図7左図に示すように、ショット境界を含む場合の分布と含まない場合の分布とが近接していないときは、ショット境界が明確になり、あいまい性の値は小さくなり、その検出は容易になる。一方、右図に示すように、両分布が近接しているときは、ショット境界があいまいになり、あいまい性の値は大きくなり、その検出は困難になる。
FIG. 8 is a diagram illustrating an example in which shot boundary detection is easy and difficult in the pixel difference distribution Hist (v) in the entire moving image calculated by the pixel difference
以上のように、図1に示した実施例1の動画像評価装置1によれば、動画像におけるショット境界のあいまい性を定量的に算出することができ、その動画像の質を評価する際の指標の一つとして利用することが可能となる。例えば、どの程度の難しさの動画像に対してどの程度の性能を得られるかといった評価や、ある動画像に対して最適な装置を選択する等の用途に利用することができる。
As described above, according to the moving
また、図1に示した実施例1の動画像評価装置1によれば、動画像におけるショット境界のあいまい性を定量的に算出することにより、そのあいまい性の値に応じて処理を分岐させたり、閾値を変更したりすることができる。たとえば、あいまい性の値が大きい場合にブロックマッチング法を選択したり、その値が小さい場合に輝度差分を用いた手法を選択したり、その値が中間値の場合にヒストグラムを用いた手法を選択したり等、あいまい性の値に応じて処理を分岐させることができる。
Further, according to the moving
また、図1に示した実施例1の動画像評価装置1によれば、動画像におけるショット境界のあいまい性を定量的に算出することにより、テレビ番組や映画等の制作者は、このあいまい性の値を、制作したコンテンツの質を評価するための指標として利用することができる。
In addition, according to the moving
また、図1に示した実施例1の動画像評価装置1によれば、動画像におけるショット境界のあいまい性を定量的に算出することにより、このあいまい性の値を、瞬時にショットの切り替えを行うカットの場合だけでなく、複数のフレームに渡って徐々に動画像の切り替えを行うディゾルブやワイプの場合における評価の指標として利用することができる。
Further, according to the moving
次に、実施例2について説明する。前述のように、実施例2は、動画像に含まれるショット境界が事前に判明していない場合の例である。図3は、本発明の実施の形態による実施例2の動画像評価装置の構成を示すブロック図である。また、図4は、実施例2の処理手順を示すフローチャート図である。この動画像評価装置2は、動画像入力部11、ショット境界判定部32、画素差分分布算出部13、ショット境界あいまい性算出部14、フレーム記憶部22、及び画素差分分布記憶部23を備えている。図1に示した実施例1の動画像評価装置1とこの実施例2の動画像評価装置2とを比較すると、両装置とも、動画像入力部11、画素差分分布算出部13、ショット境界あいまい性算出部14、フレーム記憶部22及び画素差分分布記憶部23を備えている点で同一であるが、実施例2の動画像評価装置2が、ショット境界判定部12とは異なるショット境界判定部32を備えている点、及びショット境界情報記憶部21を備えていない点で相違する。
Next, Example 2 will be described. As described above, the second embodiment is an example where the shot boundary included in the moving image is not known in advance. FIG. 3 is a block diagram showing a configuration of the moving image evaluation apparatus of Example 2 according to the embodiment of the present invention. FIG. 4 is a flowchart illustrating a processing procedure according to the second embodiment. The moving image evaluation apparatus 2 includes a moving
また、実施例2の動画像評価装置2は、動画像に含まれるショット境界が事前に判明していない場合に、仮想的なショット境界であるみなし境界を設定し、フレーム間の画素差分分布をみなしショット境界を含む場合と含まない場合とに区別してそれぞれ算出し、動画像全体に対する画素差分分布をみなしショット境界を含む場合と含まない場合とに区別してそれぞれ算出し、そして、動画像に対するあいまい性を算出する。以下、具体的に説明する。尚、動画像入力部11、画素差分分布算出部13、ショット境界あいまい性算出部14、フレーム記憶部22及び画素差分分布記憶部23は、図1に示した実施例1のものと同一であるので、ここでは説明を省略する。
The moving image evaluation apparatus 2 according to the second embodiment sets a deemed boundary that is a virtual shot boundary when the shot boundary included in the moving image is not known in advance, and calculates a pixel difference distribution between frames. Calculated separately for cases with and without deemed shot boundaries, calculated pixel difference distributions for the entire moving image separately for cases with and without deemed shot boundaries, and ambiguity for moving images Calculate gender. This will be specifically described below. The moving
ショット境界判定部32は、動画像入力部11からフレームを入力し、図示しないタイマーにより時間をカウントし、予め設定された時間(例えば10秒)が経過する毎に、その入力したフレームがショットの先頭フレームであると仮想的に判定し(ステップS31)、ショット境界有の信号を画素差分分布算出部13に出力する。また、予め設定された時間が経過していない場合は、ショット境界無の信号を画素差分分布算出部13に出力する。すなわち、予め設定された時間のタイミングのフレームをショット境界のフレームであるとみなし、みなしショット境界有の信号を出力する。それ以外のタイミングではショット境界でないとみなし、みなしショット境界無の信号を出力する。
The shot
画素差分分布算出部13は、ショット境界判定部32により判定されたみなしショット境界有無の信号を入力し、この信号を用いて、図1に示した実施例1の場合と同様に、(2)式によりフレーム間の画素差分分布をみなしショット境界を含む場合と含まない場合とに区別してそれぞれ算出し、(3)式により動画像全体に対する画素差分分布をみなしショット境界を含む場合と含まない場合とに区別してそれぞれ算出する(ステップS32,33,34)。また、ショット境界あいまい性算出部14は、図1に示した実施例1の場合と同様に、(4)式により動画像に対するあいまい性を算出する(ステップS35)。
The pixel difference
ここで、ショット境界判定部32において、予め設定された時間は、10秒であることが望ましい。これは、通常のコンテンツの動画像において、ショット境界のタイミングは10秒に1回程度であることが統計的及び経験的に認識されているからである。この場合、30フレーム/秒の動画像では、ショット境界の発生頻度が0.3%程度となる。したがって、画素差分分布算出部13が(3)式により算出する、みなしショット境界を含まない場合の動画像全体に対する画素差分分布は、実際のショット境界の画素差分分布が含まれるとしてもその誤差が0.3%程度に過ぎないから、ほぼ正確な分布になると考えられる。また、みなしショット境界を含まない場合の動画像全体に対する画素差分分布の算出においては、1つのショット内に複数のみなしショット境界が含まれる可能性はあるが、動画像が十分に長い(動画像のフレームの数が十分に多い)場合には、1つのショット内に複数のみなしショット境界が含まれることによる誤差は無視できるものとなる。つまり、みなしショット境界を含まない場合の動画像全体に対する画素差分分布は、動画像が時間的に長くなればなる程、正確な分布に近くなると考えられる。
Here, it is desirable that the preset time in the shot
以上のように、図3に示した実施例2の動画像評価装置2によれば、動画像に含まれるショット境界が事前に判明していない場合であっても、動画像におけるショット境界のあいまい性を定量的に算出することができ、その動画像の質を評価する際の指標の一つとして利用することが可能となる。また、図3に示した実施例2の動画像評価装置2によれば、図1に示した実施例1の動画像評価装置1と同様の効果を奏する。
As described above, according to the moving image evaluation apparatus 2 of the second embodiment shown in FIG. 3, even when the shot boundary included in the moving image is not known in advance, the shot boundary in the moving image is ambiguous. Therefore, it is possible to quantitatively calculate the image quality and use it as one of indices for evaluating the quality of the moving image. Moreover, according to the moving image evaluation apparatus 2 of Example 2 shown in FIG. 3, there exists an effect similar to the moving
尚、実施例1の動画像評価装置1及び実施例2の動画像評価装置2は、CPU、RAM等の揮発性の記憶媒体、ROM等の不揮発性の記憶媒体、及びインターフェース等を備えたコンピュータによって構成される。動画像評価装置1に備えた動画像入力部11、ショット境界判定部12、画素差分分布算出部13、ショット境界あいまい性算出部14、ショット境界情報記憶部21、フレーム記憶部22及び画素差分分布記憶部23の各機能、及び、動画像評価装置2に備えた動画像入力部11、ショット境界判定部32、画素差分分布算出部13、ショット境界あいまい性算出部14、フレーム記憶部22及び画素差分分布記憶部23の各機能は、これらの機能を記述したプログラムをCPUに実行させることによりそれぞれ実現される。また、これらのプログラムは、磁気ディスク(フロッピィーディスク、ハードディスク等)、光ディスク(CD−ROM、DVD等)、半導体メモリ等の記憶媒体に格納して頒布することもできる。
The moving
1,2 動画像評価装置
11 動画像入力部
12,32 ショット境界判定部
13 画素差分分布算出部
14 ショット境界あいまい性算出部
21 ショット境界情報記憶部
22 フレーム記憶部
23 画素差分分布記憶部
DESCRIPTION OF
Claims (5)
動画像におけるショット境界を判定するショット境界判定部、
動画像を構成する隣接した2つのフレームについて、ショット境界を含む場合のフレーム間の画素における差分値の分布を算出すると共に、ショット境界を含まない場合のフレーム間の画素における差分値の分布を算出する画素差分分布算出部、及び、
動画像を構成する全てのフレームについて、前記ショット境界を含む場合のフレーム間の画素における差分値の分布と、前記ショット境界を含まない場合のフレーム間の画素における差分値の分布との間の近接度合いを、あいまい性の値として算出するあいまい性算出部を備えたことを特徴とする動画像評価装置。 In a moving image evaluation apparatus that evaluates ambiguity of shot boundaries in moving images,
A shot boundary determination unit for determining a shot boundary in a moving image;
For two adjacent frames that make up a moving image, calculate the distribution of difference values between pixels when the shot boundary is included, and calculate the distribution of difference values between pixels when the shot boundary is not included A pixel difference distribution calculating unit, and
Proximity between the distribution of difference values in pixels between frames when the shot boundary is included and the distribution of difference values in pixels between frames when the shot boundary is not included for all frames constituting the moving image A moving image evaluation apparatus comprising an ambiguity calculation unit that calculates a degree as an ambiguity value.
前記ショット境界判定部が、予め設定されたショット境界のフレーム番号に基づいてショット境界を判定することを特徴とする動画像評価装置。 The moving image evaluation apparatus according to claim 1,
The moving image evaluation apparatus, wherein the shot boundary determination unit determines a shot boundary based on a preset frame number of the shot boundary.
前記ショット境界判定部が、予め設定された時間間隔のタイミングにて、動画像におけるショット境界であると判定することを特徴とする動画像評価装置。 The moving image evaluation apparatus according to claim 1,
The moving image evaluation apparatus, wherein the shot boundary determination unit determines that it is a shot boundary in a moving image at a timing of a preset time interval.
前記画素差分分布算出部が、ショット境界を含む場合及び含まない場合のフレーム間の画素における差分値の分布を、その画素の輝度値、色相値及び彩度のうちのいずれかにより算出することを特徴とする動画像評価装置。 In the moving image evaluation device according to any one of claims 1 to 3,
The pixel difference distribution calculation unit calculates a distribution of difference values in pixels between frames when the shot boundary is included and when the shot boundary is not included, by any one of the luminance value, hue value, and saturation of the pixel. A moving image evaluation apparatus.
前記画素差分分布算出部が、動画像を構成する隣接した2つのフレームについて、ショット境界を含む場合及び含まない場合のフレーム間の画素における差分値の出現頻度を該差分値毎に算出し、前記算出した差分値毎の出現頻度を、動画像を構成する全てのフレームについて加算して正規化し、動画像全体に対する差分値毎の分布を算出し、
前記あいまい性算出部が、前記ショット境界を含む場合の動画像全体に対する差分値毎の分布と、前記ショット境界を含まない場合の動画像全体に対する差分値毎の分布との間の近接度合いを、あいまい性の値として算出することを特徴とする動画像評価装置。 In the moving image evaluation device according to any one of claims 1 to 4,
The pixel difference distribution calculating unit calculates, for each difference value, the frequency of appearance of a difference value in pixels between frames when a shot boundary is included and not included for two adjacent frames constituting a moving image, The calculated appearance frequency for each difference value is added and normalized for all the frames constituting the moving image, and the distribution for each difference value for the entire moving image is calculated,
The degree of proximity between the distribution for each difference value for the entire moving image when the ambiguity calculation unit includes the shot boundary and the distribution for each difference value for the entire moving image when the shot boundary is not included, A moving image evaluation apparatus characterized by being calculated as an ambiguity value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006303778A JP4589291B2 (en) | 2006-11-09 | 2006-11-09 | Video evaluation device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006303778A JP4589291B2 (en) | 2006-11-09 | 2006-11-09 | Video evaluation device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008124611A JP2008124611A (en) | 2008-05-29 |
JP4589291B2 true JP4589291B2 (en) | 2010-12-01 |
Family
ID=39508939
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006303778A Expired - Fee Related JP4589291B2 (en) | 2006-11-09 | 2006-11-09 | Video evaluation device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4589291B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8422795B2 (en) | 2009-02-12 | 2013-04-16 | Dolby Laboratories Licensing Corporation | Quality evaluation of sequences of images |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04111181A (en) * | 1990-08-31 | 1992-04-13 | Personal Joho Kankyo Kyokai | Change point detection method for moving image |
JPH0636026A (en) * | 1992-07-13 | 1994-02-10 | Toshiba Corp | Moving picture processor |
JP2003047031A (en) * | 2001-08-03 | 2003-02-14 | Nec Corp | Commercial detection method and apparatus therefor |
-
2006
- 2006-11-09 JP JP2006303778A patent/JP4589291B2/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04111181A (en) * | 1990-08-31 | 1992-04-13 | Personal Joho Kankyo Kyokai | Change point detection method for moving image |
JPH0636026A (en) * | 1992-07-13 | 1994-02-10 | Toshiba Corp | Moving picture processor |
JP2003047031A (en) * | 2001-08-03 | 2003-02-14 | Nec Corp | Commercial detection method and apparatus therefor |
Also Published As
Publication number | Publication date |
---|---|
JP2008124611A (en) | 2008-05-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109076198B (en) | Video-based object tracking occlusion detection system, method and equipment | |
US8818037B2 (en) | Video scene detection | |
US11270108B2 (en) | Object tracking method and apparatus | |
JP5032846B2 (en) | MONITORING DEVICE, MONITORING RECORDING DEVICE, AND METHOD THEREOF | |
US20190089923A1 (en) | Video processing apparatus for displaying a plurality of video images in superimposed manner and method thereof | |
US9373054B2 (en) | Method for selecting frames from video sequences based on incremental improvement | |
US20160260226A1 (en) | Method and apparatus for detecting object in moving image and storage medium storing program thereof | |
JP6354229B2 (en) | Extraction program, method, and apparatus | |
JP6292540B2 (en) | Information processing system, information processing method, and program | |
JP2011258180A5 (en) | ||
JP6349448B1 (en) | Information processing apparatus, information processing program, and information processing method | |
JP2016052013A (en) | Image processing device, image processing method, program and recording medium | |
JP4589291B2 (en) | Video evaluation device | |
KR101982258B1 (en) | Method for detecting object and object detecting apparatus | |
JP2021082999A5 (en) | SUBJECT TRACKING DEVICE AND CONTROL METHOD THEREOF, PROGRAM, AND STORAGE MEDIUM | |
Wong et al. | High-motion table tennis ball tracking for umpiring applications | |
KR100963701B1 (en) | Video identification device | |
Mahasseni et al. | Detecting the moment of snap in real-world football videos | |
EP2927872A1 (en) | Method and device for processing a video sequence | |
KR101667011B1 (en) | Apparatus and Method for detecting scene change of stereo-scopic image | |
JP2019040592A (en) | Information processing device, information processing program, and information processing method | |
KR101033296B1 (en) | Apparatus and method for extracting and decision-making of spatio-temporal feature in broadcasting and communication systems | |
JP5616743B2 (en) | Imaging apparatus and image processing method | |
KR101337833B1 (en) | Method for estimating response of audience concerning content | |
TWI695326B (en) | Object attribute analyzing method and related object attribute analyzing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090319 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100812 |
|
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: 20100817 |
|
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: 20100909 |
|
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: 20130917 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140917 Year of fee payment: 4 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |