CN101521761B - Method and device for image deinterlacing using horizontal displacement estimation and compensation - Google Patents

Method and device for image deinterlacing using horizontal displacement estimation and compensation Download PDF

Info

Publication number
CN101521761B
CN101521761B CN200810081294XA CN200810081294A CN101521761B CN 101521761 B CN101521761 B CN 101521761B CN 200810081294X A CN200810081294X A CN 200810081294XA CN 200810081294 A CN200810081294 A CN 200810081294A CN 101521761 B CN101521761 B CN 101521761B
Authority
CN
China
Prior art keywords
pixel
horizontal displacement
displacement vector
unit
field
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
CN200810081294XA
Other languages
Chinese (zh)
Other versions
CN101521761A (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.)
Realtek Semiconductor Corp
Original Assignee
Realtek Semiconductor 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 Realtek Semiconductor Corp filed Critical Realtek Semiconductor Corp
Priority to CN200810081294XA priority Critical patent/CN101521761B/en
Publication of CN101521761A publication Critical patent/CN101521761A/en
Application granted granted Critical
Publication of CN101521761B publication Critical patent/CN101521761B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Television Systems (AREA)

Abstract

A de-interlacing method and a de-interlacing device. The de-interlacing method is used for de-interlacing a video data, the video data includes a first field, a second field, a third field, a fourth field and a fifth field, the video data generates an output frame when the third field is output, the method includes the following steps: estimating the horizontal displacement according to at least one group of the first field, the third field, the fifth field and the second field and the fourth field to detect a horizontal displacement vector; and if the horizontal displacement vector is detected, selecting a first pixel from the second field and a second pixel from the fourth field according to the horizontal displacement vector, and interpolating a specific pixel value corresponding to a target pixel in the output frame according to the first pixel and the second pixel.

Description

利用水平位移预估与补偿来进行影像去交错的方法与装置 Method and device for image deinterlacing using horizontal displacement estimation and compensation

技术领域technical field

本发明提供一种影像去交错化方法与装置,尤指一种利用水平位移预估(horizontal motion estimation)与水平位移补偿(horizontal motioncompensation)的影像去交错化的方法与装置。 The present invention provides an image de-interlacing method and device, especially an image de-interlacing method and device using horizontal motion estimation and horizontal motion compensation. the

背景技术Background technique

传统的交错式扫描(interlaced scanning)技术是将组成该帧的二个场作交错显示。该二个场由奇场及偶场所组成。而循序式扫描(progressive scan)技术,又称非交错式扫描(non-interlaced),则是先将两个场合并为一个帧,再以加倍的水平扫描频率依序扫描该帧中的所有扫描线,使画面的质量得以提升。 The traditional interlaced scanning technology is to interleave the two fields that make up the frame. The two fields consist of an odd field and an even field. The progressive scan technology, also known as non-interlaced scan (non-interlaced), first merges two fields into one frame, and then scans all the scans in the frame in sequence at a doubled horizontal scan frequency. lines to improve the picture quality. the

为了以循序式扫描方式来显示交错式的影像数据,便需利用去交错(de-interlacing)方法于一场原有的连续两扫描线间插补出一新的扫描线。现有技术普遍利用位移调适性(motion-adaptive)的处理方法来进行去交错化操作。 In order to display interlaced image data in a sequential scanning manner, it is necessary to use a de-interlacing method to interpolate a new scanning line between two original continuous scanning lines in a field. In the prior art, a motion-adaptive (motion-adaptive) processing method is commonly used to perform the de-interlacing operation. the

然而,在利用位移调适性来进行去交错化处理时,大多无法内插出高频且移动的细节,且若视频数据在进行去交错化操作之前又经过影像编译码(video encode/decode)处理,其泛色现象会让高频部分更加失真而难以内插出原来的影像,进而使得去交错化处理后的影像的画面质量不佳。 However, when de-interlacing is performed using displacement adaptability, most of the high-frequency and moving details cannot be interpolated, and if the video data is processed by video encode/decode before de-interlacing , the flooding phenomenon will make the high-frequency part more distorted, making it difficult to interpolate the original image, and then make the picture quality of the de-interlaced image poor. the

发明内容Contents of the invention

