[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN101986711A - 1/8 pixel precision interpolation method and interpolation device - Google Patents

1/8 pixel precision interpolation method and interpolation device Download PDF

Info

Publication number
CN101986711A
CN101986711A CN2010105636439A CN201010563643A CN101986711A CN 101986711 A CN101986711 A CN 101986711A CN 2010105636439 A CN2010105636439 A CN 2010105636439A CN 201010563643 A CN201010563643 A CN 201010563643A CN 101986711 A CN101986711 A CN 101986711A
Authority
CN
China
Prior art keywords
pixel
pixels
interpolation
type
types
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.)
Granted
Application number
CN2010105636439A
Other languages
Chinese (zh)
Other versions
CN101986711B (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.)
Tsinghua University
Original Assignee
Tsinghua University
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 Tsinghua University filed Critical Tsinghua University
Priority to CN 201010563643 priority Critical patent/CN101986711B/en
Publication of CN101986711A publication Critical patent/CN101986711A/en
Application granted granted Critical
Publication of CN101986711B publication Critical patent/CN101986711B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Television Systems (AREA)
  • Image Processing (AREA)

Abstract

本发明公开了一种1/8像素精度插值方法,包括如下步骤:设置分像素点类别及所述分像素点的位置;从原始参考帧中选取与所述分像素点构成的分像素块距离最近的(M+5)×(N+5)整像素块中的整像素点作为参考像素点,根据已设置的各类分像素点的位置进行插值获取所述分像素点。本发明对于所有的分像素位置插值,仅需使用整像素作为参考像素,简化了分像素位置中插值过程,从而减少插值过程的时延,且在运动补偿中能够使运动矢量精确到1/8像素级,提高预测精度,减小码率,且提高视频编码的压缩效率。

The invention discloses a 1/8 pixel precision interpolation method, comprising the following steps: setting the category of sub-pixel points and the position of the sub-pixel points; selecting the distance from the sub-pixel block formed by the sub-pixel points from the original reference frame Integer pixels in the nearest (M+5)×(N+5) integer pixel block are used as reference pixels, and interpolation is performed according to the positions of various sub-pixels that have been set to obtain the sub-pixels. The present invention only needs to use integer pixels as reference pixels for interpolation at all sub-pixel positions, which simplifies the interpolation process in sub-pixel positions, thereby reducing the time delay of the interpolation process, and can make the motion vector accurate to 1/8 in motion compensation Pixel level, improve the prediction accuracy, reduce the bit rate, and improve the compression efficiency of video coding.

Description

一种1/8像素精度插值方法及插值装置 A 1/8 pixel precision interpolation method and interpolation device

技术领域technical field

本发明涉及视频编码技术领域,特别涉及一种1/8像素精度的插值方法及插值装置。The invention relates to the technical field of video coding, in particular to an interpolation method and an interpolation device with 1/8 pixel precision.

背景技术Background technique

现今大部分视频编码标准(如H.261、H.263、H.264、MPEG-1、MPEG-2、MPEG-4、AVS)均采用混合编码框架,在编码过程中综合运用预测、变换、熵编码等技术实现视频的压缩。Most of today's video coding standards (such as H.261, H.263, H.264, MPEG-1, MPEG-2, MPEG-4, AVS) adopt a hybrid coding framework, and comprehensively use prediction, transformation, Technologies such as entropy coding implement video compression.

现有视频编码技术中通常将视频数据分为帧内编码帧和帧间编码帧。一般情况下,在对帧间编码帧中的数据进行编码的过程中,首先在参考帧中采用运动搜索技术找到参考数据,对运动矢量进行编码来指示解码端参考数据在参考帧中的位置。初期的视频编码标准中采用整像素精度的运动补偿,如H.261。现今的视频编码标准采用分像素精度的运动补偿,在MPEG-1、MPEG-2中引入了1/2像素精度的运动补偿,而H.263、MPEG-4、H.264进一步引入了1/4像素精度的运动补偿。通过实践证明高精度的运动补偿能够使视频编码的压缩效率得到提高。In existing video coding technologies, video data is generally divided into intra-frame coding frames and inter-frame coding frames. Generally, in the process of encoding the data in an inter-coded frame, the reference data is first found in the reference frame using motion search technology, and the motion vector is encoded to indicate the position of the reference data in the reference frame at the decoding end. In the early video coding standards, motion compensation with integer pixel precision was adopted, such as H.261. Today's video coding standards adopt motion compensation with sub-pixel precision. MPEG-1 and MPEG-2 introduce motion compensation with 1/2 pixel precision, while H.263, MPEG-4 and H.264 further introduce 1/2 pixel precision motion compensation. Motion compensation with 4-pixel precision. Practice has proved that high-precision motion compensation can improve the compression efficiency of video coding.

对于分像素精度的运动补偿,分像素级别的参考数据是通过参考帧中整像素的参考数据插值得到的,早期1/2像素精度的运动补偿通常使用双线性差值。H.264中1/4像素精度的运动补偿则采用了维纳滤波器进行插值。然而现今的分像素插值方法中插值过程复杂,从而造成插值过程的时延较大,不利于运动补偿,视频编码的压缩效率低。For motion compensation with sub-pixel precision, the reference data at the sub-pixel level is obtained by interpolating the reference data of the entire pixel in the reference frame. Early motion compensation with 1/2 pixel precision usually uses bilinear difference. The motion compensation of 1/4 pixel precision in H.264 uses the Wiener filter for interpolation. However, the interpolation process in today's sub-pixel interpolation method is complex, resulting in a large time delay in the interpolation process, which is not conducive to motion compensation, and the compression efficiency of video coding is low.

发明内容Contents of the invention

本发明的目的旨在至少解决上述技术缺陷之一,特别提供了一种1/8像素精度的插值方法,该方法可以减少获取分像素的插值过程的时延,并且有利于运动补偿、减小码率并提高视频编码的压缩效率。The purpose of the present invention is to at least solve one of the above-mentioned technical defects, and in particular provide an interpolation method with 1/8 pixel precision, which can reduce the time delay of obtaining sub-pixel interpolation process, and is beneficial to motion compensation, reducing bit rate and improve the compression efficiency of video encoding.

本发明的另一个目的在于提供一种1/8像素精度的插值装置。Another object of the present invention is to provide an interpolation device with 1/8 pixel precision.

为此,本发明第一方面的实施例提出了一种1/8像素精度的插值方法,包括如下步骤:设置分像素点类别及所述分像素点的位置,所述分像素点包括:半像素点、1/4像素点和1/8像素点,其中,所述半像素点包括一类半像素点和二类半像素点,所述一类半像素点为与所述整像素点在同一行或同一列的半像素点,所述二类半像素点为所述半像素点内的剩余半像素点;For this reason, the embodiment of the first aspect of the present invention proposes a kind of interpolation method of 1/8 pixel precision, comprises the following steps: setting sub-pixel point category and the position of described sub-pixel point, and described sub-pixel point comprises: pixel, 1/4 pixel and 1/8 pixel, wherein, the half pixel includes a type of half pixel and a second type of half pixel, and the type of half pixel is the same as the integer pixel For the half-pixels in the same row or column, the second type of half-pixels are the remaining half-pixels in the half-pixels;

所述1/4像素点包括一类1/4像素点、二类1/4像素点和三类1/4像素点,所述一类1/4像素点为与所述整像素点在同一行或同一列的1/4像素,所述二类1/4像素点为同时与所述一类半像素点和二类半像素点在同一行或同时与所述一类半像素点和二类半像素点在同一列的1/4像素点,所述三类1/4像素点为所述1/4像素点内的剩余1/4像素点;The 1/4 pixels include one type of 1/4 pixels, two types of 1/4 pixels, and three types of 1/4 pixels, and the one type of 1/4 pixels is the same as the integer pixel A 1/4 pixel in a row or the same column, the second type of 1/4 pixel point is in the same row with the first type of half pixel point and the second type of half pixel point at the same time or simultaneously with the first type of half pixel point and the second type of half pixel point The 1/4 pixel points of the same half-pixel point are in the same column, and the three types of 1/4 pixel points are the remaining 1/4 pixel points in the 1/4 pixel points;

所述1/8像素点包括一类1/8像素点、二类1/8像素点、三类1/8像素点、四类1/8像素点、五类1/8像素点、六类1/8像素点、七类1/8像素点、八类1/8像素点和九类1/8像素点,所述一类1/8像素点为位于所述整像素和一类1/4像素点之间的1/8像素点;所述二类1/8像素点为位于所述一类半像素点和一类1/4像素点之间的1/8像素点,所述三类1/8像素点为位于所述一类1/4像素点和三类1/4像素点之间的1/8像素点,所述四类1/8像素点为位于所述一类半像素点和二类1/4像素点之间的1/8像素点,所述五类1/8像素点为位于三类1/4像素点和二类1/4像素点之间的1/8像素点,所述六类1/8像素点为位于所述二类1/4像素点和二类半像素点之间的1/8像素点,所述七类1/8像素点为位于所述一类1/8像素点和三类1/8像素点之间的1/8像素点,所述八类1/8像素点为位于所述二类1/8像素点、三类1/8像素点、四类1/8像素点、五类1/8像素点之间的1/8像素点,所述九类1/8像素点为位于五类1/8像素点和六类1/8像素点之间的1/8像素点;以及The 1/8 pixel points include class 1/8 pixel points, class 2 1/8 pixel points, class 3 1/8 pixel points, class 4 1/8 pixel points, class 5 1/8 pixel points, class 6 1/8 pixels, seven types of 1/8 pixels, eight types of 1/8 pixels, and nine types of 1/8 pixels, the type 1/8 pixels are located between the integer pixels and the type 1/8 1/8 pixels between 4 pixels; the second type of 1/8 pixels are 1/8 pixels between the first type of half pixels and the first type of 1/4 pixels, and the three Class 1/8 pixel points are 1/8 pixel points located between the first class 1/4 pixel points and third class 1/4 pixel points, and the four class 1/8 pixel points are 1/8 pixel points located in the first class and a half The 1/8 pixel point between the pixel point and the second type 1/4 pixel point, the fifth type 1/8 pixel point is the 1/8 pixel point between the third type 1/4 pixel point and the second type 1/4 pixel point 8 pixels, the six types of 1/8 pixels are 1/8 pixels between the second type of 1/4 pixels and the second type of half pixels, and the seven types of 1/8 pixels are located The 1/8 pixels between the 1/8 pixels of the first category and the 1/8 pixels of the third category, the 1/8 pixels of the eight categories are located in the 1/8 pixels of the second category, the 1/8 pixels of the third category /8 pixels, four types of 1/8 pixels, 1/8 pixels between five types of 1/8 pixels, the nine types of 1/8 pixels are located in the five types of 1/8 pixels and six types of pixels 1/8 pixels between 1/8 pixels; and

从原始参考帧中选取与所述分像素点构成的分像素块距离最近的(M+5)×(N+5)整像素块中的整像素点作为参考像素点,根据已设置的各类分像素点的位置进行插值获取所述分像素点,其中,M为待插值获取的所述分像素块中每行分像素点的个数,N为待插值获取的所述分像素点中每列分像素点的个数。Select the integer pixel in the (M+5)×(N+5) integer pixel block closest to the sub-pixel block formed by the sub-pixel from the original reference frame as the reference pixel, according to the set various types The position of the sub-pixels is interpolated to obtain the sub-pixels, wherein M is the number of sub-pixels in each row in the sub-pixel block to be obtained by interpolation, and N is the number of sub-pixels in each row of the sub-pixels to be obtained by interpolation. The number of pixels in the column.

根据本发明实施例的1/8像素精度的插值方法,对于所有的分像素位置插值,仅需使用整像素作为参考像素,简化了分像素位置中插值过程,从而减少插值过程的时延。同时采用高精度的插值滤波器,在运动补偿中能够使运动矢量精确到1/8像素级,提高预测精度,减小码率,且提高视频编码的压缩效率。According to the interpolation method with 1/8 pixel precision in the embodiment of the present invention, for all sub-pixel position interpolation, only integer pixels need to be used as reference pixels, which simplifies the interpolation process in the sub-pixel position, thereby reducing the time delay of the interpolation process. At the same time, a high-precision interpolation filter is used, which can make the motion vector accurate to 1/8 pixel level in motion compensation, improve the prediction accuracy, reduce the bit rate, and improve the compression efficiency of video coding.

本发明的第二方面的实施例提出了一种1/8像素精度的插值装置,包括:获取模块,用于从原始参考帧中获取作为参考像素点的整像素点;分像素插值模块,所述分像素插值模块与所述获取模块连接,用于接收来自所述获取模块的整像素点并对所述整像素点进行插值以获取分像素点,所述分像素点包括:半像素点、1/4像素点和1/8像素点,所述分像素点插值模块包括:一类半像素插值单元,用于插值获取一类半像素点,所述一类半像素点为与所述整像素点在同一行或同一列的半像素点;二类半像素插值单元,用于插值获取二类半像素点,所述二类半像素点为所述半像素点内的剩余半像素点;一类1/4像素插值单元,用于插值获取一类1/4像素点,所述一类1/4像素点为与所述整像素点在同一行或同一列的1/4像素;二类1/4像素插值单元,用于插值获取二类1/4像素点,所述二类1/4像素点为同时与所述一类半像素点和二类半像素点在同一行或同时与所述一类半像素点和二类半像素点在同一列的1/4像素点;三类1/4像素插值单元,用于插值获取三类1/4像素点,所述三类1/4像素点为所述1/4像素点内的剩余1/4像素点;一类1/8像素插值单元,用于插值获取一类1/8像素点,所述一类1/8像素点为位于所述整像素和一类1/4像素点之间的1/8像素点;二类1/8像素插值单元,用于插值获取二类1/8像素点,所述二类1/8像素点为位于所述一类半像素点和一类1/4像素点之间的1/8像素点;三类1/8像素插值单元,用于插值获取三类1/8像素点,所述三类1/8像素点为位于所述一类1/4像素点和三类1/4像素点之间的1/8像素点;四类1/8像素插值单元,用于插值获取四类1/8像素点,所述四类1/8像素点为位于所述一类半像素点和二类1/4像素点之间的1/8像素点;五类1/8像素插值单元,用于插值获取五类1/8像素点,所述五类1/8像素点为位于三类1/4像素点和二类1/4像素点之间的1/8像素点;六类1/8像素插值单元,用于插值获取六类1/8像素点,所述六类1/8像素点为位于所述二类1/4像素点和二类半像素点之间的1/8像素点;七类1/8像素插值单元,用于插值获取七类1/8像素点,所述七类1/8像素点为位于所述一类1/8像素点和三类1/8像素点之间的1/8像素点;八类1/8像素插值单元,用于插值获取八类1/8像素点,所述八类1/8像素点为位于所述二类1/8像素点、三类1/8像素点、四类1/8像素点、五类1/8像素点之间的1/8像素点;九类1/8像素插值单元,用于插值获取九类1/8像素点,所述九类1/8像素点为位于五类1/8像素点和六类1/8像素点之间的1/8像素点;以及输出模块,所述输出模块与所述分像素插值模块相连,用于输出插值得到的分像素点的分像素值。The embodiment of the second aspect of the present invention proposes a 1/8 pixel precision interpolation device, including: an acquisition module, used to acquire an integer pixel as a reference pixel from the original reference frame; a sub-pixel interpolation module, the The sub-pixel interpolation module is connected with the acquisition module, and is used to receive integer pixels from the acquisition module and interpolate the integer pixels to obtain sub-pixels, and the sub-pixels include: half-pixels, 1/4 pixel point and 1/8 pixel point, the sub-pixel point interpolation module includes: a type of half pixel interpolation unit, used for interpolation to obtain a type of half pixel point, the type of half pixel point is related to the integer half-pixels in the same row or column; a second-type half-pixel interpolation unit for interpolating to obtain second-type half-pixels, the second-type half-pixels being the remaining half-pixels in the half-pixels; A type of 1/4 pixel interpolation unit, used for interpolation to obtain a type of 1/4 pixel, the type of 1/4 pixel is a 1/4 pixel in the same row or column as the integer pixel; two A class 1/4 pixel interpolation unit, used for interpolation to obtain a second class of 1/4 pixels, the second class of 1/4 pixels being in the same row or simultaneously with the first class of half pixels and the second class of half pixels The 1/4 pixel points in the same column as the first-type half-pixel point and the second-type half-pixel point; the third-type 1/4-pixel interpolation unit is used for interpolation to obtain three types of 1/4 pixel points, and the three-type 1/4 pixel points are The /4 pixel point is the remaining 1/4 pixel point within the 1/4 pixel point; a type of 1/8 pixel interpolation unit is used for interpolation to obtain a type of 1/8 pixel point, and the type of 1/8 pixel point The point is a 1/8 pixel point between the integer pixel and a first-class 1/4 pixel point; a second-class 1/8 pixel interpolation unit is used for interpolation to obtain a second-class 1/8 pixel point, and the second-class 1/8 pixel The /8 pixel point is a 1/8 pixel point between the first type of half pixel point and the first type of 1/4 pixel point; the third type of 1/8 pixel interpolation unit is used for interpolation to obtain three types of 1/8 pixel points , the three types of 1/8 pixels are 1/8 pixels located between the first type of 1/4 pixels and the three types of 1/4 pixels; the four types of 1/8 pixel interpolation units are used for interpolation Obtain four types of 1/8 pixels, the four types of 1/8 pixels are 1/8 pixels located between the first type of half pixels and the second type of 1/4 pixels; five types of 1/8 pixels An interpolation unit, configured to interpolate and obtain five types of 1/8 pixel points, the five types of 1/8 pixel points being 1/8 pixel points between the third type of 1/4 pixel points and the second type of 1/4 pixel points; Six types of 1/8 pixel interpolation units, used for interpolation to obtain six types of 1/8 pixel points, the six types of 1/8 pixel points are located between the second type of 1/4 pixel points and the second type of half pixel points 1/8 pixels; seven types of 1/8 pixel interpolation units, used for interpolation to obtain seven types of 1/8 pixels, the seven types of 1/8 pixels are located in the first type of 1/8 pixels and the third type 1/8 pixels between 1/8 pixels; eight types of 1/8 pixel interpolation units, used for interpolation to obtain eight types of 1/8 pixels, the eight types of 1/8 pixels are located in the second type 1/8 pixel, three types 1/ 8 pixels, four types of 1/8 pixels, 1/8 pixels between five types of 1/8 pixels; nine types of 1/8 pixel interpolation unit, used for interpolation to obtain nine types of 1/8 pixels, so The nine types of 1/8 pixels are 1/8 pixels between five types of 1/8 pixels and six types of 1/8 pixels; and an output module, the output module is connected to the sub-pixel interpolation module , used to output the sub-pixel value of the sub-pixel obtained by interpolation.

根据本发明实施例的1/8像素精度的插值装置,对于所有的分像素位置插值,仅需使用整像素作为参考像素,简化了分像素位置中插值过程,从而减少插值过程的时延。同时本发明实施例的插值装置采用高精度的插值滤波器,在运动补偿中能够使运动矢量精确到1/8像素级,提高预测精度,减小码率,且提高视频编码的压缩效率。According to the 1/8 pixel precision interpolation device of the embodiment of the present invention, for all sub-pixel position interpolation, only integer pixels need to be used as reference pixels, which simplifies the interpolation process in sub-pixel positions, thereby reducing the time delay of the interpolation process. At the same time, the interpolation device of the embodiment of the present invention adopts a high-precision interpolation filter, which can make the motion vector accurate to 1/8 pixel level in motion compensation, improve the prediction accuracy, reduce the code rate, and improve the compression efficiency of video coding.

本发明附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.

附图说明Description of drawings

本发明上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present invention will become apparent and easy to understand from the following description of the embodiments in conjunction with the accompanying drawings, wherein:

图1为根据本发明实施例的1/8像素精度的插值方法的流程框图;Fig. 1 is the flowchart of the interpolation method of 1/8 pixel precision according to the embodiment of the present invention;

图2为根据本发明实施例作为参考像素的整像素分布示意图;2 is a schematic diagram of the distribution of integer pixels used as reference pixels according to an embodiment of the present invention;

图3为根据本发明实施例的分像素与整像素的分布示意图;3 is a schematic diagram of the distribution of sub-pixels and integer pixels according to an embodiment of the present invention;

