TW589876B - Method for 3:2 pull-down film source detection - Google Patents

Method for 3:2 pull-down film source detection Download PDF

Info

Publication number
TW589876B
TW589876B TW92105169A TW92105169A TW589876B TW 589876 B TW589876 B TW 589876B TW 92105169 A TW92105169 A TW 92105169A TW 92105169 A TW92105169 A TW 92105169A TW 589876 B TW589876 B TW 589876B
Authority
TW
Taiwan
Prior art keywords
source
movie
field
pull
counter
Prior art date
Application number
TW92105169A
Other languages
Chinese (zh)
Other versions
TW200418320A (en
Inventor
Wen-Kuo Lin
Original Assignee
Silicon Integrated Sys Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Silicon Integrated Sys Corp filed Critical Silicon Integrated Sys Corp
Priority to TW92105169A priority Critical patent/TW589876B/en
Application granted granted Critical
Publication of TW589876B publication Critical patent/TW589876B/en
Publication of TW200418320A publication Critical patent/TW200418320A/en

Links

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)

Abstract

A method for a 3:2 pull-down film source detection. First, a source is received. Then, field differences of two fields of the same type in the source and an average field difference according to the field difference corresponding to at least one prior field in the source are calculated. The source is established as a 3:2 pull-down film source by checking whether a 3:2 pull-down signature is in the source according to the field difference and the average field difference, and a bad editing point is detected according to an interlaced frame information of the source.

Description

589876 五、發明說明(1) 發明所屬之技術領域 、本發明係有關於一種電影來源(Film Source).測方 法,且特別有關於一種可以考慮兩個場(Field)間的差显 與交錯(Interlaced)視格(Frame)資訊之3: 2拉 ,、589876 V. Description of the invention (1) The technical field to which the invention belongs, the present invention relates to a film source (Film Source) measurement method, and in particular to a method that can consider the difference between the two fields (Field) and interleaving ( Interlaced) Frame 2: 3: 2 pull,

