[go: up one dir, main page]

CN102655582B - Apparatus and method for detection of moving video aspect - Google Patents

Apparatus and method for detection of moving video aspect Download PDF

Info

Publication number
CN102655582B
CN102655582B CN201110052278.XA CN201110052278A CN102655582B CN 102655582 B CN102655582 B CN 102655582B CN 201110052278 A CN201110052278 A CN 201110052278A CN 102655582 B CN102655582 B CN 102655582B
Authority
CN
China
Prior art keywords
value
scene
cycle
detection unit
pattern
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.)
Active
Application number
CN201110052278.XA
Other languages
Chinese (zh)
Other versions
CN102655582A (en
Inventor
李东信
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Novatek Microelectronics Corp
Original Assignee
Novatek Microelectronics 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 Novatek Microelectronics Corp filed Critical Novatek Microelectronics Corp
Priority to CN201110052278.XA priority Critical patent/CN102655582B/en
Publication of CN102655582A publication Critical patent/CN102655582A/en
Application granted granted Critical
Publication of CN102655582B publication Critical patent/CN102655582B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Analysis (AREA)
  • Television Signal Processing For Recording (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

A device and method for detecting dynamic video sample. The apparatus for detecting dynamic video patterns comprises a motion detection unit, a cyclic detection unit, a video detection unit and a de-interlacing unit. The motion detection unit receives a plurality of continuous scene images for analyzing and determining whether each scene image has motion. A first value is given if it belongs to a scene that is not moving and a second value is given if it belongs to a scene that is moving, so as to obtain a string of values. The loop detection unit receives the string of values and detects whether the first value or the second value has a loop period to output a loop determination value. The film detection unit receives the string of values and the cycle decision value to determine whether the received scene images belong to a film format, and outputs a change state. And the de-interlacing unit restores the scene images into an original film according to the change state of the film detection unit.

Description

可动视讯态样检测装置与方法Apparatus and method for detection of moving video aspect

技术领域technical field

本发明涉及一种检测视讯态样(video cadence)技术,特别是涉及可动视讯态样的检测技术。The invention relates to a technology for detecting video cadences, in particular to a detection technology for moving video cadences.

背景技术Background technique

由于拍摄的影片速率一般会与播送标准不同。影片拍摄速率例如是24Hz。一般的播送标准例如是NTSC为60Hz而PAL&SECAM为50Hz。因此,为了要使拍摄的影片能播放于NTSC或PAL&SECAM等标准,拍摄的影片会被拉到(pull down)所要的播送标准。Because the shooting video rate is generally different from the broadcasting standard. The video recording rate is, for example, 24Hz. Common broadcasting standards are, for example, 60 Hz for NTSC and 50 Hz for PAL & SECAM. Therefore, in order to make the filmed video playable in standards such as NTSC or PAL & SECAM, the filmed film will be pulled down to the desired broadcasting standard.

例如要从24Hz改变成PAL标准的50Hz时,一张拍摄的影像会拆解成二张,包括偶影像与奇影像。如一般所知,偶影像是从拍摄的影像中取出属于偶数扫描线的影像所构成,奇影像是从拍摄的影像中取出属于奇数扫描线的影像所构成。如此可以将24Hz改变成约50Hz的波方速率。换句话说,拍摄的原始影像会依照播放标准所要求的速率,依照所选定的视讯态样拆解,以奇/偶交错(interlace)的方式进行播放。For example, when changing from 24Hz to PAL standard 50Hz, one captured image will be disassembled into two, including even and odd images. As is generally known, an even image is formed by extracting images belonging to even scan lines from the captured images, and an odd image is formed by extracting images belonging to odd scan lines from the captured images. This changes the 24Hz to a wave square rate of about 50Hz. In other words, the captured original image will be disassembled according to the selected video format at the rate required by the playback standard, and played in an odd/even interlaced manner.

反之,如果要将播放的场景影像(field image)还原原始拍摄的影像,则其需要检测出其视讯态样,而根据视讯态样还原原始拍摄的影像。Conversely, if the played field image is to be restored to the original captured image, then it needs to detect its video mode, and restore the original captured image according to the video mode.

图1示出了传统将播放的场景影像还原成原始影片的系统方块示意图。参阅图1,移动检测单元(motion detection)100对于当前要处理的当前场景影像需要参考先前场景影像与后续场景影像以决定当前场景影像是移动。例如当前场景影像与后续场景影像是来自相同拍摄影像的偶影像与奇影像,则会得到没有移动的结果。如果当前场景影像与后续场景影像是来自不同拍摄影像的偶影像与奇影像,则会得到有移动的结果。换句或说,每一张场景影像都会被检测是否有移动,以得到一样式。FIG. 1 shows a schematic block diagram of a conventional system for restoring a played scene image to an original film. Referring to FIG. 1 , the motion detection unit (motion detection) 100 needs to refer to previous scene images and subsequent scene images to determine whether the current scene image is moving for the current scene image to be processed. For example, if the current scene image and subsequent scene images are even images and odd images from the same captured image, a result of no movement will be obtained. If the current scene image and subsequent scene images are even and odd images from different captured images, a moving result will be obtained. In other words, each scene image will be detected for motion to obtain a style.

识别变化态样单元(cadence pattern recognition)102,将移动检测单元100所检测的样式与在态样数据单元(cadence database)104中的数据进行比对,得到对应的变化态样(cadence pattern),最后依照此变化态样控制解交错单元106,以还原每一个拍摄的影像,又称为帧(帧)。Identify the change pattern unit (cadence pattern recognition) 102, compare the pattern detected by the movement detection unit 100 with the data in the pattern data unit (cadence database) 104, and obtain the corresponding change pattern (cadence pattern), Finally, the de-interlacing unit 106 is controlled according to the changing state to restore each captured image, which is also called a frame (frame).

在上述的传统方式,要正确的将场景影像还原成原始影像是需要态样数据单元104以储存各种变化态样。除了需要使用态样数据单元104来储存各种变化态样,如果更多型的变化态样被使用,而没有被储存在态样数据单元104中,就无法正确操作。In the traditional method mentioned above, to correctly restore the scene image to the original image requires the aspect data unit 104 to store various changes. In addition to using the aspect data unit 104 to store various variations, if more types of variations are used without being stored in the aspect data unit 104 , it cannot operate correctly.

发明内容Contents of the invention

本发明提供一种可动视讯态样检测装置与方法,可以检测出具有何种变化态样的影片,无需受限于固定数量的变化态样检测。The present invention provides a movable video pattern detection device and method, which can detect what kind of changing patterns a film has, without being limited to a fixed number of changing pattern detections.

本发明的一实施例提供一种可动视讯态样检测装置,包括一移动检测单元、一循环检测单元、一影片检测单元以及一解交错单元。移动检测单元接收接续的多个场景影像,用以分析决定每一个该场景影像是否有移动。如果是属于不移动的场景就给予一第一数值,如果其是属于移动的场景就给予一第二数值,以得到一串数值。循环检测单元接收此串数值检测出是否该第一数值或该第二数值有一循环周期,以输出一循环决定值。影片检测单元接收此串数值以及此循环决定值,以决定所接收的这些场景影像是属于影片格式,而输出一变化态样。解交错单元,根据该影片检测单元的该变化态样将这些场景影像还原成一原始影片。An embodiment of the present invention provides a moving video pattern detection device, which includes a motion detection unit, a cycle detection unit, a video detection unit and a deinterlacing unit. The motion detection unit receives a plurality of consecutive scene images for analyzing and determining whether each scene image is moving. If it belongs to a non-moving scene, a first value is given, and if it belongs to a moving scene, a second value is given to obtain a series of values. The cycle detection unit receives the string of values and detects whether the first value or the second value has a cycle period, so as to output a cycle decision value. The film detection unit receives the string of values and the cycle decision value to determine whether the received scene images belong to the film format, and outputs a change pattern. The de-interlacing unit restores the scene images into an original video according to the change of the video detection unit.

本发明的一实施例也提供一种检测影片与交错态样的检测装置,包括一移动检测单元、一循环检测单元、一影片检测单元。移动检测单元接收接续的多个场景影像,用以分析决定每一个该场景影像是否有移动。如果是属于不移动的场景就给予一第一数值,如果是属于移动的场景就给予一第二数值,以得到一串数值。循环检测单元接收该串数值检测出是否该第一数值或该第二数值有一循环周期,且输出该循环周期。影片检测单元接收该串数值且根据该循环周期决定是否是影片格式,以及由在该循环周期内的该第一数值与该第二数值的变化判断出一交错态样。An embodiment of the present invention also provides a detection device for detecting a film and an interlaced pattern, including a motion detection unit, a loop detection unit, and a film detection unit. The motion detection unit receives a plurality of consecutive scene images for analyzing and determining whether each scene image is moving. If it belongs to a non-moving scene, a first value is given, and if it belongs to a moving scene, a second value is given to obtain a series of values. The cycle detection unit receives the string of values to detect whether the first value or the second value has a cycle, and outputs the cycle. The video detection unit receives the series of values and determines whether it is a video format according to the cycle period, and judges an interlaced pattern according to the change of the first value and the second value within the cycle period.

本发明的一实施例也提供一种检测影片与交错态样的方法,用于检测接续输入给检测装置的多个场景影像。此方法包括分析决定每一个该场景影像是否有移动,如果是属于不移动的场景就给予一第一数值,如果是属于移动的场景就给予一第二数值,以得到一串数值。另外,此方法还包括检测出该串数值是否该第一数值或该第二数值有一循环周期。根据该串数值决定是否属于一影片格式。由在该循环周期内的该第一数值与该第二数值的变化判断出一交错态样。An embodiment of the present invention also provides a method for detecting a film and an interlaced pattern, which is used for detecting a plurality of scene images successively input to a detection device. The method includes analyzing and determining whether each scene image is moving, and giving a first value if it belongs to a non-moving scene, and giving a second value if it belongs to a moving scene, so as to obtain a series of values. In addition, the method further includes detecting whether the string of values has a cycle period of the first value or the second value. Determine whether it belongs to a video format according to the string of values. A staggered pattern is determined by the change of the first value and the second value within the cycle period.

为使本发明的上述特征和优点能更明显易懂,下文特举实施例,并结合附图详细说明如下。In order to make the above-mentioned features and advantages of the present invention more comprehensible, the following specific embodiments are described in detail with reference to the accompanying drawings.

附图说明Description of drawings

图1示出了传统的将播放的场景影像还原成原始影片的系统方块示意图。FIG. 1 is a schematic block diagram of a traditional system for restoring a played scene image to an original film.

图2示出了依据一实施例采用2:2的拆解机制示意图。FIG. 2 shows a schematic diagram of a disassembly mechanism using 2:2 according to an embodiment.

图3示出了依据一实施例采用2:3的拆解机制示意图。FIG. 3 shows a schematic diagram of a disassembly mechanism using 2:3 according to an embodiment.

图4示出了图3的数值串与变化态样的关系示意图。FIG. 4 shows a schematic diagram of the relationship between the numerical string and the change pattern in FIG. 3 .

图5示出了依预定数量的数值串的分析示意图。FIG. 5 shows a schematic diagram of analyzing numerical strings according to a predetermined number.

图6示出了依据一实施例,可动视讯态样检测装置的结构示意图。FIG. 6 shows a schematic structural diagram of a movable video aspect detection device according to an embodiment.

附图符号说明Description of reference symbols

100:移动检测单元100: mobile detection unit

102:识别变化态样单元102: Identifying Variation Aspect Units

104:态样数据单元104: Aspect data unit

106:解交错单元106: de-interleaving unit

200:移动检测单元200: mobile detection unit

202:循环检测单元202: Loop detection unit

204:影片检测单元204: Film detection unit

206:解交错单元206: de-interleaving unit

具体实施方式Detailed ways

本发明可以从播放的场景影像中直接检测出变化态样,而无需仅受限于固定数量的变化态样,如此更可以因应各种不同的变化态样。以下举一些实施例来说明本发明,但是本发明不限于所举的实施例。另外,所举的实施例之间也允许有适当结合的可能。The present invention can directly detect changes from the played scene images without being limited to a fixed number of changes, and thus can respond to various changes. The following examples are given to illustrate the present invention, but the present invention is not limited to the examples given. In addition, the possibility of appropriate combination is also allowed among the cited embodiments.

在检测每一张场景影像是否有移动的机制如下面描述。The mechanism for detecting whether there is movement in each scene image is described below.

以影片是采用3:2的拆解为例,其代表前一张影像会被拆解成三张场景影像,而后一张影像会被拆解成二张场景影像。经过移动检测单元的检测后由最近场景影像到最久场景影像的顺序会得到10100的样式(pattern),其中1代表有移动,0代表没有移动。Take the 3:2 disassembly as an example, which means that the previous image will be disassembled into three scene images, and the latter image will be disassembled into two scene images. After being detected by the motion detection unit, a sequence of 10100 patterns will be obtained from the latest scene image to the oldest scene image, wherein 1 represents movement, and 0 represents no movement.

图2示出了依据一实施例采用2:2的拆解机制示意图。参阅图2,以拍摄的影片以帧(图框)为单位,其拍摄速率例如是Hz。于本实施例取四个帧(图框)为例,例如是帧(图框)1-帧(图框)4。由于本实施例是2:2的拆解机制,每一个帧会依序被拆解成偶影像(偶)与奇影像(奇)达到50/60Hz的场景影像。本实施例以偶影像为开始,然而也可以以奇影像开始播放。帧拆解成的偶影像与奇影像后,根据播放标准将偶影像与奇影像组合成场景影像例如在电视播放。此帧1-帧4产生的场景影像例如1-8。以帧1为例,由于场景影像1与场景影像2是来自相同的帧1,其影像是由偶影像与奇影像所编织(weave)而成,因此由场景影像1比较于场景影像2是没有移动,因此标示为0。接着,场景影像2会比较于场景影像3,而发现是有移动。这是因为场景影像2是帧1的影像,而场景影像3是帧2的影像,除非是静态影像,否则场景影像2回得到1的标示。FIG. 2 shows a schematic diagram of a disassembly mechanism using 2:2 according to an embodiment. Referring to FIG. 2 , the captured video is taken as a frame (picture frame), and its shooting rate is, for example, Hz. In this embodiment, four frames (frames) are taken as an example, such as frame (frame) 1-frame (frame) 4 . Since this embodiment is a 2:2 disassembly mechanism, each frame will be sequentially disassembled into an even image (Even) and an odd image (Odd) up to 50/60Hz scene images. This embodiment starts with an even image, but it is also possible to start playing with an odd image. After the frames are disassembled into even images and odd images, the even images and odd images are combined into scene images according to broadcasting standards such as playing on TV. The scene images generated by frame 1-frame 4 are, for example, 1-8. Taking frame 1 as an example, since scene image 1 and scene image 2 come from the same frame 1, the images are weaved from even images and odd images, so there is no difference between scene image 1 and scene image 2 move, so it is marked as 0. Then, the scene image 2 is compared with the scene image 3, and it is found that there is movement. This is because scene image 2 is the image of frame 1, and scene image 3 is the image of frame 2, unless it is a static image, scene image 2 will always be marked with 1.

依此类推,其他的场景影像3-8也会有相同的循环现象,而有特定变化态样。本实施例是01010101。由于每一个场景影像只会有0或1的状态,因此可以使用ㄧ个位来代表二进位的数值,构成数值串。于此0与1是二进位的数值,但是就一般而言,其也可以有不同的数值来标示此二种状态,不限于0与1的标示方式。换句话说,没有移动的情形可以用一个数值代表,而有移动的情形可以用另一个数值代表。By analogy, other scene images 3-8 will also have the same cycle phenomenon, but have specific changes. This example is 01010101. Since each scene image can only have a state of 0 or 1, one bit can be used to represent a binary value to form a value string. Here, 0 and 1 are binary values, but in general, different values can be used to mark the two states, not limited to the way of marking 0 and 1. In other words, a situation with no movement can be represented by one value, and a situation with movement can be represented by another value.

就图2的实施例,在数值串中例如以第一个位的数值0为起始,其每隔两个位就会重复出现,如箭头所示。With respect to the embodiment in FIG. 2 , in the value string, for example, the value 0 of the first bit starts, and it repeats every two bits, as shown by the arrow.

图3示出了依据一实施例采用2:3的拆解机制示意图。参阅图3,由于是2:3的拆解机制,帧2会拆解成三个影像,依照前面图2所描述的相同机制,相邻于新的帧的场景影像会显示有移动的现象,而标示为1。于本实施例,其变化态样是01001的重复。FIG. 3 shows a schematic diagram of a disassembly mechanism using 2:3 according to an embodiment. Refer to Figure 3. Due to the 2:3 disassembly mechanism, frame 2 will be disassembled into three images. According to the same mechanism described in Figure 2 above, the scene images adjacent to the new frame will show movement. And marked as 1. In this embodiment, the variation is the repetition of 01001.

图4示出了图3的数值串与变化态样的关系示意图。取20个位的数值串来分析。如果是检测循环周期为5的情形,例如取左边第1个位的数值0来检验,其预期每隔5个位会循环重复。如果检验不是对应5的循环周期,则数值0不会循环出现,而代表不是正确的循环周期。FIG. 4 shows a schematic diagram of the relationship between the numerical string and the change pattern in FIG. 3 . Take the 20-digit value string for analysis. If the detection cycle period is 5, for example, the value 0 of the first bit on the left is used for inspection, and it is expected that the cycle will repeat every 5 bits. If the check does not correspond to a cycle of 5, the value 0 will not cycle, but will not represent the correct cycle.

另外,每一个数值1的前后都是0,这代表有帧的变化,是属影片的动态显示。如果,仅是结果符合每一个数值1的前后都是0且具有固定的循环周期,则可以推论是影片,且可以从循环周期的变化态样回复到原始的影片帧。In addition, each value 1 is preceded by 0, which means that there is a frame change, which belongs to the dynamic display of the movie. If only the result conforms to the fact that each value 1 is followed by 0 and has a fixed cycle period, it can be inferred that it is a movie, and the original movie frame can be restored from the changed state of the cycle period.

图5示出了依预定数量的数值串的分析示意图。参阅图5,为了能有效检测各种可能的循环周期或是变化态样,其可以设定取一预定数量的数值串。本实施例例如是取31个位的数值串来分析。当得到对应有无移动的数值串后,可以针对可能的几种循环周期或是任选的循环周期做检测,以检验是否存在有循环周期。检验的循环周期例如是5,10,12,15,25等,但是这些不是唯一的方式。循环周期5,10,12,15,25所包含的变化态样对应不同的拆解方式:FIG. 5 shows a schematic diagram of analyzing numerical strings according to a predetermined number. Referring to FIG. 5 , in order to effectively detect various possible cycle periods or changes, it can be set to take a predetermined number of value strings. In this embodiment, for example, a numerical string of 31 digits is used for analysis. After obtaining the numerical string corresponding to whether there is movement, detection may be performed on several possible cycle periods or optional cycle periods to check whether there is a cycle period. The cycle times of inspection are for example 5, 10, 12, 15, 25 etc., but these are not the only ways. The changes included in cycle 5, 10, 12, 15, and 25 correspond to different dismantling methods:

循环周期5:(32);Cycle 5: (32);

循环周期10:(22)、(2224)、(2332)、(55)、(64);Cycle 10: (22), (2224), (2332), (55), (64);

循环周期12:(32322);Loop cycle 12: (32322);

循环周期15:(87);Loop cycle 15:(87);

循环周期25:(222222222223)。Cycle 25: (222222222223).

就实际循环周期的选择而言,循环周期n可为由50/60Hz中的多个因数值中所选定的值。As far as the actual cycle period is selected, the cycle period n may be a value selected from a number of factor values in 50/60 Hz.

图5的拆解方式例如是3:3:2:2,其代表原始帧中的第一个帧拆解成由偶影像与奇影像混合的三个影像。第二个帧与第一个帧一样也是拆解成三个影像。第三个帧拆解成二个影像。第四个帧也是拆解成二个影像。另外2:3:3:2的拆解数值串与3:3:2:2的拆解数值串也有相似的循环关系,是01001001010100100101。拆解后的影像维持偶奇的顺序或是奇偶的顺序。于本实施例,取第一个位的数值0为参考,如果检验循环周期5的情形,在第6个位是1,因此不存在循环周期为5的情形。如果检验循环周期10的情形,每隔10个位的数值重复是0,因此存在循环周期为10的情形。如果检验循环周期12的情形,在第13个位是1,因此不存在循环周期为12的情形。如果检验循环周期15的情形,在第16个位是1,因此不存在循环周期为15的情形。如果检验循环周期25的情形在第26个位是1,因此不存在循环周期为25的情形。另外,如果检验循环周期5的情形,其为循环周期10的因数,因此仍可归为循环周期10的情形。依此种方式就可以找出变化态样,其中循环周期10包含有多种可能的拆解方式,但是依照循环周期10的变化态样,仍可以正确推算出组合的方式,而还原帧数据。The disassembly method in FIG. 5 is, for example, 3:3:2:2, which means that the first frame in the original frame is disassembled into three images mixed with even images and odd images. The second frame is disassembled into three images like the first frame. The third frame is disassembled into two images. The fourth frame is also disassembled into two images. In addition, the disassembled value string of 2:3:3:2 and the disassembled value string of 3:3:2:2 also have a similar circular relationship, which is 01001001010100100101. The disassembled images maintain the order of even-odd or even-odd. In this embodiment, the value 0 of the first bit is taken as a reference. If the case of cycle period 5 is checked, the sixth bit is 1, so there is no case of cycle period 5. If the case of a cycle period of 10 is examined, the value of every 10th bit repeats to be 0, so there is a case of a cycle period of 10. If we examine the case of cycle 12, the 13th bit is 1, so there is no case of cycle 12. If we examine the case of cycle 15, the 16th bit is 1, so there is no case of cycle 15. If the case with a cycle time of 25 is checked, the 26th bit is 1, so there is no case with a cycle time of 25. Also, if the case of cycle 5 is examined, it is a factor of cycle 10, so it can still be attributed to the case of cycle 10. In this way, the change pattern can be found out. The cycle 10 includes many possible dismantling methods, but according to the change pattern of the cycle cycle 10, the combination method can still be correctly calculated to restore the frame data.

此数值串是对应影片的播放格式。本实施例在决定场景影像是否为动态影片的检测机制下,每一个数值1的前后数值都为0。This value string is the playback format of the corresponding video. In this embodiment, under the detection mechanism for determining whether the scene image is a dynamic movie, the values before and after each value 1 are 0.

基于上述的机制与方法,其可以由可动视讯态样检测装置来实施。图6示出了依据一实施例,可动视讯态样检测装置的结构示意图。可动视讯态样检测装置,包括一移动检测单元200、一循环检测单元202、一影片检测单元204以及一解交错单元206。移动检测单元200接收接续的多个场景影像,用以分析决定每一个场景影像是否有移动。如果是属于不移动的场景就给予一第一数值,例如是0。如果场景影像是属于移动的场景就给予一第二数值例如是1,如此以得到一串数值,其例如是位串值。循环检测单元202接收此串数值检测出是否第一数值或第二数值有一循环周期,以输出一循环决定值。此循环决定值是可以表示存在循环周期的任何适当形式的决定值,不限于特定方式或资讯。Based on the above mechanism and method, it can be implemented by a movable video aspect detection device. FIG. 6 shows a schematic structural diagram of a movable video aspect detection device according to an embodiment. The moving video pattern detection device includes a motion detection unit 200 , a cycle detection unit 202 , a film detection unit 204 and a deinterlacing unit 206 . The motion detection unit 200 receives a plurality of consecutive scene images for analyzing and determining whether each scene image has motion. If it belongs to a non-moving scene, a first value, such as 0, is given. If the scene image belongs to a moving scene, a second value such as 1 is given, so as to obtain a series of values, such as a bit string value. The cycle detection unit 202 receives the string of values and detects whether the first value or the second value has a cycle period, so as to output a cycle decision value. The cyclic decision value is any suitable form of decision value that can indicate the existence of a cyclic period, and is not limited to a specific method or information.

接着,影片检测单元204接收此串数值以及此循环决定值,以决定所接收的这些场景影像是属于影片格式,而输出一变化态样。解交错单元206,根据该影片检测单元的变化态样将这些场景影像还原成一原始影片。解交错单元206根据变化态样可以得知从原始帧拆解成场景影像的方式,可以实质上还原到原始帧的数据。Next, the video detection unit 204 receives the string of values and the loop determination value to determine whether the received scene images belong to the video format, and outputs a change pattern. The de-interlacing unit 206 restores the scene images into an original video according to the changes of the video detection unit. The de-interlacing unit 206 can learn how to decompose the original frame into a scene image according to the change pattern, and can substantially restore the data of the original frame.

另外,当移动检测单元200与解交错单元206在执行其功能时,对于要处理的当前场景影像外,还会参考相邻的先前场景影像或是后续的场景影像又或是两者皆参考,其取决于检测移动的机制与解交错的机制,不限定于特定方式。本发明的多个实施例是要产生数值串,而从数值串中直接检测出变化态样,以因应多种可动的视讯态样。In addition, when the motion detection unit 200 and the deinterleaving unit 206 are performing their functions, in addition to the current scene image to be processed, they also refer to the adjacent previous scene image or subsequent scene image or both, It depends on the mechanism of motion detection and de-interleaving, and is not limited to a specific method. Several embodiments of the present invention are to generate a numerical string, and directly detect changes from the numerical string, so as to respond to various moving video states.

虽然本发明已以实施例揭示如上,然其并非用以限定本发明,本领域的技术人员,在不脱离本发明的精神和范围的前提下,可作若干的更动与润饰,故本发明的保护范围是以本发明的权利要求为准。Although the present invention has been disclosed above with the embodiments, it is not intended to limit the present invention. Those skilled in the art can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, the present invention The scope of protection is based on the claims of the present invention.

Claims (20)

1.一种可动视讯态样检测装置,包括:1. A movable video pattern detection device, comprising: 一移动检测单元,接收接续的多个场景影像,用以分析决定每一个该场景影像是否有移动,如果是属于不移动的场景就给予一第一数值,如果是属于移动的场景就给予一第二数值,以得到一串数值;A motion detection unit, which receives a plurality of consecutive scene images, and analyzes and determines whether each scene image is moving. If it belongs to a non-moving scene, it will give a first value; if it belongs to a moving scene, it will give a first value. Binary value to get a string of values; 一循环检测单元,在第一阶段,接收该串数值,并只依据一组候选周期,检测出是否该第一数值或该第二数值有一循环周期,以输出一循环决定值;A cycle detection unit, in the first stage, receives the string of values, and only based on a set of candidate cycles, detects whether the first value or the second value has a cycle, so as to output a cycle decision value; 一影片检测单元,在接续该第一阶段的第二阶段,接收该串数值以及该循环决定值,以决定所接收的这些场景影像是属于影片格式,而输出一变化态样,其中该循环决定值只对应到一组候选变化态样,而该变化态样是该组候选变化态样之其一;以及A film detection unit, in the second stage following the first stage, receives the series of values and the loop decision value to determine whether the received scene images belong to the movie format, and outputs a change pattern, wherein the loop decision A value corresponds only to a set of candidate variants for which the variant is one of the set of candidate variants; and 一解交错单元,根据该影片检测单元的该变化态样将这些场景影像还原成一原始影片。A de-interlacing unit restores the scene images into an original video according to the change of the video detection unit. 2.如权利要求1所述的可动视讯态样检测装置,其中该移动检测单元是由一当前场景影像与相邻的一后续场景影像或是一先前场景影像比较,以决定是否该当前场景影像有移动。2. The movable video pattern detection device as claimed in claim 1, wherein the motion detection unit compares a current scene image with an adjacent subsequent scene image or a previous scene image to determine whether the current scene The image has moved. 3.如权利要求2所述的可动视讯态样检测装置,其中该第一数值与该第二数值是由一个位来纪录,构成一预定数量的一串位。3. The movable video pattern detection device as claimed in claim 2, wherein the first value and the second value are recorded by one bit, forming a predetermined number of a series of bits. 4.如权利要求3所述的可动视讯态样检测装置,其中该循环检测单元是检测对于选定的一个位的一个二进位值是否隔一检测周期重复出现,且接续的多个该串位是相同的该检测周期,其中确定后的该检测周期即是该循环周期。4. The movable video pattern detection device as claimed in claim 3, wherein the loop detection unit is to detect whether a binary value for a selected bit is repeated at intervals of a detection cycle, and the consecutive multiple strings bits are the same detection period, wherein the determined detection period is the cycle period. 5.如权利要求4所述的可动视讯态样检测装置,其中该循环周期包括检查每隔n个位的周期,其中n为由50/60Hz中的多个因数值中所选定的值。5. The movable video aspect detection device as claimed in claim 4, wherein the cycle period comprises a period of checking every n bits, wherein n is a value selected from a plurality of factor values in 50/60 Hz . 6.如权利要求4所述的可动视讯态样检测装置,其中该影片检测单元取得该循环周期,也同时检测在该串位中代表移动的该第二数值的该位的前后二个该位是代表没有移动的该第一数值,以决定是属于影片格式。6. The movable video pattern detection device as claimed in claim 4, wherein the film detection unit obtains the cycle period, and simultaneously detects the two before and after the bit representing the moving second value in the string The bit is the first value that represents no movement, to determine whether it belongs to the video format. 7.如权利要求4所述的可动视讯态样检测装置,其中这些场景影像是由多个偶影像与多个奇影像依照一交错态样的顺序所组成,其中对于每一个该原始影片,取偶数扫描线的影像数据构成对应的该偶影像以及取奇数扫描线的影像数据构成对应的该奇影像。7. The movable video pattern detection device as claimed in claim 4, wherein the scene images are composed of a plurality of even images and a plurality of odd images in an interlaced order, wherein for each original video, The image data of even scanning lines is used to form the corresponding even image, and the image data of odd scanning lines is used to form the corresponding odd image. 8.如权利要求4所述的可动视讯态样检测装置,其中该第一数值是0,该第二数值是1。8. The mobile video aspect detection device as claimed in claim 4, wherein the first value is 0, and the second value is 1. 9.一种检测影片与交错态样的检测装置,包括:9. A detection device for detecting a film and an interlaced pattern, comprising: 一移动检测单元,接收接续的多个场景影像,用以分析决定每一个该场景影像是否有移动,如果是属于不移动的场景就给予一第一数值,如果是属于移动的场景就给予一第二数值,以得到一串数值;A motion detection unit, which receives a plurality of consecutive scene images, and analyzes and determines whether each scene image is moving. If it belongs to a non-moving scene, it will give a first value; if it belongs to a moving scene, it will give a first value. Binary value to get a string of values; 一循环检测单元,在第一阶段,接收该串数值,并只依据一组候选周期,检测出是否该第一数值或该第二数值有一循环周期,且输出该循环周期;以及A cycle detection unit, in the first stage, receives the string of values, and only based on a set of candidate cycles, detects whether the first value or the second value has a cycle, and outputs the cycle; and 一影片检测单元,在接续该第一阶段的第二阶段,接收该串数值且根据该循环周期决定是否是影片格式,以及由在该循环周期内的该第一数值与该第二数值的变化判断出一交错态样,其中该循环决定值只对应到一组候选变化态样,而该交错态样是该组候选变化态样之其一。A film detection unit, in the second stage following the first stage, receives the series of values and determines whether it is a film format according to the cycle period, and by the change of the first value and the second value in the cycle period An interleaving pattern is determined, wherein the cycle decision value only corresponds to a group of candidate changing patterns, and the interleaving pattern is one of the group of candidate changing patterns. 10.如权利要求9所述的检测影片与交错态样的检测装置,其中该移动检测单元是由一当前场景影像与相邻的一后续场景影像或是一先前场景影像比较,以决定是否该当前场景影像有移动。10. The detection device for detecting video and interlaced patterns as claimed in claim 9, wherein the motion detection unit compares a current scene image with an adjacent subsequent scene image or a previous scene image to determine whether the The current scene image has moved. 11.如权利要求9所述的检测影片与交错态样的检测装置,其中该第一数值与该第二数值是由一个位来纪录,构成一预定数量的一串位。11. The detection device for detecting film and interlace pattern as claimed in claim 9, wherein the first value and the second value are recorded by one bit, forming a predetermined number of a series of bits. 12.如权利要求11所述的检测影片与交错态样的检测装置,其中该循环检测单元是检测对于选定的一个位的一二进位值是否隔一检测周期重复出现,且接续的多个该串位是相同的该检测周期,其中确定后的该检测周期即是该循环周期。12. The detection device for detecting film and interlaced pattern as claimed in claim 11, wherein the loop detection unit is to detect whether a binary value for a selected bit is repeated at intervals of a detection cycle, and the consecutive multiple The serial bits are the same as the detection period, wherein the determined detection period is the cycle period. 13.如权利要求12所述的检测影片与交错态样的检测装置,其中该循环周期包括检查每隔n个位的该检测周期,其中n为由50/60Hz中的多个因数值中所选定的值。13. The detection device for detecting film and interlaced pattern as claimed in claim 12, wherein the cycle period includes checking the detection cycle every n bits, where n is determined by a plurality of factor values in 50/60Hz selected value. 14.如权利要求12所述的检测影片与交错态样的检测装置,其中该影片检测单元取得该循环周期,也同时检测在该串位中代表移动的该第二数值的该位的前后二个该位是代表没有移动的该第一数值。14. The detection device for detecting film and interlaced pattern as claimed in claim 12, wherein the film detection unit obtains the cycle period, and simultaneously detects two before and after the bit representing the moving second value in the string The bit is the first value representing no movement. 15.如权利要求12所述的检测影片与交错态样的检测装置,其中这些场景影像是由多个偶影像与多个奇影像依照一交错态样的顺序所组成。15. The detection device for detecting a film and an interlaced pattern as claimed in claim 12, wherein the scene images are composed of a plurality of even images and a plurality of odd images according to a sequence of an interlaced pattern. 16.一种检测影片与交错态样的方法,用于检测接续输入给检测装置的多个场景影像,包括:16. A method for detecting film and interlaced patterns, for detecting a plurality of scene images successively input to the detection device, comprising: 分析决定每一个该场景影像是否有移动,如果是属于不移动的场景就给予一第一数值,如果是属于移动的场景就给予一第二数值,以得到一串数值;Analyze and determine whether each scene image is moving, if it belongs to a non-moving scene, give a first value, if it belongs to a moving scene, give a second value, to obtain a series of values; 在第一阶段检测,并只依据一组候选周期,决定出该串数值是否该第一数值或该第二数值有一循环周期;Detecting in the first stage, and determining whether the string of values has a cycle of the first value or the second value based only on a set of candidate cycles; 根据该串数值决定是否属于一影片格式;以及Determine whether it belongs to a video format according to the string of values; and 在接续该第一阶段的第二阶段,由在该循环周期内的该第一数值与该第二数值的变化判断出一交错态样,其中该循环决定值只对应到一组候选变化态样,而该交错态样是该组候选变化态样之其一。In the second stage following the first stage, an interleaving pattern is determined from the change of the first value and the second value within the cycle period, wherein the cycle decision value only corresponds to a set of candidate change patterns , and the interleaving pattern is one of the set of candidate changing patterns. 17.如权利要求16所述的检测影片与交错态样的方法,其中这些场景影像是由多个偶影像与多个奇影像依照一交错态样的顺序所组成。17. The method for detecting a movie and an interlaced pattern as claimed in claim 16, wherein the scene images are composed of a plurality of even images and a plurality of odd images according to a sequence of an interlaced pattern. 18.如权利要求17所述的检测影片与交错态样的方法,其中由一当前场景影像与相邻的一后续场景影像或是一先前场景影像比较,以决定是否该当前场景影像有移动。18. The method for detecting film and interlaced patterns as claimed in claim 17, wherein a current scene image is compared with an adjacent subsequent scene image or a previous scene image to determine whether the current scene image has movement. 19.如权利要求18所述的检测影片与交错态样的方法,其中该第一数值与该第二数值是由一个位来纪录,构成一预定数量的一串位。19. The method for detecting film and interlaced aspect as claimed in claim 18, wherein the first value and the second value are recorded by one bit, forming a predetermined number of a series of bits. 20.如权利要求19所述的检测影片与交错态样的方法,其中该循环周期的检测包括:20. The method for detecting film and interlaced pattern as claimed in claim 19, wherein the detection of the cycle period comprises: 选定要检测的一位,以该位的一个二进位值为参考;以及select a bit to be detected, and refer to a binary value of the bit; and 检测该该位值是否隔一检测周期重复出现,且接续的多个该串位是相同的该检测周期,其中确定后的该检测周期即是该循环周期。Detecting whether the bit value appears repeatedly at intervals of a detection period, and the consecutive multiple strings of bits have the same detection period, wherein the determined detection period is the cycle period.
CN201110052278.XA 2011-03-04 2011-03-04 Apparatus and method for detection of moving video aspect Active CN102655582B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110052278.XA CN102655582B (en) 2011-03-04 2011-03-04 Apparatus and method for detection of moving video aspect

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110052278.XA CN102655582B (en) 2011-03-04 2011-03-04 Apparatus and method for detection of moving video aspect

Publications (2)

Publication Number Publication Date
CN102655582A CN102655582A (en) 2012-09-05
CN102655582B true CN102655582B (en) 2015-01-21

Family

ID=46731102

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110052278.XA Active CN102655582B (en) 2011-03-04 2011-03-04 Apparatus and method for detection of moving video aspect

Country Status (1)

Country Link
CN (1) CN102655582B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5563651A (en) * 1994-12-30 1996-10-08 Thomson Consumer Electronics, Inc. Method and apparatus for identifying video fields produced by film sources employing 2-2 and 3-2 pull down sequences
US5828786A (en) * 1993-12-02 1998-10-27 General Instrument Corporation Analyzer and methods for detecting and processing video data types in a video data stream
CN101505156A (en) * 1998-11-05 2009-08-12 高通股份有限公司 Efficient iterative decoding

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2901951A1 (en) * 2006-06-06 2007-12-07 St Microelectronics Sa Digital video image frequency detecting method for e.g. digital set top box, involves dividing current frame into region based on determined phase value by statistics and segmentation unit and assigning region movement phase value to region
CN102365867B (en) * 2009-04-01 2015-12-16 马维尔国际贸易有限公司 Rhythm in progressive video detects

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5828786A (en) * 1993-12-02 1998-10-27 General Instrument Corporation Analyzer and methods for detecting and processing video data types in a video data stream
US5563651A (en) * 1994-12-30 1996-10-08 Thomson Consumer Electronics, Inc. Method and apparatus for identifying video fields produced by film sources employing 2-2 and 3-2 pull down sequences
CN101505156A (en) * 1998-11-05 2009-08-12 高通股份有限公司 Efficient iterative decoding

Also Published As

Publication number Publication date
CN102655582A (en) 2012-09-05

Similar Documents

Publication Publication Date Title
CN101296344B (en) Scene change detection device, coding device, and scene change detection method
EP3171593A1 (en) Testing system, testing method, computer program product, and non-transitory computer readable data carrier
US20070097259A1 (en) Method and system for inverse telecine and field pairing
CN100361538C (en) Apparatus and method for detecting film mode
US20050231635A1 (en) Automated inverse telecine process
CN100417187C (en) Method and related apparatus for generating television image signal according to data line similarity
Tan et al. GOP based automatic detection of object-based forgery in advanced video
CN102655582B (en) Apparatus and method for detection of moving video aspect
CN102065318B (en) System and method for detecting frame loss and image split of digital video system
TWI448159B (en) Apparatus and method for flexible video cadence detection
US8749706B2 (en) Image processing apparatus and recording medium storing image processing program
JP4655218B2 (en) Signal processing apparatus and method, program, and recording medium
US20170150142A1 (en) Testing system, testing method, computer program product, and non-transitory computer readable data carrier
CN111818331B (en) Method, device, equipment and medium for detecting bullet screen display fluency
CN100407764C (en) image field processing method and related image field similarity detection device
JP5123643B2 (en) Video processing device
JP5288485B2 (en) Video signal transmission device
CN104243887B (en) A film mode detection method and device based on irregular sampling
JP2009124261A5 (en)
JP7096228B2 (en) Information processing equipment, information processing methods, and programs
JP2007081500A (en) Image processing apparatus, method and program for deciding field order of moving image data
JP2006510267A (en) Method for recognizing film and video occurring simultaneously in a television field
JP2007129400A (en) Film mode detector and video display
JP2005004770A (en) Movie video detecting method and apparatus using grouping
US20130322852A1 (en) Method to hide and recover data in a video stream

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant