WO2015149241A1 - 一种针对色度的插值方法及滤波器 - Google Patents

一种针对色度的插值方法及滤波器 Download PDF

Info

Publication number
WO2015149241A1
WO2015149241A1 PCT/CN2014/074440 CN2014074440W WO2015149241A1 WO 2015149241 A1 WO2015149241 A1 WO 2015149241A1 CN 2014074440 W CN2014074440 W CN 2014074440W WO 2015149241 A1 WO2015149241 A1 WO 2015149241A1
Authority
WO
WIPO (PCT)
Prior art keywords
interpolation
pixels
sub
pixel
filter
Prior art date
Application number
PCT/CN2014/074440
Other languages
English (en)
French (fr)
Inventor
王荣刚
吕浩
王振宇
董胜富
高文
Original Assignee
北京大学深圳研究生院
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 北京大学深圳研究生院 filed Critical 北京大学深圳研究生院
Priority to PCT/CN2014/074440 priority Critical patent/WO2015149241A1/zh
Publication of WO2015149241A1 publication Critical patent/WO2015149241A1/zh
Priority to US15/059,266 priority patent/US10230990B2/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/80Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation
    • H04N19/82Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation involving filtering within a prediction loop
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/117Filters, e.g. for pre-processing or post-processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/182Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a pixel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/186Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a colour or a chrominance component
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/513Processing of motion vectors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/523Motion estimation or motion compensation with sub-pixel accuracy
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/587Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal sub-sampling or interpolation, e.g. decimation or subsequent interpolation of pictures in a video sequence