Pul 1-Down)電影來源之偵測方法。 . 先前技術 貫務上,、動態圖片序列可以大致分類為電影來源與錄 像(Video)來源。電影來源的視格速率(Frame 為每、 秒24個視格而NTSC錄像來源的視格速率為每秒3 〇個視格 60個%。因此,為了在财%電視系統中顯示電影,電影的 視格速率必須由24轉換為30。此視袼速率轉換通常稱 2(或2:3)拉下程序。 · 第1圖顯示一應用至具有四個視格(A、B、C與D)的電 影片段之3一: 2拉下程序例子。在此例子中,原始的電影視 格,=$三個或是兩個交錯場。即視格4與視格c透過複製 其場來分為三個場,而視格B與視格D僅被分為兩個場。因 此,視格速率被由原來電影序列之每秒24個視格轉換為交 錯場序列的每秒60個場,且之後轉換為交錯視格序列之每 秒30個視格。 由於3 : 2拉下電影序列適用於在NTSC交錯式電視上播 放田拉下電影序列在循序(Progressive)(掃描)電視 或電腦螢幕上播放時,在由不同電影視格合併的交錯視 格,如第1圖中之視格”A + B„與視格,,B + C”中會存在一些惱Pul 1-Down) Detection method of movie source. Prior art In practice, moving picture sequences can be roughly classified into movie sources and video sources. Frame rate of film source (Frame is 24 frames per second, and frame rate of NTSC video source is 30 frames per second 60%. Therefore, in order to display movies in the TV system, the The frame rate must be converted from 24 to 30. This frame rate conversion is usually called a 2 (or 2: 3) pull-down procedure. Figure 1 shows an application to a frame with four frames (A, B, C, and D) The movie fragment 3: 1: 2 pull down the program example. In this example, the original movie frame is three or two interlaced fields. Frame 4 and frame c are divided by copying their fields. Three fields, while frame B and frame D are only divided into two fields. Therefore, the frame rate is converted from 24 frames per second of the original movie sequence to 60 fields per second of the interlaced field sequence, and It is then converted to an interlaced frame sequence of 30 frames per second. Since a 3: 2 pull-down movie sequence is suitable for playing on a NTSC interlaced TV, a pull-down movie sequence is on a progressive (scanning) TV or computer screen During play, interleaved frames combined by different movie frames, such as the frame “A + B” and the frame in Figure 1 ", B + C" will have some annoyances

第5頁 589876 Λ、發明說明(2) ^ t不平順情況,如梳狀線條雜訊(c〇mb Artifacts)、鋸 =、、、水等。為了要移除這些浪峰加工,偵測3 : 2拉下電影 下^且執仃一反影汛(InVerse Telecine)程序至此3:2拉 :衫序列.來回復原來的電影視格是很重要的。因此,在 同的裝置中使用時,辨識與偵測3 : 2拉下電影序列或交 错錄像序列是非常重要的。 — 此外,由於交錯場複製的原因3 ·· 2拉下電影序列具有 ,一的識別標誌(Signature)。此識別標誌顯示於第2圖 且說明於下。此交錯場序列的片段包含3 : 2拉下電影來 當相同類型(如,上端(Top)或下端(B〇tt〇m))的交錯 %進行比對時,其比對結果為”丨〇 〇 〇 〇丨〇 〇 〇 〇丨…,,,其中i表 示比對相符合(Match),〇代表比對不相符合。因此、,在 2拉下電影序列或交錯錄像序列間的偵測可以藉由交替地 比對相同類型的場與尋找在序列中的識別標諸 10000100001 ···” 來完成。 第3圖顯示習知3 : 2拉下電影來源之偵測方法。同時參 考第2圖與第3圖,說明於下。首先,場索引(FieldPage 5 589876 Λ, description of the invention (2) ^ t irregularities, such as comb line artifacts (comb artifacts), saw = ,,, water, etc. In order to remove these wave processing, it is important to detect the 3: 2 pull down the movie ^ and execute an InVerse Telecine program to the 3: 2 pull: shirt sequence. It is important to restore the original movie frame of. Therefore, when used in the same device, it is very important to identify and detect the 3: 2 pull-down movie sequence or interleaved video sequence. — In addition, due to the duplication of the interlaced field 3.. .2, the pull-down movie sequence has an identification mark of (1). This identification mark is shown in Figure 2 and explained below. The fragment of this interlaced field sequence contains a 3: 2 pull-down movie to compare the interlaced% of the same type (eg, Top or Bottom) with a comparison result of "丨 〇 〇〇〇 丨 〇〇〇〇〇 丨, ..., where i represents the match (Match), 0 represents the match does not match. Therefore, in 2 pull down movie sequence or interleaved video sequence detection can be This is done by alternately aligning fields of the same type and looking for identification numbers in the sequence 10000100001 ... ". Figure 3 shows the method of detecting the source of a movie 3: 2. Refer to Figure 2 and Figure 3 at the same time, which will be described below. First, the field index (Field

Index) η、配對計數器(Match Counter)、與模式計數哭 (Mode Counter)設為0(步驟S301)。配對計數器係用以^ 錄有多少次3 : 2拉下識別標誌π 1 〇 〇 〇 〇 ”被偵測到,模式計數 器係用來指示是否3 ·· 2拉下識別標誌為正確的。這兩個計 數器為3 : 2拉下電影來源偵測的關鍵指示器,且將會更古羊 細地進行說明於下。 3 Π 然後’如步驟S 3 0 2,接收兩個具有相同類型的場且進Index) n, Match Counter, and Mode Counter are set to 0 (step S301). The pairing counter is used to ^ record how many times the 3: 2 pull-down identification mark π 1 〇00〇 ”has been detected, and the mode counter is used to indicate whether the 3 ·· 2 pull-down identification mark is correct. These two The counters are 3: 2 to pull down the key indicator of film source detection, and will be explained in more detail below. 3 Π Then 'as in step S 3 0 2, receive two fields of the same type and Enter

0702-8851TWF(N1) ; 91P59 ; yianhou.ptd 第6頁 589876 -五、發明說明(3) '~ 行比對來看它們是否因為複製的原因而相同。此比 過計算場差(Field Difference)FieldDiff 來完成’、逯 (S303),其公式如下: =23 Σ Yf n -l· 2)| 其中,M與N分別為場的高與寬。如果場差小於一臨限 Fi一th(步驟S304的是),如步驟S3〇5,這兩個場視為比 相符合、配對計數器增加丨、且模式計數器清為〇來表、 別標誌” 1 0 0 0 0 ”的開始。反之,若場差大於臨限值“熾 卩1_1:11(步驟3304的否),如步驟33〇6,這兩個場視比對 相符合、且模式計數器增加1。 、不 之後’來源序列的模式可以依據在第2圖中顯示之配 對計數器與模式計數器的值來進行判斷。當配對計數器A 於1且模式計數器等於〇時(步驟$ 3 〇 7的是),如步驟幻&, 旗標(Flag) -電影模式(pi imM〇de)被設為1來表示一3 ·· 2拉 下電影序列已經偵測到。否則,模式計數器的值可以用來 判斷是否序列符合識別標誌”丨〇 〇 0 〇 ”。如果模式計數器小 於或專於4(步驟S309的否),代表電影模式沒有改變(步驟 S310)。然而,若模式計數器大於4(步驟S3〇9的是),表示 此序列已經不再符合3 : 2拉下識別標誌,f 1 0 0 0 〇 ”,則如步驟 S 3 11 ’電影板式被設為〇來表示此序列不是一 3 : 2拉下電影 序歹1J 。 為了防止溢位(Overf low),當模式計數器超過一既定 最大值時(步驟S312的是),如步驟S313,模式計數器被設0702-8851TWF (N1); 91P59; yianhou.ptd Page 6 589876-V. Description of the invention (3) '~ Line comparison to see if they are the same because of copying. This is done by calculating the Field Difference FieldDiff ', 逯 (S303), and its formula is as follows: = 23 Σ Yf n -l · 2) | where M and N are the height and width of the field, respectively. If the field difference is less than a threshold Fi_th (YES in step S304), as in step S305, the two fields are considered to be in accordance with each other, the pairing counter is increased, and the mode counter is cleared to 0. 1 0 0 0 0 ”. On the other hand, if the field difference is greater than the threshold "Blaze 1_1: 11 (No in step 3304), as in step 3306, the two field-view comparisons match, and the mode counter is increased by 1." No later 'source sequence The mode can be judged based on the value of the pairing counter and the mode counter shown in Figure 2. When the pairing counter A is 1 and the mode counter is equal to 0 (YES in step $ 3 〇07), such as step magic &, Flag-The movie mode (pi imMode) is set to 1 to indicate that a 3 ·· 2 pull-down movie sequence has been detected. Otherwise, the value of the mode counter can be used to determine whether the sequence meets the identification mark. "丨 〇〇0 〇 ”. If the mode counter is less than or dedicated to 4 (No in step S309), it means that the movie mode has not changed (step S310). However, if the mode counter is greater than 4 (YES in step S309), this indicates this The sequence no longer meets the 3: 2 pull-down identification mark, f 1 0 0 0 0 ″ ”, as in step S 3 11 ′, the movie plate is set to 0 to indicate that the sequence is not a 3: 2 pull-down movie sequence 歹 1J. To prevent overflow (Overf low), when the mode counter exceeds a predetermined maximum value (YES in step S312), as in step S313, the mode counter is set

0702-8851TWF(Nl);91P59;yianhou.ptd 第7頁 589876 五、發明說明(4) 為此最大值。此處理流程隨著序列的輸入一直重複來動態 地Jon»控3 : 2拉下識別標諸(步驟S 3 1 5且回到步驟s 3 0 2 )直到 序列結束(步驟S314的是)。 β 然而’習知方法具有兩項缺點:第一,由於數位錄像 壓縮與處理而導致資訊遺失,複製場之間的場差也許會超 過臨限值F i 一th。因此,僅利用場差與臨限值來判斷複製 場是否相符合是不夠精確的。第二,壞編輯點(Bad Ed 111 ng P〇 1 n t )的偵測是不具效率的。舉例來說,在第4 圖中]3 : 2拉下序列包含好的與壞的編輯點。由於好編輯 點係遵守3 : 2拉下順序,因此,識別標誌”丨〇 〇 〇 〇,,係依舊維 持。反之,如果壞編輯點違反3 : 2拉下順序,識別標誌將 再,守1 〇 〇 〇 0 ”。然而,如此的壞編輯點將會直到模 ,過4日寸才會被偵測到。因此,在壞編輯點與偵 =壞編輯時的點之間的輸出電影視格將會被使用反影訊 而錯誤地重建。即有兩個視格由合併之場π Ηπ盘,,I"重 建’導致嚴重的重建錯誤。 /、 發明内容 有鑑於此,本發明夕t 1 β Α & 枘UU h "乃之主要目的為提供一種可以考il0702-8851TWF (Nl); 91P59; yianhou.ptd page 7 589876 5. Description of the invention (4) This is the maximum value. This processing flow is repeated as the sequence is input to dynamically Jon »Control 3: 2 to pull down the identification marks (step S 3 15 and return to step s 3 0 2) until the end of the sequence (YES in step S314). β However, the conventional method has two disadvantages. First, information is lost due to digital video compression and processing. The field difference between the replicated fields may exceed the threshold F i -th. Therefore, it is not accurate enough to judge whether the copied field is consistent using only the field difference and the threshold. Second, the detection of bad edit points (Bad Ed 111 ng P0 1 n t) is not efficient. For example, in Figure 4] a 3: 2 pull-down sequence contains good and bad edit points. Since the good edit points follow the 3: 2 pull-down order, the identification mark "丨 〇〇〇〇" is still maintained. Conversely, if a bad edit point violates the 3: 2 pull-down order, the recognition mark will continue to be 1 〇〇〇0 ". However, such a bad edit point will not be detected until 4 days later. Therefore, the output movie frames between the bad edit point and the point at which the bad edit was detected will be erroneously reconstructed using inverse video. That is, there are two frames from the merged field π Ηπ, and I " reconstruction ' causes serious reconstruction errors. In view of this, the main purpose of the invention t 1 β Α & 枘 UU h " is to provide