因此本发明的主要目的在于提供一种可侦测同一种场间的一水平位移向量并依据该水平位移向量对一输出帧的一目标像素进行一水平位移补偿的影像去交错化的方法与装置,以提升画面质量并降低相关硬件成本。 Therefore, the main purpose of the present invention is to provide a method and device for image deinterlacing that can detect a horizontal displacement vector between fields of the same type and perform horizontal displacement compensation on a target pixel of an output frame according to the horizontal displacement vector , to improve image quality and reduce related hardware costs. the

依据本发明的实施例,其揭露一种去交错方法,用来去交错一视频数据。该视频数据包括一第一、第二、第三、第四及第五场,以及该视频数据于该第三场输出时产生一输出帧。该方法包括下列步骤:依据该第一及第三场、 该第三及第五场以及该第二及第四场的至少其中的一组,进行水平位移预估以侦测一水平位移向量;以及若侦测出该水平位移向量,则依据该水平位移向量自该第二场中选择一第一像素与自该第四场中选择一第二像素,并依据该第一像素与该第二像素来内插出对应该输出帧中一目标像素的一特定像素值。 According to an embodiment of the present invention, it discloses a de-interlacing method for de-interlacing a video data. The video data includes a first, second, third, fourth and fifth field, and an output frame is generated when the video data is output in the third field. The method includes the following steps: performing horizontal displacement estimation to detect a horizontal displacement vector according to at least one of the first and third fields, the third and fifth fields, and the second and fourth fields; and if the horizontal displacement vector is detected, selecting a first pixel from the second field and a second pixel from the fourth field according to the horizontal displacement vector, and selecting a second pixel from the fourth field according to the first pixel and the second pixel to interpolate a specific pixel value corresponding to a target pixel in the output frame. the

依据本发明的实施例,其另揭露一种去交错装置,用来去交错一视频数据。该视频数据包括一第一、第二、第三、第四及第五场,以及该视频数据于该第三场输出时产生一输出帧。该装置包括一水平位移预估单元以及一水平位移补偿单元。该水平位移预估单元依据该第一及第三场、该第三及第五场以及该第二及第四场的至少其中的一组进行水平位移预估以侦测一水平位移向量。该水平位移补偿单元耦接于该水平位移预估单元,其中若该水平位移预估单元侦测出该水平位移向量,则依据该水平位移向量自该第二场中选择一第一像素与自该第四场中选择一第二像素,并依据该第一像素与该第二像素来内插出对应该输出帧中一目标像素的一特定像素值。 According to an embodiment of the present invention, it further discloses a de-interlacing device for de-interlacing a video data. The video data includes a first, second, third, fourth and fifth field, and an output frame is generated when the video data is output in the third field. The device includes a horizontal displacement estimation unit and a horizontal displacement compensation unit. The horizontal displacement estimation unit performs horizontal displacement estimation according to at least one of the first and third fields, the third and fifth fields, and the second and fourth fields to detect a horizontal displacement vector. The horizontal displacement compensation unit is coupled to the horizontal displacement estimation unit, wherein if the horizontal displacement estimation unit detects the horizontal displacement vector, selects a first pixel from the second field according to the horizontal displacement vector and A second pixel is selected in the fourth field, and a specific pixel value corresponding to a target pixel in the output frame is interpolated according to the first pixel and the second pixel. the

附图说明Description of drawings

图1为包含有五相邻场的一视频数据与相对应的一输出帧的示意图。 FIG. 1 is a schematic diagram of a video data including five adjacent fields and a corresponding output frame. the

图2为本发明的一实施例的去交错装置的示意图。 FIG. 2 is a schematic diagram of a deinterleaving device according to an embodiment of the present invention. the

图3为本发明水平位移补偿单元进行水平位移补偿的示意图。 FIG. 3 is a schematic diagram of the horizontal displacement compensation performed by the horizontal displacement compensation unit of the present invention. the

图4为图2所示的去交错装置进行去交错运算的流程图。 FIG. 4 is a flow chart of the deinterleaving operation performed by the deinterleaving device shown in FIG. 2 . the

图5为本发明另一实施例的去交错装置的示意图。 FIG. 5 is a schematic diagram of a deinterleaving device according to another embodiment of the present invention. the

图6为图5所示的去交错装置进行去交错运算的流程图。 FIG. 6 is a flow chart of the de-interleaving operation performed by the de-interleaving device shown in FIG. 5 . the

【主要组件符号说明】 【Description of main component symbols】