图4为根据本发明实施例的1/8像素精度的插值装置的结构示意图;以及4 is a schematic structural diagram of an interpolation device with 1/8 pixel precision according to an embodiment of the present invention; and

图5为图4中分像素插值模块的结构示意图。FIG. 5 is a schematic structural diagram of the sub-pixel interpolation module in FIG. 4 .

具体实施方式Detailed ways

下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本发明,而不能解释为对本发明的限制。Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention.

如图1所示,根据本发明实施例的1/8像素精度插值方法,包括如下步骤:As shown in Figure 1, the 1/8 pixel precision interpolation method according to the embodiment of the present invention includes the following steps:

S101:设置分像素点类别及所述分像素点的位置;S101: Set the sub-pixel category and the position of the sub-pixel;

分像素点包括3大类,包括半像素点、1/4像素点和1/8像素点。半像素点、1/4像素点和1/8像素点各自又细分类别,一共可以分为14小类。Sub-pixels include 3 categories, including half-pixels, 1/4 pixels and 1/8 pixels. Half pixel, 1/4 pixel, and 1/8 pixel are subdivided into categories respectively, and can be divided into 14 subcategories in total.

具体而言,如图3所示,半像素点包括一类半像素点和二类半像素点。Specifically, as shown in FIG. 3 , the half-pixels include one type of half-pixels and two types of half-pixels.

(1)一类半像素点为与整像素点在同一行或同一列的半像素点,如a5、e1;(1) A class of half-pixels are half-pixels in the same row or column as integer pixels, such as a5 and e1;

(2)二类半像素点为所述半像素点内的剩余半像素点,即除了一类半像素点外的其他半像素点,如e5;(2) The second type of half pixel point is the remaining half pixel point in the half pixel point, that is, other half pixel points except the first type of half pixel point, such as e5;

1/4像素点包括一类1/4像素点、二类1/4像素点和三类1/4像素点。The 1/4 pixel points include a type 1/4 pixel point, a type 2 1/4 pixel point and a type 3 1/4 pixel point.

(3)一类1/4像素点为与整像素点在同一行或同一列的1/4像素,如a3、a7、c1、g1;(3) Class 1/4 pixels are 1/4 pixels in the same row or column as integer pixels, such as a3, a7, c1, g1;

(4)二类1/4像素点为同时与一类半像素点和二类半像素点在同一行或同时与一类半像素点和二类半像素点在同一列的1/4像素点,如c5,e3,e7,g5;(4) The second type of 1/4 pixel point is a 1/4 pixel point that is in the same row as the first type of half pixel point and the second type of half pixel point or in the same column as the first type of half pixel point and the second type of half pixel point , such as c5, e3, e7, g5;

(5)三类1/4像素点为1/4像素点内的剩余1/4像素点,即除了一类1/4像素点和二类1/4像素点之外的1/4像素点,如c3、c7、g3,g7;(5) The three types of 1/4 pixels are the remaining 1/4 pixels in the 1/4 pixels, that is, the 1/4 pixels except the first type of 1/4 pixels and the second type of 1/4 pixels , such as c3, c7, g3, g7;

1/8像素点包括一类1/8像素点、二类1/8像素点、三类1/8像素点、四类1/8像素点、五类1/8像素点、六类1/8像素点、七类1/8像素点、八类1/8像素点和九类1/8像素点。1/8 pixels include Class I 1/8 pixels, Class II 1/8 pixels, Class III 1/8 pixels, Class IV 1/8 pixels, Class V 1/8 pixels, Class VI 1/8 8 pixels, seven types of 1/8 pixels, eight types of 1/8 pixels and nine types of 1/8 pixels.

(6)一类1/8像素点为位于整像素和一类1/4像素点之间的1/8像素点,如a2、a8、b1、h1;(6) A class 1/8 pixel is a 1/8 pixel located between an integer pixel and a class 1/4 pixel, such as a2, a8, b1, h1;

(7)二类1/8像素点为位于一类半像素点和一类1/4像素点之间的1/8像素点,如a4、a6、d1、f1;(7) The second type of 1/8 pixel point is a 1/8 pixel point between the first type of half pixel point and the first type of 1/4 pixel point, such as a4, a6, d1, f1;

(8)三类1/8像素点为位于一类1/4像素点和三类1/4像素点之间的1/8像素点,如b3、b7、c2、c8、g2、g8、h2、h8;(8) Three types of 1/8 pixels are 1/8 pixels between one type of 1/4 pixels and three types of 1/4 pixels, such as b3, b7, c2, c8, g2, g8, h2 , h8;

(9)四类1/8像素点为位于一类半像素点和二类1/4像素点之间的1/8像素点,如b5、e2、e8、h5;(9) The four types of 1/8 pixels are 1/8 pixels located between the first type of half pixels and the second type of 1/4 pixels, such as b5, e2, e8, h5;

(10)五类1/8像素点为位于三类1/4像素点和二类1/4像素点之间的1/8像素点,如c4、c6、d3、d7、f3、f7、g4、g6;(10) The five types of 1/8 pixels are 1/8 pixels located between the three types of 1/4 pixels and the second type of 1/4 pixels, such as c4, c6, d3, d7, f3, f7, g4 , g6;

(11)六类1/8像素点为位于二类1/4像素点和二类半像素点之间的1/8像素点,如d5、e4、e6、f5;(11) Six types of 1/8 pixels are 1/8 pixels located between the second type of 1/4 pixels and the second type of half pixels, such as d5, e4, e6, f5;

(12)七类1/8像素点为位于一类1/8像素点和三类1/8像素点之间的1/8像素点,如b2、b8、g2、g8;(12) The seven types of 1/8 pixels are 1/8 pixels located between the first type of 1/8 pixels and the third type of 1/8 pixels, such as b2, b8, g2, g8;

(13)八类1/8像素点为位于二类1/8像素点、三类1/8像素点、四类1/8像素点、五类1/8像素点之间的1/8像素点,如b4、b6、d2、d8、f2、f8、h4、h6;(13) Eight types of 1/8 pixels are 1/8 pixels between the second type of 1/8 pixels, the third type of 1/8 pixels, the fourth type of 1/8 pixels, and the fifth type of 1/8 pixels points, such as b4, b6, d2, d8, f2, f8, h4, h6;

(14)九类1/8像素点为位于五类1/8像素点和六类1/8像素点之间的1/8像素点,如d4、d6、f4、f6。(14) The nine types of 1/8 pixels are 1/8 pixels between the fifth types of 1/8 pixels and the sixth types of 1/8 pixels, such as d4, d6, f4, f6.

从图3中可以看出,同一小类别的分像素点具有的对称性。举例来说,同属于九类1/8像素点的d4和d6在竖直方向上对称,同属于六类1/8像素点的d5和e4在对角线方向上对称。It can be seen from Figure 3 that the sub-pixels of the same small category have symmetry. For example, d4 and d6 belonging to the nine types of 1/8 pixel points are symmetrical in the vertical direction, and d5 and e4 belonging to the six types of 1/8 pixel points are symmetrical in the diagonal direction.

S102:获取整像素点,根据已设置的各类分像素点的位置进行插值以获取分像素点。S102: Acquire integer pixels, and perform interpolation according to the positions of various sub-pixels that have been set to obtain sub-pixels.

从原始参考帧中选取与待插值获取的分像素点构成的分像素块距离最近的(M+5)×(N+5)整像素块中的整像素点作为参考像素点,并根据已设置的各类分像素点的位置进行插值获取分像素点,其中,M为待插值获取的分像素块中每行分像素点的个数,N为待插值获取的分像素点中每列分像素点的个数。在本发明的一个实施例中,M=1,N=1。由此,对于上述分像素位置,采用距离所插值分像素最近的6×6整像素作为参考像素进行插值。图2示出了6×6的整像素块,其中A1~A6,B1~B6,C1~C6,D1~D6,E1~E6,F1~F6均为整像素点。Select the integer pixel in the (M+5)×(N+5) integer pixel block closest to the sub-pixel block formed by the sub-pixels to be interpolated from the original reference frame as the reference pixel, and according to the set The positions of various sub-pixels are interpolated to obtain sub-pixels, where M is the number of sub-pixels in each row in the sub-pixel block to be interpolated, and N is the number of sub-pixels in each column of sub-pixels to be interpolated the number of points. In one embodiment of the present invention, M=1, N=1. Thus, for the sub-pixel position above, the 6×6 integer pixels closest to the sub-pixel to be interpolated are used as reference pixels for interpolation. FIG. 2 shows a 6×6 integer pixel block, where A1˜A6, B1˜B6, C1˜C6, D1˜D6, E1˜E6, F1˜F6 are all integer pixels.

利用插值滤波器获取各类分像素点。对于不同的分像素位置的插值,采用的插值滤波器部分滤波器的抽头系数为0,在实现时可以省略对应的抽头,因而实际实现的分像素位置的插值滤波器均为少于36个抽头的滤波器。并且每一类分像素点对应的滤波器抽头系数之和均为256。Use the interpolation filter to obtain various sub-pixel points. For the interpolation at different sub-pixel positions, the tap coefficient of the interpolation filter part of the filter used is 0, and the corresponding taps can be omitted during implementation, so the actual interpolation filters at sub-pixel positions are all less than 36 taps filter. And the sum of filter tap coefficients corresponding to each type of sub-pixel is 256.

下面分别对每一小类的分像素的插值获取进行具体说明。The sub-pixel interpolation acquisition of each sub-category will be specifically described below.

(1)一类半像素点通过抽头系数为{{0,0,0,0,0,0},{1,-3,2,2,-3,1},{5,-27,150,150,-27,5},{1,-3,2,2,-3,1},{0,0,0,0,0,0},{0,0,0,0,0,0,0}}的18抽头的滤波器或者对该滤波器进行对称变换得到的滤波器插值获取。其中,(1) A class of half-pixel points through the tap coefficients are {{0, 0, 0, 0, 0, 0}, {1, -3, 2, 2, -3, 1}, {5, -27, 150 , 150, -27, 5}, {1, -3, 2, 2, -3, 1}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0}} 18-tap filter or filter interpolation obtained by performing symmetrical transformation on the filter. in,

a5=(1*B1+(-3)*B2+2*B3+2*B4+(-3)*B5+2*B6+5*C1+(-27)*C2+150*C3+150*C4+(-27)*C5+5*C6+1*D1+(-3)*D2+2*D3+2*D4+(-3)*D5+1*D6)/256。a5=(1*B1+(-3)*B2+2*B3+2*B4+(-3)*B5+2*B6+5*C1+(-27)*C2+150*C3+150*C4+(- 27) *C5+5*C6+1*D1+(-3)*D2+2*D3+2*D4+(-3)*D5+1*D6)/256.

e1=(1*A2+5*A3+1*A4+(-3)*B2+(-27)*B3+(-3)*B4+2*C2+150*C3+2*C4+2*D2+150*D3+2*D4+(-3)*E2+(-27)*E3+(-2)*E4+1*F2+5*F3+1*F4)/256。e1=(1*A2+5*A3+1*A4+(-3)*B2+(-27)*B3+(-3)*B4+2*C2+150*C3+2*C4+2*D2+150 *D3+2*D4+(-3)*E2+(-27)*E3+(-2)*E4+1*F2+5*F3+1*F4)/256.

(2)二类半像素点通过抽头系数为(2) The tap coefficient of the second type of half-pixel point is

{{0,0,3,3,0,0},{0,0,-16,-16,0,0},{3,-16,90,90,-16,3},{3,-16,90,90,-16,3},{0,0,-16,-16,0,0},{0,0,3,3,0,0}}的20抽头的滤波器或对其进行对称变换得到的滤波器插值获取。其中,{{0, 0, 3, 3, 0, 0}, {0, 0, -16, -16, 0, 0}, {3, -16, 90, 90, -16, 3}, {3, A 20-tap filter of -16, 90, 90, -16, 3}, {0, 0, -16, -16, 0, 0}, {0, 0, 3, 3, 0, 0}} or The filter interpolation obtained by performing a symmetrical transformation on it. in,

e5=(3*A3+3*A4+(-16)*B3+(-16)*B4+3*C1+(-16)*C2+90*C3+90*C4+(-16)*C5+3*C6+3*D1+(-16)*D2+90*D3+90*D4+(-16)*D5+3*D6+(-16)*E3+(-16)*E4+3*F3+3*F4)/256。e5=(3*A3+3*A4+(-16)*B3+(-16)*B4+3*C1+(-16)*C2+90*C3+90*C4+(-16)*C5+3*C6 +3*D1+(-16)*D2+90*D3+90*D4+(-16)*D5+3*D6+(-16)*E3+(-16)*E4+3*F3+3*F4)/ 256.

(3)一类1/4像素点通过抽头系数为(3) A class of 1/4 pixel points through the tap coefficient is

{{0,0,0,0,0,0},{1,-2,1,1,-2,1},{5,-27,223,67,-14,2},{1,-2,1,1,-2,1},{0,0,0,0,0,0},{0,0,0,0,0,0}}的18抽头的滤波器或对其进行对称变换得到的滤波器插值获取。其中,{{0, 0, 0, 0, 0, 0}, {1, -2, 1, 1, -2, 1}, {5, -27, 223, 67, -14, 2}, {1, -2, 1, 1, -2, 1}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}} 18-tap filter or its Filter interpolation obtained by performing symmetric transformation. in,

a3=(1*B1+(-2)*B2+1*B3+1*B4+(-2)*B5+1*B6+5*C1+(-27)*C2+223*C3+67*C4+(-14)*C5+2*C6+1*D1+(-2)*D2+1*D3+1*D4+(-2)*D5+1*D6)/256。a3=(1*B1+(-2)*B2+1*B3+1*B4+(-2)*B5+1*B6+5*C1+(-27)*C2+223*C3+67*C4+(- 14) *C5+2*C6+1*D1+(-2)*D2+1*D3+1*D4+(-2)*D5+1*D6)/256.

a7=(1*B1+(-2)*B2+1*B3+1*B4+(-2)*B5+1*B6+2*C1+(-14)*C2+67*C3+223*C4+(-27)*C5+5*C6+1*D1+(-2)*D2+1*D3+1*D4+-2*D5+1*D6)/256。a7=(1*B1+(-2)*B2+1*B3+1*B4+(-2)*B5+1*B6+2*C1+(-14)*C2+67*C3+223*C4+(- 27) *C5+5*C6+1*D1+(-2)*D2+1*D3+1*D4+-2*D5+1*D6)/256.

c1=(1*A2+5*A3+1*A4+(-2)*B2+(-27)*B3+(-2)*B3+1*C2+223*C3+1*C4+1*D2+67*D3+1*D4+(-2)*E2+(-14)*E3+(-2)*E4+1*F2+2*F3+1*F4)/256。c1=(1*A2+5*A3+1*A4+(-2)*B2+(-27)*B3+(-2)*B3+1*C2+223*C3+1*C4+1*D2+67 *D3+1*D4+(-2)*E2+(-14)*E3+(-2)*E4+1*F2+2*F3+1*F4)/256.

g1=(1*A2+2*A3+1*A4+(-2)*B2+(-14)*B3+(-2)*B4+1*C2+67*C3+1*C4+1*D2+223*D3+1*D4+(-2)*E2+(-27)*E3+(-2)*E4+1*F2+5*F3+1*F4)/256。g1=(1*A2+2*A3+1*A4+(-2)*B2+(-14)*B3+(-2)*B4+1*C2+67*C3+1*C4+1*D2+223 *D3+1*D4+(-2)*E2+(-27)*E3+(-2)*E4+1*F2+5*F3+1*F4)/256.

(4)二类1/4像素点通过抽头系数为{{0,0,3,3,0,0},{0,0,-15,-15,0,0},{4,-23,132,132,-23,4},{2,-9,41,41,-9,2}{0,0,-9,-9,0,0},{0,0,2,2,0,0}}的20抽头的滤波器或对其进行对称变换得到的滤波器插值获取。其中,(4) The second type of 1/4 pixels through the tap coefficients are {{0, 0, 3, 3, 0, 0}, {0, 0, -15, -15, 0, 0}, {4, -23 , 132, 132, -23, 4}, {2, -9, 41, 41, -9, 2} {0, 0, -9, -9, 0, 0}, {0, 0, 2, 2 , 0, 0}}'s 20-tap filter or filter interpolation obtained by performing symmetrical transformation on it. in,

c5=(3*A3+3*A4+(-15)*B3+(-15)*B4+4*C1+(-23)*C2+132*C3+132*C4+(-23)*C5+4*C6+2*D1+(-9)*D2+41*D3+41*D4+(-9)*D5+2*D6+(-9)*E3+(-9)*E4+2*F3+2*F4)/256。c5=(3*A3+3*A4+(-15)*B3+(-15)*B4+4*C1+(-23)*C2+132*C3+132*C4+(-23)*C5+4*C6 +2*D1+(-9)*D2+41*D3+41*D4+(-9)*D5+2*D6+(-9)*E3+(-9)*E4+2*F3+2*F4)/ 256.

e3=(4*A3+2*A4+(-23)*B3+(-9)*B4+3*C1+(-15)*C2+132*C3+41*C4+(-9)*C5+2*C6+3*D1+(-15)*D2+132*D3+41*D4+(-9)*D5+2*D6+(-23)*E3+(-9)*E4+4*F3+2*F4)/256。e3=(4*A3+2*A4+(-23)*B3+(-9)*B4+3*C1+(-15)*C2+132*C3+41*C4+(-9)*C5+2*C6 +3*D1+(-15)*D2+132*D3+41*D4+(-9)*D5+2*D6+(-23)*E3+(-9)*E4+4*F3+2*F4)/ 256.

(5)三类1/4像素点通过抽头系数为(5) The three types of 1/4 pixel points pass the tap coefficient as

{{0,0,4,2,0,0},{0,0,-23,-8,0,0},{4,-23,194,60,-12,2},{2,-8,60,20,-5,1},{0,0,-12,-5,0,0},{0,0,2,1,0,0}}的20抽头的滤波器或者对该滤波器进行对称变换得到的滤波器插值获取。其中,{{0, 0, 4, 2, 0, 0}, {0, 0, -23, -8, 0, 0}, {4, -23, 194, 60, -12, 2}, {2, 20-tap filters of -8, 60, 20, -5, 1}, {0, 0, -12, -5, 0, 0}, {0, 0, 2, 1, 0, 0}} or Filter interpolation obtained by performing symmetrical transformation on the filter. in,

c3=(4*A3+2*A4+(-23)*B3+(-8)*B4+4*C1+(-23)*C2+194*C3+60*C4+(-12)*C5+2*C6+2*D1+(-8)*D2+60*D3+20*D4+(05)*D5+1*D6+(-12)*E3+(-5)*E4+2*F3+1*F4)/256。c3=(4*A3+2*A4+(-23)*B3+(-8)*B4+4*C1+(-23)*C2+194*C3+60*C4+(-12)*C5+2*C6 +2*D1+(-8)*D2+60*D3+20*D4+(05)*D5+1*D6+(-12)*E3+(-5)*E4+2*F3+1*F4)/256 .

c7=(2*A3+4*A4+(-8)*B3+(-23)*B4+2*C1+(-12)*C2+60*C3+194*C4+(-23)*C5+4*C6+1*D1+(-5)*D2+20*D3+60*D4+(-8)*D5+2*D6+(-5)*E3+(-12)*E4+1*F3+2*F4)/256。c7=(2*A3+4*A4+(-8)*B3+(-23)*B4+2*C1+(-12)*C2+60*C3+194*C4+(-23)*C5+4*C6 +1*D1+(-5)*D2+20*D3+60*D4+(-8)*D5+2*D6+(-5)*E3+(-12)*E4+1*F3+2*F4)/ 256.

g3=(2*A3+1*A4+(-12)*B3+(-5)*B4+2*C1+(-8)*C2+60*C3+20*C4+(-5)*C5+1*C6+4*D1+(-23)*D2+194*D3+60*D4+(-12)*D5+2*D6+(-23)*E3+(-8)*E4+4*F3+2*F4)/256。g3=(2*A3+1*A4+(-12)*B3+(-5)*B4+2*C1+(-8)*C2+60*C3+20*C4+(-5)*C5+1*C6 +4*D1+(-23)*D2+194*D3+60*D4+(-12)*D5+2*D6+(-23)*E3+(-8)*E4+4*F3+2*F4)/ 256.

g7=(1*A3+2*A4+(-5)*B3+(-12)*B4+1*C1+(-5)*C2+20*C3+60*C4+(-8)*C5+2*C6+2*D1+(-12)*D2+60*D3+194*D4+(-23)*D5+4*D6+(-8)*E3+(-23)*E4+2*F3+4*F4)/256。g7=(1*A3+2*A4+(-5)*B3+(-12)*B4+1*C1+(-5)*C2+20*C3+60*C4+(-8)*C5+2*C6 +2*D1+(-12)*D2+60*D3+194*D4+(-23)*D5+4*D6+(-8)*E3+(-23)*E4+2*F3+4*F4)/ 256.

(6)一类1/8像素点通过抽头系数为(6) A class of 1/8 pixels through the tap coefficient is

{{0,0,0,0,0,0},{0,-1,1,1,-1,0},{3,-18,246,30,-6,1},{0,-1,1,1,-1,0},{0,0,0,0,0,0},{0,0,0,0,0,0}}的14抽头的滤波器或者对该滤波器进行对称变换得到的滤波器插值获取。其中,a2=((-1)*B2+1*B3+1*B4+(-1)*B5+3*C1+(-18)*C2+246*C3+30*C4+(-6)*C5+1*C6+(-1)*D2+1*D3+1*D4+(-1)*D5)/256。{{0, 0, 0, 0, 0, 0}, {0, -1, 1, 1, -1, 0}, {3, -18, 246, 30, -6, 1}, {0, A 14-tap filter of -1, 1, 1, -1, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}} or the Filter interpolation obtained by performing symmetrical transformation on the filter. Among them, a2=((-1)*B2+1*B3+1*B4+(-1)*B5+3*C1+(-18)*C2+246*C3+30*C4+(-6)*C5+ 1*C6+(-1)*D2+1*D3+1*D4+(-1)*D5)/256.

a8=((-1)*B2+1*B3+1*B4+(-1)*B5+1*C1+(-6)*C2+30*C3+246*C4+(-18)*C5+3*C6+(-1)*D2+1*D3+1*D4+(-1)*D5)/256。a8=((-1)*B2+1*B3+1*B4+(-1)*B5+1*C1+(-6)*C2+30*C3+246*C4+(-18)*C5+3* C6+(-1)*D2+1*D3+1*D4+(-1)*D5)/256.

b1=(3*A3+(-1)*B2+(-18)*B3+(-1)*B4+1*C2+246*C3+1*C4+1*D2+30*D3+1*D4+(-1)*E2+(-6)*E3+(-1)*E4+1*F3)/256。b1=(3*A3+(-1)*B2+(-18)*B3+(-1)*B4+1*C2+246*C3+1*C4+1*D2+30*D3+1*D4+(- 1)*E2+(-6)*E3+(-1)*E4+1*F3)/256.

h1=(1*A3+(-1)*B2+(-6)*B3+(-1)*B4+1*C2+30*C3+1*C4+1*D2+246*D3+1*D4+(-1)*E2+(-18)*E3+(-1)*E4+3*F3)/256。h1=(1*A3+(-1)*B2+(-6)*B3+(-1)*B4+1*C2+30*C3+1*C4+1*D2+246*D3+1*D4+(- 1)*E2+(-18)*E3+(-1)*E4+3*F3)/256.

(7)二类1/8像素点通过抽头系数为(7) The second type of 1/8 pixels through the tap coefficient is

{{0,0,0,0,0,0},{1,-3,2,1,-2,1},{5,-29,189,108,-21,4},{1,-3,2,1,-2,1},{0,0,0,0,0,0},{0,0,0,0,0,0}}的18抽头的滤波器或者对该滤波器进行对称变换得到的滤波器插值获取。其中,{{0, 0, 0, 0, 0, 0}, {1, -3, 2, 1, -2, 1}, {5, -29, 189, 108, -21, 4}, {1, An 18-tap filter of -3, 2, 1, -2, 1}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}} or the Filter interpolation obtained by performing symmetrical transformation on the filter. in,

a4=(1*B1+(-3)*B2+2*B3+1*B4+(-2)*B5+1*B6+5*C1+(-29)*C2+189*C3+108*C4+(-21)*C5+4*C6+1*D1+(-3)*D2+2*D3+1*D4+(-2)*D5+1*D6)/256。a4=(1*B1+(-3)*B2+2*B3+1*B4+(-2)*B5+1*B6+5*C1+(-29)*C2+189*C3+108*C4+(- 21)*C5+4*C6+1*D1+(-3)*D2+2*D3+1*D4+(-2)*D5+1*D6)/256.

a6=(1*B1+(-2)*B2+1*B3+2*B4+(-3)*B5+1*B6+4*C1+(-21)*C2+108*C3+189*C4+(-29)*C5+5*C6+1*D1+(-2)*D2+1*D3+2*D4+(-3)*D5+1*D6)/256。a6=(1*B1+(-2)*B2+1*B3+2*B4+(-3)*B5+1*B6+4*C1+(-21)*C2+108*C3+189*C4+(- 29) *C5+5*C6+1*D1+(-2)*D2+1*D3+2*D4+(-3)*D5+1*D6)/256.

d1=(1*A2+5*A3+1*A4+(-3)*B2+(-29)*B3+(-3)*B4+2*C2+189*C3+2*C4+1*D2+108*D3+1*D4+(-2)*E2+(-21)*E3+(-2)*E4+1*F2+4*F3+1*F4)/256。d1=(1*A2+5*A3+1*A4+(-3)*B2+(-29)*B3+(-3)*B4+2*C2+189*C3+2*C4+1*D2+108 *D3+1*D4+(-2)*E2+(-21)*E3+(-2)*E4+1*F2+4*F3+1*F4)/256.

f1=(1*A2+4*A3+1*A4+(-2)*B2+(-21)*B3+(-2)*B4+1*C2+108*C3+1*C4+2*D2+189*D3+2*D4+(-3)*E2+(-29)*E3+(-3)*E4+1*F2+5*F3+1*F4)/256。f1=(1*A2+4*A3+1*A4+(-2)*B2+(-21)*B3+(-2)*B4+1*C2+108*C3+1*C4+2*D2+189 *D3+2*D4+(-3)*E2+(-29)*E3+(-3)*E4+1*F2+5*F3+1*F4)/256.

(8)三类1/8像素点通过抽头系数为(8) The three types of 1/8 pixels pass through the tap coefficient as

{{0,0,3,1,0,0},{1,-1,-14,-4,-1,0},{4,-25,214,65,-13,2},{1,-5,27,9,-3,1},{0,0,-6,-2,0,0}{0,0,1,1,0,0}}的22抽头的滤波器或者对该滤波器进行对称变换得到的滤波器插值获取。其中,{{0, 0, 3, 1, 0, 0}, {1, -1, -14, -4, -1, 0}, {4, -25, 214, 65, -13, 2}, { 1, -5, 27, 9, -3, 1}, {0, 0, -6, -2, 0, 0} {0, 0, 1, 1, 0, 0}} 22-tap filter Or obtain filter interpolation obtained by performing symmetrical transformation on the filter. in,

b3=(3*A3+1*A4+1*B1+(-1)*B2+(-14)*B3+(-4)*B4+(-1)*B5+4*C1+(-25)*C2+214*C3+65*C4+(-13)*C5+2*C6+1*D1+(-5)*D2+27*D3+9*D4+(-3)*D5+1*D6+(-6)*E3+(-2)*E4+1*F3+1*F4)/256。b3=(3*A3+1*A4+1*B1+(-1)*B2+(-14)*B3+(-4)*B4+(-1)*B5+4*C1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(-4)*E3+(-14)*E4+(-1)*E5+1*E6+1*F3+3*F4)/256。h7=(1*A3+1*A4+(-2)*B3+(-6)*B4+1*C1+(-3)*C2+9*C3+27*C4+(-5)*C5+1*C6 +2*D1+(-13)*D2+65*D3+214*D4+(-25)*D5+4*D6+(-1)*E2+(-4)*E3+(-14)*E4+(-1) *E5+1*E6+1*F3+3*F4)/256.

(9)四类1/8像素点通过抽头系数为(9) The four types of 1/8 pixels pass through the tap coefficients as

{{0,0,2,2,0,0},{1,-1,-9,-9,-1,1},{4,-26,145,145,-26,4},{1,-5,19,19,-5,1},{0,0,-4,-4,0,0},{0,0,1,1,0,0}}的24抽头的滤波器或者对该滤波器进行对称变换得到的滤波器插值获取。其中,{{0, 0, 2, 2, 0, 0}, {1, -1, -9, -9, -1, 1}, {4, -26, 145, 145, -26, 4}, { 1, -5, 19, 19, -5, 1}, {0, 0, -4, -4, 0, 0}, {0, 0, 1, 1, 0, 0}} 24-tap filtering The filter or the filter interpolation obtained by performing a symmetrical transformation on the filter. in,

b5=(2*A3+2*A4+1*B1+(-1)*B2+(-9)*B3+(-9)*B4+(-1)*B5+1*B6+4*C1+(-26)*C2+145*C3+145*C4+(-26)*C5+4*C6+1*D1+(-5)*D2+19*D3+19*D4+(-5)*D5+1*D6+(-4)*E3+(-4)*E4+1*F3+1*F4)/256。b5=(2*A3+2*A4+1*B1+(-1)*B2+(-9)*B3+(-9)*B4+(-1)*B5+1*B6+4*C1+(-26) *C2+145*C3+145*C4+(-26)*C5+4*C6+1*D1+(-5)*D2+19*D3+19*D4+(-5)*D5+1*D6+(- 4)*E3+(-4)*E4+1*F3+1*F4)/256.

e2=(1*A2+4*A3+1*A4+(-1)*B2+(-26)*B3+(-5)*B4+2*C1+(-9)*C2+145*C3+19*C4+(-4)*C5+1*C6+2*D1+(-9)*D2+145*D3+19*D4+(-4)*D5+1*D6+(-1)*E2+(-26)*E3+(-5)*E4+1*F2+4*F3+1*F4)/256。e2=(1*A2+4*A3+1*A4+(-1)*B2+(-26)*B3+(-5)*B4+2*C1+(-9)*C2+145*C3+19*C4+ (-4)*C5+1*C6+2*D1+(-9)*D2+145*D3+19*D4+(-4)*D5+1*D6+(-1)*E2+(-26)*E3+ (-5)*E4+1*F2+4*F3+1*F4)/256.

e8=(1*A3+4*A4+1*A5+(-5)*B3+(-26)*B4+(-1)*B5+1*C1+(-4)*C2+19*C3+145*C4+(-9)*C5+2*C6+1*D1+(-4)*D2+19*D3+145*D4+(-9)*D5+2*D6+(-5)*E3+(-26)*E4+(-1)*E5+1*F3+4*F4+1*F5)/256。e8=(1*A3+4*A4+1*A5+(-5)*B3+(-26)*B4+(-1)*B5+1*C1+(-4)*C2+19*C3+145*C4+ (-9)*C5+2*C6+1*D1+(-4)*D2+19*D3+145*D4+(-9)*D5+2*D6+(-5)*E3+(-26)*E4+ (-1)*E5+1*F3+4*F4+1*F5)/256.

h5=(1*A3+1*A4+(-4)*B3+(-4)*B4+1*C1+(-5)*C2+19*C3+19*C4+(-5)*C5+1*C6+4*D1+(-26)*D2+145*D3+145*D4+(-26)*D5+4*D6+1*E1+(-1)*E2+(-9)*E3+(-9)*E4+(-1)*E5+1*E6+2*F3+2*F4)/256。h5=(1*A3+1*A4+(-4)*B3+(-4)*B4+1*C1+(-5)*C2+19*C3+19*C4+(-5)*C5+1*C6 +4*D1+(-26)*D2+145*D3+145*D4+(-26)*D5+4*D6+1*E1+(-1)*E2+(-9)*E3+(-9)*E4+ (-1)*E5+1*E6+2*F3+2*F4)/256.

(10)五类1/8像素点通过抽头系数为(10) The five types of 1/8 pixel points pass the tap coefficient as

{{0,0,4,2,0,0},{0,0,-19,-11,0,0},{4,-25,166,95,-18,3},{2,-9,51,31,-7,2},{0,0,-11,-7,0,0},{0,0,2,1,0,0}}的20抽头的滤波器或者对该滤波器进行对称变换得到的滤波器插值获取。其中,{{0, 0, 4, 2, 0, 0}, {0, 0, -19, -11, 0, 0}, {4, -25, 166, 95, -18, 3}, {2, 20-tap filters of -9, 51, 31, -7, 2}, {0, 0, -11, -7, 0, 0}, {0, 0, 2, 1, 0, 0}} or Filter interpolation obtained by performing symmetrical transformation on the filter. in,

c4=(4*A3+2*A4+(-19)*B3+(-11)*B4+4*C1+(-25)*C2+166*C3+95*C4+(-18)*C5+3*C6+2*D1+(-9)*D2+51*D3+31*D4+(-7)*D5+2*D6+(-11)*E3+(-7)*E4+2*F3+1*F4)/256。c4=(4*A3+2*A4+(-19)*B3+(-11)*B4+4*C1+(-25)*C2+166*C3+95*C4+(-18)*C5+3*C6 +2*D1+(-9)*D2+51*D3+31*D4+(-7)*D5+2*D6+(-11)*E3+(-7)*E4+2*F3+1*F4)/ 256.

c6=(2*A3+4*A4+(-11)*B3+(-19)*B4+3*C1+(-18)*C2+95*C3+166*C4+(-25)*C5+4*C6+2*D1+(-7)*D2+31*D3+51*D4+(-9)*D5+2*D6+(-7)*E3+(-11)*E4+1*F3+2*F4)/256。c6=(2*A3+4*A4+(-11)*B3+(-19)*B4+3*C1+(-18)*C2+95*C3+166*C4+(-25)*C5+4*C6 +2*D1+(-7)*D2+31*D3+51*D4+(-9)*D5+2*D6+(-7)*E3+(-11)*E4+1*F3+2*F4)/ 256.

d3=(4*A3+2*A4+(-25)*B3+(-9)*B4+4*C1+(-19)*C2+166*C3+51*C4+(-11)*C5+2*C6+2*D1+(-11)*D2+95*D3+31*D4+(-7)*D5+1*D6+(-18)*E3+(-7)*E4+3*F3+2*F4)/256。d3=(4*A3+2*A4+(-25)*B3+(-9)*B4+4*C1+(-19)*C2+166*C3+51*C4+(-11)*C5+2*C6 +2*D1+(-11)*D2+95*D3+31*D4+(-7)*D5+1*D6+(-18)*E3+(-7)*E4+3*F3+2*F4)/ 256.

d7=(2*A3+4*A4+(-9)*B3+(-25)*B4+2*C1+(-11)*C2+51*C3+166*C4+(-19)*C5+4*C6+1*D1+(-7)*D2+31*D3+95*D4+(-11)*D5+2*D6+(-7)*E3+(-18)*E4+2*F3+3*F4)/256。d7=(2*A3+4*A4+(-9)*B3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19)*E4+2*F3+4*F4)/256。g6=(1*A3+2*A4+(-7)*B3+(-11)*B4+2*C1+(-7)*C2+31*C3+51*C4+(-9)*C5+2*C6 +3*D1+(-18)*D2+95*D3+166*D4+(-25)*D5+4*D6+(-11)*E3+(-19)*E4+2*F3+4*F4)/ 256.

(11)六类1/8像素点通过抽头系数为(11) Six types of 1/8 pixel points pass the tap coefficient as

{{0,0,3,3,0,0},{0,0,-17,-17,0,0},{4,-20,113,113,-20,4},{2,-12,66,66,-12,2},{0,0,-13,-13,0,0},{0,0,2,2,0,0}}的20抽头的滤波器或者对该滤波器进行对称变换得到的滤波器插值获取。其中,{{0, 0, 3, 3, 0, 0}, {0, 0, -17, -17, 0, 0}, {4, -20, 113, 113, -20, 4}, {2, 20-tap filters of -12, 66, 66, -12, 2}, {0, 0, -13, -13, 0, 0}, {0, 0, 2, 2, 0, 0}} or Filter interpolation obtained by performing symmetrical transformation on the filter. in,

d5=(3*A3+3*A4+(-17)*B3+(-17)*B4+4*C1+(-20)*C2+113*C3+113*C4+(-20)*C5+4*C6+2*D1+(-12)*D2+66*D3+66*D4+(-12)*D5+2*D6+(-13)*E3+(-13)*E4+2*F3+2*F4)/256。d5=(3*A3+3*A4+(-17)*B3+(-17)*B4+4*C1+(-20)*C2+113*C3+113*C4+(-20)*C5+4*C6 +2*D1+(-12)*D2+66*D3+66*D4+(-12)*D5+2*D6+(-13)*E3+(-13)*E4+2*F3+2*F4)/ 256.

e4=(4*A3+2*A4+(-20)*B3+(-12)*B4+3*C1+(-17)*C2+113*C3+66*C4+(-13)*C5+2*C6+3*D1+(-17)*D2+113*D3+66*D4+(-13)*D5+2*D6+(-20)*E3+(-12)*E4+4*F3+2*F4)/256。e4=(4*A3+2*A4+(-20)*B3+(-12)*B4+3*C1+(-17)*C2+113*C3+66*C4+(-13)*C5+2*C6 +3*D1+(-17)*D2+113*D3+66*D4+(-13)*D5+2*D6+(-20)*E3+(-12)*E4+4*F3+2*F4)/ 256.

e6=(2*A3+4*A4+(-12)*B3+(-20)*B4+2*C1+(-13)*C2+66*C3+113*C4+(-17)*C5+3*C6+2*D1+(-13)*D2+66*D3+113*D4+(-17)*D5+3*D6+(-12)*E3+(-20)*E4+2*F3+4*F4)/256。e6=(2*A3+4*A4+(-12)*B3+(-20)*B4+2*C1+(-13)*C2+66*C3+113*C4+(-17)*C5+3*C6 +2*D1+(-13)*D2+66*D3+113*D4+(-17)*D5+3*D6+(-12)*E3+(-20)*E4+2*F3+4*F4)/ 256.

f5=(2*A3+2*A4+(-13)*B3+(-13)*B4+2*C1+(-12)*C2+66*C3+66*C4+(-12)*C5+2*C6+4*D1+(-20)*D2+113*D3+113*D4+(-20)*D5+4*D6+(-17)*E3+(-17)*E4+3*F3+3*F4)/256。f5=(2*A3+2*A4+(-13)*B3+(-13)*B4+2*C1+(-12)*C2+66*C3+66*C4+(-12)*C5+2*C6 +4*D1+(-20)*D2+113*D3+113*D4+(-20)*D5+4*D6+(-17)*E3+(-17)*E4+3*F3+3*F4)/ 256.

(12)七类1/8像素点通过抽头系数为(12) Seven types of 1/8 pixel points pass the tap coefficient as

{{0,0,3,1,0,0},{0,-1,-17,-2,0,0},{3,-17,237,29,-6,1},{1,-2,29,5,-2,0},{0,0,-6,-1,0,0},{0,0,1,0,0,0}}的19抽头的滤波器或者对该滤波器进行对称变换得到的滤波器插值获取。其中,{{0, 0, 3, 1, 0, 0}, {0, -1, -17, -2, 0, 0}, {3, -17, 237, 29, -6, 1}, {1 , -2, 29, 5, -2, 0}, {0, 0, -6, -1, 0, 0}, {0, 0, 1, 0, 0, 0}} 19-tap filter Or obtain filter interpolation obtained by performing symmetrical transformation on the filter. in,

b2=(3*A3+1*A4+(-1)*B2+(-17)*B3+(-2)*B4+3*C1+(-17)*C2+237*C3+29*C4+(-6)*C5+1*C6+1*D1+(-2)*D2+29*D3+5*D4+(-2)*D5+(-6)*E3+(-1)*E4+1*F3)/256。b2=(3*A3+1*A4+(-1)*B2+(-17)*B3+(-2)*B4+3*C1+(-17)*C2+237*C3+29*C4+(-6) *C5+1*C6+1*D1+(-2)*D2+29*D3+5*D4+(-2)*D5+(-6)*E3+(-1)*E4+1*F3)/256.

b8=(1*A3+3*A4+(-2)*B3+(-17)*B4+(-1)*B5+1*C1+(-6)*C2+29*C3+237*C4+(-17)*C5+3*C6+(-1)*D2+5*D3+29*D4+(-2)*D5+1*D6+(-2)*E3+(-6)*E4+1*F4)/256。b8=(1*A3+3*A4+(-2)*B3+(-17)*B4+(-1)*B5+1*C1+(-6)*C2+29*C3+237*C4+(-17) *C5+3*C6+(-1)*D2+5*D3+29*D4+(-2)*D5+1*D6+(-2)*E3+(-6)*E4+1*F4)/256.

h2=(1*A3+(-6)*B3+(-1)*B4+1*C1+(-2)*C2+29*C3+5*C4+(-2)*C5+3*D1+(-17)*D2+237*D3+29*D4+(-6)*D5+1*D6+(-1)*E2+(-17)*E3+(-2)*E4+3*F3+1*F4)/256。h2=(1*A3+(-6)*B3+(-1)*B4+1*C1+(-2)*C2+29*C3+5*C4+(-2)*C5+3*D1+(-17) *D2+237*D3+29*D4+(-6)*D5+1*D6+(-1)*E2+(-17)*E3+(-2)*E4+3*F3+1*F4)/256.

h8=(1*A4+(-2)*B3+(-6)*B4+(-1)*C2+5*C3+29*C4+(-2)*C5+1*C6+1*D1+(-6)*D2+29*D3+237*D4+(-17)*D5+3*D6+(-2)*E3+(-17)*E4+(-1)*E5+1*F3+3*F4)/256。h8=(1*A4+(-2)*B3+(-6)*B4+(-1)*C2+5*C3+29*C4+(-2)*C5+1*C6+1*D1+(-6) *D2+29*D3+237*D4+(-17)*D5+3*D6+(-2)*E3+(-17)*E4+(-1)*E5+1*F3+3*F4)/256.

(13)八类1/8像素点通过抽头系数为(13) The eight types of 1/8 pixel points pass the tap coefficient as

{{0,0,2,1,0,0},{1,-1,-12,-7,-1,0},{5,-28,182,105,-20,4},{1,-5,24,15,-5,1},{0,0,-5,-3,0,0},{0,0,1,1,0,0}}的23抽头的滤波器或者对该滤波器进行对称变换得到的滤波器插值获取。其中,{{0, 0, 2, 1, 0, 0}, {1, -1, -12, -7, -1, 0}, {5, -28, 182, 105, -20, 4}, { 1, -5, 24, 15, -5, 1}, {0, 0, -5, -3, 0, 0}, {0, 0, 1, 1, 0, 0}} 23-tap filtering The filter or the filter interpolation obtained by performing a symmetrical transformation on the filter. in,

b4=(2*A3+1*A4+1*B1+(-1)*B2+(-12)*B3+(-7)*B4+(-1)*B5+5*C1+(-28)*C2+182*C3+105*C4+(-20)*C5+4*C6+1*D1+(-5)*D2+24*D3+15*D4+(-5)*D5+1*D6+(-5)*E3+(-3)*E4+1*F3+1*F4)/256。b4=(2*A3+1*A4+1*B1+(-1)*B2+(-12)*B3+(-7)*B4+(-1)*B5+5*C1+(-28)*C2+182 *C3+105*C4+(-20)*C5+4*C6+1*D1+(-5)*D2+24*D3+15*D4+(-5)*D5+1*D6+(-5)*E3+ (-3)*E4+1*F3+1*F4)/256.

b6=(1*A3+2*A4+(-1)*B2+(-7)*B3+(-12)*B4+(-1)*B5+1*B6+4*C1+(-20)*C2+105*C3+182*C4+(-28)*C5+5*C6+1*D1+(-5)*D2+15*D3+24*D4+(-5)*D5+1*D6+(-3)*E3+(-5)*E4+1*F3+1*F4)/256。b6=(1*A3+2*A4+(-1)*B2+(-7)*B3+(-12)*B4+(-1)*B5+1*B6+4*C1+(-20)*C2+105 *C3+182*C4+(-28)*C5+5*C6+1*D1+(-5)*D2+15*D3+24*D4+(-5)*D5+1*D6+(-3)*E3+ (-5)*E4+1*F3+1*F4)/256.

d2=(1*A2+5*A3+1*A4+(-1)*B2+(-28)*B3+(-5)*B4+2*C1+(-12)*C2+182*C3+24*C4+(-5)*C5+1*C6+1*D1+(-7)*D2+105*D3+15*D4+(-3)*D5+1*D6+(-1)*E2+(-20)*E3+(-5)*E4+4*F3+1*F4)/256。d2=(1*A2+5*A3+1*A4+(-1)*B2+(-28)*B3+(-5)*B4+2*C1+(-12)*C2+182*C3+24*C4+ (-5)*C5+1*C6+1*D1+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5)*C2+24*C3+15*C4+(-5)*C5+1*C6+5*D1+(-28)*D2+182*D3+105*D4+(-20)*D5+4*D6+1*E1+(-1)*E2+(-12)*E3+(-7)*E4+(-1)*E5+2*F3+1*F4)/256。h4=(1*A3+1*A4+(-5)*B3+(-3)*B4+1*C1+(-5)*C2+24*C3+15*C4+(-5)*C5+1*C6 +5*D1+(-28)*D2+182*D3+105*D4+(-20)*D5+4*D6+1*E1+(-1)*E2+(-12)*E3+(-7)*E4+ (-1)*E5+2*F3+1*F4)/256.

h6=(1*A3+1*A4+(-3)*B3+(-5)*B4+1*C1+(-5)*C2+15*C3+24*C4+(-5)*C5+1*C6+4*D1+(-20)*D2+105*D3+182*D4+(-28)*D5+5*D6+(-1)*E2+(-7)*E3+(-12)*E4+(-1)*E5+1*E6+1*F3+2*F4)/256。h6=(1*A3+1*A4+(-3)*B3+(-5)*B4+1*C1+(-5)*C2+15*C3+24*C4+(-5)*C5+1*C6 +4*D1+(-20)*D2+105*D3+182*D4+(-28)*D5+5*D6+(-1)*E2+(-7)*E3+(-12)*E4+(-1) *E5+1*E6+1*F3+2*F4)/256.

(14)九类1/8像素点通过抽头系数为(14) Nine types of 1/8 pixels pass the tap coefficient as

{{0,0,4,3,0,0},{0,0,-21,-13,0,0},{4,-21,141,82,-16,3},{2,-13,82,48,-10,2},{0,0,-16,-10,0,0},{0,0,3,2,0,0}}的20抽头的滤波器或者对该滤波器进行对称变换得到的滤波器插值获取。其中,{{0, 0, 4, 3, 0, 0}, {0, 0, -21, -13, 0, 0}, {4, -21, 141, 82, -16, 3}, {2, 20-tap filters of -13, 82, 48, -10, 2}, {0, 0, -16, -10, 0, 0}, {0, 0, 3, 2, 0, 0}} or Filter interpolation obtained by performing symmetrical transformation on the filter. in,

d4=(4*A3+3*A4+(-21)*B3+(-13)*B4+4*C1+(-21)*C2+141*C3+82*C4+(-16)*C5+3*C6+2*D1+(-13)*D2+82*D3+48*D4+(-10)*D5+2*D6+(-16)*E3+(-10)*E4+3*F3+2*F4)/256。d4=(4*A3+3*A4+(-21)*B3+(-13)*B4+4*C1+(-21)*C2+141*C3+82*C4+(-16)*C5+3*C6 +2*D1+(-13)*D2+82*D3+48*D4+(-10)*D5+2*D6+(-16)*E3+(-10)*E4+3*F3+2*F4)/ 256.

d6=(3*A3+4*A4+(-13)*B3+(-21)*B4+3*C1+(-16)*C2+82*C3+141*C4+(-21)*C5+4*C6+2*D1+(-10)*D2+48*D3+82*D4+(-13)*D5+2*D6+(-10)*E3+(-16)*E4+2*F3+3*F4)/256。d6=(3*A3+4*A4+(-13)*B3+(-21)*B4+3*C1+(-16)*C2+82*C3+141*C4+(-21)*C5+4*C6 +2*D1+(-10)*D2+48*D3+82*D4+(-13)*D5+2*D6+(-10)*E3+(-16)*E4+2*F3+3*F4)/ 256.

f4=(3*A3+2*A4+(-16)*B3+(-10)*B4+2*C1+(-13)*C2+82*C3+48*C4+(-10)*C5+2*C6+4*D1+(-21)*D2+141*D3+82*D4+(-16)*D5+3*D6+(-21)*E3+(-13)*E4+4*F3+3*F4)/256。f4=(3*A3+2*A4+(-16)*B3+(-10)*B4+2*C1+(-13)*C2+82*C3+48*C4+(-10)*C5+2*C6 +4*D1+(-21)*D2+141*D3+82*D4+(-16)*D5+3*D6+(-21)*E3+(-13)*E4+4*F3+3*F4)/ 256.

f6=(2*A3+3*A4+(-10)*B3+(-16)*B4+2*C1+(-10)*C2+48*C3+82*C4+(-13)*C5+3*C6+3*D1+(-16)*D2+82*D3+141*D4+(-21)*D5+4*D6+(-13)*E3+(-21)*E4+2*F3+4*F4)/256。f6=(2*A3+3*A4+(-10)*B3+(-16)*B4+2*C1+(-10)*C2+48*C3+82*C4+(-13)*C5+3*C6 +3*D1+(-16)*D2+82*D3+141*D4+(-21)*D5+4*D6+(-13)*E3+(-21)*E4+2*F3+4*F4)/ 256.

根据本发明实施例的1/8像素精度的插值方法,对于所有的分像素位置插值,仅需使用整像素作为参考像素,简化了分像素位置中插值过程,从而减少插值过程的时延。同时采用高精度的插值滤波器,在运动补偿中能够使运动矢量精确到1/8像素级,提高预测精度,减小码率,且提高视频编码的压缩效率。According to the interpolation method with 1/8 pixel precision in the embodiment of the present invention, for all sub-pixel position interpolation, only integer pixels need to be used as reference pixels, which simplifies the interpolation process in the sub-pixel position, thereby reducing the time delay of the interpolation process. At the same time, a high-precision interpolation filter is used, which can make the motion vector accurate to 1/8 pixel level in motion compensation, improve the prediction accuracy, reduce the bit rate, and improve the compression efficiency of video coding.

下面参考图4描述本发明的实施例还提出了一种1/8像素精度插值装置100。The embodiment of the present invention described below with reference to FIG. 4 also proposes a 1/8 pixel precision interpolation device 100 .

如图4所示,根据本发明实施例的1/8像素精度插值装置100包括获取模块110、分像素插值模块120和输出模块130。其中,获取模块110与分像素插值模块120通过数据总线连接,分像素插值模块120与输出模块130通过数据总线连接。As shown in FIG. 4 , the 1/8 pixel precision interpolation device 100 according to the embodiment of the present invention includes an acquisition module 110 , a sub-pixel interpolation module 120 and an output module 130 . Wherein, the acquisition module 110 is connected to the sub-pixel interpolation module 120 through a data bus, and the sub-pixel interpolation module 120 is connected to the output module 130 through a data bus.

获取模块110从原始参考帧中选取与待插值获取的分像素点构成的分像素块距离最近的(M+5)×(N+5)整像素块中的整像素点作为参考像素点。其中,M为待插值获取的分像素块中每行分像素点的个数,N为待插值获取的分像素点中每列分像素点的个数。在本发明的一个实施例中,M=1,N=1。由此,对于上述分像素位置,采用距离所插值分像素最近的6×6整像素作为参考像素进行插值。图2示出了6×6的整像素块,其中A1~A6,B1~B6,C1~C6,D1~D6,E1~E6,F1~F6均为整像素点。The acquisition module 110 selects an integer pixel point in the (M+5)×(N+5) integer pixel block closest to the sub-pixel block composed of sub-pixel points to be obtained by interpolation from the original reference frame as a reference pixel point. Wherein, M is the number of sub-pixels in each row in the sub-pixel block to be obtained by interpolation, and N is the number of sub-pixels in each column of the sub-pixels to be obtained by interpolation. In one embodiment of the present invention, M=1, N=1. Thus, for the sub-pixel position above, the 6×6 integer pixels closest to the sub-pixel to be interpolated are used as reference pixels for interpolation. FIG. 2 shows a 6×6 integer pixel block, where A1˜A6, B1˜B6, C1˜C6, D1˜D6, E1˜E6, F1˜F6 are all integer pixels.

分像素插值模块120与获取模块110相连,对来自获取模块110的作为参考像素点的整像素点进行插值以获取分像素点。分像素点包括3大类,包括半像素点、1/4像素点和1/8像素点。半像素点、1/4像素点和1/8像素点各自又细分类别,一共可以分为14小类。为获取对应于每一小类的分像素点,如图5所示,分像素插值模块120进一步包括一类半像素插值单元1201、二类半像素插值单元1202、一类1/4像素插值单元1203、二类1/4像素插值单元1204、三类1/4像素插值单元1205、一类1/8像素插值单元1206、二类1/8像素插值单元1207、三类1/8像素插值单元1208、四类1/8像素插值单元1209、五类1/8像素插值单元1210、六类1/8像素插值单元1211、七类1/8像素插值单元1212、八类1/8像素插值单元1213、九类1/8像素插值单元1214。获取模块110和输出模块130分别通过数据总线与各个插值单元相连。在本发明的一个实施例中,上述各个插值单元均可以为滤波器,各个滤波器的抽头系数之和均为256,且每个滤波器的抽头个数均小于36。The sub-pixel interpolation module 120 is connected to the acquisition module 110, and performs interpolation on the integer pixel points from the acquisition module 110 as reference pixels to obtain sub-pixel points. Sub-pixels include 3 categories, including half-pixels, 1/4 pixels and 1/8 pixels. Half pixel, 1/4 pixel, and 1/8 pixel are subdivided into categories respectively, and can be divided into 14 subcategories in total. In order to obtain sub-pixel points corresponding to each subclass, as shown in Figure 5, the sub-pixel interpolation module 120 further includes a first-class half-pixel interpolation unit 1201, a second-class half-pixel interpolation unit 1202, a first-class 1/4 pixel interpolation unit 1203, the second type 1/4 pixel interpolation unit 1204, the third type 1/4 pixel interpolation unit 1205, the first type 1/8 pixel interpolation unit 1206, the second type 1/8 pixel interpolation unit 1207, the third type 1/8 pixel interpolation unit 1208, four types of 1/8 pixel interpolation unit 1209, five types of 1/8 pixel interpolation unit 1210, six types of 1/8 pixel interpolation unit 1211, seven types of 1/8 pixel interpolation unit 1212, eight types of 1/8 pixel interpolation unit 1213. A nine-type 1/8 pixel interpolation unit 1214. The acquisition module 110 and the output module 130 are respectively connected to each interpolation unit through a data bus. In an embodiment of the present invention, each interpolation unit mentioned above may be a filter, the sum of tap coefficients of each filter is 256, and the number of taps of each filter is less than 36.

下面参考图5分别对各个插值单元进行描述。Each interpolation unit will be described below with reference to FIG. 5 .

(1)一类半像素插值单元1201可以插值获取一类半像素点,一类半像素点为与整像素点在同一行或同一列的半像素点,如a5、e1。一类半像素插值单元1201的滤波器为抽头系数为{{0,0,0,0,0,0},{1,-3,2,2,-3,1},{5,-27,150,150,-27,5},{1,-3,2,2,-3,1},{0,0,0,0,0,0},{0,0,0,0,0,0,0}}的18抽头的滤波器。其中,(1) A class of half-pixel interpolation unit 1201 can interpolate to obtain a class of half-pixels, which are half-pixels in the same row or column as integer pixels, such as a5 and e1. The filter of a type of half pixel interpolation unit 1201 has tap coefficients {{0, 0, 0, 0, 0, 0}, {1, -3, 2, 2, -3, 1}, {5, -27 , 150, 150, -27, 5}, {1, -3, 2, 2, -3, 1}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0}} an 18-tap filter. in,

a5=(1*B1+(-3)*B2+2*B3+2*B4+(-3)*B5+2*B6+5*C1+(-27)*C2+150*C3+150*C4+(-27)*C5+5*C6+1*D1+(-3)*D2+2*D3+2*D4+(-3)*D5+1*D6)/256。a5=(1*B1+(-3)*B2+2*B3+2*B4+(-3)*B5+2*B6+5*C1+(-27)*C2+150*C3+150*C4+(- 27) *C5+5*C6+1*D1+(-3)*D2+2*D3+2*D4+(-3)*D5+1*D6)/256.

e1=(1*A2+5*A3+1*A4+(-3)*B2+(-27)*B3+(-3)*B4+2*C2+150*C3+2*C4+2*D2+150*D3+2*D4+(-3)*E2+(-27)*E3+(-2)*E4+1*F2+5*F3+1*F4)/256。e1=(1*A2+5*A3+1*A4+(-3)*B2+(-27)*B3+(-3)*B4+2*C2+150*C3+2*C4+2*D2+150 *D3+2*D4+(-3)*E2+(-27)*E3+(-2)*E4+1*F2+5*F3+1*F4)/256.

(2)二类半像素插值单元1202可以插值获取二类半像素点,二类半像素点为半像素点内的剩余半像素点,即除一类半像素点以外的其他半像素点,如e5。二类半像素插值单元1202的滤波器为抽头系数为(2) The second-type half-pixel interpolation unit 1202 can interpolate to obtain the second-type half-pixels, the second-type half-pixels are the remaining half-pixels in the half-pixels, that is, other half-pixels except the first-type half-pixels, such as e5. The filter of the second type of half-pixel interpolation unit 1202 has a tap coefficient of

{{0,0,3,3,0,0},{0,0,-16,-16,0,0},{3,-16,90,90,-16,3},{3,-16,90,90,-16,3},{0,0,-16,-16,0,0},{0,0,3,3,0,0}}的20抽头的滤波器。其中,{{0, 0, 3, 3, 0, 0}, {0, 0, -16, -16, 0, 0}, {3, -16, 90, 90, -16, 3}, {3, -16, 90, 90, -16, 3}, {0, 0, -16, -16, 0, 0}, {0, 0, 3, 3, 0, 0}} 20-tap filter. in,

e5=(3*A3+3*A4+(-16)*B3+(-16)*B4+3*C1+(-16)*C2+90*C3+90*C4+(-16)*C5+3*C6+3*D1+(-16)*D2+90*D3+90*D4+(-16)*D5+3*D6+(-16)*E3+(-16)*E4+3*F3+3*F4)/256。e5=(3*A3+3*A4+(-16)*B3+(-16)*B4+3*C1+(-16)*C2+90*C3+90*C4+(-16)*C5+3*C6 +3*D1+(-16)*D2+90*D3+90*D4+(-16)*D5+3*D6+(-16)*E3+(-16)*E4+3*F3+3*F4)/ 256.

(3)一类1/4像素插值单元1203可以插值获取一类1/4像素点,一类1/4像素点为与整像素点在同一行或同一列的1/4像素点,如a3、a7、c1、g1。一类1/4像素插值单元1203的滤波器为抽头系数为(3) A type of 1/4 pixel interpolation unit 1203 can interpolate to obtain a type of 1/4 pixel point, a type of 1/4 pixel point is a 1/4 pixel point in the same row or column as an integer pixel point, such as a3 , a7, c1, g1. The filter of a kind of 1/4 pixel interpolation unit 1203 is that the tap coefficient is

{{0,0,0,0,0,0},{1,-2,1,1,-2,1},{5,-27,223,67,-14,2},{1,-2,1,1,-2,1},{0,0,0,0,0,0},{0,0,0,0,0,0}}的20抽头的滤波器。其中,{{0, 0, 0, 0, 0, 0}, {1, -2, 1, 1, -2, 1}, {5, -27, 223, 67, -14, 2}, {1, -2, 1, 1, -2, 1}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}} 20-tap filter. in,

a3=(1*B1+(-2)*B2+1*B3+1*B4+(-2)*B5+1*B6+5*C1+(-27)*C2+223*C3+67*C4+(-14)*C5+2*C6+1*D1+(-2)*D2+1*D3+1*D4+(-2)*D5+1*D6)/256。a3=(1*B1+(-2)*B2+1*B3+1*B4+(-2)*B5+1*B6+5*C1+(-27)*C2+223*C3+67*C4+(- 14) *C5+2*C6+1*D1+(-2)*D2+1*D3+1*D4+(-2)*D5+1*D6)/256.

a7=(1*B1+(-2)*B2+1*B3+1*B4+(-2)*B5+1*B6+2*C1+(-14)*C2+67*C3+223*C4+(-27)*C5+5*C6+1*D1+(-2)*D2+1*D3+1*D4+-2*D5+1*D6)/256。a7=(1*B1+(-2)*B2+1*B3+1*B4+(-2)*B5+1*B6+2*C1+(-14)*C2+67*C3+223*C4+(- 27) *C5+5*C6+1*D1+(-2)*D2+1*D3+1*D4+-2*D5+1*D6)/256.

c1=(1*A2+5*A3+1*A4+(-2)*B2+(-27)*B3+(-2)*B3+1*C2+223*C3+1*C4+1*D2+67*D3+1*D4+(-2)*E2+(-14)*E3+(-2)*E4+1*F2+2*F3+1*F4)/256。c1=(1*A2+5*A3+1*A4+(-2)*B2+(-27)*B3+(-2)*B3+1*C2+223*C3+1*C4+1*D2+67 *D3+1*D4+(-2)*E2+(-14)*E3+(-2)*E4+1*F2+2*F3+1*F4)/256.

g1=(1*A2+2*A3+1*A4+(-2)*B2+(-14)*B3+(-2)*B4+1*C2+67*C3+1*C4+1*D2+223*D3+1*D4+(-2)*E2+(-27)*E3+(-2)*E4+1*F2+5*F3+1*F4)/256。g1=(1*A2+2*A3+1*A4+(-2)*B2+(-14)*B3+(-2)*B4+1*C2+67*C3+1*C4+1*D2+223 *D3+1*D4+(-2)*E2+(-27)*E3+(-2)*E4+1*F2+5*F3+1*F4)/256.

(4)二类1/4像素插值单元1204可以插值获取二类1/4像素点,二类1/4像素点为同时与一类半像素点和二类半像素点在同一行或同时与一类半像素点和二类半像素点在同一列的1/4像素点,如c5,e3,e7,g5。二类1/4像素插值单元1204的滤波器为抽头系数为{{0,0,3,3,0,0},{0,0,-15,-15,0,0},{4,-23,132,132,-23,4},{2,-9,41,41,-9,2}{0,0,-9,-9,0,0},{0,0,2,2,0,0}}的20抽头的滤波器。其中,(4) The second type of 1/4 pixel interpolation unit 1204 can interpolate to obtain the second type of 1/4 pixel point, the second type of 1/4 pixel point is in the same row with the first type of half pixel point and the second type of half pixel point at the same time or simultaneously with the second type of half pixel point The 1/4 pixels in the same column of the first half pixel and the second half pixel, such as c5, e3, e7, g5. The filter of the second type 1/4 pixel interpolation unit 1204 has tap coefficients {{0, 0, 3, 3, 0, 0}, {0, 0, -15, -15, 0, 0}, {4, -23, 132, 132, -23, 4}, {2, -9, 41, 41, -9, 2} {0, 0, -9, -9, 0, 0}, {0, 0, 2 , 2, 0, 0}} is a 20-tap filter. in,

c5=(3*A3+3*A4+(-15)*B3+(-15)*B4+4*C1+(-23)*C2+132*C3+132*C4+(-23)*C5+4*C6+2*D1+(-9)*D2+41*D3+41*D4+(-9)*D5+2*D6+(-9)*E3+(-9)*E4+2*F3+2*F4)/256。c5=(3*A3+3*A4+(-15)*B3+(-15)*B4+4*C1+(-23)*C2+132*C3+132*C4+(-23)*C5+4*C6 +2*D1+(-9)*D2+41*D3+41*D4+(-9)*D5+2*D6+(-9)*E3+(-9)*E4+2*F3+2*F4)/ 256.

e3=(4*A3+2*A4+(-23)*B3+(-9)*B4+3*C1+(-15)*C2+132*C3+41*C4+(-9)*C5+2*C6+3*D1+(-15)*D2+132*D3+41*D4+(-9)*D5+2*D6+(-23)*E3+(-9)*E4+4*F3+2*F4)/256。e3=(4*A3+2*A4+(-23)*B3+(-9)*B4+3*C1+(-15)*C2+132*C3+41*C4+(-9)*C5+2*C6 +3*D1+(-15)*D2+132*D3+41*D4+(-9)*D5+2*D6+(-23)*E3+(-9)*E4+4*F3+2*F4)/ 256.

(5)三类1/4像素插值单元1205可以插值获取三类1/4像素点,三类1/4像素点为1/4像素点内的剩余1/4像素点,即除一类1/4像素点和二类1/4像素点之外的1/4像素点,如c3、c7、g3,g7。三类1/4像素插值单元1205的滤波器为抽头系数为(5) The three types of 1/4 pixel interpolation unit 1205 can interpolate to obtain three types of 1/4 pixels, and the three types of 1/4 pixels are the remaining 1/4 pixels in the 1/4 pixels, that is, except for one type 1 /4 pixels and 1/4 pixels other than the second type of 1/4 pixels, such as c3, c7, g3, g7. The filter of the three types of 1/4 pixel interpolation unit 1205 has a tap coefficient of

{{0,0,4,2,0,0},{0,0,-23,-8,0,0},{4,-23,194,60,-12,2},{2,-8,60,20,-5,1},{0,0,-12,-5,0,0},{0,0,2,1,0,0}}的20抽头的滤波器。其中,{{0, 0, 4, 2, 0, 0}, {0, 0, -23, -8, 0, 0}, {4, -23, 194, 60, -12, 2}, {2, 20-tap filter of -8, 60, 20, -5, 1}, {0, 0, -12, -5, 0, 0}, {0, 0, 2, 1, 0, 0}}. in,

c3=(4*A3+2*A4+(-23)*B3+(-8)*B4+4*C1+(-23)*C2+194*C3+60*C4+(-12)*C5+2*C6+2*D1+(-8)*D2+60*D3+20*D4+(05)*D5+1*D6+(-12)*E3+(-5)*E4+2*F3+1*F4)/256。c3=(4*A3+2*A4+(-23)*B3+(-8)*B4+4*C1+(-23)*C2+194*C3+60*C4+(-12)*C5+2*C6 +2*D1+(-8)*D2+60*D3+20*D4+(05)*D5+1*D6+(-12)*E3+(-5)*E4+2*F3+1*F4)/256 .

c7=(2*A3+4*A4+(-8)*B3+(-23)*B4+2*C 1+(-12)*C2+60*C3+194*C4+(-23)*C5+4*C6+1*D1+(-5)*D2+20*D3+60*D4+(-8)*D5+2*D6+(-5)*E3+(-12)*E4+1*F3+2*F4)/256。c7=(2*A3+4*A4+(-8)*B3+(-23)*B4+2*C 1+(-12)*C2+60*C3+194*C4+(-23)*C5+4 *C6+1*D1+(-5)*D2+20*D3+60*D4+(-8)*D5+2*D6+(-5)*E3+(-12)*E4+1*F3+2*F4 )/256.

g3=(2*A3+1*A4+(-12)*B3+(-5)*B4+2*C1+(-8)*C2+60*C3+20*C4+(-5)*C5+1*C6+4*D1+(-23)*D2+194*D3+60*D4+(-12)*D5+2*D6+(-23)*E3+(-8)*E4+4*F3+2*F4)/256。g3=(2*A3+1*A4+(-12)*B3+(-5)*B4+2*C1+(-8)*C2+60*C3+20*C4+(-5)*C5+1*C6 +4*D1+(-23)*D2+194*D3+60*D4+(-12)*D5+2*D6+(-23)*E3+(-8)*E4+4*F3+2*F4)/ 256.

g7=(1*A3+2*A4+(-5)*B3+(-12)*B4+1*C1+(-5)*C2+20*C3+60*C4+(-8)*C5+2*C6+2*D1+(-12)*D2+60*D3+194*D4+(-23)*D5+4*D6+(-8)*E3+(-23)*E4+2*F3+4*F4)/256。g7=(1*A3+2*A4+(-5)*B3+(-12)*B4+1*C1+(-5)*C2+20*C3+60*C4+(-8)*C5+2*C6 +2*D1+(-12)*D2+60*D3+194*D4+(-23)*D5+4*D6+(-8)*E3+(-23)*E4+2*F3+4*F4)/ 256.

(6)一类1/8像素插值单元1206可以插值获取一类1/8像素点,一类1/8像素点为位于整像素和一类1/4像素点之间的1/8像素点,如a2、a8、b1、h1。一类1/8像素插值单元1206的滤波器为抽头系数为(6) The first-class 1/8 pixel interpolation unit 1206 can interpolate to obtain a first-class 1/8 pixel point, a first-class 1/8 pixel point is a 1/8 pixel point between an integer pixel and a first-class 1/4 pixel point , such as a2, a8, b1, h1. The filter of a kind of 1/8 pixel interpolation unit 1206 is that the tap coefficient is

{{0,0,0,0,0,0},{0,-1,1,1,-1,0},{3,-18,246,30,-6,1},{0,-1,1,1,-1,0},{0,0,0,0,0,0},{0,0,0,0,0,0}}的14抽头的滤波器。其中,{{0, 0, 0, 0, 0, 0}, {0, -1, 1, 1, -1, 0}, {3, -18, 246, 30, -6, 1}, {0, -1, 1, 1, -1, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}} 14-tap filter. in,

a2=((-1)*B2+1*B3+1*B4+(-1)*B5+3*C1+(-18)*C2+246*C3+30*C4+(-6)*C5+1*C6+(-1)*D2+1*D3+1*D4+(-1)*D5)/256。a2=((-1)*B2+1*B3+1*B4+(-1)*B5+3*C1+(-18)*C2+246*C3+30*C4+(-6)*C5+1* C6+(-1)*D2+1*D3+1*D4+(-1)*D5)/256.

a8=((-1)*B2+1*B3+1*B4+(-1)*B5+1*C1+(-6)*C2+30*C3+246*C4+(-18)*C5+3*C6+(-1)*D2+1*D3+1*D4+(-1)*D5)/256。a8=((-1)*B2+1*B3+1*B4+(-1)*B5+1*C1+(-6)*C2+30*C3+246*C4+(-18)*C5+3* C6+(-1)*D2+1*D3+1*D4+(-1)*D5)/256.

b1=(3*A3+(-1)*B2+(-18)*B3+(-1)*B4+1*C2+246*C3+1*C4+1*D2+30*D3+1*D4+(-1)*E2+(-6)*E3+(-1)*E4+1*F3)/256。b1=(3*A3+(-1)*B2+(-18)*B3+(-1)*B4+1*C2+246*C3+1*C4+1*D2+30*D3+1*D4+(- 1)*E2+(-6)*E3+(-1)*E4+1*F3)/256.

h1=(1*A3+(-1)*B2+(-6)*B3+(-1)*B4+1*C2+30*C3+1*C4+1*D2+246*D3+1*D4+(-1)*E2+(-18)*E3+(-1)*E4+3*F3)/256。h1=(1*A3+(-1)*B2+(-6)*B3+(-1)*B4+1*C2+30*C3+1*C4+1*D2+246*D3+1*D4+(- 1)*E2+(-18)*E3+(-1)*E4+3*F3)/256.

(7)二类1/8像素插值单元1207可以插值获取二类1/8像素点,二类1/8像素点为位于一类半像素点和一类1/4像素点之间的1/8像素点,如a4、a6、d1、f1。二类1/8像素插值单元1207的滤波器为抽头系数为(7) The second-type 1/8 pixel interpolation unit 1207 can interpolate to obtain the second-type 1/8 pixel point, and the second-type 1/8 pixel point is 1/8 between the first-type half-pixel point and the first-type 1/4 pixel point 8 pixels, such as a4, a6, d1, f1. The filter of the second class 1/8 pixel interpolation unit 1207 is that the tap coefficient is

{{0,0,0,0,0,0},{1,-3,2,1,-2,1},{5,-29,189,108,-21,4},{1,-3,2,1,-2,1},{0,0,0,0,0,0},{0,0,0,0,0,0}}的18抽头的滤波器。其中,{{0, 0, 0, 0, 0, 0}, {1, -3, 2, 1, -2, 1}, {5, -29, 189, 108, -21, 4}, {1, -3, 2, 1, -2, 1}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}} 18-tap filter. in,

a4=(1*B1+(-3)*B2+2*B3+1*B4+(-2)*B5+1*B6+5*C1+(-29)*C2+189*C3+108*C4+(-21)*C5+4*C6+1*D1+(-3)*D2+2*D3+1*D4+(-2)*D5+1*D6)/256。a4=(1*B1+(-3)*B2+2*B3+1*B4+(-2)*B5+1*B6+5*C1+(-29)*C2+189*C3+108*C4+(- 21)*C5+4*C6+1*D1+(-3)*D2+2*D3+1*D4+(-2)*D5+1*D6)/256.

a6=(1*B1+(-2)*B2+1*B3+2*B4+(-3)*B5+1*B6+4*C1+(-21)*C2+108*C3+189*C4+(-29)*C5+5*C6+1*D1+(-2)*D2+1*D3+2*D4+(-3)*D5+1*D6)/256。a6=(1*B1+(-2)*B2+1*B3+2*B4+(-3)*B5+1*B6+4*C1+(-21)*C2+108*C3+189*C4+(- 29) *C5+5*C6+1*D1+(-2)*D2+1*D3+2*D4+(-3)*D5+1*D6)/256.

d1=(1*A2+5*A3+1*A4+(-3)*B2+(-29)*B3+(-3)*B4+2*C2+189*C3+2*C4+1*D2+108*D3+1*D4+(-2)*E2+(-21)*E3+(-2)*E4+1*F2+4*F3+1*F4)/256。d1=(1*A2+5*A3+1*A4+(-3)*B2+(-29)*B3+(-3)*B4+2*C2+189*C3+2*C4+1*D2+108 *D3+1*D4+(-2)*E2+(-21)*E3+(-2)*E4+1*F2+4*F3+1*F4)/256.

f1=(1*A2+4*A3+1*A4+(-2)*B2+(-21)*B3+(-2)*B4+1*C2+108*C3+1*C4+2*D2+189*D3+2*D4+(-3)*E2+(-29)*E3+(-3)*E4+1*F2+5*F3+1*F4)/256。f1=(1*A2+4*A3+1*A4+(-2)*B2+(-21)*B3+(-2)*B4+1*C2+108*C3+1*C4+2*D2+189 *D3+2*D4+(-3)*E2+(-29)*E3+(-3)*E4+1*F2+5*F3+1*F4)/256.

(8)三类1/8像素插值单元1208可以插值获取三类1/8像素点,三类1/8像素点为位于一类1/4像素点和三类1/4像素点之间的1/8像素点,如b3、b7、c2、c8、g2、g8、h2、h8。三类1/8像素插值单元1208的滤波器为抽头系数为(8) The three types of 1/8 pixel interpolation unit 1208 can interpolate to obtain three types of 1/8 pixels, and the three types of 1/8 pixels are located between the first type of 1/4 pixels and the third types of 1/4 pixels 1/8 pixel, such as b3, b7, c2, c8, g2, g8, h2, h8. The filter of the three types of 1/8 pixel interpolation unit 1208 has a tap coefficient of

{{0,0,3,1,0,0},{1,-1,-14,-4,-1,0},{4,-25,214,65,-13,2},{1,-5,27,9,-3,1},{0,0,-6,-2,0,0}{0,0,1,1,0,0}}的22抽头的滤波器。其中,{{0, 0, 3, 1, 0, 0}, {1, -1, -14, -4, -1, 0}, {4, -25, 214, 65, -13, 2}, { 1, -5, 27, 9, -3, 1}, {0, 0, -6, -2, 0, 0} {0, 0, 1, 1, 0, 0}} 22-tap filter . in,

b3=(3*A3+1*A4+1*B1+(-1)*B2+(-14)*B3+(-4)*B4+(-1)*B5+4*C1+(-25)*C2+214*C3+65*C4+(-13)*C5+2*C6+1*D1+(-5)*D2+27*D3+9*D4+(-3)*D5+1*D6+(-6)*E3+(-2)*E4+1*F3+1*F4)/256。b3=(3*A3+1*A4+1*B1+(-1)*B2+(-14)*B3+(-4)*B4+(-1)*B5+4*C1+(-25)*C2+214 *C3+65*C4+(-13)*C5+2*C6+1*D1+(-5)*D2+27*D3+9*D4+(-3)*D5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+(-6)*B4+1*C1+(-3)*C2+9*C3+27*C4+(-5)*C5+1*C6 +2*D1+(-13)*D2+65*D3+214*D4+(-25)*D5+4*D6+(-1)*E2+(-4)*E3+(-14)*E4+(-1) *E5+1*E6+1*F3+3*F4)/256.

(9)四类1/8像素插值单元1209可以插值获取四类1/8像素点,四类1/8像素点为位于一类半像素点和二类1/4像素点之间的1/8像素点,如b5、e2、e8、h5。四类1/8像素插值单元1209的滤波器为抽头系数为(9) The four types of 1/8 pixel interpolation unit 1209 can interpolate to obtain four types of 1/8 pixels, and the four types of 1/8 pixels are 1/8 pixels located between the first type of half pixel and the second type of 1/4 pixel 8 pixels, such as b5, e2, e8, h5. The filter of the four types of 1/8 pixel interpolation unit 1209 has a tap coefficient of

{{0,0,2,2,0,0},{1,-1,-9,-9,-1,1},{4,-26,145,145,-26,4},{1,-5,19,19,-5,1},{0,0,-4,-4,0,0},{0,0,1,1,0,0}}的24抽头的滤波器。其中,{{0, 0, 2, 2, 0, 0}, {1, -1, -9, -9, -1, 1}, {4, -26, 145, 145, -26, 4}, { 1, -5, 19, 19, -5, 1}, {0, 0, -4, -4, 0, 0}, {0, 0, 1, 1, 0, 0}} 24-tap filtering device. in,

b5=(2*A3+2*A4+1*B1+(-1)*B2+(-9)*B3+(-9)*B4+(-1)*B5+1*B6+4*C1+(-26)*C2+145*C3+145*C4+(-26)*C5+4*C6+1*D1+(-5)*D2+19*D3+19*D4+(-5)*D5+1*D6+(-4)*E3+(-4)*E4+1*F3+1*F4)/256。b5=(2*A3+2*A4+1*B1+(-1)*B2+(-9)*B3+(-9)*B4+(-1)*B5+1*B6+4*C1+(-26) *C2+145*C3+145*C4+(-26)*C5+4*C6+1*D1+(-5)*D2+19*D3+19*D4+(-5)*D5+1*D6+(- 4)*E3+(-4)*E4+1*F3+1*F4)/256.

e2=(1*A2+4*A3+1*A4+(-1)*B2+(-26)*B3+(-5)*B4+2*C1+(-9)*C2+145*C3+19*C4+(-4)*C5+1*C6+2*D1+(-9)*D2+145*D3+19*D4+(-4)*D5+1*D6+(-1)*E2+(-26)*E3+(-5)*E4+1*F2+4*F3+1*F4)/256。e2=(1*A2+4*A3+1*A4+(-1)*B2+(-26)*B3+(-5)*B4+2*C1+(-9)*C2+145*C3+19*C4+ (-4)*C5+1*C6+2*D1+(-9)*D2+145*D3+19*D4+(-4)*D5+1*D6+(-1)*E2+(-26)*E3+ (-5)*E4+1*F2+4*F3+1*F4)/256.

e8=(1*A3+4*A4+1*A5+(-5)*B3+(-26)*B4+(-1)*B5+1*C1+(-4)*C2+19*C3+145*C4+(-9)*C5+2*C6+1*D1+(-4)*D2+19*D3+145*D4+(-9)*D5+2*D6+(-5)*E3+(-26)*E4+(-1)*E5+1*F3+4*F4+1*F5)/256。e8=(1*A3+4*A4+1*A5+(-5)*B3+(-26)*B4+(-1)*B5+1*C1+(-4)*C2+19*C3+145*C4+ (-9)*C5+2*C6+1*D1+(-4)*D2+19*D3+145*D4+(-9)*D5+2*D6+(-5)*E3+(-26)*E4+ (-1)*E5+1*F3+4*F4+1*F5)/256.

h5=(1*A3+1*A4+(-4)*B3+(-4)*B4+1*C1+(-5)*C2+19*C3+19*C4+(-5)*C5+1*C6+4*D1+(-26)*D2+145*D3+145*D4+(-26)*D5+4*D6+1*E1+(-1)*E2+(-9)*E3+(-9)*E4+(-1)*E5+1*E6+2*F3+2*F4)/256。h5=(1*A3+1*A4+(-4)*B3+(-4)*B4+1*C1+(-5)*C2+19*C3+19*C4+(-5)*C5+1*C6 +4*D1+(-26)*D2+145*D3+145*D4+(-26)*D5+4*D6+1*E1+(-1)*E2+(-9)*E3+(-9)*E4+ (-1)*E5+1*E6+2*F3+2*F4)/256.

(10)五类1/8像素插值单元1210可以插值获取五类1/8像素点,五类1/8像素点为位于三类1/4像素点和二类1/4像素点之间的1/8像素点,如c4、c6、d3、d7、f3、f7、g4、g6。五类1/8像素插值单元1210的滤波器为抽头系数为(10) The five types of 1/8 pixel interpolation unit 1210 can interpolate to obtain five types of 1/8 pixels, and the five types of 1/8 pixels are located between the three types of 1/4 pixels and the second type of 1/4 pixels 1/8 pixel, such as c4, c6, d3, d7, f3, f7, g4, g6. The filter of the five-type 1/8 pixel interpolation unit 1210 is a tap coefficient of

{{0,0,4,2,0,0},{0,0,-19,-11,0,0},{4,-25,166,95,-18,3},{2,-9,51,31,-7,2},{0,0,-11,-7,0,0},{0,0,2,1,0,0}}的20抽头的滤波器。其中,{{0, 0, 4, 2, 0, 0}, {0, 0, -19, -11, 0, 0}, {4, -25, 166, 95, -18, 3}, {2, -9, 51, 31, -7, 2}, {0, 0, -11, -7, 0, 0}, {0, 0, 2, 1, 0, 0}} 20-tap filter. in,

c4=(4*A3+2*A4+(-19)*B3+(-11)*B4+4*C1+(-25)*C2+166*C3+95*C4+(-18)*C5+3*C6+2*D1+(-9)*D2+51*D3+31*D4+(-7)*D5+2*D6+(-11)*E3+(-7)*E4+2*F3+1*F4)/256。c4=(4*A3+2*A4+(-19)*B3+(-11)*B4+4*C1+(-25)*C2+166*C3+95*C4+(-18)*C5+3*C6 +2*D1+(-9)*D2+51*D3+31*D4+(-7)*D5+2*D6+(-11)*E3+(-7)*E4+2*F3+1*F4)/ 256.

c6=(2*A3+4*A4+(-11)*B3+(-19)*B4+3*C1+(-18)*C2+95*C3+166*C4+(-25)*C5+4*C6+2*D1+(-7)*D2+31*D3+51*D4+(-9)*D5+2*D6+(-7)*E3+(-11)*E4+1*F3+2*F4)/256。c6=(2*A3+4*A4+(-11)*B3+(-19)*B4+3*C1+(-18)*C2+95*C3+166*C4+(-25)*C5+4*C6 +2*D1+(-7)*D2+31*D3+51*D4+(-9)*D5+2*D6+(-7)*E3+(-11)*E4+1*F3+2*F4)/ 256.

d3=(4*A3+2*A4+(-25)*B3+(-9)*B4+4*C1+(-19)*C2+166*C3+51*C4+(-11)*C5+2*C6+2*D1+(-11)*D2+95*D3+31*D4+(-7)*D5+1*D6+(-18)*E3+(-7)*E4+3*F3+2*F4)/256。d3=(4*A3+2*A4+(-25)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+(-11)*E4+4*F3+2*F4)/256。g4=(2*A3+1*A4+(-11)*B3+(-7)*B4+2*C1+(-9)*C2+51*C3+31*C4+(-7)*C5+2*C6 +4*D1+(-25)*D2+166*D3+95*D4+(-18)*D5+3*D6+(-19)*E3+(-11)*E4+4*F3+2*F4)/ 256.

g6=(1*A3+2*A4+(-7)*B3+(-11)*B4+2*C1+(-7)*C2+31*C3+51*C4+(-9)*C5+2*C6+3*D1+(-18)*D2+95*D3+166*D4+(-25)*D5+4*D6+(-11)*E3+(-19)*E4+2*F3+4*F4)/256。g6=(1*A3+2*A4+(-7)*B3+(-11)*B4+2*C1+(-7)*C2+31*C3+51*C4+(-9)*C5+2*C6 +3*D1+(-18)*D2+95*D3+166*D4+(-25)*D5+4*D6+(-11)*E3+(-19)*E4+2*F3+4*F4)/ 256.

(11)六类1/8像素插值单元1211可以插值获取六类1/8像素点,六类1/8像素点为位于二类1/4像素点和二类半像素点之间的1/8像素点,如d5、e4、e6、f5。六类1/8像素插值单元1211的滤波器为抽头系数为(11) The six types of 1/8 pixel interpolation unit 1211 can interpolate to obtain six types of 1/8 pixels, and the six types of 1/8 pixels are 1/8 pixels between the second type of 1/4 pixels and the second type of half pixels 8 pixels, such as d5, e4, e6, f5. The filter of the six types of 1/8 pixel interpolation unit 1211 is a tap coefficient of

{{0,0,3,3,0,0},{0,0,-17,-17,0,0},{4,-20,113,113,-20,4},{2,-12,66,66,-12,2},{0,0,-13,-13,0,0},{0,0,2,2,0,0}}的20抽头的滤波器。其中,{{0, 0, 3, 3, 0, 0}, {0, 0, -17, -17, 0, 0}, {4, -20, 113, 113, -20, 4}, {2, -12, 66, 66, -12, 2}, {0, 0, -13, -13, 0, 0}, {0, 0, 2, 2, 0, 0}} 20-tap filter. in,

d5=(3*A3+3*A4+(-17)*B3+(-17)*B4+4*C1+(-20)*C2+113*C3+113*C4+(-20)*C5+4*C6+2*D1+(-12)*D2+66*D3+66*D4+(-12)*D5+2*D6+(-13)*E3+(-13)*E4+2*F3+2*F4)/256。d5=(3*A3+3*A4+(-17)*B3+(-17)*B4+4*C1+(-20)*C2+113*C3+113*C4+(-20)*C5+4*C6 +2*D1+(-12)*D2+66*D3+66*D4+(-12)*D5+2*D6+(-13)*E3+(-13)*E4+2*F3+2*F4)/ 256.

e4=(4*A3+2*A4+(-20)*B3+(-12)*B4+3*C1+(-17)*C2+113*C3+66*C4+(-13)*C5+2*C6+3*D1+(-17)*D2+113*D3+66*D4+(-13)*D5+2*D6+(-20)*E3+(-12)*E4+4*F3+2*F4)/256。e4=(4*A3+2*A4+(-20)*B3+(-12)*B4+3*C1+(-17)*C2+113*C3+66*C4+(-13)*C5+2*C6 +3*D1+(-17)*D2+113*D3+66*D4+(-13)*D5+2*D6+(-20)*E3+(-12)*E4+4*F3+2*F4)/ 256.

e6=(2*A3+4*A4+(-12)*B3+(-20)*B4+2*C1+(-13)*C2+66*C3+113*C4+(-17)*C5+3*C6+2*D1+(-13)*D2+66*D3+113*D4+(-17)*D5+3*D6+(-12)*E3+(-20)*E4+2*F3+4*F4)/256。e6=(2*A3+4*A4+(-12)*B3+(-20)*B4+2*C1+(-13)*C2+66*C3+113*C4+(-17)*C5+3*C6 +2*D1+(-13)*D2+66*D3+113*D4+(-17)*D5+3*D6+(-12)*E3+(-20)*E4+2*F3+4*F4)/ 256.

f5=(2*A3+2*A4+(-13)*B3+(-13)*B4+2*C1+(-12)*C2+66*C3+66*C4+(-12)*C5+2*C6+4*D1+(-20)*D2+113*D3+113*D4+(-20)*D5+4*D6+(-17)*E3+(-17)*E4+3*F3+3*F4)/256。f5=(2*A3+2*A4+(-13)*B3+(-13)*B4+2*C1+(-12)*C2+66*C3+66*C4+(-12)*C5+2*C6 +4*D1+(-20)*D2+113*D3+113*D4+(-20)*D5+4*D6+(-17)*E3+(-17)*E4+3*F3+3*F4)/ 256.

(12)七类1/8像素插值单元1212可以插值获取七类1/8像素点,七类1/8像素点为位于一类1/8像素点和三类1/8像素点之间的1/8像素点,如b2、b8、g2、g8。七类1/8像素插值单元1212的滤波器为抽头系数为(12) The seven types of 1/8 pixel interpolation unit 1212 can interpolate to obtain seven types of 1/8 pixel points, and the seven types of 1/8 pixel points are located between the first type of 1/8 pixel points and the third type of 1/8 pixel points 1/8 pixel, such as b2, b8, g2, g8. The filter of the seven-type 1/8 pixel interpolation unit 1212 has a tap coefficient of

{{0,0,3,1,0,0},{0,-1,-17,-2,0,0},{3,-17,237,29,-6,1},{1,-2,29,5,-2,0},{0,0,-6,-1,0,0},{0,0,1,0,0,0}}的19抽头的滤波器。其中,{{0, 0, 3, 1, 0, 0}, {0, -1, -17, -2, 0, 0}, {3, -17, 237, 29, -6, 1}, {1 , -2, 29, 5, -2, 0}, {0, 0, -6, -1, 0, 0}, {0, 0, 1, 0, 0, 0}} 19-tap filter . in,

b2=(3*A3+1*A4+(-1)*B2+(-17)*B3+(-2)*B4+3*C1+(-17)*C2+237*C3+29*C4+(-6)*C5+1*C6+1*D1+(-2)*D2+29*D3+5*D4+(-2)*D5+(-6)*E3+(-1)*E4+1*F3)/256。b2=(3*A3+1*A4+(-1)*B2+(-17)*B3+(-2)*B4+3*C1+(-17)*C2+237*C3+29*C4+(-6) *C5+1*C6+1*D1+(-2)*D2+29*D3+5*D4+(-2)*D5+(-6)*E3+(-1)*E4+1*F3)/256.

b8=(1*A3+3*A4+(-2)*B3+(-17)*B4+(-1)*B5+1*C1+(-6)*C2+29*C3+237*C4+(-17)*C5+3*C6+(-1)*D2+5*D3+29*D4+(-2)*D5+1*D6+(-2)*E3+(-6)*E4+1*F4)/256。b8=(1*A3+3*A4+(-2)*B3+(-17)*B4+(-1)*B5+1*C1+(-6)*C2+29*C3+237*C4+(-17) *C5+3*C6+(-1)*D2+5*D3+29*D4+(-2)*D5+1*D6+(-2)*E3+(-6)*E4+1*F4)/256.

h2=(1*A3+(-6)*B3+(-1)*B4+1*C1+(-2)*C2+29*C3+5*C4+(-2)*C5+3*D1+(-17)*D2+237*D3+29*D4+(-6)*D5+1*D6+(-1)*E2+(-17)*E3+(-2)*E4+3*F3+1*F4)/256。h2=(1*A3+(-6)*B3+(-1)*B4+1*C1+(-2)*C2+29*C3+5*C4+(-2)*C5+3*D1+(-17) *D2+237*D3+29*D4+(-6)*D5+1*D6+(-1)*E2+(-17)*E3+(-2)*E4+3*F3+1*F4)/256.

h8=(1*A4+(-2)*B3+(-6)*B4+(-1)*C2+5*C3+29*C4+(-2)*C5+1*C6+1*D1+(-6)*D2+29*D3+237*D4+(-17)*D5+3*D6+(-2)*E3+(-17)*E4+(-1)*E5+1*F3+3*F4)/256。h8=(1*A4+(-2)*B3+(-6)*B4+(-1)*C2+5*C3+29*C4+(-2)*C5+1*C6+1*D1+(-6) *D2+29*D3+237*D4+(-17)*D5+3*D6+(-2)*E3+(-17)*E4+(-1)*E5+1*F3+3*F4)/256.

(13)八类1/8像素插值单元1213可以插值获取八类1/8像素点,八类1/8像素点为位于二类1/8像素点、三类1/8像素点、四类1/8像素点、五类1/8像素点之间的1/8像素点,如b4、b6、d2、d8、f2、f8、h4、h6。八类1/8像素插值单元1213的滤波器为抽头系数为(13) Eight types of 1/8 pixel interpolation unit 1213 can interpolate to obtain eight types of 1/8 pixels. 1/8 pixels, 1/8 pixels between five types of 1/8 pixels, such as b4, b6, d2, d8, f2, f8, h4, h6. The filter of the eight types of 1/8 pixel interpolation unit 1213 is a tap coefficient of

{{0,0,2,1,0,0},{1,-1,-12,-7,-1,0},{5,-28,182,105,-20,4},{1,-5,24,15,-5,1},{0,0,-5,-3,0,0},{0,0,1,1,0,0}}的23抽头的滤波器。其中,{{0, 0, 2, 1, 0, 0}, {1, -1, -12, -7, -1, 0}, {5, -28, 182, 105, -20, 4}, { 1, -5, 24, 15, -5, 1}, {0, 0, -5, -3, 0, 0}, {0, 0, 1, 1, 0, 0}} 23-tap filtering device. in,

b4=(2*A3+1*A4+1*B1+(-1)*B2+(-12)*B3+(-7)*B4+(-1)*B5+5*C1+(-28)*C2+182*C3+105*C4+(-20)*C5+4*C6+1*D1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4)/256.

h6=(1*A3+1*A4+(-3)*B3+(-5)*B4+1*C1+(-5)*C2+15*C3+24*C4+(-5)*C5+1*C6+4*D1+(-20)*D2+105*D3+182*D4+(-28)*D5+5*D6+(-1)*E2+(-7)*E3+(-12)*E4+(-1)*E5+1*E6+1*F3+2*F4)/256。h6=(1*A3+1*A4+(-3)*B3+(-5)*B4+1*C1+(-5)*C2+15*C3+24*C4+(-5)*C5+1*C6 +4*D1+(-20)*D2+105*D3+182*D4+(-28)*D5+5*D6+(-1)*E2+(-7)*E3+(-12)*E4+(-1) *E5+1*E6+1*F3+2*F4)/256.

(14)九类1/8像素插值单元1214可以插值获取九类1/8像素点,九类1/8像素点为位于五类1/8像素点和六类1/8像素点之间的1/8像素点,如d4、d6、f4、f6。九类1/8像素插值单元1214的滤波器为抽头系数为(14) Nine types of 1/8 pixel interpolation unit 1214 can interpolate to obtain nine types of 1/8 pixels, and nine types of 1/8 pixels are located between five types of 1/8 pixels and six types of 1/8 pixels 1/8 pixel, such as d4, d6, f4, f6. The filter of the nine types of 1/8 pixel interpolation unit 1214 is a tap coefficient of

{{0,0,4,3,0,0},{0,0,-21,-13,0,0},{4,-21,141,82,-16,3},{2,-13,82,48,-10,2},{0,0,-16,-10,0,0},{0,0,3,2,0,0}}的20抽头的滤波器。其中,{{0, 0, 4, 3, 0, 0}, {0, 0, -21, -13, 0, 0}, {4, -21, 141, 82, -16, 3}, {2, -13, 82, 48, -10, 2}, {0, 0, -16, -10, 0, 0}, {0, 0, 3, 2, 0, 0}} 20-tap filters. in,

d4=(4*A3+3*A4+(-21)*B3+(-13)*B4+4*C1+(-21)*C2+141*C3+82*C4+(-16)*C5+3*C6+2*D1+(-13)*D2+82*D3+48*D4+(-10)*D5+2*D6+(-16)*E3+(-10)*E4+3*F3+2*F4)/256。d4=(4*A3+3*A4+(-21)*B3+(-13)*B4+4*C1+(-21)*C2+141*C3+82*C4+(-16)*C5+3*C6 +2*D1+(-13)*D2+82*D3+48*D4+(-10)*D5+2*D6+(-16)*E3+(-10)*E4+3*F3+2*F4)/ 256.

d6=(3*A3+4*A4+(-13)*B3+(-21)*B4+3*C1+(-16)*C2+82*C3+141*C4+(-21)*C5+4*C6+2*D1+(-10)*D2+48*D3+82*D4+(-13)*D5+2*D6+(-10)*E3+(-16)*E4+2*F3+3*F4)/256。d6=(3*A3+4*A4+(-13)*B3+(-21)*B4+3*C1+(-16)*C2+82*C3+141*C4+(-21)*C5+4*C6 +2*D1+(-10)*D2+48*D3+82*D4+(-13)*D5+2*D6+(-10)*E3+(-16)*E4+2*F3+3*F4)/ 256.

f4=(3*A3+2*A4+(-16)*B3+(-10)*B4+2*C1+(-13)*C2+82*C3+48*C4+(-10)*C5+2*C6+4*D1+(-21)*D2+141*D3+82*D4+(-16)*D5+3*D6+(-21)*E3+(-13)*E4+4*F3+3*F4)/256。f4=(3*A3+2*A4+(-16)*B3+(-10)*B4+2*C1+(-13)*C2+82*C3+48*C4+(-10)*C5+2*C6 +4*D1+(-21)*D2+141*D3+82*D4+(-16)*D5+3*D6+(-21)*E3+(-13)*E4+4*F3+3*F4)/ 256.

f6=(2*A3+3*A4+(-10)*B3+(-16)*B4+2*C1+(-10)*C2+48*C3+82*C4+(-13)*C5+3*C6+3*D1+(-16)*D2+82*D3+141*D4+(-21)*D5+4*D6+(-13)*E3+(-21)*E4+2*F3+4*F4)/256。f6=(2*A3+3*A4+(-10)*B3+(-16)*B4+2*C1+(-10)*C2+48*C3+82*C4+(-13)*C5+3*C6 +3*D1+(-16)*D2+82*D3+141*D4+(-21)*D5+4*D6+(-13)*E3+(-21)*E4+2*F3+4*F4)/ 256.

输出模块130分别与上述各个插值单元相连,将上述插值获取的分像素的像素值输出。The output module 130 is respectively connected to the above-mentioned interpolation units, and outputs the pixel values of the sub-pixels obtained by the above-mentioned interpolation.

根据本发明实施例的1/8像素精度的插值装置,对于所有的分像素位置插值,仅需使用整像素作为参考像素,简化了分像素位置中插值过程,从而减少插值过程的时延。同时本发明实施例的插值装置采用高精度的插值滤波器,在运动补偿中能够使运动矢量精确到1/8像素级,提高预测精度,减小码率,且提高视频编码的压缩效率。According to the 1/8 pixel precision interpolation device of the embodiment of the present invention, for all sub-pixel position interpolation, only integer pixels need to be used as reference pixels, which simplifies the interpolation process in sub-pixel positions, thereby reducing the time delay of the interpolation process. At the same time, the interpolation device of the embodiment of the present invention adopts a high-precision interpolation filter, which can make the motion vector accurate to 1/8 pixel level in motion compensation, improve the prediction accuracy, reduce the code rate, and improve the compression efficiency of video coding.

在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。In the description of this specification, descriptions referring to the terms "one embodiment", "some embodiments", "example", "specific examples", or "some examples" mean that specific features described in connection with the embodiment or example , structure, material or characteristic is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

尽管已经示出和描述了本发明的实施例,对于本领域的普通技术人员而言,可以理解在不脱离本发明的原理和精神的情况下可以对这些实施例进行多种变化、修改、替换和变型,本发明的范围由所附权利要求及其等同限定。Although the embodiments of the present invention have been shown and described, those skilled in the art can understand that various changes, modifications and substitutions can be made to these embodiments without departing from the principle and spirit of the present invention. and modifications, the scope of the invention is defined by the appended claims and their equivalents.

Claims (11)

1.一种1/8像素精度插值方法,其特征在于,包括如下步骤:1. A 1/8 pixel precision interpolation method, is characterized in that, comprises the steps: 设置分像素点类别及所述分像素点的位置,所述分像素点包括:半像素点、1/4像素点和1/8像素点,Set the sub-pixel category and the position of the sub-pixel, the sub-pixel includes: half pixel, 1/4 pixel and 1/8 pixel, 其中,所述半像素点包括一类半像素点和二类半像素点,所述一类半像素点为与所述整像素点在同一行或同一列的半像素点,所述二类半像素点为所述半像素点内的剩余半像素点;Wherein, the half-pixels include one-type half-pixels and second-type half-pixels, the first-type half-pixels are half-pixels in the same row or column as the integer pixels, and the second-type half-pixels The pixels are the remaining half-pixels in the half-pixels; 所述1/4像素点包括一类1/4像素点、二类1/4像素点和三类1/4像素点,所述一类1/4像素点为与所述整像素点在同一行或同一列的1/4像素,所述二类1/4像素点为同时与所述一类半像素点和二类半像素点在同一行或同时与所述一类半像素点和二类半像素点在同一列的1/4像素点,所述三类1/4像素点为所述1/4像素点内的剩余1/4像素点;The 1/4 pixels include one type of 1/4 pixels, two types of 1/4 pixels, and three types of 1/4 pixels, and the one type of 1/4 pixels is the same as the integer pixel A 1/4 pixel in a row or the same column, the second type of 1/4 pixel point is in the same row with the first type of half pixel point and the second type of half pixel point at the same time or simultaneously with the first type of half pixel point and the second type of half pixel point The 1/4 pixel points of the same half-pixel point are in the same column, and the three types of 1/4 pixel points are the remaining 1/4 pixel points in the 1/4 pixel points; 所述1/8像素点包括一类1/8像素点、二类1/8像素点、三类1/8像素点、四类1/8像素点、五类1/8像素点、六类1/8像素点、七类1/8像素点、八类1/8像素点和九类1/8像素点,所述一类1/8像素点为位于所述整像素和一类1/4像素点之间的1/8像素点;所述二类1/8像素点为位于所述一类半像素点和一类1/4像素点之间的1/8像素点,所述三类1/8像素点为位于所述一类1/4像素点和三类1/4像素点之间的1/8像素点,所述四类1/8像素点为位于所述一类半像素点和二类1/4像素点之间的1/8像素点,所述五类1/8像素点为位于三类1/4像素点和二类1/4像素点之间的1/8像素点,所述六类1/8像素点为位于所述二类1/4像素点和二类半像素点之间的1/8像素点,所述七类1/8像素点为位于所述一类1/8像素点和三类1/8像素点之间的1/8像素点,所述八类1/8像素点为位于所述二类1/8像素点、三类1/8像素点、四类1/8像素点、五类1/8像素点之间的1/8像素点,所述九类1/8像素点为位于五类1/8像素点和六类1/8像素点之间的1/8像素点;以及The 1/8 pixel points include class 1/8 pixel points, class 2 1/8 pixel points, class 3 1/8 pixel points, class 4 1/8 pixel points, class 5 1/8 pixel points, class 6 1/8 pixels, seven types of 1/8 pixels, eight types of 1/8 pixels, and nine types of 1/8 pixels, the type 1/8 pixels are located between the integer pixels and the type 1/8 1/8 pixels between 4 pixels; the second type of 1/8 pixels are 1/8 pixels between the first type of half pixels and the first type of 1/4 pixels, and the three Class 1/8 pixel points are 1/8 pixel points located between the first class 1/4 pixel points and third class 1/4 pixel points, and the four class 1/8 pixel points are 1/8 pixel points located in the first class and a half The 1/8 pixel point between the pixel point and the second type 1/4 pixel point, the fifth type 1/8 pixel point is the 1/8 pixel point between the third type 1/4 pixel point and the second type 1/4 pixel point 8 pixels, the six types of 1/8 pixels are 1/8 pixels between the second type of 1/4 pixels and the second type of half pixels, and the seven types of 1/8 pixels are located The 1/8 pixels between the 1/8 pixels of the first category and the 1/8 pixels of the third category, the 1/8 pixels of the eight categories are located in the 1/8 pixels of the second category, the 1/8 pixels of the third category /8 pixels, four types of 1/8 pixels, 1/8 pixels between five types of 1/8 pixels, the nine types of 1/8 pixels are located in the five types of 1/8 pixels and six types of pixels 1/8 pixels between 1/8 pixels; and 从原始参考帧中选取与所述分像素点构成的分像素块距离最近的(M+5)×(N+5)整像素块中的整像素点作为参考像素点,根据已设置的各类分像素点的位置进行插值获取所述分像素点,其中,M为待插值获取的所述分像素块中每行分像素点的个数,N为待插值获取的所述分像素点中每列分像素点的个数。Select the integer pixel in the (M+5)×(N+5) integer pixel block closest to the sub-pixel block formed by the sub-pixel from the original reference frame as the reference pixel, according to the set various types The position of the sub-pixels is interpolated to obtain the sub-pixels, wherein M is the number of sub-pixels in each row in the sub-pixel block to be obtained by interpolation, and N is the number of sub-pixels in each row of the sub-pixels to be obtained by interpolation. The number of pixels in the column. 2.如权利要求1所述的插值方法,其特征在于,根据已设置的各类分像素点的位置利用插值滤波器获取各类分像素点,其中每一类分像素点对应的插值滤波器的抽头系数之和为256。2. The interpolation method according to claim 1, characterized in that, according to the positions of various sub-pixels that have been set, use interpolation filters to obtain various sub-pixels, wherein the interpolation filter corresponding to each class of sub-pixels The sum of the tap coefficients is 256. 3.如权利要求1所述的插值方法,其特征在于,所述分像素块中每行分像素点的个数为1,每列分像素点的个数为1。3. The interpolation method according to claim 1, wherein the number of sub-pixel points in each row in the sub-pixel block is 1, and the number of sub-pixel points in each column is 1. 4.如权利要求3所述的插值方法,其特征在于,所述插值滤波器的抽头个数小于36。4. The interpolation method according to claim 3, wherein the number of taps of the interpolation filter is less than 36. 5.如权利要求4所述的插值方法,其特征在于,所述一类半像素点通过抽头系数为{{0,0,0,0,0,0},{1,-3,2,2,-3,1},{5,-27,150,150,-27,5},{1,-3,2,2,-3,1},{0,0,0,0,0,0},{0,0,0,0,0,0,0}}的18抽头的滤波器插值获取;5. The interpolation method according to claim 4, characterized in that, the tap coefficients of said one type of half pixel points are {{0,0,0,0,0,0}, {1,-3,2, 2, -3, 1}, {5, -27, 150, 150, -27, 5}, {1, -3, 2, 2, -3, 1}, {0, 0, 0, 0, 0 , 0}, 18-tap filter interpolation acquisition of {0, 0, 0, 0, 0, 0, 0}}; 所述二类半像素点通过抽头系数为The second type of half-pixel points through the tap coefficient is {{0,0,3,3,0,0},{0,0,-16,-16,0,0},{3,-16,90,90,-16,3},{3,-16,90,90,-16,3},{0,0,-16,-16,0,0},{0,0,3,3,0,0}}的20抽头的滤波器插值获取;{{0, 0, 3, 3, 0, 0}, {0, 0, -16, -16, 0, 0}, {3, -16, 90, 90, -16, 3}, {3, 20-tap filter interpolation of -16, 90, 90, -16, 3}, {0, 0, -16, -16, 0, 0}, {0, 0, 3, 3, 0, 0}} Obtain; 所述一类1/4像素点通过抽头系数为The one-type 1/4 pixel points are passed through the tap coefficient as {{0,0,0,0,0,0},{1,-2,1,1,-2,1},{5,-27,223,67,-14,2},{1,-2,1,1,-2,1},{0,0,0,0,0,0},{0,0,0,0,0,0}}的18抽头的滤波器插值获取;{{0, 0, 0, 0, 0, 0}, {1, -2, 1, 1, -2, 1}, {5, -27, 223, 67, -14, 2}, {1, -2, 1, 1, -2, 1}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}} 18-tap filter interpolation acquisition; 所述二类1/4像素点通过抽头系数为{{0,0,3,3,0,0},{0,0,-15,-15,0,0},{4,-23,132,132,-23,4},{2,-9,41,41,-9,2}{0,0,-9,-9,0,0},{0,0,2,2,0,0}}的20抽头的滤波器插值获取;The second type of 1/4 pixels pass the tap coefficients as {{0, 0, 3, 3, 0, 0}, {0, 0, -15, -15, 0, 0}, {4, -23, 132, 132, -23, 4}, {2, -9, 41, 41, -9, 2} {0, 0, -9, -9, 0, 0}, {0, 0, 2, 2, 0, 0}} 20-tap filter interpolation acquisition; 所述三类1/4像素点通过抽头系数为The three types of 1/4 pixel points pass the tap coefficient as {{0,0,4,2,0,0},{0,0,-23,-8,0,0},{4,-23,194,60,-12,2},{2,-8,60,20,-5,1},{0,0,-12,-5,0,0},{0,0,2,1,0,0}}的20抽头的滤波器插值获取;{{0, 0, 4, 2, 0, 0}, {0, 0, -23, -8, 0, 0}, {4, -23, 194, 60, -12, 2}, {2, 20-tap filter interpolation of -8, 60, 20, -5, 1}, {0, 0, -12, -5, 0, 0}, {0, 0, 2, 1, 0, 0}} Obtain; 所述一类1/8像素点通过抽头系数为Said one type of 1/8 pixels is passed through the tap coefficient as {{0,0,0,0,0,0},{0,-1,1,1,-1,0},{3,-18,246,30,-6,1},{0,-1,1,1,-1,0},{0,0,0,0,0,0},{0,0,0,0,0,0}}的14抽头的滤波器插值获取;{{0, 0, 0, 0, 0, 0}, {0, -1, 1, 1, -1, 0}, {3, -18, 246, 30, -6, 1}, {0, -1, 1, 1, -1, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}} 14-tap filter interpolation acquisition; 所述二类1/8像素点通过抽头系数为The second type of 1/8 pixel points through the tap coefficient is {{0,0,0,0,0,0},{1,-3,2,1,-2,1},{5,-29,189,108,-21,4},{1,-3,2,1,-2,1},{0,0,0,0,0,0},{0,0,0,0,0,0}}的18抽头的滤波器插值获取;{{0, 0, 0, 0, 0, 0}, {1, -3, 2, 1, -2, 1}, {5, -29, 189, 108, -21, 4}, {1, -3, 2, 1, -2, 1}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}} 18-tap filter interpolation acquisition; 所述三类1/8像素点通过抽头系数为The three types of 1/8 pixels pass through the tap coefficient as {{0,0,3,1,0,0},{1,-1,-14,-4,-1,0},{4,-25,214,65,-13,2},{1,-5,27,9,-3,1},{0,0,-6,-2,0,0}{0,0,1,1,0,0}}的22抽头的滤波器插值获取;{{0, 0, 3, 1, 0, 0}, {1, -1, -14, -4, -1, 0}, {4, -25, 214, 65, -13, 2}, { 1, -5, 27, 9, -3, 1}, {0, 0, -6, -2, 0, 0} {0, 0, 1, 1, 0, 0}} 22-tap filter interpolation acquisition; 所述四类1/8像素点通过抽头系数为The four types of 1/8 pixel points pass the tap coefficient as {{0,0,2,2,0,0},{1,-1,-9,-9,-1,1},{4,-26,145,145,-26,4},{1,-5,19,19,-5,1},{0,0,-4,-4,0,0},{0,0,1,1,0,0}}的24抽头的滤波器插值获取;{{0, 0, 2, 2, 0, 0}, {1, -1, -9, -9, -1, 1}, {4, -26, 145, 145, -26, 4}, { 1, -5, 19, 19, -5, 1}, {0, 0, -4, -4, 0, 0}, {0, 0, 1, 1, 0, 0}} 24-tap filtering The device interpolation acquisition; 所述五类1/8像素点通过抽头系数为The tap coefficients of the five types of 1/8 pixels are {{0,0,4,2,0,0},{0,0,-19,-11,0,0},{4,-25,166,95,-18,3},{2,-9,51,31,-7,2},{0,0,-11,-7,0,0},{0,0,2,1,0,0}}的20抽头的滤波器插值获取;{{0, 0, 4, 2, 0, 0}, {0, 0, -19, -11, 0, 0}, {4, -25, 166, 95, -18, 3}, {2, 20-tap filter interpolation of -9, 51, 31, -7, 2}, {0, 0, -11, -7, 0, 0}, {0, 0, 2, 1, 0, 0}} Obtain; 所述六类1/8像素点通过抽头系数为The six types of 1/8 pixel points pass the tap coefficient as {{0,0,3,3,0,0},{0,0,-17,-17,0,0},{4,-20,113,113,-20,4},{2,-12,66,66,-12,2},{0,0,-13,-13,0,0},{0,0,2,2,0,0}}的20抽头的滤波器插值获取;{{0, 0, 3, 3, 0, 0}, {0, 0, -17, -17, 0, 0}, {4, -20, 113, 113, -20, 4}, {2, 20-tap filter interpolation of -12, 66, 66, -12, 2}, {0, 0, -13, -13, 0, 0}, {0, 0, 2, 2, 0, 0}} Obtain; 所述七类1/8像素点通过抽头系数为The seven types of 1/8 pixel points pass the tap coefficient as {{0,0,3,1,0,0},{0,-1,-17,-2,0,0},{3,-17,237,29,-6,1},{1,-2,29,5,-2,0},{0,0,-6,-1,0,0},{0,0,1,0,0,0}}的19抽头的滤波器插值获取;{{0, 0, 3, 1, 0, 0}, {0, -1, -17, -2, 0, 0}, {3, -17, 237, 29, -6, 1}, {1 , -2, 29, 5, -2, 0}, {0, 0, -6, -1, 0, 0}, {0, 0, 1, 0, 0, 0}} 19-tap filter interpolation acquisition; 所述八类1/8像素点通过抽头系数为The eight types of 1/8 pixel points pass the tap coefficient as {{0,0,2,1,0,0},{1,-1,-12,-7,-1,0},{5,-28,182,105,-20,4},{1,-5,24,15,-5,1},{0,0,-5,-3,0,0},{0,0,1,1,0,0}}的23抽头的滤波器插值获取;{{0, 0, 2, 1, 0, 0}, {1, -1, -12, -7, -1, 0}, {5, -28, 182, 105, -20, 4}, { 1, -5, 24, 15, -5, 1}, {0, 0, -5, -3, 0, 0}, {0, 0, 1, 1, 0, 0}} 23-tap filtering The device interpolation acquisition; 所述九类1/8像素点通过抽头系数为The nine types of 1/8 pixel points pass the tap coefficient as {{0,0,4,3,0,0},{0,0,-21,-13,0,0},{4,-21,141,82,-16,3},{2,-13,82,48,-10,2},{0,0,-16,-10,0,0},{0,0,3,2,0,0}}的20抽头的滤波器插值获取。{{0, 0, 4, 3, 0, 0}, {0, 0, -21, -13, 0, 0}, {4, -21, 141, 82, -16, 3}, {2, 20-tap filter interpolation of -13, 82, 48, -10, 2}, {0, 0, -16, -10, 0, 0}, {0, 0, 3, 2, 0, 0}} Obtain. 6.一种1/8像素精度插值装置,其特征在于,包括:6. A 1/8 pixel precision interpolation device, characterized in that, comprising: 获取模块,用于从原始参考帧中获取作为参考像素点的整像素点;An acquisition module, configured to acquire an integer pixel as a reference pixel from the original reference frame; 分像素插值模块,所述分像素插值模块与所述获取模块连接,用于接收来自所述获取模块的整像素点并对所述整像素点进行插值以获取分像素点,所述分像素点包括:半像素点、1/4像素点和1/8像素点,所述分像素点插值模块包括:A sub-pixel interpolation module, the sub-pixel interpolation module is connected to the acquisition module, and is used to receive integer pixels from the acquisition module and perform interpolation on the integer pixels to obtain sub-pixels, the sub-pixels Including: half pixel, 1/4 pixel and 1/8 pixel, the sub-pixel interpolation module includes: 一类半像素插值单元,用于插值获取一类半像素点,所述一类半像素点为与所述整像素点在同一行或同一列的半像素点;A type of half-pixel interpolation unit, used for interpolation to obtain a type of half-pixel, where the type of half-pixel is a half-pixel in the same row or column as the integer pixel; 二类半像素插值单元,用于插值获取二类半像素点,所述二类半像素点为所述半像素点内的剩余半像素点;a second-type half-pixel interpolation unit, configured to obtain second-type half-pixels by interpolation, and the second-type half-pixels are remaining half-pixels in the half-pixels; 一类1/4像素插值单元,用于插值获取一类1/4像素点,所述一类1/4像素点为与所述整像素点在同一行或同一列的1/4像素;A type of 1/4 pixel interpolation unit, used for interpolation to obtain a type of 1/4 pixel, the type of 1/4 pixel is a 1/4 pixel in the same row or column as the integer pixel; 二类1/4像素插值单元,用于插值获取二类1/4像素点,所述二类1/4像素点为同时与所述一类半像素点和二类半像素点在同一行或同时与所述一类半像素点和二类半像素点在同一列的1/4像素点;The second-type 1/4 pixel interpolation unit is used for interpolation to obtain the second-type 1/4 pixel point, and the second-type 1/4 pixel point is in the same row as the first-type half-pixel point and the second-type half-pixel point at the same time or At the same time, the 1/4 pixel points in the same column as the first-type half-pixel point and the second-type half-pixel point; 三类1/4像素插值单元,用于插值获取三类1/4像素点,所述三类1/4像素点为所述1/4像素点内的剩余1/4像素点;Three types of 1/4 pixel interpolation unit, used for interpolation to obtain three types of 1/4 pixels, the three types of 1/4 pixels are the remaining 1/4 pixels in the 1/4 pixels; 一类1/8像素插值单元,用于插值获取一类1/8像素点,所述一类1/8像素点为位于所述整像素和一类1/4像素点之间的1/8像素点;A type of 1/8 pixel interpolation unit, used for interpolation to obtain a type of 1/8 pixel point, the type of 1/8 pixel point is 1/8 between the integer pixel and a type of 1/4 pixel point pixel; 二类1/8像素插值单元,用于插值获取二类1/8像素点,所述二类1/8像素点为位于所述一类半像素点和一类1/4像素点之间的1/8像素点;The second type of 1/8 pixel interpolation unit is used for interpolation to obtain the second type of 1/8 pixel points, the second type of 1/8 pixel points are located between the first type of half pixel points and the first type of 1/4 pixel points 1/8 pixel; 三类1/8像素插值单元,用于插值获取三类1/8像素点,所述三类1/8像素点为位于所述一类1/4像素点和三类1/4像素点之间的1/8像素点;Three types of 1/8 pixel interpolation unit, used for interpolation to obtain three types of 1/8 pixels, the three types of 1/8 pixels are located between the one type of 1/4 pixels and the three types of 1/4 pixels 1/8 pixels between; 四类1/8像素插值单元,用于插值获取四类1/8像素点,所述四类1/8像素点为位于所述一类半像素点和二类1/4像素点之间的1/8像素点;Four types of 1/8 pixel interpolation units, used for interpolation to obtain four types of 1/8 pixel points, the four types of 1/8 pixel points are located between the first type of half pixel points and the second type of 1/4 pixel points 1/8 pixel; 五类1/8像素插值单元,用于插值获取五类1/8像素点,所述五类1/8像素点为位于三类1/4像素点和二类1/4像素点之间的1/8像素点;Five types of 1/8 pixel interpolation unit, used for interpolation to obtain five types of 1/8 pixels, the five types of 1/8 pixels are located between the third type of 1/4 pixels and the second type of 1/4 pixels 1/8 pixel; 六类1/8像素插值单元,用于插值获取六类1/8像素点,所述六类1/8像素点为位于所述二类1/4像素点和二类半像素点之间的1/8像素点;Six types of 1/8 pixel interpolation units, used for interpolation to obtain six types of 1/8 pixel points, the six types of 1/8 pixel points are located between the second type of 1/4 pixel points and the second type of half pixel points 1/8 pixel; 七类1/8像素插值单元,用于插值获取七类1/8像素点,所述七类1/8像素点为位于所述一类1/8像素点和三类1/8像素点之间的1/8像素点;Seven types of 1/8 pixel interpolation unit, used for interpolation to obtain seven types of 1/8 pixel points, the seven types of 1/8 pixel points are located between the first type of 1/8 pixel points and the three types of 1/8 pixel points 1/8 pixels between; 八类1/8像素插值单元,用于插值获取八类1/8像素点,所述八类1/8像素点为位于所述二类1/8像素点、三类1/8像素点、四类1/8像素点、五类1/8像素点之间的1/8像素点;Eight types of 1/8 pixel interpolation unit, used for interpolation to obtain eight types of 1/8 pixel points, the eight types of 1/8 pixel points are located in the second type of 1/8 pixel points, the third type of 1/8 pixel points, Four types of 1/8 pixels, 1/8 pixels between five types of 1/8 pixels; 九类1/8像素插值单元,用于插值获取九类1/8像素点,所述九类1/8像素点为位于五类1/8像素点和六类1/8像素点之间的1/8像素点;以及Nine types of 1/8 pixel interpolation unit, used for interpolation to obtain nine types of 1/8 pixel points, the nine types of 1/8 pixel points are located between the fifth type of 1/8 pixel points and the sixth type of 1/8 pixel points 1/8 pixel; and 输出模块,所述输出模块与所述分像素插值模块相连,用于输出插值得到的分像素点的分像素值。An output module, the output module is connected to the sub-pixel interpolation module, and is used to output sub-pixel values of sub-pixel points obtained by interpolation. 7.如权利要求6所述的插值装置,其特征在于,所述作为参考像素点的整像素点为与待插值获取的分像素点构成的分像素块距离最近的(M+5)×(N+5)整像素块中的整像素点,其中,M为待插值获取的所述分像素块中每行分像素点的个数,N为待插值获取的所述分像素点中每列分像素点的个数。7. The interpolation device according to claim 6, wherein the integer pixel as the reference pixel is the closest (M+5)×( N+5) Integer pixel points in the integer pixel block, wherein M is the number of sub-pixel points in each row in the sub-pixel block to be obtained by interpolation, and N is each column in the described sub-pixel points to be obtained by interpolation The number of sub-pixels. 8.如权利要求7所述的插值装置,其特征在于,所述分像素块中每行分像素点的个数为1,每列分像素点的个数为1。8. The interpolation device according to claim 7, wherein the number of sub-pixel points in each row in the sub-pixel block is 1, and the number of sub-pixel points in each column is 1. 9.如权利要求8所述的插值装置,其特征在于,所述一类半像素插值单元、二类半像素插值单元、一类1/4像素插值单元、二类1/4像素插值单元、三类1/4像素插值单元、一类1/8像素插值单元、二类1/8像素插值单元、三类1/8像素插值单元、四类1/8像素插值单元、五类1/8像素插值单元、六类1/8像素插值单元、七类1/8像素插值单元、八类1/8像素插值单元和九类1/8像素插值单元为滤波器。9. The interpolation device according to claim 8, wherein the first type of half pixel interpolation unit, the second type of half pixel interpolation unit, the first type of 1/4 pixel interpolation unit, the second type of 1/4 pixel interpolation unit, Three types of 1/4 pixel interpolation unit, one type of 1/8 pixel interpolation unit, two types of 1/8 pixel interpolation unit, three types of 1/8 pixel interpolation unit, four types of 1/8 pixel interpolation unit, five types of 1/8 The pixel interpolation unit, six types of 1/8 pixel interpolation units, seven types of 1/8 pixel interpolation units, eight types of 1/8 pixel interpolation units and nine types of 1/8 pixel interpolation units are filters. 10.如权利要求9所述的插值装置,其特征在于,所述一类半像素插值单元、二类半像素插值单元、一类1/4像素插值单元、二类1/4像素插值单元、三类1/4像素插值单元、一类1/8像素插值单元、二类1/8像素插值单元、三类1/8像素插值单元、四类1/8像素插值单元、五类1/8像素插值单元、六类1/8像素插值单元、七类1/8像素插值单元、八类1/8像素插值单元和九类1/8像素插值单元的滤波器的抽头系数之和均为256,且每个滤波器的抽头个数均小于36。10. The interpolation device according to claim 9, wherein the first type of half pixel interpolation unit, the second type of half pixel interpolation unit, the first type of 1/4 pixel interpolation unit, the second type of 1/4 pixel interpolation unit, Three types of 1/4 pixel interpolation unit, one type of 1/8 pixel interpolation unit, two types of 1/8 pixel interpolation unit, three types of 1/8 pixel interpolation unit, four types of 1/8 pixel interpolation unit, five types of 1/8 The sum of the tap coefficients of the filters of the pixel interpolation unit, six types of 1/8 pixel interpolation units, seven types of 1/8 pixel interpolation units, eight types of 1/8 pixel interpolation units and nine types of 1/8 pixel interpolation units is 256 , and the number of taps of each filter is less than 36. 11.如权利要求10所述的插值装置,其特征在于,所述一类半像素插值单元的滤波器为抽头系数为{{0,0,0,0,0,0},{1,-3,2,2,-3,1},{5,-27,150,150,-27,5},{1,-3,2,2,-3,1},{0,0,0,0,0,0},{0,0,0,0,0,0,0}}的18抽头的滤波器;11. The interpolation device according to claim 10, characterized in that, the filter of said type of half-pixel interpolation unit has tap coefficients {{0, 0, 0, 0, 0, 0}, {1,- 3, 2, 2, -3, 1}, {5, -27, 150, 150, -27, 5}, {1, -3, 2, 2, -3, 1}, {0, 0, 0 , 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0}} is an 18-tap filter; 所述二类半像素插值单元的滤波器为抽头系数为The filter of the second type of half-pixel interpolation unit has a tap coefficient of {{0,0,3,3,0,0},{0,0,-16,-16,0,0},{3,-16,90,90,-16,3},{3,-16,90,90,-16,3},{0,0,-16,-16,0,0},{0,0,3,3,0,0}}的20抽头的滤波器;{{0, 0, 3, 3, 0, 0}, {0, 0, -16, -16, 0, 0}, {3, -16, 90, 90, -16, 3}, {3, -16, 90, 90, -16, 3}, {0, 0, -16, -16, 0, 0}, {0, 0, 3, 3, 0, 0}} 20-tap filter; 所述二类半像素插值单元的滤波器为抽头系数为The filter of the second type of half-pixel interpolation unit has a tap coefficient of {{0,0,3,3,0,0},{0,0,-16,-16,0,0},{3,-16,90,90,-16,3},{3,-16,90,90,-16,3},{0,0,-16,-16,0,0},{0,0,3,3,0,0}}的20抽头的滤波器{{0, 0, 3, 3, 0, 0}, {0, 0, -16, -16, 0, 0}, {3, -16, 90, 90, -16, 3}, {3, -16, 90, 90, -16, 3}, {0, 0, -16, -16, 0, 0}, {0, 0, 3, 3, 0, 0}} 20-tap filter 所述二类1/4像素插值单元的滤波器为抽头系数为{{0,0,3,3,0,0},{0,0,-15,-15,0,0},{4,-23,132,132,-23,4},{2,-9,41,41,-9,2}{0,0,-9,-9,0,0},{0,0,2,2,0,0}}的20抽头的滤波器;The filter of the second type 1/4 pixel interpolation unit has tap coefficients {{0, 0, 3, 3, 0, 0}, {0, 0, -15, -15, 0, 0}, {4 , -23, 132, 132, -23, 4}, {2, -9, 41, 41, -9, 2} {0, 0, -9, -9, 0, 0}, {0, 0, 2, 2, 0, 0}} 20-tap filter; 所述三类1/4像素插值单元的滤波器为抽头系数为The filters of the three types of 1/4 pixel interpolation units have a tap coefficient of {{0,0,4,2,0,0},{0,0,-23,-8,0,0},{4,-23,194,60,-12,2},{2,-8,60,20,-5,1},{0,0,-12,-5,0,0},{0,0,2,1,0,0}}的20抽头的滤波器;{{0, 0, 4, 2, 0, 0}, {0, 0, -23, -8, 0, 0}, {4, -23, 194, 60, -12, 2}, {2, 20-tap filters of -8, 60, 20, -5, 1}, {0, 0, -12, -5, 0, 0}, {0, 0, 2, 1, 0, 0}}; 所述一类1/8像素插值单元的滤波器为抽头系数为The filter of the described class 1/8 pixel interpolation unit is that the tap coefficient is {{0,0,0,0,0,0},{0,-1,1,1,-1,0},{3,-18,246,30,-6,1},{0,-1,1,1,-1,0},{0,0,0,0,0,0},{0,0,0,0,0,0}}的14抽头的滤波器;{{0, 0, 0, 0, 0, 0}, {0, -1, 1, 1, -1, 0}, {3, -18, 246, 30, -6, 1}, {0, -1, 1, 1, -1, 0}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}} 14-tap filter; 所述二类1/8像素插值单元的滤波器为抽头系数为The filter of the second type 1/8 pixel interpolation unit is that the tap coefficient is {{0,0,0,0,0,0},{1,-3,2,1,-2,1},{5,-29,189,108,-21,4},{1,-3,2,1,-2,1},{0,0,0,0,0,0},{0,0,0,0,0,0}}的18抽头的滤波器;{{0, 0, 0, 0, 0, 0}, {1, -3, 2, 1, -2, 1}, {5, -29, 189, 108, -21, 4}, {1, -3, 2, 1, -2, 1}, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}} 18-tap filter; 所述三类1/8像素插值单元的滤波器为抽头系数为The filters of the three types of 1/8 pixel interpolation units are tap coefficients of {{0,0,3,1,0,0},{1,-1,-14,-4,-1,0},{4,-25,214,65,-13,2},{1,-5,27,9,-3,1},{0,0,-6,-2,0,0}{0,0,1,1,0,0}}的22抽头的滤波器;{{0, 0, 3, 1, 0, 0}, {1, -1, -14, -4, -1, 0}, {4, -25, 214, 65, -13, 2}, { 1, -5, 27, 9, -3, 1}, {0, 0, -6, -2, 0, 0} {0, 0, 1, 1, 0, 0}} 22-tap filter ; 所述四类1/8像素插值单元的滤波器为抽头系数为The filters of the four types of 1/8 pixel interpolation units are tap coefficients of {{0,0,2,2,0,0},{1,-1,-9,-9,-1,1},{4,-26,145,145,-26,4},{1,-5,19,19,-5,1},{0,0,-4,-4,0,0},{0,0,1,1,0,0}}的24抽头的滤波器;{{0, 0, 2, 2, 0, 0}, {1, -1, -9, -9, -1, 1}, {4, -26, 145, 145, -26, 4}, { 1, -5, 19, 19, -5, 1}, {0, 0, -4, -4, 0, 0}, {0, 0, 1, 1, 0, 0}} 24-tap filtering device; 所述五类1/8像素插值单元的滤波器为抽头系数为The filter of the five types of 1/8 pixel interpolation units is that the tap coefficient is {{0,0,4,2,0,0},{0,0,-19,-11,0,0},{4,-25,166,95,-18,3},{2,-9,51,31,-7,2},{0,0,-11,-7,0,0},{0,0,2,1,0,0}}的20抽头的滤波器;{{0, 0, 4, 2, 0, 0}, {0, 0, -19, -11, 0, 0}, {4, -25, 166, 95, -18, 3}, {2, 20-tap filters of -9, 51, 31, -7, 2}, {0, 0, -11, -7, 0, 0}, {0, 0, 2, 1, 0, 0}}; 所述六类1/8像素插值单元的滤波器为抽头系数为The filter of the six types of 1/8 pixel interpolation units is that the tap coefficient is {{0,0,3,3,0,0},{0,0,-17,-17,0,0},{4,-20,113,113,-20,4},{2,-12,66,66,-12,2},{0,0,-13,-13,0,0},{0,0,2,2,0,0}}的20抽头的滤波器;{{0, 0, 3, 3, 0, 0}, {0, 0, -17, -17, 0, 0}, {4, -20, 113, 113, -20, 4}, {2, -12, 66, 66, -12, 2}, {0, 0, -13, -13, 0, 0}, {0, 0, 2, 2, 0, 0}} 20-tap filter; 所述七类1/8像素插值单元的滤波器为抽头系数为The filter of the seven types of 1/8 pixel interpolation units is that the tap coefficient is {{0,0,3,1,0,0},{0,-1,-17,-2,0,0},{3,-17,237,29,-6,1},{1,-2,29,5,-2,0},{0,0,-6,-1,0,0},{0,0,1,0,0,0}}的19抽头的滤波器;{{0, 0, 3, 1, 0, 0}, {0, -1, -17, -2, 0, 0}, {3, -17, 237, 29, -6, 1}, {1 , -2, 29, 5, -2, 0}, {0, 0, -6, -1, 0, 0}, {0, 0, 1, 0, 0, 0}} 19-tap filter ; 所述八类1/8像素插值单元的滤波器为抽头系数为The filter of the eight types of 1/8 pixel interpolation units is that the tap coefficient is {{0,0,2,1,0,0},{1,-1,-12,-7,-1,0},{5,-28,182,105,-20,4},{1,-5,24,15,-5,1},{0,0,-5,-3,0,0},{0,0,1,1,0,0}}的23抽头的滤波器;{{0, 0, 2, 1, 0, 0}, {1, -1, -12, -7, -1, 0}, {5, -28, 182, 105, -20, 4}, { 1, -5, 24, 15, -5, 1}, {0, 0, -5, -3, 0, 0}, {0, 0, 1, 1, 0, 0}} 23-tap filtering device; 所述九类1/8像素插值单元的滤波器为抽头系数为The filter of the nine types of 1/8 pixel interpolation units is that the tap coefficient is {{0,0,4,3,0,0},{0,0,-21,-13,0,0},{4,-21,141,82,-16,3},{2,-13,82,48,-10,2},{0,0,-16,-10,0,0},{0,0,3,2,0,0}}的20抽头的滤波器。{{0, 0, 4, 3, 0, 0}, {0, 0, -21, -13, 0, 0}, {4, -21, 141, 82, -16, 3}, {2, -13, 82, 48, -10, 2}, {0, 0, -16, -10, 0, 0}, {0, 0, 3, 2, 0, 0}} 20-tap filters.
CN 201010563643 2010-11-24 2010-11-24 1/8 pixel precision interpolation method and interpolation device Expired - Fee Related CN101986711B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010563643 CN101986711B (en) 2010-11-24 2010-11-24 1/8 pixel precision interpolation method and interpolation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010563643 CN101986711B (en) 2010-11-24 2010-11-24 1/8 pixel precision interpolation method and interpolation device

Publications (2)

Publication Number Publication Date
CN101986711A true CN101986711A (en) 2011-03-16
CN101986711B CN101986711B (en) 2013-01-16

Family

ID=43711009

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010563643 Expired - Fee Related CN101986711B (en) 2010-11-24 2010-11-24 1/8 pixel precision interpolation method and interpolation device

Country Status (1)

Country Link
CN (1) CN101986711B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331702A (en) * 2015-06-30 2017-01-11 阿里巴巴集团控股有限公司 Sub-pixel interpolation filtering method and equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11338976A (en) * 1998-05-27 1999-12-10 Fujitsu Ltd Document image recognition apparatus, method thereof, and recording medium
CN1529509A (en) * 2003-09-27 2004-09-15 浙江大学 Method and device for video image sub-pixel interpolation
CN1543221A (en) * 2003-11-04 2004-11-03 浙江大学 Method and device for 1/4 pixel precision interpolation
US20050114332A1 (en) * 2003-11-26 2005-05-26 Lee Shih-Jong J. Fast high precision matching method
CN1794821A (en) * 2006-01-11 2006-06-28 浙江大学 Method and device of interpolation in grading video compression
CN101009842A (en) * 2006-01-11 2007-08-01 华为技术有限公司 Method and device for value insertion in the hierarchical video compression
CN101043621A (en) * 2006-06-05 2007-09-26 华为技术有限公司 Self-adaptive interpolation process method and coding/decoding module
CN101198063A (en) * 2006-12-05 2008-06-11 华为技术有限公司 Codec method and device, sub-pixel interpolation processing method and device
CN101227614A (en) * 2008-01-22 2008-07-23 炬力集成电路设计有限公司 Motion estimation device and method of video coding system
CN101453644A (en) * 2007-11-30 2009-06-10 华为技术有限公司 Image interpolation method, apparatus and interpolation coefficient obtaining method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11338976A (en) * 1998-05-27 1999-12-10 Fujitsu Ltd Document image recognition apparatus, method thereof, and recording medium
CN1529509A (en) * 2003-09-27 2004-09-15 浙江大学 Method and device for video image sub-pixel interpolation
CN1543221A (en) * 2003-11-04 2004-11-03 浙江大学 Method and device for 1/4 pixel precision interpolation
US20050114332A1 (en) * 2003-11-26 2005-05-26 Lee Shih-Jong J. Fast high precision matching method
CN1794821A (en) * 2006-01-11 2006-06-28 浙江大学 Method and device of interpolation in grading video compression
CN101009842A (en) * 2006-01-11 2007-08-01 华为技术有限公司 Method and device for value insertion in the hierarchical video compression
CN101043621A (en) * 2006-06-05 2007-09-26 华为技术有限公司 Self-adaptive interpolation process method and coding/decoding module
CN101198063A (en) * 2006-12-05 2008-06-11 华为技术有限公司 Codec method and device, sub-pixel interpolation processing method and device
CN101453644A (en) * 2007-11-30 2009-06-10 华为技术有限公司 Image interpolation method, apparatus and interpolation coefficient obtaining method
CN101227614A (en) * 2008-01-22 2008-07-23 炬力集成电路设计有限公司 Motion estimation device and method of video coding system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331702A (en) * 2015-06-30 2017-01-11 阿里巴巴集团控股有限公司 Sub-pixel interpolation filtering method and equipment

Also Published As

Publication number Publication date
CN101986711B (en) 2013-01-16

Similar Documents

Publication Publication Date Title
CN109005407B (en) Video image encoding and decoding method, encoding device and decoding device
JP5654685B2 (en) Motion compensation method and motion compensation device
CN102833550A (en) Low-complexity sub-pixel interpolation filter
RU2014102579A (en) METHOD FOR INTERPOLATION OF IMAGES USING ASYMMETRIC INTERPOLATION FILTER AND DEVICE FOR THIS
WO2013002144A1 (en) Method and device for encoding video image, method and device for decoding video image, and program therefor
EP2559254A2 (en) Hybrid video decoder, hybrid video encoder, data stream
TWI504241B (en) Video encoding method and apparatus, video decoding method and apparatus, and programs product thereof
US20100226434A1 (en) Method and apparatus for encoding and decoding image by using sub-pixel-based motion prediction
MX2012011882A (en) Mixed tap filters.
CN103069803A (en) Video encoding method, video decoding method, video encoding device, video decoding device, and programs for same
CN103747269B (en) A filter interpolation method and filter
US20130182763A1 (en) Video encoding apparatus, decoding apparatus and video encoding method
US20130022109A1 (en) Video encoding method, decoding method, and apparatus
CN101299818A (en) N level sub-pixel search method and apparatus based on whole pixel searching result
CN101986711B (en) 1/8 pixel precision interpolation method and interpolation device
US20130177081A1 (en) Method and apparatus for encoding and decoding video using expanded block filtering
Chen et al. The adaptive loop filtering techniques in the HEVC standard
WO2013058311A1 (en) Video coding method and device, video decoding method and device, and programs
WO2009087380A2 (en) Video motion compensation
CN100455025C (en) A Fractional Pixel Interpolation Method and Codec Device
CN101141559A (en) Method and device for video image brightness interpolation with serial input and parallel output
CN118612460A (en) A method and system for fractional precision motion estimation based on error surface calculation
Lakshman et al. Generalized interpolation for motion compensated prediction
CN101345872A (en) A Method of Realizing Bilinear Interpolation in Video Codec
Domanski et al. High-throughput and multiplierless hardware design for the av1 fractional 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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130116

CF01 Termination of patent right due to non-payment of annual fee