JP3524007B2 - Moving image scene changing unit detecting apparatus and method, medium storing moving image scene changing unit detection control program, and moving image processing apparatus - Google Patents
Moving image scene changing unit detecting apparatus and method, medium storing moving image scene changing unit detection control program, and moving image processing apparatusInfo
- Publication number
- JP3524007B2 JP3524007B2 JP29249798A JP29249798A JP3524007B2 JP 3524007 B2 JP3524007 B2 JP 3524007B2 JP 29249798 A JP29249798 A JP 29249798A JP 29249798 A JP29249798 A JP 29249798A JP 3524007 B2 JP3524007 B2 JP 3524007B2
- Authority
- JP
- Japan
- Prior art keywords
- frames
- frame
- moving image
- dissimilarity
- display order
- 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
Landscapes
- Television Signal Processing For Recording (AREA)
- Image Analysis (AREA)
Description
【0001】[0001]
【発明が属する技術分野】本発明は、動画中のカット
点、ならびにディゾルブおよびワイプを含むトランジシ
ョン効果を用いた場面の転換点を検出するための動画場
面検出装置および方法ならびに該検出制御プログラムを
記憶した媒体と、該装置を用いた動画処理装置とに関す
る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention stores a moving picture scene detecting apparatus and method for detecting a cut point in a moving picture and a scene turning point using a transition effect including dissolve and wipe, and a detection control program thereof. And a moving image processing apparatus using the device.
【0002】[0002]
【従来の技術】図22は、動画の一般的な構成を説明す
るための模式図である。動画は、1または複数のショッ
トから構成される。ショットとは、すなわち場面であ
り、1つの場面を得るための1連の操作によって連続的
に撮影された1または複数のフレームの集合である。フ
レームとは、動画を構成する静止画に相当する。動画内
の連続する2つのショットが転換される部分、すなわち
動画転換部は、いわゆるカット点と、いわゆるトランジ
ション効果のためのフレームの集合がある部分であるト
ランジション部分との2種類がある。2. Description of the Related Art FIG. 22 is a schematic diagram for explaining a general structure of a moving image. The moving image is composed of one or a plurality of shots. A shot is a scene, that is, a set of one or a plurality of frames continuously shot by a series of operations for obtaining one scene. A frame corresponds to a still image that constitutes a moving image. There are two types of portions where two consecutive shots in a moving image are converted, that is, a moving image conversion portion, that is, a so-called cut point and a transition portion that is a portion where a set of frames for a so-called transition effect is present.
【0003】カット点とは、前記2つのショットがフレ
ーム間で切換わる点である。トランジション効果とは、
ショットの転換が、表示順が連続する複数のフレーム間
で徐々に起きるようにした効果であり、具体的には、た
とえばディゾルブおよびワイプが挙げられる。ディゾル
ブは、視聴者から見て、連続する2つのショットのうち
の先行ショットから該2つのショットのうちの後続ショ
ットが徐々に浮出してくるように見える効果である。ワ
イプは、先行ショットが後続ショットによって拭い去ら
れるように変化して、後続ショットに移る効果である。The cut point is a point at which the two shots are switched between frames. What is a transition effect?
Shot conversion is an effect that gradually occurs between a plurality of frames in which the display order is continuous, and specific examples thereof include dissolve and wipe. Dissolve is an effect that the viewer can see that the succeeding shot of the two shots gradually emerges from the preceding shot of the two consecutive shots. The wipe is an effect of changing the preceding shot so that it is wiped off by the succeeding shot and moving to the succeeding shot.
【0004】図23(A)〜(C)は、動画内の動画転
換部およびその近傍のフレームを、表示順に並列に並べ
て示す図である。図23(A)で示すように、2つのシ
ョット11,12がカット点13で転換される場合、2
つのショット11,12のうちの先行ショット11の末
尾のフレーム14が表示された後、該2つのフレームの
うちの後続ショット12の先頭のフレーム15が表示さ
れる。すなわち前記場合、カット点13は、先行ショッ
ト11の末尾のフレーム14と、後続ショット12の先
頭のフレーム15との間の点に相当する。またカット点
13の直前または直後のフレーム14,15が、カット
点のフレームと称されることがある。23 (A) to 23 (C) are diagrams showing a moving image conversion portion in a moving image and frames in the vicinity thereof, arranged in parallel in the order of display. As shown in FIG. 23A, when two shots 11 and 12 are converted at the cut point 13, 2
After the trailing frame 14 of the preceding shot 11 of the two shots 11 and 12 is displayed, the leading frame 15 of the succeeding shot 12 of the two frames is displayed. That is, in the above case, the cut point 13 corresponds to a point between the end frame 14 of the preceding shot 11 and the start frame 15 of the subsequent shot 12. Further, the frames 14 and 15 immediately before or after the cut point 13 may be referred to as the cut point frames.
【0005】図23(B),(C)で示すように、2つ
のショット21,22がトランジション部分23で転換
される場合、前記2つのショットのうちの先行ショット
21内の末尾から1または複数遡ったフレーム24が表
示された後、トランジション部分23を構成する1また
は複数の合成フレームが表示され、表示後、2つのショ
ットのうちの後続ショット22内の先頭から1または複
数進んだフレーム25が表示される。前記複数の合成フ
レームは、先行ショット21内の前記遡ったフレーム2
4の次から該先行ショット21の末尾までの1または複
数のフレームと、後続ショット22内の先頭から該後続
ショット22の前記進んだフレーム25よりも1つ手前
までの1または複数のフレームとが、それぞれ合成され
て構成される。これらフレームの合成手法は、トランジ
ション効果の具体的な手法に応じて異なる。As shown in FIGS. 23 (B) and 23 (C), when two shots 21 and 22 are converted at the transition part 23, one or a plurality of them from the end in the preceding shot 21 of the two shots. After the retrospective frame 24 is displayed, one or a plurality of composite frames that form the transition portion 23 are displayed, and after the display, a frame 25 that advances one or more from the beginning in the subsequent shot 22 of the two shots is displayed. Is displayed. The plurality of composite frames are the backward frames 2 in the preceding shot 21.
4 to the end of the preceding shot 21 and one or a plurality of frames from the beginning in the succeeding shot 22 to one frame before the advanced frame 25 of the succeeding shot 22. , And are composed respectively. The method of synthesizing these frames differs depending on the specific method of the transition effect.
【0006】近年、動画の内容把握を容易にするために
動画内の各ショットの一覧表示を行うため、または動画
内のショットの検索を容易にするために、動画内の場面
転換部の検出に関する従来技術が多数提案されている。
特開平3−214364号公報、特開平6−89545
号公報、特開平6−319108号公報、特開平8−1
39995号公報および特開平4−111181号公報
は、前記従来技術のうちのカット点の検出に関する技術
を開示する。また特開平7−288840号公報および
特開平8−214210号公報は、前記カット点および
トランジション部分の検出に関する技術を開示する。こ
れら公報において、動画は映像と称されることがあり、
ショットはシーンと称されることがあり、カット点はシ
ーン変化と称されることがある。[0006] In recent years, in order to display a list of shots in a moving image to facilitate understanding of the content of the moving image, or to facilitate search for shots in the moving image, the present invention relates to detection of a scene change portion in the moving image. Many conventional techniques have been proposed.
JP-A-3-214364 and JP-A-6-89545
JP-A-6-319108, JP-A-8-1
Japanese Patent Laid-Open No. 39995 and Japanese Patent Laid-Open No. 4-111181 disclose a technique relating to detection of a cut point among the above-mentioned conventional techniques. Further, JP-A-7-288840 and JP-A-8-214210 disclose techniques relating to detection of the cut point and the transition portion. In these publications, moving images are sometimes called images,
Shots are sometimes referred to as scenes and cut points are sometimes referred to as scene changes.
【0007】一般的にカット点検出に関する従来技術
は、動画内の連続する2つのフレーム間の相関に関する
指標を、該フレームを該動画内でずらしながらそれぞれ
求め、該指標が予め定める閾値未満になった2つのフレ
ーム間にカット点があると判断する。特開平3−214
364号公報のシーン変化検出方法を用いる装置は、前
記指標として、前記2つのフレームの輝度ヒストグラム
の差分を求める。特開平6−89545号公報の場面転
換部検出方法を用いた装置は、前記指標として、前記2
つのフレームをそれぞれ構成する複数の画素のうち、両
フレームで相互に異なる画素の数を用いる。特開平6−
319108号公報のシーン変化検出装置は、前記指標
として、前記2つのフレームをそれぞれ構成する複数の
画素のうち、該2つのフレーム間の特徴ベクトルの分布
の誤差に相当する距離が予め定める閾値未満である画素
の数を用いる。特開平8−139995号公報のシーン
変化点検出方法を用いる装置は、前記指標として、前記
2つのフレーム間の画素値ヒストグラムのχ二乗分布を
用いる。また特開平4−111181号公報の変換点検
出方法を用いる装置は、カット点の誤検出を防止するた
めに、前記相関の変化率を前記指標として用いている。[0007] Generally, in the prior art relating to the detection of cut points, an index relating to the correlation between two consecutive frames in a moving image is obtained while shifting the frame in the moving image, and the index becomes less than a predetermined threshold value. It is determined that there is a cut point between the two frames. JP-A-3-214
An apparatus using the scene change detection method of Japanese Patent No. 364 obtains the difference between the luminance histograms of the two frames as the index. An apparatus using the method for detecting a scene change portion disclosed in Japanese Patent Laid-Open No. 6-89545 uses the above-mentioned 2 as the index.
Of the plurality of pixels that respectively configure one frame, the numbers of pixels that are different from each other in both frames are used. JP-A-6-
In the scene change detecting device of Japanese Patent No. 319108, the distance corresponding to the error in the distribution of the feature vector between the two frames is less than a predetermined threshold value among the plurality of pixels forming each of the two frames as the index. Use the number of pixels. An apparatus using the scene change point detection method disclosed in Japanese Patent Laid-Open No. 8-139995 uses, as the index, a χ square distribution of a pixel value histogram between the two frames. An apparatus using the conversion point detection method disclosed in JP-A-4-111181 uses the rate of change of the correlation as the index in order to prevent erroneous detection of a cut point.
【0008】特開平7−288840号公報の映像変化
点検出方法を用いる装置は、1つの動画内の複数種類の
動画転換部を検出するために、ディゾルブおよびそれに
類似の効果を用いる場面転換部と、ワイプおよびそれに
類似の効果を用いる場面転換部と、カメラ動作に起因す
る場面転換部と、カット点とをそれぞれ検出するための
処理を、1つの動画に対し順次行う。特開平8−214
210号公報の映像カット点検出装置は、動画内の連続
する複数のフレームからなる区間内の全ての組合わせの
フレーム間の画像間距離を求めてテーブルとして記憶
し、該テーブル内の画像間距離に基づいて前記区間内の
フレームの変化率を求め、該変化率と予め定める閾値と
の大小関係に基づいて、該区間が動画転換部であるかど
うかを判断する。該公報において、画像間距離とは、前
記組合わせのフレームの相違度に相当する。An apparatus using the image change point detecting method disclosed in Japanese Patent Application Laid-Open No. 7-288840 includes a scene changing section that uses dissolves and similar effects in order to detect a plurality of types of moving picture changing sections in one moving picture. , A scene change section using wipes and similar effects, a scene change section caused by camera movement, and a cut point are sequentially detected for one moving image. JP-A-8-214
The image cut point detection device of Japanese Patent Laid-Open No. 210 obtains the inter-image distances between frames of all combinations in a section consisting of a plurality of consecutive frames in a moving image and stores them as a table, and the inter-image distances in the table. Then, the rate of change of the frames in the section is obtained, and it is determined whether the section is the moving image conversion unit based on the magnitude relationship between the rate of change and a predetermined threshold value. In the publication, the inter-image distance corresponds to the degree of difference between the combined frames.
【0009】[0009]
【発明が解決しようとする課題】トランジション部分を
含む動画内の任意の連続する2つのフレームの相関は、
該フレームが動画内のどの位置にある場合でも、カット
点を挟む2つのフレームの相関よりも充分に高いことが
多い。このため上述の複数の公報にそれぞれ開示された
カット点検出のための装置を用い、連続する2つのフレ
ームの相関と閾値との大小関係に基づいて、トランジシ
ョン部分を検出することは困難である。The correlation between any two consecutive frames in a moving image including a transition part is
Regardless of the position of the frame in the moving image, it is often sufficiently higher than the correlation between the two frames that sandwich the cut point. Therefore, it is difficult to detect the transition part based on the magnitude relationship between the correlation between two consecutive frames and the threshold value, using the devices for detecting the cut points disclosed in the above-mentioned publications.
【0010】また特開平7−288840号公報の方法
を用いる装置において、動画に施される前記複数の処理
は、相互に異なる種類のトランジション効果をそれぞれ
用いた動画転換部だけを、それぞれ検出する。このため
前記装置は、検出するべき動画転換部の種類が複数ある
ならば、各種類の動画転換部の検出に特有の処理を1つ
の動画にそれぞれ施す必要がある。この結果検出するべ
き動画転換部の種類が増加するほど、動画に施すべき処
理の数が増加するため、動画転換部検出に拘わる処理全
体が複雑になる。また前記装置は前記複数の処理のため
の手段をそれぞれ備える必要があるので、装置が複雑に
なる。Further, in the apparatus using the method disclosed in Japanese Patent Laid-Open No. 7-288840, the plurality of processings applied to the moving images detect only the moving image converting sections respectively using the transition effects of different kinds. Therefore, if there are a plurality of types of moving picture conversion units to be detected, the apparatus needs to perform a process specific to the detection of each type of moving picture conversion unit on each moving picture. As a result, the number of processes to be performed on a moving image increases as the types of moving image converting units to be detected increase, and thus the entire process related to detecting a moving image converting unit becomes complicated. Further, since the apparatus needs to be provided with each of the means for the plurality of processes, the apparatus becomes complicated.
【0011】さらにまた特開平8−214210号公報
の装置は、前記区間内の全てのフレーム間の画像間距離
をテーブルの作成に際し、動画内で前記区間が1フレー
ム分だけシフトされた場合、少なくとも該区間内のフレ
ームの数と同数の画像間距離を新たに演算する必要があ
る。このため前記装置は、前記動画転換部の検出に関す
る演算に、非常に時間がかかる。Further, in the apparatus disclosed in Japanese Patent Laid-Open No. 8-214210, at the time of creating the table of the inter-image distances between all the frames in the section, at least when the section is shifted by one frame in the moving image, It is necessary to newly calculate as many inter-image distances as there are frames in the section. Therefore, the device takes a very long time to perform the calculation regarding the detection of the moving image conversion unit.
【0012】本発明の目的は、トランジション効果の種
類に拘わりなく、トランジション効果を用いた動画転換
部を、容易に検出することができる動画転換部検出装置
および方法ならびに動画転換部検出制御プログラムを記
憶した媒体と、該動画転換部検出装置を用いた動画処理
装置とを、提供することである。An object of the present invention is to store a moving picture conversion unit detecting apparatus and method and a moving picture conversion unit detection control program capable of easily detecting a moving picture conversion unit using the transition effect regardless of the type of the transition effect. And a moving image processing device using the moving image conversion unit detection device.
【0013】[0013]
【課題を解決するための手段】第1の発明は、複数のシ
ョットから構成される動画を記憶し、該各ショットは特
徴が同一または近似しかつ時間経過に伴って順次的に表
示されるべき複数のフレームからそれぞれ構成される動
画記憶手段と、前記各フレームを1または複数の領域に
区分し、前記各フレーム内の各領域を代表する少なくと
も1つの色と該各領域内の該色の出現頻度とをそれぞれ
検出して、該各フレーム内の全ての領域の検出された色
および出現頻度の組合わせを、前記各フレームの前記特
徴を示す特徴データとして出力する特徴データ生成手段
と、前記動画内のいずれか1つのフレームである第1フ
レームの、前記動画内のフレームの表示順に予め定める
複数の基準枚数だけ該第1フレームからそれぞれ離れた
複数の第2フレームとの特徴の相違の程度をそれぞれ表
す複数の離反フレーム間相違度を、前記特徴データに基
づいて、前記第1フレームをずらしてそれぞれ演算する
離反フレーム間相違度演算手段と、前記フレームの前記
各第2フレームに対応する離反フレーム間相違度の前記
表示順に従う変化の特性を、それぞれ検出する特性検出
手段と、前記特性検出手段によって検出された特性に基
づいて、動画内の表示順が隣接するべきフレームが重な
って合成されたトランジション効果を有する合成フレー
ムを、動画内から検出するトランジション検出手段とを
含むことを特徴とする動画場面転換部検出装置である。According to a first aspect of the present invention, a moving image composed of a plurality of shots should be stored, and each shot should have the same or similar features and be sequentially displayed over time. A moving image storage unit each composed of a plurality of frames, each frame being divided into one or a plurality of regions, and at least one color representing each region in each frame and the appearance of the color in each region. And a moving image, which detects the frequency and outputs the combination of the detected color and the appearance frequency of all the regions in each frame as the characteristic data indicating the characteristic of each frame. A plurality of second frames each of which is separated from the first frame by a plurality of predetermined reference numbers of the first frame, which is one of the frames, in the display order of the frames in the moving image. And a plurality of dissociation frame dissimilarities representing the degree of dissimilarity between the dissimilarity frames and the dissimilarity dissimilarity calculation means for calculating the dissimilarity dissimilarity dissimilarities between the first and second frames based on the characteristic data, The display order in the moving image is adjacent based on the characteristics detected by the characteristics detection unit and the characteristics detection unit that respectively detect the characteristics of the change in the dissociation degree between separated frames corresponding to the second frame according to the display order. It is a moving picture scene change part detection device characterized by including a transition detection means for detecting, from within a moving picture, a combined frame having a transition effect in which power frames are overlapped and combined.
【0014】第1の発明に従えば、動画場面転換部検出
装置は、前記複数の各離反フレーム間相違度の表示順に
基づく変化の特性を検出し、該特性に基づいて、前記動
画内から前記合成フレームを検出する。この結果前記装
置は、トランジション効果の種類に拘わりなく、前記合
成フレーム、すなわち動画内のトランジション効果を用
いた場面転換部を検出することができる。さらに前記装
置は、前記場面転換部の検出のための計算量を、従来技
術の場面転換部の検出のための装置の計算量よりも減少
させることができ、かつ、該検出の精度を、前記従来技
術の装置よりも向上させることができる。また前記動画
場面転換部検出装置は、前記特徴データ生成手段をさら
に含み、かつ、前記離反フレーム間相違度演算手段が上
述のように動作する構成になっている。単一の領域内の
色の出現頻度は、該領域内の前記色の部分の面積と等価
である。この結果前記離反フレーム間相違度が、前記2
つのフレームの差異の変化に応答して過敏および鈍感に
それぞれ変化することがなく、該変化に適切に応答す
る。この結果前記離反フレームの前記変化の特徴が崩れ
にくくなるので、第1の発明の動画場面転換部検出装置
は、トランジション効果を用いた場面転換部の検出精度
を、さらに向上させることができる。According to the first aspect of the present invention, the moving picture scene change section detecting device detects a characteristic of change based on a display order of the dissimilarity between the separated frames, and based on the characteristic, the moving characteristic is detected from within the moving picture. Detect composite frame. As a result, the device can detect the scene change part using the transition effect in the composite frame, that is, the moving image, regardless of the type of the transition effect. Further, the apparatus can reduce the amount of calculation for detecting the scene change portion to be smaller than the amount of calculation of the apparatus for detecting the scene change portion of the prior art, and the accuracy of the detection It can be improved over prior art devices. Further, the moving picture scene change unit detection device further includes the feature data generation means, and the separation frame dissimilarity degree calculation means operates as described above. The frequency of appearance of a color in a single region is equivalent to the area of that color portion in the region. As a result, the difference between the separated frames is 2
It does not change to hypersensitivity or insensitivity in response to the change in the difference between the two frames, and appropriately responds to the change. As a result, the feature of the change of the detached frame is less likely to collapse, and therefore, the moving image scene conversion unit detection device of the first invention can further improve the detection accuracy of the scene conversion unit using the transition effect.
【0015】第2の発明は、複数のショットから構成さ
れる動画を記憶し、該各ショットは特徴が同一または近
似しかつ時間経過に伴って順次的に表示されるべき複数
のフレームからそれぞれ構成される動画記憶手段と、前
記動画内のいずれか1つのフレームである第1フレーム
の、前記動画内のフレームの表示順に予め定める複数の
基準枚数だけ該第1フレームからそれぞれ離れた複数の
第2フレームとの特徴の相違の程度をそれぞれ表す複数
の離反フレーム間相違度を、前記第1フレームをずらし
てそれぞれ演算する離反フレーム間相違度演算手段と、
前記表示順が連続する複数のフレームの複数の離反フレ
ーム間相違度の前記表示順に伴う変化パターンが、予め
定める複数の基準パターンとそれぞれ一致するか否かを
判断して、前記フレームの前記各第2フレームに対応す
る離反フレーム間相違度の前記表示順に従う変化の特性
を、それぞれ検出する特性検出手段と、前記特性検出手
段によって検出された特性に基づいて、動画内の表示順
が隣接するべきフレームが重なって合成されたトランジ
ション効果を有する合成フレームを、動画内から検出す
るトランジション検出手段とを含み、前記全ての基準パ
ターンのうち、前記いずれか1つの離反フレーム間相違
度の変化パターンと比較されるべき第1基準パターン、
および該いずれか1つの離反フレーム間相違度よりも算
出時の前記基準枚数が多い離反フレーム間相違度の変化
パターンと比較されるべき第2基準パターンは、該第1
および第2基準パターンをそれぞれ示すグラフの形状が
凸状であり、かつ、前記第1基準パターンのグラフの高
さおよび幅がそれぞれ前記第2基準パターンのグラフの
高さおよび幅未満であることを特徴とする動画場面転換
部検出装置である。A second aspect of the present invention stores a moving image composed of a plurality of shots, and each shot is composed of a plurality of frames which have the same or similar characteristics and which should be sequentially displayed with the passage of time. And a plurality of second frames that are separated from the first frame by a plurality of reference numbers that are predetermined in the display order of the frames in the moving image of the first frame that is any one frame in the moving image. Dissociation-frame dissimilarity calculation means for respectively calculating a plurality of dissociation-frame dissimilarities, each of which represents the degree of difference in characteristics from the frame, by shifting the first frame.
The change pattern associated with the display order of the dissociation degrees between the separated frames of the plurality of frames in which the display order is continuous determines whether or not each of the change patterns corresponds to a plurality of predetermined reference patterns, and The display order in the moving image should be adjacent based on the characteristics detected by the characteristics detection unit that detects the characteristics of the change in the dissimilarity between separated frames corresponding to two frames according to the display order, and the characteristics detected by the characteristics detection unit. A transition detection unit that detects a composite frame having a transition effect, which is composed by overlapping frames, in a moving image, and compares the composite frame with a change pattern of the dissimilarity between dissociated frames of any one of the reference patterns. The first reference pattern to be done,
And the second reference pattern to be compared with the change pattern of the dissimilarity between dissimilarity frames, the reference number of which is larger than the number of dissimilarity between dissociated frames at the time of calculation,
And that the shape of the graph showing the second reference pattern is convex, and the height and width of the graph of the first reference pattern are less than the height and width of the graph of the second reference pattern, respectively. It is a featured moving image scene transition detection device.
【0016】第2の発明に従えば、動画場面転換部検出
装置は、前記複数の各離反フレーム間相違度の表示順に
基づく変化の特性を検出し、該特性に基づいて、前記動
画内から前記合成フレームを検出する。この結果前記装
置は、トランジション効果の種類に拘わりなく、前記合
成フレーム、すなわち動画内のトランジション効果を用
いた場面転換部を検出することができる。さらに前記装
置は、前記場面転換部の検出のための計算量を、従来技
術の場面転換部の検出のための装置の計算量よりも減少
させることができ、かつ、該検出の精度を、前記従来技
術の装置よりも向上させることができる。また前記動画
場面転換部検出装置は、前記特性検出手段が上述のよう
に動作する構成になっている。この結果前記特性検出手
段は、前記特性として、各離反フレーム間相違度の変化
パターンと前記複数の基準パターンとの比較結果を出力
する。すなわち前記第2の発明の動画場面転換部検出装
置は、前記複数の離反フレーム間相違度の変化パターン
に基づき、前記動画から前記場面転換部を容易に検出す
ることができる。According to the second aspect of the invention, the moving picture scene change section detecting device detects a characteristic of change based on a display order of the dissimilarity between the separated frames, and based on the characteristic, the moving characteristic is detected from within the moving picture. Detect composite frame. As a result, the device can detect the scene change part using the transition effect in the composite frame, that is, the moving image, regardless of the type of the transition effect. Further, the apparatus can reduce the amount of calculation for detecting the scene change portion to be smaller than the amount of calculation of the apparatus for detecting the scene change portion of the prior art, and the accuracy of the detection It can be improved over prior art devices. Further, in the moving picture scene change unit detection device, the characteristic detection means operates as described above. As a result, the characteristic detection unit outputs, as the characteristic, a comparison result of the change pattern of the dissimilarity between the separated frames and the plurality of reference patterns. That is, the moving image scene change unit detection device of the second invention can easily detect the scene change unit from the moving image based on the change patterns of the dissimilarity degrees between the separated frames.
【0017】第3の発明は、複数のショットから構成さ
れる動画を記憶し、該各ショットは特徴が同一または近
似しかつ時間経過に伴って順次的に表示されるべき複数
のフレームからそれぞれ構成される動画記憶手段と、前
記動画内のいずれか1つのフレームである第1フレーム
の、前記動画内のフレームの表示順に予め定める複数の
基準枚数だけ該第1フレームからそれぞれ離れた複数の
第2フレームとの特徴の相違の程度をそれぞれ表す複数
の離反フレーム間相違度を、前記第1フレームをずらし
てそれぞれ演算する離反フレーム間相違度演算手段と、
前記表示順が連続する複数のフレームの各離反フレーム
間相違度の変化パターンをそれぞれ近似するグラフの数
式をそれぞれ求める近似式算出手段と、求められた複数
の前記数式に基づいて定められるパラメータに基づき、
該各数式のグラフで近似される変化パターンが前記各基
準パターンと一致するか否かを判断して、前記フレーム
の前記各第2フレームに対応する離反フレーム間相違度
の前記表示順に従う変化の特性を、それぞれ検出する特
性検出手段と、前記特性検出手段によって検出された特
性に基づいて、動画内の表示順が隣接するべきフレーム
が重なって合成されたトランジション効果を有する合成
フレームを、動画内から検出するトランジション検出手
段とを含むことを特徴とする動画場面転換部検出装置で
ある。A third aspect of the present invention stores a moving image composed of a plurality of shots, and each shot is composed of a plurality of frames having the same or similar features and which should be sequentially displayed over time. And a plurality of second frames, which are separated from the first frame by a plurality of reference numbers, which are predetermined in the display order of the frames in the moving image, of the first frame which is any one frame in the moving image. A separation frame difference degree calculation means for calculating a plurality of separation frame difference degrees, each of which indicates a degree of difference in characteristics from a frame, by shifting the first frame;
Approximate expression calculating means for respectively obtaining a mathematical expression of a graph that approximates the change pattern of the dissociation degree between the separated frames of the plurality of frames in which the display order is continuous, and based on the parameters determined based on the obtained plurality of mathematical expressions ,
It is determined whether or not the change pattern approximated by the graph of each equation matches each of the reference patterns, and the change degree according to the display order of the dissociation degree between the separated frames corresponding to each of the second frames of the frame is determined. Based on the characteristics detected by the characteristics detecting unit and the characteristics detected by the characteristics detecting unit, a composite frame having a transition effect, which is composed by overlapping frames whose display order in the moving image should be adjacent to each other, is displayed in the moving image. And a transition detecting unit for detecting the transition from the moving image scene changing unit.
【0018】第3の発明に従えば、動画場面転換部検出
装置は、前記複数の各離反フレーム間相違度の表示順に
基づく変化の特性を検出し、該特性に基づいて、前記動
画内から前記合成フレームを検出する。この結果前記装
置は、トランジション効果の種類に拘わりなく、前記合
成フレーム、すなわち動画内のトランジション効果を用
いた場面転換部を検出することができる。さらに前記装
置は、前記場面転換部の検出のための計算量を、従来技
術の場面転換部の検出のための装置の計算量よりも減少
させることができ、かつ、該検出の精度を、前記従来技
術の装置よりも向上させることができる。また前記動画
場面転換部検出装置は、前記近似式算出手段をさらに含
み、かつ前記特性検出手段が上述のように動作する構成
になっている。この結果前記各離反フレーム間相違度の
変化パターンと前記各基準パターンとの比較を、たとえ
ば各フレーム内のノイズに起因する各離反フレーム間相
違度の変動に対してロバストに行うことができる。この
結果前記第3の発明の動画場面転換部検出装置は、トラ
ンジション効果を用いた場面転換部の検出精度を、さら
に向上させることができる。According to the third aspect of the invention, the moving picture scene change section detecting device detects the characteristic of the change based on the display order of the dissimilarity between the separated frames, and based on the characteristic, the characteristic of the change is detected from the moving picture. Detect composite frame. As a result, the device can detect the scene change part using the transition effect in the composite frame, that is, the moving image, regardless of the type of the transition effect. Further, the apparatus can reduce the amount of calculation for detecting the scene change portion to be smaller than the amount of calculation of the apparatus for detecting the scene change portion of the prior art, and the accuracy of the detection It can be improved over prior art devices. Further, the moving image scene change unit detection device further includes the approximate expression calculation unit, and the characteristic detection unit is configured to operate as described above. As a result, the change pattern of the dissimilarity between dissociated frames and the reference pattern can be robustly compared with the variation of the dissimilarity between separated frames caused by noise in each frame. As a result, the moving image scene change unit detection device according to the third aspect of the present invention can further improve the detection accuracy of the scene change unit using the transition effect.
【0019】第4の発明の動画場面転換部検出装置は、
前記数式は、2次関数であり、前記パラメータは、前記
算出された2次関数の係数であることを特徴とする。The moving picture scene change portion detecting device of the fourth invention is
The mathematical formula is a quadratic function, and the parameter is a coefficient of the calculated quadratic function.
【0020】第4の発明に従えば、前記動画場面転換部
検出装置は、第3の発明の動画場面転換部検出装置にお
いて、前記数式およびパラメータが上述のものになって
いる。前記2次関数のグラフは、凸部が1つなので、前
記基準パターンに近似しやすい。また前記2次関数の式
は構成が簡単なので、前記グラフの凸部の中心、幅、位
置、高さに関するパラメータを抽出しやすい。この結果
前記第4の発明の装置内の特性検出手段は、前記各変化
パターンと前記各基準パターンとの比較を、容易に行う
ことができる。According to a fourth aspect of the present invention, in the moving image / scene changing portion detecting device of the third aspect of the invention, the mathematical formulas and parameters are as described above. Since the graph of the quadratic function has one convex portion, it is easy to approximate the reference pattern. Further, since the formula of the quadratic function has a simple structure, it is easy to extract parameters relating to the center, width, position and height of the convex portion of the graph. As a result, the characteristic detecting means in the apparatus of the fourth aspect of the invention can easily compare the change patterns with the reference patterns.
【0021】第5の発明の動画場面転換部検出装置は、
前記数式は、正弦関数を含む関数であり、前記パラメー
タは、前記算出された関数内の正弦関数の位相およびゲ
インであることを特徴とする。The moving picture scene change unit detecting device of the fifth invention is
The formula is a function including a sine function, and the parameters are a phase and a gain of the sine function in the calculated function.
【0022】第5の発明に従えば、前記動画場面転換部
検出装置は、第3の発明の動画場面転換部検出装置にお
いて、前記数式およびパラメータが上述のものになって
いる。前記正弦関数を含む関数のグラフのうちの半周期
分の部分は、凸部が1つなので、前記基準パターンに近
似しやすい。また前記関数の式は構成が簡単なので、前
記グラフの凸部の中心、幅、位置、高さに関するパラメ
ータを抽出しやすい。この結果前記第5の発明の装置内
の特性検出手段は、前記各変化パターンと前記各基準パ
ターンとの比較を、容易に行うことができる。According to a fifth aspect of the present invention, in the moving image scene changing portion detecting device of the third aspect of the invention, the mathematical formulas and parameters are as described above. Since the half cycle portion of the graph of the function including the sine function has one convex portion, it is easy to approximate the reference pattern. Further, since the formula of the function has a simple structure, it is easy to extract the parameters regarding the center, width, position and height of the convex portion of the graph. As a result, the characteristic detecting means in the apparatus of the fifth aspect of the present invention can easily compare the change patterns with the reference patterns.
【0023】第6の発明は、複数のショットから構成さ
れる動画を記憶し、該各ショットは特徴が同一または近
似しかつ時間経過に伴って順次的に表示されるべき複数
のフレームからそれぞれ構成される動画記憶手段と、前
記動画内のいずれか1つのフレームである第1フレーム
の、前記動画内のフレームの表示順に予め定める複数の
基準枚数だけ該第1フレームからそれぞれ離れた複数の
第2フレームとの特徴の相違の程度をそれぞれ表す複数
の離反フレーム間相違度を、前記第1フレームをずらし
てそれぞれ演算する離反フレーム間相違度演算手段と、
前記フレームの前記各第2フレームに対応する離反フレ
ーム間相違度の前記表示順に従う変化の特性を、それぞ
れ検出する特性検出手段と、前記特性検出手段によって
検出された特性に基づいて、動画内の表示順が隣接する
べきフレームが重なって合成されたトランジション効果
を有する合成フレームを、動画内から検出するトランジ
ション検出手段と、前記動画内の各フレーム毎に、該各
フレームの表示順と1つだけ異なる表示順のフレームと
該各フレームとの特徴の違いを示す隣接フレーム間相違
度を、それぞれ算出する隣接フレーム間相違度算出手段
と、前記各フレームの隣接フレーム間相違度から、該各
フレームを含み表示順が連続した複数のフレームのうち
の該各フレームを除く残余のフレームの隣接フレーム間
相違度と予め定める複数の重み係数との積の総和を、そ
れぞれ減算する隣接フレーム間相違度補正手段と、前記
減算後の隣接フレーム間相違度が予め定めるカット点検
出用閾値以上のフレームを、前記動画内から検出するフ
レーム検出手段と、前記検出されたフレームに基づき、
前記動画内のカット点を検出するカット点検出手段とを
含み、前記残余の各フレームの隣接フレーム間相違度に
乗算される各重み係数は、前記残余のフレームの隣接フ
レーム間相違度のうちの該各隣接フレーム間相違度より
も小さい隣接フレーム間相違度に乗算される重み係数以
上であることを特徴とする動画場面転換部検出装置であ
る。According to a sixth aspect of the present invention, a moving image composed of a plurality of shots is stored, and each of the shots is composed of a plurality of frames having the same or similar characteristics and which should be sequentially displayed over time. And a plurality of second frames, which are separated from the first frame by a plurality of reference numbers, which are predetermined in the display order of the frames in the moving image, of the first frame which is any one frame in the moving image. A separation frame difference degree calculation means for calculating a plurality of separation frame difference degrees, each of which indicates a degree of difference in characteristics from a frame, by shifting the first frame;
Based on the characteristics detected by the characteristics detection unit and the characteristics detected by the characteristics detection unit, the characteristics of the change in the dissimilarity between separated frames corresponding to the respective second frames of the frame in the display order are detected. Transition detection means for detecting a composite frame having a transition effect, which is composed by overlapping frames whose display order should be adjacent to each other, and a transition detection means for each frame in the video, and only one display order of each frame. The adjacent frame dissimilarity calculating means for calculating the dissimilarity between adjacent frames indicating the difference between the frames in different display orders and the respective frames, and the dissimilarity between adjacent frames of each frame, The degree of difference between adjacent frames of the remaining frames excluding the respective frames of the plurality of frames including the consecutive display order is determined in advance. An adjacent frame difference correction unit that subtracts the sum of products of a plurality of weighting factors, and a frame in which the difference between adjacent frames after the subtraction is equal to or more than a predetermined cut point detection threshold value is detected from the moving image. Based on the detected frame and the frame detection means,
A cut point detecting unit that detects a cut point in the moving image, and each weighting coefficient to be multiplied by the dissimilarity between the adjacent frames of each of the residual frames is calculated from among the dissimilarities between the adjacent frames of the residual frames. The moving image scene change unit detection device is characterized in that the difference between adjacent frames is smaller than the difference between adjacent frames and is greater than or equal to a weighting coefficient.
【0024】第6の発明に従えば、動画場面転換部検出
装置は、前記複数の各離反フレーム間相違度の表示順に
基づく変化の特性を検出し、該特性に基づいて、前記動
画内から前記合成フレームを検出する。この結果前記装
置は、トランジション効果の種類に拘わりなく、前記合
成フレーム、すなわち動画内のトランジション効果を用
いた場面転換部を検出することができる。さらに前記装
置は、前記場面転換部の検出のための計算量を、従来技
術の場面転換部の検出のための装置の計算量よりも減少
させることができ、かつ、該検出の精度を、前記従来技
術の装置よりも向上させることができる。また前記動画
場面転換部検出装置は、カット点検出に拘わる上述の手
段を含む構成になっている。前記補正によって、前記各
隣接フレーム相違度内の、動画内の各ショットの撮影時
のカメラおよび被写体の動きに起因する該各ショット内
の連続するフレームの差異に起因する成分が、小さくな
る。この結果前記第6の発明の動画場面転換部検出装置
は、カット点の検出精度を向上させることができる。According to the sixth aspect of the present invention, the moving picture scene change section detection device detects a change characteristic based on the display order of the dissimilarity degrees between the respective separated frames, and based on the characteristic, the change is detected from within the moving picture. Detect composite frame. As a result, the device can detect the scene change part using the transition effect in the composite frame, that is, the moving image, regardless of the type of the transition effect. Further, the apparatus can reduce the amount of calculation for detecting the scene change portion to be smaller than the amount of calculation of the apparatus for detecting the scene change portion of the prior art, and the accuracy of the detection It can be improved over prior art devices. Further, the moving image / scene changing unit detecting device is configured to include the above-mentioned means relating to the cut point detection. By the correction, the component in each adjacent frame difference degree due to the difference between successive frames in each shot due to the movement of the camera and the subject at the time of shooting each shot in the moving image is reduced. As a result, the moving image / scene changing portion detection device according to the sixth aspect of the present invention can improve the detection accuracy of the cut point.
【0025】第7の発明は、複数のショットから構成さ
れる動画を記憶し、該各ショットは特徴が同一または近
似しかつ時間経過に伴って順次的に表示されるべき複数
のフレームからそれぞれ構成される動画記憶手段と、前
記動画内のいずれか1つのフレームである第1フレーム
の、前記動画内のフレームの表示順に予め定める複数の
基準枚数だけ該第1フレームからそれぞれ離れた複数の
第2フレームとの特徴の相違の程度をそれぞれ表す複数
の離反フレーム間相違度を、前記第1フレームをずらし
てそれぞれ演算する離反フレーム間相違度演算手段と、
前記フレームの前記各第2フレームに対応する離反フレ
ーム間相違度の前記表示順に従う変化の特性を、それぞ
れ検出する特性検出手段と、前記特性検出手段によって
検出された特性に基づいて、動画内の表示順が隣接する
べきフレームが重なって合成されたトランジション効果
を有する合成フレームを、動画内から検出するトランジ
ション検出手段と、前記動画内の各フレーム毎に、該各
フレームの表示順と1つだけ異なる表示順のフレームと
該各フレームとの特徴の違いを示す隣接フレーム間相違
度を、それぞれ算出する隣接フレーム間相違度算出手段
と、前記動画内から、隣接フレーム間相違度が予め定め
るカット点検出用閾値以上の全てのフレームのうち、該
各フレームを含み配列順が連続する複数の各フレームの
いずれか1つの離反フレーム間相違度が、全て予め定め
る閾値以上であるフレームを、検出するフレーム検出手
段と、前記検出されたフレームに基づき、前記動画内の
カット点を検出するカット点検出手段とを含むことを特
徴とする動画場面転換部検出装置である。A seventh aspect of the present invention stores a moving image composed of a plurality of shots, and each of the shots is composed of a plurality of frames having the same or similar features and which should be sequentially displayed with the passage of time. And a plurality of second frames, which are separated from the first frame by a plurality of reference numbers, which are predetermined in the display order of the frames in the moving image, of the first frame which is any one frame in the moving image. A separation frame difference degree calculation means for calculating a plurality of separation frame difference degrees, each of which indicates a degree of difference in characteristics from a frame, by shifting the first frame;
Based on the characteristics detected by the characteristics detection unit and the characteristics detected by the characteristics detection unit, the characteristics of the change in the dissimilarity between separated frames corresponding to the respective second frames of the frame in the display order are detected. Transition detection means for detecting a composite frame having a transition effect, which is composed by overlapping frames whose display order should be adjacent to each other, and a transition detection means for each frame in the video, and only one display order of each frame. Adjacent frame dissimilarity calculation means for respectively calculating dissimilarity between adjacent frames indicating different features of frames in different display orders, and cut inspection in which the dissimilarity between adjacent frames is predetermined from within the moving image. Of all the frames that are equal to or more than the threshold for use, the separation of any one of the plurality of frames including the frames and having a continuous arrangement order is performed. It is characterized by including frame detection means for detecting frames whose inter-frame dissimilarities are all equal to or greater than a predetermined threshold value, and cut point detection means for detecting cut points in the moving image based on the detected frames. It is a moving picture scene change part detection device.
【0026】第7の発明に従えば、動画場面転換部検出
装置は、前記複数の各離反フレーム間相違度の表示順に
基づく変化の特性を検出し、該特性に基づいて、前記動
画内から前記合成フレームを検出する。この結果前記装
置は、トランジション効果の種類に拘わりなく、前記合
成フレーム、すなわち動画内のトランジション効果を用
いた場面転換部を検出することができる。さらに前記装
置は、前記場面転換部の検出のための計算量を、従来技
術の場面転換部の検出のための装置の計算量よりも減少
させることができ、かつ、該検出の精度を、前記従来技
術の装置よりも向上させることができる。また前記動画
場面転換部検出装置は、カット点検出に拘わる上述の手
段を含む構成になっている。この結果前記フレーム検出
手段は、動画内の各ショット内の連続する2つのフレー
ムの隣接フレーム間相違度が前記カット点検出用閾値以
上になっている場合、該2つのフレームを含み連続する
複数のフレームの離反フレーム間相違度と前記閾値との
大小関係に応じて、前記2つのフレームを検出するか否
かを定める。前記離反フレーム相違度の増加は、たとえ
ば、単一のショット内の連続する2つのフレームのうち
の一方の撮影時だけに、フラッシュがたかれている場合
に、起こる。この結果前記第7の発明の動画場面転換部
検出装置は、フラッシュの影響に起因するカット点の誤
検出を防止することができるので、カット点の検出精度
を向上させることができる。According to the seventh invention, the moving picture scene change section detecting device detects the characteristic of the change based on the display order of the dissimilarity between the separated frames, and based on the characteristic, the characteristic of the change is detected from within the moving picture. Detect composite frame. As a result, the device can detect the scene change part using the transition effect in the composite frame, that is, the moving image, regardless of the type of the transition effect. Further, the apparatus can reduce the amount of calculation for detecting the scene change portion to be smaller than the amount of calculation of the apparatus for detecting the scene change portion of the prior art, and the accuracy of the detection It can be improved over prior art devices. Further, the moving image / scene changing unit detecting device is configured to include the above-mentioned means relating to the cut point detection. As a result, when the difference between adjacent frames of two consecutive frames in each shot in the moving image is equal to or more than the cut point detection threshold value, the frame detection unit includes a plurality of consecutive frames including the two frames. Whether or not to detect the two frames is determined according to the magnitude relationship between the dissociation between frames and the threshold value. The increase in the dissociation frame dissimilarity occurs, for example, when the flash is hit only when one of two consecutive frames in a single shot is shot. As a result, the moving picture scene change unit detection device of the seventh aspect of the present invention can prevent erroneous detection of the cut point due to the influence of the flash, so that the detection accuracy of the cut point can be improved.
【0027】第8の発明は、フレームが表示可能な表示
手段と、請求項1〜7のうちのいずれかに記載の動画場
面転換部検出装置と、前記動画場面転換部検出装置によ
って検出された合成フレームの動画内の位置に基づき、
前記動画内の各ショット内から、少なくとも1枚のフレ
ームをそれぞれ抽出するフレーム抽出手段と、抽出され
た前記フレームを前記表示手段に表示させる表示制御手
段とを含むことを特徴とする動画処理装置である。According to an eighth aspect of the present invention, a display means capable of displaying a frame, the moving image scene changing portion detecting device according to any one of claims 1 to 7, and the moving image scene changing portion detecting device are detected. Based on the position of the composite frame in the video,
A moving image processing apparatus comprising: a frame extracting unit that extracts at least one frame from each shot in the moving image; and a display control unit that displays the extracted frame on the display unit. is there.
【0028】第8の発明に従えば、前記動画処理装置
は、前記第1〜第7の発明のうちのいずれかの動画場面
転換部検出装置を備える。この結果前記動画処理装置
は、前記検出装置によって検出された場面転換部に基づ
き、前記動画内の各ショットを自動的に認識することが
でき、かつ該各ショットのフレームを抽出して表示する
ことができる。この結果前記動画処理装置は、動画をシ
ョット単位で処理する場合に、前記場面転換部の検出に
要する負担を軽減し、かつ動画の処理精度を向上するこ
とができる。According to an eighth aspect of the present invention, the moving image processing apparatus includes the moving image scene change unit detecting device according to any one of the first to seventh aspects of the invention. As a result, the moving picture processing device can automatically recognize each shot in the moving picture based on the scene change section detected by the detection device, and extract and display the frame of each shot. You can As a result, the moving image processing apparatus can reduce the load required to detect the scene change unit and improve the moving image processing accuracy when processing a moving image in shot units.
【0029】第9の発明は、前記表示制御手段は、前記
抽出された全てのフレームを、前記動画内の表示順が早
いものから順に、時間経過に伴って順次的に、前記表示
手段に表示させることを特徴とする。In a ninth aspect of the invention, the display control means displays all the extracted frames on the display means in order from the earliest display order in the moving image with the lapse of time. It is characterized by
【0030】第9の発明に従えば、前記動画処理装置
は、第8の発明の動画処理装置において、前記表示制御
手段が上述のように動作する。この結果第9の発明の動
画処理装置は、前記抽出された複数のフレームから構成
される動画、すなわちフレームの抽出元である元の動画
の早見のための動画を、前記表示手段に表示することが
できる。この結果該動画処理装置の操作者は、元の動画
の内容を、適確かつ短時間に把握することができる。According to a ninth invention, in the moving picture processing device of the eighth invention, the display control means operates as described above. As a result, the moving image processing apparatus of the ninth invention displays on the display means a moving image composed of the plurality of extracted frames, that is, a moving image for quick viewing of the original moving image from which the frames are extracted. You can As a result, the operator of the moving picture processing apparatus can grasp the contents of the original moving picture properly and in a short time.
【0031】第10の発明の動画処理装置は、前記表示
制御手段は、前記抽出された各フレームを縮小し、縮小
された該各フレームを合成した合成フレームを、前記表
示手段に表示させることを特徴とする。In the moving image processing apparatus of the tenth invention, the display control means reduces the extracted frames, and causes the display means to display a combined frame obtained by combining the reduced frames. Characterize.
【0032】第10の発明に従えば、前記動画処理装置
は、第8の発明の動画処理装置において、前記表示制御
手段が上述のように動作する。この結果第10の発明の
動画処理装置は、前記抽出された複数のフレームの縮小
フレームの合成フレーム、すなわちフレームの抽出元で
ある元の動画の各ショットの一覧のためのフレームを、
前記表示手段に表示することができる。この結果該動画
処理装置の操作者は、元の動画の内容を、適確かつ短時
間に把握することができる。According to a tenth invention, in the moving picture processing device of the eighth invention, the display control means operates as described above. As a result, the moving image processing apparatus according to the tenth aspect of the invention is to combine the extracted reduced frames of the plurality of frames, that is, a frame for listing each shot of the original moving image from which the frames are extracted,
It can be displayed on the display means. As a result, the operator of the moving picture processing apparatus can grasp the contents of the original moving picture properly and in a short time.
【0033】第11の発明は、特徴が同一または近似し
かつ時間経過に伴って順次的に表示されるべき複数のフ
レームからそれぞれ構成される複数のショットから構成
される動画を記憶させる処理と、前記各フレームを1ま
たは複数の領域に区分し、前記各フレーム内の各領域を
代表する少なくとも1つの色と該各領域内の該色の出現
頻度とをそれぞれ検出して、該各フレーム内の全ての領
域の検出された色および出現頻度の組合わせを、前記各
フレームの前記特徴を示す特徴データとして出力する処
理と、前記動画内のいずれか1つのフレームである第1
フレームの、前記動画内のフレームの表示順に予め定め
る複数の基準枚数だけ該第1フレームからそれぞれ離れ
た複数の第2フレームとの特徴の相違の程度をそれぞれ
表す複数の離反フレーム間相違度を、前記特徴データに
基づいて、前記第1フレームをずらしてそれぞれ演算す
る処理と、前記フレームの前記各第2フレームに対応す
る離反フレーム間相違度の前記表示順に従う変化の特性
を、それぞれ検出する処理と、前記検出された特性に基
づいて、動画内の表示順が隣接するべきフレームが重な
って合成されたトランジション効果を有する合成フレー
ムを、動画内から検出する処理とを含むことを特徴とす
る動画場面転換部検出方法である。第11の発明に従え
ば、前記動画場面転換部検出方法において、前記複数の
各離反フレーム間相違度の表示順に基づく変化の特性を
検出し、該特性に基づいて、前記動画内から前記合成フ
レームを検出する。この結果前記方法が用いられる場
合、トランジション効果の種類に拘わりなく、前記合成
フレーム、すなわち動画内のトランジション効果を用い
た場面転換部を検出することができる。さらに前記方法
が用いられる場合、前記場面転換部の検出のための計算
量を、従来の場面転換部の検出のための方法の計算量よ
りも減少させることができ、かつ、該検出の精度を、前
記従来の方法よりも向上させることができる。また前記
動画場面転換部検出方法は、前記特徴データを出力する
処理をさらに含み、かつ、前記特徴データに基づいて、
離反フレーム間相違度を演算する。単一の領域内の色の
出現頻度は、該領域内の前記色の部分の面積と等価であ
る。この結果前記離反フレーム間相違度が、前記2つの
フレームの差異の変化に応答して過敏および鈍感にそれ
ぞれ変化することがなく、該変化に適切に応答する。こ
の結果前記離反フレームの前記変化の特徴が崩れにくく
なるので、第11の発明の動画場面転換部検出方法は、
トランジション効果を用いた場面転換部の検出精度を、
さらに向上させることができる。An eleventh aspect of the invention is a process of storing a moving image composed of a plurality of shots each of which has the same or similar features and which should be sequentially displayed with the passage of time. Each frame is divided into one or a plurality of regions, at least one color representing each region in each frame and the appearance frequency of the color in each region are detected, and each frame is detected. A process of outputting a combination of detected colors and appearance frequencies of all regions as feature data indicating the feature of each frame, and a process of outputting one of the frames in the moving image.
A plurality of dissociation frame-to-frame dissimilarity degrees, each of which represents the degree of difference in characteristics between a plurality of reference frames that are predetermined from a plurality of reference number of frames in the display order of the frames in the moving image, A process of shifting the first frame based on the characteristic data to perform a calculation, and a process of detecting a change characteristic of the dissimilarity between separated frames corresponding to each of the second frames in the display order. And, based on the detected characteristics, a process of detecting, from within the moving image, a combined frame having a transition effect in which frames that should be adjacent in the display order in the moving image overlap and are combined. This is a scene change part detection method. According to an eleventh aspect, in the moving picture scene change section detecting method, a characteristic of change based on a display order of the plurality of dissociation degrees between the separated frames is detected, and based on the characteristic, the composite frame is detected from within the moving picture. To detect. As a result, when the method is used, the scene change part using the transition effect in the composite frame, that is, the moving image can be detected regardless of the type of the transition effect. Further, when the method is used, the amount of calculation for detecting the scene change portion can be made smaller than that of the method for detecting the conventional scene change portion, and the accuracy of the detection can be improved. It can be improved over the conventional method. Further, the moving image scene change unit detection method further includes a process of outputting the characteristic data, and based on the characteristic data,
The dissimilarity between separated frames is calculated. The frequency of appearance of a color in a single region is equivalent to the area of that color portion in the region. As a result, the dissimilarity between the separated frames does not change to hypersensitivity and insensitivity in response to the change in the difference between the two frames, and appropriately responds to the change. As a result, since the characteristic of the change of the detached frame is less likely to be broken, the moving image scene changing portion detection method of the eleventh invention is
The detection accuracy of the scene change part using the transition effect,
It can be further improved.
【0034】第12の発明は、特徴が同一または近似し
かつ時間経過に伴って順次的に表示されるべき複数のフ
レームからそれぞれ構成される複数のショットから構成
される動画を記憶させる処理と、前記動画内のいずれか
1つのフレームである第1フレームの、前記動画内のフ
レームの表示順に予め定める複数の基準枚数だけ該第1
フレームからそれぞれ離れた複数の第2フレームとの特
徴の相違の程度をそれぞれ表す複数の離反フレーム間相
違度を、前記第1フレームをずらしてそれぞれ演算する
処理と、前記表示順が連続する複数のフレームの複数の
離反フレーム間相違度の前記表示順に伴う変化パターン
が、予め定める複数の基準パターンとそれぞれ一致する
か否かを判断して、前記フレームの前記各第2フレーム
に対応する離反フレーム間相違度の前記表示順に従う変
化の特性を、それぞれ検出する処理と、前記検出された
特性に基づいて、動画内の表示順が隣接するべきフレー
ムが重なって合成されたトランジション効果を有する合
成フレームを、動画内から検出する処理とを含み、前記
全ての基準パターンのうち、前記いずれか1つの離反フ
レーム間相違度の変化パターンと比較されるべき第1基
準パターン、および該いずれか1つの離反フレーム間相
違度よりも算出時の前記基準枚数が多い離反フレーム間
相違度の変化パターンと比較されるべき第2基準パター
ンは、該第1および第2基準パターンをそれぞれ示すグ
ラフの形状が凸状であり、かつ、前記第1基準パターン
のグラフの高さおよび幅がそれぞれ前記第2基準パター
ンのグラフの高さおよび幅未満であることを特徴とする
動画場面転換部検出方法である。第12の発明に従え
ば、前記動画場面転換部検出方法において、前記複数の
各離反フレーム間相違度の表示順に基づく変化の特性を
検出し、該特性に基づいて、前記動画内から前記合成フ
レームを検出する。この結果前記方法が用いられる場
合、トランジション効果の種類に拘わりなく、前記合成
フレーム、すなわち動画内のトランジション効果を用い
た場面転換部を検出することができる。さらに前記方法
が用いられる場合、前記場面転換部の検出のための計算
量を、従来の場面転換部の検出のための方法の計算量よ
りも減少させることができ、かつ、該検出の精度を、前
記従来の方法よりも向上させることができる。また前記
動画場面転換部検出方法における前記複数の各離反フレ
ーム間相違度の表示順に基づく変化の特性を、それぞれ
検出する処理において、前記表示順が連続する複数のフ
レームの複数の離反フレーム間相違度の前記表示順に伴
う変化パターンが、予め定める複数の基準パターンとそ
れぞれ一致するか否かを判断するようになっている。こ
の結果前記複数の各離反フレーム間相違度の表示順に基
づく変化の特性を、それぞれ検出する処理において、前
記特性として、各離反フレーム間相違度の変化パターン
と前記複数の基準パターンとの比較結果を出力する。す
なわち前記第12の発明の動画場面転換部検出方法は、
前記複数の離反フレーム間相違度の変化パターンに基づ
き、前記動画から前記場面転換部を容易に検出すること
ができる。A twelfth aspect of the invention is a process of storing a moving image composed of a plurality of shots each of which has the same or similar features and which should be sequentially displayed over time, A plurality of reference numbers of the first frames, which is one of the frames in the moving image, are displayed in the display order of the frames in the moving image.
A process of calculating a plurality of dissociation degrees between separated frames, each of which represents a degree of difference in characteristics from a plurality of second frames respectively separated from the frame, respectively, by shifting the first frame, and a plurality of consecutive display orders. Between the separated frames corresponding to each of the second frames of the frames, it is determined whether or not a change pattern of the dissimilarity between the separated frames of the frames according to the display order matches a plurality of predetermined reference patterns. Based on the process of detecting the respective characteristics of the change of the dissimilarity according to the display order and the detected characteristics, a composite frame having a transition effect in which the frames that should be adjacent in the display order in the moving image are composited is created. , A process of detecting from within the moving image, of any one of the reference patterns, First reference pattern to be compared with the standardized pattern, and a second reference pattern to be compared with the change pattern of the dissociation frame dissimilarity in which the reference number is larger than that of any one of the dissociation frame dissimilarities at the time of calculation. Indicates that the shapes of the graphs showing the first and second reference patterns are convex, and the height and width of the graph of the first reference pattern are the height and width of the graph of the second reference pattern, respectively. It is a method for detecting a moving image scene change portion characterized by being less than. According to a twelfth aspect, in the moving picture scene change section detecting method, a characteristic of change based on a display order of the dissimilarity degrees between the plurality of separated frames is detected, and based on the characteristic, the composite frame is detected from within the moving picture. To detect. As a result, when the method is used, the scene change part using the transition effect in the composite frame, that is, the moving image can be detected regardless of the type of the transition effect. Further, when the method is used, the amount of calculation for detecting the scene change portion can be made smaller than that of the method for detecting the conventional scene change portion, and the accuracy of the detection can be improved. It can be improved over the conventional method. In the process of detecting the change characteristics based on the display order of the dissimilarity degrees between the plurality of separated frames in the moving image scene transition detection method, the dissimilarity degrees between the separated frames of the plurality of frames in the display order are detected. It is adapted to judge whether or not the change patterns associated with the display order of No. 1 match with a plurality of predetermined reference patterns. As a result, in the process of detecting the characteristics of changes based on the display order of the plurality of dissociation frames between dissimilarity frames, the result of comparison between the change patterns of the dissociation frames between dissociation frames and the plurality of reference patterns is used as the characteristics. Output. That is, the moving image scene changing portion detecting method of the twelfth invention is
The scene change unit can be easily detected from the moving image based on the change pattern of the dissimilarity degrees between the separated frames.
【0035】第13の発明は、特徴が同一または近似し
かつ時間経過に伴って順次的に表示されるべき複数のフ
レームからそれぞれ構成される複数のショットから構成
される動画を記憶させる処理と、前記動画内のいずれか
1つのフレームである第1フレームの、前記動画内のフ
レームの表示順に予め定める複数の基準枚数だけ該第1
フレームからそれぞれ離れた複数の第2フレームとの特
徴の相違の程度をそれぞれ表す複数の離反フレーム間相
違度を、前記第1フレームをずらしてそれぞれ演算する
処理と、前記表示順が連続する複数のフレームの各離反
フレーム間相違度の変化パターンをそれぞれ近似するグ
ラフの数式をそれぞれ求める処理と、求められた複数の
前記数式に基づいて定められるパラメータに基づき、該
各数式のグラフで近似される変化パターンが前記各基準
パターンと一致するか否かを判断して、前記フレームの
前記各第2フレームに対応する離反フレーム間相違度の
前記表示順に従う変化の特性を、それぞれ検出する処理
と、前記検出された特性に基づいて、動画内の表示順が
隣接するべきフレームが重なって合成されたトランジシ
ョン効果を有する合成フレームを、動画内から検出する
処理とを含むことを特徴とする動画場面転換部検出方法
である。第13の発明に従えば、前記動画場面転換部検
出方法において、前記複数の各離反フレーム間相違度の
表示順に基づく変化の特性を検出し、該特性に基づい
て、前記動画内から前記合成フレームを検出する。この
結果前記方法が用いられる場合、トランジション効果の
種類に拘わりなく、前記合成フレーム、すなわち動画内
のトランジション効果を用いた場面転換部を検出するこ
とができる。さらに前記方法が用いられる場合、前記場
面転換部の検出のための計算量を、従来の場面転換部の
検出のための方法の計算量よりも減少させることがで
き、かつ、該検出の精度を、前記従来の方法よりも向上
させることができる。また前記動画場面転換部検出方法
において、前記表示順が連続する複数のフレームの各離
反フレーム間相違度の変化パターンをそれぞれ近似する
グラフの数式をそれぞれ求める処理をさらに含み、かつ
前記フレームの前記各第2フレームに対応する離反フレ
ーム間相違度の前記表示順に従う変化の特性を、それぞ
れ検出する処理において、求められた複数の前記数式に
基づいて定められるパラメータに基づき、該各数式のグ
ラフで近似される変化パターンが前記各基準パターンと
一致するか否かを判断するようになっている。この結果
前記各離反フレーム間相違度の変化パターンと前記各基
準パターンとの比較を、たとえば各フレーム内のノイズ
に起因する各離反フレーム間相違度の変動に対してロバ
ストに行うことができる。この結果前記第13の発明の
動画場面転換部検出方法は、トランジション効果を用い
た場面転換部の検出精度を、さらに向上させることがで
きる。A thirteenth aspect of the invention is a process of storing a moving image composed of a plurality of shots each having a plurality of frames which have the same or similar characteristics and are to be sequentially displayed over time, A plurality of reference numbers of the first frames, which is one of the frames in the moving image, are displayed in the display order of the frames in the moving image.
A process of calculating a plurality of dissociation degrees between separated frames, each of which represents a degree of difference in characteristics from a plurality of second frames respectively separated from the frame, respectively, by shifting the first frame, and a plurality of consecutive display orders. Based on the process of obtaining the formulas of the graphs that respectively approximate the change patterns of the dissociation degrees between the frames and the parameters determined based on the obtained plurality of formulas, the changes approximated by the graphs of the formulas A process of determining whether or not a pattern matches each of the reference patterns and detecting a characteristic of a change in the dissimilarity between separated frames corresponding to each of the second frames in the display order, Based on the detected characteristics, it has a transition effect in which frames that should be adjacent in the display order in the moving image are overlapped and combined. The formed frame, which is a moving scene change portion detection method which comprises a process of detecting from the video. According to a thirteenth aspect of the present invention, in the method of detecting a moving image scene change portion, a characteristic of a change based on a display order of the dissimilarity degrees between the plurality of separated frames is detected, and based on the characteristic, the composite frame is detected from within the moving image. To detect. As a result, when the method is used, the scene change part using the transition effect in the composite frame, that is, the moving image can be detected regardless of the type of the transition effect. Further, when the method is used, the amount of calculation for detecting the scene change portion can be made smaller than that of the method for detecting the conventional scene change portion, and the accuracy of the detection can be improved. It can be improved over the conventional method. Further, in the moving picture scene transition part detecting method, the method further includes a step of obtaining a mathematical expression of a graph that respectively approximates a change pattern of the dissimilarity between separated frames of a plurality of frames in which the display order is continuous, and each of the frames. In the process of respectively detecting the characteristics of the change in the dissociation degree between separated frames corresponding to the second frame in the display order, approximation is made with a graph of each mathematical expression based on the parameters determined based on the plurality of mathematical expressions obtained. It is adapted to judge whether or not the change pattern to be formed matches each of the reference patterns. As a result, the change pattern of the dissimilarity between dissociated frames and the reference pattern can be robustly compared with the variation of the dissimilarity between separated frames caused by noise in each frame. As a result, the moving image scene change part detection method of the thirteenth invention can further improve the detection accuracy of the scene change part using the transition effect.
【0036】第14の発明の動画場面転換部検出方法
は、前記数式は、2次関数であり、前記パラメータは、
前記算出された2次関数の係数であることを特徴とす
る。第14の発明に従えば、前記動画場面転換部検出方
法は、第13の発明の動画場面転換部検出方法におい
て、前記数式およびパラメータが上述のものになってい
る。前記2次関数のグラフは、凸部が1つなので、前記
基準パターンに近似しやすい。また前記2次関数の式は
構成が簡単なので、前記グラフの凸部の中心、幅、位
置、高さに関するパラメータを抽出しやすい。この結果
前記第14の発明の方法における特性を検出する処理に
おいて、前記各変化パターンと前記各基準パターンとの
比較を、容易に行うことができる。In the moving image scene changing portion detecting method of the fourteenth invention, the mathematical expression is a quadratic function, and the parameter is
It is characterized in that it is a coefficient of the calculated quadratic function. According to a fourteenth aspect of the present invention, in the moving image scene change portion detection method according to the thirteenth invention, the mathematical formula and the parameters are as described above. Since the graph of the quadratic function has one convex portion, it is easy to approximate the reference pattern. Further, since the formula of the quadratic function has a simple structure, it is easy to extract parameters relating to the center, width, position and height of the convex portion of the graph. As a result, in the process of detecting the characteristic in the method of the fourteenth aspect, the change patterns can be easily compared with the reference patterns.
【0037】第15の発明の動画場面転換部検出方法
は、前記数式は、正弦関数を含む関数であり、前記パラ
メータは、前記算出された関数内の正弦関数の位相およ
びゲインであることを特徴とする。第15の発明に従え
ば、前記動画場面転換部検出方法は、第13の発明の動
画場面転換部検出方法において、前記数式およびパラメ
ータが上述のものになっている。前記正弦関数を含む関
数のグラフのうちの半周期分の部分は、凸部が1つなの
で、前記基準パターンに近似しやすい。また前記関数の
式は構成が簡単なので、前記グラフの凸部の中心、幅、
位置、高さに関するパラメータを抽出しやすい。この結
果前記第15の発明の方法における特性を検出する処理
において、前記各変化パターンと前記各基準パターンと
の比較を、容易に行うことができる。In the moving picture scene change part detecting method of the fifteenth invention, the mathematical expression is a function including a sine function, and the parameters are a phase and a gain of the sine function in the calculated function. And According to a fifteenth aspect of the present invention, in the moving picture scene change portion detection method of the thirteenth invention, the formula and the parameters are as described above. Since the half cycle portion of the graph of the function including the sine function has one convex portion, it is easy to approximate the reference pattern. Also, since the formula of the function is simple in construction, the center of the convex portion of the graph, the width,
It is easy to extract parameters related to position and height. As a result, in the process of detecting the characteristic in the method of the fifteenth invention, it is possible to easily compare the change patterns with the reference patterns.
【0038】第16の発明は、特徴が同一または近似し
かつ時間経過に伴って順次的に表示されるべき複数のフ
レームからそれぞれ構成される複数のショットから構成
される動画を記憶させる処理と、前記動画内のいずれか
1つのフレームである第1フレームの、前記動画内のフ
レームの表示順に予め定める複数の基準枚数だけ該第1
フレームからそれぞれ離れた複数の第2フレームとの特
徴の相違の程度をそれぞれ表す複数の離反フレーム間相
違度を、前記第1フレームをずらしてそれぞれ演算する
処理と、前記フレームの前記各第2フレームに対応する
離反フレーム間相違度の前記表示順に従う変化の特性
を、それぞれ検出する処理と、前記検出された特性に基
づいて、動画内の表示順が隣接するべきフレームが重な
って合成されたトランジション効果を有する合成フレー
ムを、動画内から検出する処理と、前記動画内の各フレ
ーム毎に、該各フレームの表示順と1つだけ異なる表示
順のフレームと該各フレームとの特徴の違いを示す隣接
フレーム間相違度を、それぞれ算出する処理と、前記各
フレームの隣接フレーム間相違度から、該各フレームを
含み表示順が連続した複数のフレームのうちの該各フレ
ームを除く残余のフレームの隣接フレーム間相違度と予
め定める複数の重み係数との積の総和を、それぞれ減算
する処理と、前記減算後の隣接フレーム間相違度が予め
定めるカット点検出用閾値以上のフレームを、前記動画
内から検出する処理と、前記検出されたフレームに基づ
き、前記動画内のカット点を検出する処理とを含み、前
記残余の各フレームの隣接フレーム間相違度に乗算され
る各重み係数は、前記残余のフレームの隣接フレーム間
相違度のうちの該各隣接フレーム間相違度よりも小さい
隣接フレーム間相違度に乗算される重み係数以上である
ことを特徴とする動画場面転換部検出方法である。第1
6の発明に従えば、前記動画場面転換部検出方法におい
て、前記複数の各離反フレーム間相違度の表示順に基づ
く変化の特性を検出し、該特性に基づいて、前記動画内
から前記合成フレームを検出する。この結果前記方法が
用いられる場合、トランジション効果の種類に拘わりな
く、前記合成フレーム、すなわち動画内のトランジショ
ン効果を用いた場面転換部を検出することができる。さ
らに前記方法が用いられる場合、前記場面転換部の検出
のための計算量を、従来の場面転換部の検出のための方
法の計算量よりも減少させることができ、かつ、該検出
の精度を、前記従来の方法よりも向上させることができ
る。また前記動画場面転換部検出方法において、カット
点検出に拘わる上述の処理を含む構成になっている。前
記補正によって、前記各隣接フレーム相違度内の、動画
内の各ショットの撮影時のカメラおよび被写体の動きに
起因する該各ショット内の連続するフレームの差異に起
因する成分が、小さくなる。この結果前記第16の発明
の動画場面転換部検出方法は、カット点の検出精度を向
上させることができる。A sixteenth aspect of the invention is a process of storing a moving image composed of a plurality of shots each of which has the same or similar features and which should be sequentially displayed with the passage of time. A plurality of reference numbers of the first frames, which is one of the frames in the moving image, are displayed in the display order of the frames in the moving image.
A process of calculating a plurality of dissimilarity degrees between separated frames, each of which represents a degree of difference in characteristics from a plurality of second frames separated from the frame, by respectively shifting the first frame, and each of the second frames of the frame. A process of detecting a characteristic of a change in the dissociation degree between disjoint frames corresponding to the display order, and a transition synthesized based on the detected characteristic, in which frames that should be adjacent in the display order in the moving image overlap each other. A process of detecting a composite frame having an effect from a moving image, and for each frame in the moving image, a display order different from the display order of each frame and a difference in characteristics between the respective frames are shown. Based on the processing of calculating the dissimilarity between adjacent frames and the dissimilarity between adjacent frames of each frame, the display order including each frame is continuous. A process of subtracting the sum of products of the difference between adjacent frames of the remaining frames excluding each frame of the plurality of frames and a plurality of predetermined weighting factors, and the difference between adjacent frames after the subtraction are A frame having a predetermined cut point detection threshold value or more is detected from within the moving image, and a process of detecting a cut point within the moving image based on the detected frame is included, and the remaining frames are adjacent to each other. Each of the weighting factors to be multiplied to the inter-frame dissimilarity is equal to or more than the weighting factor to be multiplied to the adjacent frame dissimilarity smaller than the adjacent frame dissimilarity among the adjacent frame dissimilarities of the residual frame. A method for detecting a moving image scene transition part, which is characterized in that: First
According to a sixth aspect of the present invention, in the moving picture scene change section detecting method, a characteristic of a change based on a display order of the dissimilarity degrees between the plurality of separated frames is detected, and based on the characteristic, the composite frame is extracted from the moving picture. To detect. As a result, when the method is used, the scene change part using the transition effect in the composite frame, that is, the moving image can be detected regardless of the type of the transition effect. Further, when the method is used, the amount of calculation for detecting the scene change portion can be made smaller than that of the method for detecting the conventional scene change portion, and the accuracy of the detection can be improved. It can be improved over the conventional method. Further, the moving picture scene change portion detection method is configured to include the above-mentioned processing relating to cut point detection. By the correction, the component in each adjacent frame difference degree due to the difference between successive frames in each shot due to the movement of the camera and the subject at the time of shooting each shot in the moving image is reduced. As a result, the moving-image / scene-changing-portion detecting method according to the sixteenth aspect of the present invention can improve the accuracy of detecting cut points.
【0039】第17の発明は、特徴が同一または近似し
かつ時間経過に伴って順次的に表示されるべき複数のフ
レームからそれぞれ構成される複数のショットから構成
される動画を記憶させる処理と、前記動画内のいずれか
1つのフレームである第1フレームの、前記動画内のフ
レームの表示順に予め定める複数の基準枚数だけ該第1
フレームからそれぞれ離れた複数の第2フレームとの特
徴の相違の程度をそれぞれ表す複数の離反フレーム間相
違度を、前記第1フレームをずらしてそれぞれ演算する
処理と、前記フレームの前記各第2フレームに対応する
離反フレーム間相違度の前記表示順に従う変化の特性
を、それぞれ検出する処理と、前記検出された特性に基
づいて、動画内の表示順が隣接するべきフレームが重な
って合成されたトランジション効果を有する合成フレー
ムを、動画内から検出する処理と、前記動画内の各フレ
ーム毎に、該各フレームの表示順と1つだけ異なる表示
順のフレームと該各フレームとの特徴の違いを示す隣接
フレーム間相違度を、それぞれ算出する処理と、前記動
画内から、隣接フレーム間相違度が予め定めるカット点
検出用閾値以上の全てのフレームのうち、該各フレーム
を含み配列順が連続する複数の各フレームのいずれか1
つの離反フレーム間相違度が、全て予め定める閾値以上
であるフレームを検出する処理と、前記検出されたフレ
ームに基づき、前記動画内のカット点を検出する処理と
を含むことを特徴とする動画場面転換部検出方法であ
る。第17の発明に従えば、前記動画場面転換部検出方
法において、前記複数の各離反フレーム間相違度の表示
順に基づく変化の特性を検出し、該特性に基づいて、前
記動画内から前記合成フレームを検出する。この結果前
記方法が用いられる場合、トランジション効果の種類に
拘わりなく、前記合成フレーム、すなわち動画内のトラ
ンジション効果を用いた場面転換部を検出することがで
きる。さらに前記方法が用いられる場合、前記場面転換
部の検出のための計算量を、従来の場面転換部の検出の
ための方法の計算量よりも減少させることができ、か
つ、該検出の精度を、前記従来の方法よりも向上させる
ことができる。また前記動画場面転換部検出方法におい
て、カット点検出に拘わる上述の処理を含む構成になっ
ている。この結果動画内の各ショット内の連続する2つ
のフレームの隣接フレーム間相違度が前記カット点検出
用閾値以上になっている場合、該2つのフレームを含み
連続する複数のフレームの離反フレーム間相違度と前記
閾値との大小関係に応じて、前記2つのフレームを検出
するか否かを定める。前記離反フレーム相違度の増加
は、たとえば、単一のショット内の連続する2つのフレ
ームのうちの一方の撮影時だけに、フラッシュがたかれ
ている場合に、起こる。この結果前記第17の発明の動
画場面転換部検出方法は、フラッシュの影響に起因する
カット点の誤検出を防止することができるので、カット
点の検出精度を向上させることができる。A seventeenth aspect of the present invention is a process of storing a moving image composed of a plurality of shots each of which has the same or similar features and which should be sequentially displayed with the passage of time. A plurality of reference numbers of the first frames, which is one of the frames in the moving image, are displayed in the display order of the frames in the moving image.
A process of calculating a plurality of dissimilarity degrees between separated frames, each of which represents a degree of difference in characteristics from a plurality of second frames separated from the frame, by respectively shifting the first frame, and each of the second frames of the frame. A process of detecting a characteristic of a change in the dissociation degree between disjoint frames corresponding to the display order, and a transition synthesized based on the detected characteristic, in which frames that should be adjacent in the display order in the moving image overlap each other. A process of detecting a composite frame having an effect from a moving image, and for each frame in the moving image, a display order different from the display order of each frame and a difference in characteristics between the respective frames are shown. The process of calculating the dissimilarity between adjacent frames is performed, and if the dissimilarity between adjacent frames is equal to or greater than a predetermined cut point detection threshold value from within the moving image. Out of the frame, one of each of a plurality of frames arranged order include respective frames are consecutive 1
A moving image scene characterized by including a process of detecting frames in which the dissimilarity between two separated frames is all equal to or greater than a predetermined threshold value, and a process of detecting a cut point in the moving image based on the detected frames. It is a conversion part detection method. According to a seventeenth aspect of the present invention, in the moving picture scene change section detection method, a characteristic of change based on a display order of the dissimilarity degrees between the plurality of separated frames is detected, and based on the characteristic, the composite frame is included in the moving picture. To detect. As a result, when the method is used, the scene change part using the transition effect in the composite frame, that is, the moving image can be detected regardless of the type of the transition effect. Further, when the method is used, the amount of calculation for detecting the scene change portion can be made smaller than that of the method for detecting the conventional scene change portion, and the accuracy of the detection can be improved. It can be improved over the conventional method. Further, the moving picture scene change portion detection method is configured to include the above-mentioned processing relating to cut point detection. As a result, when the dissimilarity between adjacent frames of two consecutive frames in each shot in the moving image is equal to or higher than the cut point detection threshold value, the dissimilarity between separated frames of a plurality of consecutive frames including the two frames. Whether or not to detect the two frames is determined according to the magnitude relationship between the degree and the threshold value. The increase in the dissociation frame dissimilarity occurs, for example, when the flash is hit only when one of two consecutive frames in a single shot is shot. As a result, the moving image scene changing portion detection method according to the seventeenth aspect of the present invention can prevent erroneous detection of the cut point due to the influence of the flash, thereby improving the detection accuracy of the cut point.
【0040】第18の発明は、請求項11〜17のうち
のいずれかに記載の動画場面転換部検出方法を、コンピ
ュータに実行させるための動画場面転換部検出制御プロ
グラムを記憶する媒体である。第18の発明に従えば、
前記媒体は、前記動画場面転換部検出制御プログラムを
含む。前記プログラムをコンピュータにインストールし
て実行させた場合、該コンピュータは、第1〜第7のう
ちのいずれかの発明の動画場面転換部検出装置と同様に
動作する。この結果前記コンピュータは、第1〜第7の
発明の装置と同様に、動画内のトランジション効果を用
いた場面転換部を、該トランジション効果の種類に拘わ
らず、検出することができ、かつ、前記場面転換部の検
出に要する計算量の減少、および該検出の精度の向上を
図ることができる。An eighteenth invention is a medium for storing a moving picture scene changing portion detection control program for causing a computer to execute the moving picture scene changing portion detecting method according to any one of claims 11 to 17. According to the eighteenth invention,
The medium includes the moving image / scene changing portion detection control program. When the program is installed in a computer and executed, the computer operates in the same manner as the moving picture scene change unit detection device of any one of the first to seventh inventions. As a result, the computer can detect the scene change portion using the transition effect in the moving image regardless of the type of the transition effect, and the computer, like the device according to the first to seventh inventions, and It is possible to reduce the amount of calculation required to detect the scene change unit and improve the accuracy of the detection.
【0041】[0041]
【0042】[0042]
【発明の実施の形態】図1は、本発明の第1の実施の形
態である動画場面転換部検出装置50の機能的構成を示
すブロック図である。第1の実施の形態の動画場面転換
部検出装置(以後、「第1転換部検出装置」と略称す
る)50は、機能的には、フレーム展開部51、フレー
ム記憶部52、フレーム内特徴抽出部53、フレーム内
特徴記憶部54、相違度計算部55、相違度記憶部5
6、特徴形状検出部57、カット検出部58、検出結果
出力部59、および制御回路60を含む。制御回路60
は、第1転換部検出装置50内の他の部51〜59の動
作タイミングを制御する。FIG. 1 is a block diagram showing a functional configuration of a moving picture / scene changing portion detecting device 50 according to a first embodiment of the present invention. The moving image scene transition detection device (hereinafter, abbreviated as “first transition detection device”) 50 of the first embodiment functionally includes a frame expansion unit 51, a frame storage unit 52, and an in-frame feature extraction. Unit 53, in-frame feature storage unit 54, dissimilarity calculation unit 55, dissimilarity storage unit 5
6, a characteristic shape detection unit 57, a cut detection unit 58, a detection result output unit 59, and a control circuit 60. Control circuit 60
Controls the operation timing of the other units 51 to 59 in the first conversion unit detection device 50.
【0043】処理対象となる動画、すなわち対象動画
は、前述の図22で説明したものと同様に、複数のショ
ットが場面転換部を介して順次接続されて構成されてい
るとする。前記各ショットは、時間経過に伴って順次表
示するべき1または複数のフレームの集合である。前記
対象動画内の場面転換部は、図23(A)で説明したカ
ット点でもよく、図23(B),(C)で説明したトラ
ンジション部分、すなわちトランジション効果を用いた
ショットの転換のための合成フレームの集合であっても
よい。各フレームは、動画を構成するための静止画に相
当する。このような構成の対象動画の各フレームをそれ
ぞれ示すデータが、予め定める表示順に従い、時間経過
に伴って順次的に、第1転換部検出装置50に入力され
る。It is assumed that the moving image to be processed, that is, the target moving image, is composed of a plurality of shots sequentially connected through the scene changing unit, as in the case described with reference to FIG. Each of the shots is a set of one or a plurality of frames to be sequentially displayed with the passage of time. The scene change part in the target moving image may be the cut point described in FIG. 23A, and may be the transition part described in FIGS. 23B and 23C, that is, for the shot conversion using the transition effect. It may be a set of composite frames. Each frame corresponds to a still image for composing a moving image. Data indicating each frame of the target moving image having such a configuration is sequentially input to the first conversion unit detection device 50 in accordance with a predetermined display order over time.
【0044】入力された前記対象動画の各フレームを示
すデータは、与えられた順に、フレーム展開部51にそ
れぞれ与えられる。フレーム展開部51は、各フレーム
のデータの形態を、転換部検出装置31内で処理するの
に適した形態に、それぞれ変換する。以後の説明では、
形態変換後のデータが示すフレームは、複数個の画素が
行列状に配置されて構成される静止画であるとし、該形
態変換後の各フレームのデータは、該各フレームを構成
する全ての画素の色および輝度をそれぞれ示す画素デー
タセットの集合、すなわちいわゆる格子状データである
とする。The data indicating each frame of the inputted target moving image is given to the frame expanding section 51 in the given order. The frame expansion unit 51 converts the data form of each frame into a form suitable for processing in the conversion unit detection device 31. In the following explanation,
It is assumed that the frame indicated by the data after the form conversion is a still image configured by arranging a plurality of pixels in a matrix, and the data of each frame after the form conversion includes all the pixels forming the frame. It is assumed that it is a set of pixel data sets respectively indicating the color and the luminance, that is, so-called grid data.
【0045】すなわちたとえばフレーム展開部51は、
入力時点の各フレームのデータがアナログデータである
ならば、該データをアナログ/デジタル変換した後に格
子状データに変換し、入力時点の各フレームのデータが
圧縮されたデジタルデータであるならば、該データを展
開した後に格子状データに変換する。なお第1転換部検
出装置31内で、対象動画内の各フレームは前記格子状
データの形態で取扱われ、対象動画は該動画を構成する
全てのフレームの格子状データの集合として取扱われる
が、以後の説明では取扱われる形態に拘わらず、「フレ
ーム」,「対象動画」と称する。That is, for example, the frame expanding section 51
If the data of each frame at the time of input is analog data, the data is converted from analog to digital and then converted to grid data, and if the data of each frame at the time of input is compressed digital data, After expanding the data, it is converted to grid data. In the first conversion unit detection device 31, each frame in the target moving image is handled in the form of the grid-shaped data, and the target moving image is handled as a set of grid-shaped data of all the frames forming the moving image. In the following description, they will be referred to as "frames" and "target moving images" regardless of the form handled.
【0046】形態変換後の対象動画内の各フレームは、
フレーム記憶部52に順次記憶される。以後、対象動画
を構成する全てのフレームのうち、表示順に従い、先頭
からn番目のフレームを、第nフレームと称する。n
は、0以上でかつ対象画像の全フレーム数N未満の任意
の整数である。すなわち前記対象動画は、第0フレーム
〜第N−1フレームによって構成されるとする。フレー
ム記憶部52は、少なくとも1枚の形態変換後のフレー
ムを記憶可能であるとする。Each frame in the target moving image after the form conversion is
The frames are sequentially stored in the frame storage unit 52. Hereinafter, of all the frames forming the target moving image, the n-th frame from the beginning in the display order is referred to as the n-th frame. n
Is an arbitrary integer greater than or equal to 0 and less than the total number N of frames of the target image. That is, it is assumed that the target moving image is composed of the 0th frame to the (N-1) th frame. It is assumed that the frame storage unit 52 can store at least one frame after the form conversion.
【0047】フレーム内特徴抽出部53は、フレーム記
憶部52内のフレームに基づき、該フレームのフレーム
内特徴を求める。第nフレームのフレーム内特徴Rn
は、第nフレームを対象動画内の他のフレームと区別す
るために用いる定量的な数値の集まりである。添字nは
0以上N−1以下の整数である。The in-frame feature extraction unit 53 obtains the in-frame feature of the frame based on the frame in the frame storage unit 52. In-frame feature Rn of the nth frame
Is a set of quantitative values used to distinguish the nth frame from other frames in the target moving image. The subscript n is an integer of 0 or more and N-1 or less.
【0048】フレーム内特徴記憶部54は、縦列接続さ
れた予め定める数NFの特徴バッファBF[0]〜BF
[NF−1]を備え、各特徴バッファBF[f]にそれ
ぞれ1つのフレーム内特徴Rnを記憶する。NFは、1
以上N以下の任意の整数であり、fは0以上NF−1以
下の任意の整数である。すなわちフレーム内特徴記憶部
54は、少なくとも3つ以上の特徴バッファBF[f]
を備える。各特徴バッファBF[f]は、添字fが大き
いほど、対象動画内の表示順の早いフレームのフレーム
内特徴を記憶するものとする。The in-frame feature storage unit 54 stores a predetermined number NF of feature buffers BF [0] to BF connected in cascade.
[NF-1] is provided, and one in-frame feature Rn is stored in each feature buffer BF [f]. NF is 1
It is an arbitrary integer of not less than N and not more than N, and f is an arbitrary integer of not less than 0 and not more than NF-1. That is, the in-frame feature storage unit 54 stores at least three feature buffers BF [f].
Equipped with. Each feature buffer BF [f] stores the in-frame feature of the frame in the display order in the target moving image as the subscript f increases.
【0049】相違度計算部55は、フレーム内特徴記憶
部54内の複数のフレーム内特徴R 〜Rn-NF+1を用い、
対象動画内の各フレーム毎に、複数のフレーム間相違度
をそれぞれ求める。第nフレームのいずれか1つのフレ
ーム間相違度D(n,n−Lx)は、第nフレームと、
該第nフレームから予め定める第xフレーム間距離Lx
だけそれぞれ離れた他のフレームとの相違性をそれぞれ
数量化したものである。xは、1以上の任意の整数であ
る。フレーム間相違度が大きいほど、第nフレームと前
記他のフレームとの違いが大きい。フレーム間距離と
は、基準の第nフレームと比較対象である前記他のフレ
ームとの表示順番の差である。フレーム間距離は、基本
的には、検出しようとしているトランジション部分内の
全フレーム数以下であればよく、該フレーム数は、基本
的には、単一ショットを構成する全フレーム数未満であ
る。The dissimilarity calculation unit 55 uses the intra-frame feature storage.
Multiple in-frame features R in section 54 ~ Rn-NF + 1Using
Difference between multiple frames for each frame in the target video
Respectively. One of the frames in the nth frame
The inter-arm dissimilarity D (n, n-Lx) is the n-th frame,
A predetermined inter-frame distance Lx from the n-th frame
Each different from each other apart from each other
It is quantified. x is an arbitrary integer of 1 or more
It The greater the difference between frames, the earlier the nth frame
The difference with other frames is great. Interframe distance and
Is the other frame to be compared with the reference nth frame.
It is the difference in the display order from the game. Basic distance between frames
In the transition part you are trying to detect
It may be less than or equal to the total number of frames.
Typically less than the total number of frames that make up a single shot.
It
【0050】本実施の形態では、第nフレームに関し、
該第nフレームと、該第nフレームよりも第1〜第3フ
レーム間距離L1〜L3だけ表示順が早いフレーム、す
なわち第n−L1,第n−L2,第n−L3フレームと
の相違性をそれぞれ数量化した第1〜第3フレーム間相
違度D(n,n−L1),D(n,n−L2),D
(n,n−L3)がそれぞれ求められるとする。この
際、第1フレーム間距離L1は1であり、第2フレーム
間距離L2は2以上の整数であり、第3フレーム間相違
度L3は第2フレーム間距離L3よりも大きく、かつ前
記トランジション部分の全フレーム数以下であるとす
る。すなわち第1フレーム間相違度D(n,n−L1)
は、対象動画内で連続する2つのフレーム間の相違度、
すなわち隣接フレーム間相違度であり、第2および第3
フレーム間相違度D(n,n−L2),D(n,n−L
3)は、対象動画内で少なくとも1つの他のフレームを
挟んで並ぶ2つのフレーム間の相違度、すなわち離反フ
レーム間相違度である。本実施の形態では、1秒分の動
画が30フレームから構成され、トランジション効果が
およそ1秒間(30フレーム)として、第2フレーム間
距離L2を10とし、第3フレーム間距離L3を30と
する。In the present embodiment, regarding the nth frame,
Dissimilarity between the nth frame and a frame whose display order is earlier than the nth frame by the distances L1 to L3 between the first to third frames, that is, the n-L1, the n-L2, and the n-L3 frames. The first to third frame dissimilarities D (n, n-L1), D (n, n-L2), D
It is assumed that each of (n, n-L3) is obtained. At this time, the first inter-frame distance L1 is 1, the second inter-frame distance L2 is an integer of 2 or more, the third inter-frame difference L3 is larger than the second inter-frame distance L3, and the transition portion is Is less than or equal to the total number of frames. That is, the first frame difference D (n, n-L1)
Is the difference between two consecutive frames in the target video,
That is, it is the degree of difference between adjacent frames, and the second and third
Inter-frame dissimilarity D (n, n-L2), D (n, n-L)
3) is a dissimilarity between two frames arranged with at least one other frame sandwiched in the target moving image, that is, a dissimilarity between separated frames. In the present embodiment, a moving image for 1 second is composed of 30 frames, the transition effect is about 1 second (30 frames), the second inter-frame distance L2 is 10, and the third inter-frame distance L3 is 30. .
【0051】相違度記憶部56は、縦列接続された予め
定める数の相違度バッファから構成されるバッファ群
を、1つのフレームに対するフレーム間相違度の数と同
数備える。すなわち本実施の形態では、相違度記憶部5
6は、第1〜第3バッファ群、すなわちそれぞれ縦列接
続された予め定める数NDずつの第1〜第3相違度バッ
ファBDL1[0]〜BDL1[ND−1],BDL2
[0]〜BDL2[ND−1],BDL3[0]〜BD
L3[ND−1]をそれぞれ備え、各相違度バッファB
DL1[d],BDL2[d],BDL3[d]がそれ
ぞれ1つの第1〜第3フレーム間相違度D(n,n−L
1),D(n,n−L2),D(n,n−L3)をそれ
ぞれ記憶する。NDは1以上N以下の任意の整数であ
り、dは0以上ND−1以下の任意の整数である。各第
1〜第3相違度バッファBDL1[d]〜BDL3
[d]は、添字dが大きいほど、対象動画内の表示順の
早いフレームの第1〜第3フレーム間相違度を記憶する
ものとする。The dissimilarity storage unit 56 has the same number of buffer groups each including a predetermined number of dissimilarity buffers connected in cascade as the number of inter-frame dissimilarities for one frame. That is, in the present embodiment, the difference storage unit 5
Reference numeral 6 designates a first to a third buffer group, that is, a first to a third difference buffers BDL1 [0] to BDL1 [ND-1], BDL2 each having a predetermined number ND connected in cascade.
[0] to BDL2 [ND-1], BDL3 [0] to BD
L3 [ND-1], and each difference degree buffer B
DL1 [d], BDL2 [d], and BDL3 [d] are each one 1st to 3rd interframe difference D (n, nL)
1), D (n, n-L2) and D (n, n-L3) are stored. ND is an arbitrary integer of 1 or more and N or less, and d is an arbitrary integer of 0 or more and ND-1 or less. Each of the first to third difference degree buffers BDL1 [d] to BDL3
In [d], the larger the subscript d, the more the degree of difference between the first to third frames of the frames in the display order in the target moving image is stored.
【0052】カット検出部58は、少なくとも相違度記
憶部56内の複数のフレームの第1フレーム間相違度D
(n,n−L1)を用い、対象動画内からカット点を検
出する。特徴形状検出部57は、少なくとも相違度記憶
部56内の複数のフレームの第2および第3フレーム間
相違度D(n,n−L2),D(n,n−L3)を用
い、対象動画内から、トランジション部分を検出する。
検出結果出力部59は、カットおよび特徴形状検出部5
8,57の検出結果に基づき、対象動画内にカット点ま
たはトランジション部分のうちの少なくとも一方、すな
わち場面転換部があるか否かを、検出結果として出力す
る。The cut detector 58 at least detects the first interframe difference D of a plurality of frames in the difference storage 56.
Using (n, n-L1), the cut point is detected from within the target moving image. The feature shape detection unit 57 uses at least the second and third inter-frame dissimilarities D (n, n-L2) and D (n, n-L3) of the plurality of frames in the dissimilarity storage unit 56 to determine the target moving image. Detect the transition part from inside.
The detection result output unit 59 uses the cut / feature shape detection unit 5
Based on the detection results of Nos. 8 and 57, it is output as a detection result whether at least one of the cut point or the transition portion, that is, the scene change portion is present in the target moving image.
【0053】一般的に、任意の2つのフレームが同一シ
ョット内のフレームである場合、該2つのフレーム間の
フレーム間距離が短いほど、該2つのフレーム間の相違
度が小さく、該フレーム間距離が長いほど、該相違度が
大きくなる。これは以下の理由からである。前記場合、
前記フレーム間距離が短いほど、前記2つの各フレーム
の撮影時点間の時間間隔が短くなるので、該2つの撮影
時点間の被写体とカメラとの相対的な位置関係のずれが
小さくなる。この結果2つの各フレームには、前記被写
体がほぼ同一の位置に写っているので、該2つのフレー
ムの相関が高い。これと逆に、前記場合、前記フレーム
間距離が長いほど、前記2つの各フレームの撮影時点間
の時間間隔が長くなるので、該2つの撮影時点間の前記
位置関係のずれが大きくなる。この結果2つのフレーム
の相関が低くなる。2つのフレームの相関が高いほど、
該2つのフレーム間の前記フレーム間相違度は低い。Generally, when two arbitrary frames are frames within the same shot, the shorter the distance between the two frames is, the smaller the difference between the two frames is, and the distance between the frames is decreased. Is longer, the difference becomes larger. This is for the following reason. In the above case,
The shorter the inter-frame distance is, the shorter the time interval between the photographing times of the two respective frames is, and thus the deviation of the relative positional relationship between the subject and the camera between the two photographing times becomes smaller. As a result, since the subject appears in substantially the same position in each of the two frames, the correlation between the two frames is high. On the contrary, in the above case, the longer the inter-frame distance is, the longer the time interval between the photographing times of the two frames is, and thus the deviation of the positional relationship between the two photographing times becomes large. As a result, the correlation between the two frames is low. The higher the correlation between the two frames,
The difference between the frames between the two frames is low.
【0054】具体的な前記トランジション効果は、たと
えば、ディゾルブ、ワイプ、スライド、プッシュ、スト
レッチ、およびピール等がある。ディゾルブは、先行シ
ョットと後続ショットとの切換えの際に、先行ショット
内から後続ショットを浮き出させる。ワイプは、前記切
換えの際に、先行ショットが後続ショットによって拭い
去らせる。スライドは、前記切換えの際に、先行ショッ
トに後続ショットをスライドして挿入させる。プッシュ
は、前記切換の際に、後続ショットが先行ショットを押
し出すように挿入させる。ストレッチは、前記切換えの
際に、先行ショットと後続ショットとをそれぞれ縮小し
て並べ、かつ該各ショットの面積比率を変更する、ピー
ルは、先行ショットを紙がめくれるように変化させて後
続ショットと切換える。具体的なトランジション効果
は、この他に、たとえば2つのショットのうちの一方を
3次元的に変形かつ移動させるものがある。またたとえ
ばワイプ、スライド、プッシュおよびストレッチは、シ
ョットの変形する方向が、表示装置の画面の上下左右の
うちのどの方向でもよく、またワイプは後続ショットが
画面中央、画面両端、画面の四隅のうちのどこから現れ
ても良い。Specific transition effects include, for example, dissolve, wipe, slide, push, stretch, and peel. Dissolve causes a subsequent shot to stand out from within the preceding shot when switching between the preceding shot and the following shot. The wipe causes the preceding shot to be wiped off by the succeeding shot when the switching is performed. In the slide, when the switching is performed, the subsequent shot is slid and inserted into the preceding shot. The push inserts the subsequent shot so as to push out the preceding shot at the time of the switching. In the stretch, when the switching is performed, the preceding shot and the succeeding shot are reduced and arranged, and the area ratio of each shot is changed. Switch. In addition to the specific transition effect, for example, one of two shots is three-dimensionally deformed and moved. For wipes, slides, pushes and stretches, the shot may be deformed in any of the top, bottom, left, and right directions of the screen of the display device. You can come from anywhere.
【0055】図2は、対象動画内のトランジション部分
および該部分の前後のショット内のフレームを、表示順
に並べた模式図である。複数の合成フレームから構成さ
れるトランジション部分TRを介して、2つのショット
SA,SBが連結されている。トランジション部分TR
内のフレームC(1)〜C(NN)は、2つのショット
のうちの先行ショットSAの末尾よりも表示順が予め定
める数NNだけ早いフレームから末尾のフレームまでの
複数のフレームAと、2つのショットのうちの後続ショ
ットSBの先頭フレームから該先頭フレームよりも表示
順が予め定める数NNだけ遅いフレームまでの複数のフ
レームBとが、それぞれ式1に基づいて合成されたもの
である。FIG. 2 is a schematic diagram in which a transition part in a target moving image and frames in shots before and after the part are arranged in display order. Two shots SA and SB are connected via a transition part TR composed of a plurality of composite frames. Transition part TR
The frames C (1) to C (NN) in the two frames A and 2 are a plurality of frames A from a frame that is earlier than the end of the preceding shot SA of the two shots by a predetermined number NN to the end frame and 2 A plurality of frames B from the first frame of the succeeding shot SB of the one shot to a frame whose display order is later than the first frame by a predetermined number NN are synthesized based on Expression 1.
【0056】
C(n)= α(n)B+(1−α(n))A
n = 1,2,3,…,NN …(1)
0 < α(n)< 1 …(2)
α(n)= n÷(NN+1) …(3)
式1において、「NN」はトランジション効果を用いた
場面転換部に用いられるフレームの数であり、係数「α
(n)」は式2,3によって定義される。前記フレーム
の数NNに規定はなく、どのような数値でもよい。具体
的には、たとえばトランジション部分がディゾルブ効果
を用いる場合、前述の2つのショットSA,SBのフレ
ームA,Bの対応画素の色が、式1の関係で混合され
る。対応画素とは、2枚のフレームを座標系を一致させ
て重ね合わせた場合に、相互に重なり合う画素を指す。
またたとえばトランジション部分Tがワイプ効果を用い
る場合、表示装置の画面上に占める前述の2つのショッ
トSA,SBのフレームA,Bの面積比率が、式1の関
係で変化する。C (n) = α (n) B + (1-α (n)) A n = 1,2,3, ..., NN ... (1) 0 <α (n) <1 ... (2) α (N) = n ÷ (NN + 1) (3) In Expression 1, “NN” is the number of frames used in the scene changing part using the transition effect, and the coefficient “α”.
(N) ”is defined by equations 2 and 3. The number NN of frames is not specified, and any numerical value may be used. Specifically, for example, when the transition part uses the dissolve effect, the colors of the corresponding pixels of the frames A and B of the two shots SA and SB described above are mixed according to the relationship of Expression 1. Corresponding pixels refer to pixels that overlap each other when two frames are superposed with their coordinate systems matched.
Further, for example, when the transition portion T uses the wipe effect, the area ratio of the frames A and B of the two shots SA and SB occupying on the screen of the display device changes according to the relation of the expression 1.
【0057】対象動画内のフレームの離反フレーム間相
違度、すなわち本実施の形態の第2および第3フレーム
間相違度の表示順に従う変化と、トランジション効果と
の関係を、以下に説明する。The relationship between the transition effect and the dissimilarity between frames in the target moving image, that is, the change in the display order of the dissimilarity between the second and third frames in the present embodiment, and the transition effect will be described below.
【0058】図3は、対象動画内のトランジション部分
内およびその近傍のフレームの第2および第3フレーム
間相違度D(n,n−L2),D(n,n−L3)を、
該フレームの表示順に従ってプロットしたグラフであ
る。グラフGD1,GD2は、第2および第3フレーム
間相違度D(n,n−L2),D(n,n−L3)の表
示順に従う変化を、それぞれ示す。なお図3において、
先行ショット内の複数のフレームおよび後続ショット内
の複数のフレームは、それぞれほとんど相違がないと仮
定する。またフレーム間相違度の演算において、演算対
象となる第nフレームを着目フレーム、該第nフレーム
よりも前記フレーム間距離だけ表示順が早いフレーム
を、比較用フレームと称する。FIG. 3 shows the dissimilarities D (n, n-L2) and D (n, n-L3) between the second and third frames of the frames in and near the transition part in the target moving image,
It is a graph plotted according to the display order of the frame. Graphs GD1 and GD2 respectively show changes according to the display order of the dissimilarities D (n, n-L2) and D (n, n-L3) between the second and third frames. In addition, in FIG.
It is assumed that the plurality of frames in the preceding shot and the plurality of frames in the following shot have almost no difference. Further, in the calculation of the dissimilarity between frames, the nth frame to be calculated is referred to as a frame of interest, and the frame whose display order is earlier than the nth frame by the distance between frames is referred to as a comparison frame.
【0059】グラフGD1,GD2のうちの区間WA
1,WA2内の離反フレーム間相違度の算出時、着目お
よび比較用フレームの両方が先行ショット内のフレーム
である。この場合前記離反フレーム間相違度は比較的低
い値を保ち、かつ離反フレーム該相違度の表示順に伴う
変化は小さい。グラフGD1,GD2のうちの区間WB
1,WB2内の離反フレーム間相違度の算出時、着目フ
レームだけがトランジション部分内のフレームであり、
比較用フレームは先行ショット内のフレームである。こ
の場合、着目フレームの表示順が増加するほど該着目フ
レームは先行ショットから離れるので、着目フレームの
表示順が大きいほど、前記離反フレーム間相違度は大き
い。The section WA of the graphs GD1 and GD2
When calculating the dissimilarity between separated frames in 1 and WA2, both the focus and the comparison frames are the frames in the preceding shot. In this case, the dissimilarity between the separated frames remains relatively low, and the change in the dissimilarity between the separated frames in the display order is small. Section WB of graphs GD1 and GD2
1, when calculating the dissimilarity between separated frames in WB2, only the frame of interest is the frame in the transition part,
The comparative frame is the frame in the preceding shot. In this case, as the display order of the frame of interest increases, the frame of interest becomes more distant from the preceding shot. Therefore, the larger the display order of the frame of interest, the larger the dissimilarity between separated frames.
【0060】グラフGD1,GD2のうちの区間WC
1,WC2内の離反フレーム間相違度の算出時、着目お
よび比較用フレームの両方がトランジション部分内のフ
レームであるか、または、両フレームがトランジション
部分を挟む2つのショットそれぞれのフレームである。
すなわち後者の場合、着目フレームだけが先行ショット
内のフレームであり、比較用フレームだけが後続ショッ
ト内のフレームである。これらの場合前記離反フレーム
間相違度は比較的高い値を保ち、かつ該相違度の表示順
に伴う変化は小さい。Section WC of graphs GD1 and GD2
When calculating the dissimilarity between disjoint frames in 1 and WC2, both the focus frame and the comparison frame are frames in the transition part, or both frames are frames of two shots sandwiching the transition part.
That is, in the latter case, only the frame of interest is the frame in the preceding shot, and only the comparison frame is the frame in the subsequent shot. In these cases, the dissimilarity between the separated frames maintains a relatively high value, and the change in the dissimilarity in the display order is small.
【0061】グラフGD1,GD2のうちの区間WD
1,WD2内の離反フレーム間相違度の算出時、着目フ
レームだけが後続ショット内のフレームであり、比較用
フレームはトランジション部分内のフレームである。こ
の場合、着目フレームの表示順が大きくなるほど該着目
フレームは後続ショットに近付くので、着目フレームの
表示順が大きいほど、前記離反フレーム間相違度は小さ
い。グラフGD1,GD2のうちの区間WE1,WE2
内の離反フレーム間相違度の算出時、着目および比較用
フレームの両方が後続ショット内のフレームである。こ
の場合前記離反フレーム間相違度は比較的低い値を保
ち、かつ離反フレーム該相違度の表示順に伴う変化は小
さい。Section WD of graphs GD1 and GD2
When calculating the dissimilarity between separated frames in 1 and WD2, only the focused frame is the frame in the subsequent shot, and the comparison frame is the frame in the transition part. In this case, as the display order of the frame of interest becomes larger, the frame of interest gets closer to the subsequent shot. Therefore, as the display order of the frame of interest becomes larger, the dissimilarity between separated frames becomes smaller. Sections WE1 and WE2 of the graphs GD1 and GD2
At the time of calculating the dissimilarity between disjoint frames, the focus and comparison frames are both the frames in the subsequent shot. In this case, the dissimilarity between the separated frames remains relatively low, and the change in the dissimilarity between the separated frames in the display order is small.
【0062】またグラフGD1,GD2に基づき、区間
WB1,WB2の開始時点、すなわち第2および第3フ
レーム間相違度が増加し始める時点TBは相互にほぼ等
しく、かつ、区間WC1,WD1,WE1の開始時点、
すなわち増加開始後の第2フレーム間相違度のグラフG
D1の変化点よりも、区間WC2,WD2,WE2の開
始時点、すなわち増加開始後の第3フレーム間相違度の
グラフの変化点のほうが、それぞれ遅いことがわかる。
またグラフGD1,GD2に基づき、区間WC1内の第
2フレーム間相違度D(n,n−L2)よりも、区間W
C2内の第3フレーム間相違度D(n,n−L3)のほ
うが大きく、かつ、区間WC1よりも区間WC2のほう
が短いことが分かる。Further, based on the graphs GD1 and GD2, the start points of the sections WB1 and WB2, that is, the point TB at which the difference between the second and third frames starts to increase, are substantially equal to each other, and the sections WC1, WD1, and WE1 At the beginning,
That is, the graph G of the dissimilarity between the second frames after the increase starts
It can be seen that the start points of the sections WC2, WD2, and WE2, that is, the change points of the graph of the degree of difference between the third frames after the start of increase are later than the change points of D1.
Further, based on the graphs GD1 and GD2, the section W is more likely than the second interframe difference D (n, n-L2) in the section WC1.
It can be seen that the third interframe difference D (n, n−L3) in C2 is larger and the section WC2 is shorter than the section WC1.
【0063】すなわち対象動画内のトランジション部分
およびその近傍のフレームの第2および第3フレーム間
相違度の表示順に従う変化パターンをそれぞれ示すグラ
フGD1,GD2は、凸状部分GP1,GP2をそれぞ
れ含み、かつ、両グラフGD1,GD2の凸状部分GP
1,GP2の起点が相互にほぼ等しく、かつ前者のグラ
フGD1の凸状部分GP1は後者のグラフGP2の凸状
部分GP2よりも幅および高さがそれぞれ小さい。That is, the graphs GD1 and GD2 respectively showing the change patterns according to the display order of the second and third frame dissimilarities of the transition part in the target moving image and the frames in the vicinity thereof include the convex parts GP1 and GP2, respectively. And the convex portion GP of both graphs GD1 and GD2
1, the starting points of GP2 are substantially equal to each other, and the convex portion GP1 of the former graph GD1 is smaller in width and height than the convex portion GP2 of the latter graph GP2.
【0064】各離反フレーム相違度の変化パターン内の
凸状部分は、フレーム撮影時のカメラおよび被写体間の
相対的な動きによってそれぞれ生じることがある。前記
各離反フレーム間相違度の変化パターン内の凸状部分
が、前記着目フレームが対象動画内の前記トランジショ
ン部分およびその近傍のフレームであることに起因して
生じている場合、これらの凸状部分は、前述の関係を満
たす。このような複数の離反フレーム間相違度の変化パ
ターンの関係は、トランジション部分に用いられるトラ
ンジション効果が具体的にどのような効果であっても、
当てはまる。The convex portion in each change pattern of the separation frame dissimilarity may occur due to the relative movement between the camera and the subject at the time of frame photographing. When the convex portion in the change pattern of the dissimilarity between the separated frames is caused by the target frame being the transition portion in the target moving image and a frame in the vicinity thereof, these convex portions Satisfies the above relationship. The relationship of the change patterns of the dissimilarity degree between the plurality of separated frames as described above, regardless of the specific effect of the transition effect used in the transition part,
apply.
【0065】図4は、トランジション効果としてディゾ
ルブ効果が用いられた場合の対象動画内のトランジショ
ン部分TR内およびその近傍のフレームの実際の第1〜
第3フレーム間相違度D(n,n−L1),D(n,n
−L2),D(n,n−L3)を、該フレームの表示順
に従ってプロットしたグラフである。図5(A)〜
(C)は、図4のグラフにおいて、着目フレームが、ト
ランジション部分TRの先頭フレームK0、トランジシ
ョン部分TR内のフレーム、および後続ショット内のフ
レームである場合の第1〜第3フレーム間相違度演算用
の比較用フレームを示すための模式図である。図5
(A)〜(C)の数直線は、それぞれトランジション部
分TR内およびその近傍のフレームを表示順に並べたも
のに相当し、該数直線の各目盛りが各フレームに相当す
るとする。FIG. 4 shows the actual first to first frames of the transition portion TR in and around the transition portion TR in the target moving image when the dissolve effect is used as the transition effect.
Dissimilarity between third frames D (n, n-L1), D (n, n)
3 is a graph in which −L2) and D (n, n−L3) are plotted in the display order of the frame. FIG. 5 (A)-
(C) in the graph of FIG. 4, the first to third frame dissimilarity calculation when the target frame is the first frame K0 of the transition part TR, the frame in the transition part TR, and the frame in the subsequent shot It is a schematic diagram for showing the comparative frame for. Figure 5
The number lines in (A) to (C) correspond to the frames in the transition portion TR and in the vicinity thereof arranged in the display order, and each scale of the number line corresponds to each frame.
【0066】グラフGL1に示すように、着目フレーム
がトランジション部分TR内にある場合の第1フレーム
間相違度、すなわち隣接フレーム間相違度の変化パター
ンは、着目フレームが先行および後続ショットSA,S
B内にある場合の第1フレーム間相違度の変化パターン
とほぼ等しい。後者の場合の第1フレーム間相違度の微
小な変化は、各フレーム撮影時の被写体およびカメラ間
の相対的な位置関係の変化に起因して、生じている。す
なわち第1フレーム間相違度は、着目フレームが先行お
よび後続ショット内ならびにトランジション部分内のど
こにある場合も、ほぼ同じ値を保つ。これは、トランジ
ション効果を用いた場面転換部、すなわちトランジショ
ン部分は、複数フレームにわたってショットを徐々に転
換させているので、連続する2つのフレーム間の差が小
さいためである。As shown in the graph GL1, the first frame dissimilarity when the target frame is in the transition portion TR, that is, the change pattern of the adjacent frame dissimilarity, the target frame has the preceding and succeeding shots SA and S.
It is almost equal to the change pattern of the degree of difference between the first frames when it is within B. In the latter case, a slight change in the degree of difference between the first frames occurs due to a change in the relative positional relationship between the subject and the camera at the time of shooting each frame. That is, the first inter-frame dissimilarity maintains substantially the same value regardless of where the frame of interest is in the preceding and subsequent shots and in the transition portion. This is because the scene change part using the transition effect, that is, the transition part gradually changes the shot over a plurality of frames, so that the difference between two consecutive frames is small.
【0067】グラフGL2に示すように、第2フレーム
間相違度は、着目フレームがトランジション部分TRの
先頭フレームK0になった後、徐々に大きくなり、着目
フレームがトランジション部分TRのほぼ中央のフレー
ムK1になった場合にほぼ最大になり、さらに前記場合
から着目フレームがトランジション部分TRの末尾のフ
レームKTを越えて後続ショット内のフレームK2にな
るまでの間、減少する。このように第2フレーム相違度
の変化パターンには、着目フレームおよび比較用フレー
ムのうちの少なくとも一方がトランジション部分TR内
にあることに起因する凸状部分が含まれる。これは以下
の理由からである。As shown in the graph GL2, the degree of dissimilarity between the second frames gradually increases after the target frame becomes the leading frame K0 of the transition part TR, and the target frame is the frame K1 at the center of the transition part TR. In the above case, it becomes almost maximum, and further decreases from the above case until the frame of interest exceeds the end frame KT of the transition portion TR to become the frame K2 in the subsequent shot. As described above, the change pattern of the second frame dissimilarity includes a convex portion due to at least one of the target frame and the comparison frame being in the transition portion TR. This is for the following reason.
【0068】図5(A)〜(C)に示すように、着目フ
レームがトランジション部分TR内の先頭〜中央部のフ
レームK0〜K1に変化する間、着目および比較用フレ
ーム間にトランジション部分TR内のフレームが徐々に
多く含まれるようになる。このため第2フレーム間相違
度に対するトランジション効果を用いた場面転換の影響
が徐々に大きくなるので、第2フレーム間相違度は徐々
に大きくなる。また着目フレームが前記中央部のフレー
ムK1近傍である場合、着目および比較用フレーム間内
のフレームが全てトランジション部分TR内のフレーム
なので、第2フレーム間相違度は最大になる。さらにま
た着目フレームがトランジション部分TR内の中央部〜
後続ショット内のフレームK1〜K2に変化する間、着
目および比較用フレーム間にトランジション部分TR内
のフレームが徐々に含まれなくなる。このため第2フレ
ーム間相違度に対するトランジション効果を用いた場面
転換の影響が徐々に小さくなるので、第2フレーム間相
違度は徐々に小さくなる。As shown in FIGS. 5 (A) to 5 (C), while the frame of interest changes from the first frame to the central frames K0 to K1 in the transition part TR, the transition part TR is located between the frames of interest and comparison. More frames will be included gradually. Therefore, the influence of the scene change using the transition effect on the degree of difference between the second frames gradually increases, and thus the degree of difference between the second frames gradually increases. When the frame of interest is in the vicinity of the frame K1 in the central portion, the frames between the frames of interest and comparison are all frames within the transition part TR, and therefore the degree of difference between the second frames is maximized. Furthermore, the frame of interest is the central portion within the transition portion TR.
While changing to the frames K1 and K2 in the subsequent shot, the frames in the transition part TR are gradually not included between the focus and comparison frames. Therefore, the influence of the scene change using the transition effect on the degree of difference between the second frames gradually becomes smaller, and the degree of difference between the second frames gradually becomes smaller.
【0069】グラフGL3に示すように、第3フレーム
間相違度は、着目フレームがトランジション部分TRの
先頭フレームK0になる時点以後、徐々に大きくなり、
着目フレームが後続ショット内のフレームK2になる時
点でほぼ最大になり、以後徐々に小さくなる。このよう
に第3フレーム間相違度の変化パターンには、凸状部分
が含まれる。第3フレーム間相違度の変化パターンの凸
状部分は、第2フレーム間相違度の変化パターンの凸状
部分と相似し、かつ前者の凸状部分は後者の凸状部分よ
りも大きい。これは以下の理由からである。As shown in the graph GL3, the degree of difference between the third frames gradually increases after the time when the target frame becomes the head frame K0 of the transition portion TR,
It becomes almost maximum when the frame of interest becomes the frame K2 in the subsequent shot, and gradually becomes smaller thereafter. As described above, the change pattern of the third inter-frame difference degree includes the convex portion. The convex portion of the third inter-frame difference degree change pattern is similar to the convex portion of the second inter-frame difference degree change pattern, and the former convex portion is larger than the latter convex portion. This is for the following reason.
【0070】図5(A)〜(C)に示すように、フレー
ム間距離が長くなるほど、着目および比較用フレームが
トランジション部分TRを挟む2つのショットSA,S
B内のフレームになり易いので、これらショットSA,
SBの転換の影響が前記着目及び比較用フレーム間の相
違度に大きく影響する。この結果前記凸状部分のフレー
ム間相違度の最大値は、フレーム間距離が長いほど大き
くなる。また図5(A)〜(C)に示すように、フレー
ム間距離が長くなるほど、着目および比較用フレーム間
にトランジション部分TRの少なくとも一部分を含み得
る着目フレームの表示順が遅くなる。この結果前記凸状
部分の幅は、フレーム間距離が長いほど広がるのであ
る。As shown in FIGS. 5A to 5C, as the inter-frame distance increases, the two shots SA and S in which the frame of interest and the comparison frame sandwich the transition portion TR.
These shots SA, because it is likely to be the frame in B,
The influence of SB conversion has a great influence on the degree of difference between the focus frame and the comparison frame. As a result, the maximum value of the inter-frame dissimilarity of the convex portion increases as the inter-frame distance increases. Further, as shown in FIGS. 5A to 5C, the longer the inter-frame distance, the later the display order of the target frame that may include at least a part of the transition portion TR between the target and comparison frames becomes. As a result, the width of the convex portion increases as the inter-frame distance increases.
【0071】以上のことに基づき、転換部検出装置31
は、複数の離反フレーム間相違度の表示順に従う変化パ
ターンの形状的特徴に基づいて、対象動画内にトランジ
ション効果を用いた場面転換部があるか否かを、容易に
判断することができる。また前記凸状部分の第2および
第3フレーム間相違度の変化率は、前記フレーム撮影時
の相対的な位置関係の変化に起因する第2および第3フ
レーム間相違度の変化分以上である。ゆえに前記形状的
特徴に基づく判断時には、実際には、前記離反フレーム
間相違度のグラフGL2,GL3の凸状部分GP2,G
P3をたとえば平滑化して得られる曲線CL2,CL3
に基づいて、トランジション効果を用いた場面転換部の
有無を判断するとよい。Based on the above, the conversion unit detection device 31
Can easily determine whether or not there is a scene change part using the transition effect in the target moving image, based on the shape feature of the change pattern according to the display order of the dissimilarity degrees between the separated frames. Further, the rate of change in the degree of difference between the second and third frames of the convex portion is equal to or greater than the amount of change in the degree of difference between the second and third frames caused by the change in the relative positional relationship during the frame shooting. . Therefore, when the judgment is made based on the geometrical characteristics, the convex portions GP2 and G of the graphs GL2 and GL3 of the dissociation degree between the separated frames are actually used.
Curves CL2 and CL3 obtained by smoothing P3, for example
Based on, it is good to judge the presence or absence of the scene change part using the transition effect.
【0072】図6は、対象動画内のカット点およびその
近傍のフレームの実際の第1〜第3フレーム間相違度D
(n,n−L1),D(n,n−L2),D(n,n−
L3)を、該フレームの表示順に従ってプロットしたグ
ラフGL1〜GL3である。グラフGL1に示すよう
に、第1フレーム間相違度は、着目フレームがカット点
のフレームNCである場合だけ、予め定める閾値TC以
上に大きくなる。閾値TCは、着目フレームが先行およ
び後続ショット内のフレームである場合の第1フレーム
間相違度よりも充分に大きい。すなわち転換部検出装置
31は、少なくとも隣接フレーム間相違度と予め定める
閾値TCとの大小関係に基づいて、対象動画内のカット
点を検出することができる。FIG. 6 shows the actual first to third frame dissimilarity D of the cut points in the target moving image and the frames in the vicinity thereof.
(N, n-L1), D (n, n-L2), D (n, n-)
L3) are graphs GL1 to GL3 plotted according to the display order of the frames. As shown in the graph GL1, the first inter-frame dissimilarity becomes greater than or equal to the predetermined threshold value TC only when the focused frame is the frame NC at the cut point. The threshold value TC is sufficiently larger than the degree of difference between the first frames when the frame of interest is a frame in the preceding and subsequent shots. That is, the conversion unit detection device 31 can detect the cut point in the target moving image based on at least the magnitude relationship between the difference between adjacent frames and the predetermined threshold value TC.
【0073】またグラフGL2に示すように、第2フレ
ーム間相違度は、着目フレームがカット点のフレームで
ある場合に前記閾値TC以上の最大値になり、かつ該着
目フレームが後続ショット内のフレームである場合、該
フレームの表示順が遅くなるのにつれて、徐々に小さく
なる。グラフGL3に示すように、第3フレーム間相違
度は、着目フレームがカット点のフレームである場合に
前記閾値TC以上の最大値になり、かつ該着目フレーム
が後続ショット内のフレームである場合、前記第3フレ
ーム間距離に応じた範囲内で、前記閾値TC以上の値を
保つ。なおたとえばフレーム間距離が大きいほど、単一
ショット内の2つのフレーム間の相違度の被写体および
カメラの相対的な位置関係の変化に起因する変化分が大
きくなるので、上記第1〜第3フレーム間相違度がカッ
ト点NCで同時に急激に大きくならないこともある。As shown in the graph GL2, the degree of difference between the second frames becomes the maximum value equal to or more than the threshold value TC when the target frame is the frame of the cut point, and the target frame is the frame in the subsequent shot. When the display order of the frame becomes slower, it becomes smaller gradually. As shown in the graph GL3, the third inter-frame dissimilarity becomes the maximum value equal to or more than the threshold value TC when the focused frame is the frame of the cut point, and when the focused frame is the frame in the subsequent shot, A value equal to or greater than the threshold value TC is maintained within a range corresponding to the third inter-frame distance. Note that, for example, the larger the inter-frame distance, the larger the change due to the change in the relative positional relationship between the subject and the camera in the degree of difference between two frames in a single shot. The dissimilarity may not increase rapidly at the cut point NC at the same time.
【0074】図7は、第1転換部検出装置50における
場面転換部検出処理の主動作を説明するためのフローチ
ャートである。たとえばフレーム記憶部52に形態変換
後の対象動画のフレームが少なくとも1つ記憶された時
点で、ステップA1からステップA2に進む。またフレ
ーム展開部51は、ステップA1〜A13の処理と並行
して、対象動画のフレームの形態変換を順次行っている
とする。FIG. 7 is a flow chart for explaining the main operation of the scene change part detection processing in the first change part detection device 50. For example, when at least one frame of the target moving image after the form conversion is stored in the frame storage unit 52, the process proceeds from step A1 to step A2. Further, it is assumed that the frame expansion unit 51 sequentially performs frame form conversion of the target moving image in parallel with the processing of steps A1 to A13.
【0075】制御回路60は、ステップA2で、入力さ
れるフレームの表示順の規定の基準となるカウンタ、す
なわち対象動画内の全てのフレームのうちの当座の処理
対象とする着目フレームを規定するためのカウンタn
を、0に初期化する、制御回路60は、ステップA3
で、場面転換部の有無を示す場面転換フラグFCを「F
ALSE」にセットする。FALSEにセットされた場
面転換フラグFCは、着目フレームに基づき場面転換部
が検出されていないことを示す。In step A2, the control circuit 60 defines a counter that serves as a standard for defining the display order of the input frames, that is, a target frame to be processed for the time being, of all the frames in the target moving image. Counter n
Is initialized to 0, the control circuit 60 executes step A3
Then, set the scene change flag FC indicating the presence or absence of the scene change unit to "F.
Set to "ALSE". The scene change flag FC set to FALSE indicates that the scene change section is not detected based on the frame of interest.
【0076】制御回路60は、ステップA4で、フレー
ム記憶部52内のフレームのうち、カウンタnで規定さ
れる着目フレーム、すなわち第nフレームを、フレーム
内特徴抽出部53に与える。フレーム内特徴抽出部53
は、ステップA4で、着目フレームに基づき、着目フレ
ームのフレーム内特徴Rnを抽出する。着目フレームの
フレーム内特徴Rnは、たとえば、着目フレームの輝度
または色に関する画素の出現頻度を示すヒストグラムで
もよく、着目フレームを縮小した縮小フレームを構成す
る複数の画素の色または輝度の相互の差の総和であって
もよい。In step A4, the control circuit 60 gives the in-frame feature extraction section 53 the frame of interest defined by the counter n, ie, the nth frame, out of the frames in the frame storage section 52. In-frame feature extraction unit 53
In step A4, the in-frame feature Rn of the focused frame is extracted based on the focused frame. The in-frame feature Rn of the frame of interest may be, for example, a histogram showing the frequency of appearance of pixels relating to the brightness or color of the frame of interest. It may be the sum total.
【0077】抽出後、制御回路60は、ステップA5
で、抽出された着目フレームのフレーム内特徴Rnを、
フレーム内特徴記憶部54に記憶させる。具体的には、
フレーム内特徴抽出部53が最新のフレーム内特徴Rn
を求めたならば、フレーム内特徴記憶部54は、末尾の
特徴バッファBF[NF−1]内のフレーム内特徴R
n-1-(NF-1)を廃棄し、先頭〜末尾よりも1つ前の各特徴
バッファBF[0]〜BF[NF−2]内のフレーム内
特徴Rn-1 〜Rn-1-(NF-2)を該各特徴バッファの前段の
特徴バッファBF[1]〜BF[NF−1]にそれぞれ
転送し、先頭の特徴バッファBF[0]に前記最新のフ
レーム内特徴Rn を記憶させる。この結果表1に示すよ
うに、フレーム内特徴記憶部54は、第n−NF+1〜
第nフレームのフレーム内特徴Rn-(NF-1)〜Rn を記憶
する。After the extraction, the control circuit 60 executes step A5.
Then, the in-frame feature Rn of the extracted target frame is
It is stored in the in-frame feature storage unit 54. In particular,
The in-frame feature extraction unit 53 causes the latest in-frame feature R n
Then, the in-frame feature storage unit 54 determines that the in-frame feature R in the feature buffer BF [NF-1] at the end.
n-1- (NF-1) is discarded, and the in-frame features R n-1 to R n-1 in each of the feature buffers BF [0] to BF [NF-2] one before the beginning to the end. - (NF-2) were respectively transferred in front of the feature buffer BF [1] ~BF [NF- 1] of the respective feature buffer, the start the latest frame in the feature R n in the feature buffer BF [0] of Remember. As a result, as shown in Table 1, the intra-frame characteristic storage unit 54 stores the n-NF + 1 to
The n-th frame in the feature of the frame R n- (NF-1) for storing to R n.
【0078】[0078]
【表1】 [Table 1]
【0079】フレーム内特徴記憶部54は、少なくとも
着目フレームから第3フレーム間距離L3だけ表示順が
古いフレームまでの複数のフレームのフレーム内特徴R
n-L3を記憶する。これは、相違度計算部55におけるフ
レーム間相違度の演算時に、着目フレームよりも表示順
がフレーム間距離L1〜L3だけ古いフレームのフレー
ム内特徴Rn-L1、Rn-L2,Rn-L3が必要になるからであ
る。The in-frame feature storage unit 54 stores at least the in-frame feature R of a plurality of frames from the frame of interest to the frame whose display order is old by the third inter-frame distance L3.
Remember n-L3 . This is when the calculation of inter-frame dissimilarity in difference calculating unit 55, the frame in the feature R n-L1 old frame display order by interframe distance L1~L3 than interest frame, R n-L2, R n- This is because L3 is needed.
【0080】記憶後、制御回路60は、相違度計算部5
5に、フレーム内特徴記憶部54の記憶内容に基づき、
着目フレームの第1〜第3フレーム間相違度D(n,n
−L1),D(n,n−L2),D(n,n−L3)を
それぞれ求めさせる。すなわち、相違度計算部55は、
先頭の特徴バッファBF[0]内のフレーム内特徴Rn
と、先頭のバッファから第1〜第3フレーム間距離L1
〜L3と同数だけ添字が進んだ特徴バッファBF[L
1],BF[L2],BF[L3]内のフレーム内特徴
Rn-L1、Rn-L2,Rn-L3との相違度D(BF[0],B
F[L1]),D(BF[0],BF[L2]),D
(BF[0],BF[L3])を求める。After storing, the control circuit 60 controls the dissimilarity calculator 5
5, based on the stored contents of the in-frame feature storage unit 54,
The degree of difference D (n, n) between the first to third frames of the frame of interest
-L1), D (n, n-L2), D (n, n-L3) are obtained. That is, the dissimilarity calculation unit 55
In-frame feature Rn in the first feature buffer BF [0]
And the first to third inter-frame distance L1 from the head buffer
~ Feature buffer BF [L [L3 that has the same number of subscripts as L3]
1], BF [L2], BF [L3], the degree of difference D (BF [0], B from the intra-frame features Rn -L1 , Rn -L2 , Rn -L3 )
F [L1]), D (BF [0], BF [L2]), D
(BF [0], BF [L3]) is calculated.
【0081】たとえば各フレームのフレーム内特徴がフ
レームの輝度または色のヒストグラムであるなら、フレ
ーム間相違度として、式4に示すヒストグラムの差の絶
対値の総和、または式5に示す該ヒストグラムのχ二乗
検定が求められる。また各フレームのフレーム内特徴が
前述の縮小フレームに基づいて求められている場合、フ
レーム間相違度として、2枚のフレームの対応画素毎の
色または輝度の差の絶対値の総和が求められる。以下の
式において、「H(n,i)」,「H(x,i)」は、
第nおよび第xフレームにおけるi番目の色または輝度
の画素の出現頻度を示す。xは、0以上N以下でかつn
以外の整数である。i番目の色または輝度とは、前記ヒ
ストグラムにおける横軸の目盛りに相当する。For example, if the intra-frame feature of each frame is a histogram of the luminance or color of the frame, the sum of absolute values of the differences of the histogram shown in Expression 4 or the χ of the histogram shown in Expression 5 is used as the inter-frame difference degree. Square test is required. When the intra-frame feature of each frame is obtained based on the above-described reduced frame, the sum of absolute values of differences in color or luminance for corresponding pixels of two frames is obtained as the inter-frame difference degree. In the following equation, “H (n, i)” and “H (x, i)” are
The frequency of appearance of the pixel of the i-th color or luminance in the n-th and x-th frames is shown. x is 0 or more and N or less and n
Is an integer other than. The i-th color or luminance corresponds to the scale on the horizontal axis in the histogram.
【0082】
D(n,x)=Σi|H(n,i)−H(x,i)| …(4)
D(n,x)=Σi|H(n,i)−H(x,i)|÷H(x,i)
…(5)
計算後、制御回路60は、ステップA7で、求められた
着目フレームの第1〜第3フレーム間相違度D(n,n
−L1),D(n,n−L2),D(n,n−L3)
を、相違度記憶部56内の第1〜第3バッファ群にそれ
ぞれ記憶させる。具体的には、相違度計算部55が着目
フレームの第1フレーム間相違度D(n,n−L1)を
求めたならば、相違度記憶部56は、第1バッファ群の
末尾の相違度バッファBDL1[ND−1]内の第1フ
レーム間相違度D(n−1−(ND−1),n−1−
(ND−1)−L1)を廃棄し、先頭〜末尾よりも1つ
前の各相違度バッファBDL1[0]〜BDL1[ND
−2]内の第1フレーム間相違度D(n−1,n−1−
L1)〜D(n−1−(ND−2),n−1−(ND−
2)−L1)を該各相違度バッファの前段の相違度バッ
ファBDL1[1]〜BDL1[ND−1]にそれぞれ
転送し、先頭の相違度バッファBDL1[0]に前記着
目フレームの第1フレーム間相違度D(n,n−L1)
を記憶させる。第2および第3バッファ群内の各相違度
バッファBDL2[d],BDL3[d]の具体的な挙
動は、第1バッファ群内の各相違度バッファBDL1
[d]と等しい。この結果表2〜表4にそれぞれ示すよ
うに、第1〜第3バッファ群内に、常に第n−(ND−
1)〜第nフレームの第1〜第3フレーム間相違度が記
憶される。D (n, x) = Σ i | H (n, i) -H (x, i) | (4) D (n, x) = Σ i | H (n, i) -H ( x, i) | ÷ H (x, i) (5) After the calculation, the control circuit 60 calculates the difference D (n, n) between the first to third frames of the obtained target frame in step A7.
-L1), D (n, n-L2), D (n, n-L3)
Are stored in the first to third buffer groups in the difference storage unit 56, respectively. Specifically, if the dissimilarity calculation unit 55 obtains the first inter-frame dissimilarity D (n, n−L1) of the target frame, the dissimilarity storage unit 56 determines that the dissimilarity at the end of the first buffer group. Dissimilarity D between the first frames in the buffer BDL1 [ND-1] D (n-1- (ND-1), n-1-
(ND-1) -L1) is discarded, and each difference buffer BDL1 [0] to BDL1 [ND one before the beginning to the end
-2] the first inter-frame difference D (n-1, n-1-)
L1) to D (n-1- (ND-2), n-1- (ND-
2) -L1) are respectively transferred to the difference buffers BDL1 [1] to BDL1 [ND-1] in the preceding stage of the respective difference buffers, and the first difference frame BDL1 [0] is used as the first frame of the target frame. Difference D (n, n-L1)
Memorize The specific behavior of each of the difference buffers BDL2 [d] and BDL3 [d] in the second and third buffer groups is as follows.
Equal to [d]. As a result, as shown in Tables 2 to 4, respectively, in the first to third buffer groups, the n- (ND-
1) to the degree of difference between the first to third frames of the nth frame are stored.
【0083】[0083]
【表2】 [Table 2]
【0084】[0084]
【表3】 [Table 3]
【0085】[0085]
【表4】 [Table 4]
【0086】記憶後、制御回路60は、ステップA9
で、カット検出部58に、相違度記憶部56に記憶内容
に基づき、着目フレームよりも表示順が予め定める数B
Cだけ早い第n−BCフレームと、該フレームの隣のフ
レームとの間にカット点があるか否かを判断させる。具
体的には、カット検出部58は、式6に示すように、第
1バッファ群内のBC番目の相違度バッファBDL1
[BC]内の第1フレーム間相違度D(n−BC,n−
BC−L1)が予め定めるカット検出用閾値TCを越え
ており、かつ、式7に示すように、第2バッファ群内の
先頭からBC番目までの複数の相違度バッファBDL2
[0]〜BDL2[BC]内の第2フレーム間相違度D
(n,n−L2)〜D(n−BC,n−BC−L1)
が、それぞれ前記カット検出用閾値TCを越えているか
否かを判断する。前記予め定める値BCは、たとえば第
2フレーム間距離L2の半分(L2/2)とする。After storing, the control circuit 60 causes the step A9
Then, the cut detection unit 58 and the dissimilarity storage unit 56 store the predetermined number B in the display order from the frame of interest based on the stored contents.
It is determined whether or not there is a cut point between the n-BC frame which is earlier by C and the frame adjacent to the frame. Specifically, the cut detection unit 58, as shown in Expression 6, is the BCth difference buffer BDL1 in the first buffer group.
Dissimilarity D between first frames in [BC] (n-BC, n-
BC-L1) exceeds a predetermined cut detection threshold value TC, and as shown in Expression 7, a plurality of difference degree buffers BDL2 from the head to the BCth in the second buffer group
[0] to second frame difference D in BDL2 [BC]
(N, n-L2) to D (n-BC, n-BC-L1)
, Respectively, determines whether or not the cut detection threshold TC is exceeded. The predetermined value BC is, for example, half of the second inter-frame distance L2 (L2 / 2).
【0087】
BDL1[BC]> TC and …(6)
BDL2[i]> TC (i=0,1,2,…,BC) …(7)
上記条件を全て満たす場合だけ、前記第n−BCフレー
ムとその隣のフレームとの間にカット点があると判断さ
れる。この場合制御装置60は、場面転換フラグFCに
TRUEをセットする。TRUEがセットされた場面転
換フラグFCは、対象動画内に場面転換部があることを
示す。式6,7のうちの少なくとも一方が満たされない
場合、前記第n−BCフレームとその隣のフレームとの
間のカット点がないと判断される。この場合場面転換フ
ラグFCはFALSEのまま保たれる。BDL1 [BC]> TC and ... (6) BDL2 [i]> TC (i = 0, 1, 2, ..., BC) (7) Only when all the above conditions are satisfied, the n-BC It is determined that there is a cut point between the frame and the adjacent frame. In this case, the control device 60 sets the scene change flag FC to TRUE. The scene change flag FC in which TRUE is set indicates that there is a scene change section in the target moving image. If at least one of Expressions 6 and 7 is not satisfied, it is determined that there is no cut point between the n-BC frame and the adjacent frame. In this case, the scene change flag FC remains FALSE.
【0088】カット点検出後、制御回路60は、ステッ
プA10で、場面転換フラグFCがTRUEであるか否
かを判断する。そうである場合、ステップA10からス
テップ12へ進み、そうではない場合、ステップA10
からステップA11に進む。After detecting the cut point, the control circuit 60 determines in step A10 whether the scene change flag FC is TRUE. If yes, go to step A10 to step 12; otherwise, step A10.
To Step A11.
【0089】制御装置60は、ステップA11で、特徴
形状検出部57に、トランジション部分の検出を行わせ
る。概略的には、特徴形状検出部57は、相違度記憶部
56内に記憶された複数の第2および第3フレーム相違
度の変化パターン内に、前述したトランジション部分に
関連する特徴的形状、すなわち凸状部分があるかどうか
を調べる。The control unit 60 causes the characteristic shape detecting section 57 to detect the transition portion in step A11. Schematically, the characteristic shape detection unit 57 includes, in the plurality of second and third frame dissimilarity change patterns stored in the dissimilarity storage unit 56, a characteristic shape associated with the above-described transition portion, that is, Check if there is a convex part.
【0090】図8は、第2および第3バッファ群の先頭
の相違度バッファBDL2[0],BDL3[0]にト
ランジション部分の末尾のフレームの第2および第3フ
レーム間相違度が記憶された状態において、第2および
第3バッファ群内の第2および第3フレーム間相違度
を、該相違度が記憶される相違度バッファBDL2
[j],BDL3[j]のバッファ番号jに従ってプロ
ットしたグラフである。図8のグラフは、前述の図4の
グラフのフレームK0〜K2の部分と、縦軸に並行な仮
想軸線を中心に線対称になっている。特徴形状検出部5
7は、最新の着目フレームを末尾とするトランジション
部分が対象動画内にあるかどうかを調べるために、第2
および第3バッファ群の記憶内容が図8に示す状態にな
っているかどうかを検出する。In FIG. 8, the difference levels BDL2 [0] and BDL3 [0] at the beginning of the second and third buffer groups store the difference between the second and third frames of the last frame of the transition part. In the state, the difference degree between the second and third frames in the second and third buffer groups is set to the difference degree buffer BDL2 in which the difference degree is stored.
It is a graph plotted according to the buffer number j of [j] and BDL3 [j]. The graph of FIG. 8 is line-symmetric with the portions of the frames K0 to K2 of the graph of FIG. 4 described above about an imaginary axis parallel to the vertical axis. Characteristic shape detector 5
7 determines whether the transition part having the latest frame of interest at the end exists in the target video.
Then, it is detected whether the stored contents of the third buffer group are in the state shown in FIG.
【0091】具体的には、特徴形状検出部57は、第2
および第3バッファ群の予め定める区間j、すなわち第
2および第3バッファ群内の連続する複数の相違度バッ
ファBDL2[0]〜BDL2[I],BDL3[0]
〜BDL3[I]内の第2および第3フレーム間相違度
が、以下の8つの条件を全て満たすか否かを判断する。
なお以下の表内の式において、相違度バッファの参照符
は該バッファ内のフレーム間相違度を示す。また「TL
2」,「TL3」は予め定める閾値であり、「ε」は予
め定める許容誤差であり、「I/2」は前記区間jの最
後尾のバッファの番号Iの半分の値である。さらにま
た、区間j、「HL1」,「HL2」は以下の式8〜1
0で定義され、許容誤差εはたとえば式11で設定され
る。また式12で示すように、区間j内の第3フレーム
間相違度の変化パターンの高さに相当する値HL3と比
較される閾値TL3は、区間j内の第2フレーム間相違
度の変化パターンの高さに相当する値HL2と比較され
る閾値TL2以上の値である。Specifically, the characteristic shape detecting section 57 is
And a predetermined section j of the third buffer group, that is, a plurality of consecutive difference buffers BDL2 [0] to BDL2 [I], BDL3 [0] in the second and third buffer groups.
~ It is determined whether or not the degree of difference between the second and third frames in BDL3 [I] satisfies all of the following eight conditions.
In the formulas in the table below, the reference numeral of the dissimilarity buffer indicates the dissimilarity between frames in the buffer. See also "TL
“2” and “TL3” are predetermined threshold values, “ε” is a predetermined allowable error, and “I / 2” is a half value of the number I of the last buffer of the section j. Furthermore, section j, "HL1", and "HL2" are expressed by the following equations 8 to 1.
It is defined by 0, and the allowable error ε is set by Expression 11, for example. Further, as shown in Expression 12, the threshold TL3 to be compared with the value HL3 corresponding to the height of the variation pattern of the third inter-frame dissimilarity in the section j is the variation pattern of the second inter-frame dissimilarity in the section j. Is a value equal to or higher than a threshold value TL2 that is compared with a value HL2 corresponding to the height of.
【0092】[0092]
【表5】 [Table 5]
【0093】
j=0,1,2,…,I …(8)
HL2=BDL2[I/2]−max(BDL2[0],BDL2[I])
…(9)
HL3=BDL3[0]−BDL3[I]) …(10)
ε=HL2÷4 …(11)
TL2≦TL3 …(12)
条件1,2,および5において、前記区間内の複数の相
違度バッファ内のフレーム間相違度が減少または増加傾
向であるかは、実際には、以下のように判断するとよ
い。たとえば前記区間内のフレーム間相違度の図8の実
線で示すように滑らかに変動しているならば、前記区間
内のうちの任意の1つの相違度バッファ内のフレーム間
相違度から該相違度バッファの隣の相違度バッファ内の
フレーム相違度を減算した差を、該任意の相違度バッフ
ァを前記区間内で変更しつつそれぞれ求め、得られた複
数の差それぞれの符号が正であるか負であるかに応じ
て、相違度の傾向を判断する。また図8の破線で示すよ
うに、前記相違度が滑らかに変化していない場合、傾向
の判断に先立ち、前記区間内の複数の相違度バッファ内
のフレーム内相違度の平滑化を行う。平滑化の結果、前
記フレーム間相違度は、図9に示すように滑らかに変化
するので、平滑化後のフレーム間相違度を用いて、上述
の手順で傾向を判断すればよい。以上が、フレーム間相
違度の変化傾向の判断手順である。J = 0, 1, 2, ..., I (8) HL2 = BDL2 [I / 2] -max (BDL2 [0], BDL2 [I]) (9) HL3 = BDL3 [0]- BDL3 [I]) (10) ε = HL2 / 4 (11) TL2 ≦ TL3 (12) Under the conditions 1, 2, and 5, the inter-frame dissimilarities in the plurality of dissimilarity buffers in the section are Whether it is a decreasing or increasing tendency may be actually judged as follows. For example, if the inter-frame dissimilarity in the section varies smoothly as shown by the solid line in FIG. 8, the dissimilarity is calculated from the inter-frame dissimilarity in any one disparity buffer in the section. The difference obtained by subtracting the frame dissimilarity in the dissimilarity buffer next to the buffer is obtained while changing the arbitrary dissimilarity buffer within the section, and the sign of each of the obtained plurality of differences is positive or negative. Then, the tendency of the dissimilarity is determined. Further, as indicated by the broken line in FIG. 8, when the dissimilarity does not change smoothly, the intra-frame dissimilarity in the plurality of dissimilarity buffers in the section is smoothed before the tendency is determined. As a result of the smoothing, the inter-frame dissimilarity changes smoothly as shown in FIG. 9, and therefore the tendency may be determined by the above procedure using the smoothed inter-frame dissimilarity. The above is the procedure for determining the changing tendency of the inter-frame difference degree.
【0094】再び図7を参照する。上記の8つの条件を
全て満たす場合だけ、最新の着目フレームを末尾とする
トランジション部分が対象動画内にあると判断される。
この場合制御装置60は、場面転換フラグFCにTRU
Eをセットする。8つの条件のうちの少なくとも一1つ
が満たされない場合、前記トランジション部分がないと
判断される。この場合場面転換フラグFCはFALSE
のまま保たれる。Referring again to FIG. Only when all of the above eight conditions are satisfied, it is determined that the transition part having the latest focused frame at the end is in the target moving image.
In this case, the control device 60 sets the scene change flag FC to TRU.
Set E. If at least one of the eight conditions is not satisfied, it is determined that there is no transition part. In this case, the scene change flag FC is FALSE
To be kept.
【0095】制御回路60は、ステップA12で、対象
動画内に、カット点またはトランジション部である場面
転換があるか否かを判断する。具体的には、制御回路6
0は、場面転換フラグが「TRUE」であるか「FAL
SE」であるかを判断する。前者である場合、制御回路
60は、検出結果として、場面転換部があることを示す
データを出力する。後者である場合、制御回路60は、
検出結果として、場面転換部がないことを示すデータを
出力する。データ出力後、制御回路60は、前記カウン
タnに1を加算して更新し、更新後、ステップA3に戻
る。At step A12, the control circuit 60 determines whether or not there is a cut point or a scene change which is a transition part in the target moving image. Specifically, the control circuit 6
0 indicates that the scene change flag is “TRUE” or “FAL
It is judged whether it is "SE". In the former case, the control circuit 60 outputs, as a detection result, data indicating that there is a scene change section. In the latter case, the control circuit 60
As a detection result, data indicating that there is no scene change unit is output. After outputting the data, the control circuit 60 adds 1 to the counter n to update it, and after updating, returns to step A3.
【0096】以上の処理によって、第1転換部検出装置
50は、トランジション効果の具体的な手法に拘わら
ず、対象動画内にトランジション部分があるか否かを、
容易に判断することができる。また第1転換部検出装置
50は、場面転換部の有無だけを示すデータを出力して
いるが、出力されるデータは、これに限らず、場面転換
部に関する他の事項であってもよい。たとえば前記場面
転換部に相当するフレームが対象動画内のどこにあるか
を示すものを、前記データとしてもよい。By the above processing, the first conversion section detection device 50 determines whether or not there is a transition part in the target moving image, regardless of the specific method of the transition effect.
It can be easily judged. Further, the first conversion unit detection device 50 outputs data indicating only the presence / absence of the scene conversion unit, but the output data is not limited to this, and may be other items related to the scene conversion unit. For example, the data indicating where the frame corresponding to the scene change portion is in the target moving image may be the data.
【0097】ステップA9の式6,7の判断は、以下の
理由に基づく。前述の図6のグラフに基づき、着目およ
び比較用フレームが単一ショット内の2つのフレームで
ある場合、フレーム間相違度は前記カット点検出用閾値
TCよりも充分小さく、着目および比較用フレームがカ
ット点の前後の2つの各ショット内のフレームである場
合、フレーム間相違度は前記カット点検出用閾値TCよ
りも充分大きいことが分かる。これは後者の場合、対象
動画内のこれらフレームの位置で、ショットが転換され
ているためである。ゆえに基本的には、前記閾値TC以
上の隣接フレーム間相違度を有するフレームと該フレー
ムの隣のフレームとの間に、カット点があると判断する
ことができる。The judgments of the equations 6 and 7 in step A9 are based on the following reasons. Based on the graph of FIG. 6 described above, when the focus and comparison frames are two frames in a single shot, the inter-frame difference degree is sufficiently smaller than the cut point detection threshold value TC, and the focus and comparison frames are It can be seen that in the case of the frames in each of the two shots before and after the cut point, the inter-frame difference degree is sufficiently larger than the cut point detection threshold value TC. This is because in the latter case, the shots are converted at the positions of these frames in the target moving image. Therefore, it can be basically determined that there is a cut point between a frame having a difference between adjacent frames that is equal to or greater than the threshold value TC and a frame adjacent to the frame.
【0098】単一ショットの撮影中にたとえばフラッシ
ュが用いられているならば、フラッシュの影響を受けた
フレームと受けていないフレームとが連続している場
合、これら2つのフレーム間の隣接フレーム相違度が、
前記閾値TC以上になることがある。この場合、前記2
つのフレームを挟んでならぶ2つのフレームは、単一シ
ョット内のフレームなので、該2つのフレームの離反フ
レーム間相違度は前記閾値TC未満になると予想され
る。すなわち式6の条件が前述のフラッシュの影響を受
けたフレームの隣接フレーム間相違度によって成立した
場合、式7の条件は全ての変数iにおいて成立しないと
予想される。この結果式6の条件に加えて式7の条件を
用いるならば、単一ショット内の連続する2つのフレー
ムの相違度が大きい場合に、該2つのフレーム間にカッ
ト点があると誤認することを、防止することができる。If, for example, a flash is used during the shooting of a single shot, if the frame affected by the flash and the frame not affected by the flash are continuous, the degree of difference between adjacent frames between these two frames is determined. But,
It may be equal to or more than the threshold value TC. In this case, 2
Since two frames sandwiching one frame are frames within a single shot, the dissimilarity between the separated frames of the two frames is expected to be less than the threshold value TC. That is, when the condition of Expression 6 is satisfied by the degree of difference between adjacent frames of the frame affected by the flash, the condition of Expression 7 is expected not to be satisfied for all variables i. As a result, if the condition of formula 7 is used in addition to the condition of formula 6, if the difference between two consecutive frames in a single shot is large, it is erroneously recognized that there is a cut point between the two frames. Can be prevented.
【0099】また式7の条件判定に用いる離反フレーム
間相違度は、演算時のフレーム間距離ができるだけ小さ
いもの、たとえば該フレーム間距離が2以上9以下程度
であることが好ましい。これは、単一ショット内の2つ
のフレームのフレーム間距離が大きいほど、該2つのフ
レームの相関が低くなる、すなわち該2つのフレームの
離反フレーム間相違度が大きくなるので、前記誤認の防
止が困難になるからである。以上が式6,7の説明であ
る。The dissimilarity between separated frames used for the condition judgment of the expression 7 is preferably such that the distance between frames at the time of calculation is as small as possible, for example, the distance between frames is about 2 or more and 9 or less. This is because the larger the inter-frame distance between the two frames in a single shot, the lower the correlation between the two frames, that is, the greater the dissimilarity between the separated frames of the two frames, so that the above-mentioned misidentification can be prevented. Because it will be difficult. The above is the description of Expressions 6 and 7.
【0100】前記対象動画は、たとえば、ビデオカメラ
によって被写体を撮影して得られる動画、映画、あるい
はアナログまたはデジタルテレビジョン放送によって放
映される動画で実現される。前記対象動画内の各場面転
換部は、前述の図23で説明したものと同様に、それぞ
れ、いわゆるカット点、またはトランジション効果を用
いた場面転換のための合成フレームの集合であるトラン
ジション部分であるとする。前記対象動画の各フレーム
は、テレビジョン放送におけるいわゆるフレームに限ら
ず、動画を構成するための静止画であるならばどんなも
のでもよい。また前記対象動画のデータ形式は、第1転
換部検出装置50に入力される時点では、デジタルデー
タでもよく、アナログデータでもよい。また前記対象動
画を示すデータは、圧縮されていてもよい。The target moving image is realized by, for example, a moving image obtained by photographing a subject with a video camera, a movie, or a moving image broadcast by analog or digital television broadcasting. Each scene change part in the target moving image is a transition part which is a set of composite frames for a scene change using a so-called cut point or a transition effect, as in the case described with reference to FIG. And Each frame of the target moving image is not limited to a so-called frame in television broadcasting, and may be any frame as long as it is a still image for forming a moving image. The data format of the target moving image may be digital data or analog data at the time of input to the first conversion unit detection device 50. Further, the data indicating the target moving image may be compressed.
【0101】単一のショットは、たとえば動画を撮影可
能な撮影装置を用いた1回の一連の撮影操作において、
撮影開始から撮影終了までの間に撮影された全てのフレ
ームのうちの少なくとも一部のフレームによって、構成
される。前記撮影装置は、たとえばビデオカメラであ
る。すなわち単一のショットは、前記全てのフレームか
ら構成されてもよく、撮影後の編集処理によって前記全
てのフレームのうちから一部のフレームを除いた残余の
フレームから構成されてもよい。一般的に、単一のショ
ット内の複数のフレームのうちの任意の2枚のフレーム
は、該2枚のフレーム間のフレーム間距離が小さくなる
ほど相関が高く、該フレーム間距離が大きくなるほど無
相関になる。A single shot is, for example, in one series of shooting operations using a shooting device capable of shooting moving images.
It is configured by at least a part of all the frames captured from the start of capturing to the end of capturing. The photographing device is, for example, a video camera. That is, a single shot may be composed of all the above-mentioned frames, or may be composed of the remaining frames except some of the above-mentioned frames by the editing process after shooting. In general, two arbitrary frames among a plurality of frames in a single shot have a higher correlation as the inter-frame distance between the two frames becomes smaller, and become uncorrelated as the inter-frame distance increases. become.
【0102】また第1転換部検出装置50は、電気的に
は、フレーム展開部51と、中央演算処理回路と、前述
の各記憶部52,54,56とを含む。前述のフレーム
内特徴抽出部53、相違度計算部55、特徴形状検出部
57、カット検出部58、検出結果出力部59、および
制御回路60は、中央演算処理回路の演算処理によって
それぞれ実現される仮想的な部品である。またこの場
合、各記憶部52,54,56は、個別の記憶装置によ
って実現されてもよく、1つの記憶装置内に設定される
記憶領域として実現されてもよい。またこの場合、フレ
ーム展開部51も、中央演算処理回路の演算処理によっ
て実現されてもよい。さらにまた第1転換部検出装置5
0は、前述の各部53,55,57〜60のうちの少な
くとも1つを、中央演算処理回路とは別個の実在の回路
によって実現してもよい。The first conversion section detecting device 50 electrically includes a frame expanding section 51, a central processing circuit, and the above-mentioned storage sections 52, 54 and 56. The in-frame feature extraction unit 53, the dissimilarity calculation unit 55, the feature shape detection unit 57, the cut detection unit 58, the detection result output unit 59, and the control circuit 60 are realized by the arithmetic processing of the central arithmetic processing circuit. It is a virtual part. Further, in this case, each of the storage units 52, 54 and 56 may be realized by an individual storage device or may be realized as a storage area set in one storage device. Further, in this case, the frame expansion unit 51 may also be realized by the arithmetic processing of the central arithmetic processing circuit. Furthermore, the first conversion unit detection device 5
0 may realize at least one of the above-mentioned units 53, 55, 57 to 60 by an existing circuit separate from the central processing circuit.
【0103】また前記対象動画の代わりに、該対象動画
内から等間隔に抽出した複数のフレームを時間経過に伴
って順次表示することによって得られる動画を、用いて
も良い。この場合、対象動画が第1転換部検出装置50
で処理される前の時点では、該対象動画内のどこにカッ
ト点がありどこにトランジション部分があるかが分かっ
ていないので、前記複数のフレームは対象動画内から等
間隔に抜出されるのが好ましい。この際、単一ショット
内の複数のフレームであってもフレーム間距離が大きく
なるほどフレーム間の相関が小さくなるので、本実施の
形態の場面転換部の検出手法を用いるためには、1秒分
のフレーム、すなわち30枚のフレームあたり10枚以
上15枚以下程度のフレームを抽出することが好まし
い。すなわち対象動画内から、2〜3フレーム毎に1枚
のフレームを抽出することが好ましい。Further, instead of the target moving image, a moving image obtained by sequentially displaying a plurality of frames extracted from the target moving image at regular intervals over time may be used. In this case, the target moving image is the first conversion unit detection device 50.
It is not known where the cut point and the transition portion are in the target moving image before the processing in step 1. Therefore, it is preferable that the plurality of frames are extracted from the target moving image at equal intervals. At this time, the correlation between frames becomes smaller as the inter-frame distance becomes larger even for a plurality of frames in a single shot. It is preferable to extract 10 frames or more and 15 frames or less per 30 frames. That is, it is preferable to extract one frame every 2-3 frames from the target moving image.
【0104】本実施の形態では、第2フレーム間距離が
10であり、第3フレーム間距離が30であるとしてい
る。これは一般的な動画で用いられるトランジション部
分の長さが約1秒であるため、1秒以上のショットから
構成される動画内から1秒程度のトランジション部分を
検出することを目的としているからである。すなわち第
1転換部検出装置は、基本的には、動画内から、第3フ
レーム間距離以上の長さのトランジション部分を検出可
能である。In the present embodiment, the second interframe distance is 10 and the third interframe distance is 30. This is because the length of the transition part used in a general video is about 1 second, so it is intended to detect the transition part of about 1 second in a video composed of shots of 1 second or more. is there. That is, the first conversion unit detection device can basically detect a transition portion having a length equal to or greater than the third interframe distance from within the moving image.
【0105】また本実施の形態では、2つのフレーム間
距離を用い、1フレームに対し2つの離反フレーム間相
違度を求めている。1フレームについて求められる離反
フレーム間相違度の数は、2つに限らず、3つ以上でも
よい。たとえば第3フレーム間距離よりも長い第4フレ
ーム間距離をさらに用いる場合、第2および第3フレー
ム間相違度の変化パターンの特徴に基づくトランジショ
ン部分の検出とほぼ同様の手順で、第3および第4フレ
ーム間相違度の変化パターンの特徴に基づいて、前者の
トランジション部分よりも使用フレーム数が多いトラン
ジション部分を、検出することができる。またたとえ
ば、第2および第3フレーム間相違度とは異なる第4フ
レーム間距離を用いる場合、第2〜第4フレーム間相違
度の変化パターンが前記トランジション部分においてど
のような関係になるかを予め調べておき、これら3つの
フレーム間相違度の変化パターンが前記関係になる場合
に、対象動画内のトランジション部分があると判断して
もよい。この場合、トランジション部分の検出精度が向
上する。Further, in the present embodiment, the distance between two frames is used to determine the degree of difference between two separated frames for one frame. The number of dissociation degrees between separated frames required for one frame is not limited to two, and may be three or more. For example, when the fourth inter-frame distance longer than the third inter-frame distance is further used, the third and the third inter-frame distances are almost the same as the transition portion detection based on the characteristics of the change patterns of the second and third inter-frame difference degrees. Based on the characteristics of the change pattern of the degree of difference between the four frames, it is possible to detect a transition portion having a larger number of used frames than the former transition portion. Further, for example, when a fourth inter-frame distance different from the second and third inter-frame dissimilarities is used, the relationship between the change patterns of the second to fourth inter-frame dissimilarities in the transition part is previously determined. It may be determined in advance that it is determined that there is a transition portion in the target moving image when the change patterns of these three inter-frame dissimilarities have the above relationship. In this case, the detection accuracy of the transition part is improved.
【0106】本発明の第2の実施の形態である動画場面
転換部検出装置について、以下に説明する。第2の実施
の形態の動画場面転換部検出装置(以後「第2転換部検
出装置」と略称する)は、第1転換部検出装置50と比
較して、フレーム内特徴抽出部および相違度計算部にお
けるフレーム内特徴およびフレーム間相違度の具体的な
計算手法が異なり、他は等しい。ゆえに第2転換部検出
装置の構造および動作のうち、第1転換部検出装置50
と同じ構造および動作の説明は省略する。また第2転換
部検出装置内の部品のうち、第1転換部検出装置50と
同じ部品には同じ参照符を付す。The moving picture / scene changing portion detecting apparatus according to the second embodiment of the present invention will be described below. The moving picture scene change unit detection device of the second embodiment (hereinafter abbreviated as “second change unit detection device”) is different from the first change unit detection device 50 in the in-frame feature extraction unit and the difference calculation. The specific calculation method of the intra-frame feature and the inter-frame dissimilarity in each section is different, and the others are the same. Therefore, in the structure and operation of the second conversion unit detection device, the first conversion unit detection device 50
The description of the same structure and operation as the above is omitted. Further, among the components in the second conversion unit detection device, the same components as those of the first conversion unit detection device 50 are designated by the same reference numerals.
【0107】図10は、第2転換部検出装置におけるフ
レーム内特徴Rnおよびフレーム間相違度の概略的な検
出手法を説明するための模式図である。FIG. 10 is a schematic diagram for explaining a schematic detection method of the intra-frame feature Rn and the inter-frame difference degree in the second conversion unit detection device.
【0108】第2転換部検出装置のフレーム内特徴抽出
部は、任意の1つのフレームFAのフレーム内特徴を求
めるために、まず該フレームFAを予め定める数MMA
Xの領域に分割し、次いで該各領域内から、該領域を代
表する少なくとも1つの色と、該領域内の該色の画素の
出現頻度とを、それぞれ求める。この結果前記フレーム
FAのフレーム内特徴RFAは、該フレームFA内の全て
の各領域の代表色および該色の出現頻度を含む。これら
代表色の色番号および出現頻度をそれぞれ記憶するため
に、フレーム内特徴記憶部54の各特徴バッファは、M
MAX×PMAX個の代表色領域Rn[0][p].C
OL〜RFA[MMAX−1][p].COL(p=1,
2,…,MP−1)と、同数の出現頻度領域RFA[0]
[p].FRQ〜RFA[MMAX−1][p].FRQ
とを備える。フレームの分割数MMAXは、たとえば1
2であり、単一のフレームは3行4列の行列状の領域に
分割される。また単一の領域内から抽出される代表色の
上限値PMAXは、たとえば画素が取得る色の数が26
5色の場合、たとえば8である。このようなフレーム内
特徴RFAは、たとえば図10に示す表形式で、フレーム
内特徴記憶部54内の特徴バッファに記憶される。The in-frame feature extraction unit of the second conversion unit detection device first determines a predetermined number MMA of the frame FA in order to obtain the in-frame feature of any one frame FA.
The region is divided into X regions, and then, from each region, at least one color representing the region and the frequency of appearance of pixels of the color in the region are obtained. As a result, the in-frame feature R FA of the frame FA includes the representative colors of all the areas in the frame FA and the appearance frequency of the color. In order to store the color number and the appearance frequency of each of these representative colors, each feature buffer of the intra-frame feature storage unit 54 stores M
MAX × PMAX representative color regions Rn [0] [p]. C
OL-R FA [MMAX-1] [p]. COL (p = 1,
2, ..., MP-1) and the same number of appearance frequency regions R FA [0]
[P]. FRQ to R FA [MMAX-1] [p]. FRQ
With. The frame division number MMAX is, for example, 1
2, a single frame is divided into a matrix of 3 rows and 4 columns. Further, the upper limit PMAX of the representative color extracted from the single region is, for example, 26 when the number of colors acquired by the pixel is 26.
In the case of 5 colors, it is 8, for example. Such in-frame feature R FA is stored in the feature buffer in the in-frame feature storage unit 54 in the table format shown in FIG. 10, for example.
【0109】第2転換部検出装置の相違度計算部は、着
目フレームFAのフレーム内特徴RFAと比較用フレーム
FBのフレーム内特徴RFBとに基づき、後述する図13
で示す計算手法を用いて、第1〜第3フレーム間相違度
をそれぞれ演算する。前記各フレーム間相違度は、概略
的には、両フレームFA,FBのフレーム内特徴RFA,
RFB内の各代表色の色間距離の近いもの同士の出現頻度
の差分と該近いもの同士の代表色との積の総和に、相当
する。第2転換部検出装置の特徴形状およびカット点検
出部57,58は、上述の手順で求められた複数の第1
〜第3フレーム間相違度を用いて、動画内の場面転換部
をそれぞれ検出し、検出結果出力部59に検出結果を出
力させる。The dissimilarity calculation section of the second conversion section detection device, based on the in-frame characteristics R FA of the target frame FA and the in-frame characteristics R FB of the comparison frame FB, will be described later with reference to FIG.
The degree of difference between the first to third frames is calculated using the calculation method shown in. The inter-frame dissimilarity is roughly the intra-frame feature R FA of both frames FA and FB,
This corresponds to the sum of the products of the difference in the appearance frequency between the representative colors in the R FB that have close inter-color distances and the representative color of the close colors. The characteristic shape and the cut point detection units 57 and 58 of the second conversion unit detection device are the plurality of first detection units obtained by the above procedure.
~ Using the degree of dissimilarity between the third frames, each scene change part in the moving image is detected, and the detection result output part 59 is caused to output the detection result.
【0110】図11は、第2転換部検出装置のフレーム
内特徴抽出部におけるフレーム内特徴の具体的な抽出手
法を説明するためのフローチャートである。図11の説
明において、前記フレーム内特徴抽出部を「抽出部」と
略称する。図11の演算は、図7で説明した場面転換部
の検出処理全体のうち、ステップA5の演算に置換えて
実行されるものである。すなわち図7のステップA4に
おいて、少なくとも処理対象の着目フレーム、すなわち
第nフレームがフレーム記憶部52に記憶された時点
で、制御回路60は、前記抽出部に、第nフレームのフ
レーム内特徴の抽出処理を開始させる。この結果ステッ
プB1からステップB2に進む。FIG. 11 is a flow chart for explaining a concrete method of extracting the in-frame feature in the in-frame feature extraction unit of the second conversion unit detection device. In the description of FIG. 11, the in-frame feature extraction unit is abbreviated as “extraction unit”. The calculation of FIG. 11 is executed by replacing the calculation of step A5 in the entire detection process of the scene changing unit described in FIG. That is, in step A4 of FIG. 7, at least at the time when the frame of interest to be processed, that is, the nth frame is stored in the frame storage unit 52, the control circuit 60 causes the extraction unit to extract the in-frame feature of the nth frame. Start processing. As a result, the process proceeds from step B1 to step B2.
【0111】前記抽出部は、ステップB2で、第nフレ
ームに、特徴抽出のための前処理を施す。前記前処理
は、具体的には、第nフレームの画素数および色数を減
少させる処理である。たとえば前記抽出部は、フレーム
の縮小のために、処理対象の第nフレームを構成する全
ての画素のうちから、周期的に画素をまびく。これによ
ってたとえば、640×480ドットの第nフレーム
が、80×60ドットまで縮小される。またたとえば前
記抽出部は、色数の削減のために、いわゆる均等量子化
法を用いる。これによって、元のフレーム内の単一の画
素データセットにおいて、たとえば、赤、緑、および青
を示すためのデータに8ビットずつ、すなわち258階
調が割振られている場合、前処理後のフレーム内の単一
の画素データセットにおいて、赤および緑を示すための
データに3ビットずつ、ならびに青を示すためのデータ
に2ビットが割振られる。すなわち単一の画素が取得る
色が、約1600万色から256色まで減らされる。In step B2, the extraction section performs preprocessing for feature extraction on the nth frame. Specifically, the pre-processing is processing for reducing the number of pixels and the number of colors in the nth frame. For example, in order to reduce the frame size, the extraction unit periodically spreads the pixels among all the pixels forming the nth frame to be processed. Thereby, for example, the n-th frame of 640 × 480 dots is reduced to 80 × 60 dots. Further, for example, the extraction unit uses a so-called uniform quantization method in order to reduce the number of colors. As a result, in the single pixel data set in the original frame, for example, when data for indicating red, green, and blue is allocated 8 bits each, that is, 258 gray levels are allocated, the frame after preprocessing is performed. In the single pixel data set in, 3 bits are allocated to the data for indicating red and green, and 2 bits are allocated to the data for indicating blue. That is, the color acquired by a single pixel is reduced from approximately 16 million colors to 256 colors.
【0112】前処理後、前記抽出部は、ステップB3
で、第nフレームを予め定める数MMAXの領域に分割
し、かつ、領域番号カウンタmを0に初期化する。たと
えば第nフレームは、図12に示すように、行列状に分
割されるとする。また全ての領域に、たとえばラスタ順
で、領域番号0〜MMAX−1を付すとする。領域番号
カウンタmは、ステップB5〜B11の処理における処
理対象の領域を規定するためのものであり、該カウンタ
が記憶する数値と等しい領域番号の領域、すなわち第m
領域が、処理対象の領域であるとする。初期化後、前記
抽出部は、ステップB4で、領域番号カウンタmの計数
値が全ての領域の数MMAX未満であるか否かを判断す
る。そうである場合、ステップB4からステップB5に
進む。After the pre-processing, the extracting section carries out step B3.
Then, the n-th frame is divided into a predetermined number of MMAX areas, and the area number counter m is initialized to zero. For example, it is assumed that the nth frame is divided into a matrix as shown in FIG. Further, it is assumed that area numbers 0 to MMAX-1 are given to all areas in the raster order, for example. The area number counter m is for defining the area to be processed in the processing of steps B5 to B11, and has an area number equal to the numerical value stored in the counter, that is, the m-th area.
It is assumed that the area is a processing target area. After the initialization, in step B4, the extraction unit determines whether the count value of the area number counter m is less than the number MMAX of all areas. If so, the process proceeds from step B4 to step B5.
【0113】前記抽出部は、ステップB5で、処理対象
の領域、すなわち第nフレーム内の第m領域に関する色
のヒストグラムを作成する。前記ヒストグラムは、前記
第m領域内における画素が取得る複数の色それぞれの出
現頻度を示す。作成後、前記抽出部は、ステップB6
で、色数カウンタpを0に初期化する。初期化後、前記
抽出部は、ステップB7で、色数カウンタpの計数値が
予め定める最大抽出色数PMAX未満であるか否かを判
断する。そうである場合、ステップB7からステップB
8に進む。In step B5, the extraction section creates a color histogram for the region to be processed, that is, the mth region in the nth frame. The histogram shows the appearance frequency of each of the plurality of colors acquired by the pixel in the m-th area. After the creation, the extraction unit performs step B6.
Then, the color number counter p is initialized to 0. After the initialization, in step B7, the extraction unit determines whether or not the count value of the color number counter p is less than the predetermined maximum extracted color number PMAX. If so, step B7 to step B
Go to 8.
【0114】前記抽出部は、ステップB8で、画素が取
得る全ての色のうち、第m領域内における出現頻度が多
いほうからp+1番目の色Cp+1 を、前記ヒストグラム
から検索する。「p+1」は、現時点の色数カウンタp
の値よりも1大きい数である。検索後、前記抽出部は、
ステップB9で、検索された色Cp+1 の色番号と第m領
域内における該色の出現頻度HC[Cp+1 ]を、フレー
ム内特徴記憶部54内の先頭の特徴バッファ内の第m領
域のp+1番目の代表色およびその出現頻度をそれぞれ
記憶するための代表色および出現頻度領域Rn[m]
[p].COL,Rn[m][p].FRQに記憶させ
る。記憶後、前記抽出部は、ステップB10で、色数カ
ウンタpの値に1加算して更新し、ステップB10から
ステップB7に戻る。このように本実施の形態では、領
域の代表色として、画素が取得る全ての色のうち、該領
域における出現頻度が高いほうの色を用いる。これは、
領域内の出現頻度が高い方の色は、該領域の特徴として
安定していると考えられるからである。In step B8, the extraction unit searches the histogram for the p + 1-th color C p + 1 of all the colors acquired by the pixel, which has the highest appearance frequency in the m-th region. "P + 1" is the current color number counter p
Is a number one greater than the value of. After searching, the extraction unit
In step B9, the color number of the retrieved color C p + 1 and the appearance frequency HC [C p + 1 ] of the color in the m-th area are stored in the first feature buffer in the intra-frame feature storage unit 54. Representative color and appearance frequency region Rn [m] for storing the p + 1th representative color of the m region and its appearance frequency, respectively
[P]. COL, Rn [m] [p]. Store in FRQ. After the storage, the extraction unit adds 1 to the value of the color number counter p to update it in step B10, and returns from step B10 to step B7. As described above, in the present embodiment, of all the colors acquired by the pixels, the color having the higher appearance frequency in the area is used as the representative color of the area. this is,
This is because the color with the higher appearance frequency in the area is considered to be stable as a characteristic of the area.
【0115】ステップB7〜B10の処理は、色数カウ
ンタpの値が最大抽出色数PMAX以上になるまで、繰
返される。この結果、第m領域から検出された予め定め
る数PMAXの代表色およびそれらの出現頻度が、表6
に示すように、第m領域用の代表色および出現頻度領域
Rn[m][0].COL〜Rn[m][PMAX−
1].COL,Rn[m][0].FRQ〜Rn[m]
[PMAX−1].FRQにそれぞれ記憶される。また
これらの代表色および出現頻度は、表6に示すように、
得られた時点の色数カウンタpの値に対応付けられる。
この結果第m領域の代表色およびその頻度が、簡潔にま
とめられる。The processing of steps B7 to B10 is repeated until the value of the color number counter p reaches or exceeds the maximum extracted color number PMAX. As a result, the representative colors of the predetermined number PMAX detected from the m-th area and their appearance frequencies are shown in Table 6
, The representative color for the m-th region and the appearance frequency region Rn [m] [0]. COL to Rn [m] [PMAX-
1]. COL, Rn [m] [0]. FRQ to Rn [m]
[PMAX-1]. Each is stored in FRQ. Also, as shown in Table 6, the representative colors and the appearance frequencies of these colors are as follows.
It is associated with the value of the color number counter p at the time when it is obtained.
As a result, the representative color of the m-th region and its frequency are briefly summarized.
【0116】[0116]
【表6】 [Table 6]
【0117】ステップB7で、色数カウンタpの計数値
が予め定める最大抽出色数PMAX以上であると判断さ
れる場合、ステプB6からステップB11に進む。記
憶、前記抽出部は、ステップB10で、領域番号カウン
タmの値に1加算して更新し、ステップB11からステ
ップB4に戻る。この結果、ステップB4〜B11の処
理は、領域番号カウンタmが前記最大領域数MMAX以
上になるまで、繰返される。この結果、第0〜第MMA
X−1領域の代表色および出現頻度が、それぞれ得られ
る。ステップB4で、領域番号カウンタmの計数値が予
め定める数MMAX以上であると判断される場合、ステ
ップB4からステップB12に進み、当該フローチャー
トの処理動作を終了する。If it is determined in step B7 that the count value of the color number counter p is equal to or greater than the predetermined maximum extracted color number PMAX, the process proceeds from step B6 to step B11. The storing and extracting unit adds 1 to the value of the area number counter m to update it in step B10, and returns from step B11 to step B4. As a result, the processing of steps B4 to B11 is repeated until the area number counter m reaches or exceeds the maximum area number MMAX. As a result, the 0th to the MMA
The representative color and the appearance frequency of the X-1 region are obtained, respectively. When it is determined in step B4 that the count value of the area number counter m is equal to or larger than the predetermined number MMAX, the process proceeds from step B4 to step B12, and the processing operation of the flowchart ends.
【0118】前記特徴抽出のための処理において、処理
対象の第nフレームにステップB2で前記前処理を施す
のは、以下の理由からである。一般的に、単一のフレー
ム内の隣合う2つの画素の相関は高いので、該フレーム
に含まれる情報には冗長性がある。このためフレームの
大きさを縮小した場合、すなわち単一フレームを構成す
る画素の数を減少させた場合、縮小後のフレーム内の情
報の傾向は、縮小前の元のフレーム内の情報の傾向とほ
ぼ等しいことが多い。たとえばVGAサイズ、すなわち
640×480ドットの複数のフレームを、80×60
ドットまでそれぞれ縮小した場合、縮小後の複数のフレ
ーム間の相関および相違度の変化の傾向は、元の複数の
フレーム間の相関および相違度の変化の傾向とほぼ等し
い。ゆえに処理対象のフレームの画素数を特徴抽出の前
に予め減少される場合、該フレームの記憶のために必要
なメモリの容量が、フレームを縮小しない場合よりも減
少する。また前記場合、縮小後のフレームの特徴抽出の
ために該フレーム内の各画素が記憶された前記メモリ内
の部分へのアクセス回数が、フレームが縮小されていな
い場合よりも減少するので、特徴抽出のための演算量が
フレームが縮小しない場合よりも減少する。また前記フ
レーム内の画素の色の数を減少させた場合、フレームの
画素数を減少させた場合と同様の理由によって、メモリ
の容量の削減および特徴抽出における計算量の削減が図
られる。このように単一のフレームの画素数および色数
を減少させることによって、フレーム内の情報の取扱い
が容易になる。以上が、フレームに前処理を施す理由で
ある。In the processing for the feature extraction, the preprocessing is performed on the nth frame to be processed in step B2 for the following reason. Generally, the correlation between two adjacent pixels in a single frame is high, so that the information contained in that frame is redundant. Therefore, when the size of the frame is reduced, that is, when the number of pixels forming a single frame is reduced, the tendency of the information in the frame after the reduction is the same as that of the information in the original frame before the reduction. Often almost equal. For example, VGA size, that is, multiple frames of 640 × 480 dots are set to 80 × 60.
When the dots are reduced to the respective dots, the tendency of the change in the correlation and the dissimilarity between the plurality of frames after the reduction is substantially equal to the tendency of the change in the correlation and the dissimilarity between the plurality of original frames. Therefore, when the number of pixels of the frame to be processed is reduced in advance before the feature extraction, the memory capacity required for storing the frame is reduced as compared with the case where the frame is not reduced. Further, in the above case, the number of accesses to the portion in the memory in which each pixel in the frame is stored for feature extraction of the reduced frame is smaller than that in the case where the frame is not reduced. The computational complexity for is reduced than if the frame is not reduced. When the number of colors of pixels in the frame is reduced, the memory capacity and the amount of calculation in feature extraction are reduced for the same reason as when the number of pixels in the frame is reduced. By reducing the number of pixels and the number of colors in a single frame in this manner, it becomes easier to handle information in the frame. The above is the reason why the frame is preprocessed.
【0119】図13は、第2転換部検出装置の相違度計
算部におけるフレーム間相違度の具体的な抽出手法を説
明するためのフローチャートである。図13の説明にお
いて、前記相違度計算部を「計算部」と略称する。図1
3の演算は、第1〜第3フレーム間相違度の演算それぞ
れに適用することができるので、以後の説明では、これ
ら3つのフレーム間相違度のうちの任意の1つだけにつ
いて説明し、該任意の1つのフレーム間相違度を「フレ
ーム間相違度」と略称する。FIG. 13 is a flow chart for explaining a concrete method of extracting the inter-frame dissimilarity in the dissimilarity calculation section of the second conversion section detection device. In the description of FIG. 13, the difference calculation unit is abbreviated as “calculation unit”. Figure 1
Since the calculation No. 3 can be applied to each of the calculation of the first to third inter-frame dissimilarities, in the following description, only one of these three inter-frame dissimilarities will be described. Any one inter-frame dissimilarity is abbreviated as "inter-frame dissimilarity".
【0120】図13の演算は、図7で説明した場面転換
部の検出処理全体のうち、ステップA7の演算に置換え
て実行されるものである。すなわち図7のステップA6
において、少なくとも着目および比較用フレームである
第n,第n−Lxフレームのフレーム内特徴Rn ,R
n-Lxがフレーム内特徴記憶部54に記憶された時点で、
制御回路60は、前記計算部に、前記フレーム間相違度
の計算を開始させる。この結果ステップC1からステッ
プC2に進む。The arithmetic operation of FIG. 13 is executed by replacing the arithmetic operation of step A7 in the entire detection processing of the scene changing unit described with reference to FIG. That is, step A6 in FIG.
In, at least the intra-frame features R n and R of the n-th and n-Lx frames which are the focus and comparison frames
When n-Lx is stored in the intra - frame feature storage unit 54,
The control circuit 60 causes the calculation unit to start calculation of the inter-frame difference degree. As a result, the process proceeds from step C1 to step C2.
【0121】前記計算部は、ステップC2で、フレーム
間相違度を記憶するための変数DSUMを0に初期化
し、ステップC3で、領域番号カウンタmを0に初期化
する。初期化後、前記計算部は、ステップC4で、領域
番号カウンタmの計数値が全ての領域の数MMAX未満
であるか否かを判断する。そうである場合、ステップC
4からステップC5に進む。前記計算部は、ステップC
5で、色数カウンタpを0に初期化する。初期化後、前
記抽出部は、ステップC6で、色数カウンタpの計数値
が予め定める最大抽出色数PMAX未満であるか否かを
判断する。そうである場合、ステップC6からステップ
C7に進む。着目フレームのフレーム内特徴Rnのう
ち、変数m,pが現時点の領域および色数カウンタm,
pの値とそれぞれ等しい代表色および出現頻度領域Rn
[m][p].COL,Rn[m][p].FRQが、
ステップC7〜C14における現時点の処理対象の代表
色および出現頻度領域となる。The calculation section initializes a variable DSUM for storing the inter-frame difference degree to 0 in step C2, and initializes a region number counter m to 0 in step C3. After the initialization, the calculation unit determines in step C4 whether or not the count value of the region number counter m is less than the number MMAX of all regions. If so, step C
It progresses from 4 to step C5. The calculation unit performs step C
At 5, the color number counter p is initialized to 0. After the initialization, in step C6, the extraction unit determines whether or not the count value of the color number counter p is less than a predetermined maximum extracted color number PMAX. If so, the process proceeds from step C6 to step C7. Among the in-frame features Rn of the frame of interest, the variables m and p are the current region and the color number counter m,
Representative color and appearance frequency region Rn that are respectively equal to the value of p
[M] [p]. COL, Rn [m] [p]. FRQ is
It becomes the representative color and appearance frequency region of the current processing target in steps C7 to C14.
【0122】前記計算部は、ステップC7で、現時点の
処理対象の代表色の出現頻度領域Rn[m][p].F
RQ内に現時点で記憶される出現頻度が、0以上である
か否かを判断する。そうである場合、ステップC7から
ステップC8に進む。前記計算部は、ステップC8で、
比較用フレームのフレーム内特徴Rn-LX内の第m領域用
の全ての現時点の出現頻度のうちから、該第m領域内の
全ての代表色のうちで現時点の処理対象の代表色に最も
近い色の出現頻度であり、かつ有効な出現頻度を、探索
する。前記第m領域は、比較用フレームRn-LX内の全て
の領域のうちで、領域番号カウンタmの値と番号が等し
い領域である。変数qは、0以上PMAX−1以下の任
意の整数である。有効な出現頻度とは、出現頻度Rn-LX
[m][q].FRQが0以上のものである。In step C7, the calculating unit calculates the appearance frequency region Rn [m] [p]. F
It is determined whether the appearance frequency currently stored in the RQ is 0 or more. If so, proceed from step C7 to step C8. The calculation unit, in step C8,
Among all the current appearance frequencies for the m-th region in the in - frame feature R n -LX of the comparison frame, the most representative color of the current processing target among all the representative colors in the m-th region Search for an effective appearance frequency that has a similar color appearance frequency. The m-th area is an area having the same number as the value of the area number counter m among all the areas in the comparison frame R n -LX . The variable q is an arbitrary integer of 0 or more and PMAX-1 or less. The effective appearance frequency is the appearance frequency R n-LX
[M] [q]. FRQ is 0 or more.
【0123】すなわち前記計算部は、比較用フレームの
フレーム内特徴Rn-LXを記憶する特徴バッファの中の、
第m領域用の代表色領域Rn-LX[m][0].COL〜
Rn-LX[m][PMAX−1].COL内の代表色のう
ちで現時点の処理対象の代表色領域Rn[m][p].
COL内の代表色Cp+1に最も近い色を記憶する代表色
領域Rn-LX[m][q].COLを、比較用フレームの
現時点の処理対象の代表色領域として探索し、かつ、該
特徴バッファの中の第m領域用の全ての出現頻度領域R
n-LX[m][0].FRQ〜Rn-LX[m][PMAX−
1].FRQ内に現時点で記憶される出現頻度のうちか
ら、該代表色領域Rn-LX[m][q].COLに対応す
る出現頻度領域であり、かつ0以上の出現頻度を記憶す
る出現頻度領域Rn-LX[m][q].FRQを、比較用
フレームの現時点の処理対象の代表色の出現頻度領域と
して、探索する。That is to say, the calculation unit stores in the feature buffer storing the intra-frame feature R n -LX of the comparison frame,
Representative color area R n-LX [m] [0]. COL ~
Rn -LX [m] [PMAX-1]. Among the representative colors in COL, the representative color region Rn [m] [p].
A representative color region R n-LX [m] [q]. Which stores a color closest to the representative color C p + 1 in COL. COL is searched as a representative color area to be processed at the present time of the comparison frame, and all the appearance frequency areas R for the m-th area in the feature buffer are searched.
n-LX [m] [0]. FRQ to Rn -LX [m] [PMAX-
1]. From among the appearance frequencies currently stored in FRQ, the representative color region Rn -LX [m] [q]. COL which is an appearance frequency region corresponding to COL and stores an appearance frequency of 0 or more. R n-LX [m] [q]. The FRQ is searched for as the appearance frequency region of the representative color of the current processing target of the comparison frame.
【0124】探索後、前記計算部は、ステップC9で、
有効な変数qが存在するか否かを判断する。変数qが有
効ではなくなるのは、ステップC7の探索処理におい
て、比較用フレームのフレーム内特徴Rn-LX内の第m領
域用の出現頻度領域Rn-LX[m][0].FRQ〜R
n-LX[m][PMAX−1].FRQの記憶内容が全て
0になっている場合であり、この場合変数qは不定にな
る。すなわちこの場合、前記現時点の処置対象の代表色
および出現頻度領域が定められない。変数qが有効であ
るならば、ステップC9からステップC10に進む。After the search, the calculation unit, in step C9,
Determine if a valid variable q exists. The variable q is not valid because the appearance frequency region Rn -LX [m] [0] .m for the m-th region in the in - frame feature Rn -LX of the comparison frame in the search process of step C7. FRQ ~ R
n-LX [m] [PMAX-1]. This is a case where the stored contents of FRQ are all 0, and in this case, the variable q becomes indefinite. That is, in this case, the representative color and the appearance frequency region of the current treatment target are not determined. If the variable q is valid, the process proceeds from step C9 to step C10.
【0125】前記計算部は、ステップC10で、式13
に示すように、着目および比較用フレームの現時点の処
理対象の代表色の出現頻度領域Rn[m][p].FR
Q,Rn-LX[m][q].FRQ内の出現頻度のうちか
ら、小さいほうの値FMINを求める。選択後、前記計
算部は、ステップC11,C12で、式14,15に示
すように、着目および比較用フレームの現時点の処理対
象の代表色の出現頻度領域Rn[m][p].FRQ,
Rn-LX[m][q].FRQの記憶内容から、前記小さ
いほうの出現頻度FMINをそれぞれ減算して、更新す
る。この結果、前記2つの出現頻度領域のうちの一方が
0になり、他方が該2つの出現頻度の差を記憶する。The calculation section calculates the equation 13 in step C10.
As shown in FIG. 5, the appearance frequency regions Rn [m] [p]. FR
Q, Rn -LX [m] [q]. The smaller value FMIN is obtained from the appearance frequencies in FRQ. After the selection, in steps C11 and C12, the calculation unit calculates the appearance frequency regions Rn [m] [p]. FRQ,
Rn -LX [m] [q]. The smaller appearance frequency FMIN is subtracted from the stored contents of the FRQ and updated. As a result, one of the two appearance frequency areas becomes 0, and the other stores the difference between the two appearance frequencies.
【0126】
FMIN=min(Rn[m][p].FRQ,Rn-LX[m][q].FRQ)
…(13)
Rn[m][p].FRQ=Rn[m][p].FRQ−FMIN
…(14)
Rn-LX[m][q].FRQ=Rn-LX[m][q].FRQ−FMIN
…(15)
更新後、前記計算部は、ステップC13で、式16に示
すように、着目および比較用フレームの現時点の処理対
象の代表色の色番号に基づき、該代表色の色間距離dを
求める。色間距離dとは、2つの色の違いを定量的に示
す数値である。たとえば2つの色C1,C2がRGB色
空間内部で、座標(R1,G1,B1),(R2,G
2,B2)でそれぞれ表される場合、色間距離dは、本
実施の形態では、前記座標(R1,G1,B1),(R
2,G2,B2)の各座標値を、該色C1,C2の画素
の画素データセット内の赤、緑、および青にそれぞれ割
付けられたビットが示す数値であるとして、式17に示
すように、定義している。FMIN = min (Rn [m] [p] .FRQ, Rn -LX [m] [q] .FRQ) (13) Rn [m] [p]. FRQ = Rn [m] [p]. FRQ-FMIN (14) Rn -LX [m] [q]. FRQ = Rn -LX [m] [q]. FRQ-FMIN (15) After updating, the calculation unit calculates the color of the representative color in step C13 based on the color number of the representative color of the current processing target of the focus and comparison frames, as shown in Expression 16. The distance d is calculated. The inter-color distance d is a numerical value that quantitatively shows the difference between the two colors. For example, two colors C1 and C2 are coordinates (R1, G1, B1), (R2, G in the RGB color space.
2, B2) respectively, the inter-color distance d is the coordinates (R1, G1, B1), (R
2, G2, B2) as the numerical values indicated by the bits respectively assigned to red, green, and blue in the pixel data set of the pixels of the colors C1, C2, as shown in Expression 17. , Is defined.
【0127】
d=Rn[m][p].COLとRn-LX[m][q].COLとの差 …(16)
d=|R1−R2|+|G1−G2|+|B1−B2| …(17)
算出後、前記計算部は、式18に示すように、現時点の
相違度変数DSUMの値に、着目および比較用フレーム
の現時点の処理対象の代表色の更新後の出現頻度領域の
記憶内容のうちの大きいほうの値と前記色間距離dとの
積を加算し、更新する。すなわち現時点の相違度変数
に、前記色間距離と前記2つの出現頻度の差との積が加
算される。更新後、ステップC14からステップC15
に戻る。この結果ステップC7〜C14の処理は、着目
フレームの現時点の処理対象の代表色の出現頻度領域R
n[m][p].FRQの記憶内容が0になるまで、ま
たは変数qが無効となるまで、繰返される。D = Rn [m] [p] .COL and Rn -LX [m] [q] .COL difference (16) d = | R1-R2 | + | G1-G2 | + | B1 -B2 | (17) After the calculation, the calculation unit calculates the value of the dissimilarity variable DSUM at the current time, and the appearance of the representative color of the current processing target of the focus and comparison frames after the update. The product of the larger value of the stored contents of the frequency area and the inter-color distance d is added and updated. That is, the product of the inter-color distance and the difference between the two appearance frequencies is added to the current difference degree variable. After updating, step C14 to step C15
Return to. As a result, the processing of steps C7 to C14 is performed in the appearance frequency region R of the representative color of the current frame that is the processing target.
n [m] [p]. The process is repeated until the stored content of FRQ becomes 0 or the variable q becomes invalid.
【0128】
DSUM=DSUM+max(Rn[m][p].FRQ,Rn-LX[m][q].FRQ)×d
…(18)
ステップC7で前記出現頻度領域Rn[m][p].F
RQの記憶内容が0以下になったと判断された場合、ス
テップC7からステップC15に進む。またステップC
9で変数qが有効ではないと判断された場合、ステップ
C9からステップC15に進む。前記計算部は、ステッ
プC15で、色数カウンタpの計数値に1を加算して更
新し、ステップC15からステップC6に戻る。この結
果ステップC6〜C15の処理は、色数カウンタpの計
数値が予め定める値PMAXになるまで、すなわち着目
または比較用フレームの第m領域用の全ての出現頻度領
域の記憶内容が0以下になるまで、繰返される。DSUM = DSUM + max (Rn [m] [p] .FRQ, Rn -LX [m] [q] .FRQ) × d (18) In step C7, the appearance frequency region Rn [m] [p]. . F
When it is determined that the stored content of RQ has become 0 or less, the process proceeds from step C7 to step C15. Also step C
When it is determined in 9 that the variable q is not valid, the process proceeds from step C9 to step C15. The calculation unit adds 1 to the count value of the color number counter p to update it in step C15, and returns from step C15 to step C6. As a result, the processing in steps C6 to C15 is performed until the count value of the color number counter p reaches a predetermined value PMAX, that is, the stored contents of all the appearance frequency areas for the m-th area of the attention or comparison frame are 0 or less. It is repeated until.
【0129】ステップC6で色数カウンタpの計数値が
前記値PMAX以上になったと判断された場合、ステッ
プC6からステップC16に進む。前記計算部は、ステ
ップC16で、領域番号カウンタmの計数値に1を加算
して更新し、ステップC16からステップC4に戻る。
この結果ステップC4〜C16の処理は、領域番号カウ
ンタmの計数値が予め定める分割数MMAXになるま
で、繰返される。この結果、着目および比較用フレーム
の全ての領域に対して、ステップC4〜C16の処理が
施される。ステップC4で領域番号カウンタmの計数値
が前記分割数MMAX以上になったと判断された場合、
ステップC4からステップC17に進み、当該フローチ
ャートの処理動作を終了する。この結果、図13のフロ
ーチャートが終了した時点の相違度変数DSAMに記憶
される値が、前記着目および比較用フレーム間のフレー
ム間相違度として、出力される。When it is determined in step C6 that the count value of the color number counter p is equal to or more than the value PMAX, the process proceeds from step C6 to step C16. In step C16, the calculator adds 1 to the count value of the area number counter m to update the count value, and returns from step C16 to step C4.
As a result, the processes of steps C4 to C16 are repeated until the count value of the area number counter m reaches the predetermined division number MMAX. As a result, the processes of steps C4 to C16 are performed on all the regions of the focus and comparison frames. When it is determined in step C4 that the count value of the area number counter m is equal to or greater than the division number MMAX,
The process proceeds from step C4 to step C17, and the processing operation of the flowchart is finished. As a result, the value stored in the dissimilarity variable DSAM at the end of the flowchart of FIG. 13 is output as the inter-frame dissimilarity between the focus and comparison frames.
【0130】以上説明したように、第2転換部検出装置
31は、第nフレームのフレーム内特徴Rnとして、該
第nフレームを分割して得られる複数の各領域を代表す
る色および該各領域内の該色の画素の出現頻度とを用
い、かつ、第nフレームのフレーム間相違度を図13に
示す手法で計算する。これは以下の理由からである。As described above, the second conversion section detection device 31 determines the color representing each of a plurality of areas obtained by dividing the nth frame and each area as the intra-frame feature Rn of the nth frame. The appearance frequency of the pixel of the color in the inside is used, and the inter-frame difference degree of the nth frame is calculated by the method shown in FIG. This is for the following reason.
【0131】フレーム内特徴として、2枚のフレーム内
の対応画素の色または輝度の差の総和、すなわちいわゆ
るフレーム間差分が用いられる場合、2枚のフレームに
写る被写体のフレーム内の位置が微小量だけずれたなら
ば、該2枚のフレームのフレーム間相違度が大きく変化
する。すなわち前記場合、フレーム間相違度は2枚のフ
レームの微小な違いに過敏に反応する。またフレーム内
特徴として、2枚のフレームの画素ヒストグラムの差が
用いられる場合、該フレーム内特徴からはフレーム内の
画素の位置に関する特徴が失われている。ゆえにたとえ
ば、2枚のフレームが、内部に写る被写体の位置だけが
ずれているならば、両フレーム間のフレーム間相違度は
高くなりやすい。すなわち前記場合、フレーム間相違度
は2枚のフレームの微妙な違いに鈍感になる。また上記
2つの場合のどちらでも、フレーム間相違度は、2枚の
フレーム色合いおよび該フレームの各画素の輝度の変化
に過敏に反応しやすい。When the sum of the differences in color or brightness of the corresponding pixels in two frames, that is, the so-called inter-frame difference is used as the intra-frame characteristic, the position of the subject in the two frames within the frame is very small. If there is a deviation, the inter-frame difference between the two frames changes significantly. That is, in the above case, the degree of difference between frames is hypersensitive to a minute difference between two frames. When the difference between the pixel histograms of two frames is used as the in-frame feature, the feature regarding the position of the pixel in the frame is lost from the in-frame feature. Therefore, for example, if the two frames are displaced only in the position of the subject imaged inside, the degree of difference between the frames tends to be high. That is, in the above case, the degree of difference between frames becomes insensitive to the subtle difference between the two frames. Further, in either of the above two cases, the inter-frame dissimilarity is liable to sensitively react to changes in the hue of two frames and the luminance of each pixel of the frames.
【0132】第1フレーム間相違度がフレームの相違に
対し上述のように反応するならば、第1フレーム間相違
度はカット点以外のフレームでも閾値以上に増加する可
能性があるので、該フレーム間相違度を用いたカット点
の検出精度の向上が困難になる。また第2および第3フ
レーム間相違度がフレームの相違に対し上述のように反
応するならば、第2および第3フレーム間相違度の変化
パターンのうちのトランジション部分に特有のパターン
に該フレームの相違に拘わる相違度の変動が重なった
り、該相違度の変動が該特有のパターンを打消してしま
うことがある。この結果前記トランジション部分に特有
のパターンの検出が難しくなるので、前記フレーム間相
違度を用いたトランジション部分の検出精度の向上が困
難になる。If the first inter-frame dissimilarity reacts to the frame dissimilarity as described above, the first inter-frame dissimilarity may increase above the threshold value even in frames other than the cut point. It becomes difficult to improve the accuracy of detecting the cut points using the degree of dissimilarity. Also, if the difference between the second and third frames reacts to the difference between frames as described above, a pattern peculiar to the transition part of the change patterns of the difference between the second and third frames is changed to the frame. The variation of the dissimilarity related to the difference may overlap, and the variation of the dissimilarity may cancel the peculiar pattern. As a result, it becomes difficult to detect the pattern peculiar to the transition part, and thus it becomes difficult to improve the detection accuracy of the transition part using the inter-frame difference degree.
【0133】本実施の形態のフレーム内特徴は、上述の
ように求められる。フレーム内特徴の算出の際、算出対
象のフレームは、複数の領域に区分される。この結果、
フレームの分割数に基づき、フレーム内の被写体の動き
が各領域の特徴に吸収される程度を、調整することがで
きる。たとえば、前記分割数が少ないほど、前記フレー
ム内の動きが前記各領域の特徴に吸収されやすくなり、
前記分割数が多いほど、前記フレーム内の動きが前記各
領域の特徴に吸収されにくくなる。すなわち前記分割数
が多いほど、前記被写体の動きが各領域の特徴に反映さ
れ易くなる。The in-frame feature of this embodiment is obtained as described above. When calculating the in-frame feature, the frame to be calculated is divided into a plurality of areas. As a result,
Based on the number of divisions of the frame, the degree to which the motion of the subject in the frame is absorbed by the characteristics of each region can be adjusted. For example, the smaller the number of divisions, the easier the movement in the frame is absorbed by the features of each region,
The larger the number of divisions, the less likely the movement in the frame is absorbed by the features of each region. That is, the greater the number of divisions, the easier the movement of the subject is reflected in the characteristics of each region.
【0134】前記分割数が多いほど、2つのフレームの
対応領域同士の特徴の差は、前記対応画素同士の色およ
び輝度の差に近くなり、分割数が少ないほど、前記領域
の特徴の差は前記フレーム同士の特徴の差に近くなる。The greater the number of divisions, the closer the difference between the features of the corresponding areas of the two frames becomes to the difference in color and luminance between the corresponding pixels. The smaller the number of divisions, the greater the difference in the characteristics of the regions. It is close to the difference in characteristics between the frames.
【0135】また本実施の形態のフレーム間相違度は、
基本的には、着目および比較用フレームの対応する領域
内の代表色のうちの色が類似するもの同士の出現頻度の
差分と該色の色間距離との積の総和である。このように
前記代表色のうちの近い色の差分を用いることによっ
て、フレーム間相違度は、2枚のフレームの微小な輝度
よび色合いの差分を吸収することができるので、前記差
分に過敏に反応しない。The inter-frame difference degree of this embodiment is
Basically, it is the sum of the products of the difference in appearance frequency between representative colors having similar colors among the representative colors in the corresponding regions of the focus and comparison frames and the inter-color distance of the colors. As described above, by using the difference between the close colors of the representative colors, the inter-frame difference degree can absorb the minute difference in the brightness and the hue between the two frames, so that the difference between the frames is sensitive to the difference. do not do.
【0136】これらの理由に基づき、本実施の形態のフ
レーム内特徴およびフレーム間相違度が用いられる場
合、2枚のフレームの差異に対して、該フレーム内特徴
およびフレーム間相違度が過敏また過度に鈍感になるこ
とを防止することができる。この結果各フレーム間相違
度の変化パターン内にカット点およびトランジション部
分に特徴的な形状がそれぞれ明瞭に現れるので、カット
点およびトランジション部分の検出精度を向上させるこ
とができる。上述のフレーム内特徴の検出において、領
域内の或る色の画素の出現頻度は、該領域内の該色の画
素が占める面積と等価である。ゆえに前記フレーム内特
徴は、前記出現頻度に代わって、前記画素が示す面積を
用いて検出されても良い。On the basis of these reasons, when the intra-frame feature and inter-frame dissimilarity of this embodiment are used, the intra-frame feature and inter-frame dissimilarity are hypersensitive or excessive with respect to the difference between two frames. It can be prevented from becoming insensitive. As a result, the characteristic shapes of the cut points and the transition portions clearly appear in the change pattern of the inter-frame dissimilarity, so that the detection accuracy of the cut points and the transition portions can be improved. In the detection of the in-frame feature described above, the frequency of appearance of a pixel of a certain color in the area is equivalent to the area occupied by the pixel of the color in the area. Therefore, the in-frame feature may be detected using the area indicated by the pixel instead of the appearance frequency.
【0137】本発明の第3の実施の形態である動画場面
転換部検出装置について、以下に説明する。第3の実施
の形態の動画場面転換部検出装置(以後「第3転換部検
出装置」と略称する)は、第1転換部検出装置50と比
較して、カット検出部におけるカット点の具体的な検出
手法が異なり、他は等しい。ゆえに第3転換部検出装置
の構造および動作のうち、第1転換部検出装置50と同
じ構造および動作の説明は省略する。また第3転換部検
出装置内の部品のうち、第1の実施の形態の転換部検出
装置31と同じ部品には同じ参照符を付す。A moving picture / scene changing portion detecting apparatus according to the third embodiment of the present invention will be described below. Compared with the first conversion unit detection device 50, the moving image scene conversion unit detection device of the third embodiment (hereinafter abbreviated as “third conversion unit detection device”) has a specific cut point in the cut detection unit. The detection method is different, and the others are the same. Therefore, of the structure and operation of the third conversion unit detection device, the description of the same structure and operation as the first conversion unit detection device 50 will be omitted. Further, among the components in the third conversion portion detection device, the same components as those of the conversion portion detection device 31 of the first embodiment are designated by the same reference numerals.
【0138】第3転換部検出装置のカット検出部におけ
るカット点の検出手法を、概略的に以下に説明する。予
め定めるカット点検出用閾値TCは、一般的に、カット
点を挟み連続した2つのフレーム間の隣接フレーム間相
違度以下であり、かつ、単一ショット内の連続した2つ
のフレーム間の隣接フレーム間相違度よりも大きくなる
ように、設定されている。この結果隣接フレーム間相違
度と前記閾値TCとの大小関係に基づいて、カット点を
検出することができる。A method of detecting a cut point in the cut detecting unit of the third conversion unit detecting device will be schematically described below. The predetermined cut point detection threshold value TC is generally equal to or less than the dissimilarity between adjacent frames between two consecutive frames that sandwich the cut point, and the adjacent frame between two consecutive frames within a single shot. It is set so as to be larger than the dissimilarity. As a result, the cut point can be detected based on the magnitude relationship between the difference between adjacent frames and the threshold value TC.
【0139】しかしながら前述した通り、単一ショット
において被写体とカメラとの相対的な位置変化が激しい
場合、該位置変化に起因して、該ショット内の連続する
2つのフレームであっても、隣接フレーム間相違度が前
記閾値TC以上に大きくなることある。また単一ショッ
ト内のフレームであっても複数のフレームを間に挟んで
配置される2つのフレームのフレーム間相違度は、前記
位置変化の影響のために大きくなり易い。たとえば前記
単一のショットに編集が加えられて一部分のフレームが
削除されたならば、それら2つのフレームを挟んで配置
されていた2枚のフレームが連続するフレームとなるた
め、該2つのフレーム間の隣接フレーム間相違度が前記
閾値TC以上になることがある。このように単一ショッ
ト内の連続する2つのフレーム隣接フレーム間相違度が
閾値TC以上になる場合、単一ショット内の連続する2
つのフレーム間にカット点があると誤検出されることが
ある。However, as described above, when the relative positional change between the subject and the camera is large in a single shot, even if there are two consecutive frames in the shot due to the positional change, the adjacent frames are adjacent to each other. The degree of disparity may become greater than the threshold value TC. Further, even in a frame within a single shot, the inter-frame dissimilarity between two frames arranged with a plurality of frames interposed therebetween tends to be large due to the influence of the position change. For example, if the single shot is edited and a part of the frames is deleted, the two frames arranged with the two frames sandwiched therebetween become continuous frames. The difference between adjacent frames may be equal to or more than the threshold value TC. As described above, when the dissimilarity between two adjacent frames in a single shot is equal to or greater than the threshold value TC, two consecutive frames in a single shot are recorded.
It may be falsely detected that there is a cut point between two frames.
【0140】図14は、動画内の各フレームの隣接フレ
ーム間相違度のフレーム順序に従う変化を示すグラフで
ある。図14において、少なくとも、範囲WFA内の複
数のフレームは単一ショット内のものであり、範囲WF
B内の複数のフレームはカット点を挟む2つのフレーム
を含むものである。範囲WFA内に示すショットにおけ
るカメラと被写体との位置変化は極めて激しいと仮定す
る。図14に基づき、前記位置変化に基づき単一ショッ
ト内の2つのフレーム間の隣接フレーム間相違度が前記
閾値以上になる場合、該2つのフレームの近傍の他の2
つのフレームのフレーム間相違度も前記閾値以上になっ
ていることが分かる。これとは逆に、図14に基づき、
カット点を挟むことに基づき2つのフレーム間の隣接フ
レーム間相違度が前記閾値以上になる場合、該2つのフ
レームの近傍の他の2つのフレームの隣接フレーム間相
違度は常に閾値未満になっていることが分かる。すなわ
ちカット点を挟む2つのフレームの隣接フレーム間相違
度は、該カット点の周囲の他の2つのフレームの隣接フ
レーム間相違度よりも突出している。FIG. 14 is a graph showing changes in the dissimilarity between adjacent frames of each frame in a moving image according to the frame order. In FIG. 14, at least a plurality of frames within the range WFA are within a single shot, and the range WF
The plurality of frames in B include two frames sandwiching the cut point. It is assumed that the positional change between the camera and the subject in the shot shown within the range WFA is extremely severe. Based on FIG. 14, when the dissimilarity between adjacent frames between two frames in a single shot is equal to or more than the threshold value based on the position change, the other two adjacent to the two frames are detected.
It can be seen that the inter-frame dissimilarity of one frame is also above the threshold value. On the contrary, based on FIG.
When the dissimilarity between adjacent frames between two frames is equal to or more than the threshold value based on the cut point being sandwiched, the dissimilarity difference between adjacent frames of other two frames near the two frames is always less than the threshold value. I know that That is, the dissimilarity between the adjacent frames of the two frames sandwiching the cut point is higher than the dissimilarity between the adjacent frames of the other two frames around the cut point.
【0141】このため第3転換部検出装置のカット検出
部は、カット点の検出に先立ち、動画内の各フレームの
隣接フレーム間相違度L1[0]〜L1[N−1]を、
それぞれ該各フレームの前後の複数のフレームのフレー
ム間相違度を用いてそれぞれ補正する。この結果図15
に示すように、範囲WFA内の前記位置変化に起因する
隣接フレーム間相違度だけが抑制され、カット点に起因
する隣接フレーム間相違度は元のまま保たれる。前記カ
ット点検出部は、このように補正された隣接フレーム間
相違度を用いて、動画内のカット点を検出する。Therefore, the cut detection unit of the third conversion unit detection device, prior to the detection of the cut point, determines the degree of difference L1 [0] to L1 [N-1] between adjacent frames of each frame in the moving image,
Each of the frames is corrected using the inter-frame dissimilarity of a plurality of frames before and after each frame. As a result of this, FIG.
As shown in FIG. 7, only the dissimilarity between adjacent frames due to the position change within the range WFA is suppressed, and the dissimilarity between adjacent frames due to the cut point is maintained as it is. The cut point detection unit detects the cut point in the moving image by using the degree of difference between the adjacent frames thus corrected.
【0142】図16は、第3転換部検出装置のカット点
検出部におけるカット点の具体的な検出手法を説明する
ためのフローチャートである。図16の説明において、
前記カット点検出部を「検出部」と略称する。図16の
演算は、図7で説明した場面転換部の検出処理全体のう
ち、ステップA9の演算に置換えて実行されるものであ
る。すなわち図7のステップA8において、着目フレー
ム、すなわち第nフレームの第1〜第3フレーム間相違
度が相違度バッファに記憶された後、制御回路60は、
前記検出部に前記カット点の検出処理を開始させる。こ
の結果ステップD1からステップD2に進む。FIG. 16 is a flow chart for explaining a specific method of detecting a cut point in the cut point detection unit of the third conversion unit detection device. In the description of FIG.
The cut point detection unit is abbreviated as “detection unit”. The calculation of FIG. 16 is executed by substituting the calculation of step A9 in the entire detection processing of the scene changing unit described in FIG. That is, in step A8 of FIG. 7, after the difference level between the first to third frames of the frame of interest, that is, the nth frame is stored in the difference level buffer, the control circuit 60
The detection unit is caused to start the detection processing of the cut points. As a result, the process proceeds from step D1 to step D2.
【0143】前記検出部は、ステップD2〜D4で、着
目フレームよりも表示順が前述した予め定める数BCだ
け早い第n−BCフレームを、カット点検出のための注
目フレームとして選び、該注目フレームの第1フレーム
間相違度、すなわち隣接フレーム間相違度を補正する。In steps D2 to D4, the detecting unit selects the n-BC frame whose display order is earlier than the target frame by the predetermined number BC as the target frame for detecting the cut point, and selects the target frame. The first difference between frames, that is, the difference between adjacent frames is corrected.
【0144】すなわち前記検出部は、ステップD2で、
第1バッファ群内のBC番目の相違度バッファBDL1
[BC]の前および後ろにそれぞれ並ぶ予め定める数L
Lずつのバッファ、すなわち第1バッファ群内のBC−
LL番目〜BC−1番目、BC+1番目〜BC+LL番
目のバッファ内の第1フレーム間相違度を、降べき順に
並換える。「2LL」は、予め定める数LLの2倍の数
であり、第2フレーム間距離L2以下である。並換え後
の2LL個の第1フレーム間相違度は、配列変数CS
[0]〜CS[2LL−1]にそれぞれ格納される。配
列変数CS[k]は、変数kが大きいほど、前記2LL
個の第1フレーム間相違度のうちの値の大きいものを記
憶する。ここで変数kは、0以上2LL−1以下の整数
である。この結果配列変数CS[0]〜CS[2LL−
1]は、注目フレームの前後それぞれLL個のフレーム
の第1フレーム間相違度を、降べき順に記憶する。That is, the detecting section, in step D2,
BCth difference buffer BDL1 in the first buffer group
A predetermined number L arranged in front of and behind [BC]
L-by-L buffers, that is, BC- in the first buffer group
The dissimilarities between the first frames in the LLth to BC-1th and BC + 1th to BC + LLth buffers are rearranged in descending order. “2LL” is a number that is twice the predetermined number LL and is less than or equal to the second interframe distance L2. The degree of difference between the 2LL first frames after the rearrangement is determined by the array variable CS.
It is stored in each of [0] to CS [2LL-1]. The larger the variable k is, the more the array variable CS [k] becomes 2LL.
The larger one of the first inter-frame differences is stored. Here, the variable k is an integer of 0 or more and 2LL-1 or less. As a result, array variables CS [0] to CS [2LL-
1] stores the first inter-frame dissimilarity of LL frames before and after the target frame in descending order.
【0145】記憶後、前記検出部は、注目フレーム、す
なわち第n−BCフレームの第1フレーム間相違度を補
正するための補正量Rを、式19に基づいて求める。す
なわち補正量Rは、注目フレームの前後の2LL個のフ
レームの各第1フレーム間相違度と予め定める2LL個
の各重み係数α0 〜α2LL-1 との積の総和である。以下
の式で「CS[k]」は、k番目の配列変数CS[k]
内の第1フレーム間相違度を示す。After the storage, the detection unit obtains the correction amount R for correcting the first inter-frame difference degree of the target frame, that is, the n-BC frame, based on Expression 19. That is, the correction amount R is the sum of the products of the first interframe dissimilarity of the 2LL frames before and after the target frame and the predetermined 2LL weight coefficients α 0 to α 2LL-1 . In the following formula, “CS [k]” is the kth array variable CS [k]
The degree of difference between the first frames is shown.
【0146】
全ての重み係数α0 〜α2LL-1 のうちの少なくとも1つ
は0を越える係数である。前記補正量Rは、単一ショッ
トにおける被写体とカメラとの位置変化に起因して増大
した第1フレーム間相違度を抑制するためのものであ
る。ゆえに、全重み係数α0 〜α2LL-1 のうち、変数k
の大きいものほど、すなわち順番の早い配列変数CS
[k]に乗算されるべきものほど、値が大きいことが好
ましい。たとえば式20に示すように、先頭の重み係数
α0 が1であり、残余の全ての重み係数α1 〜α2LL-1
が0であってもよい。[0146] At least one of all the weighting factors α 0 to α 2LL-1 is a factor exceeding 0. The correction amount R is for suppressing the degree of difference between the first frames which is increased due to the positional change between the subject and the camera in a single shot. Therefore, of all the weighting factors α 0 to α 2LL-1 , the variable k
The larger the value, that is, the array variable CS whose order is earlier
It is preferable that the value to be multiplied by [k] is large. For example, as shown in Expression 20, the leading weighting coefficient α 0 is 1, and all the remaining weighting coefficients α 1 to α 2LL-1
May be zero.
【0147】[0147]
【数1】 [Equation 1]
【0148】補正量算出後、前記検出部は、ステップD
4で、式21に示すように、注目フレームの補正された
第1フレーム間相違度CRを算出する。前記補正後の第
1フレーム間相違度CRは、注目フレームの元の第1フ
レーム間相違度L1(n−BC,n−BC−1)から、
ステップD3で算出された補正量Rを減算した値であ
る。式19において、「BDL1[BC]」は、第1バ
ッファ群内のBC番目の相違度バッファに記憶された第
1フレーム間相違度、すなわち注目フレームの元の第1
フレーム間相違度である。
CR = BDL1[BC]−R …(21)
前述したようにこのように重み係数α0 〜α2LL-1 が定
められた場合、注目フレームの第1フレーム間相違度が
カット点に起因して増大している場合よりも、該第1フ
レーム相違度が前記位置変化に起因して増大している場
合に、補正量Rは大きくなる。この結果前者の場合の補
正後の第1フレーム間相違度CRは元の第1フレーム間
相違度L1(n−BC,n−BC−1)とほぼ等しく、
後者の場合の補正後の第1フレーム間相違度CRは元の
第1フレーム間相違度L1(n−BC,n−BC−1)
よりも極めて小さくなる。この結果、動画内の各フレー
ムの補正後の第1フレーム間相違度のフレームの並べ順
に従う変化は、前述の図15に示す通りになる。すなわ
ちステップD2〜D4の補正処理によって、位置変化に
起因して増大した区間WFA内の第1フレーム間相違度
が抑制されて、元の値よりも小さくなっている。After the correction amount is calculated, the detecting section carries out step D
In 4, the corrected first inter-frame difference CR of the target frame is calculated as shown in Expression 21. The corrected first inter-frame dissimilarity CR is calculated from the original first inter-frame dissimilarity L1 (n-BC, n-BC-1) of the frame of interest as follows:
This is a value obtained by subtracting the correction amount R calculated in step D3. In Expression 19, “BDL1 [BC]” is the first inter-frame dissimilarity stored in the BC-th dissimilarity buffer in the first buffer group, that is, the original first of the frame of interest.
This is the difference between frames. CR = BDL1 [BC] -R (21) As described above, when the weighting factors α 0 to α 2LL-1 are determined in this way, the first inter-frame difference degree of the target frame is caused by the cut point. The correction amount R is larger when the first frame dissimilarity is increasing due to the position change than when it is increasing. As a result, the corrected first interframe difference CR in the former case is almost equal to the original first interframe difference L1 (n-BC, n-BC-1),
In the latter case, the corrected first interframe difference CR is the original first interframe difference L1 (n-BC, n-BC-1).
Will be much smaller than As a result, the change of the corrected first inter-frame difference degree of each frame in the moving image according to the frame arrangement order is as shown in FIG. 15 described above. That is, the correction processing in steps D2 to D4 suppresses the degree of difference between the first frames in the section WFA, which has increased due to the position change, and is smaller than the original value.
【0149】再び図16を参照する。補正処理終了後、
前記検出部は、ステップD5で、ステップD4で算出さ
れた注目フレームの補正後の第1フレーム間相違度CR
が、予め定めるカット点検出用の閾値TC以上であるか
否かを判断する。補正後の第1フレーム間相違度CRが
閾値TC以上である場合だけ、注目フレーム、すなわち
前記第n−BCフレームとその隣のフレームとの間にカ
ット点があると判断される。この場合ステップD5から
ステップD6に進み、制御装置60は、場面転換フラグ
FCにTRUEをセットし、ステップD7で当該フロー
チャートの処理動作を終了する。補正後の第1フレーム
間相違度CRが閾値TC未満である場合、前記第n−B
Cフレームとその隣のフレームとの間にカット点がない
と判断される。この場合ステップD5からステップD6
を飛ばしてステップD7に進み、当該フローチャートの
処理動作を終了する。この結果場面転換フラグFCはF
ALSEのまま保たれる。Referring again to FIG. After the correction process,
In step D5, the detection unit corrects the first frame difference CR after the corrected target frame is calculated in step D4.
Is greater than or equal to a predetermined cut point detection threshold value TC. Only when the corrected first inter-frame difference CR is equal to or larger than the threshold value TC, it is determined that there is a cut point between the target frame, that is, the n-BC frame and the adjacent frame. In this case, the control device 60 proceeds from step D5 to step D6, sets the scene change flag FC to TRUE, and ends the processing operation of the flowchart in step D7. When the corrected first inter-frame difference CR is less than the threshold TC, the n-Bth
It is determined that there is no cut point between the C frame and the frame next to it. In this case, steps D5 to D6
Is skipped and the process proceeds to step D7 to end the processing operation of the flowchart. As a result, the scene change flag FC is F.
It is kept as ALSE.
【0150】以上のように第3転換部検出装置のカット
検出部は、注目フレームの第1フレーム間相違度を、該
注目フレームの前後の他の複数のフレームの第1フレー
ム間相違度に基づいて補正し、補正後の第1フレーム間
相違度を用いてカット点の有無を判断する。この結果前
記カット検出部は、単一ショット内の被写体とカメラと
の位置変化、すなわちいわゆる被写体の動きに起因する
カット点の誤検出を抑制することができる。したがって
第3転換部検出装置は、前記カット検出部の検出精度を
向上させることができる。As described above, the cut detecting unit of the third conversion unit detecting device determines the first frame difference degree of the target frame based on the first frame difference degree of the other plurality of frames before and after the target frame. The presence or absence of the cut point is determined using the corrected first frame difference degree. As a result, the cut detection unit can suppress erroneous detection of a cut point due to a positional change between the subject and the camera within a single shot, that is, so-called movement of the subject. Therefore, the 3rd conversion part detection apparatus can improve the detection accuracy of the said cut detection part.
【0151】本発明の第4の実施の形態である動画場面
転換部検出装置について、以下に説明する。第4の実施
の形態の動画場面転換部検出装置(以後「第4転換部検
出装置」と略称する)は、第1転換部検出装置50と比
較して、特徴形状検出部におけるトランジション部分の
具体的な検出手法が異なり、他は等しい。ゆえに第4転
換部検出装置の構造および動作のうち、第1転換部検出
装置50と同じ構造および動作の説明は省略する。また
第4転換部検出装置内の部品のうち、第1転換部検出装
置50と同じ部品には同じ参照符を付す。また第4転換
部検出装置の説明において、前記特徴形状検出部を「検
出部」と略称することがある。A moving picture / scene changing portion detecting apparatus according to the fourth embodiment of the present invention will be described below. Compared with the first conversion unit detection device 50, the moving image scene conversion unit detection device of the fourth exemplary embodiment (hereinafter abbreviated as “fourth conversion unit detection device”) is more specific than the transition part in the characteristic shape detection unit. The different detection methods are different, and the others are the same. Therefore, of the structure and operation of the fourth conversion unit detection device, description of the same structure and operation as the first conversion unit detection device 50 will be omitted. Also, of the components in the fourth conversion unit detection device, the same components as those of the first conversion unit detection device 50 are designated by the same reference numerals. In the description of the fourth conversion unit detection device, the characteristic shape detection unit may be abbreviated as “detection unit”.
【0152】第4転換部検出装置の特徴形状検出部は、
概略的には、着目フレームおよびその近傍の複数のフレ
ームの第2および第3フレーム間相違度のフレームの並
べ順に従う変化を、式22,23に示す2次関数によっ
て近似し、2つの近似式22,23のグラフである2つ
の放物線の相互の位置関係および形状を該近似式22,
23の係数に基づいて判断し、着目フレームおよびその
近傍のフレームがトランジション部分を構成しているか
を調べる。近似式22,23において、aL2,bL2,c
L2,aL3,bL3,cL3は係数であり、x,yは変数であ
る。The characteristic shape detection unit of the fourth conversion unit detection device is
In general, a change in the degree of dissimilarity between the second and third frames of the target frame and a plurality of adjacent frames is approximated by a quadratic function represented by Expressions 22 and 23, and two approximation expressions are used. The positional relationship and shape of two parabolas, which are graphs 22 and 23, are expressed by the approximate expression 22,
Judgment is made based on the coefficient of 23 to check whether the frame of interest and the frames in the vicinity thereof form the transition part. In the approximate expressions 22 and 23, a L2 , b L2 , c
L2 , a L3 , b L3 , and c L3 are coefficients, and x and y are variables.
【0153】
fL2(x)=aL2(x−bL2)2+cL2=0 …(22)
fL3(x)=aL3(x−bL3)2+cL3=0 …(23)
また本実施の形態では、前記係数の算出に、いわゆる最
小二乗法を用いる。すなわち前記検出部は、式24の連
立方程式の解を、誤差ベクトルei =0と定義して求め
る。変数iは、動画内の全てのフレームのうち、フレー
ム間相違度が近似式22,23によって近似される区
間、すなわち観測区間を定義するための変数である。変
数iは、具体的には、予め定める最小定数i0以上でか
つ予め定める最大定数imax以下の整数である。すな
わち近似式22,23は、着目フレームよりもi枚遡っ
たフレームから着目フレームまで、すなわち第n−iフ
レームから第nフレームまでのi枚のフレームの第2お
よび第3フレーム間相違度のフレームの並べ順に従う変
化パターンを近似する。最小定数i0は、トランジショ
ン部分の最小の長さ、すなわちトランジション部分を構
成するフレームの最小の数に基づいて予め定められ、本
実施の形態では5であるとする。F L2 (x) = a L2 (x−b L2 ) 2 + c L2 = 0 (22) f L3 (x) = a L3 (x−b L3 ) 2 + c L3 = 0 (23) In the present embodiment, the so-called least square method is used to calculate the coefficient. That is, the detection unit finds the solution of the simultaneous equations of Equation 24 by defining the error vector e i = 0. The variable i is a variable for defining a section in which the inter-frame dissimilarity is approximated by the approximate expressions 22 and 23, that is, an observation section, among all the frames in the moving image. The variable i is specifically an integer that is greater than or equal to a predetermined minimum constant i0 and less than or equal to a predetermined maximum constant imax. In other words, the approximate expressions 22 and 23 are the frames having the degree of difference between the second and third frames of the i frames from the frame that is traced back i frames from the frame of interest to the frame of interest, that is, from the (i) th frame to the nth frame. Approximate the change pattern according to the order of arrangement. The minimum constant i0 is predetermined based on the minimum length of the transition part, that is, the minimum number of frames forming the transition part, and is 5 in the present embodiment.
【0154】
AiX = Di+ei (i=i0,i0+1,…,imax) …(24)
式24において、「Ai 」は式25で示すi+1行3列
(3×(i+1))の行列である。「X」は、式26に
示すように、式27に示す2次式の3つの未知係数a,
b,cを並べた要素数3の係数ベクトルである。「D
i 」は、式28に示すように、観測値d0 〜di 、すな
わち相違度バッファBD[0]〜BD[i]内の値を並
べた要素数i+1のベクトルである。式27の3つの未
知係数a,b,cと式22の3つの未知係数aL2,
bL2,cL2との関係は、式29〜31に示すとおりであ
る。また式27の3つの未知係数a,b,cと式23の
3つの未知係数aL3,bL3,cL3との関係は、式29〜
31の未知係数aL2,bL2,cL2を未知係数aL3,
bL3,cL3に置換えたものと等しい。A i X = D i + e i (i = i0, i0 + 1, ..., imax) (24) In Expression 24, “A i ” is i + 1 row 3 column (3 × (i + 1)) shown in Expression 25. Is the matrix of. “X” is, as shown in Expression 26, three unknown coefficients a, of the quadratic expression shown in Expression 27.
It is a coefficient vector having three elements in which b and c are arranged. "D
As shown in Expression 28, “ i ” is a vector with the number of elements i + 1 in which the observed values d 0 to d i , that is, the values in the difference buffers BD [0] to BD [i] are arranged. The three unknown coefficients a, b, c of the equation 27 and the three unknown coefficients a L2 of the equation 22,
The relationship with b L2 and c L2 is as shown in Expressions 29 to 31. Further, the relationship between the three unknown coefficients a, b, and c of the equation 27 and the three unknown coefficients a L3 , b L3 , and c L3 of the equation 23 is as follows.
31 unknown coefficients a L2 , b L2 , and c L2 are set to unknown coefficients a L3 ,
It is the same as the one replaced with b L3 and c L3 .
【0155】[0155]
【数2】 [Equation 2]
【0156】
aL2 = a …(29)
bL2 = −b÷(2a) …(30)
cL2 = c−ab2 …(31)
最小二乗法を用いて式23内の係数ベクトルXを解くこ
とは、誤差ベクトルei が0であると定義して、式32
に示す行列計算を行うことと等価である。「Ai T」は行
列Ai の転置行列であり、「(Ai TAi)-1」は、転置
行列Ai Tと行列Aiとの積である行列の逆行列である。
ここで行列「(Ai TAi)-1Ai T」は、i+1行3列
((i+1)×3)の行列であり、変数iが決定すれば
一意に定まる。ゆえに式33に示すように、以後の説明
では、前記行列「(Ai TAi)-1Ai T」を、行列Si に
置換える。また最小二乗法によって求められた近似式の
放物線と実際の相違度の変化パターンとの誤差ei は、
式34に基づいて求められる。A L2 = a (29) b L2 = -b ÷ (2a) (30) c L2 = c-ab 2 (31) Solving the coefficient vector X in Expression 23 using the least squares method. That is, the error vector e i is defined as 0, and
This is equivalent to performing the matrix calculation shown in. “A i T ” is a transposed matrix of the matrix A i , and “(A i T A i ) −1 ” is an inverse matrix of a matrix which is a product of the transposed matrix A i T and the matrix A i .
Here, the matrix “(A i T A i ) −1 A i T ” is a matrix of i + 1 rows and 3 columns ((i + 1) × 3), and is uniquely determined when the variable i is determined. Therefore, as shown in Expression 33, in the following description, the matrix “(A i T A i ) −1 A i T ” is replaced with the matrix S i . Further, the error e i between the approximate parabola obtained by the method of least squares and the actual change pattern of the difference is
It is calculated based on Expression 34.
【0157】
X =(Ai TAi)-1Ai TDi …(32)
Si =(Ai TAi)-1Ai T
(i=i0,i0+1,…,imax) …(33)
ei = Ai x−Di …(34)
図17は、第4転換部検出装置の特徴形状検出部におけ
るトランジション部分の具体的な検出手法を説明するた
めのフローチャートである。図17の演算は、図7で説
明した場面転換部の検出処理全体のうち、ステップA1
1の演算に置換えて実行されるものである。すなわち図
7のステップA10において、場面転換フラグがFAL
SEであると判断された場合、ステップE1からステッ
プE2に進み、制御装置60は、前記検出部にトランジ
ション部分の検出処理を開始させる。X = (A i T A i ) −1 A i T D i (32) S i = (A i T A i ) −1 A i T (i = i0, i0 + 1, ..., imax) ... (33) e i = A i x−D i (34) FIG. 17 is a flowchart for explaining a specific method for detecting the transition part in the characteristic shape detection part of the fourth conversion part detection device. The calculation of FIG. 17 is performed in step A1 of the entire detection processing of the scene changing unit described in FIG.
It is executed by substituting the operation of 1. That is, in step A10 of FIG. 7, the scene change flag is set to FAL.
If it is determined to be SE, the process proceeds from step E1 to step E2, and the control device 60 causes the detection unit to start the transition part detection process.
【0158】前記検出部は、ステップE2で、近似式2
0,21の係数の算出に用いるための行列Ai0,
Ai0+1,…,Aimax,Si0,Si0+1,…,Simaxを準備
する。前述したように、各行列Ai ,Si は変数iが決
定されれば一意的に定まるので、該行列Ai ,Si の要
素は予め計算しておくことができる。これによって前記
検出部は、以後の計算における計算量を削減することが
できる。行列演算後、前記検出部は、予め準備されたカ
ウンタiの初期化のために、該カウンタiに前記最小定
数i0を代入する。以後、ステップE4〜E11の処理
において、変数iの値として、現時点のカウンタiの値
が用いられる。初期化後、前記検出部は、ステップE4
で、現時点のカウンタiの値が予め定める最大値ima
x未満であるか否かを判断する。そうである場合、ステ
ップE4からステップE5に進む。In step E2, the detecting section calculates the approximate expression 2
A matrix A i0 for use in calculating the coefficients 0, 21;
A i0 + 1 , ..., A imax , S i0 , S i0 + 1 , ..., S imax are prepared. As described above, each matrix A i , S i is uniquely determined if the variable i is determined, and therefore the elements of the matrix A i , S i can be calculated in advance. As a result, the detection unit can reduce the amount of calculation in subsequent calculations. After the matrix calculation, the detection unit substitutes the minimum constant i0 into the counter i in order to initialize the counter i prepared in advance. After that, the current value of the counter i is used as the value of the variable i in the processes of steps E4 to E11. After the initialization, the detection unit performs step E4.
Then, the current value of the counter i is the maximum value ima determined in advance.
It is determined whether it is less than x. If so, the process proceeds from step E4 to step E5.
【0159】前記検出部は、ステップE5で、観測区間
の第2および第3フレーム間相違度の簡易形状チェック
を行う。前記簡易形状チェックは、第n−iフレームか
ら第nフレームまでの複数のフレーム、すなわち前記観
測区間のフレームの第2および第3フレーム間相違度の
フレームの並べ順に従う変化パターンが、明らかにトラ
ンジション部分に特有の予め定めるパターン、すなわち
凸状になっているか否かを判断するためのチェックであ
る。具体的には、前記検出部は、現時点の相違度バッフ
ァ内の第2および第3フレーム間相違度が式35〜37
に示す条件を満たすか否かを判断する。次式で、BDL
2[i],BDL3[i]は、第2および第3各バッフ
ァ群内のi番目の相違度バッファに記憶されたフレーム
間相違度を指す。「THL2」,「THL3」は、それ
ぞれ予め定める閾値である。式35〜37が全て満たさ
れているならば、ステップE5からステップE6に進
む。In step E5, the detection section performs a simple shape check of the degree of difference between the second and third frames of the observation section. In the simple shape check, a change pattern according to a plurality of frames from the n-th frame to the n-th frame, that is, a change pattern according to the arrangement order of the frames of the second and third frames of the observation section is apparently transitioned. This is a check for judging whether or not a predetermined pattern peculiar to the part, that is, a convex shape is formed. Specifically, the detection unit calculates the difference between the second and third frames in the difference buffer at the present time by using the equations 35 to 37.
It is determined whether or not the condition shown in is satisfied. In the following formula, BDL
2 [i] and BDL3 [i] indicate the inter-frame dissimilarity stored in the i-th dissimilarity buffer in each of the second and third buffer groups. “THL2” and “THL3” are predetermined threshold values. If Expressions 35 to 37 are all satisfied, the process proceeds from Step E5 to Step E6.
【0160】
BDL2[i/2]−BDL2[0]> THL2 …(35)
BDL2[i/2]−BDL2[i]> THL2 …(36)
BDL3[0]−BDL3[i]>THL3 …(37)
前記検出部は、ステップE6で、第2バッファ群内の相
違度バッファ内の現時点のi個の観測値、すなわち前記
観測期間内のフレームの第2フレーム間相違度を用い
て、式38に示すように、第2係数ベクトルXL2を算出
する。この結果得られる未知係数a,b,cと前述の式
29〜31とに基づき、前記観測区間内のフレームの第
2フレーム間相違度の近似式22の未知係数aL2,
bL2,cL2が求められる。算出後、前記検出部は、ステ
ップE7で、式39に基づき、前記検出部は、第2フレ
ーム間相違度の近似式22と前記観測区間のフレームの
実際の第2フレーム間相違度の変化パターンとの誤差ベ
クトルeL2を求める。さらに前記検出部は、ステップE
8,E9で、式40,41に示すように、ステップE
6,E7とほぼ同じ手順で、観測区間内のフレームの第
3フレーム間相違度の近似式23の未知係数aL3,
bL3,cL3と、該近似式23と前記観測区間のフレーム
の実際の第3フレーム間相違度との誤差ベクトルeL3を
求める。この際、式38,39;40,41の演算に先
立ち、行列DL2i,DL3iの演算を行い、該演算結果を
式38,39;40,41の演算にそれぞれ利用するこ
とが好ましい。BDL2 [i / 2] -BDL2 [0]> THL2 (35) BDL2 [i / 2] -BDL2 [i]> THL2 (36) BDL3 [0] -BDL3 [i]> THL3 ((35) 37) In step E6, the detection unit uses the i-th observation value at the present time in the dissimilarity buffer in the second buffer group, that is, the inter-second-frame dissimilarity of the frames in the observation period, As shown in, the second coefficient vector X L2 is calculated. Based on the unknown coefficients a, b, and c obtained as a result and the above-mentioned equations 29 to 31, the unknown coefficient a L2 of the approximate equation 22 of the second interframe dissimilarity of the frames in the observation section,
b L2 and c L2 are obtained. After the calculation, in step E7, the detection unit calculates the approximate expression 22 of the second interframe dissimilarity and the actual change pattern of the second interframe dissimilarity of the frame of the observation section based on the expression 39. And the error vector e L2 of Further, the detection unit is step E
8 and E9, as shown in equations 40 and 41, step E
6 and E7, the unknown coefficient a L3 of the approximate expression 23 of the third inter-frame dissimilarity degree of the frames in the observation section,
An error vector e L3 between b L3 and c L3 and the approximate expression 23 and the actual degree of difference between the third frames of the observation section is obtained. At this time, it is preferable that the matrices D L2 i, D L3 i are calculated prior to the calculations of the expressions 38, 39; 40, 41, and the calculation results are used for the calculations of the expressions 38, 39; 40, 41, respectively. .
【0161】
XL2 = Si DL2i …(38)
eL2 = Ai XL2−DL2i …(39)
XL3 = Si DL3i …(40)
eL3 = Ai XL3−DL3i …(41)
算出後、前記検出部は、ステップE6〜E9で求められ
た近似式22,23の係数aL2,bL2,cL2,aL3,b
L3,cL3および誤差ベクトルeL2,eL3を用いて、前述
の2つの近似式22,23のグラフの形状がトランジシ
ョン部分に特有の予め定める形状であるか否かを判断す
る。具体的には、前記検出部は、近似式22,23の係
数aL2,bL2,cL2,aL3,bL3,cL3および誤差ベク
トルeL2,eL3が以下の条件式42〜47を満たすか否
かを判断する。以下の式において、「i/2」は変数i
の半分の値である。「ε1」は未知定数bL2の許容誤差
を示す定数であり、たとえば変数iの8分の1の値(ε
=i/8)である。「HL2」,「HL3」は、第2および
第3フレーム間相違度の近似式22,23のグラフであ
る放物線の高さであり、具体的には式48,49で定義
される。「xx」は、方程式fL2(i)=fL3(x)の
x>0における解である。「ε2」は許容誤差を示す定
数であり、たとえば変数iの10分の1の値(ε=i/
10)である。「|eL2|」,「|eL3|」は、誤差ベ
クトルeL2,eL3の要素の大きさの平均値である。「T
E」は、予め定める閾値である。「max(cL3,fL3
(0))」は、未知係数cL3と、変数xが0の場合の近
似式fL3(x)の値とのうちの大きいほうの値である。X L2 = S i D L2 i (38) e L2 = A i X L2- D L2 i (39) X L3 = S i D L3 i (40) e L3 = A i X L3 − D L3 i (41) After the calculation, the detection unit calculates the coefficients a L2 , b L2 , c L2 , a L3 , and b of the approximate expressions 22 and 23 obtained in steps E6 to E9.
Using L3 , c L3 and the error vectors e L2 , e L3 , it is determined whether or not the shapes of the graphs of the above two approximate expressions 22 and 23 are predetermined shapes peculiar to the transition part. Specifically, the detection unit calculates the coefficients a L2 , b L2 , c L2 , a L3 , b L3 , and c L3 of the approximate expressions 22 and 23 and the error vectors e L2 and e L3 by the following conditional expressions 42 to 47. It is determined whether or not the condition is satisfied. In the following formula, "i / 2" is the variable i
Is half the value of. “Ε1” is a constant indicating the allowable error of the unknown constant b L2 , and is, for example, a value (ε
= I / 8). “H L2 ” and “H L3 ” are the heights of parabolas that are graphs of the approximate expressions 22 and 23 of the dissimilarity between the second and third frames, and are specifically defined by expressions 48 and 49. "Xx" is the solution of the equation f L2 (i) = f L3 (x) at x> 0. “Ε2” is a constant indicating an allowable error, and is, for example, a value of 1/10 of the variable i (ε = i /
10). “| E L2 |” and “| e L3 |” are average values of the sizes of the elements of the error vectors e L2 and e L3 . "T
“E” is a predetermined threshold value. "Max (c L3 , f L3
(0)) ”is the larger value of the unknown coefficient c L3 and the value of the approximate expression f L3 (x) when the variable x is 0.
【0162】
aL2 < 0,かつ aL3 < 0 …(42)
i/2−ε1 < bL2 < i/2+ε1 …(43)
bL3 < bL2 …(44)
Th < HL2 < HL3 …(45)
|i−xx| < ε2 …(46)
|eL2| < Te,かつ |eL3| < TE …(47)
HL2 = cL2−fL2(0) …(48)
HL3 = max(cL3,fL3(0))−fL3(i) …(49)
式42は、近似式22,23のグラフがどちらも上に凸
な放物線である場合、満たされる。式43は、第2フレ
ーム間相違度の近似式22のグラフ、すなわち第1の放
物線の中心線が前記観測範囲のほぼ中心である場合、満
たされる。式44は、第3フレーム間相違度の近似式2
3のグラフ、すなわち第2の放物線の中心線が、前記第
1の放物線の中心線よりも座標系の原点に近い場合に満
たされる。式45は、前記第2の放物線の高さが前記第
1の放物線の高さよりも高く、かつ両者の放物線の高さ
が予め定める高さTh以上である場合に満たされる。式
46は、座標系上で、両者の放物線がx=i付近で接近
している場合に満たされる。式47は、近似式22,2
3と実際の観測値、すなわち実際の第2および第3フレ
ーム間相違度との誤差が充分に小さい場合に、満たされ
る。すなわち条件式42〜47が全て満たされる場合、
近似式22,23によって近似された第2および第3フ
レーム間相違度の前記観測区間内の変化パターンは、図
4に示すようなトランジション部分に特有のパターンに
なっていると予想される。A L2 <0 and a L3 <0 (42) i / 2-ε1 <b L2 <i / 2 + ε1 (43) b L3 <b L2 (44) Th <H L2 <H L3 ... (45) | i-xx | <ε2 ... (46) | e L2 | <Te, and | e L3 | <TE ... (47) HL2 = c L2 -f L2 (0) ... (48) HL3 = max (c L3 , f L3 (0)) − f L3 (i) (49) The expression 42 is satisfied when the graphs of the approximate expressions 22 and 23 are both parabola convex upwards. Expression 43 is satisfied when the graph of the approximate expression 22 of the degree of difference between the second frames, that is, when the center line of the first parabola is approximately the center of the observation range. Expression 44 is an approximate expression 2 of the degree of difference between the third frames.
3 is satisfied, that is, the center line of the second parabola is closer to the origin of the coordinate system than the center line of the first parabola. Expression 45 is satisfied when the height of the second parabola is higher than the height of the first parabola, and the heights of both parabolas are equal to or higher than a predetermined height Th. Expression 46 is satisfied when the parabolas of both are close to each other near x = i on the coordinate system. Expression 47 is the approximate expression 22, 2
3 is satisfied when the error between 3 and the actual observed value, that is, the actual difference between the second and third frames is sufficiently small. That is, when all the conditional expressions 42 to 47 are satisfied,
It is expected that the change pattern of the degree of difference between the second and third frames approximated by the approximate expressions 22 and 23 within the observation section is a pattern peculiar to the transition part as shown in FIG.
【0163】この結果前記検出部は、ステップE11
で、ステップE10の判定処理によって、条件式42〜
47が全て成立したか否かを判断する。全ての条件式4
2〜47が成立した場合、前記観測区間において、トラ
ンジション効果が生じていると判断される。この場合ス
テップE11からステップE12に進み、制御回路60
は、場面転換フラグFcに「TRUE」をセットして、
ステップE14で当該フローチャートの処理動作を終了
する。As a result, the detection section carries out step E11.
Then, the conditional expression 42-
It is determined whether all 47 are satisfied. All conditional expressions 4
When 2 to 47 are satisfied, it is determined that the transition effect is occurring in the observation section. In this case, the control circuit 60 proceeds from step E11 to step E12.
Sets "TRUE" to the scene change flag Fc,
At step E14, the processing operation of the flowchart ends.
【0164】また条件式42〜47のうちの少なくとも
1つが成立しない場合、前記観測区間においてトランジ
ション効果は生じていないと判断される。この場合、ス
テップE11からステップE13に進み、カウンタiに
1加算して更新する。この結果前記観測区間が1フレー
ム分広がる。更新後、ステップE13からステップE4
に戻る。ステップE3〜E11の動作は、ステップE1
1でトランジション効果が検出されるまで、繰返され
る。When at least one of the conditional expressions 42 to 47 is not satisfied, it is determined that the transition effect does not occur in the observation section. In this case, the process proceeds from step E11 to step E13, and the counter i is incremented by 1 and updated. As a result, the observation section is expanded by one frame. After updating, step E13 to step E4
Return to. The operations of steps E3 to E11 are the same as those of step E1.
Repeat until a transition effect is detected at 1.
【0165】またステップE5の簡易形状チェックにお
いて、条件式35〜37のうちの少なくとも1つが成立
しない場合、前記観測区間のフレームの第2および第3
フレーム間相違度の変化パターンが凸状になっていない
と予想される。この場合ステップE5からステップE1
3を経て、ステップE4に戻る。ステップE4におい
て、カウンタiの値が、定数imax以上になった場
合、ステップE4からステップE14に進み、当該フロ
ーチャートの処理動作を終了する。この場合場面転換フ
ラグFcは、「FALSE」のまま保たれている。In the simple shape check of step E5, if at least one of conditional expressions 35 to 37 is not satisfied, the second and third frames of the observation section are checked.
It is expected that the change pattern of the dissimilarity between frames is not convex. In this case, steps E5 to E1
After step 3, the process returns to step E4. When the value of the counter i becomes equal to or larger than the constant imax in step E4, the process proceeds from step E4 to step E14, and the processing operation of the flowchart ends. In this case, the scene change flag Fc is kept as "FALSE".
【0166】以上のように第4転換部検出装置の前記特
徴形状検出部は、観測期間内の第2および第3フレーム
間相違度の変化パターンを、放物線によって近似してい
る。この結果、フレームに重畳されるノイズ、または単
一ショットの撮影時にカメラと被写体との位置関係が大
きく変化したことに起因して相違度が変動する場合、前
記特徴形状検出部は前記相違度の変動に対してロバスト
に、トランジション効果を用いた場面転換が生じている
か否かを判断することができる。また前記検出部は、近
似式の算出および判定に先立ち、変化パターンの簡易形
状チェックを行っている。これによって前記検出部は、
観測区間のフレーム間相違度の変化パターンがトランジ
ション部分に特有のパターンではないことが明らかな場
合、該観測区間に関する近似式の算出および判定を省略
することができる。この結果前記検出部の処理量が減少
する。As described above, the characteristic shape detection unit of the fourth conversion unit detection device approximates the change pattern of the dissimilarity between the second and third frames within the observation period by a parabola. As a result, when the dissimilarity changes due to noise superimposed on the frame or a large change in the positional relationship between the camera and the subject at the time of shooting a single shot, the feature shape detection unit It is possible to judge robustly against a change whether or not a scene change using a transition effect has occurred. Further, the detecting unit performs a simple shape check of the change pattern before calculating and determining the approximate expression. Thereby, the detection unit
When it is clear that the change pattern of the inter-frame dissimilarity of the observation section is not a pattern peculiar to the transition part, the calculation and determination of the approximate expression regarding the observation section can be omitted. As a result, the processing amount of the detection unit is reduced.
【0167】本発明の第5の実施の形態である動画場面
転換部検出装置について、以下に説明する。第4の実施
の形態の動画場面転換部検出装置(以後「第5転換部検
出装置」と略称する)は、第1転換部検出装置50と比
較して、特徴形状検出部におけるトランジション部分の
具体的な検出手法が異なり、他は等しい。ゆえに第5転
換部検出装置の構造および動作のうち、第1転換部検出
装置50と同じ構造および動作の説明は省略する。また
第5転換部検出装置内の部品のうち、第1転換部検出装
置50と同じ部品には同じ参照符を付す。また第5転換
部検出装置の説明において、前記特徴形状検出部を「検
出部」と略称することがある。A moving picture / scene changing portion detecting apparatus according to the fifth embodiment of the present invention will be described below. The moving picture scene change unit detection device of the fourth embodiment (hereinafter abbreviated as “fifth change unit detection device”) is more specific than the first change unit detection device 50 in the transition portion of the characteristic shape detection unit. The different detection methods are different, and the others are the same. Therefore, of the structure and operation of the fifth conversion unit detection device, description of the same structure and operation as the first conversion unit detection device 50 will be omitted. Further, of the components in the fifth conversion unit detection device, the same components as those of the first conversion unit detection device 50 are designated by the same reference numerals. In the description of the fifth conversion unit detection device, the characteristic shape detection unit may be abbreviated as “detection unit”.
【0168】第5転換部検出装置の特徴形状検出部は、
概略的には、着目フレームおよびその近傍の複数のフレ
ームの第2および第3フレーム間相違度のフレームの並
べ順に従う変化パターンを、正弦関数を含む式によって
それぞれ近似し、該近似式のグラフの相互の位置関係お
よび形状を該近似式の係数に基づいて判断し、着目フレ
ームおよびその近傍のフレームがトランジション部分を
構成しているかを調べる。具体的には、動画内の第n−
iフレームから第nフレームまでの範囲を観測範囲とし
て、該観測範囲のフレームの第2フレーム間相違度の変
化パターンを、図18に示すように、1周期の半分の正
弦波によって近似し、該観測範囲のフレームの第3フレ
ーム間相違度の変化パターンを、図19に示すように、
1周期の4分の1の余弦波によって近似する。変数i
は、動画内の観測区間を定義するための変数であり、第
4の実施の形態で説明した変数iと等価である。すなわ
ち変数iは、最小定数i0以上で最大定数imax以下
の整数であり、本実施の形態では最小定数i0は5であ
るとする。また本実施の形態では、前記近似式の算出の
ために、観測区間内のフレームのフレーム間相違度を周
波数領域のデータに変換する変換手法として、FFT
(Fast Fourier Transform)が用いられる。The characteristic shape detection unit of the fifth conversion unit detection device is
In general, the change patterns according to the order of arrangement of the frames of the second and third inter-frame dissimilarities of the frame of interest and a plurality of frames in the vicinity thereof are respectively approximated by an equation including a sine function, and a graph of the approximation equation The mutual positional relationship and shape are judged based on the coefficient of the approximate expression, and it is checked whether or not the frame of interest and the frames in the vicinity thereof form a transition part. Specifically, the n-th in the moving image
With the range from the i-th frame to the n-th frame as the observation range, the change pattern of the second inter-frame difference degree of the frames in the observation range is approximated by a half-sine wave of one cycle as shown in FIG. As shown in FIG. 19, the change pattern of the dissimilarity between the third frames of the observation range frame is as follows.
It is approximated by a cosine wave of 1/4 of one cycle. Variable i
Is a variable for defining the observation section in the moving image, and is equivalent to the variable i described in the fourth embodiment. That is, the variable i is an integer equal to or larger than the minimum constant i0 and equal to or smaller than the maximum constant imax, and the minimum constant i0 is 5 in the present embodiment. Further, in the present embodiment, in order to calculate the approximate expression, the FFT is used as a conversion method for converting the inter-frame dissimilarity of the frames in the observation section into frequency domain data.
(Fast Fourier Transform) is used.
【0169】図20は、第5転換部検出装置の特徴形状
検出部におけるトランジション部分の具体的な検出手法
を説明するためのフローチャートである。図20の演算
は、図7で説明した場面転換部の検出処理全体のうち、
ステップA11の演算に置換えて実行されるものであ
る。すなわち図7のステップA10において、場面転換
フラグがFALSEであると判断された場合、ステップ
F1からステップF2に進み、制御装置60は、前記検
出部にトランジション部分の検出処理を開始させる。FIG. 20 is a flow chart for explaining a specific method of detecting a transition part in the characteristic shape detecting section of the fifth conversion section detecting device. The operation of FIG. 20 is the same as that of the whole detection process of the scene changing unit described in FIG.
This is executed by replacing the calculation in step A11. That is, in step A10 of FIG. 7, when it is determined that the scene change flag is FALSE, the process proceeds from step F1 to step F2, and the control device 60 causes the detection unit to start the transition part detection process.
【0170】前記検出部は、ステップF2で、予め準備
されたカウンタiの初期化のために、該カウンタiに前
記最小定数i0を代入する。以後、ステップF3〜F7
の処理において、変数iの値として、現時点のカウンタ
iの値が用いられる。初期化後、前記検出部は、ステッ
プF3で、現時点のカウンタiの値が最大定数imax
未満であるか否かを判断する。そうである場合、ステッ
プE4からステップE5に進む。前記検出部は、ステッ
プF4で、観測区間の第2および第3フレーム間相違度
の簡易形状チェックを行う。ステップF4の簡易形状チ
ェックは、第4の実施の形態の図17のステップE5の
簡易形状チェックと等しいので、説明は省略する。ステ
ップF4で、簡易形状チェックの条件式35〜37が全
て成立すると判断されるならば、ステップF4からステ
ップF5に進む。In step F2, the detecting section substitutes the minimum constant i0 into the counter i to initialize the counter i prepared in advance. After that, steps F3 to F7
In the process of, the current value of the counter i is used as the value of the variable i. After the initialization, in step F3, the detection unit determines that the current value of the counter i is the maximum constant imax.
It is determined whether it is less than. If so, the process proceeds from step E4 to step E5. In step F4, the detection unit performs a simple shape check of the degree of difference between the second and third frames in the observation section. Since the simple shape check of step F4 is the same as the simple shape check of step E5 of FIG. 17 of the fourth embodiment, description thereof will be omitted. If it is determined in step F4 that all of the simple shape check conditional expressions 35 to 37 are satisfied, the process proceeds from step F4 to step F5.
【0171】前記検出部は、ステップF5で、観測区間
の全てのフレームの第2および第3フレーム相違度と、
式50〜52,53〜57とに基づき、FFT計算用の
第1および第2時系列データ群DL2,DL3をそれぞ
れ作成する。第1および第2時系列データ群DL2,D
L3は、各時系列データ群DL2,DL3を構成するデ
ータ要素DL2[0]〜DL2[N−1],DL3
[0]〜DL3[N−1]の個数がそれぞれ2のべき乗
になっており、かつ1周期分の正弦波および余弦波にそ
れぞれ相当するデータになっている。ここでNは式58
に示すように、2のべき乗であり、かつ変数iの4倍の
値よりも大きいとする。kは整数である。In step F5, the detector detects the second and third frame dissimilarities of all the frames in the observation section,
First and second time series data groups DL2 and DL3 for FFT calculation are created based on equations 50 to 52 and 53 to 57, respectively. First and second time series data groups DL2, D
L3 is a data element DL2 [0] to DL2 [N-1], DL3 forming each time series data group DL2, DL3.
The number of [0] to DL3 [N-1] is a power of 2, and the data is equivalent to one cycle of sine wave and cosine wave. Where N is Equation 58
As shown in, it is assumed that it is a power of 2 and is larger than the value of 4 times the variable i. k is an integer.
【0172】[0172]
【数3】 [Equation 3]
【0173】データ作成後、前記検出部は、ステップF
6で、第1および第2時系列データ群DL2,DL3に
対して、FFTを施す。FFTの演算手法は、一般的な
FFTの演算手法と等しい。これによってFFTの演算
結果として、第1および第2複素数データ群FL2
[0]〜FL2[N−1],FL3[0]〜FL3[N
−1]がそれぞれ得られる。After the data is created, the detecting section carries out step F.
At 6, FFT is performed on the first and second time series data groups DL2 and DL3. The FFT calculation method is the same as a general FFT calculation method. As a result of the FFT operation, the first and second complex data groups FL2
[0] to FL2 [N-1], FL3 [0] to FL3 [N
-1] is obtained respectively.
【0174】演算後、前記検出部は、ステップF7で第
1および第2複素数データ群に基づき、元の時系列デー
タ群DL2,DL3の変化パターンを示す波形の判別を
行う。具体的には、前記検出部は、第1および第2複素
数データ群に基づき、以下の7つの条件式59〜65が
それぞれ成立するか否かを判断する。以下の式におい
て、「|FL2[j]|」,「|FL3[j]|」は、
複素数データFL2[j],FL3[j]のゲインを示
す。「Ph(FL2[j])」,「Ph(FL3
[j])」は、複素数データFL2[j],FL3
[j]の位相を単位を度として示すものである。「T
L」、「TH」はそれぞれ予め定められる定数であり、
「ε」は許容誤差であり、たとえば5度である。After the calculation, the detecting section discriminates the waveform showing the change pattern of the original time series data groups DL2 and DL3 based on the first and second complex number data groups in step F7. Specifically, the detection unit determines whether the following seven conditional expressions 59 to 65 are satisfied based on the first and second complex number data groups. In the following equation, “| FL2 [j] |” and “| FL3 [j] |” are
The gain of the complex number data FL2 [j], FL3 [j] is shown. "Ph (FL2 [j])", "Ph (FL3
[J]) ”is the complex number data FL2 [j], FL3
The phase of [j] is shown in units of degrees. "T
L ”and“ TH ”are constants that are set in advance,
“Ε” is a permissible error, which is, for example, 5 degrees.
【0175】
|FL2[1]|>TL …(59)
|FL2[j]|>TH (j=2,3,…,N−2) …(60)
90−ε<Ph(FL2[1])<90+ε …(61)
|FL3[1]|>TL …(62)
|FL3[j]|>TH (j=2,3,…,N−2) …(63)
−ε<Ph(FL3[1])<+ε …(64)
|FL3[1]|>|FL2[1]| …(65)
条件式59,60,61,63は、第1および第2時系
列データのグラフの形状が正弦波および余弦波にそれぞ
れ近いか否かを調べるためのものである。具体的には、
条件式59,62は、第1および第2時系列データのグ
ラフである波形の振幅が定数TL以上である場合に成立
し、条件式60,63は、前記波形の雑音成分に相当す
る前記第1および第2時系列データ群の高周波成分の大
きさが該データ群全体に与える影響が充分小さい場合に
成立する。また式61,64は、第1およぼい第2時系
列データ群のグラフの波形の位相が図18,19に示す
正弦波および余弦波にそれぞれなる位相である場合に、
成立する。条件式65は、観測区間内の第2および第3
フレーム間相違度の変化パターンが図8の大小関係にな
る場合に、成立する。すなわち全ての条件式59〜65
が成立する場合、正弦関数を含む近似式によって近似さ
れた第2および第3フレーム間相違度の前記観測区間内
の変化パターンは、図4に示すようなトランジション部
分に特有のパターンになっていると予想される。| FL2 [1] |> TL (59) | FL2 [j] |> TH (j = 2, 3, ..., N-2) (60) 90-ε <Ph (FL2 [1] ) <90 + ε ... (61) | FL3 [1] |> TL ... (62) | FL3 [j] |> TH (j = 2, 3, ..., N-2) (63) −ε <Ph (FL3 [1]) <+ ε ... (64) | FL3 [1] |> | FL2 [1] | ... (65) The conditional expressions 59, 60, 61, and 63 are the shapes of the graphs of the first and second time series data. This is for checking whether is close to a sine wave and a cosine wave, respectively. In particular,
The conditional expressions 59 and 62 are satisfied when the amplitude of the waveform that is the graph of the first and second time-series data is equal to or larger than the constant TL, and the conditional expressions 60 and 63 correspond to the first noise component of the waveform. This holds when the magnitudes of the high frequency components of the first and second time series data groups have a sufficiently small effect on the entire data group. Equations 61 and 64 are obtained when the phases of the waveforms of the graphs of the first and second time-series data groups are the sine wave and cosine wave shown in FIGS.
To establish. The conditional expression 65 is the second and third in the observation section.
This holds when the change pattern of the inter-frame dissimilarity has the magnitude relationship shown in FIG. That is, all conditional expressions 59 to 65
When is satisfied, the change pattern in the observation section of the degree of difference between the second and third frames approximated by the approximation formula including the sine function is a pattern peculiar to the transition part as shown in FIG. It is expected to be.
【0176】この結果前記検出部は、ステップF8で、
ステップF7の判定処理によって、条件式59〜65が
全て成立したか否かを判断する。全ての条件式59〜6
5が成立した場合、前記観測区間において、トランジシ
ョン効果が生じていると判断される。この場合ステップ
F8からステップF9に進み、制御回路60は、場面転
換フラグFcに「TRUE」をセットして、ステップF
11で当該フローチャートの処理動作を終了する。As a result, the detecting section, in step F8,
By the determination process of step F7, it is determined whether or not all conditional expressions 59 to 65 are satisfied. All conditional expressions 59-6
When 5 is satisfied, it is determined that the transition effect is occurring in the observation section. In this case, the process proceeds from step F8 to step F9, and the control circuit 60 sets the scene change flag Fc to "TRUE", and then the step F
At 11, the processing operation of the flowchart ends.
【0177】また条件式59〜65のうちの少なくとも
1つが成立しない場合、前記観測区間においてトランジ
ション効果は生じていないと判断される。この場合、ス
テップF8からステップF10に進み、カウンタiに1
加算して更新する。この結果前記観測区間が1フレーム
分広がる。更新後、ステップF10からステップF3に
戻る。ステップF3〜F10の動作は、ステップF8で
トランジション効果が検出されるまで、繰返される。When at least one of the conditional expressions 59 to 65 is not satisfied, it is determined that the transition effect does not occur in the observation section. In this case, the process proceeds from step F8 to step F10 and the counter i is incremented by 1.
Add and update. As a result, the observation section is expanded by one frame. After updating, the process returns from step F10 to step F3. The operations of steps F3 to F10 are repeated until the transition effect is detected in step F8.
【0178】またステップF4の簡易形状チェックにお
いて、条件式35〜37のうちの少なくとも1つが成立
しない場合、前記観測区間のフレームの第2および第3
フレーム間相違度の変化パターンが凸状になっていない
と予想される。この場合ステップF4からステップF1
0を経て、ステップF3に戻る。ステップF3におい
て、カウンタiの値が、最大定数imax以上になった
場合、ステップF3からステップF11に進み、当該フ
ローチャートの処理動作を終了する。この場合場面転換
フラグFcは、「FALSE」のまま保たれている。Further, in the simple shape check of step F4, if at least one of the conditional expressions 35 to 37 is not satisfied, the second and third frames of the observation section are satisfied.
It is expected that the change pattern of the dissimilarity between frames is not convex. In this case, steps F4 to F1
After 0, the process returns to step F3. When the value of the counter i becomes equal to or larger than the maximum constant imax in step F3, the process proceeds from step F3 to step F11, and the processing operation of the flowchart is finished. In this case, the scene change flag Fc is kept as "FALSE".
【0179】以上のように第5転換部検出装置の前記特
徴形状検出部は、観測期間内の第2および第3フレーム
間相違度の変化パターンを、正弦関数を含む関数によっ
て近似している。余弦波は、位相を遅らせたまたは進め
た正弦波に置換えることができる。この結果、フレーム
に重畳されるノイズ、または単一ショットの撮影時にカ
メラと被写体との位置関係が大きく変化したことに起因
して相違度が変動する場合、前記特徴形状検出部は前記
相違度の変動に対してロバストに、トランジション効果
を用いた場面転換が生じているか否かを判断することが
できる。As described above, the characteristic shape detection unit of the fifth conversion unit detection apparatus approximates the change pattern of the degree of difference between the second and third frames within the observation period by a function including a sine function. The cosine wave can be replaced with a sine wave that is delayed or advanced in phase. As a result, when the dissimilarity changes due to noise superimposed on the frame or a large change in the positional relationship between the camera and the subject at the time of shooting a single shot, the feature shape detection unit It is possible to judge robustly against a change whether or not a scene change using a transition effect has occurred.
【0180】図20の検出処理において、ステップF5
で上述のような時系列データ群DL2,DL3を作成す
る理由は、以下のとおりである。一般的に、FFTを施
すデータ群は、該FFTの詳細な計算手法に基づき、2
のべき乗個のデータ要素を含むことが好ましい。またF
FTの結果得られる複素数データは、元の時系列データ
群のグラフを示すフーリエ関数の直流成分、1周期目の
周波数成分、2周忌目の周波数成分、…、N−1周期目
の周波数成分のゲイン、すなわち前記時系列データ群の
各周波数成分のゲインを示す。このため1周期の整数倍
の正弦波または余弦波に相当するデータ群にFFTが施
された場合、データ群の周期に対応する部分の周波数成
分のゲインだけが大きくなる。In the detection process of FIG. 20, step F5
The reason for creating the time series data groups DL2 and DL3 as described above is as follows. Generally, the data group to which FFT is applied is based on a detailed calculation method of the FFT.
It is preferred to include a power of n data elements. Also F
The complex number data obtained as a result of the FT is the DC component of the Fourier function showing the graph of the original time series data group, the frequency component of the first cycle, the frequency component of the second round, ... The gain, that is, the gain of each frequency component of the time series data group is shown. Therefore, when FFT is applied to a data group corresponding to a sine wave or a cosine wave that is an integral multiple of one cycle, only the gain of the frequency component of the portion corresponding to the cycle of the data group increases.
【0181】本実施の形態において、観測区間の全フレ
ームの第2および第3フレーム間相違度に基づいて得よ
うとしている波形は、図18,19に示すように、正弦
波の半周期分の部分、および余弦波の4分の1周期分の
部分である。また前記観測区間の全フレームの第2およ
び第3フレーム間相違度の数は、必ずしも2のべき乗と
は限らない。これらのことに基づき、観測区間の全フレ
ームの第2および第3フレーム間相違度に直接FFTが
施された場合、得られる複素数データ群に該第2および
第3フレーム間相違度の変化パターンの形状特徴がはっ
きりと現れないため、該変化パターンの形状判定が困難
になる。In the present embodiment, the waveform to be obtained based on the degree of difference between the second and third frames of all the frames in the observation section is the half cycle of the sine wave as shown in FIGS. And a part for a quarter cycle of the cosine wave. Further, the number of degrees of difference between the second and third frames of all the frames in the observation section is not necessarily a power of two. Based on these facts, when the FFT is directly applied to the second and third frame dissimilarities of all the frames in the observation section, the obtained complex number data group is subjected to the change pattern of the second and third frame dissimilarities. Since the shape feature does not appear clearly, it becomes difficult to determine the shape of the change pattern.
【0182】このため図20で説明したように、前記検
出部は、前記観測区間の全フレームの第2および第3フ
レーム間相違度と式50〜52,53〜57に基づいて
第1および第2時系列データ群を作成し、該第1および
第2時系列データ群にFFTを施す。この結果観測区間
がトランジション部分であれば、第1および第2時系列
データが正弦波および余弦波の1周期分のデータにな
る。ゆえに前記検出部は、式59〜64に示したよう
に、第1および第2複素数データが正弦波および余弦波
の1周期分のデータにFFTを施して得られる演算結果
に近いか否かを調べることによって、前記観測区間がト
ランジション部分であるかどうかを、容易に判断するこ
とができるのである。以上が時系列データの作成の理由
と、ステップF7の判定によってトランジション効果の
判断が可能な理由との説明である。For this reason, as described with reference to FIG. 20, the detection unit determines the first and the first based on the difference degrees between the second and third frames of all the frames of the observation section and the equations 50 to 52 and 53 to 57. Two time series data groups are created, and FFT is applied to the first and second time series data groups. As a result, if the observation section is the transition part, the first and second time series data become data for one cycle of the sine wave and the cosine wave. Therefore, the detecting unit determines whether the first and second complex number data are close to the calculation result obtained by performing the FFT on the data of one cycle of the sine wave and the cosine wave, as shown in Expressions 59 to 64. By investigating, it is possible to easily determine whether or not the observation section is a transition part. The above is the reason why the time series data is created and the reason why the transition effect can be determined by the determination in step F7.
【0183】第1〜第5の実施の形態で用いる各種の定
数のオーダを、以下に説明する。この説明は、以下のよ
うに定義して行う。形態変換後のフレームのデータ内の
各画素データセットがいわゆるRGBデータであるとす
る。すなわち各画素データセット(R,G,B)は、
赤、緑、および青の輝度をそれぞれ示す3つのデータ
R,G,Bから構成され、かつ、各データはそれぞれ0
以上Imax以下の値を取るとする。また1枚のフレー
ムがmmax個の領域に分割されているとする。さらに
画素データセット(R1,G1,B1),(R2,G
2,B2)をそれぞれ有する2つの画素の色間距離dは
以下の式66で定義されるものとする。The order of various constants used in the first to fifth embodiments will be described below. This description is defined as follows. It is assumed that each pixel data set in the frame data after the form conversion is so-called RGB data. That is, each pixel data set (R, G, B) is
It is composed of three data R, G, and B indicating the brightness of red, green, and blue, and each data is 0.
It is assumed that the value is Imax or less. Further, it is assumed that one frame is divided into mmax areas. Furthermore, pixel data sets (R1, G1, B1), (R2, G
2, B2), the inter-color distance d between two pixels is defined by the following equation 66.
【0184】
d=|R1−R2|+|G1−G2|+|B1−B2| …(66)
2枚のフレームのうちの一方のフレーム内のi番目の領
域内の全ての画素の画素データセット(R1,G1,B
1)が(0,0,0)であり、該2枚のフレームのうち
の他方のフレーム内のi番目の領域内の全ての画素の画
素データセット(R2,G2,B2)が(Imax,I
max,Imax)である場合、式67で示すように、
これら2つの領域の相違度Diが最大になる。「Si」
は、前記i番目の領域内の面積、すなわち該領域内の画
素の数である。2枚のフレーム内の全ての各領域の相違
度Diがそれぞれ最大である場合、式68に示すよう
に、2枚のフレームのフレーム間相違度Dが最大値Dm
axになる。「SF」は、フレームの面積を示し、該フ
レーム内の全ての領域の面積の和と等しい。D = | R1-R2 | + | G1-G2 | + | B1-B2 | (66) Pixel data of all pixels in the i-th region in one of the two frames Set (R1, G1, B
1) is (0, 0, 0), and the pixel data set (R2, G2, B2) of all the pixels in the i-th area in the other frame of the two frames is (Imax, I
max, Imax), as shown in Equation 67,
The difference Di between these two areas is maximized. "Si"
Is the area in the i-th region, that is, the number of pixels in the region. When the dissimilarity Di of all the regions in the two frames is the maximum, the inter-frame dissimilarity D of the two frames is the maximum value Dm as shown in Expression 68.
It becomes ax. “SF” indicates the area of the frame and is equal to the sum of the areas of all the regions in the frame.
【0185】
前記RGBデータの最大値Imaxとフレームの面積S
Fとは、それぞれ画素の階調数および動画のサイズに依
存する。ゆえに、式69に示すように、前記フレーム間
相違度の最大値Dmaxを正規化する。さらに本実施の
形態で用いられる各種のパラメータを、前記フレーム間
相違度の最大値Dmaxの正規化に合わせて、それぞれ
正規化する。[0185] The maximum value Imax of the RGB data and the area S of the frame
F depends on the number of gradations of a pixel and the size of a moving image, respectively. Therefore, as shown in Expression 69, the maximum value Dmax of the inter-frame dissimilarity is normalized. Further, various parameters used in the present embodiment are respectively normalized in accordance with the normalization of the maximum value Dmax of the inter-frame difference degree.
【0186】
DmaxA=Dmax÷(3Imax×SF)=1.0 …(69)
前記フレーム間相違度の正規化後の最大値のDmaxA
に対応するパラメータ、すなわち該最大値DmaxA=
1の場合の正規化後のパラメータは、以下のとおりであ
る。カット点検出用閾値TCは0.02以上0.04以
下の値である。第1の実施の形態の図7のステップA1
1におけるトランジション部分検出用の条件式内の閾値
TL2,TL3は、それぞれ0.02である。第4およ
び第5の実施の形態の図17,20のステップE5,F
4における簡易形状チェックの閾値THL2,THL3
は、それぞれ0.02である。第4の実施の形態の図1
7のステップE10における放物線の形状判定時の誤差
ベクトルの閾値TEは0.006である。なお前記閾値
TEは、サンプル数によって変化するので、平均値を示
している。第5の実施の形態の図20のステップF4に
おけるFFTの結果判定時の閾値TL,THは、それぞ
れ0.02である。DmaxA = Dmax ÷ (3Imax × SF) = 1.0 (69) The maximum value DmaxA after normalization of the inter-frame dissimilarity
Parameter corresponding to the maximum value DmaxA =
The parameters after normalization in the case of 1 are as follows. The cut point detection threshold value TC is a value of 0.02 or more and 0.04 or less. Step A1 of FIG. 7 of the first embodiment
The thresholds TL2 and TL3 in the conditional expression for detecting the transition part in 1 are 0.02, respectively. Steps E5 and F of FIGS. 17 and 20 of the fourth and fifth embodiments.
Simple shape check thresholds THL2 and THL3 in No. 4
Are 0.02 respectively. FIG. 1 of the fourth embodiment
The threshold value TE of the error vector when determining the shape of the parabola in step E10 of 7 is 0.006. The threshold value TE is an average value because it changes depending on the number of samples. The thresholds TL and TH at the time of the FFT result determination in step F4 of FIG. 20 of the fifth embodiment are 0.02, respectively.
【0187】第1〜第5の実施の形態の動画場面転換部
検出装置は、本発明の動画場面転換部検出装置の例示で
あり、主要な動作が等しければ、他の様々な形で実施す
ることができる。特に各部の詳細な動作は、同じ処理結
果が得られれば、これに限らず他の動作によって実現さ
れてもよい。また第2〜第4の実施の形態の動画場面転
換部検出装置、または第2,第3および第5の実施の形
態の動画場面転換部検出装置を適宜組合わせて、新たな
動画場面転換部検出装置としてもよい。[0187] The moving picture scene change unit detection devices of the first to fifth embodiments are examples of the moving picture scene change unit detection device of the present invention, and if the main operations are the same, they are carried out in various other forms. be able to. In particular, the detailed operation of each unit is not limited to this and may be realized by other operations as long as the same processing result is obtained. In addition, a new moving picture scene changing unit is provided by appropriately combining the moving picture scene changing unit detection devices of the second to fourth embodiments or the moving picture scene changing unit detection devices of the second, third and fifth embodiments. It may be a detection device.
【0188】さらに、これら動画場面転換部検出装置
は、上述した動画内の場面転換部の検出動作を中央演算
処理回路に行わせるためのソフトウエアをコンピュータ
によって読出し可能な記憶媒体に記憶させ、このソフト
ウエアを動画の入力と記憶とが可能なコンピュータにイ
ンストールすることによって実現してもよい。この記憶
媒体には、CD−ROMおよびフロッピーディスクが挙
げられる。Further, these moving image scene changing portion detecting devices store software for causing the central processing circuit to perform the above-described detecting operation of the scene changing portion in the moving image in a computer readable storage medium. It may be realized by installing the software on a computer capable of inputting and storing a moving image. This storage medium includes a CD-ROM and a floppy disk.
【0189】また第5ならびに第4の実施の形態におい
て、トランジション部分の検出のために、第2および第
3フレーム間相違度の変化パターンを、3角関数を含む
関数ならびに2次関数によって、それぞれ近似してい
る。前記変化パターンは、これらの関数に限らず、他の
数式によって近似されてもよい。この際、3角関数を含
む関数、ならびに2次関数は、グラフに凸部が含まれ、
かつ該凸部の中心、幅、位置、高さなどを示すパラメー
タを容易に抽出することができる。ゆえに、3角関数を
含む関数ならびに2次関数が前記近似に用いられる場
合、変化パターンの近似および形状判定が容易になるの
で、好ましい。Further, in the fifth and fourth embodiments, in order to detect the transition portion, the change patterns of the second and third frame dissimilarities are respectively determined by a function including a triangular function and a quadratic function. It is close. The change pattern is not limited to these functions and may be approximated by other mathematical expressions. At this time, the function including the trigonometric function and the quadratic function include the convex portion in the graph,
Moreover, the parameters indicating the center, width, position, height, etc. of the convex portion can be easily extracted. Therefore, when a function including a trigonometric function and a quadratic function are used for the approximation, approximation of the change pattern and shape determination are facilitated, which is preferable.
【0190】本発明の動画場面転換部検出装置の応用例
を、以下に説明する。図21は、本発明の動画場面転換
部検出装置を含む動画速見装置32の機能的構成を示す
ブロック図である。動画速見装置32は、動画記憶部3
4と動画再生部35とを含む。動画記憶部34および動
画再生部35は、動画が記憶可能な媒体37を、着脱自
由にそれぞれ取付け可能である。動画記憶部34は、第
1〜第5の実施の形態の動画場面転換部検出装置のうち
のいずれか1つの装置(以後、「転換部検出装置」と略
称する)31の他に、動画記録制御部40、検出タイム
コード記憶部41、タイムコード表記憶制御部42を含
む。動画再生部35は、動画読出し部43、動画表示制
御部44、表示部45、タイムコード表読出し部46、
読出しタイムコード記憶部47、速見動画作成部48、
速見動画記憶部49とを含む。An application example of the moving picture / scene changing portion detecting apparatus of the present invention will be described below. FIG. 21 is a block diagram showing a functional configuration of a moving image quick-viewing device 32 including the moving image scene changing portion detecting device of the present invention. The moving image watching device 32 is provided in the moving image storage unit 3.
4 and the moving image reproducing unit 35. The moving image storage unit 34 and the moving image reproducing unit 35 can be detachably attached with a medium 37 capable of storing moving images. The moving image storage unit 34 stores a moving image in addition to any one device (hereinafter, referred to as “converting unit detection device”) 31 of the moving image scene change unit detection devices of the first to fifth embodiments. The control unit 40, the detected time code storage unit 41, and the time code table storage control unit 42 are included. The moving image reproducing unit 35 includes a moving image reading unit 43, a moving image display control unit 44, a display unit 45, a time code table reading unit 46,
A read time code storage unit 47, a quick-view moving image creation unit 48,
The quick-view moving image storage unit 49 is included.
【0191】処理対象となる動画、すなわち対象動画
は、前述の図22で説明したものと等しい。このような
対象動画の各フレームを示すデータが、時間経過に伴っ
て順次的に、動画速見装置32に入力される。なお動画
速見装置内で対象動画、および該動画内の各フレームは
データの形態で取扱われるが、以後の説明では取扱われ
る形態に拘わらず、「対象動画」,「フレーム」と称す
る。The moving image to be processed, that is, the target moving image is the same as that described in FIG. Data indicating each frame of such a target moving image is sequentially input to the moving image quick-reading device 32 as time passes. Although the target moving image and each frame in the moving image are handled in the form of data in the moving image watching device, they are referred to as “target moving image” and “frame” in the following description regardless of the handled form.
【0192】前記対象動画の入力に先立って、動画記憶
部33に媒体37が装着される。動画記録制御部40
は、順次的に入力される前記対象動画内の各フレーム
を、予め定める記憶形式で、逐次媒体37に記憶させ
る。転換部検出装置31は、順次入力される前記対象画
像の各フレームにそれぞれ基づき、該対象動画内の場面
転換部を逐次検出する。検出タイムコード記憶部41
は、転換部検出装置31によって場面転換部が検出され
るたびに、該場面転換部内のフレーム、または該画面転
換部に近接するフレームの前記対象動画内における発生
タイミングを示すタイムコードを、逐次記憶する。この
結果検出タイムコード記憶部41は、転換部検出装置3
1が前記対象動画の先頭から末尾までの全てのフレーム
を処理し終えた時点で、該対象動画内から検出された全
ての場面転換部のタイムコードを、たとえば表形式で記
憶する。前記全ての場面転換部のタイムコードの集合
を、タイムコード表と称する。タイムコード表記録制御
部42は、1つの前記対象動画を構成する全てのフレー
ムが媒体37に記憶された後、該媒体37に前記タイム
コード表を記憶させる。記憶後、媒体37が動画記憶部
33から取外される。Prior to the input of the target moving image, the medium 37 is attached to the moving image storage section 33. Video recording controller 40
Causes the sequentially input frames in the target moving image to be sequentially stored in the medium 37 in a predetermined storage format. The conversion unit detection device 31 sequentially detects a scene conversion unit in the target moving image based on each frame of the target image that is sequentially input. Detection time code storage unit 41
Every time the scene changing unit is detected by the changing unit detecting device 31, a time code indicating the timing of occurrence of a frame in the scene changing unit or a frame close to the screen changing unit in the target moving image is sequentially stored. To do. As a result, the detected time code storage unit 41 includes the conversion unit detection device 3
When 1 finishes processing all the frames from the beginning to the end of the target moving image, the time codes of all the scene change parts detected from the target moving image are stored in, for example, a table format. A set of time codes of all the scene change parts is called a time code table. The time code table recording control unit 42 stores the time code table in the medium 37 after all the frames forming one target moving image are stored in the medium 37. After the storage, the medium 37 is removed from the moving image storage unit 33.
【0193】動画再生部34は、媒体37に記憶された
対象動画の再生と、該対象動画の速見とを行う。前記対
象動画の速見は、該対象動画の内容を操作者に容易に把
握させるために、前記対象動画内の各ショット内から少
なくとも1枚のフレームをそれぞれ抽出して表示する処
理である。前記対象動画の再生および速見に先立ち、前
記対象動画およびタイムコード表が記憶された媒体37
が、動画再生部34に装着される。The moving picture reproducing section 34 reproduces the target moving picture stored in the medium 37 and has a quick look at the target moving picture. The quick view of the target moving image is a process of extracting and displaying at least one frame from each shot in the target moving image so that the operator can easily understand the content of the target moving image. A medium 37 in which the target moving image and the time code table are stored prior to the reproduction and the quick-view of the target moving image.
Is attached to the moving image reproducing unit 34.
【0194】前記対象動画が再生される場合、媒体装着
後、動画読出し部43は、媒体37から前記対象動画を
読出し、動画表示制御部44に与える。動画表示制御部
44は、与えられた前記対象動画の各フレームを、前記
表示順で時間経過に伴って順次的に、表示可能なデータ
形式で表示部45に与え、表示させる。この結果前記対
象動画が表示部45に表示される。When the target moving image is reproduced, after loading the medium, the moving image reading unit 43 reads the target moving image from the medium 37 and gives it to the moving image display control unit 44. The moving image display control unit 44 sequentially gives each frame of the given target moving image to the display unit 45 in the display order in a displayable data format with the lapse of time to display the frames. As a result, the target moving image is displayed on the display unit 45.
【0195】前記対象動画の速見が行われる場合、媒体
装着後、タイムコード表読出し部46は、媒体37から
前記対象動画のタイムコード表を読出し、読出しタイム
コード記憶部47に記憶させる。速見動画作成部48
は、読出しタイムコード記憶部47内のタイムコード表
に基づき、前記対象動画の各ショット内から少なくとも
1枚のフレームをそれぞれ選択し、選択した全てのフレ
ームを、動画読出し部43によって媒体37から読出さ
せる。たとえ速見動画作成部48は、前記対象動画内
の、前記タイムコード表内の全てのタイムコードがそれ
ぞれ示す全てのフレームを、媒体37から読出させる。
読出された全てのフレームは、動画読出し部43から速
見動画作成部48に与えられる。フレーム入手後、速見
動画作成部48は、与えられた各フレームを、そのまま
の形状で、速見動画記憶部49にそれぞれ記憶させる。
記憶後、速見動画作成部48は、動画表示制御部44
に、速見動画記憶部49内の全てのフレームを、前記対
象動画内の表示順が早いものから順に、予め定める時間
間隔で、時間経過に伴い順次的に、表示部45に表示さ
せる。この結果表示部45に、前記対象動画の早回しに
相当する速見動画が表示される。媒体37は、たとえば
VTRテープまたは光ディスクで実現される。媒体37
が光ディスクである場合、光ディスクへのアクセスは一
般的にきわめて速いので、読出したフレームをそのまま
速見動画記憶部に記憶させてもよい。When the target moving image is previewed, the time code table reading unit 46 reads the time code table of the target moving image from the medium 37 and stores it in the read time code storage unit 47 after the medium is loaded. Quick-view movie creation section 48
Selects at least one frame from each shot of the target moving image based on the time code table in the read time code storage unit 47, and reads all selected frames from the medium 37 by the moving image reading unit 43. Let For example, the quick-view moving image creating unit 48 causes the medium 37 to read all the frames indicated by all the time codes in the time code table in the target moving image.
All the read frames are given from the moving image reading unit 43 to the quick-view moving image creating unit 48. After obtaining the frames, the quick-view moving image creating section 48 stores the given frames in the quick-view moving image storage section 49 in the same shape.
After the storage, the quick-view video creating unit 48 displays the video display control unit 44.
First, all the frames in the quick-view moving image storage unit 49 are sequentially displayed on the display unit 45 with a predetermined time interval in order from the earliest display order in the target moving image at predetermined time intervals. As a result, the result display unit 45 displays the quick-view moving image corresponding to the fast-forwarding of the target moving image. The medium 37 is realized by, for example, a VTR tape or an optical disc. Medium 37
If the optical disc is an optical disc, access to the optical disc is generally extremely fast, and thus the read frame may be stored in the quick-view moving image storage unit as it is.
【0196】また速見動画作成部48は、前記フレーム
入手後、与えられた全てのフレームをそれぞれ縮小し、
縮小後の全てのフレームを合成して、一覧用のフレーム
を作成し、該フレームを速見動画記憶部49に記憶させ
てもよい。この場合速見動画作成部48は、フレーム記
憶後、動画表示制御部44に、速見動画記憶部49内の
前記一覧用のフレームを、予め定める期間内に、表示部
45に表示させ続ける。また前記一覧用のフレームが複
数枚作成された場合、各一覧用のフレームを、予め定め
る期間ずつ、順次的にそれぞれ表示させ続ける。この結
果表示部45に、前記対象動画の各ショットの一覧に相
当する一覧動画が、表示される。なおこの場合、前記一
覧動画は、視聴者から見て、静止画に見える。Further, the quick-view moving image creating section 48 reduces all of the given frames after obtaining the frames,
All the frames after the reduction may be combined to create a frame for a list, and the frames may be stored in the quick-view moving image storage unit 49. In this case, after the frames are stored, the quick-view moving image creating unit 48 causes the moving image display control unit 44 to continue to display the list frames in the quick-view moving image storage unit 49 on the display unit 45 within a predetermined period. In addition, when a plurality of frames for the list are created, the frames for each list are sequentially displayed for a predetermined period. A list moving image corresponding to the list of each shot of the target moving image is displayed on the result display unit 45. In this case, the list moving image looks like a still image to the viewer.
【0197】このように本発明の転換部検出装置31を
用いた動画速見装置32は、前記対象動画内の各ショッ
トからそれぞれ少なくとも1枚ずつ抽出されたフレーム
を用いて、該対象動画の速見動画および一覧動画を作成
する。これに対し、一般的に従来技術の動画速見装置
は、ショットに拘わりなく、予め定める枚数おきに抽出
されたフレームを用いて、の速見動画および一覧動画を
作成している。この結果操作者は、本実施の形態の動画
速見装置32によって生成された速見動画および一覧動
画を目視した場合のほうが、従来技術の動画速見装置に
よって生成された速見動画および一覧動画を目視する場
合よりも、対象動画の内容を確実かつ容易に把握するこ
とができる。これによって本実施の形態の動画速見装置
32は、従来技術の動画速見装置よりも、操作者に、前
記対象動画の内容を、素早く把握させることができる。
また本実施の形態の動画速見装置は、前記対象動画内の
操作者が所望のショットを、操作者に容易に検索させる
ことができる。As described above, the moving image watching device 32 using the conversion unit detecting device 31 of the present invention uses at least one frame extracted from each shot in the target moving image to obtain a quick moving image of the target moving image. And create a list video. On the other hand, in general, the prior art moving image watching device creates a quick watching movie and a list moving image using frames extracted every predetermined number of shots regardless of shots. As a result, when the operator views the quick-view moving images and the list moving images generated by the moving-picture watching device 32 according to the present embodiment, the operator sees the quick-view moving images and the list moving images generated by the conventional moving-picture watching device. Rather, the content of the target moving image can be grasped reliably and easily. As a result, the moving image watching device 32 of the present embodiment allows the operator to quickly grasp the content of the target moving image, as compared with the moving image watching device of the related art.
In addition, the moving image viewing device of the present embodiment allows the operator to easily search for a desired shot in the target moving image by the operator.
【0198】またたとえば本発明の転換部検出装置は、
前記対象動画の編集のための動画編集装置に用いられて
もよい。この場合前記動画編集装置は、対象動画の編集
に先立ち、前記転換部検出装置の検出結果に基づいて該
対象動画内のショットを容易に把握することができるの
で、該編集をショット単位で行うことができる。この結
果前記動画編集装置は、対象動画を効率的に編集するこ
とができる。Further, for example, the conversion portion detecting device of the present invention is
It may be used in a moving image editing apparatus for editing the target moving image. In this case, the moving image editing apparatus can easily grasp the shots in the target moving image based on the detection result of the conversion unit detection device before editing the target moving image. You can As a result, the moving image editing apparatus can efficiently edit the target moving image.
【0199】さらにまたたとえば本発明の転換部検出装
置は、前記対象動画を符号化するための動画符号化装置
に用いられてもよい。一般的に、動画の符号化に際し、
該動画内のカット点前後のフレームは相違度が大きいた
めに符号量が増大しやすく、また該動画内のディゾルブ
効果を用いたトランジション部分内のフレームは動き予
測が困難になるので符号量が増加しやすい。この場合前
記動画符号化装置は、対象動画の符号化に先立ち、前記
転換部検出装置の検出結果に基づいて該対象動画内のシ
ョットを容易に把握することができるので、符号化前に
カット点およびトランジション部分を検出して、該部分
の符号量を抑制するための適切な処理を施すことができ
る。この結果前記動画符号化装置は、符号化後の対象画
像の符号量を抑制することができる。Furthermore, for example, the conversion unit detecting device of the present invention may be used in a moving picture coding apparatus for coding the target moving picture. Generally, when encoding video,
Since the difference between the frames before and after the cut point in the moving image is large, the code amount is likely to increase, and the frame in the transition portion using the dissolve effect in the moving image has difficulty in motion prediction, so the code amount is increased. It's easy to do. In this case, the moving picture coding apparatus can easily grasp the shots in the target moving picture based on the detection result of the conversion unit detecting apparatus before the coding of the target moving picture. Also, it is possible to detect the transition portion and perform appropriate processing for suppressing the code amount of the portion. As a result, the moving picture coding apparatus can suppress the code amount of the target image after coding.
【0200】このように本発明の動画場面転換部検出装
置は、上述した対象動画に対する各種の処理に限らず、
対象動画に対するどのような処理のための装置に用いら
れても良い。この結果対象画像に対する処理を行う際
に、該対象画像のショットを考慮することができるの
で、処理を適確に行うことができる。As described above, the moving picture scene change unit detecting apparatus of the present invention is not limited to the above-described various processes for the target moving picture,
It may be used in a device for any processing on a target moving image. As a result, the shot of the target image can be taken into consideration when performing the process on the target image, so that the process can be performed accurately.
【0201】[0201]
【発明の効果】以上のように第1の発明によれば、動画
場面転換部検出装置は、動画内のフレームの複数の各離
反フレーム間相違度の、該フレームの表示順に基づく変
化の特性を検出し、該特性に基づいて、前記動画内から
トランジション効果を用いた場面転換部を検出する。こ
の結果前記装置は、トランジション効果の種類に拘わり
なく、動画内から前記場面転換部を、精度良く検出する
ことができる。また前記動画場面転換部検出装置は、前
記各フレームの離反フレーム間相違度を、該各フレーム
を分割したものである複数の領域の代表色およびその出
現頻度に基づいて計算する。この結果前記動画場面転換
部検出装置は、前記場面転換部の検出精度を、さらに向
上させることができる。As described above, according to the first aspect of the present invention, the moving picture scene change unit detection apparatus determines the characteristic of the change in the dissimilarity between the plurality of separated frames of the frames in the moving picture based on the display order of the frames. Then, based on the characteristic, the scene change part using the transition effect is detected in the moving image. As a result, the device can accurately detect the scene change part in the moving image regardless of the type of transition effect. Further, the moving picture scene change unit detection device calculates the dissimilarity between separated frames of each frame based on the representative colors of a plurality of regions obtained by dividing each frame and the appearance frequencies thereof. As a result, the moving image scene change unit detection device can further improve the detection accuracy of the scene change unit.
【0202】また第2の発明によれば、動画場面転換部
検出装置は、動画内のフレームの複数の各離反フレーム
間相違度の、該フレームの表示順に基づく変化の特性を
検出し、該特性に基づいて、前記動画内からトランジシ
ョン効果を用いた場面転換部を検出する。この結果前記
装置は、トランジション効果の種類に拘わりなく、動画
内から前記場面転換部を、精度良く検出することができ
る。また前記動画場面転換部検出装置は、前記特性とし
て、各離反フレーム間相違度の変化パターンと複数の基
準パターンとの比較結果を出力する。すなわち前記動画
場面転換部検出装置は、前記複数の離反フレーム間相違
度の変化パターンに基づき、前記動画から前記場面転換
部を容易に検出することができる。According to the second aspect of the invention, the moving picture scene change unit detecting device detects the characteristic of the change in the dissimilarity between the plurality of separated frames of the frame in the moving picture based on the display order of the frame, and the characteristic is detected. Based on the above, the scene change part using the transition effect is detected in the moving image. As a result, the device can accurately detect the scene change part in the moving image regardless of the type of transition effect. Further, the moving picture scene change unit detection device outputs, as the characteristic, a comparison result of the change pattern of the dissimilarity between separated frames and a plurality of reference patterns. That is, the moving picture scene change unit detection device can easily detect the scene change section from the moving picture based on the change patterns of the dissimilarity degrees between the separated frames.
【0203】また第3の発明によれば、動画場面転換部
検出装置は、動画内のフレームの複数の各離反フレーム
間相違度の、該フレームの表示順に基づく変化の特性を
検出し、該特性に基づいて、前記動画内からトランジシ
ョン効果を用いた場面転換部を検出する。この結果前記
装置は、トランジション効果の種類に拘わりなく、動画
内から前記場面転換部を、精度良く検出することができ
る。また動画場面転換部検出装置は、前記各離反フレー
ム間相違度の変化パターンを近似する近似式を求め、該
近似式に基づいて前記変化パターンと基準パターンとの
比較結果を求める。この結果前記動画場面転換部検出装
置は、前記場面転換部の検出精度を、さらに向上させる
ことができる。さらに第4および第5の発明によれば、
前記近似式は、2次関数または三角関数を含む関数であ
る。この結果前記動画場面転換部検出装置は、前記各変
化パターンと前記各基準パターンとの比較を、容易に行
うことができる。According to the third aspect of the invention, the moving picture scene change unit detecting apparatus detects the characteristic of the change in the dissimilarity between the plurality of separated frames of the frame in the moving picture based on the display order of the frame, and the characteristic is detected. Based on the above, the scene change part using the transition effect is detected in the moving image. As a result, the device can accurately detect the scene change part in the moving image regardless of the type of transition effect. Further, the moving image scene change unit detection device obtains an approximate expression that approximates the change pattern of the dissimilarity degrees between the separated frames, and obtains a comparison result of the change pattern and the reference pattern based on the approximate expression. As a result, the moving image scene change unit detection device can further improve the detection accuracy of the scene change unit. Further, according to the fourth and fifth inventions,
The approximate expression is a function including a quadratic function or a trigonometric function. As a result, the moving picture / scene changing unit detection apparatus can easily compare the change patterns with the reference patterns.
【0204】また第6の発明によれば、動画場面転換部
検出装置は、動画内のフレームの複数の各離反フレーム
間相違度の、該フレームの表示順に基づく変化の特性を
検出し、該特性に基づいて、前記動画内からトランジシ
ョン効果を用いた場面転換部を検出する。この結果前記
装置は、トランジション効果の種類に拘わりなく、動画
内から前記場面転換部を、精度良く検出することができ
る。また前記動画場面転換部検出装置は、動画内の各フ
レームの隣接フレーム間相違度に基づき、動画内のカッ
ト点をさらに検出し、かつ、前記各隣接フレーム相違度
を、動画内の各ショットの撮影時のカメラおよび被写体
の動きに起因する成分が小さくなるように、補正する。
この結果前記動画場面転換部検出装置は、トランジショ
ン効果を用いた場面転換部に加えて、カット点である場
面転換部も検出することができ、かつ、カット点の検出
精度を向上させることができる。According to the sixth aspect of the present invention, the moving picture scene change unit detection device detects the characteristic of the change in the dissimilarity between a plurality of separated frames of the frame in the moving picture based on the display order of the frame, and the characteristic is detected. Based on the above, the scene change part using the transition effect is detected in the moving image. As a result, the device can accurately detect the scene change part in the moving image regardless of the type of transition effect. Further, the moving image scene change unit detection device further detects a cut point in the moving image based on the degree of difference between adjacent frames of each frame in the moving image, and determines each adjacent frame difference degree of each shot in the moving image. The correction is performed so that the component caused by the movement of the camera and the subject at the time of shooting is reduced.
As a result, the moving picture scene changer detection device can detect the scene changer that is the cut point in addition to the scene changer using the transition effect, and can improve the detection accuracy of the cut point. .
【0205】また第7の発明によれば、動画場面転換部
検出装置は、動画内のフレームの複数の各離反フレーム
間相違度の、該フレームの表示順に基づく変化の特性を
検出し、該特性に基づいて、前記動画内からトランジシ
ョン効果を用いた場面転換部を検出する。この結果前記
装置は、トランジション効果の種類に拘わりなく、動画
内から前記場面転換部を、精度良く検出することができ
る。また前記動画場面転換部検出装置は、動画内の各フ
レームの隣接フレーム間相違度に基づき、動画内のカッ
ト点をさらに検出し、さらに、動画内の各ショット内の
連続する2つのフレームの離散フレーム間相違度が前記
カット点検出用閾値以上であり、かつ該フレームを含み
連続する複数のフレームの離散フレーム間相違度が該閾
値以上である場合だけ、カット点があると判断する。こ
の結果前記動画場面転換部検出装置は、トランジション
効果を用いた場面転換部に加えて、カット点である場面
転換部も検出することができる。また前記装置は、フラ
ッシュの影響に起因するカット点の誤検出を防止するこ
とができるので、カット点の検出精度を向上させること
ができる。According to the seventh aspect of the invention, the moving picture scene change unit detecting device detects the characteristic of the change in the dissimilarity between a plurality of separated frames of the moving picture based on the display order of the frame, and Based on the above, the scene change part using the transition effect is detected in the moving image. As a result, the device can accurately detect the scene change part in the moving image regardless of the type of transition effect. Further, the moving image scene change unit detection device further detects a cut point in the moving image based on the degree of difference between adjacent frames of each frame in the moving image, and further, separates two consecutive frames in each shot in the moving image. It is determined that there is a cut point only when the inter-frame dissimilarity is equal to or higher than the cut point detection threshold value and the discrete inter-frame dissimilarity of a plurality of consecutive frames including the frame is equal to or higher than the threshold value. As a result, the moving image scene change unit detection device can detect a scene change unit that is a cut point, in addition to the scene change unit using the transition effect. Further, since the above device can prevent erroneous detection of the cut point due to the influence of the flash, it is possible to improve the detection accuracy of the cut point.
【0206】また第8の発明によれば、動画処理装置
は、前記第1〜第7の発明のうちのいずれかの動画場面
転換部検出装置を備え、該動画場面転換部検出装置の検
出結果に基づき、入力された動画を処理する。この結果
前記動画処理装置は、動画をショット単位で処理する場
合に、前記場面転換部の検出に要する負担を軽減し、か
つ動画の処理精度を向上することができる。According to an eighth aspect of the present invention, a moving picture processing device comprises the moving picture scene changing part detecting device according to any one of the first to seventh inventions, and the detection result of the moving picture scene changing part detecting device is obtained. The input moving image is processed based on. As a result, the moving image processing apparatus can reduce the load required to detect the scene change unit and improve the moving image processing accuracy when processing a moving image in shot units.
【0207】また第9の発明によれば、前記動画処理装
置は、前記検出結果に基づいて、前記動画内から複数の
フレームを抽出して、該フレームを順次表示する。さら
にまた第10の発明によれば、前記動画処理装置は、前
記検出結果に基づいて、前記動画内から複数のフレーム
を抽出し、該各フレームを縮小しかつ合成して、この結
果得られる合成フレームを、表示する。これらの結果、
前記動画処理装置の操作者は、元の動画の内容を、適確
かつ短時間に把握することができる。According to the ninth invention, the moving picture processing device extracts a plurality of frames from the moving picture based on the detection result and sequentially displays the frames. Still further, according to the tenth invention, the moving picture processing device extracts a plurality of frames from the moving picture based on the detection result, reduces and combines the respective frames, and the resultant combination is obtained. Display the frame. These results,
The operator of the moving picture processing device can grasp the content of the original moving picture in a proper and short time.
【0208】また第11の発明によれば、動画場面転換
部検出方法において、動画内のフレームの複数の各離反
フレーム間相違度の、該フレームの表示順に基づく変化
の特性を検出し、該特性に基づいて、前記動画内からト
ランジション効果を用いた場面転換部を検出する。この
結果前記方法が用いられる場合、トランジション効果の
種類に拘わりなく、動画内から前記場面転換部を、精度
良く検出することができる。また前記動画場面転換部検
出方法において、前記各フレームの離反フレーム間相違
度を、該各フレームを分割したものである複数の領域の
代表色およびその出現頻度に基づいて計算する。この結
果前記方法が用いられる場合、前記場面転換部の検出精
度を、さらに向上させることができる。また第12の発
明によれば、動画場面転換部検出方法において、動画内
のフレームの複数の各離反フレーム間相違度の、該フレ
ームの表示順に基づく変化の特性を検出し、該特性に基
づいて、前記動画内からトランジション効果を用いた場
面転換部を検出する。この結果前記方法が用いられる場
合、トランジション効果の種類に拘わりなく、動画内か
ら前記場面転換部を、精度良く検出することができる。
また前記動画場面転換部検出方法において、前記特性と
して、各離反フレーム間相違度の変化パターンと複数の
基準パターンとの比較結果を出力する。すなわち前記方
法が用いられる場合、前記複数の離反フレーム間相違度
の変化パターンに基づき、前記動画から前記場面転換部
を容易に検出することができる。また第13の発明によ
れば、動画場面転換部検出方法において、動画内のフレ
ームの複数の各離反フレーム間相違度の、該フレームの
表示順に基づく変化の特性を検出し、該特性に基づい
て、前記動画内からトランジション効果を用いた場面転
換部を検出する。この結果前記方法が用いられる場合、
トランジション効果の種類に拘わりなく、動画内から前
記場面転換部を、精度良く検出することができる。また
動画場面転換部検出方法は、前記各離反フレーム間相違
度の変化パターンを近似する近似式を求め、該近似式に
基づいて前記変化パターンと基準パターンとの比較結果
を求める。この結果前記方法が用いられる場合、前記場
面転換部の検出精度を、さらに向上させることができ
る。さらに第14および第15の発明によれば、前記近
似式は、2次関数または三角関数を含む関数である。こ
の結果前記方法が用いられる場合、前記各変化パターン
と前記各基準パターンとの比較を、容易に行うことがで
きる。また第16の発明によれば、動画場面転換部検出
方法において、動画内のフレームの複数の各離反フレー
ム間相違度の、該フレームの表示順に基づく変化の特性
を検出し、該特性に基づいて、前記動画内からトランジ
ション効果を用いた場面転換部を検出する。この結果前
記方法が用いられる場合、トランジション効果の種類に
拘わりなく、動画内から前記場面転換部を、精度良く検
出することができる。また前記動画場面転換部検出方法
において、動画内の各フレームの隣接フレーム間相違度
に基づき、動画内のカット点をさらに検出し、かつ、前
記各隣接フレーム相違度を、動画内の各ショットの撮影
時のカメラおよび被写体の動きに起因する成分が小さく
なるように、補正する。この結果前記方法が用いられる
場合、トランジション効果を用いた場面転換部に加え
て、カット点である場面転換部も検出することができ、
かつ、カット点の検出精度を向上させることができる。
また第17の発明によれば、動画場面転換部検出方法に
おいて、動画内のフレームの複数の各離反フレーム間相
違度の、該フレームの表示順に基づく変化の特性を検出
し、該特性に基づいて、前記動画内からトランジション
効果を用いた場面転換部を検出する。この結果前記方法
が用いられる場合、トランジション効果の種類に拘わり
なく、動画内から前記場面転換部を、精度良く検出する
ことができる。また前記動画場面転換部検出方法におい
て、動画内の各フレームの隣接フレーム間相違度に基づ
き、動画内のカット点をさらに検出し、さらに、動画内
の各ショット内の連続する2つのフレームの離散フレー
ム間相違度が前記カット点検出用閾値以上であり、かつ
該フレームを含み連続する複数のフレームの離散フレー
ム間相違度が該閾値以上である場合だけ、カット点があ
ると判断する。この結果前記方法が用いられる場合、ト
ランジション効果を用いた場面転換部に加えて、カット
点である場面転換部も検出することができる。また前記
方法において、フラッシュの影響に起因するカット点の
誤検出を防止することができるので、カット点の検出精
度を向上させることができる。According to the eleventh aspect of the present invention, in the moving image scene changing portion detecting method, the characteristic of the change in the dissimilarity between the plurality of separated frames of the frame in the moving image based on the display order of the frame is detected, and the characteristic is detected. Based on the above, the scene change part using the transition effect is detected in the moving image. As a result, when the method is used, it is possible to accurately detect the scene change part from the moving image regardless of the type of transition effect. Further, in the moving picture scene change portion detection method, the dissimilarity between separated frames of each frame is calculated based on the representative colors of a plurality of areas obtained by dividing each frame and the appearance frequencies thereof. As a result, when the method is used, the detection accuracy of the scene change unit can be further improved. Further, according to the twelfth invention, in the moving picture scene change part detecting method, a characteristic of a change in the dissimilarity between a plurality of separated frames of a frame in the moving picture based on the display order of the frame is detected, and based on the characteristic. , A scene change part using a transition effect is detected in the moving image. As a result, when the method is used, it is possible to accurately detect the scene change part from the moving image regardless of the type of transition effect.
Further, in the moving picture scene change portion detection method, as the characteristic, a comparison result of the change pattern of the dissimilarity between separated frames and a plurality of reference patterns is output. That is, when the method is used, the scene change part can be easily detected from the moving image based on the change patterns of the dissimilarity degrees between the separated frames. Further, according to the thirteenth invention, in the moving picture scene change part detecting method, the characteristic of the change in the dissimilarity between the plurality of separated frames of the frame in the moving picture is detected based on the display order of the frame, and based on the characteristic. , A scene change part using a transition effect is detected in the moving image. As a result, if the method is used,
Regardless of the type of transition effect, it is possible to accurately detect the scene change section from the moving image. In addition, the moving image scene change portion detection method obtains an approximate expression that approximates the change pattern of the dissimilarity degrees between the separated frames, and obtains the result of comparison between the change pattern and the reference pattern based on the approximate expression. As a result, when the method is used, the detection accuracy of the scene change unit can be further improved. Further, according to the fourteenth and fifteenth inventions, the approximate expression is a function including a quadratic function or a trigonometric function. As a result, when the method is used, the change patterns can be easily compared with the reference patterns. Further, according to the sixteenth invention, in the moving picture scene change part detecting method, the characteristic of the change in the dissimilarity between the plurality of separated frames of the moving picture based on the display order of the frames is detected, and based on the characteristic. , A scene change part using a transition effect is detected in the moving image. As a result, when the method is used, it is possible to accurately detect the scene change part from the moving image regardless of the type of transition effect. Further, in the moving image scene change detection method, based on the dissimilarity between adjacent frames of each frame in the moving image, the cut point in the moving image is further detected, and the adjacent frame dissimilarity is calculated for each shot in the moving image. The correction is performed so that the component caused by the movement of the camera and the subject at the time of shooting is reduced. As a result, when the method is used, it is possible to detect a scene change part that is a cut point in addition to the scene change part using the transition effect,
In addition, it is possible to improve the detection accuracy of the cut points.
Further, according to the seventeenth invention, in the moving picture scene change portion detecting method, a characteristic of a change in the dissimilarity between the plurality of separated frames of the moving picture based on the display order of the frames is detected, and based on the characteristic. , A scene change part using a transition effect is detected in the moving image. As a result, when the method is used, it is possible to accurately detect the scene change part from the moving image regardless of the type of transition effect. Further, in the moving picture scene change part detecting method, a cut point in the moving picture is further detected based on the degree of difference between adjacent frames of each frame in the moving picture, and further, two continuous frames in each shot in the moving picture are discretized. It is determined that there is a cut point only when the inter-frame dissimilarity is equal to or higher than the cut point detection threshold value and the discrete inter-frame dissimilarity of a plurality of consecutive frames including the frame is equal to or higher than the threshold value. As a result, when the above method is used, in addition to the scene change part using the transition effect, the scene change part which is the cut point can be detected. Further, in the above method, it is possible to prevent erroneous detection of the cut point due to the influence of the flash, so that it is possible to improve the detection accuracy of the cut point.
【0209】また第18の発明によれば、前記媒体は、
コンピュータにインストールして実行させた場合に該コ
ンピュータを第1〜第7の発明の動画場面転換部検出装
置と同様に動作させるための前記動画場面転換部検出制
御プログラムを含む。これらの結果、前記プログラムが
コンピュータによって実行された場合、トランジション
効果の種類に拘わらず、動画内から前記場面転換部が精
度よく検出することができ、かつ、前記場面転換部の検
出に要する計算量の減少、および該検出の精度の向上を
図ることができる。[0209] According to the eighteenth invention, the medium is
The program includes the moving picture scene change part detection control program for causing the computer to operate in the same manner as the moving picture scene change part detecting device of the first to seventh inventions when installed and executed in the computer. As a result of these, when the program is executed by a computer, the scene change unit can be accurately detected from the moving image regardless of the type of transition effect, and the amount of calculation required for the detection of the scene change unit. Can be reduced and the accuracy of the detection can be improved.
【図1】本発明の第1の実施の形態である動画場面転換
部検出装置31の機能的構成を示すブロック図である。FIG. 1 is a block diagram showing a functional configuration of a moving image / scene changing unit detection device 31 according to a first embodiment of the present invention.
【図2】動画内のトランジション部分およびその近傍の
フレームを、表示順に並べて示す図である。FIG. 2 is a diagram showing transition parts in a moving image and frames in the vicinity thereof, arranged in display order.
【図3】動画内のトランジション部分およびその近傍の
フレームの離反フレーム間相違度の、フレームの並べ順
に従う変化を、概略的に示すグラフである。FIG. 3 is a graph schematically showing a change in the dissimilarity between separated frames of a transition part and a frame in the vicinity thereof in a moving image according to the order of arrangement of frames.
【図4】動画内のトランジション部分およびその近傍の
フレームの第1〜第3フレーム間相違度の、フレームの
並べ順に従う変化を、具体的に示すグラフである。FIG. 4 is a graph specifically showing a change in the dissimilarity between the first to third frames of the transition part in the moving image and the frames in the vicinity thereof according to the arrangement order of the frames.
【図5】フレーム間相違度の算出に関し、着目フレーム
が先行ショット内、トランジション部分内、後続ショッ
ト内にある場合の比較用フレームとトランジション部分
との関係を示す図である。FIG. 5 is a diagram showing a relationship between a comparison frame and a transition part in a case where a frame of interest exists in a preceding shot, a transition part, and a subsequent shot in calculating a difference between frames.
【図6】動画内のカット点およびその近傍のフレームの
第1〜第3フレーム間相違度の、フレームの並べ順に従
う変化を、具体的に示すグラフである。FIG. 6 is a graph specifically showing a change in the dissimilarity between the first to third frames of the cut point in the moving image and the frames in the vicinity thereof according to the order of arrangement of the frames.
【図7】第1の実施の形態の動画場面転換部検出装置3
1における動画内の場面転換部の検出処理を説明するた
めのフローチャートである。FIG. 7 is a moving image / scene changing unit detection device 3 according to the first embodiment.
6 is a flowchart for explaining a process of detecting a scene change part in a moving image in No. 1 in FIG.
【図8】図7の検出処理において、相違度記憶部56内
の第2および第3バッファ群内の複数の相違度バッファ
に記憶された第2および第3フレーム間相違度と、相違
度バッファのバッファ番号との関係を示すグラフであ
る。8 is a diagram illustrating a difference buffer between second and third frames stored in a plurality of difference buffers in second and third buffer groups in a difference storage unit 56 in the detection process of FIG. 3 is a graph showing the relationship with the buffer number of.
【図9】図7の検出処理において、相違度記憶部56内
の第2および第3バッファ群内の複数の相違度バッファ
に記憶された第2および第3フレーム間相違度と、相違
度バッファのバッファ番号との関係を示すグラフであ
る。9 is a difference buffer between the second and third frames stored in the plurality of difference buffers in the second and third buffer groups in the difference storage unit 56 and the difference buffer in the detection process of FIG. 7. 3 is a graph showing the relationship with the buffer number of.
【図10】本発明の第2の実施の形態である動画場面転
換部検出装置において、動画内の各フレームのフレーム
特徴の抽出手法およびフレーム間相違度の算出手法を概
略的に説明する図である。FIG. 10 is a diagram schematically illustrating a method of extracting a frame feature of each frame in a moving image and a method of calculating an inter-frame difference degree in the moving image scene change unit detection device according to the second embodiment of the present invention. is there.
【図11】第2の実施の形態の動画場面転換部検出装置
内のフレーム特徴抽出部における任意の1枚のフレーム
のフレーム特徴の抽出手法を説明するための図である。FIG. 11 is a diagram for explaining a method of extracting a frame feature of an arbitrary one frame in a frame feature extraction unit in the moving picture scene change unit detection device of the second exemplary embodiment.
【図12】図11のフレーム特徴の抽出手法において、
フレームの分割状態を説明するための図である。FIG. 12 is a diagram showing the frame feature extraction method of FIG.
It is a figure for demonstrating the division | segmentation state of a frame.
【図13】第2の実施の形態の動画場面転換部検出装置
内の相違度計算部における任意の2枚のフレーム間のフ
レーム間相違度の計算手法を説明するための図である。FIG. 13 is a diagram for explaining a method of calculating an inter-frame dissimilarity between arbitrary two frames in a dissimilarity calculation unit in the moving picture scene change unit detection apparatus according to the second embodiment.
【図14】本発明の第3の実施の形態の動画場面転換部
検出装置のカット点検出部におけるカット点の検出手法
を説明するために、カット点およびその近傍のフレーム
の補正前の第1フレーム間相違度のフレームの並べ順に
従う変化を示すグラフである。FIG. 14 is a first diagram before a correction of a cut point and a frame in the vicinity thereof in order to explain a method of detecting the cut point in the cut point detection unit of the moving picture / scene conversion unit detection device according to the third embodiment of the present invention. 7 is a graph showing a change in inter-frame dissimilarity according to the arrangement order of frames.
【図15】第3の実施の形態の動画場面転換部検出装置
のカット点検出部におけるカット点の検出手法を説明す
るために、カット点およびその近傍のフレームの補正後
の第1フレーム間相違度のフレームの並べ順に従う変化
を示すグラフである。FIG. 15 is a diagram for explaining a method of detecting a cut point in the cut point detection unit of the moving picture scene change unit detection apparatus according to the third embodiment, in which the corrected first frame difference between the cut point and the frames in the vicinity thereof. It is a graph which shows the change according to the arrangement order of the degree frame.
【図16】第3の実施の形態の動画場面転換部検出装置
のカット点検出部におけるカット点の検出手法を説明す
るためのフローチャートである。FIG. 16 is a flowchart for explaining a method of detecting cut points in a cut point detection unit of the moving picture / scene conversion unit detection device according to the third embodiment.
【図17】本発明の第4の実施の形態である動画場面転
換部検出装置の特徴形状検出部におけるトランジション
部分の検出手法を説明するためのフローチャートであ
る。FIG. 17 is a flowchart for explaining a method of detecting a transition part in the characteristic shape detection unit of the moving picture / scene conversion unit detection device according to the fourth embodiment of the present invention.
【図18】本発明の第5の実施の形態である動画場面転
換部検出装置の特徴形状検出部におけるトランジション
部分の検出手法において、第2フレーム間相違度の変化
パターンを近似するべき波形を示すグラフである。FIG. 18 shows a waveform to approximate a change pattern of a second inter-frame dissimilarity in a method of detecting a transition part in the characteristic shape detecting section of the moving picture / scene changing section detecting apparatus according to the fifth embodiment of the present invention. It is a graph.
【図19】第5の実施の形態の動画場面転換部検出装置
の特徴形状検出部におけるトランジション部分の検出手
法において、第3フレーム間相違度の変化パターンを近
似するべき波形を示すグラフである。FIG. 19 is a graph showing a waveform for approximating a change pattern of a third inter-frame difference degree in the method of detecting a transition part in the characteristic shape detection unit of the moving picture / scene conversion unit detection device of the fifth exemplary embodiment.
【図20】第5の実施の形態の動画場面転換部検出装置
の特徴形状検出部におけるトランジション部分の検出手
法を説明するためのフローチャートである。FIG. 20 is a flow chart for explaining a method of detecting a transition part in the feature shape detection unit of the moving picture / scene conversion unit detection device of the fifth exemplary embodiment.
【図21】本発明の動画場面転換部検出装置を含む動画
早見装置32の電気的構成を示すブロック図である。FIG. 21 is a block diagram showing an electrical configuration of a moving image viewing device 32 including the moving image scene change unit detection device of the present invention.
【図22】動画の構成を示す模式図である。FIG. 22 is a schematic diagram showing the structure of a moving image.
【図23】動画内のカット点ならびにディゾルブおよび
ワイプをそれぞれ用いたトランジション部分およびその
近傍のフレームを、フレームの表示順に並べた図であ
る。FIG. 23 is a diagram in which frames at a cut point in a moving image, a transition part using a dissolve and a wipe, and frames in the vicinity thereof are arranged in the frame display order.
31 動画場面転換部検出装置 51 フレーム展開部 53 フレーム内特徴抽出部 55 相違度計算部 57 特徴形状検出部 58 カット検出部 59 検出結果出力部 60 制御回路 31 Video scene change unit detection device 51 Frame development section 53 In-frame feature extraction unit 55 Dissimilarity calculator 57 Characteristic Shape Detector 58 Cut detector 59 Detection result output section 60 control circuit
Claims (18)
憶し、該各ショットは特徴が同一または近似しかつ時間
経過に伴って順次的に表示されるべき複数のフレームか
らそれぞれ構成される動画記憶手段と、 前記各フレームを1または複数の領域に区分し、前記各
フレーム内の各領域を代表する少なくとも1つの色と該
各領域内の該色の出現頻度とをそれぞれ検出して、該各
フレーム内の全ての領域の検出された色および出現頻度
の組合わせを、前記各フレームの前記特徴を示す特徴デ
ータとして出力する特徴データ生成手段と、 前記動画内のいずれか1つのフレームである第1フレー
ムの、前記動画内のフレームの表示順に予め定める複数
の基準枚数だけ該第1フレームからそれぞれ離れた複数
の第2フレームとの特徴の相違の程度をそれぞれ表す複
数の離反フレーム間相違度を、前記特徴データに基づい
て、前記第1フレームをずらしてそれぞれ演算する離反
フレーム間相違度演算手段と、 前記フレームの前記各第2フレームに対応する離反フレ
ーム間相違度の前記表示順に従う変化の特性を、それぞ
れ検出する特性検出手段と、 前記特性検出手段によって検出された特性に基づいて、
動画内の表示順が隣接するべきフレームが重なって合成
されたトランジション効果を有する合成フレームを、動
画内から検出するトランジション検出手段とを含むこと
を特徴とする動画場面転換部検出装置。1. A moving picture memory for storing a moving picture composed of a plurality of shots, wherein each shot has a same or similar characteristic and is composed of a plurality of frames to be sequentially displayed with the passage of time. Means for dividing each frame into one or a plurality of areas, detecting at least one color representing each area in each frame and the frequency of appearance of the color in each area, Characteristic data generating means for outputting a combination of detected colors and appearance frequencies of all regions in the frame as characteristic data indicating the characteristic of each frame; and one of the frames in the moving image. The degree of difference in characteristics between one frame and a plurality of second frames that are respectively separated from the first frame by a plurality of predetermined reference numbers in the display order of the frames in the moving image is calculated. And a separation frame inter-dissimilarity calculation unit that calculates the plurality of dissimilarity degrees between the separated frames, which are calculated by shifting the first frame based on the characteristic data, and a separation frame corresponding to each second frame of the frames. The characteristics of the change of the degree of inter-dissipation according to the display order, characteristic detecting means for respectively detecting, based on the characteristics detected by the characteristic detecting means,
A moving picture scene changing unit detection device, comprising: a transition detection unit that detects a composite frame having a transition effect, which is composed by superimposing frames that should be adjacent in display order in a moving picture, from a moving picture.
憶し、該各ショットは特徴が同一または近似しかつ時間
経過に伴って順次的に表示されるべき複数のフレームか
らそれぞれ構成される動画記憶手段と、 前記動画内のいずれか1つのフレームである第1フレー
ムの、前記動画内のフレームの表示順に予め定める複数
の基準枚数だけ該第1フレームからそれぞれ離れた複数
の第2フレームとの特徴の相違の程度をそれぞれ表す複
数の離反フレーム間相違度を、前記第1フレームをずら
してそれぞれ演算する離反フレーム間相違度演算手段
と、 前記表示順が連続する複数のフレームの複数の離反フレ
ーム間相違度の前記表示順に伴う変化パターンが、予め
定める複数の基準パターンとそれぞれ一致するか否かを
判断して、前記フレームの前記各第2フレームに対応す
る離反フレーム間相違度の前記表示順に従う変化の特性
を、それぞれ検出する特性検出手段と、 前記特性検出手段によって検出された特性に基づいて、
動画内の表示順が隣接するべきフレームが重なって合成
されたトランジション効果を有する合成フレームを、動
画内から検出するトランジション検出手段とを含み、 前記全ての基準パターンのうち、前記いずれか1つの離
反フレーム間相違度の変化パターンと比較されるべき第
1基準パターン、および該いずれか1つの離反フレーム
間相違度よりも算出時の前記基準枚数が多い離反フレー
ム間相違度の変化パターンと比較されるべき第2基準パ
ターンは、該第1および第2基準パターンをそれぞれ示
すグラフの形状が凸状であり、かつ、前記第1基準パタ
ーンのグラフの高さおよび幅がそれぞれ前記第2基準パ
ターンのグラフの高さおよび幅未満であることを特徴と
する動画場面転換部検出装置。2. A moving picture memory for storing a moving picture composed of a plurality of shots, wherein each shot has the same or similar characteristics and is composed of a plurality of frames to be sequentially displayed over time. And a plurality of second frames that are separated from the first frame by a plurality of reference numbers of a first frame, which is one of the frames in the moving image, that is predetermined in the display order of the frames in the moving image. Between the plurality of separated frames which calculate the difference between the separated frames respectively indicating the degree of difference between the separated frames, and between the separated frame difference calculating means for calculating the difference between the separated first frames and the plurality of separated frames of the plurality of frames whose display order is continuous. It is judged whether or not the change pattern of the dissimilarity degree according to the display order matches each of a plurality of predetermined reference patterns, and The characteristics of change according the display order of the separating inter-frame dissimilarity corresponding to the second frame, and the characteristic detecting means for detecting each, based on the detected characteristic by the characteristic detecting means,
A transition detection unit that detects a composite frame having a transition effect that is composed by overlapping frames that should be adjacent to each other in the moving order in the moving image; and in any one of the reference patterns, the separation of any one of the reference patterns. The first reference pattern to be compared with the change pattern of the interframe dissimilarity, and the change pattern of the disengagement frame dissimilarity, in which the reference number at the time of calculation is larger than any one of the dissociation frame dissimilarities, are compared. The second reference pattern to be used has a convex shape in the graph showing each of the first and second reference patterns, and the height and width of the graph of the first reference pattern are each the graph of the second reference pattern. An apparatus for detecting a moving image scene transition part, characterized in that it is less than the height and width of
憶し、該各ショットは特徴が同一または近似しかつ時間
経過に伴って順次的に表示されるべき複数のフレームか
らそれぞれ構成される動画記憶手段と、 前記動画内のいずれか1つのフレームである第1フレー
ムの、前記動画内のフレームの表示順に予め定める複数
の基準枚数だけ該第1フレームからそれぞれ離れた複数
の第2フレームとの特徴の相違の程度をそれぞれ表す複
数の離反フレーム間相違度を、前記第1フレームをずら
してそれぞれ演算する離反フレーム間相違度演算手段
と、 前記表示順が連続する複数のフレームの各離反フレーム
間相違度の変化パターンをそれぞれ近似するグラフの数
式をそれぞれ求める近似式算出手段と、 求められた複数の前記数式に基づいて定められるパラメ
ータに基づき、該各数式のグラフで近似される変化パタ
ーンが前記各基準パターンと一致するか否かを判断し
て、前記フレームの前記各第2フレームに対応する離反
フレーム間相違度の前記表示順に従う変化の特性を、そ
れぞれ検出する特性検出手段と、 前記特性検出手段によって検出された特性に基づいて、
動画内の表示順が隣接するべきフレームが重なって合成
されたトランジション効果を有する合成フレームを、動
画内から検出するトランジション検出手段とを含むこと
を特徴とする動画場面転換部検出装置。3. A moving picture memory for storing a moving picture composed of a plurality of shots, wherein each shot has a same or similar characteristic and is composed of a plurality of frames to be sequentially displayed over time. And a plurality of second frames that are separated from the first frame by a plurality of reference numbers of a first frame, which is one of the frames in the moving image, that is predetermined in the display order of the frames in the moving image. Dissimilarity between dissimilarity frames that respectively express the degree of dissimilarity between dissimilarity frames, and dissimilarity dissimilarity between dissimilarity frames between a plurality of frames whose display order is continuous, The approximation formula calculating means for obtaining the respective mathematical formulas of the graph that respectively approximates the degree change pattern, and Based on the parameter, it is determined whether or not the change pattern approximated by the graph of each equation matches each of the reference patterns, and the difference degree between the separated frames corresponding to each of the second frames of the frame is determined. The characteristics of the change according to the display order, based on the characteristics detected by the characteristic detection unit, the characteristic detection unit, respectively,
A moving picture scene changing unit detection device, comprising: a transition detection unit that detects a composite frame having a transition effect, which is composed by superimposing frames that should be adjacent in display order in a moving picture, from a moving picture.
ることを特徴とする請求項3記載の動画場面転換部検出
装置。4. The apparatus according to claim 3, wherein the mathematical formula is a quadratic function, and the parameter is a coefficient of the calculated quadratic function.
り、 前記パラメータは、前記算出された関数内の正弦関数の
位相およびゲインであることを特徴とする請求項3記載
の動画場面転換部検出装置。5. The moving image scene conversion unit according to claim 3, wherein the mathematical expression is a function including a sine function, and the parameters are a phase and a gain of the sine function in the calculated function. Detection device.
憶し、該各ショットは特徴が同一または近似しかつ時間
経過に伴って順次的に表示されるべき複数のフレームか
らそれぞれ構成される動画記憶手段と、 前記動画内のいずれか1つのフレームである第1フレー
ムの、前記動画内のフレームの表示順に予め定める複数
の基準枚数だけ該第1フレームからそれぞれ離れた複数
の第2フレームとの特徴の相違の程度をそれぞれ表す複
数の離反フレーム間相違度を、前記第1フレームをずら
してそれぞれ演算する離反フレーム間相違度演算手段
と、 前記フレームの前記各第2フレームに対応する離反フレ
ーム間相違度の前記表示順に従う変化の特性を、それぞ
れ検出する特性検出手段と、 前記特性検出手段によって検出された特性に基づいて、
動画内の表示順が隣接するべきフレームが重なって合成
されたトランジション効果を有する合成フレームを、動
画内から検出するトランジション検出手段と、 前記動画内の各フレーム毎に、該各フレームの表示順と
1つだけ異なる表示順のフレームと該各フレームとの特
徴の違いを示す隣接フレーム間相違度を、それぞれ算出
する隣接フレーム間相違度算出手段と、 前記各フレームの隣接フレーム間相違度から、該各フレ
ームを含み表示順が連続した複数のフレームのうちの該
各フレームを除く残余のフレームの隣接フレーム間相違
度と予め定める複数の重み係数との積の総和を、それぞ
れ減算する隣接フレーム間相違度補正手段と、 前記減算後の隣接フレーム間相違度が予め定めるカット
点検出用閾値以上のフレームを、前記動画内から検出す
るフレーム検出手段と、 前記検出されたフレームに基づき、前記動画内のカット
点を検出するカット点検出手段とを含み、 前記残余の各フレームの隣接フレーム間相違度に乗算さ
れる各重み係数は、前記残余のフレームの隣接フレーム
間相違度のうちの該各隣接フレーム間相違度よりも小さ
い隣接フレーム間相違度に乗算される重み係数以上であ
ることを特徴とする動画場面転換部検出装置。6. A moving picture memory for storing a moving picture composed of a plurality of shots, wherein each of the shots has a same or similar characteristic and is composed of a plurality of frames to be sequentially displayed with the passage of time. And a plurality of second frames that are separated from the first frame by a plurality of reference numbers of a first frame, which is one of the frames in the moving image, that is predetermined in the display order of the frames in the moving image. Dissimilarity difference calculation means for calculating a plurality of dissociation frame dissimilarities representing the degree of dissimilarity between the dissimilarity frames, and dissimilarity dissimilarity differences corresponding to each of the second frames of the frames. Characteristics of the change according to the display order of the degree, based on the characteristics detected by the characteristic detection unit, the characteristic detection unit,
A transition detection unit that detects a composite frame having a transition effect in which a frame that should be adjacent in the display order in the moving image is overlapped, and a transition detection unit that detects, from each frame in the moving image, a display order of the respective frames. From adjacent frame difference calculation means for calculating the difference between adjacent frames indicating the difference in feature between the frames having only one different display order and the respective frames, and from the difference between adjacent frames of each frame, Difference between adjacent frames in which the sum of products of the difference between adjacent frames of the remaining frames excluding the respective frames out of the plurality of frames including the respective frames and having a continuous display order and a plurality of predetermined weighting factors are respectively subtracted From the moving image, a degree correction means and Each of the weighting factors, which includes a frame detection unit for outputting and a cut point detection unit for detecting a cut point in the moving image based on the detected frame, and which is multiplied by a difference between adjacent frames of each of the remaining frames. Is a weight coefficient multiplied by a dissimilarity between adjacent frames smaller than the dissimilarity between adjacent frames among the dissimilarities between adjacent frames of the remaining frames, or more. .
憶し、該各ショットは特徴が同一または近似しかつ時間
経過に伴って順次的に表示されるべき複数のフレームか
らそれぞれ構成される動画記憶手段と、 前記動画内のいずれか1つのフレームである第1フレー
ムの、前記動画内のフレームの表示順に予め定める複数
の基準枚数だけ該第1フレームからそれぞれ離れた複数
の第2フレームとの特徴の相違の程度をそれぞれ表す複
数の離反フレーム間相違度を、前記第1フレームをずら
してそれぞれ演算する離反フレーム間相違度演算手段
と、 前記フレームの前記各第2フレームに対応する離反フレ
ーム間相違度の前記表示順に従う変化の特性を、それぞ
れ検出する特性検出手段と、 前記特性検出手段によって検出された特性に基づいて、
動画内の表示順が隣接するべきフレームが重なって合成
されたトランジション効果を有する合成フレームを、動
画内から検出するトランジション検出手段と、 前記動画内の各フレーム毎に、該各フレームの表示順と
1つだけ異なる表示順のフレームと該各フレームとの特
徴の違いを示す隣接フレーム間相違度を、それぞれ算出
する隣接フレーム間相違度算出手段と、 前記動画内から、隣接フレーム間相違度が予め定めるカ
ット点検出用閾値以上の全てのフレームのうち、該各フ
レームを含み配列順が連続する複数の各フレームのいず
れか1つの離反フレーム間相違度が、全て予め定める閾
値以上であるフレームを、検出するフレーム検出手段
と、 前記検出されたフレームに基づき、前記動画内のカット
点を検出するカット点検出手段とを含むことを特徴とす
る動画場面転換部検出装置。7. A moving picture memory for storing a moving picture composed of a plurality of shots, each of the shots having the same or similar characteristics and each of which is composed of a plurality of frames to be sequentially displayed with the passage of time. And a plurality of second frames that are separated from the first frame by a plurality of reference numbers of a first frame, which is one of the frames in the moving image, that is predetermined in the display order of the frames in the moving image. Dissimilarity difference calculation means for calculating a plurality of dissociation frame dissimilarities representing the degree of dissimilarity between the dissimilarity frames, and dissimilarity dissimilarity differences corresponding to each of the second frames of the frames. Characteristics of the change according to the display order of the degree, based on the characteristics detected by the characteristic detection unit, the characteristic detection unit,
A transition detection unit that detects a composite frame having a transition effect in which a frame that should be adjacent in the display order in the moving image is overlapped, and a transition detection unit that detects, from each frame in the moving image, a display order of the respective frames. An adjacent frame difference degree calculating unit that calculates the difference degree between adjacent frames indicating the difference in feature between each frame having only one different display order and each frame, and the difference degree between adjacent frames is calculated in advance from the moving image. Among all the frames having the cut point detection threshold or more to be defined, the dissimilarity between separated frames of any one of the plurality of frames including the respective frames and having a continuous arrangement order is a frame having a threshold value or more, Frame detecting means for detecting, and cut point detecting means for detecting a cut point in the moving image based on the detected frame. Video scene change portion detection apparatus characterized by.
検出装置と、 前記動画場面転換部検出装置によって検出された合成フ
レームの動画内の位置に基づき、前記動画内の各ショッ
ト内から、少なくとも1枚のフレームをそれぞれ抽出す
るフレーム抽出手段と、 抽出された前記フレームを前記表示手段に表示させる表
示制御手段とを含むことを特徴とする動画処理装置。8. A display means capable of displaying a frame, the moving picture scene changer detection device according to claim 1, and a moving picture of a composite frame detected by the moving picture scene changer detection device. A frame extraction unit that extracts at least one frame from each shot in the moving image based on a position within the frame, and a display control unit that displays the extracted frame on the display unit. Video processing device.
てのフレームを、前記動画内の表示順が早いものから順
に、時間経過に伴って順次的に、前記表示手段に表示さ
せることを特徴とする請求項8記載の動画処理装置。9. The display control means causes the display means to display all of the extracted frames in order from the earliest display order in the moving image over time. The moving image processing apparatus according to claim 8.
各フレームを縮小し、縮小された該各フレームを合成し
た合成フレームを、前記表示手段に表示させることを特
徴とする請求項8記載の動画処理装置。10. The display control means reduces the extracted frames, and causes the display means to display a combined frame obtained by combining the reduced frames. Video processing device.
に伴って順次的に表示されるべき複数のフレームからそ
れぞれ構成される複数のショットから構成される動画を
記憶させる処理と、 前記各フレームを1または複数の領域に区分し、前記各
フレーム内の各領域を代表する少なくとも1つの色と該
各領域内の該色の出現頻度とをそれぞれ検出して、該各
フレーム内の全ての領域の検出された色および出現頻度
の組合わせを、前記各フレームの前記特徴を示す特徴デ
ータとして出力する処理と、 前記動画内のいずれか1つのフレームである第1フレー
ムの、前記動画内のフレームの表示順に予め定める複数
の基準枚数だけ該第1フレームからそれぞれ離れた複数
の第2フレームとの特徴の相違の程度をそれぞれ表す複
数の離反フレーム間相違度を、前記特徴データに基づい
て、前記第1フレームをずらしてそれぞれ演算する処理
と、 前記フレームの前記各第2フレームに対応する離反フレ
ーム間相違度の前記表示順に従う変化の特性を、それぞ
れ検出する処理と、 前記検出された特性に基づいて、動画内の表示順が隣接
するべきフレームが重なって合成されたトランジション
効果を有する合成フレームを、動画内から検出する処理
とを含むことを特徴とする動画場面転換部検出方法。11. A process of storing a moving image composed of a plurality of shots each of which has the same or similar characteristics and which should be sequentially displayed over time, and a process of storing each frame. It is divided into one or a plurality of regions, at least one color representing each region in each frame and the frequency of appearance of the color in each region are respectively detected, and all the regions in each frame are detected. A process of outputting a combination of the detected color and the appearance frequency as feature data indicating the feature of each frame, and a process of outputting a first frame, which is one of the frames in the movie, of a frame in the movie. Differences between a plurality of separated frames, each of which represents a degree of difference in characteristics from a plurality of second frames that are separated from the first frame by a plurality of reference numbers that are predetermined in display order Based on the characteristic data, the processing of calculating the first frame by shifting the first frame, and the characteristic of change in the dissimilarity between separated frames corresponding to the second frames of the frame according to the display order are respectively detected. And a process of detecting a composite frame having a transition effect in which a frame in which a display order in the moving image should be adjacent to each other is overlapped, from the moving image, based on the detected characteristic. Method for detecting moving picture scene transition part.
に伴って順次的に表示されるべき複数のフレームからそ
れぞれ構成される複数のショットから構成される動画を
記憶させる処理と、 前記動画内のいずれか1つのフレームである第1フレー
ムの、前記動画内のフレームの表示順に予め定める複数
の基準枚数だけ該第1フレームからそれぞれ離れた複数
の第2フレームとの特徴の相違の程度をそれぞれ表す複
数の離反フレーム間相違度を、前記第1フレームをずら
してそれぞれ演算する処理と、 前記表示順が連続する複数のフレームの複数の離反フレ
ーム間相違度の前記表示順に伴う変化パターンが、予め
定める複数の基準パターンとそれぞれ一致するか否かを
判断して、前記フレームの前記各第2フレームに対応す
る離反フレーム間相違度の前記表示順に従う変化の特性
を、それぞれ検出する処理と、 前記検出された特性に基づいて、動画内の表示順が隣接
するべきフレームが重なって合成されたトランジション
効果を有する合成フレームを、動画内から検出する処理
とを含み、 前記全ての基準パターンのうち、前記いずれか1つの離
反フレーム間相違度の変化パターンと比較されるべき第
1基準パターン、および該いずれか1つの離反フレーム
間相違度よりも算出時の前記基準枚数が多い離反フレー
ム間相違度の変化パターンと比較されるべき第2基準パ
ターンは、該第1および第2基準パターンをそれぞれ示
すグラフの形状が凸状であり、かつ、前記第1基準パタ
ーンのグラフの高さおよび幅がそれぞれ前記第2基準パ
ターンのグラフの高さおよび幅未満であることを特徴と
する動画場面転換部検出方法。12. A process of storing a moving image composed of a plurality of shots each of which has the same or similar features and which should be sequentially displayed over time, and a process of storing the moving image. The degree of difference in the characteristics of the first frame, which is any one of the frames, from the plurality of reference frames, which are separated from the first frame by a plurality of predetermined reference numbers in the display order of the frames in the moving image, respectively. A process of calculating a plurality of dissociation degrees between separated frames by respectively shifting the first frame, and a change pattern associated with the display order of the dissimilarities between separated frames of a plurality of frames in which the display order is continuous are predetermined. Differences between separated frames corresponding to the respective second frames of the frames are determined by determining whether or not they match a plurality of reference patterns. The process of detecting the respective characteristics of the change according to the display order of, and, based on the detected characteristics, a composite frame having a transition effect in which the frames that should be adjacent in the display order in the moving image are combined, A first reference pattern to be compared with the change pattern of the dissimilarity degree between the separated frames, and a difference between the separated frames, among all the reference patterns. The second reference pattern to be compared with the change pattern of the dissimilarity between separated frames, in which the reference number of times when calculating is larger than the degree, has a convex shape in the graph showing each of the first and second reference patterns, Further, the height and width of the graph of the first reference pattern are less than the height and width of the graph of the second reference pattern, respectively. A method for detecting a video scene transition part.
に伴って順次的に表示されるべき複数のフレームからそ
れぞれ構成される複数のショットから構成される動画を
記憶させる処理と、 前記動画内のいずれか1つのフレームである第1フレー
ムの、前記動画内のフレームの表示順に予め定める複数
の基準枚数だけ該第1フレームからそれぞれ離れた複数
の第2フレームとの特徴の相違の程度をそれぞれ表す複
数の離反フレーム間相違度を、前記第1フレームをずら
してそれぞれ演算する処理と、 前記表示順が連続する複数のフレームの各離反フレーム
間相違度の変化パターンをそれぞれ近似するグラフの数
式をそれぞれ求める処理と、 求められた複数の前記数式に基づいて定められるパラメ
ータに基づき、該各数式のグラフで近似される変化パタ
ーンが前記各基準パターンと一致するか否かを判断し
て、前記フレームの前記各第2フレームに対応する離反
フレーム間相違度の前記表示順に従う変化の特性を、そ
れぞれ検出する処理と、 前記検出された特性に基づいて、動画内の表示順が隣接
するべきフレームが重なって合成されたトランジション
効果を有する合成フレームを、動画内から検出する処理
とを含むことを特徴とする動画場面転換部検出方法。13. A process of storing a moving image composed of a plurality of shots each of which has the same or similar features and which should be sequentially displayed with the passage of time, and The degree of difference in the characteristics of the first frame, which is any one of the frames, from the plurality of reference frames, which are separated from the first frame by a plurality of predetermined reference numbers in the display order of the frames in the moving image, respectively. A process of calculating the dissimilarity between the separated frames by shifting the first frame, and a mathematical expression of a graph approximating the change pattern of the dissimilarity between the separated frames of the plurality of frames in which the display order is continuous, respectively. Based on the processing to be obtained and the parameters determined based on the plurality of obtained mathematical formulas, the variables approximated by the graphs of the respective mathematical formulas are obtained. A process of determining whether or not a coded pattern matches each of the reference patterns, and detecting a characteristic of a change in the dissimilarity between dissociated frames corresponding to each of the second frames in the display order, A moving image scene conversion process for detecting, from the moving image, a combined frame having a transition effect in which frames that should be adjacent in the display order in the moving image are overlapped and combined based on the detected characteristics. Part detection method.
ることを特徴とする請求項13記載の動画場面転換部検
出方法。14. The method according to claim 13, wherein the formula is a quadratic function, and the parameter is a coefficient of the calculated quadratic function.
り、 前記パラメータは、前記算出された関数内の正弦関数の
位相およびゲインであることを特徴とする請求項13記
載の動画場面転換部検出方法。15. The moving image scene conversion unit according to claim 13, wherein the mathematical expression is a function including a sine function, and the parameters are a phase and a gain of the sine function in the calculated function. Detection method.
に伴って順次的に表示されるべき複数のフレームからそ
れぞれ構成される複数のショットから構成される動画を
記憶させる処理と、 前記動画内のいずれか1つのフレームである第1フレー
ムの、前記動画内のフレームの表示順に予め定める複数
の基準枚数だけ該第1フレームからそれぞれ離れた複数
の第2フレームとの特徴の相違の程度をそれぞれ表す複
数の離反フレーム間相違度を、前記第1フレームをずら
してそれぞれ演算する処理と、 前記フレームの前記各第2フレームに対応する離反フレ
ーム間相違度の前記表示順に従う変化の特性を、それぞ
れ検出する処理と、 前記検出された特性に基づいて、動画内の表示順が隣接
するべきフレームが重なって合成されたトランジション
効果を有する合成フレームを、動画内から検出する処理
と、 前記動画内の各フレーム毎に、該各フレームの表示順と
1つだけ異なる表示順のフレームと該各フレームとの特
徴の違いを示す隣接フレーム間相違度を、それぞれ算出
する処理と、 前記各フレームの隣接フレーム間相違度から、該各フレ
ームを含み表示順が連続した複数のフレームのうちの該
各フレームを除く残余のフレームの隣接フレーム間相違
度と予め定める複数の重み係数との積の総和を、それぞ
れ減算する処理と、 前記減算後の隣接フレーム間相違度が予め定めるカット
点検出用閾値以上のフレームを、前記動画内から検出す
る処理と、 前記検出されたフレームに基づき、前記動画内のカット
点を検出する処理とを含み、 前記残余の各フレームの隣接フレーム間相違度に乗算さ
れる各重み係数は、前記残余のフレームの隣接フレーム
間相違度のうちの該各隣接フレーム間相違度よりも小さ
い隣接フレーム間相違度に乗算される重み係数以上であ
ることを特徴とする動画場面転換部検出方法。16. A process of storing a moving image composed of a plurality of shots, each of which has the same or similar features and which should be sequentially displayed over time, and a process of storing the moving image. The degree of difference in the characteristics of the first frame, which is any one of the frames, from the plurality of second frames that are respectively separated from the first frame by a plurality of predetermined reference numbers in the display order of the frames in the moving image. A process of calculating a plurality of dissimilarity between separated frames by shifting the first frame, and a characteristic of a change in the dissimilarity between separated frames corresponding to each of the second frames in the display order are detected. Based on the detected characteristics, the transition effect that is composed by overlapping the frames that should be adjacent in the display order in the moving image is combined. A process of detecting a composite frame having a result from a moving image, and showing, for each frame in the moving image, a difference between the display order of each frame and a frame in a display order different by one and the feature of each frame From the processing of calculating the dissimilarity between adjacent frames, and from the dissimilarity between adjacent frames of each frame, the adjacency of the remaining frames excluding the respective frames among a plurality of frames including the frames and having a continuous display order From the moving image, a process of subtracting the sum of the products of the dissimilarity between frames and a plurality of predetermined weighting factors, and a frame in which the dissimilarity between adjacent frames after the subtraction is equal to or greater than a predetermined cut point detection threshold value from the moving image A process of detecting, and a process of detecting a cut point in the moving image based on the detected frame. Each of the weighting factors to be calculated is equal to or more than a weighting factor by which the dissimilarity between adjacent frames, which is smaller than the dissimilarity between adjacent frames among the dissimilarities between adjacent frames of the residual frame, is multiplied. Video scene transition detection method.
に伴って順次的に表示されるべき複数のフレームからそ
れぞれ構成される複数のショットから構成される動画を
記憶させる処理と、 前記動画内のいずれか1つのフレームである第1フレー
ムの、前記動画内のフレームの表示順に予め定める複数
の基準枚数だけ該第1フレームからそれぞれ離れた複数
の第2フレームとの特徴の相違の程度をそれぞれ表す複
数の離反フレーム間相違度を、前記第1フレームをずら
してそれぞれ演算する処理と、 前記フレームの前記各第2フレームに対応する離反フレ
ーム間相違度の前記表示順に従う変化の特性を、それぞ
れ検出する処理と、 前記検出された特性に基づいて、動画内の表示順が隣接
するべきフレームが重なって合成されたトランジション
効果を有する合成フレームを、動画内から検出する処理
と、 前記動画内の各フレーム毎に、該各フレームの表示順と
1つだけ異なる表示順のフレームと該各フレームとの特
徴の違いを示す隣接フレーム間相違度を、それぞれ算出
する処理と、 前記動画内から、隣接フレーム間相違度が予め定めるカ
ット点検出用閾値以上の全てのフレームのうち、該各フ
レームを含み配列順が連続する複数の各フレームのいず
れか1つの離反フレーム間相違度が、全て予め定める閾
値以上であるフレームを検出する処理と、 前記検出されたフレームに基づき、前記動画内のカット
点を検出する処理とを含むことを特徴とする動画場面転
換部検出方法。17. A process of storing a moving image composed of a plurality of shots each of which has the same or similar characteristics and which should be sequentially displayed over time, and a process of storing the moving image. The degree of difference in the characteristics of the first frame, which is any one of the frames, from the plurality of second frames that are respectively separated from the first frame by a plurality of predetermined reference numbers in the display order of the frames in the moving image. A process of calculating a plurality of dissimilarity between separated frames by shifting the first frame, and a characteristic of a change in the dissimilarity between separated frames corresponding to each of the second frames in the display order are detected. Based on the detected characteristics, the transition effect that is composed by overlapping the frames that should be adjacent in the display order in the moving image is combined. A process of detecting a composite frame having a result from a moving image, and showing, for each frame in the moving image, a difference between the display order of each frame and a frame in a display order different by one and the feature of each frame A process of calculating the dissimilarity between adjacent frames, and a plurality of consecutive frames in which the dissimilarity between adjacent frames is equal to or higher than a predetermined cut point detection threshold value in the moving image and includes the respective frames And a process of detecting a frame in which the dissimilarity between separated frames of any one of the frames is all equal to or greater than a predetermined threshold value, and a process of detecting a cut point in the moving image based on the detected frame. A method for detecting a moving image scene transition part, which is characterized by the above.
記載の動画場面転換部検出方法を、コンピュータに実行
させるための動画場面転換部検出制御プログラムを記憶
する媒体。18. A medium for storing a moving picture scene change detection control program for causing a computer to execute the moving picture scene change detection method according to any one of claims 11 to 17.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP29249798A JP3524007B2 (en) | 1998-10-14 | 1998-10-14 | Moving image scene changing unit detecting apparatus and method, medium storing moving image scene changing unit detection control program, and moving image processing apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP29249798A JP3524007B2 (en) | 1998-10-14 | 1998-10-14 | Moving image scene changing unit detecting apparatus and method, medium storing moving image scene changing unit detection control program, and moving image processing apparatus |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2000125250A JP2000125250A (en) | 2000-04-28 |
| JP3524007B2 true JP3524007B2 (en) | 2004-04-26 |
Family
ID=17782595
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP29249798A Expired - Fee Related JP3524007B2 (en) | 1998-10-14 | 1998-10-14 | Moving image scene changing unit detecting apparatus and method, medium storing moving image scene changing unit detection control program, and moving image processing apparatus |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3524007B2 (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100441963B1 (en) * | 2001-03-26 | 2004-07-27 | 주식회사 코난테크놀로지 | Scene Change Detector Algorithm in Image Sequence |
| JP4510749B2 (en) * | 2005-11-16 | 2010-07-28 | Kddi株式会社 | Shot boundary detection device |
| CN103780801A (en) * | 2012-10-25 | 2014-05-07 | 特克特朗尼克公司 | Heuristic method for scene cut detection in digital baseband video |
| CN105893920B (en) * | 2015-01-26 | 2019-12-27 | 阿里巴巴集团控股有限公司 | Face living body detection method and device |
| CN111104930B (en) * | 2019-12-31 | 2023-07-11 | 腾讯科技(深圳)有限公司 | Video processing method, device, electronic device and storage medium |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2839132B2 (en) * | 1993-12-17 | 1998-12-16 | 日本電信電話株式会社 | Image cut point detection method and apparatus |
| JPH08339379A (en) * | 1995-06-12 | 1996-12-24 | Nippon Telegr & Teleph Corp <Ntt> | Video analysis method and device |
| JP3175632B2 (en) * | 1997-04-18 | 2001-06-11 | 松下電器産業株式会社 | Scene change detection method and scene change detection device |
-
1998
- 1998-10-14 JP JP29249798A patent/JP3524007B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2000125250A (en) | 2000-04-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7206026B2 (en) | Method and apparatus for adaptive frame rate conversion | |
| RU2182727C2 (en) | Method for searching motion vectors of parts in amplitude images | |
| US5471535A (en) | Method for detecting a contour of a given subject to be separated from images and apparatus for separating a given subject from images | |
| JP2006512029A (en) | Segment-based motion estimation | |
| KR20090006068A (en) | How to modify video sequence and its device | |
| JP3451985B2 (en) | Moving image similarity calculating apparatus and method | |
| JP2002117037A (en) | Device and method for image retrieval and recording medium where the same method is written | |
| WO2001003005A1 (en) | Dynamic image search information recording apparatus and dynamic image searching device | |
| HU223699B1 (en) | Method of operating a video display and video display | |
| JP4214425B2 (en) | Image extracting apparatus and image extracting method, image encoding apparatus and image encoding method, image decoding apparatus and image decoding method, image recording apparatus and image recording method, image reproducing apparatus and image reproducing method, and recording medium | |
| JP3524007B2 (en) | Moving image scene changing unit detecting apparatus and method, medium storing moving image scene changing unit detection control program, and moving image processing apparatus | |
| US20040042552A1 (en) | Method and apparatus for determining motion vectors in dynamic images | |
| AU746276B2 (en) | Signal conversion apparatus and method | |
| US8253817B2 (en) | Image compression method, device, electronic camera, and program | |
| US8204364B2 (en) | Moving picture image reproduction method and moving picture image reproduction apparatus | |
| RU2137194C1 (en) | Method for analysis of movement vectors of elements in dynamic images | |
| JP2000069469A (en) | Moving picture encoding method/system and moving picture decoding method/system | |
| JP3175914B2 (en) | Image encoding method and image encoding device | |
| JP4228705B2 (en) | Motion vector search method and apparatus | |
| JP7022696B2 (en) | Image processing equipment, image processing methods and programs | |
| KR20070026360A (en) | Method for Compressing / Decompressing Video Information | |
| JP2001339695A (en) | Image signal processing apparatus and image signal processing method | |
| US6931066B2 (en) | Motion vector selection based on a preferred point | |
| JP3983981B2 (en) | Digital video processing method and apparatus | |
| JP2652413B2 (en) | Motion detection circuit |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20040203 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20040210 |
|
| LAPS | Cancellation because of no payment of annual fees |