源之==間的差異與交錯視格資訊之3:2拉下電影 輯點的為利用檢查交錯視格資訊來改“ 為了達成本發明之上述目的’可藉由本發明所提#The difference between the source == and the interlaced frame information 3: 2 pull down the movie The editing point is to use the interlaced frame information to check "in order to achieve the above purpose of the invention" can be referred to by the present invention #

589876 .五、發明說明(5) 3 : 2拉下電影來源之偵測方法來達成。 依據本發明實施例之3 ·· 2拉下電影來源之偵測方法, 首先,接收一來源,且相關係數進行初始設定為零。係數 包括場索引η、配對計數器、模式計數器、累積 (Accumulated)場差accDiff、與平均場差aveDiff。 接著,計算兩個具有相同類型的場之場差 FieldDiff,且將場差FieldDiff與一第一臨限值Fi —^^與 一變動(Adaptive)臨限值Adap — th。如果場差小於Fi—th與589876. V. Description of the invention (5) 3: 2 Pull down the detection method of the source of the film to achieve. According to the method for detecting the source of a movie in accordance with step 3 of the present invention, first, a source is received, and the correlation coefficient is initially set to zero. The coefficients include a field index η, a pairing counter, a mode counter, an accumulated field difference accDiff, and an average field difference aveDiff. Next, calculate the field difference FieldDiff of two fields of the same type, and compare the field difference FieldDiff with a first threshold Fi — ^^ and an adaptive threshold Adapt — th. If the field difference is less than Fi-th

Adap_th,配對計數器增加丨、且模式計 7 /、 與講仙^為〇。反之,若場差不小於^^:1 杈式计數态增加1、FieldDiff加至accDiff、 於accDiff除以模式計數器。其中,Adap_th等於 乘上一係數κ。 ,來 時,Adap_th, the pairing counter is incremented, and the pattern count is 7 /, and the talk is 0. Conversely, if the field difference is not less than ^^: 1, the branch count state is increased by 1. FieldDiff is added to accDiff, and accDiff is divided by the mode counter. Among them, Adapt_th is multiplied by a coefficient κ. When coming,

最後,當配對計數器大於丨且模式計數器等於〇時 ==為3:2拉下電影來源’而當配對計數器大於4 來源被偵測為非3 : 2拉下電影來源。 模式計數器等於3且在模式計數器等於 :視;符合3:2拉下電影來源的循序與交· 』序¥ ’ -壞編輯點在來源中被谓測。換古之^ 錯%為下端場時,判斷此視格是否為一虽Finally, when the pairing counter is greater than 丨 and the mode counter is equal to 0 == the source of the movie is pulled down for 3: 2 and when the source of the pairing counter is greater than 4, it is detected that the source is not 3: 2. The mode counter is equal to 3 and the mode counter is equal to: depending on the order and intersection of the movie source in accordance with 3: 2. “Order ¥”-Bad edit point is measured in the source. Change the old ^ error% is the bottom field, determine whether this view is a

