WO2012065447A1 - Sub pixel interpolation method and system - Google Patents
Sub pixel interpolation method and system Download PDFInfo
- Publication number
- WO2012065447A1 WO2012065447A1 PCT/CN2011/076352 CN2011076352W WO2012065447A1 WO 2012065447 A1 WO2012065447 A1 WO 2012065447A1 CN 2011076352 W CN2011076352 W CN 2011076352W WO 2012065447 A1 WO2012065447 A1 WO 2012065447A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- pixel
- sub
- interpolation
- filter
- tap
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/503—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
- H04N19/51—Motion estimation or motion compensation
- H04N19/523—Motion estimation or motion compensation with sub-pixel accuracy
Definitions
- the present invention relates to the field of video coding inter-frame prediction, and in particular, to a sub-pixel interpolation method and system. Background technique
- the integer pixel refers to the original pixel of the original image or the image after encoding and decoding.
- the so-called sub-pixel point refers to the pixel point between the whole pixel points obtained by processing a plurality of integer pixel points, that is, in the middle of two integer pixel points.
- a sub-pixel can be called a half sub-pixel, and a sub-pixel between two 1/2 sub-pixels or an integer pixel and a 1 I 2 sub-pixel can be called a quarter.
- a sub-pixel, the process of obtaining sub-pixels can be called interpolation filtering.
- the sub-pixel does not actually exist. It is obtained by the interpolation technique of the whole pixel.
- the sub-pixel precision-based search can obtain a better image matching block, the redundant information of the current coded image block can be further reduced, and the coding efficiency is improved. This makes the performance of motion search closely related to the interpolation filter. What kind of interpolation filter is used for sub-pixels with different precision is also a problem to be considered.
- the purpose of the embodiment of the present invention is to provide a method for sub-pixel interpolation, which aims to solve the problem that the interpolation method in the prior art is not conducive to parallel computing.
- Different types of interpolation filters are not used for sub-pixels with different precisions, and the coding performance is not very high. problem.
- the method of the embodiment of the present invention is implemented by a sub-pixel interpolation method, which comprises step building 1/8, 2/8, 3/8, 5/8, 6/8, 7 based on four convolutions. /8 sub-pixel 6 tap interpolation filter and 3/8 sub-pixel 6 tap interpolation filter based on cubic convolution;
- the "building a 3/8 sub-pixel 6 tap interpolation filter based on a cubic convolution” is specifically: constructing a cubic convolution basis function: 19/20* I u I 3 -39/20* I u I 2 +1 , 0 - ⁇ lu l ⁇ 1
- the ''obtaining interpolation filter bank' is specifically:
- Another object of the embodiments of the present invention is to provide a sub-pixel interpolation system, the system comprising: an interpolation filter construction device: for constructing 1/8, 2/8, 3/8, 5 based on four convolutions /8, 6/8, 7/8 sub-pixel 6tap interpolation filter and 3/8 sub-pixel 6 tap interpolation filter based on cubic convolution; interpolation filter bank acquisition device: based on four convolutions based on construction 1/8, 2/8, 3/8, 5/8, 6/8, 7/8 subpixel 6 tap interpolation filters and 3/8 subpixel 6 tap interpolation filters based on cubic convolution, forming filtering Group
- Sub-pixel pixel value obtaining means for acquiring 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8 sub-pixels after horizontal interpolation column expansion and vertical interpolation line expansion The pixel value.
- the embodiment of the invention provides a sub-pixel interpolation method and system, which can realize interpolation of 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8 sub-pixels at a time.
- sub-pixels of different precisions use different filter prototypes, so that the performance of different filters complement each other, thus improving the overall performance of the filter bank.
- sub-pixel interpolation using the filter bank of the present invention can improve the rate-distortion performance of the encoder, which is more significant at low bit rates.
- FIG. 1 is a flow chart of a method of a preferred embodiment of a sub-pixel interpolation method of the present invention
- FIG. 2 is a schematic block diagram of a preferred embodiment of a sub-pixel interpolation system of the present invention.
- the embodiment of the invention provides a sub-pixel interpolation method and system, which can realize interpolation of 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8 sub-pixels at a time.
- a filter bank different sub-pixels of different precisions use different filter prototypes, so that the performance of different filters complement each other, thereby improving the overall performance of the filter bank.
- Sub-pixel interpolation using the filter bank of the present invention can improve the rate-distortion performance of the encoder, which is more significant at low bit rates.
- FIG. 1 is a flowchart of a sub-pixel interpolation method according to an embodiment of the present invention, where the method includes the following steps:
- S1K is based on four convolution basis functions, combined with 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8 sub-pixel interpolation points and integer pixel distribution characteristics to construct filters .
- the base function of the four convolutions is constructed as follows:
- a filter is constructed by combining 4/8 sub-pixel interpolation points and integer pixel distribution characteristics.
- the cubic function of the cubic convolution is constructed as follows:
- floating-point operations can be directly converted into integer operations; in addition, the approximation method can be used to construct the low-order filter, that is, the floating-point value is replaced by an approximate integer, using the same basis function / '( ), construct a low-order "order filter bank, n ⁇ 6.
- the motion estimation is limited by the principle of the search algorithm, so that the sub-pixels with different precisions have different influences on the motion estimation. Therefore, the embodiment of the present invention uses a higher-order filter on the 4/8 sub-pixel to improve the interpolation effect. .
- F kli (x, y) ( filter kli * (x, y ) I weight(k)
- Subpixel interpolation normalization factor, w gfe (W sum(/ Ilter ), where TMm is the summation calculation. Since each interpolated sub-pixel is only related to the whole pixel, and is independent of the previous sub-pixel, each precision sub-pixel interpolation can be calculated in parallel. Pixel interpolation method, which can achieve 1/8, 2/8 at a time,
- FIG. 2 is a schematic structural diagram of a sub-pixel interpolation system according to an embodiment of the present invention.
- the system package Includes:
- Interpolation filter construction device used to construct 1/8, 2/8, 3/8, 5/8, 6/8, 7/8 subpixel 6 tap interpolation filters based on quadratic convolution and based on cubic convolution 4/8 sub-pixel 6 tap interpolation filter; interpolation filter bank acquisition device: 1/8, 2/8, 3/8, 5/8, 6/8 based on four convolutions constructed according to a 7/8 sub-pixel 6 tap interpolation filter and a 3/8 sub-pixel 6 tap interpolation filter based on a cubic convolution to form a filter bank;
- Sub-pixel pixel value obtaining means for acquiring 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8 sub-pixels after horizontal interpolation column expansion and vertical interpolation line expansion The pixel value.
- the embodiment of the invention provides a sub-pixel interpolation system, which can realize interpolation of 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8 sub-pixels at a time.
- sub-pixels of different precisions use different filter prototypes, so that the performance of different filters complement each other, thus improving the overall performance of the filter bank.
- Sub-pixel interpolation using the filter bank of the present invention can improve the rate-distortion performance of the encoder, which is more significant at low bit rates.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Television Systems (AREA)
- Image Processing (AREA)
Abstract
A sub pixel interpolation method is disclosed in the present invention, wherein the method includes the following steps of: constructing a 1/8, 2/8, 3/8, 5/8, 6/8, 7/8 sub pixel 6 tap interpolation filter based on quartic convolution and a 4/8 sub pixel 6 tap interpolation filter based on cubic convolution; obtaining an interpolation filter group; obtaining pixel values of the 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8 sub pixels which are line-expanded by horizontal interpolation and row-expanded by vertical interpolation. The present invention also relates to a sub pixel interpolation system. The present invention can realize interpolation of the 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8 sub pixel at once and use different filter prototypes on sub pixels with different accuracy, which makes the property of different filters reinforce each other, therefore improves the comprehensive performance of the filter group and improves rate-distortion performance of a encoder more obviously at low bit rate.
Description
技术领域 Technical field
本发明涉及视频编码帧间预测领域, 尤其涉及一种亚像素插值方法及系 统。 背景技术 The present invention relates to the field of video coding inter-frame prediction, and in particular, to a sub-pixel interpolation method and system. Background technique
视频编码中为了提升压缩性能,在运动搜索时采用亚像素精度。整像素点 是指原始图像或编码解码之后图像的原始像素点,所谓亚像素点是指对若干个 整像素点进行处理所得的整像素点间的像素点,即在两个整像素点中间的亚像 素点可称之为二分之一亚像素点,在两个 1/2亚像素点或一个整像素点和一个 1 I 2亚像素点之间的亚像素点可称之为四分之一亚像素点, 获取亚像素点的过 程可称之为插值滤波。 亚像素实际并不存在, 它由整像素采用插值技术获取, 由于基于亚像素精度的搜索可以获得更佳的图像匹配块,从而可以进一步减少 当前编码图像块的冗余信息, 提高编码效率, 因此, 这就使得运动搜索的性能 就与插值滤波器息息相关,不同精度的亚像素采用何种插值滤波器也是一个需 要考虑的问题。 In order to improve compression performance in video coding, sub-pixel precision is used in motion search. The integer pixel refers to the original pixel of the original image or the image after encoding and decoding. The so-called sub-pixel point refers to the pixel point between the whole pixel points obtained by processing a plurality of integer pixel points, that is, in the middle of two integer pixel points. A sub-pixel can be called a half sub-pixel, and a sub-pixel between two 1/2 sub-pixels or an integer pixel and a 1 I 2 sub-pixel can be called a quarter. A sub-pixel, the process of obtaining sub-pixels can be called interpolation filtering. The sub-pixel does not actually exist. It is obtained by the interpolation technique of the whole pixel. Since the sub-pixel precision-based search can obtain a better image matching block, the redundant information of the current coded image block can be further reduced, and the coding efficiency is improved. This makes the performance of motion search closely related to the interpolation filter. What kind of interpolation filter is used for sub-pixels with different precision is also a problem to be considered.
目前常用的有 4tap、 6tap样条插值滤波器、双线性插值滤波器等;而在 1/4 亚像素插值时, 有通过 1/2亚像素进一步插值获取的, 也有直接由整像素插值 获取的。前者不利于并行计算, 而现行的后者技术, 一般都采用同一类型的插 值滤波器, 使得其性能并不尽如人意。
发明内容 Currently used are 4tap, 6tap spline interpolation filter, bilinear interpolation filter, etc.; in 1/4 sub-pixel interpolation, there are further interpolation by 1/2 sub-pixel, and also directly obtained by integer pixel interpolation. of. The former is not conducive to parallel computing, and the current latter technology generally uses the same type of interpolation filter, so that its performance is not satisfactory. Summary of the invention
本发明实施例的目的在于提出一种亚像素插值方法方法,旨在解决现有技 术插值方法不利于并行计算,没有针对不同精度的亚像素采用不同类型的插值 滤波器, 编码性能不是很高的问题。 The purpose of the embodiment of the present invention is to provide a method for sub-pixel interpolation, which aims to solve the problem that the interpolation method in the prior art is not conducive to parallel computing. Different types of interpolation filters are not used for sub-pixels with different precisions, and the coding performance is not very high. problem.
本发明实施例方法是这样实现的,一种亚像素插值方法,所述方法包括步 构建基于四次卷积的 1/8, 2/8, 3/8, 5/8, 6/8, 7/8亚像素 6 tap插值 滤波器和基于三次卷积的 4/8亚像素 6 tap插值滤波器; The method of the embodiment of the present invention is implemented by a sub-pixel interpolation method, which comprises step building 1/8, 2/8, 3/8, 5/8, 6/8, 7 based on four convolutions. /8 sub-pixel 6 tap interpolation filter and 3/8 sub-pixel 6 tap interpolation filter based on cubic convolution;
获取插值滤波器组; Obtaining an interpolation filter bank;
获取经水平插值列扩展和垂直插值行扩展后的 1/8, 2/8, 3/8, 4/8, 5/8, Get 1/8, 2/8, 3/8, 4/8, 5/8 after horizontal interpolation column expansion and vertical interpolation line expansion,
6/8, 7/8亚像素的像素值。 6/8, 7/8 pixel subpixel values.
所述"构建基于四次卷积的 1/8, 2/8, 3/8, 5/8, 6/8, 7/8亚像素 6 tap 插值滤波器"具体为: 构建四次卷积的基函数: The "building a 4/8, 2/8, 3/8, 5/8, 6/8, 7/8 sub-pixel 6 tap interpolation filter based on four convolutions" is specifically: constructing four convolutions Base function:
-19/240*w4 -209/240*w3 -855/240*w2 -1539/240*w -1026/240 -3 u<-2 61/240*w4 +503/240*w3 +1497/240*w2 +1885/240* w + 830/240 -2 u<-\ -19/240*w 4 -209/240*w 3 -855/240*w 2 -1539/240*w -1026/240 -3 u<-2 61/240*w 4 +503/240*w 3 +1497/240*w 2 +1885/240* w + 830/240 -2 u<-\
-l/5*w4 -69/40*w3 -5/2* w2 +1/40* w + 1 -l- w≤0 -2/15*w4 +193/120* w3 -5/2* w2+l/40*w+l 0- w≤l 59/240*w4 -497/240*w3 +1503/240*w2 -1915/240*w + 850/240 \ u<2 -7/80*w4 +77/80*w3 -315/80*w2 +567/80*w-378/80 2- w- 3 -l/5*w 4 -69/40*w 3 -5/2* w 2 +1/40* w + 1 -l- w≤0 -2/15*w 4 +193/120* w 3 - 5/2* w 2 +l/40*w+l 0- w≤l 59/240*w 4 -497/240*w 3 +1503/240*w 2 -1915/240*w + 850/240 \ u<2 -7/80*w 4 +77/80*w 3 -315/80*w 2 +567/80*w-378/80 2- w- 3
0 u≥3 0 u<-3 其中, w为基函数 /( )的自变] 0 u≥3 0 u<-3 where w is the base function /( ) is self-variant]
结合所述四次卷积的基函数的表达式, 取 分别等于 = 1,2,3,5,6,7, The expressions of the basis functions of the four convolutions are respectively equal to = 1, 2, 3, 5, 6, and 7,
1/8, 2/8、 3/8、 5/8, 6/8, 7/8亚像素的插值滤波器: 舞 /8 = [/(- 2 - X), (-1 - X), f(-x), f(l- x), f(2-x),f(3-x)] , = k / 8。 Interpolation filters for 1/8, 2/8, 3/8, 5/8, 6/8, 7/8 sub-pixels: Dance /8 = [/(- 2 - X), (-1 - X), f(-x), f(l- x), f(2-x), f(3-x)] , = k / 8.
所述 "构建基于三次卷积的 4/8亚像素 6 tap插值滤波器"具体为: 构建三次卷积的基函数:
19/20* I u I3 -39/20* I u I2 +1 , 0 -<l u l< 1 The "building a 3/8 sub-pixel 6 tap interpolation filter based on a cubic convolution" is specifically: constructing a cubic convolution basis function: 19/20* I u I 3 -39/20* I u I 2 +1 , 0 -<lu l< 1
-31/40*1 u I3 +83/20* I u I2 -281/40* I u I +73/20 , 1 -<l u l< 2 -31/40*1 u I 3 +83/20* I u I 2 -281/40* I u I +73/20 , 1 -<lu l< 2
/'(") /'(")
11/40* I u I3 -11/5*1 u I2 +231/40* I u I -99/20 , 2 -l u l< 3 11/40* I u I 3 -11/5*1 u I 2 +231/40* I u I -99/20 , 2 -lu l< 3
0 , I u I 3 其中, w为基函数/ '( )的自变量; 结合所述三次卷积的基函数的表达式, 获取 4/8亚像素的插值滤波器: 舞1' 4 =
- ], X = 4/8。 0 , I u I 3 where w is the independent function of the basis function / '( ); in conjunction with the expression of the cubic function of the cubic convolution, an interpolation filter of 4/8 sub-pixel is obtained: Dance 1 ' 4 = - ], X = 4/8.
所述 ' '获取插值滤波器组"具体为: The ''obtaining interpolation filter bank'" is specifically:
舞 r"8 = [/(- 2 - X), (-1 - X), f(-x), f(l - x), f(2 - -x) - )], X: = 1/8 舞 ½/8 = [/(- 2 - ), (-1 - X), f(-x), fCi - X), f(2 - -x) - )], X = 2/8 舞 r3/8 = [/(- 2 - Λ-), /(- 1 - X), f(-x), /(1 - Λ-), (2 - -x) - )], X = 3/8 r4/8 = [f'(2 + x),f i + x),f x),f'(l-x),f 2- ) ' - - )], X = 4/8 舞 r5/8 = [/(- 2 - X), (-1 - X), f(-x), f(l - x), f(2 - -x) - )], X = 5/8 舞 r6/8 = [/(- 2 - X), (-1 - X), f(-x), f( - x) (2 - -x) - )], X = 6/8 舞 r7/8 = [/(- 2 - X), /(- 1 - X), f(-x), f{\ - ), f(2 - -x) - )], X = 7/8 所述"获取经水平插值列扩展和垂直插值行扩展后的 1/8, 2/8, 3/8, 4/8, Dance r " 8 = [/(- 2 - X), (-1 - X), f(-x), f(l - x), f(2 - -x) - )], X: = 1/ 8 Dance 1⁄2/ 8 = [/(- 2 - ), (-1 - X), f(-x), fCi - X), f(2 - -x) - )], X = 2/8 Dance r 3 / 8 = [/(- 2 - Λ-), /(- 1 - X), f(-x), /(1 - Λ-), (2 - -x) - )], X = 3/ 8 r4/ 8 = [f'(2 + x),fi + x),fx),f'(lx),f 2- ) ' - - )], X = 4/8 Dance r 5 / 8 = [ /(- 2 - X), (-1 - X), f(-x), f(l - x), f(2 - -x) - )], X = 5/8 Dance r 6 / 8 = [/(- 2 - X), (-1 - X), f(-x), f( - x) (2 - -x) - )], X = 6/8 Dance r 7 / 8 = [/ (- 2 - X), /(- 1 - X), f(-x), f{\ - ), f(2 - -x) - )], X = 7/8 "Get horizontal interpolation Column expansion and vertical interpolation lines are expanded by 1/8, 2/8, 3/8, 4/8,
6/8, 7/8亚像素的像素值"具体为: 6/8, 7/8 sub-pixel pixel values" specifically:
¾8 ( y) = ') *
I weight(k) 经垂直插值行扩展亚像素后的帧为: Fkls(x,y、 = (filterk/, *F^(x,y))/weight(k) 其中 8 ( ) 为经过列扩展以后的帧, filter,,,为 / 8像素插值滤波器, k = 1,2,3,4,5,6,7, filter^,为 filter^的转置矩阵, 为原始帧, 'gfeW为亚 像素插值归一化因子, wdgh = sum( ilter^8), 其中, 为求和计算, A/8( ,y)
为最后获取的插值滤波后的帧,。 3⁄4 8 ( y) = ') * I weight(k) The frame after extending the sub-pixel through the vertical interpolation line is: F kls (x,y, = (filter k/ , *F^(x,y))/weight(k) where 8 ( ) is After the column is expanded, the filter,, is /8 pixel interpolation filter, k = 1,2,3,4,5,6,7, filter^, is the transpose matrix of filter^, which is the original frame, ' gfeW is the subpixel interpolation normalization factor, wdgh = sum( ilter^ 8 ), where, for the summation calculation, A/8 ( , y) The last filtered interpolation frame is obtained.
本发明实施例的另一目的在于提出一种亚像素插值系统, 所述系统包括: 插值滤波器构建装置:用于构建基于四次卷积的 1/8, 2/8, 3/8, 5/8, 6/8, 7/8亚像素 6tap插值滤波器和基于三次卷积的 4/8亚像素 6 tap插值滤波器; 插值滤波器组获取装置: 用于根据构建的基于四次卷积的 1/8, 2/8, 3/8, 5/8, 6/8, 7/8亚像素 6 tap插值滤波器和基于三次卷积的 4/8亚像素 6 tap插 值滤波器, 形成滤波器组; Another object of the embodiments of the present invention is to provide a sub-pixel interpolation system, the system comprising: an interpolation filter construction device: for constructing 1/8, 2/8, 3/8, 5 based on four convolutions /8, 6/8, 7/8 sub-pixel 6tap interpolation filter and 3/8 sub-pixel 6 tap interpolation filter based on cubic convolution; interpolation filter bank acquisition device: based on four convolutions based on construction 1/8, 2/8, 3/8, 5/8, 6/8, 7/8 subpixel 6 tap interpolation filters and 3/8 subpixel 6 tap interpolation filters based on cubic convolution, forming filtering Group
亚像素像素值获取装置,用于获取经水平插值列扩展和垂直插值行扩展后 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8亚像素的像素值。 Sub-pixel pixel value obtaining means for acquiring 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8 sub-pixels after horizontal interpolation column expansion and vertical interpolation line expansion The pixel value.
本发明实施例提出一种亚像素插值方法和系统, 可一次实现 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8亚像素的插值。 设计滤波器组时, 不同精度的亚像 素采用不同的滤波器原型, 使得不同滤波器间性能相互补充, 从而提升滤波器 组的综合性能。 实验证明, 采用本发明的滤波器组进行亚像素插值, 可以提升 编码器的率失真性能, 这种优势在低码率下更为显著。 The embodiment of the invention provides a sub-pixel interpolation method and system, which can realize interpolation of 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8 sub-pixels at a time. When designing the filter bank, sub-pixels of different precisions use different filter prototypes, so that the performance of different filters complement each other, thus improving the overall performance of the filter bank. Experiments have shown that sub-pixel interpolation using the filter bank of the present invention can improve the rate-distortion performance of the encoder, which is more significant at low bit rates.
附图说明 DRAWINGS
图 1是本发明的亚像素插值方法的优选实施例的方法流程图; 1 is a flow chart of a method of a preferred embodiment of a sub-pixel interpolation method of the present invention;
图 2是本发明的亚像素插值系统的优选实施例的结构示意图。 2 is a schematic block diagram of a preferred embodiment of a sub-pixel interpolation system of the present invention.
具体实施方式 为了使本发明的目的、技术方案及优点更加清楚明白, 以下结合附图和实 施例, 对本发明进行进一步详细说明, 为了便于说明, 仅示出了与本发明实施 例相关的部分。 应当理解, 此处所描写的具体实施例, 仅仅用于解释本发明, 并不用以限制本发明。
本发明实施例提出一种亚像素插值方法和系统, 可一次实现 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8亚像素的插值。 设计滤波器组时, 不同精度的亚像 素采用不同的滤波器原型, 使得不同滤波器间性能相互补充, 从而提升滤波器 组的综合性能。采用本发明的滤波器组进行亚像素插值, 可以提升编码器的率 失真性能, 这种优势在低码率下更为显著。 The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. For the convenience of description, only the parts related to the embodiments of the present invention are shown. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. The embodiment of the invention provides a sub-pixel interpolation method and system, which can realize interpolation of 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8 sub-pixels at a time. When designing a filter bank, different sub-pixels of different precisions use different filter prototypes, so that the performance of different filters complement each other, thereby improving the overall performance of the filter bank. Sub-pixel interpolation using the filter bank of the present invention can improve the rate-distortion performance of the encoder, which is more significant at low bit rates.
如图 1所示为本发明实施例一种亚像素插值方法流程图,所述方法包括以 下步骤: FIG. 1 is a flowchart of a sub-pixel interpolation method according to an embodiment of the present invention, where the method includes the following steps:
Sl、 构建基于四次卷积的 1/8, 2/8, 3/8, 5/8, 6/8, 7/8亚像素 6 tap插值滤 波器和基于三次卷积的 4/8亚像素 6 tap插值滤波器。 Sl, build 1/8, 2/8, 3/8, 5/8, 6/8, 7/8 subpixel 6 tap interpolation filters based on four convolutions and 4/8 subpixels based on cubic convolution 6 tap interpolation filter.
S1K 基于四次卷积基函数, 结合 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8 亚像素插值点与整像素点分布特点构建滤波器。 四次卷积的基函数构建如下: S1K is based on four convolution basis functions, combined with 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8 sub-pixel interpolation points and integer pixel distribution characteristics to construct filters . The base function of the four convolutions is constructed as follows:
-19/240*w -209/240*w3 -855/240*w2 -1539/240 *w -1026/240 -3-<u< -: 61/240*w4 +503/240*w3 +1497/240*w2 +1885/240*w + 830/240 -2 u <- -l/5*w4 -69/40*w3 -5/2*u2 +l/40*w+l -l- w≤0 -2/15*w4 +193/120*w3 -5/2*u2 +l/40*w + l 0- w≤l 59/240*w4 -497/240*w3 +1503/240*w2 -1915/240*w + 850/240 \ u<2 -7/80*w4 +77/80*w3 -315/80*w2 +567/80*w-378/80 2- w- 3 -19/240*w -209/240*w 3 -855/240*w 2 -1539/240 *w -1026/240 -3-<u< -: 61/240*w 4 +503/240*w 3 +1497/240*w 2 +1885/240*w + 830/240 -2 u <- -l/5*w 4 -69/40*w 3 -5/2*u 2 +l/40*w +l -l- w≤0 -2/15*w 4 +193/120*w 3 -5/2*u 2 +l/40*w + l 0- w≤l 59/240*w 4 -497 /240*w 3 +1503/240*w 2 -1915/240*w + 850/240 \ u<2 -7/80*w 4 +77/80*w 3 -315/80*w 2 +567/ 80*w-378/80 2- w- 3
0 u≥3 0 u <-3 其中, M为基函数/ ( )的自变量; 结合所述四次卷积的基函数的表达式, 获取 1/8亚像素的插值滤波器: /ilter1/8 = [f(-2 - X), f(-l - x) (-x), f(l - x), f(2 - x), f(3 - x)] , = l/8 ; 同理结合所述四次卷积的基函数的表达式, 取 分别等于 = 1,2,3,5,6,7, 可 得 1/8, 2/8、 3/8、 5/8, 6/8, 7/8亚像素的插值滤波器: 舞 rk/8 = [f(-2 - X), f(-l - X), f(-x), f(l- x), f(2- x), f(3-x)] , = k/8
实际应用时为了减少计算量, 可直接将浮点运算转化为整数运算; 此外还 可以利用近似法截断数据构建低阶滤波器: 即浮点值用近似整数替换, 利用相 同的基函数 /(W), 构建低阶《阶滤波器, n≤6。 0 u≥3 0 u <-3 where M is the independent variable of the basis function / ( ); in conjunction with the expression of the basis function of the four convolutions, an interpolation filter of 1/8 sub-pixel is obtained: /ilter 1 /8 = [f(-2 - X), f(-l - x) (-x), f(l - x), f(2 - x), f(3 - x)] , = l/8 Similarly, the expressions of the basis functions of the four convolutions are equal to = 1, 2, 3, 5, 6, and 7, respectively, and 1/8, 2/8, 3/8, 5/8 are obtained. , 6/8, 7/8 sub-pixel interpolation filter: dance r k/8 = [f(-2 - X), f(-l - X), f(-x), f(l- x) , f(2- x), f(3-x)] , = k/8 In practical applications, in order to reduce the amount of calculation, floating-point operations can be directly converted into integer operations. In addition, the lower-order filter can be constructed by using the approximation method to cut off the data: that is, the floating-point value is replaced by an approximate integer, using the same basis function / ( W ), construct a low-order "order filter, n ≤ 6.
S12、基于三次卷积的基函数, 结合 4/8亚像素插值点与整像素点分布特点 构建滤波器。 S12. Based on the cubic convolution basis function, a filter is constructed by combining 4/8 sub-pixel interpolation points and integer pixel distribution characteristics.
三次卷积的基函数构建如下: The cubic function of the cubic convolution is constructed as follows:
' 19/20* lul3 -39/20* lul2 +1 , 0 -l u l≤ 1 ' 19/20* lul 3 -39/20* lul 2 +1 , 0 -lul≤ 1
, -31/40*1 u I3 +83/20* I u I2 -281/40* I u I +73/20 , 1 -l u l≤ 2 , -31/40*1 u I 3 +83/20* I u I 2 -281/40* I u I +73/20 , 1 -lul≤ 2
U 11/40* lul3 -11/5* lul2 +231/40* I u I -99/20 , 2 -l u l≤ 3 U 11/40* lul 3 -11/5* lul 2 +231/40* I u I -99/20 , 2 -lul≤ 3
0 , lul 3 结合所述三次卷积的基函数的表达式, 可得 4/8亚像素的插值滤波器: 0 , lul 3 combined with the expression of the cubic convolution basis function, can obtain 4/8 sub-pixel interpolation filter:
/ilter4/8 =[ '(2 + ), '(l + ), '( ), '(l- ), '(2- ), '(3- )], = 4/8。 /ilter 4/8 =[ '(2 + ), '(l + ), '( ), '(l- ), '(2- ), '(3- )], = 4/8.
实际应用时为了减少计算量, 可直接将浮点运算转化为整数运算; 此外还 可以利用近似法截断数据构建低阶滤波器, 即浮点值用近似整数替换, 利用相 同的基函数/ '( ), 构建低阶《阶滤波器组, n≤6。 在运动估计时受限于搜索算法原理,使得不同精度的亚像素在运动估计时 具有不同的影响, 故本发明实施例在 4/8亚像素上采用更高阶的滤波器, 以提 升插值效果。 In practice, in order to reduce the amount of calculation, floating-point operations can be directly converted into integer operations; in addition, the approximation method can be used to construct the low-order filter, that is, the floating-point value is replaced by an approximate integer, using the same basis function / '( ), construct a low-order "order filter bank, n ≤ 6. The motion estimation is limited by the principle of the search algorithm, so that the sub-pixels with different precisions have different influences on the motion estimation. Therefore, the embodiment of the present invention uses a higher-order filter on the 4/8 sub-pixel to improve the interpolation effect. .
S2、 获取插值滤波器组。 S2. Acquire an interpolation filter bank.
舞 ½ ; =[/(- 2 - x) (-i- -x),f(-x),f(l- -x) (2- -x) - )], x : = 1/8 舞 r2/: 8
x),f(-x),f(l -x),f(2- -x) - - )], X = 2/8 舞 ½ , =[ (-2- ),/(- 1- -x),f(-x),f(l -x),f(2- -x) - )], X = 3/8 r4/: 8 =[/'(2 + x) x) \- x),f 2- ) ' - - )], X = 4/8 Dance 1⁄2 ; =[/(- 2 - x) (-i- -x),f(-x),f(l- -x) (2- -x) - )], x : = 1/8 Dance r 2/: 8 x),f(-x),f(l -x),f(2- -x) - - )], X = 2/8 Dance 1⁄2 , =[ (-2- ),/(- 1- - x),f(-x),f(l -x),f(2- -x) - )], X = 3/8 r 4/: 8 =[/'(2 + x) x) \- x),f 2- ) ' - - )], X = 4/8
/liter 3 =[ (-2- ), (-ΐ- -x),f(-x),f(l -x),f(2- -x) - )], X = 5/8
/ilter6/8 = [f(-2 - x), f(-l - x), f(-x), f(l- x),f(2 - x), f(3 - x)] , ^ = 6/8 /liter 3 =[ (-2- ), (-ΐ- -x),f(-x),f(l -x),f(2- -x) - )], X = 5/8 /ilter 6/8 = [f(-2 - x), f(-l - x), f(-x), f(l- x),f(2 - x), f(3 - x)] , ^ = 6/8
/ilter7/8 = [f(-2 - x), f(-l - x), f(-x), f(l - x), f(2 - x), f(3- x)] , ^ = 7/8 /ilter 7/8 = [f(-2 - x), f(-l - x), f(-x), f(l - x), f(2 - x), f(3- x)] , ^ = 7/8
S3、 获取经水平插值列扩展和垂直插值行扩展后的 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8亚像素的像素值。 S3. Obtain pixel values of 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8 sub-pixels after horizontal interpolation column expansion and vertical interpolation line expansion.
S31: 水平插值, 扩展列亚像素; ¾8 ( , y) = (F(x, y) *
) I weight(k), S31: horizontal interpolation, extended column sub-pixel; 3⁄4 8 ( , y) = (F(x, y) * ) I weight(k),
其中/Zfer/8为 像素插值滤波器, k=l或 2或 3或 5或 6或 7, filter ^为
的转置矩阵, F 为原始帧, 8 ,) 为经过列扩展以后的帧, weigh 为: 亚像素插值归一化因子, w gfe(fc) = sum(yilte /8;), 其中, ™m为求和计算。 Where /Zfer /8 is the pixel interpolation filter, k=l or 2 or 3 or 5 or 6 or 7, filter ^ is The transposed matrix, F is the original frame, 8 ,) is the frame after the column expansion, weigh is: subpixel interpolation normalization factor, w gfe(fc) = sum(yilte /8 ;), where TMm For the summation calculation.
S32: 垂直插值, 扩展行亚像素; S32: vertical interpolation, extending row sub-pixels;
Fkli (x, y) = ( filterkli * (x, y ) I weight(k) 其中 F (x, y)为最后获取的插值滤波后的帧, 其中 filte ^为 8亚像素插 值滤波器, k=l或 2或 3或 5或 6或 7, 8 (; 为经过列扩展以后的帧, SPS31处理 后输出的值, weighted. 亚像素插值归一化因子, w gfe(W = sum(/ilter ), 其 中, ™m为求和计算。 由于各插值亚像素只与整像素有关, 而与其上一级亚像素无关, 故各精度 亚像素插值可并行计算。 本发明实施例提出一种亚像素插值方法, 该方法可一次实现 1/8, 2/8,F kli (x, y) = ( filter kli * (x, y ) I weight(k) where F (x, y) is the last obtained interpolated filtered frame, where filte ^ is an 8-subpixel interpolation filter, k=l or 2 or 3 or 5 or 6 or 7, 8 (; is the frame after column expansion, the value output after SPS31 processing, weighted. Subpixel interpolation normalization factor, w gfe (W = sum(/ Ilter ), where TMm is the summation calculation. Since each interpolated sub-pixel is only related to the whole pixel, and is independent of the previous sub-pixel, each precision sub-pixel interpolation can be calculated in parallel. Pixel interpolation method, which can achieve 1/8, 2/8 at a time,
3/8, 4/8, 5/8, 6/8, 7/8亚像素的插值。 设计滤波器组时, 不同精度的亚像 素采用不同的滤波器原型, 使得不同滤波器间性能相互补充, 从而提升滤波器 组的综合性能。采用本发明的滤波器组进行亚像素插值, 可以提升编码器的率 失真性能, 这种优势在低码率下更为显著。 Interpolation of 3/8, 4/8, 5/8, 6/8, 7/8 sub-pixels. When designing the filter bank, sub-pixels of different precisions use different filter prototypes, so that the performance of different filters complement each other, thus improving the overall performance of the filter bank. Sub-pixel interpolation using the filter bank of the present invention can improve the rate-distortion performance of the encoder, which is more significant at low bit rates.
如图 2所示是本发明实施例一种亚像素插值系统结构示意图。所述系统包
括: FIG. 2 is a schematic structural diagram of a sub-pixel interpolation system according to an embodiment of the present invention. The system package Includes:
插值滤波器构建装置:用于构建基于四次卷积的 1/8, 2/8, 3/8, 5/8, 6/8, 7/8亚像素 6 tap插值滤波器和基于三次卷积的 4/8亚像素 6 tap插值滤波器; 插值滤波器组获取装置: 用于根据构建的基于四次卷积的 1/8, 2/8, 3/8, 5/8, 6/8, 7/8亚像素 6 tap插值滤波器和基于三次卷积的 4/8亚像素 6tap插值 滤波器, 形成滤波器组; Interpolation filter construction device: used to construct 1/8, 2/8, 3/8, 5/8, 6/8, 7/8 subpixel 6 tap interpolation filters based on quadratic convolution and based on cubic convolution 4/8 sub-pixel 6 tap interpolation filter; interpolation filter bank acquisition device: 1/8, 2/8, 3/8, 5/8, 6/8 based on four convolutions constructed according to a 7/8 sub-pixel 6 tap interpolation filter and a 3/8 sub-pixel 6 tap interpolation filter based on a cubic convolution to form a filter bank;
亚像素像素值获取装置,用于获取经水平插值列扩展和垂直插值行扩展后 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8亚像素的像素值。 本发明实施例提出一种亚像素插值系统, 该系统可一次实现 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8亚像素的插值。 设计滤波器组时, 不同精度的亚像 素采用不同的滤波器原型, 使得不同滤波器间性能相互补充, 从而提升滤波器 组的综合性能。采用本发明的滤波器组进行亚像素插值, 可以提升编码器的率 失真性能, 这种优势在低码率下更为显著。 Sub-pixel pixel value obtaining means for acquiring 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8 sub-pixels after horizontal interpolation column expansion and vertical interpolation line expansion The pixel value. The embodiment of the invention provides a sub-pixel interpolation system, which can realize interpolation of 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8 sub-pixels at a time. When designing the filter bank, sub-pixels of different precisions use different filter prototypes, so that the performance of different filters complement each other, thus improving the overall performance of the filter bank. Sub-pixel interpolation using the filter bank of the present invention can improve the rate-distortion performance of the encoder, which is more significant at low bit rates.
本领域的普通技术人员可以理解,实现上述实施例方法中的全部或部分步 骤是可以通过程序指令相关硬件来完成的,所述的程序可以存储于一计算机可 读取存储介质中, 所述的存储介质可以为 R0M、 RAM, 磁盘、 光盘等。 以上所述仅为本发明的较佳实施例而已, 并不用以限制本发明, 凡在本发 明的精神和原则之内所作的任何修改、等同替换和改进等, 均应包含在本发明 的保护范围之内。
It will be understood by those skilled in the art that all or part of the steps of the foregoing embodiments may be implemented by a program instruction related hardware, and the program may be stored in a computer readable storage medium. The storage medium may be a ROM, a RAM, a magnetic disk, an optical disk, or the like. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection of the present invention. Within the scope.
Claims
1、 一种亚像素插值方法, 其特征在于, 所述方法包括步骤: A sub-pixel interpolation method, the method comprising the steps of:
构建基于四次卷积的 1/8, 2/8, 3/8, 5/8, 6/8, 7/8亚像素 6 tap插值 滤波器和基于三次卷积的 4/8亚像素 6 tap插值滤波器; Construct a 1/8, 2/8, 3/8, 5/8, 6/8, 7/8 subpixel 6 tap interpolation filter based on four convolutions and a 4/8 subpixel 6 tap based on cubic convolution Interpolation filter
获取插值滤波器组; Obtaining an interpolation filter bank;
获取经水平插值列扩展和垂直插值行扩展后的 1/8, 2/8, 3/8, 4/8, 5/8, Get 1/8, 2/8, 3/8, 4/8, 5/8 after horizontal interpolation column expansion and vertical interpolation line expansion,
6/8, 7/8亚像素的像素值。 6/8, 7/8 pixel subpixel values.
2、 如权利要求 1所述的亚像素插值方法, 其特征在于, 所述 "构建基于 四次卷积的 1/8, 2/8, 3/8, 5/8, 6/8, 7/8亚像素 6 tap插值滤波器"具体 为: 构建四次卷积的基函数: 2. The sub-pixel interpolation method according to claim 1, wherein said "building is based on four convolutions of 1/8, 2/8, 3/8, 5/8, 6/8, 7/ 8 sub-pixel 6 tap interpolation filter "Specifically: Construct a base function of four convolutions:
-19/240*w4 -209/240*w3 -855/240*w2 -1539/240*w -1026/240 -3 u<-2 61/240*w4 +503/240*w3 +1497/240*w2 +1885/240*w + 830/240 -2 u<-\ -19/240*w 4 -209/240*w 3 -855/240*w 2 -1539/240*w -1026/240 -3 u<-2 61/240*w 4 +503/240*w 3 +1497/240*w 2 +1885/240*w + 830/240 -2 u<-\
-l/5*w4 -69/40*w3 -5/2* w2 +1/40* w + 1 -l- w≤0 -2/15*w4 +193/120*w3 -5/2* w2 +1/40* w + 1 0- w≤l 59/240*w4 -497/240*w3 +1503/240*w2 -1915/240*w + 850/240 \ u<2 -7/80*w4 +77/80*w3 -315/80*w2 +567/80*w-378/80 2- w- 3 -l/5*w 4 -69/40*w 3 -5/2* w 2 +1/40* w + 1 -l- w≤0 -2/15*w 4 +193/120*w 3 - 5/2* w 2 +1/40* w + 1 0- w≤l 59/240*w 4 -497/240*w 3 +1503/240*w 2 -1915/240*w + 850/240 \ u<2 -7/80*w 4 +77/80*w 3 -315/80*w 2 +567/80*w-378/80 2- w- 3
0 u>3 0 u<-3 其中, 《为基函数 /( )的自变] 0 u>3 0 u<-3 where "the self-change of the basis function /( )]
结合所述四次卷积的基函数的表达式, 取 分别等于 fc= 1,2,3,5,6,7, 获取 1/8, 2/8、 3/8、 5/8, 6/8, 7/8亚像素的插值滤波器: 舞 rk/8 = [f(-2 - X), f(-l - X), f(-x), f(l- x), f(2-x),f(3-x)] , = k / 8。 Combining the expressions of the basis functions of the four convolutions, respectively, is equal to fc= 1, 2, 3, 5, 6, 7 to obtain 1/8, 2/8, 3/8, 5/8, 6/ 8, 7/8 sub-pixel interpolation filter: Dance r k/8 = [f(-2 - X), f(-l - X), f(-x), f(l- x), f( 2-x),f(3-x)] , = k / 8.
3、 如权利要求 1所述的亚像素插值方法, 其特征在于, 所述 "构建基于 三次卷积的 4/8亚像素 6 tap插值滤波器"具体为: 构建三次卷积的基函数: 3. The sub-pixel interpolation method according to claim 1, wherein the "building a 3/8 sub-pixel 6 tap interpolation filter based on a cubic convolution" is specifically: constructing a cubic convolution basis function:
其中, w为基函数/ 的自变量; 结合所述三次卷积的基函数的表达式, 获取 4/8亚像素的插值滤波器: Altcr4/, =[f 2 + x),f (\ + xlf (xlf (l-x),f(2-x),f(3-x)] , _τ = 4/8。 Where w is the independent variable of the basis function /; in conjunction with the expression of the cubic function of the cubic convolution, obtain an interpolation filter of 4/8 sub-pixels: Altcr 4/ , =[f 2 + x),f (\ + xlf (xlf (lx),f(2-x),f(3-x)] , _τ = 4/8.
4、 如权利要求 1所述的亚像素插值方法, 其特征在于, 所述 "获取插值 滤波器组"具体为: 1 tel'1/8 = U(-2- ), (-ι- -x) {-x) (\- -x),f(2- -x) - )], X = 1/8 4. The sub-pixel interpolation method according to claim 1, wherein the "acquisition interpolation filter bank" is specifically: 1 tel ' 1/8 = U(-2- ), (-ι- -x ) {-x) (\- -x),f(2- -x) - )], X = 1/8
; =[/(- 2 - "), (-l- -x) {-x) {\ -x),f(2 -x),f(3- - ], X = 2/8 ;[/(- 2 - "), (-l- -x) {-x) {\ -x),f(2 -x),f(3- - ], X = 2/8
/ilter3/8 ; =[/(- 2- x) - - -x) {-x) (\ -x),f(2- -x),f(3- )], X = 3/8 /ilter 3/8 ; =[/(- 2- x) - - -x) {-x) (\ -x),f(2- -x),f(3- )], X = 3/8
r4 s =[ '(2 + x) '( + x),f x) \- x),f 2- -x),f'(3- - )], X = 4/8r 4 s =[ '(2 + x) '( + x),fx) \- x),f 2- -x),f'(3- - )], X = 4/8
/ilter5/8 ; =[/(- 2 - ), (-ΐ- -x) (-x) (\ -x),f(2- -x) - )], X = 5/8 /ilter 5/8 ; =[/(- 2 - ), (-ΐ- -x) (-x) (\ -x),f(2- -x) - )], X = 5/8
s =[ (-2- ), (-ι- -x),f{-x) (\ -x) - -x) - )], X = 6/8 s =[ (-2- ), (-ι- -x),f{-x) (\ -x) - -x) - )], X = 6/8
; =[/(— 2 - x) (- - -x) {-x) (\ -x),f(2- -x),f(3- - ], X = 7/8。 ;[/(- 2 - x) (- - -x) {-x) (\ -x),f(2- -x),f(3- - ], X = 7/8.
5、 如权利要求 1所述的亚像素插值方法, 其特征在于, 所述 "获取经水平 插值列扩展和垂直插值行扩展后的 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8亚像 素的像素值"具体为: 经水平插值列扩展亚像素后的帧为: I weight(k) 经垂直插值行扩展亚像素后的帧为: ^/8 ,v) = (filterk/& *F^ (x,y))/ weigh†(k) 其中 8 (; 为经过列扩展以后的帧, ¾^/8为 /8像素插值滤波器, k = 1,2,3,4,5,6,7 , ¾^ /8为 ¾^/8的转置矩阵, F(JC, 为原始帧, g/^W为亚 像素插值归一化因子, w gfe(fc) = ), 其中, ™m为求和计算, Fk x, y) 为最后获取的插值滤波后的帧。 5. The sub-pixel interpolation method according to claim 1, wherein said "acquiring 1/8, 2/8, 3/8, 4/8 after horizontal interpolation column expansion and vertical interpolation row expansion, 5/8, 6/8, 7/8 sub-pixel pixel values" Specifically: The frame after the sub-pixel is expanded by the horizontal interpolation column is: I weight(k) The frame after extending the sub-pixel through the vertical interpolation line is: ^ /8 ,v) = (filter k/& *F^ (x,y))/ weigh†(k) Where 8 (; is the frame after column expansion, 3⁄4^ /8 is /8 pixel interpolation filter, k = 1,2,3,4,5,6,7, 3⁄4^ /8 is 3⁄4^ /8 Transpose matrix, F(JC , is the original frame, g/^W is the subpixel interpolation normalization factor, w gfe(fc) = ), where TMm is the summation calculation, and F k x, y) is the last acquired interpolated filtered frame.
6、 如权利要求 2所述的亚像素插值方法, 其特征在于, 所述 /^)中将浮点 运算转化为整数运算。 The sub-pixel interpolation method according to claim 2, wherein the floating point operation is converted into an integer operation in the /^).
7、 如权利要求 3所述的亚像素插值方法, 其特征在于, 所述/ )中将浮 点运算转化为整数运算。 7. The sub-pixel interpolation method according to claim 3, wherein the floating point operation is converted into an integer operation in the /).
8、 如权利要求 2所述的亚像素插值方法, 其特征在于, 所述 /^)中浮点值 用近似整数替换, 利用相同的基函数 / ), 构建《阶滤波器, M≤6。 The sub-pixel interpolation method according to claim 2, wherein the floating point value in the /^) is replaced by an approximate integer, and the same basis function / ) is used to construct a "order filter, M ≤ 6.
9、 如权利要求 3所述的亚像素插值方法, 其特征在于, 所述/ 中浮点 值用近似整数替换, 利用相同的基函数/ ), 构建《阶滤波器, M≤6。 The sub-pixel interpolation method according to claim 3, wherein the / mid-floating point value is replaced by an approximate integer, and the same basis function / ) is used to construct a "order filter, M ≤ 6.
10、 一种亚像素插值系统, 其特征在于, 所述系统包括: 10. A sub-pixel interpolation system, wherein the system comprises:
插值滤波器构建装置:用于构建基于四次卷积的 1/8, 2/8, 3/8, 5/8, 6/8, 7/8亚像素 6tap插值滤波器和基于三次卷积的 4/8亚像素 6 tap插值滤波器; 插值滤波器组获取装置: 用于根据构建的基于四次卷积的 1/8, 2/8, 3/8, 5/8, 6/8, 7/8亚像素 6 tap插值滤波器和基于三次卷积的 4/8亚像素 6 tap插 值滤波器, 形成滤波器组; Interpolation filter construction device: used to construct 1/8, 2/8, 3/8, 5/8, 6/8, 7/8 sub-pixel 6tap interpolation filters based on four convolutions and based on cubic convolution 4/8 sub-pixel 6 tap interpolation filter; interpolation filter bank acquisition device: 1/8, 2/8, 3/8, 5/8, 6/8, 7 based on four convolutions constructed a /8 sub-pixel 6 tap interpolation filter and a 3/8 sub-pixel 6 tap interpolation filter based on cubic convolution to form a filter bank;
亚像素像素值获取装置,用于获取经水平插值列扩展和垂直插值行扩展后 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8亚像素的像素值。 Sub-pixel pixel value obtaining means for acquiring 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8 sub-pixels after horizontal interpolation column expansion and vertical interpolation line expansion The pixel value.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010551959.6A CN102469310B (en) | 2010-11-19 | 2010-11-19 | Sub-pixel interpolation method and system |
CN201010551959.6 | 2010-11-19 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2012065447A1 true WO2012065447A1 (en) | 2012-05-24 |
Family
ID=46072393
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2011/076352 WO2012065447A1 (en) | 2010-11-19 | 2011-06-25 | Sub pixel interpolation method and system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102469310B (en) |
WO (1) | WO2012065447A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10462480B2 (en) | 2014-12-31 | 2019-10-29 | Microsoft Technology Licensing, Llc | Computationally efficient motion estimation |
CN111698514A (en) * | 2019-03-12 | 2020-09-22 | 北京大学 | Multi-mode sub-pixel interpolation method based on deep learning |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111800641B (en) * | 2013-06-13 | 2023-08-25 | 上海天荷电子信息有限公司 | Image coding and decoding method and device adopting different kinds of reconstructed pixels in same mode |
CN110363723B (en) * | 2019-07-16 | 2021-06-29 | 安健科技(广东)有限公司 | Image processing method and device for improving image boundary effect |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1191480A2 (en) * | 2000-09-21 | 2002-03-27 | Sony Corporation | Image processing method and image processing device |
CN1529509A (en) * | 2003-09-27 | 2004-09-15 | 浙江大学 | Video image sub-picture-element interpolation method and device |
CN1574950A (en) * | 2003-05-24 | 2005-02-02 | 三星电子株式会社 | Image interpolation apparatus and method |
CN101878648A (en) * | 2007-10-14 | 2010-11-03 | 诺基亚公司 | Fixed-point implementation of an adaptive image filter with high coding efficiency |
-
2010
- 2010-11-19 CN CN201010551959.6A patent/CN102469310B/en not_active Expired - Fee Related
-
2011
- 2011-06-25 WO PCT/CN2011/076352 patent/WO2012065447A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1191480A2 (en) * | 2000-09-21 | 2002-03-27 | Sony Corporation | Image processing method and image processing device |
CN1574950A (en) * | 2003-05-24 | 2005-02-02 | 三星电子株式会社 | Image interpolation apparatus and method |
CN1529509A (en) * | 2003-09-27 | 2004-09-15 | 浙江大学 | Video image sub-picture-element interpolation method and device |
CN101878648A (en) * | 2007-10-14 | 2010-11-03 | 诺基亚公司 | Fixed-point implementation of an adaptive image filter with high coding efficiency |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10462480B2 (en) | 2014-12-31 | 2019-10-29 | Microsoft Technology Licensing, Llc | Computationally efficient motion estimation |
CN111698514A (en) * | 2019-03-12 | 2020-09-22 | 北京大学 | Multi-mode sub-pixel interpolation method based on deep learning |
CN111698514B (en) * | 2019-03-12 | 2022-04-15 | 北京大学 | Multi-mode sub-pixel interpolation method based on deep learning |
Also Published As
Publication number | Publication date |
---|---|
CN102469310B (en) | 2015-02-04 |
CN102469310A (en) | 2012-05-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Cheng et al. | Deep Residual Learning for Image Compression. | |
Wang et al. | Omni aggregation networks for lightweight image super-resolution | |
CN107710761B (en) | Image prediction method and related device | |
CN108921910B (en) | JPEG coding compressed image restoration method based on scalable convolutional neural network | |
CN1435054A (en) | Method and apparatus for performing video image decoding | |
CN102263951B (en) | Quick fractal video compression and decompression method | |
WO2012065447A1 (en) | Sub pixel interpolation method and system | |
Shi et al. | Winograd-based real-time super-resolution system on FPGA | |
CN104780383B (en) | A kind of 3D HEVC multi-resolution video coding methods | |
CN102801982B (en) | Estimation method applied on video compression and based on quick movement of block integration | |
CN115294222A (en) | Image encoding method, image processing method, terminal, and medium | |
CN103747269B (en) | A kind of wave filter interpolation method and wave filter | |
US20140241423A1 (en) | Image coding and decoding methods and apparatuses | |
CN113256496A (en) | Lightweight progressive feature fusion image super-resolution system and method | |
Conde et al. | AIM 2024 challenge on efficient video super-resolution for av1 compressed content | |
Wang et al. | Super resolution for compressed screen content video | |
CN103092559B (en) | For the multiplier architecture of DCT/IDCT circuit under HEVC standard | |
CN103237211B (en) | A kind of method of the video sub-pix brightness interpolating based on FPGA and device thereof | |
CN203206399U (en) | FPGA-based video sub-pixel luminance interpolation device | |
CN103647969B (en) | A kind of object-based Fast Fractal video compress and decompression method | |
Yang et al. | An optimization method for video upsampling and downsampling using interpolation-dependent image downsampling | |
CN113344786B (en) | Video transcoding method, device, medium and equipment based on geometric generation model | |
CN102263954B (en) | Quick fractal video compression and decompression method based on object | |
CN105472395B (en) | A kind of Lossless Image Compression Algorithm method based on discrete Krawtchouk orthogonal polynomial | |
CN114449294A (en) | Motion estimation method, motion estimation apparatus, motion estimation device, storage medium, and computer program product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 11841294 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS (EPO FORM 1205A DATED 17-12-2013) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 11841294 Country of ref document: EP Kind code of ref document: A1 |