200、500200, 500 去交错装置de-interlacer 210、  510210, 510     水平位移预估单元  Horizontal displacement estimation unit 220、520220, 520 水平位移补偿单元Horizontal Displacement Compensation Unit 222、522222, 522     选择单元select unit 224、524224, 524 计算单元computing unit 530530     位移调适性电路  Displacement Adaptive Circuit 540540 决定单元decision unit

具体实施方式Detailed ways

请参阅图1。图1为包含有五相邻场(field)的一视频数据100与相对应的一输出帧(frame)160的示意图。去交错后的输出帧160对应于时间T, 而视频数据100中的五个相邻场110、120、130、140以及150,分别对应于时间T-2、T-1、T、T+1以及T+2。在图1中,扫描线112、132、152及162分别为场110、130、150及160中的第N-1条扫描线;扫描线123、143及163分别为场120、140及160中的第N条扫描线;而扫描线114、134、154及164则分别为场110、130、150及160中的第N+1条扫描线,其中第N-1条扫描线与第N+1条扫描线属同一种场而第N条扫描线属另一种场。另外,于本发明的实施例中的去交错方法以逐像素方式(pixel-by-pixel basis)来产生输出帧160。 See Figure 1. FIG. 1 is a schematic diagram of a video data 100 including five adjacent fields and a corresponding output frame 160 . The deinterlaced output frame 160 corresponds to time T, and the five adjacent fields 110, 120, 130, 140, and 150 in the video data 100 correspond to times T-2, T-1, T, T+1, respectively and T+2. In FIG. 1, scan lines 112, 132, 152 and 162 are the N-1th scan lines in fields 110, 130, 150 and 160 respectively; scan lines 123, 143 and 163 are respectively The Nth scan line; and the scan lines 114, 134, 154 and 164 are the N+1 scan lines in the field 110, 130, 150 and 160 respectively, wherein the N-1 scan line and the N+ 1 scan line belongs to the same field and the Nth scan line belongs to another field. In addition, the de-interlacing method in the embodiment of the present invention generates the output frame 160 on a pixel-by-pixel basis. the

请参阅图2,图2为本发明的一实施例的去交错装置200的示意图。去交错装置200包含有一水平位移预估单元210以及一水平位移补偿单元220,而水平位移补偿单元220则包含有一选择单元222以及一计算单元224。当视频数据输入至去交错装置200中的水平位移预估单元210后,水平位移预估单元210会对该视频数据进行水平位移预估的动作。在本实施例中,假设去交错装置200对于场130的一目标像素10进行去交错处理以产生相对应于该输出帧160的该目标像素10。因此,本发明的水平位移预估单元210会对于目标像素10的邻近区域进行水平位移判断的动作。在实作上,水平位移预估单元210可以该目标像素10为中心,设定一预估范围(window),并在该预估范围内对场130进行帧间的位移侦测(motion detection)以找出一水平位移向量(motion vector)来。如图1所示,在本实施例中,假设一预估范围101设定为一2*5像素大小,然后水平位移预估单元210可依据预估范围101而比对场130与场150或是与场110的位移变化,或/及依据预估范围101来比对邻近的场120与场140的位移变化,例如图1所示的场130的像素15及16的像素值移动至场150的像素13及14,或是场120中的像素12的像素值移动至场140的像素11的像素值。因此本实施例中水平位移预估单元210判断在目标像素10的邻近部分有水平位移发生且水平位移向量为+2。 Please refer to FIG. 2 , which is a schematic diagram of a de-interleaving device 200 according to an embodiment of the present invention. The de-interlacing device 200 includes a horizontal displacement estimation unit 210 and a horizontal displacement compensation unit 220 , and the horizontal displacement compensation unit 220 includes a selection unit 222 and a calculation unit 224 . After the video data is input to the horizontal displacement estimation unit 210 in the de-interlacing device 200 , the horizontal displacement estimation unit 210 performs horizontal displacement estimation on the video data. In this embodiment, it is assumed that the de-interlacing device 200 performs de-interlacing processing on a target pixel 10 of the field 130 to generate the target pixel 10 corresponding to the output frame 160 . Therefore, the horizontal displacement estimating unit 210 of the present invention will perform horizontal displacement determination for the adjacent area of the target pixel 10 . In practice, the horizontal displacement estimation unit 210 can set an estimation range (window) centered on the target pixel 10, and perform inter-frame motion detection (motion detection) on the field 130 within the estimation range. To find a horizontal displacement vector (motion vector). As shown in FIG. 1 , in this embodiment, assuming that an estimated range 101 is set to a size of 2*5 pixels, then the horizontal displacement estimation unit 210 can compare the field 130 with the field 150 or It is the displacement change with the field 110, or/and compares the displacement change between the adjacent field 120 and the field 140 according to the estimated range 101, for example, the pixel values of pixels 15 and 16 in the field 130 shown in FIG. 1 are moved to the field 150 The pixel value of pixels 13 and 14 in , or pixel 12 in field 120 is shifted to the pixel value of pixel 11 in field 140 . Therefore, in this embodiment, the horizontal displacement estimation unit 210 determines that a horizontal displacement occurs in the vicinity of the target pixel 10 and the horizontal displacement vector is +2. the

请参阅图3,图3为本发明水平位移补偿单元220进行水平位移补偿的示意图。在水平位移预估单元210将所判断出来的水平位移向量输入至水平位移补偿单元220中的选择单元222之后。选择单元222依据水平位移向量来选取欲用来内插出目标像素10的参考像素出来,如图3所示,在本实施例中,由于水平位移向量为+2,因此选择单元222选择对应于场130中目标像素10的前一个场120的像素12以及对应于场130中目标像素10的后一个场 140的像素11来作为用来内插出目标像素10的参考像素。请注意,在本实施例中其水平位移向量为一偶数值,因此水平位移补偿单元220可选择前后各一个像素来作为参考像素,然而若水平位移向量为一奇数值(例如+3),则本发明水平位移补偿单元220亦可选择对应该水平位移向量的前后各两个像素来作为参考像素,例如在水平位移向量为+3的情况下选择单元222可选择对应于场130中目标像素10的前一个场120的像素12、20以及对应于场130中目标像素10的后一个场140的像素11、19来作为用来内插出目标像素10的参考像素。接下来,水平位移补偿单元220中的计算单元224再依据对应目标像素10的参考像素(例如场120的像素12以及场140的像素11),利用平均参考像素的像素值来内插出输出帧160的目标像素10的像素值以完成去交错化的动作。 Please refer to FIG. 3 . FIG. 3 is a schematic diagram of horizontal displacement compensation performed by the horizontal displacement compensation unit 220 of the present invention. After the horizontal displacement estimation unit 210 inputs the determined horizontal displacement vector to the selection unit 222 of the horizontal displacement compensation unit 220 . The selection unit 222 selects the reference pixel to be used for interpolating the target pixel 10 according to the horizontal displacement vector, as shown in FIG. 3 , in this embodiment, since the horizontal displacement vector is +2, the selection unit 222 selects the The pixel 12 of the field 120 before the target pixel 10 in the field 130 and the pixel 11 of the next field 140 corresponding to the target pixel 10 in the field 130 are used as reference pixels for interpolating the target pixel 10. Please note that in this embodiment, the horizontal displacement vector is an even value, so the horizontal displacement compensation unit 220 can select one pixel before and after each as a reference pixel, but if the horizontal displacement vector is an odd value (for example, +3), then The horizontal displacement compensation unit 220 of the present invention can also select two pixels before and after the corresponding horizontal displacement vector as reference pixels. For example, when the horizontal displacement vector is +3, the selection unit 222 can select the pixel corresponding to the target pixel 10 The pixels 12 and 20 of the previous field 120 and the pixels 11 and 19 of the subsequent field 140 corresponding to the target pixel 10 in the field 130 are used as reference pixels for interpolating the target pixel 10 . Next, the calculating unit 224 in the horizontal displacement compensating unit 220 uses the pixel value of the average reference pixel to interpolate the output frame according to the reference pixel corresponding to the target pixel 10 (such as the pixel 12 in the field 120 and the pixel 11 in the field 140). The pixel value of the target pixel 10 is 160 to complete the de-interlacing operation. the

请参阅图4,图4为图2所示的去交错装置200进行去交错运算的流程图。请注意,流程图中相关步骤不一定遵照此排序来连续执行,且其它的步骤亦可能插入其中。去交错装置200进行去交错运算的步骤可归纳如下: Please refer to FIG. 4 . FIG. 4 is a flow chart of the de-interleaving operation performed by the de-interleaving device 200 shown in FIG. 2 . Please note that the relevant steps in the flow chart are not necessarily executed consecutively in this order, and other steps may also be inserted therein. The steps of the de-interleaving operation performed by the de-interleaving device 200 can be summarized as follows:

步骤400:水平位移预估单元210依据一预估范围101对该目标像素10进行水平位移预估的动作。 Step 400 : The horizontal displacement estimating unit 210 performs an action of estimating the horizontal displacement of the target pixel 10 according to an estimated range 101 . the

步骤402:若水平位移预估单元210判断该目标像素10的邻近区域有水平位移动作发生,则执行步骤404,反之,结束此流程。 Step 402: If the horizontal displacement estimation unit 210 determines that there is a horizontal displacement action in the vicinity of the target pixel 10, execute step 404; otherwise, end the process. the

步骤404:水平位移预估单元210依据该水平位移决定一水平位移向量。 Step 404: The horizontal displacement estimation unit 210 determines a horizontal displacement vector according to the horizontal displacement. the

步骤406:选择单元222依据该水平位移向量决定相对于该目标像素10的复数个参考像素11、12。 Step 406: The selection unit 222 determines a plurality of reference pixels 11, 12 relative to the target pixel 10 according to the horizontal displacement vector. the

步骤408:计算单元224平均参考像素11、12的像素值作为目标像素10的像素值。 Step 408 : The calculation unit 224 averages the pixel values of the reference pixels 11 and 12 as the pixel value of the target pixel 10 . the

请参阅图5,图5为本发明另一实施例的去交错装置500的示意图。在本发明实施例中,去交错装置500包含有水平位移预估单元510、一水平位移补偿单元520、一位移调适性电路530以及一决定单元540。水平位移补偿单元520则包含有一选择单元522以及一计算单元524。请注意,图5所示的去交错装置500与图2所示的去交错装置200中的同名组件具有相同的功能与操作,故于此不另赘述。如上所述,由于习知位移调适性电路530利用位移调适性去交错方法(motion adaptive de-interlacing)来进行去交错动作时,大多无法内插出高频且移动的细节因而造成影像的失真。因此,可利用本发 明水平位移预估单元510以及水平位移补偿单元520来补足位移调适性电路530的不足。在本实施例中,当水平位移预估单元510对一目标像素进行水平位移预估时,若该目标像素10有水平位移发生,则决定单元540依据水平位移补偿单元520所计算出的像素值来当作目标像素10的像素值,而不选取位移调适性电路530所计算出来的像素值;另一方面,若该目标像素10被水平位移预估单元510判断出没有水平位移发生时,则决定单元540便选取位移调适性电路530所计算出来的像素值来当作目标像素10的像素值,而不去选取水平位移补偿单元520所计算出的像素值。因此,本发明去交错装置500可以依据目标像素的水平位移发生与否,来决定欲差补该目标像素10的去交错方式,因此加强了去交错过程的准确度以及敏感度,进而大幅提升了画面的质量。 Please refer to FIG. 5 , which is a schematic diagram of a de-interleaving device 500 according to another embodiment of the present invention. In the embodiment of the present invention, the de-interlacing device 500 includes a horizontal displacement estimation unit 510 , a horizontal displacement compensation unit 520 , a displacement adaptive circuit 530 and a determination unit 540 . The horizontal displacement compensation unit 520 includes a selection unit 522 and a calculation unit 524 . Please note that the de-interleaving device 500 shown in FIG. 5 has the same functions and operations as components with the same name in the de-interleaving device 200 shown in FIG. 2 , so details will not be repeated here. As mentioned above, when the conventional motion adaptive de-interlacing circuit 530 uses the motion adaptive de-interlacing method to perform the de-interlacing operation, most of the high-frequency and moving details cannot be interpolated, resulting in image distortion. Therefore, the horizontal displacement estimation unit 510 and the horizontal displacement compensation unit 520 of the present invention can be used to supplement the deficiencies of the displacement adaptability circuit 530. In this embodiment, when the horizontal displacement estimation unit 510 estimates the horizontal displacement of a target pixel, if the target pixel 10 has a horizontal displacement, the determination unit 540 will calculate the pixel value according to the horizontal displacement compensation unit 520 as the pixel value of the target pixel 10, instead of selecting the pixel value calculated by the displacement adaptability circuit 530; on the other hand, if the target pixel 10 is judged by the horizontal displacement estimation unit 510 to have no horizontal displacement, then The decision unit 540 selects the pixel value calculated by the displacement adaptability circuit 530 as the pixel value of the target pixel 10 instead of selecting the pixel value calculated by the horizontal displacement compensation unit 520 . Therefore, the de-interlacing device 500 of the present invention can determine the de-interlacing method for compensating the target pixel 10 according to whether the horizontal displacement of the target pixel occurs or not, thus enhancing the accuracy and sensitivity of the de-interlacing process, thereby greatly improving the Picture quality. the

请参阅图6,图6为图5所示的去交错装置500进行去交错运算的流程图。请注意,流程图中相关步骤不一定遵照此排序来连续执行,且其它的步骤亦可能插入其中。去交错装置500进行去交错运算的步骤可归纳如下: Please refer to FIG. 6 . FIG. 6 is a flow chart of the de-interleaving operation performed by the de-interleaving device 500 shown in FIG. 5 . Please note that the relevant steps in the flow chart are not necessarily executed consecutively in this order, and other steps may also be inserted therein. The steps of the de-interleaving operation performed by the de-interleaving device 500 can be summarized as follows:

步骤600:水平位移预估单元510对该目标像素10进行水平位移预估的动作。 Step 600 : The horizontal displacement estimation unit 510 performs horizontal displacement estimation on the target pixel 10 . the

步骤602:水平位移补偿单元520依据水平位移预估单元510所决定的一水平位移向量来产生一特定像素值。 Step 602 : The horizontal displacement compensation unit 520 generates a specific pixel value according to a horizontal displacement vector determined by the horizontal displacement estimation unit 510 . the

步骤604:位移调适性电路530则依据一位移调适性去交错以产生一候选像素值。 Step 604: The displacement adaptability circuit 530 deinterleaves according to a displacement adaptability to generate a candidate pixel value. the

步骤606:若侦测到该水平位移向量,则决定单元540使用该特定像素值来设定该目标像素;以及若未侦测到该水平位移向量,则该决定单元540使用该候选像素值来设定该目标像素。 Step 606: If the horizontal displacement vector is detected, the decision unit 540 uses the specific pixel value to set the target pixel; and if the horizontal displacement vector is not detected, the decision unit 540 uses the candidate pixel value to set the target pixel Sets the target pixel. the

相较于现有技术,本发明的去交错装置在利用水平位移预估与水平位移补偿来进行影像去交错操作时,利用了一预估范围来侦测目标范围的水平移动,因此可大幅减少大范围搜寻所需的硬件成本。另一方面,本发明的去交错装置亦可利用水平位移预估与水平位移来补足位移调适性去交错方式的不足,不仅加强了去交错过程的准确度以及敏感度,并进而大幅提升了整体画面的质量。 Compared with the prior art, when the de-interlacing device of the present invention uses horizontal displacement estimation and horizontal displacement compensation to perform image de-interlacing operation, it uses an estimated range to detect the horizontal movement of the target range, so it can greatly reduce The hardware cost required for large-scale searches. On the other hand, the de-interlacing device of the present invention can also use the horizontal displacement estimation and horizontal displacement to make up for the deficiencies of the displacement-adaptive de-interlacing method, which not only enhances the accuracy and sensitivity of the de-interlacing process, but also greatly improves the overall Picture quality. the

以上所述仅为本发明的较佳实施例,凡依本发明申请专利范围所做的均等变化与修饰,皆应属本发明的涵盖范围。 The above descriptions are only preferred embodiments of the present invention, and all equivalent changes and modifications made according to the scope of the patent application of the present invention shall fall within the scope of the present invention. the

Claims (8)

1. de-interlacing methods is used for deinterleave one video data, and this video data comprises one first, second, third, fourth and the 5th, and this video data produces an output frame when the 3rd output, and this method comprises the following steps:
According to this first and the 3rd, the 3rd and the 5th and this one of them group of second and the 4th, carry out horizontal displacement and estimate to detect a horizontal displacement vector; And
If detect this horizontal displacement vector, then in this second, select one first pixel and in the 4th, select one second pixel, and come interpolation to go out a particular pixel values an object pixel in should output frame according to this first pixel and this second pixel according to this horizontal displacement vector.
2. the method for claim 1, the step of wherein detecting this horizontal displacement vector comprises:
Set a processes pixel scope according to this object pixel; And
Carrying out horizontal displacement according to this processes pixel scope estimates to detect this horizontal displacement vector.
3. the method for claim 1 wherein comprises in order to the step that produces this object pixel:
If this horizontal displacement vector that detects equals 2N, then:
The pixel of choosing in this second at a distance of N pixel of this object pixel according to this horizontal displacement vector is used as this first pixel;
The pixel of choosing in the 4th at a distance of N pixel of this object pixel according to this horizontal displacement vector is used as this second pixel; And
The pixel value of average this first pixel and the pixel value of this second pixel are used as this particular pixel values; And
If this horizontal displacement vector that detects equals 2N+1, then:
According to this horizontal displacement vector choose in this second pixel at a distance of N pixel of this object pixel be used as this first pixel and apart the pixel of N+1 pixel of this object pixel be used as one the 3rd pixel, wherein this first pixel is adjacent with the 3rd pixel;
According to this horizontal displacement vector choose in the 4th pixel at a distance of N pixel of this object pixel be used as this second pixel and apart the pixel of N+1 pixel of this object pixel be used as one the 4th pixel, wherein this second pixel is adjacent with the 4th pixel; And
The pixel value of this first pixel, this second pixel, the 3rd pixel and the 4th pixel is average, be used as this particular pixel values.
4. the method for claim 1, it comprises in addition:
This video data is carried out a displacement adaptability deinterleave to produce the candidate pixel value to this object pixel in should output frame, wherein when not detecting this horizontal displacement vector, use this candidate pixel value to set this object pixel.
5. deinterlacing device is used for deinterleave one video data, and this video data comprises one first, second, third, fourth and the 5th, and this video data produces an output frame when the 3rd output, and this device comprises:
The unit is estimated in one horizontal displacement, and at least wherein one group according to second and the 4th of this first and the 3rd, the 3rd and the 5th and this carries out horizontal displacement and estimates to detect a horizontal displacement vector; And
One horizontal displacement compensating unit, be coupled to this horizontal displacement and estimate the unit, if this horizontal displacement is estimated the unit and is detected this horizontal displacement vector, then in this second, select one first pixel and in the 4th, select one second pixel, and come interpolation to go out a particular pixel values an object pixel in should output frame according to this first pixel and this second pixel according to this horizontal displacement vector.
6. device as claimed in claim 5, wherein this horizontal displacement is estimated the unit and is set a processes pixel scope according to this object pixel; And carrying out horizontal displacement according to this processes pixel scope estimates to detect this horizontal displacement vector.
7. device as claimed in claim 5, wherein this horizontal displacement compensating unit comprises:
One selected cell, be used for according to this horizontal displacement vector choose in this second pixel at a distance of N pixel of this object pixel be used as this first pixel and apart the pixel of N+1 pixel of this object pixel be used as one the 3rd pixel, wherein this first pixel is adjacent with the 3rd pixel, and according to this horizontal displacement vector choose in this output frame pixel at a distance of N pixel of this object pixel be used as this second pixel and apart the pixel of N+1 pixel of this object pixel be used as one the 4th pixel, wherein this second pixel is adjacent with the 4th pixel; And
One computing unit, be coupled to this selected cell, when this horizontal displacement vector equals 2N, the pixel value of average this first pixel and second pixel is used as this particular pixel values, when this horizontal displacement vector equals 2N+1, on average the pixel value of this first pixel, this second pixel, the 3rd pixel and the 4th pixel is used as this particular pixel values.
8. device as claimed in claim 5, it comprises in addition:
One displacement adaptability circuit is used for this video data is carried out a displacement adaptability deinterleave to produce the candidate pixel value to this object pixel in should output frame; And
One decision unit, be coupled to this displacement adaptability circuit, unit and this horizontal displacement compensating unit are estimated in this horizontal displacement, if detect this horizontal displacement vector, then this decision unit uses this particular pixel values to set this object pixel, and if do not detect this horizontal displacement vector, then this decision unit uses this candidate pixel value to set this object pixel.
CN200810081294XA 2008-02-26 2008-02-26 Method and device for image deinterlacing using horizontal displacement estimation and compensation Active CN101521761B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810081294XA CN101521761B (en) 2008-02-26 2008-02-26 Method and device for image deinterlacing using horizontal displacement estimation and compensation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810081294XA CN101521761B (en) 2008-02-26 2008-02-26 Method and device for image deinterlacing using horizontal displacement estimation and compensation

Publications (2)

Publication Number Publication Date
CN101521761A CN101521761A (en) 2009-09-02
CN101521761B true CN101521761B (en) 2011-03-30

Family

ID=41082108

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810081294XA Active CN101521761B (en) 2008-02-26 2008-02-26 Method and device for image deinterlacing using horizontal displacement estimation and compensation

Country Status (1)

Country Link
CN (1) CN101521761B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116016831B (en) * 2022-12-13 2023-12-05 湖南快乐阳光互动娱乐传媒有限公司 Low-time-delay image de-interlacing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6512550B1 (en) * 1999-06-29 2003-01-28 Lsi Logic Corporation Motion compensated de-interlacing
US6577345B1 (en) * 1999-07-29 2003-06-10 Lg Electronics Inc. Deinterlacing method and apparatus based on motion-compensated interpolation and edge-directional interpolation
CN1674669A (en) * 2004-03-26 2005-09-28 瑞昱半导体股份有限公司 Image Deinterlacing Method and Device Using Displacement Vector Compensation
CN1741603A (en) * 2004-08-26 2006-03-01 瑞昱半导体股份有限公司 Deinterlacing method and related device
CN1774079A (en) * 2004-11-10 2006-05-17 瑞昱半导体股份有限公司 Ways to suppress wrong image colors

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6512550B1 (en) * 1999-06-29 2003-01-28 Lsi Logic Corporation Motion compensated de-interlacing
US6577345B1 (en) * 1999-07-29 2003-06-10 Lg Electronics Inc. Deinterlacing method and apparatus based on motion-compensated interpolation and edge-directional interpolation
CN1674669A (en) * 2004-03-26 2005-09-28 瑞昱半导体股份有限公司 Image Deinterlacing Method and Device Using Displacement Vector Compensation
CN1741603A (en) * 2004-08-26 2006-03-01 瑞昱半导体股份有限公司 Deinterlacing method and related device
CN1774079A (en) * 2004-11-10 2006-05-17 瑞昱半导体股份有限公司 Ways to suppress wrong image colors

Also Published As

Publication number Publication date
CN101521761A (en) 2009-09-02

Similar Documents

Publication Publication Date Title
Chen et al. Efficient deinterlacing algorithm using edge-based line average interpolation
JP4563603B2 (en) Format conversion apparatus and method using bi-directional motion vectors
Lin et al. Motion adaptive interpolation with horizontal motion detection for deinterlacing
CN100479495C (en) Deinterlacing method using motion detection and adaptive weighted filtering
Chen et al. A low-complexity interpolation method for deinterlacing
CN102025960B (en) Motion compensation de-interlacing method based on adaptive interpolation
CN101014086A (en) De-interlacing apparatus using motion detection and adaptive weighted filter
KR19990031433A (en) Scan converter circuit
CN103051857B (en) Motion compensation-based 1/4 pixel precision video image deinterlacing method
CN101867759A (en) Adaptive Motion Compensation Frame Rate Improvement Method Based on Scene Detection
CN102215368A (en) Motion self-adaptive de-interlacing method based on visual characteristics
CN102946505A (en) Self-adaptive motion detection method based on image block statistics
CN102045530B (en) Motion adaptive de-interlacing method based on edge detection
CN101521761B (en) Method and device for image deinterlacing using horizontal displacement estimation and compensation
CN101600062B (en) In-field deinterlacing method based on enhanced edge adaptivity
CN103024331B (en) Video de-interlacing method based on edge detection
CN102170549A (en) Edge correlation image intra-field de-interlacing algorithm of edge pre-judgment
JP4031390B2 (en) Image conversion apparatus and image conversion method
CN100367771C (en) A Method of Adaptively Suppressing Image Noise
US7405765B2 (en) Method and apparatus for de-interlacing video data
CN1444401A (en) Method for removing intersection by adopting error protection motion compensation and its equipment
CN1239023C (en) Three-dimensional video format conversion method based on motion adaption and marginal protection
US8508660B2 (en) De-interlacing methods and related apparatuses
US20080055465A1 (en) Method and apparatus for de-interlacing video data
US7446818B2 (en) Apparatus and related method for film mode detection using motion estimation

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