錯場=端場時,判斷此視格是否為—心視::當 另外,當對應模式計數器等於3的 分別對應模式計數器等於3與4之兩^4下=時’若 點在來源中被偵測。 马循序,則一壞碥」Wrong field = end field, determine whether this view is-mind view :: In addition, when the corresponding mode counter is equal to 3, the corresponding mode counter is equal to two of 3 and 4 ^ 4 under = when 'if the point is in the source Detect. Ma Xunxu is bad. "

貫施方式 本發明大致使用場差FieldDif f與習知使 來判斷是否有複製場被發現。然而 = =的局,臨限值來決定場差FieldDiff是否 、琢比對疋相配合的。上述所基於之假設為無論芦 2:戶:造成於電影序列中的錯誤多大,兩複製場:m 相ί: d 2不相配的兩場。然❿,由於場差係強烈 影片段時的局部電 曰又兩精確因此,在本發明中,一額林的 刼限值會由之前場差的比對結果而動態地更新。 d-ίΓ月提供藉由參考交錯視格資訊之壞編輯點 ^ "上述係基於3 : 2拉下電影順序的實際情況,在3 : 2拉 ” pH序列甘中上併的交錯視格具有另一唯一的識別標誌、 —ρρ ,,、中Ρ"表示循序且"I"表示交錯。換言之,在 =組3 : 2拉下交錯視格中,第一個視格為循序,第二與第 三個視格為交錯,且最後兩個視格為循序。 一 /社 二在幻圖的例Η清楚得知。因&’如果= ^ ·的父錯視格不遵守此識別標誌,則此來源一定存在壞 編輯點,且為了避免重建錯誤發生,反影訊程序亦不行執 行來回復電影視格。 第5圖顯示依據本發明實施例之3 ·· 2拉下電影來源之偵 測方法之操作流程。首先,如步驟S5〇丨,接收一來源,且 如步驟S5 0 2,偵測中使用到的相關係數進行初始設定為零Implementation Method The present invention roughly uses a field difference FieldDif and a conventional messenger to determine whether a duplicate field is found. However, the limit of = = determines whether the field difference FieldDiff is matched with the contrast ratio. The above assumption is based on the fact that no matter how big the error in the movie sequence is, the two replicated fields: m phase ί: d 2 two fields that do not match. However, because the field difference is strongly localized when the film segment is two precise, therefore, in the present invention, the threshold value of a forest will be dynamically updated by the comparison result of the previous field difference. d-ίΓ provides bad editing points by referring to the interlaced frame information ^ " The above is based on the actual situation of the movie sequence being pulled down at 3: 2. Another unique identification sign, —ρρ ,,, and P " indicates sequential and " I " indicates interlaced. In other words, in the = group 3: 2 pull-down interlaced frame, the first frame is sequential and the second It intersects with the third frame, and the last two frames are sequential. One / Social is clearly known in the example of the magic map. Because & 'if = ^ · the father's wrong frame does not follow this identification mark, Then there must be bad editing points for this source, and in order to avoid reconstruction errors, the inverse video program cannot be executed to restore the movie frame. Figure 5 shows the method for detecting the source of a movie according to 3 ·· 2 of the embodiment of the present invention. First, as in step S502, a source is received, and in step S502, the correlation coefficient used in the detection is initially set to zero.

589876 •五、發明說明(7) 。這些係數包括場索引η、配對計數器、模式計數器、累 積場差accDiff、與平均場差aveDiff。類似地,配對計數 器係用來記錄有多少次3 : 2拉下識別標誌” 1 〇 〇 〇 〇 ”在來源中 被偵測到,且模式計數器係用來指示是否3 : 2拉下識別標 言走、為正確的。 接著’如步驟S5 0 3,兩個具有相同類型的場(F (η)與 F(n + 2))被接收,且如步驟S5〇4,計算F(n)與F(n + 2)的場 差FieldDif f。類似地,場差的公式如下: η) - yf η + 2)|589876 • V. Description of Invention (7). These coefficients include field index n, pairing counter, mode counter, cumulative field difference accDiff, and average field difference aveDiff. Similarly, the pairing counter is used to record how many times the 3: 2 identification mark has been pulled down, and “10000” has been detected in the source, and the mode counter is used to indicate whether the 3: 2 identification mark has been pulled down. Go for the right. Then 'as in step S503, two fields having the same type (F (η) and F (n + 2)) are received, and as in step S504, F (n) and F (n + 2) are calculated FieldDif f. Similarly, the formula for the field difference is as follows: η)-yf η + 2) |

7=0 G 其中,Μ與Ν分別為場的高與寬。之後,如步驟35〇5,將場 差F i e 1 dD i f ί與兩個臨限值進行比對。第一個臨限值為 Fi 一 th ’其大致上定義在兩相符合之場之間可允許之最大 場差。第二個臨限值為一變動臨限值Adap-th,其藉由參 考場序列中的内容而暫時地更新來決定兩相符合場之最大 可允許場差。在本實施例中,Adap —th為前面之場比對的 平均場差aveDiff的一部份(Fraction)且為: 其中’K為在0至1間的實數,且aveDiff為: aveDiff = aaoDlfflModeCoun-t^: α 在此的假設為如果在場序列中具有高活動性的内容, 平均場差將會比較高,相同地,累加場差a c c ]) i f f也會比 較高。因此,在複製場間可允許的場差將會比較高。然 而’若在場序列中具有低活動性的内容,平均場差將會比7 = 0 G where M and N are the height and width of the field, respectively. After that, in step 3505, the field difference F i e 1 dD i f ′ is compared with two threshold values. The first threshold value is Fi-th 'which roughly defines the maximum allowable field difference between two coincident fields. The second threshold value is a variable threshold value Adapt-th, which is temporarily updated by determining the content in the reference field sequence to determine the maximum allowable field difference of the two coincident fields. In this embodiment, Adapt —th is a part of the average field difference aveDiff of the previous field comparison (Fraction) and is: where 'K is a real number between 0 and 1, and aveDiff is: aveDiff = aaoDlfflModeCoun- t ^: α The assumption here is that if there is highly active content in the field sequence, the average field difference will be higher, and similarly, the accumulated field difference acc]) iff will also be higher. Therefore, the allowable field difference between the replicated fields will be relatively high. However, ‘if there is low activity in the field sequence, the average field difference will be

589876 五、發明說明(8) 較低,相同地,累加場差a c c D i f f也會比較低。因此,在 複製場間可允許的場差將會比較低。值得注意的是,臨限 值Adap —th應該比Fi__th來的小,且Fi—th與K可以依據不同 應用或是電影類型來決定,且通常係以經驗得知。 如果目前的場差FieldDiff小於Fi—th與Adap — th(步驟 S5 0 5的是),場F(n)被認為與場F(n + 2)相符合且場F(n + 2) 為場F (η)之複製場。之後,如步驟S 5 0 6,配對計數器增加 1、且模式計數器、accDiff、與aveDiff設為〇。反之,若 場差不小於Fi—th或Adap —th(步驟S505的否),即場F(n)與 場F(n + 2)不符合,則如步驟S50 7,模式計數器增加1、 FieldDiff 加至accDiff、aveDiff 等於accDiff 除以模式計 數器,且Adap 一 th等於aveDiff乘上係數K。 之後,來源序列的模式可以依據如第2圖中顯示之配 對計數器與模式計數器的值來進行判斷。當配對計數器大 於1且模式計數器等於〇時(步驟S508的是),如步驟S509, 旗標-電影模式(Fi ImMode)被設為1來表示一3 ·· 2拉下電譽 序列已經偵測到。反之,模式計數器的值被用來判斷此^序 列疋否遵寸識別標違1 〇 〇 〇 〇π。如果配對計數器大於4時 (步驟S 5 10的是),此序列不再遵守3 : 2拉下識別標誌、 1 0 0 0 0 ” ,如步驟S511,電影模式被設為〇來表示此序列不 疋一 3 : 2拉下電影序列。然而,如果配對計數器小與或 於4時(步驟S510的否),交錯視格資訊被用來偵測壞編輯 點。此交錯視格資訊可以指出視格為一循序或是交錯視 格。壞編輯點偵測的詳細操作將說明於下。589876 V. Invention description (8) is lower. Similarly, the accumulated field difference a c c D i f f will be lower. Therefore, the allowable field difference between the replicated fields will be relatively low. It is worth noting that the threshold value Adapt_th should be smaller than Fi__th, and Fi_th and K can be determined according to different applications or movie types, and are usually known by experience. If the current field difference FieldDiff is less than Fi_th and Adapt_th (yes at step S5 0 5), field F (n) is considered to be consistent with field F (n + 2) and field F (n + 2) is the field F (η) replication field. After that, in step S506, the pairing counter is incremented by one, and the mode counter, accDiff, and aveDiff are set to zero. Conversely, if the field difference is not less than Fi_th or Adapt_th (No in step S505), that is, field F (n) does not match field F (n + 2), then in step S50 7, the mode counter is increased by 1. FieldDiff Added to accDiff, aveDiff is equal to accDiff divided by the mode counter, and Adapt a th is equal to aveDiff multiplied by the coefficient K. After that, the mode of the source sequence can be judged based on the values of the pairing counter and mode counter as shown in Figure 2. When the pairing counter is greater than 1 and the mode counter is equal to 0 (YES in step S508), as in step S509, the flag-movie mode (Fi ImMode) is set to 1 to indicate that a 3 ·· 2 pull-down power sequence has been detected. Here. Conversely, the value of the mode counter is used to determine whether the sequence is in compliance with the standard identification mark 1 100 000 0π. If the pairing counter is greater than 4 (YES in step S 5 10), the sequence no longer obeys 3: 2 to pull down the identification mark, 1 0 0 0 0 ”, as in step S511, the movie mode is set to 0 to indicate that the sequence is not疋 3: 2 pull down the movie sequence. However, if the pairing counter is small or at 4 (No in step S510), the interlaced frame information is used to detect bad edit points. This interlaced frame information can indicate the frame It is a sequential or staggered frame. The detailed operation of bad edit point detection will be described below.