Definitions

  • the present application relates to the field of video codec technology, and in particular, to a pixel division method and a filter for chrominance. Background technique
  • the sub-pixel interpolation technique can improve the accuracy of motion prediction, and thus has a very positive effect on the improvement of the overall codec performance.
  • Sub-pixel interpolation has been used in MPEG-1 for the first time, but it is limited to half-pixel motion estimation, although it is better than the whole-pixel motion estimation, but the accuracy and performance are not high. From MPEG-4, the interpolation accuracy is improved, using 1 / 4 Brightness interpolation of pixel precision.
  • typical video codec standards such as H.264/AVC and HEVC use luminance interpolation of 1/4 pixel precision, and the corresponding chroma interpolation precision is 1/8 pixel.
  • the chrominance component in the video is flatter than the luminance component, and considering that the interpolation precision of chrominance is 1/8 pixel, there are as many as 63 types of sub-pixels that need to be interpolated, and the calculation is complicated.
  • the present application provides a sub-pixel interpolation method and filter for chrominance.
  • the present application provides an interpolation method for chrominance, including: determining pixel precision of interpolation;
  • the inserted sub-pixels are subjected to two-dimensional separation interpolation using a low-tap interpolation filter.
  • the pixel precision is 1/8 pixel precision; and the low tap interpolation filter includes a 4-tap interpolation filter.
  • the two-dimensional separation and interpolation of the inserted sub-pixels according to the coordinates includes: For the sub-pixels between the horizontally adjacent integer pixels, horizontal one-dimensional interpolation filtering is performed; for the sub-pixels between the vertically adjacent integer pixels, longitudinal one-dimensional interpolation filtering is performed; for the remaining sub-pixels Transverse one-dimensional interpolation filtering is performed, and longitudinal one-dimensional interpolation filtering is performed.
  • the 4-tap interpolation filter has a coefficient corresponding to 1/8 pixels of ⁇ -4, 62, 6, 0 ⁇ , and a coefficient corresponding to 2/8 pixels is ⁇ -6, 56, 15, -1 ⁇ .
  • the coefficient corresponding to 3/8 pixels is ⁇ -5, 47, 25, -3 ⁇ ;
  • the coefficient corresponding to 4/8 pixels is ⁇ -4, 36, 36, -4 ⁇ , and the coefficient corresponding to 5/8 pixels is ⁇ -3, 25, 47, -5 ⁇
  • the coefficient corresponding to 6/8 pixels is ⁇ -1, 15, 56, -6 ⁇
  • the coefficient corresponding to 7/8 pixels is ⁇ 0, 6, 62, -4 ⁇ .
  • the interpolation of the sub-pixels oa, ob, oc, od, oe, of, og is performed by using 4-tap interpolation filtering on the entire pixel of the horizontal nearest neighbor, using 1/8, 2/8, 3/8, 4 respectively. /8, 5/8, 6/8, 7/8
  • the filter coefficients corresponding to the position are calculated, and the calculated displacement shiftl is obtained to obtain the corresponding sub-pixel.
  • the interpolation of the sub-pixels pa, qa, ra, sa, ta, ua, va is performed by using 4-tap interpolation filtering on the entire nearest vertical pixel, using 1/8, 2/8, 3 respectively.
  • the filter coefficients corresponding to the /8, 4/8, 5/8, 6/8, 7/8 positions are calculated, and the calculated displacement shiftl is obtained to obtain the corresponding sub-pixel.
  • shiftl is equal to 6.
  • 4-tap interpolation filtering is first used on the entire nearest horizontal pixel, and the intermediate value is calculated by using the filter coefficient corresponding to the position; then the vertical 4-tap interpolation filtering is used for the intermediate value. , using the filter coefficients corresponding to the 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8 positions respectively, and calculating the result shift shift2 to obtain the corresponding sub-pixel.
  • shi ft 2 is equal to 12.
  • the present application provides a filter for interpolating chrominance by the above method.
  • the inserted sub-pixel is two-dimensionally separated according to the coordinates using a low-tap interpolation filter, such as a 4-tap interpolation filter. Interpolation, for bilinear interpolation, improves interpolation performance.
  • FIG. 1 is a flow chart of an interpolation method for chromaticity in an embodiment of the present application
  • FIG. 2 is a schematic diagram of a point at which a sub-pixel is inserted in the present application
  • FIG. 3 is a flow chart of another method for interpolating chrominance in the present application. detailed description
  • an embodiment of the interpolation method for chroma of the present application includes the following steps:
  • Step 102 Determine the pixel precision of the interpolation.
  • the pixel accuracy is 1/8 pixel accuracy.
  • Step 104 Determine the coordinates of the point at which the sub-pixel is inserted between the entire pixels.
  • Step 106 Perform two-dimensional separation interpolation on the inserted sub-pixels according to the coordinates using a low-tap interpolation filter.
  • the low tap interpolation filter comprises a four tap interpolation filter.
  • the two-dimensional separation and interpolation of the inserted sub-pixels are performed according to the coordinates, and specifically includes:
  • horizontal one-dimensional interpolation filtering is performed; for the sub-pixels between the vertically adjacent integer pixels, longitudinal one-dimensional interpolation filtering is performed; for the remaining sub-pixels Transverse one-dimensional interpolation filtering is performed, and longitudinal one-dimensional interpolation filtering is performed.
  • the interpolation method for chromaticity of the present application the 4-tap interpolation filter, the coefficient corresponding to 1 / 8 pixels is ⁇ -4, 62, 6, 0 ⁇ , and the coefficient corresponding to 2/8 pixels is ⁇ -6, 56, 15, -1 ⁇ , the coefficient corresponding to 3/8 pixels is ⁇ _5, 47, 25, -3 ⁇ ; the coefficient corresponding to 4/8 pixels is ⁇ -4, 36, 36, -4 ⁇ , corresponding to 5/8 pixels
  • the coefficients are ⁇ _3, 25, 47, -5 ⁇ , and the coefficients corresponding to 6/8 pixels are ⁇ -1 , 15, 56, -6 ⁇ .
  • the coefficients corresponding to 7/8 pixels are ⁇ 0, 6, 62, -4 ⁇ .
  • the coefficient of the 4-tap filter used is excellent, and the interpolation effect is good.
  • the motion vector of chrominance is derived from the motion vector of the luminance search.
  • the luminance motion vector of 1/4 pixel precision is generally used in the standard, so the motion vector for chrominance is 1 /
  • the 8-pixel precision is then interpolated according to the motion vector of the chrominance.
  • the interpolation method for chroma of the present application inserts a sub-pixel as shown in FIG. 2, wherein the uppercase letter represents a known integer pixel point, and the lowercase letter represents a position required to be interpolated. The resulting subpixels.
  • the sub-pixels oa, ob, oc, od, oe, of, og can be obtained by using 4-tap interpolation filtering for the entire nearest pixel of the horizontal nearest neighbor; using the 4-tap interpolation filtering for the entire nearest pixel of the vertical nearest neighbor can obtain the sub-pixel pa, Qa, ra, sa, ta, ua, va; For the remaining sub-pixels, 4-tap interpolation filtering is first applied to the entire nearest horizontal pixel, and then the intermediate value is subjected to vertical 4-tap interpolation filtering.
  • the coefficients of the 4-tap filter are shown in Table 1, respectively, and the coordinates of the points at which the sub-pixels are inserted are shown in Table 2.
  • Table 2 Coordinates of points inserted into sub-pixels
  • the present application is directed to the interpolation method of chrominance, and another embodiment thereof, as shown in Fig. 3, includes the following steps:
  • Step 302 Start.
  • Step 304 According to Table 2, the sub-pixels to be interpolated are determined by the coordinates of X and y. Where: 0 ⁇ x ⁇ 7/8, ( x 7/8.
  • Step 306 For the whole pixel, directly copy the original pixel. From the judgment of the previous step, the corresponding sub-pixel interpolation processing is entered separately. For integer pixels, the original pixels are copied directly without interpolation.
  • Step 308 For the point where the ordinate is equal to 0, such as the interpolation of the sub-pixels oa, ob, oc, od, oe, of, and og, use 4 tap interpolation filtering for the entire pixel of the horizontal nearest neighbor, respectively, using 1/8 , 2/8, 3/8, 4/8, 5/8, 6/8, 7/8 corresponding filter coefficients, calculate the corresponding sub-pixel.
  • the specific calculation formula for the sub-pixels oa, ob, oc, od, oe, of, and og is as follows:
  • Step 310 For points where the abscissa is equal to 0, such as the interpolation of sub-pixels pa, qa, ra, sa, ta, ua, and va, use 4-tap interpolation filtering for integer pixels of the nearest nearest neighbor The corresponding sub-pixels are calculated using the filter coefficients corresponding to the 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, and 7/8 positions, respectively.
  • the specific calculation formula of the sub-pixel pa is as follows:
  • Step 312 For the remaining points, first use 4-tap interpolation filtering for the entire nearest pixel of the horizontal nearest neighbor, and then use vertical 4-tap interpolation filtering.
  • Qc (_6xob' 0 _ 1 + 56x ob'o. +15xob' 01 - ob' 02 ) » shiftl Interpolation of sub-pixels pd, qd, rd, sd, td, ud, and vd, first to the nearest neighbor
  • oe' differs from oe in that oe' has no final shiftl shift operation; then the intermediate value oe is used for vertical 4-tap interpolation filtering, using 1/8, 2/8, 3 respectively. /8, 4/8, 5/8, 6/8,
  • the filter coefficients corresponding to the 7/8 position are calculated to obtain corresponding sub-pixels.
  • the specific calculation formula of the sub-pixels pf and qf is as follows, and other sub-pixels are similar.
  • the filter coefficients corresponding to the 7/8 position are calculated to obtain corresponding sub-pixels.
  • the specific calculation formulas of the sub-pixels pg and qg are as follows, and other sub-pixels are similar.
  • Specific calculation of sub-pixel ph, qh The formula is as follows, and other subpixels are similar.
  • Ph (- 4xog' 0 ,_] +62xog' 0 ,. +6xog' 0 .] ) » shift!
  • Step 314 End.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Television Systems (AREA)
  • Image Processing (AREA)

Abstract

一种针对色度的插值方法,包括:确定插值的像素精度(102);在整像素点之间确定插入分像素的点的坐标(104);根据所述坐标,使用低抽头插值滤波器对插入的分像素进行二维分离插值(106)。由于在像素点之间确定插入分像素的点的坐标,根据坐标,使用低抽头插值滤波器,如4抽头插值滤波器,对插入的分像素进行二维分离插值,对于双线性插值来说,提高了插值性能。

Description

一种针对色度的插值方法及滤波器 技术领域
本申请涉及视频编解码技术领域, 尤其涉及一种针对色度的分像素插值方 法及滤波器。 背景技术
随着众多如数字电视、 互联网高清视频、 数码相机、 数码摄像机等高清数 码产品的逐渐普及, 现有的视频编解码标准已经不能满足要求, 尤其对于高分 辨力视频, 如 4Kx2K 的甚高分辨率。 因此, 人们期待能适应超高清视频的新一 代高性能视频编码标准的开发。
在视频编解码技术中, 分像素插值技术能提高运动预测的准确度, 从而对 整个编解码性能的提高有非常大的积极作用。 分像素插值最早在 MPEG-1中就已 经使用, 但仅限于半像素运动估计, 尽管比整像素运动估计要好但是精度和性 能还不高; 从 MPEG-4开始提高了插值精度, 使用 1 /4像素精度的亮度插值。 目 前典型的视频编解码标准如 H. 264/AVC、 HEVC都釆用 1/4像素精度的亮度插值, 对应的色度插值精度为 1/8像素。 由于视频中色度分量比亮度分量要平坦一些, 同时考虑到色度的插值精度是 1/8像素, 需要插值的分像素种类多达 63种, 计 算复杂。
现有的色度插值釆用简单的双线性插值, 计算起来虽然较为简单, 但影响 了插值性能。 发明内容
本申请提供一种针对色度的分像素插值方法及滤波器。
根据本申请的第一方面, 本申请提供一种针对色度的插值方法, 包括: 确定插值的像素精度;
在整像素点之间确定插入分像素的点的坐标;
根据所述坐标, 使用低抽头插值滤波器对插入的分像素进行二维分离插值。 上述方法中, 所述像素精度为 1/8像素精度; 所述低抽头插值滤波器包括 4 抽头插值滤波器。
上述方法中, 所述根据所述坐标, 对插入的分像素进行二维分离插值, 具 体包括: 对于横向相邻的整像素点之间的分像素, 进行横向的一维插值滤波; 对于纵向相邻的整像素点之间的分像素, 进行纵向的一维插值滤波; 对于剩余的分像素先进行横向的一维插值滤波, 再进行纵向的一维插值滤 波。
上述方法中,所述 4抽头插值滤波器, 1/8像素对应的系数为 {-4, 62, 6, 0} , 2/8像素对应的系数为 {-6, 56, 15, -1} , 3/8像素对应的系数为 { -5, 47, 25, -3 }; 4/8像素对应的系数为 { -4, 36, 36, -4 } , 5/8像素对应的系数为 { -3, 25, 47, -5 } , 6/8像素对应的系数为 { -1, 15, 56, -6 } , 7/8像素对应的系 数为 { 0, 6, 62, -4 }。
上述方法中, 插入的分像素及坐标如下表所示:
Figure imgf000003_0001
其中, 分像素 oa、 ob、 oc、 od、 oe、 of、 og的插值, 通过对横向最近邻的 整像素点使用 4抽头插值滤波, 分别使用 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8 位置对应的滤波器系数进行计算, 计算结果位移 shiftl, 得到对应的分像素。
上述方法中, 其中, 分像素 pa、 qa, ra、 sa、 ta、 ua、 va的插值, 通过对 纵向最近邻的整像素点使用 4抽头插值滤波, 分别使用 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8位置对应的滤波器系数进行计算, 计算结果位移 shiftl, 得到 对应的分像素。
上述方法中, shiftl等于 6。
上述方法中, 对剩余的分像素, 先对横向最近邻的整像素点使用 4抽头插 值滤波, 使用其位置对应的滤波器系数, 计算得到中间值; 然后再对中间值使 用纵向 4抽头插值滤波, 分别使用 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8位置 对应的滤波器系数, 计算结果位移 shift2, 得到对应的分像素。 上述方法中, shi f t 2等于 12。
根据本申请的第二方面, 本申请提供一种滤波器, 釆用上述方法, 对色度 进行插值处理。
由于釆用了以上技术方案, 使本申请具备的有益效果在于:
在本申请的具体实施方式中, 由于在像素点之间确定插入分像素的点的坐 标, 根据坐标, 使用低抽头插值滤波器, 如 4抽头插值滤波器, 对插入的分像 素进行二维分离插值, 对于双线性插值来说, 提高了插值性能。 附图说明
图 1为本申请的针对色度的插值方法在一种实施方式中的流程图; 图 2为本申请插入分像素的点的示意图;
图 3为本申请的针对色度的插值方法在另一种实施方式中的流程图。 具体实施方式
下面通过具体实施方式结合附图对本申请作进一步详细说明。
如图 1 所示, 本申请的针对色度的插值方法, 其一种实施方式, 包括以下 步骤:
步骤 102 : 确定插值的像素精度。 在一种实施方式中, 像素精度为 1/8像素 精度。
步骤 104 : 在整像素点之间确定插入分像素的点的坐标。
步骤 106 : 根据坐标,使用低抽头插值滤波器对插入的分像素进行二维分离 插值。 在一种实施方式中, 低抽头插值滤波器包括四抽头插值滤波器。
在一种实施方式中, 根据坐标, 对插入的分像素进行二维分离插值, 具体 包括:
对于横向相邻的整像素点之间的分像素, 进行横向的一维插值滤波; 对于纵向相邻的整像素点之间的分像素, 进行纵向的一维插值滤波; 对于剩余的分像素先进行横向的一维插值滤波, 再进行纵向的一维插值滤 波。
本申请的针对色度的插值方法, 4抽头插值滤波器, 其 1 /8像素对应的系数 为 {-4, 62, 6, 0} , 2/8像素对应的系数为 {-6, 56, 15, -1} , 3/8像素对应的 系数为 { _5, 47, 25, -3 }; 4/8像素对应的系数为 { -4, 36, 36, -4 } , 5/8 像素对应的系数为 { _3, 25, 47, -5 } , 6/ 8像素对应的系数为 { -1 , 15, 56, -6 } , 7/8像素对应的系数为 { 0, 6, 62, -4 }。 所釆用的 4抽头滤波器的系数, 性能 优良, 插值效果好。
在视频编解码标准中, 色度的运动矢量是根据亮度搜索的运动矢量推导出 来的, 现在标准中一般都釆用 1/4像素精度的亮度运动矢量, 因此对于色度的 运动矢量是 1 /8像素精度, 然后根据色度的运动矢量插值出色度的分像素。
在一种实施方式中, 本申请的针对色度的插值方法, 其插入的分像素如图 2 所示, 其中大写字母代表的位置为已知的整像素点, 小写字母代表的位置为需 要插值得到的分像素。 对横向最近邻的整像素点使用 4抽头插值滤波可以得到 分像素 oa、 ob、 oc、 od、 oe、 of、 og; 对纵向最近邻的整像素点使用 4抽头插 值滤波可以得到分像素 pa、 qa、 ra、 sa、 ta、 ua、 va; 对于剩下的分像素是先对 横向最近邻的整像素点使用 4抽头插值滤波, 然后再对中间值使用纵向 4抽头 插值滤波。 4抽头滤波器的系数分别见表 1所示, 插入分像素的点的坐标, 如表 2所示。
Figure imgf000005_0001
4抽头滤波器的系数
Figure imgf000005_0002
6/8 ua ub uc ud ue uf ug uh
7/8 va vb vc vd ve vf vg vh
表 2 插入分像素的点的坐标 本申请针对色度的插值方法, 其另一种实施方式, 如图 3 所示, 包括以下 步骤:
步骤 302: 开始。
步骤 304: 根据表 2, 通过 X和 y的坐标来判断所要插值的分像素。 其中: 0<x<7/8, ( x 7/8。
步骤 306: 对于整像素点, 直接复制原整像素点。 由上一步的判断, 分别进 入相应的分像素插值处理过程。 对于整像素点, 无需插值, 直接复制原整像素 点。
步骤 308: 对于纵坐标等于 0的点, 如分像素 oa、 ob、 oc、 od、 oe、 of和 og的插值, 通过对横向最近邻的整像素点使用 4抽头插值滤波, 分别使用 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8位置对应的滤波器系数, 计算得到对应的分像素。 分像素 oa、 ob、 oc、 od、 oe、 of和 og的具体计算公式如下:
oa = (-4x^4_10 +62x^400 + 6x4o) » shifll
ob = (-6x^4 。 + 56>< 。。 + 15x4。 - 2。 ) >> shifl
oc = (-5Xy4_10 +47x4)0 +25x o -3X 420) » shifll
。d
Figure imgf000006_0001
oe = (- 3x^4— o + 25x )。+47x4。 。)〉〉 shifll
of - -A_10+\5xA00 +56xA10-6xA20)» shifll
og = (6x4)。 +62x4。 _ 4x 2Q) » shifll 步骤 310: 对于横坐标等于 0的点, 如分像素 pa、 qa、 ra、 sa、 ta、 ua和 va 的插值,通过对纵向最近邻的整像素点使用 4抽头插值滤波,分别使用 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8位置对应的滤波器系数, 计算得到对应的分像素。 分像 素 pa的具体计算公式如下:
pa = (-4x^0_1 +62x4。 +6x ) » shifll qa= ( - 6 x A。― +56x A0 15 x A0 - A02 ) » Λ·/Η/?1 ra=(-5xA +47xA00+25xA01 - 3xA02) » shifll sa=(-4xA0 J+36XA00+36XAQJ -4xA02)» shiftl
Figure imgf000007_0001
-5xA02)» shiftl
ua=(-A0_1+15xA00+56xA01 -6xA02) » shiftl
va=(6xA00+62xA01 -4xA02 ) » shiftl 步骤 312:对于剩余的点,先对横向最近邻的整像素点使用 4抽头插值滤波, 再使用纵向 4抽头插值滤波。
对于分像素 pb、 qb、 rb、 sb、 tb、 ub和 vb的插值, 先对横向最近邻的整像 素点使用 4抽头插值滤波,使用其位置对应的滤波器系数,从而得到中间值 oa (其中 i=-l~2 ), oa'与 oa区别在于 oa'没有最后的 shiftl移位操作, 然后再对中 间值 oa'Q^ 用纵向 4抽头插值滤波, 分别使用 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8位置对应的滤波器系数, 计算得到对应的分像素。 分像素 pb、 qb的具体计 算公
Figure imgf000007_0002
对于分像素 pc、 qc、 rc、 sc、 tc、 uc和 vc的插值, 先对横向最近邻的整像 素点使用 4抽头插值滤波,使用其位置对应的滤波器系数,从而得到中间值 ob'0;1 (其中 i=-l~2 ), ob'与 ob区别在于 ob'没有最后的 shiftl移位操作; 然后再对中 间值 ob 使用纵向 4抽头插值滤波, 分别使用 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8位置对应的滤波器系数, 计算得到对应的分像素。 分像素 pc、 qc的具体计算 公式
Figure imgf000007_0003
qc = (_6xob'0 _1 + 56x ob'o。 +15xob'01 - ob'02 ) » shiftl 对于分像素 pd、 qd、 rd、 sd、 td、 ud和 vd的插值, 先对横向最近邻的整像 素点使用 4抽头插值滤波,使用其位置对应的滤波器系数,从而得到中间值 oc (其中 i=-l~2 ), oc'与 oc区别在于 oc'没有最后的 shiftl移位操作; 然后再对中 间值 oc 使用纵向 4抽头插值滤波, 分别使用 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8位置对应的滤波器系数, 计算得到对应的分像素。 分像素 pd、 qd的具体计 算公
Figure imgf000007_0004
qd = (-6xoc'0 +56xoc'00 +15xoc'01 - oc'02 j » shiftl 对于分像素 pe、 qe、 re、 se、 te、 ue和 ve的插值, 先对横向最近邻的整像 素点使用 4抽头插值滤波,使用其位置对应的滤波器系数,从而得到中间值 od'o (其中 i=-l~2 ), od'与 od区别在于 od'没有最后的 shiftl移位操作; 然后再对中 间值 od 使用纵向 4抽头插值滤波, 分别使用 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8位置对应的滤波器系数, 计算得到对应的分像素。 分像素 pe、 qe的具体计算 公式如下, 其他分像素类似。
pe = ( - 4 X。d'0 + 62 X。d'0。 + 6 X。d'0 j ) » 5·?ζ/ί 2 qe = (-6xod'0 +56xod'0。 +15xod'0 -od'02) » shiftl 对于分像素 pf、 qf、 rf、 sf、 tf、 uf和 vf的插值, 先对横向最近邻的整像素 点使用 4抽头插值滤波, 使用其位置对应的滤波器系数, 从而得到中间值 oe, i
(其中 i=-l~2 ), oe'与 oe区别在于 oe'没有最后的 shiftl移位操作; 然后再对中 间值 oe 使用纵向 4抽头插值滤波, 分别使用 1/8, 2/8, 3/8, 4/8, 5/8, 6/8,
7/8位置对应的滤波器系数, 计算得到对应的分像素。 分像素 pf、 qf的具体计算 公式如下, 其他分像素类似。
pf = (-4xoe'0 +62xoe'0。 +6xoe'01) » shiftl qf = (-6xoe +56xoe'0。 +15xoe'01 - oe'02 ) » shiftl 对于分像素 pg、 qg、 rg、 sg、 tg、 ug和 vg的插值, 先对横向最近邻的整像 素点使用 4抽头插值滤波,使用其位置对应的滤波器系数,从而得到中间值 of
(其中 i=-l~2 ), of与 of区别在于 of'没有最后的 shiftl移位操作; 然后再对中 间值 of'。使用纵向 4抽头插值滤波, 分别使用 1/8, 2/8, 3/8, 4/8, 5/8, 6/8,
7/8位置对应的滤波器系数, 计算得到对应的分像素。 分像素 pg、 qg的具体计 算公式如下, 其他分像素类似。
pg = (-4xof0 +62xof00 +6xof01) » shiftl qg = (- 6 x of + 56 x of00 + 15 x of01 - of02 ) » shiftl
对于分像素 ph、 qh、 rh、 sh、 th、 uh和 vh的插值, 先对横向最近邻的整像 素点使用 4抽头插值滤波,使用其位置对应的滤波器系数,从而得到中间值 og,0,i (其中 i=-l~2 ), og'与 og区别在于 og'没有最后的 shiftl移位操作; 然后再对中 间值 og'0,i使用纵向 4抽头插值滤波, 分别使用 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8位置对应的滤波器系数, 计算得到对应的分像素。 分像素 ph、 qh的具体计 算公式如下, 其他分像素类似。
ph = (- 4xog'0,_】 +62xog'0,。 +6xog'0.】 ) » shift!
qh = (-6xog'0_, +56xog'00 +15xog'01 -og'02)» shift!
上述公式中, shiftl=6, shift2=12。 这样, 所有的插入分像素的点都被插值 出来。
步骤 314: 结束。 以上内容是结合具体的实施方式对本申请所作的进一步详细说明, 不能认 定本申请的具体实施只局限于这些说明。 对于本申请所属技术领域的普通技术 人员来说, 在不脱离本申请构思的前提下, 还可以做出若千简单推演或替换。

Claims

权 利 要 求 书
1. 一种针对色度的插值方法, 其特征在于, 包括:
确定插值的像素精度;
在整像素点之间确定插入分像素的点的坐标;
根据所述坐标,使用低抽头插值滤波器对插入的分像素进行二维 分离插值。
2. 如权利要求 1所述的针对色度的插值方法, 其特征在于, 所述像素精度为 1/8像素精度;所述低抽头插值滤波器包括四抽头插 值滤波器。
3. 如权利要求 2所述的针对色度的插值方法, 其特征在于, 所述根据所述坐标, 对插入的分像素进行二维分离插值, 具体包括: 对于横向相邻的整像素点之间的分像素 ,进行横向的一维插值滤 波;
对于纵向相邻的整像素点之间的分像素,进行纵向的一维插值滤 波;
对于剩余的分像素先进行横向的一维插值滤波,再进行纵向的一 维插值滤波。
4. 如权利要求 3所述的针对色度的插值方法, 其特征在于, 所述 4抽头插值滤波器, 1/8像素对应的系数为 {-4, 62, 6, 0} , 2/8 像素对应的系数为 {-6, 56, 15, -1} , 3/8像素对应的系数为 { -5, 47, 25, -3 } ; 4/8像素对应的系数为 { -4, 36, 36, _4 } , 5/8像素对 应的系数为 { -3, 25, 47, -5 } , 6/8像素对应的系数为 { -1, 15, 56, -6 } , 7/8像素对应的系数为 { 0, 6, 62, -4 }。
5. 如权利要求 4所述的针对色度的插值方法, 其特征在于, 插入的分像素及坐标如下表所示:
Figure imgf000010_0001
4/8 sa sb sc sd se sf sg sh
5/8 ta tb tc td te tf tg th
6/8 ua ub uc ud ue uf ug uh
7/8 va vb vc vd ve vf vg vh 其中, 分像素 oa、 ob、 oc、 od、 oe、 of、 og的插值, 通过对横 向最近邻的整像素点使用 4抽头插值滤波,分别使用 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8 位置对应的滤波器系数进行计算, 计算结果位 移 shiftl, 得到对应的分像素。
6. 如权利要求 5所述的针对色度的插值方法, 其特征在于, 其中, 分像素 pa、 qa、 ra、 sa、 ta、 ua、 va的插值, 通过对纵向最 近邻的整像素点使用 4抽头插值滤波,分别使用 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8 位置对应的滤波器系数进行计算, 计算结杲位移 shiftl, 得到对应的分像素。
7. 如权利要求 6所述的针对色度的插值方法, 其特征在于, shiftl等于 6。
8. 如权利要求 5所述的针对色度的插值方法, 其特征在于, 对剩余的分像素, 先对横向最近邻的整像素点使用 4抽头插值滤波, 使用其位置对应的滤波器系数, 计算得到中间值; 然后再对中间值使 用纵向 4抽头插值滤波, 分别使用 1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8位置对应的滤波器系数, 计算结果位移 shift2,得到对应的分像 素。
9. 如权利要求 8所述的针对色度的插值方法, 其特征在于, shift2等于 12。
10. 一种滤波器, 釆用如权利要求 1至 9中任一项所述的针对 色度的插值方法, 对色度进行插值处理。
PCT/CN2014/074440 2014-03-31 2014-03-31 一种针对色度的插值方法及滤波器 WO2015149241A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2014/074440 WO2015149241A1 (zh) 2014-03-31 2014-03-31 一种针对色度的插值方法及滤波器
US15/059,266 US10230990B2 (en) 2014-03-31 2016-03-02 Chroma interpolation method and filter device using the method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/074440 WO2015149241A1 (zh) 2014-03-31 2014-03-31 一种针对色度的插值方法及滤波器

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/059,266 Continuation-In-Part US10230990B2 (en) 2014-03-31 2016-03-02 Chroma interpolation method and filter device using the method

Publications (1)

Publication Number Publication Date
WO2015149241A1 true WO2015149241A1 (zh) 2015-10-08

Family

ID=54239232

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/074440 WO2015149241A1 (zh) 2014-03-31 2014-03-31 一种针对色度的插值方法及滤波器

Country Status (2)

Country Link
US (1) US10230990B2 (zh)
WO (1) WO2015149241A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022133664A1 (zh) * 2020-12-21 2022-06-30 深圳市大疆创新科技有限公司 像素插值方法、装置、电子设备和计算机可读介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1543221A (zh) * 2003-11-04 2004-11-03 浙江大学 1/4像素精度插值的方法和装置
US20120183068A1 (en) * 2011-01-19 2012-07-19 General Instrument Corporation High Efficiency Low Complexity Interpolation Filters
CN102833550A (zh) * 2012-09-03 2012-12-19 北京大学深圳研究生院 一种低复杂度的分像素插值滤波器
US20120328020A1 (en) * 2011-06-22 2012-12-27 General Instrument Corporation Fractional pixel interpolation filter for video compression
US20140078394A1 (en) * 2012-09-17 2014-03-20 General Instrument Corporation Selective use of chroma interpolation filters in luma interpolation process
CN103974078A (zh) * 2014-03-31 2014-08-06 北京大学深圳研究生院 一种针对色度的插值方法及滤波器

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5649524B2 (ja) * 2011-06-27 2015-01-07 日本電信電話株式会社 映像符号化方法,装置,映像復号方法,装置およびそれらのプログラム
CN107181956B (zh) * 2011-10-07 2020-02-21 英迪股份有限公司 对视频信号进行解码的方法
US9521409B2 (en) * 2011-11-24 2016-12-13 Nec Corporation Video encoding device, video encoding method, and program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1543221A (zh) * 2003-11-04 2004-11-03 浙江大学 1/4像素精度插值的方法和装置
US20120183068A1 (en) * 2011-01-19 2012-07-19 General Instrument Corporation High Efficiency Low Complexity Interpolation Filters
US20120328020A1 (en) * 2011-06-22 2012-12-27 General Instrument Corporation Fractional pixel interpolation filter for video compression
CN102833550A (zh) * 2012-09-03 2012-12-19 北京大学深圳研究生院 一种低复杂度的分像素插值滤波器
US20140078394A1 (en) * 2012-09-17 2014-03-20 General Instrument Corporation Selective use of chroma interpolation filters in luma interpolation process
CN103974078A (zh) * 2014-03-31 2014-08-06 北京大学深圳研究生院 一种针对色度的插值方法及滤波器

Also Published As

Publication number Publication date
US20160182918A1 (en) 2016-06-23
US10230990B2 (en) 2019-03-12

Similar Documents

Publication Publication Date Title
WO2016086754A1 (zh) 一种大场景视频图像拼接方法
TWI475515B (zh) 產生立體影片之深度圖的方法
US10616592B2 (en) Method and encoder for encoding a video stream in a video coding format supporting auxiliary frames
US20140327736A1 (en) External depth map transformation method for conversion of two-dimensional images to stereoscopic images
US20070070080A1 (en) Systems and methods for accelerating sub-pixel interpolation in video processing applications
US9883200B2 (en) Method of acquiring neighboring disparity vectors for multi-texture and multi-depth video
JP2015501580A (ja) 受信されたビデオの安定化
WO2014032625A1 (zh) 低复杂度的分像素插值滤波方法、滤波装置及电子装置
JP4761390B2 (ja) 内挿される画素値の計算方法の改良
WO2014194722A1 (zh) 确定小物体区域的方法、视频帧之间插补帧的方法和装置
CN103747269B (zh) 一种滤波器插值方法及滤波器
CN108271022B (zh) 一种运动估计的方法及装置
TWI549096B (zh) 影像處理裝置及其處理方法
WO2015149241A1 (zh) 一种针对色度的插值方法及滤波器
JP2012100129A (ja) 画像処理方法及び画像処理装置
JP2015087851A (ja) 画像処理装置及び画像処理プログラム
CN102307307A (zh) 产生立体影片深度图的方法
CN103974078B (zh) 一种针对色度的插值方法及滤波器
CN103747251B (zh) 一种视频图像的插值优化方法及滤波器
CN102523419A (zh) 一种基于运动补偿的数字视频信号转换方法
CN106028018B (zh) 面向裸眼3d显示的实拍双视点3d视频优化方法及系统
CN101888558B (zh) 一种色度插值方法和装置
TWI419570B (zh) 多媒體裝置及其移動補償方法
US8665287B2 (en) Color information interpolation method
JP5977964B2 (ja) 多視点映像フレーム内挿装置、方法及びプログラム

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: 14888484

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase
122 Ep: pct application non-entry in european phase

Ref document number: 14888484

Country of ref document: EP

Kind code of ref document: A1