589876 1五、發明說明(9) 第6圖顯示依據本發明實施例之 在第6圖中用來備測壞編輯點的檢為岸^例子。 為3的交錯場。在第—個檢查點,;錯二:應广一式計數器 因此,依據3:2拉下順序其對應 ^ 7 下端場。 交錯視格"B + C”應該都是交錯視格與下一個 是交錯視格則此檢查點為一壞 右八中一個不 檢查點,交…為一上端’在第二個 之交錯視格” D”應該是循序視格。若=久,2拉序其對應 則此檢查點為一壞編輯點。 t D不疋循序視袼 在相應模式計數器為3 ^ w 的。因此’壞編輯點只會在模式計;!==此發生 此。 係、為^早偵〉則’但並不限制於 如果/又有壞編輯點被偵測到 S513,代表電影模式沒有改變。二驟S512的疋)’如步驟 點(步驟s512的否),如步驟S5U'',’' 測到壞編輯 〇。 革衫序列,且配對計數器被設為 值得注意的是,在檢杳 由檢查相應模式計數器為3~i 、裘編輯點偵測亦可以藉 (pr〇gressiverJ)而完"的循序性 下順序為正確,反之,此 、、,α果為循序’則此3 ·· 2拉 在電影模式判斷盘二點為壞編輯點。 硯格F(n)的壞編輯點偵測之後,為 第13頁 0702-8851TWF(Nl);91P59;yianh〇u.ptd 589876 ,五、發明說明(10) 了防止溢位,當模式計數器超過一既定最大值時(步驟 S514的是),如步驟S515,模式計數器被設為最大值。另 外,為了維持變動臨限值Adap_th來反應電影内容的站時 的局部活動,accDiff與aveDiff被設為〇,且當檢查下一 視格(F(n+1 ))時將會重新計算(S51 7且回到S5〇3)。 此處理流程隨著序列的輸入一直重複來動態地監控3 · 2拉下來源且檢查壞編輯點直到序列結束(步驟%16的工· U此,^ =本發明所提供之3: 2拉下電影來源之價 方法,可以考慮兩個場間的差異盥交錯、、 :否為3 · 2拉下電衫來源。此外,本發明藉由檢杳 視格貢訊來在可能發生的地 一又錯 測方法。 术徒仏更精準的壞編輯點偵 雖然本發明已以較佳實施例揭露如上, 限定本發明,任何熟悉此 以,、並非用以 神和範圍内,當可做此斗、了者,在不脫離本發明之精 範圍當視後附之申請專;===因此本發明之保護 J乾圍所界定者為準。589876 1 V. Description of the invention (9) Fig. 6 shows an example of checking for bad edit points in Fig. 6 according to the embodiment of the present invention. Is a staggered field of 3. At the first checkpoint, the second error: should be a counter type, so it corresponds to the lower end field according to the 3: 2 pull-down sequence. "Staggered view" " B + C "should both be staggered view and the next is staggered view. This checkpoint is a bad checkpoint in the right eight. The intersection ... is an upper end. The grid "D" should be a sequential view. If = long, 2 pulls corresponding to it, this checkpoint is a bad edit point. T D does not follow sequential view, and the corresponding mode counter is 3 ^ w. Therefore, 'bad edit' The point will only be counted in the mode;! == This happens. The system is ^ early detection> then ', but it is not limited to if / bad editing points are detected S513, which means that the movie mode has not changed. Second step S512疋) 'as in step point (No in step s512), as in step S5U "," Bad editing detected. 0. The leather shirt sequence, and the pairing counter is set to note that the corresponding mode is checked by inspection. The counter is 3 ~ i, and the editing point detection can also be completed by (pr0gressiverJ). The sequence is correct under "sequentiality", otherwise, the ",", and "α" results are sequential. Then this 3 ·· 2 is pulled in The movie mode judges that the second point of the disk is a bad edit point. After the bad edit point of the grid F (n) is detected, it is page 13 07 02-8851TWF (Nl); 91P59; yianhou.ptd 589876, V. Description of the invention (10) Prevents overflow, when the mode counter exceeds a predetermined maximum value (YES in step S514), as in step S515, the mode counter It is set to the maximum value. In addition, in order to maintain the local threshold of the content of the movie content when the threshold value Adapt_th is reflected, accDiff and aveDiff are set to 0, and when the next frame (F (n + 1)) is checked It will be recalculated (S51 7 and back to S503). This process flow dynamically monitors the sequence as the input of the sequence is repeated. 3 · 2 pull down the source and check for bad edits until the sequence ends (the work of step% 16 · U, ^ = The method of 3: 2 pull down movie source provided by the present invention can consider the difference between the two venues, and whether it is: 3 · 2 pull down the source of the electric shirt. In addition, the present invention borrows Checking the Gongxun is used to detect the wrong method again and again in the place where it may occur. Surgeons are more accurate detection of bad edit points. Although the present invention has been disclosed in the preferred embodiment as above, the present invention is limited, anyone familiar with this, , Not for God and the scope, as this fight, , Without departing from the scope of the application finish when the view spot after attachment of the present invention; therefore the protection as defined by the present invention === J whichever girth.

589876 ^圖式簡單說明 為使本發明之上述目的、特徵和優點能更明顯易懂, 下文特舉實施例,並配合所附圖示,進行詳細說明如下: 第1圖顯示一應用至具有四個視格(Α、β、c與D)的電 影片段之3 ·· 2拉下程序例子。 第2圖顯示一 3 : 2拉下電影來源與其識別標誌。 第3圖為-流程圖係顯示習知3 : 2拉下電影來源之偵測 方法。 第4圖顯示分別具有一好與〜壞編輯點之3 : 2拉下序 列。 第5圖為-流程圖係顯示依據本發明實施例之3:2拉下 電影來源之偵測方法之操作流程。 第6圖顯示-依據本發明實施例之壞編輯點偵測例 子。 符號說明 視格;589876 ^ Simplified illustrations of the drawings In order to make the above-mentioned objects, features, and advantages of the present invention more comprehensible, the following specific examples are given in conjunction with the accompanying drawings to explain in detail as follows: Figure 1 shows an application to Example 3 of movie frames (A, β, c, and D) 2 pull down the program example. Figure 2 shows a 3: 2 pull down the movie source and its identification mark. Figure 3 is a flow chart showing the method of detecting the source of a movie 3: 2. Figure 4 shows a 3: 2 pull down sequence with one good and one bad edit point, respectively. FIG. 5 is a flow chart showing an operation flow of a method for detecting a movie source according to 3: 2 of the embodiment of the present invention. Fig. 6 shows an example of bad edit point detection according to an embodiment of the present invention. Explanation of symbols

A、B、C、D、E、A + B、B + C η〜場索引;A, B, C, D, E, A + B, B + C η ~ field index;

FieldDiff〜場差; accDi f f〜累積場差; aveDiff〜平均場差;FieldDiff ~ field difference; accDi f f ~ cumulative field difference; aveDiff ~ average field difference;

Fi_th〜臨限值;Fi_th ~ threshold;

Adap_th〜變動臨限值; K~係數; S301、S3〇2.....S315〜操作步 S5〇l、S5 02 .....S517〜操作 ^驟Adap_th ~ threshold of variation; K ~ coefficient; S301, S3〇2 ..... S315 ~ operation steps S501, S5 02 ..... S517 ~ operation ^ step

0702-8851TWF(N1) ; 91P59 ; yianhou.ptd 第15頁0702-8851TWF (N1); 91P59; yianhou.ptd page 15

Claims (1)

589876 -六、申請專利範圍 1 · 一種3 : 2拉下電影來湄 /原之偵測方法,包括下 驟: 接收一來源; ;;該來源中具有相同類型的兩 依據該來源中相應至少 場差;以及 列步 個場之一場差; 先前場之場差,計算一平均 識 依據该場差與該平均場 別標誌存在於該來源中。 ,欢一是否有一3 : 2拉下 ^如申請專利範圍第1項所述之3:2拉下電影來源之偵 測方法,更包括依據該來源之^ μ、a # t 偵 編輯點。 原之-父錯視格貧訊來偵測—壞 範圍第2項所述之3:2拉下電影來源之偵 測π:::中該父錯視格資訊指示-相應視格為-循序或 交錯視格 4· 一種3:2拉下電影來源之偵測方 驟: 法,包括下列步 接收一來源; 初始設定複數係數為零,該等係數包括一場索引η、 一配對計數器、一模式計數器、一累積場差accDif f、與 一平均場差aveDif f ; 计异該來源中具有相同類型的兩個場p(n)與F(n + 2)之 一場差FieldDif f ; 將該場差FieldDif f與一第一臨限值Fi 一th與一變動 (Adaptive)臨限值Adap__th進行比對;589876-VI. Scope of patent application1. A 3: 2 detection method of pulling a movie to Mae / Origin, including the following steps: receiving a source; ;; the source having two types of the same type based on the corresponding at least field in the source Difference; and one of the field differences in the sequence; the field difference of the previous field is calculated based on the existence of the field difference and the average field mark in the source. Does Huanyi have a 3: 2 pull-down ^ As described in item 1 of the scope of patent application, the detection method of the 3: 2 pull-down movie source further includes detecting the edit point based on the source ^ μ, a # t. The original-the father misidentified the frame poor information to detect-the 3: 2 mentioned in the bad range item 2 pulls down the detection of the film source π ::: The parent misidentified frame information indication-the corresponding frame is-sequential or interlaced Sight 4 · A 3: 2 detection method of pulling down the source of a movie: method, including the following steps to receive a source; the initial setting of the complex coefficients is zero, and these coefficients include a field index η, a pairing counter, a mode counter, A cumulative field difference accDif f, and an average field difference aveDif f; the difference between one of the two fields p (n) and F (n + 2) of the same type in the source FieldDif f; the field difference FieldDif f Compare with a first threshold Fi_th and an adaptive threshold Adapt__th; 0702-8851TWF(N1) ; 91P59 : yianhou.ptd 第16頁 589876 ,六、申請專利範圍 如果該場差FieldDiff小於該Fi —th與該Adap th,將 該配對計數器增加1、且將該模式計數器、該ac“iff、與 該aveDi f f設為〇 ; 〆、 若場差不小於該Fi_th或該Adap —th,將該模式計數器 增加1、將該FieidDiff加至該accDiff、該aveDiff等於核 accDiff除以該模式計數器,且該Adap_th等於該 乘上一係數κ ;以及 當該配對計數器大於丨且該模式計數器等於0時,债測 該來源為一 3 : 2拉下電影來源。 5土如"專利範圍第4項料之3:2拉下電影來源之偵 i 9’知更包帝括當該配對計數器大於4時,該來源被偵測 為非3 : 2拉下電影來源。 測Λ如Π i:範圍第4項所述之3:2拉下電影來源之偵 錚作p ^藉由判斷包括相應該模式計數器等於3之 ^二之二像視格是否為一循序視格或是-交錯視格來 ',、]3 . 2拉下電影序列中的壞編輯點。 測二如範所述之3:2拉下電影來源之偵 時,該壞編輯點於該來源格並非為一交錯視格 測二如=:範2拉下電影來源之偵 格與該視格並非為交錯視G任何一該視格之後之相鄰視 偵測。 格4,該壞編輯點於該來源中被 9.如申請專利範圍第6項所述之3:2拉下電影來源之债0702-8851TWF (N1); 91P59: yianhou.ptd page 16 589876, patent application scope If the field difference FieldDiff is smaller than the Fi — th and the Adapt th, increase the pairing counter by 1, and the pattern counter, The ac "iff and the aveDi ff are set to 0; 〆, if the field difference is not less than the Fi_th or the Adapt —th, increase the mode counter by 1, add the FieidDiff to the accDiff, and the aveDiff is equal to the core accDiff divided by The mode counter, and the Adapt_th is equal to the multiplication by a coefficient κ; and when the pairing counter is greater than 丨 and the mode counter is equal to 0, the source is measured as a 3: 2 pull down movie source. 5 Turu " Patent The 4th item in the range of 3: 2 pull down the source of the movie i 9 'robin includes when the pairing counter is greater than 4, the source is detected as a non 3: 2 pull down movie source. i: The 3: 2 pull down of the source of the movie described in the range of item 4 ^ by judging whether the image frame including the corresponding mode counter equal to 3 ^ 2 is a sequential frame or-interlaced格格 来 ',,] 3.2 pull down the bad sequence in the movie sequence Test 2: As described in Fan 3: 2, when the source of the movie is pulled down, the bad editing point in the source box is not an interlaced view. As shown in the example: = Fan 2 is used to pull down the source of the movie. The view frame is not the detection of the adjacent view after any one of the view frames of interlaced view G. Grid 4, the bad edit point in the source was pulled down by the movie 3: 2 as described in item 6 of the scope of patent application Debt of source 0702-8851TWF(N1) ; 91P59 ; yianhou.ptd 第17頁 589876 -六、申請專利範圍 , 測方法,當該場為一上端場且該視格並非為一循序視格 時,該壞編輯點於該來源中被偵測。 N 1 0 .如申請專利範圍第4項所述之3 : 2拉下電影來源之 , 偵測方法,更包括藉由判斷分別相應該模式計數器為3與4 之兩場是否為循序來偵測該來源中之壞編輯點。 11.如申請專利範圍第1 〇項所述之3 : 2拉下電影來源之 偵測方法,其中對應該模式計數器為3之該場為一下端 場。 . f0702-8851TWF (N1); 91P59; yianhou.ptd page 17 589876-6. Patent application scope, testing method, when the field is an upper field and the view is not a sequential view, the bad edit point is at Detected in this source. N 1 0. As described in item 4 of the scope of patent application 3: 2, the source of the movie is pulled down, and the detection method further includes detecting by determining whether the two fields corresponding to the mode counters 3 and 4 are sequential. Bad edit point in this source. 11. The method for detecting the source of a movie according to 3: 2 described in item 10 of the scope of the patent application, wherein the field corresponding to the mode counter of 3 is the lower end field. . f 0702-8851TWF(N1) ; 91P59 ; yianhou.ptd 第18頁0702-8851TWF (N1); 91P59; yianhou.ptd page 18
TW92105169A 2003-03-11 2003-03-11 Method for 3:2 pull-down film source detection TW589876B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW92105169A TW589876B (en) 2003-03-11 2003-03-11 Method for 3:2 pull-down film source detection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW92105169A TW589876B (en) 2003-03-11 2003-03-11 Method for 3:2 pull-down film source detection

Publications (2)

Publication Number Publication Date
TW589876B true TW589876B (en) 2004-06-01
TW200418320A TW200418320A (en) 2004-09-16

Family

ID=34059086

Family Applications (1)

Application Number Title Priority Date Filing Date
TW92105169A TW589876B (en) 2003-03-11 2003-03-11 Method for 3:2 pull-down film source detection

Country Status (1)

Country Link
TW (1) TW589876B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7599558B2 (en) 2005-08-24 2009-10-06 Mavs Lab. Inc. Logo processing methods and circuits

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7599558B2 (en) 2005-08-24 2009-10-06 Mavs Lab. Inc. Logo processing methods and circuits

Also Published As

Publication number Publication date
TW200418320A (en) 2004-09-16

Similar Documents

Publication Publication Date Title
Thia et al. Measurement of disease activity in ulcerative colitis: interobserver agreement and predictors of severity
Li et al. Evaluating the utility of non–echo‐planar diffusion‐weighted imaging in the preoperative evaluation of cholesteatoma: A meta‐analysis
Pinson et al. An objective method for combining multiple subjective data sets
Van Beek et al. Hyperpolarised 3He MRI versus HRCT in COPD and normal volunteers: PHIL trial
US8625027B2 (en) System and method for verification of media content synchronization
RU2008135986A (en) METHOD FOR ASSESSING IMAGE QUALITY, METHOD FOR FORMING A DOCUMENT, COMPUTER SOFTWARE PRODUCT, USER INTERFACE, DATA FILE AND ELECTRONIC DEVICE
Beer et al. MRI‐defined sarcopenia predicts mortality in patients with chronic liver disease
EP1874055A2 (en) Pulldown correction for progressive scan display of audiovisual recordings
TW200945903A (en) Scene change detection method and related apparatus
JP4073131B2 (en) Error block detection method in compressed video sequence
TW589876B (en) Method for 3:2 pull-down film source detection
JP2016112040A (en) Bed area extraction method, bed area extraction device and bed area extraction program
JP4749139B2 (en) Dangerous video detection method, video difference detection method and apparatus
TW201104243A (en) Method for misalignment of photolithographic masks from a charged particle microscopic image and system thereof
CN109582578B (en) System, method, computer readable medium and electronic device for software test case
Farias et al. Objective video quality metric based on data hiding
KR20200019741A (en) Data Analysis Support System and Data Analysis Support Method
CN106980749B (en) Quick auxiliary positioning method for diseases
Chien et al. Considerations for mean upper cervical cord area implementation in a longitudinal MRI setting: methods, interrater reliability, and MRI quality control
Madadi-Sanjani et al. Definition, documentation, and classification of complications in pediatric surgical literature—a plea for standardization
Blom et al. Testing the sternal clavicle ageing method on a post‐medieval Dutch skeletal collection
Michel Digital File Sharing and the Music Industry: Was There a Situation Effect?
JP6257373B2 (en) Fault extraction support device
Li et al. Impact of atherosclerosis and age on Doppler sonographic parameters in the diagnosis of renal artery stenosis
JP2011034542A (en) Device for evaluating reasonable standard residential site by regression analysis for canceling "multicollinearity"

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees