[go: up one dir, main page]

CN110352599A - Method and apparatus for video processing - Google Patents

Method and apparatus for video processing Download PDF

Info

Publication number
CN110352599A
CN110352599A CN201880012506.0A CN201880012506A CN110352599A CN 110352599 A CN110352599 A CN 110352599A CN 201880012506 A CN201880012506 A CN 201880012506A CN 110352599 A CN110352599 A CN 110352599A
Authority
CN
China
Prior art keywords
block
similar
pixels
threshold
blocks
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.)
Pending
Application number
CN201880012506.0A
Other languages
Chinese (zh)
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.)
Peking University
Shenzhen Dajiang Innovations Technology Co Ltd
Original Assignee
Peking University
Shenzhen Dajiang Innovations Technology Co Ltd
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 Peking University, Shenzhen Dajiang Innovations Technology Co Ltd filed Critical Peking University
Publication of CN110352599A publication Critical patent/CN110352599A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • 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/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/124Quantisation
    • 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/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/157Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
    • H04N19/159Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
    • 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/17Methods 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 an image region, e.g. an object
    • H04N19/176Methods 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 an image region, e.g. an object the region being a block, e.g. a macroblock
    • 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/44Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
    • 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
    • H04N19/517Processing of motion vectors by encoding
    • H04N19/52Processing of motion vectors by encoding by predictive encoding
    • 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/593Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/61Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/90Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
    • H04N19/91Entropy coding, e.g. variable length coding [VLC] or arithmetic coding

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Image Analysis (AREA)

Abstract

The embodiment of the present application provides a kind of method for video processing and equipment, can reduce the complexity of filtering.This method comprises: obtaining at least one first similar block of current block at least one pixel set, wherein the pixel set includes sparse reconstruction pixel, which includes that at least one rebuilds pixel;At least one first similar block based on this constructs structural array;The structural array is decomposed;According to the structural array of decomposition, obtains and rebuild structural array.

Description

用于视频处理的方法和设备Method and apparatus for video processing

版权申明Copyright notice

本专利文件披露的内容包含受版权保护的材料。该版权为版权所有人所有。版权所有人不反对任何人复制专利与商标局的官方记录和档案中所存在的该专利文件或者该专利披露。The disclosure of this patent document contains material that is subject to copyright protection. This copyright belongs to the copyright owner. The copyright owner has no objection to the reproduction by anyone of the patent document or the patent disclosure as it exists in the official records and archives of the Patent and Trademark Office.

技术领域technical field

本申请涉及视频处理领域,并且更具体地,涉及一种用于视频处理的方法和设备。The present application relates to the field of video processing, and more particularly, to a method and apparatus for video processing.

背景技术Background technique

在视频编码过程中,滤波是关键部分。它主要用于减少编码过程中产生的压缩失真。当前视频编码标准的环路滤波器都是利用图像局部相似特性进行滤波,这种滤波方式限制了滤波器的性能。为了进一步提升压缩性能,基于非局部相似性的环路滤波器(具体可以为基于非局部结构的视频编码滤波器(Non-local Structure-based Filter,NLSF))被应用到编码框架中,它利用图像的非局部自相似性,对搜索得到的相似结构组进行协同滤波。In the video coding process, filtering is a critical part. It is mainly used to reduce compression artifacts produced during encoding. The loop filters of current video coding standards all use the local similarity characteristics of images to filter, which limits the performance of the filter. In order to further improve the compression performance, a loop filter based on non-local similarity (specifically, a non-local structure-based video coding filter (NLSF)) is applied to the coding framework, which utilizes The non-local self-similarity of the image, the collaborative filtering is performed on the similar structure groups obtained by the search.

在利用NLSF进行滤波时,需要对当前块进行相似块的搜索,并基于搜索到的相似块构建结构数组,以执行基于结构数组的滤波。其中,在搜索相似块时,需要对搜索窗中的所有像素进行逐点扫描,导致复杂度过高,难以实用。When filtering with NLSF, it is necessary to search for similar blocks of the current block, and build a structure array based on the searched similar blocks to perform filtering based on the structure array. Among them, when searching for similar blocks, it is necessary to scan all the pixels in the search window point by point, which leads to high complexity and is difficult to be practical.

因此,如何降低滤波过程的复杂度是一项亟待解决的问题。Therefore, how to reduce the complexity of the filtering process is an urgent problem to be solved.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供一种用于视频处理的方法和设备,可以降低滤波过程的复杂度。The embodiments of the present application provide a method and device for video processing, which can reduce the complexity of the filtering process.

第一方面,提供了一种用于视频处理的方法,包括:在至少一个像素集合中,获取当前块的至少一个第一相似块,其中,该像素集合包括稀疏的重建像素,该当前块包括至少一个重建像素;基于该至少一个第一相似块,构建结构数组;对该结构数组进行分解;根据分解的结构数组,获得重建结构数组。In a first aspect, a method for video processing is provided, comprising: in at least one pixel set, acquiring at least one first similar block of a current block, wherein the pixel set includes sparse reconstructed pixels, and the current block includes at least one reconstructed pixel; constructing a structure array based on the at least one first similar block; decomposing the structure array; obtaining a reconstructed structure array according to the decomposed structure array.

第二方面,提供了一种用于视频处理的方法,包括:从重建像素中,获取当前块的至少一个相似块,该当前块包括至少一个重建像素,其中,用于表征该当前块与该相似块的相似度的参量的值超出第一阈值;基于该至少一个相似块,构建结构数组;对该结构数组进行分解;根据分解的结构数组,获得重建结构数组。In a second aspect, there is provided a method for video processing, comprising: obtaining, from reconstructed pixels, at least one similar block of a current block, the current block including at least one reconstructed pixel, wherein The value of the parameter of the similarity of the similar blocks exceeds the first threshold; based on the at least one similar block, a structure array is constructed; the structure array is decomposed; and a reconstructed structure array is obtained according to the decomposed structure array.

第三方面,提供了一种用于视频处理的设备,包括:相似块获取单元,用于在至少一个像素集合中,获取当前块的至少一个第一相似块,其中,该像素集合包括稀疏的重建像素,该当前块包括至少一个重建像素;构建单元,用于基于该至少一个第一相似块,构建结构数组;分解单元,用于对该结构数组进行分解;重建单元,用于根据分解的结构数组,获得重建结构数组。In a third aspect, a device for video processing is provided, including: a similar block obtaining unit, configured to obtain at least one first similar block of the current block in at least one pixel set, wherein the pixel set includes sparse reconstructed pixels, the current block includes at least one reconstructed pixel; a construction unit is used to construct a structure array based on the at least one first similar block; a decomposition unit is used to decompose the structure array; array of structures, to obtain an array of reconstructed structures.

第四方面,提供了一种用于视频处理的设备,包括:相似块获取单元,用于从重建像素中,获取当前块的至少一个相似块,该当前块包括至少一个重建像素,其中,用于表征该当前块与该相似块的相似度的参量的值超出第一阈值;构建单元,用于基于该至少一个相似块,构建结构数组;分解单元,用于对该结构数组进行分解;重建单元,用于根据分解的结构数组,获得重建结构数组。In a fourth aspect, a device for video processing is provided, comprising: a similar block obtaining unit, configured to obtain at least one similar block of the current block from the reconstructed pixels, where the current block includes at least one reconstructed pixel, wherein the The value of the parameter representing the similarity between the current block and the similar block exceeds the first threshold; the construction unit is used to construct a structure array based on the at least one similar block; the decomposition unit is used to decompose the structure array; The unit is used to obtain the reconstructed structure array based on the decomposed structure array.

第五方面,提供了一种计算机系统,包括:存储器,用于存储计算机可执行指令;处理器,用于访问该存储器,并执行该计算机可执行指令,以进行上述第一方面或第二方面的方法中的操作。In a fifth aspect, a computer system is provided, comprising: a memory for storing computer-executable instructions; a processor for accessing the memory and executing the computer-executable instructions to perform the above-mentioned first aspect or the second aspect operations in the method.

第六方面,提供了一种计算机存储介质,该计算机存储介质中存储有程序代码,该程序代码可以用于指示执行上述第一方面或第二方面的方法。In a sixth aspect, a computer storage medium is provided, and program codes are stored in the computer storage medium, and the program codes can be used to instruct to execute the method of the first aspect or the second aspect.

第七方面,提供了一种计算机程序产品,该程序产品包括程序代码,该程序代码可以用于指示执行上述第一方面或第二方面的方法。In a seventh aspect, a computer program product is provided, the program product includes program code, and the program code can be used to instruct to perform the method of the first aspect or the second aspect.

因此,本申请实施例中的用于视频处理的方法,在至少一个像素集合中,获取当前块的至少一个第一相似块,其中,该像素集合包括稀疏的重建像素,该当前块包括至少一个重建像素,基于该至少一个第一相似块,构建结构数组,对该结构数组进行分解,根据分解的结构数组,获得重建结构数组,可以在保证最小的编码性能损失的情况下,降低滤波复杂度,从而降低编解码的复杂度,以及节省编解码的时间。Therefore, in the method for video processing in this embodiment of the present application, in at least one pixel set, at least one first similar block of the current block is acquired, wherein the pixel set includes sparse reconstructed pixels, and the current block includes at least one first similar block. Reconstructing pixels, constructing a structure array based on the at least one first similar block, decomposing the structure array, and obtaining a reconstructed structure array according to the decomposed structure array, which can reduce the filtering complexity while ensuring the minimum loss of coding performance , thereby reducing the complexity of encoding and decoding, and saving encoding and decoding time.

附图说明Description of drawings

为了更清楚地说明本申请实施例的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions of the embodiments of the present application more clearly, the following briefly introduces the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some of the drawings in the present application. In the embodiments, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without any creative effort.

图1是根据本申请实施例的编码系统的示意性图。FIG. 1 is a schematic diagram of an encoding system according to an embodiment of the present application.

图2是根据本申请实施例的编码框架的示意图。FIG. 2 is a schematic diagram of an encoding framework according to an embodiment of the present application.

图3是SVD分解的过程的示意性图。Figure 3 is a schematic diagram of the process of SVD decomposition.

图4是硬阈值的过程的示意性图。Figure 4 is a schematic diagram of the process of hard thresholding.

图5是根据本申请实施例的用于视频处理的方法的示意性流程图。FIG. 5 is a schematic flowchart of a method for video processing according to an embodiment of the present application.

图6是根据本申请实施例的当前块选取的示意性图。FIG. 6 is a schematic diagram of current block selection according to an embodiment of the present application.

图7是根据本申请实施例中的模板中的像素分布的示意性图。FIG. 7 is a schematic diagram of pixel distribution in a template according to an embodiment of the present application.

图8是根据本申请实施例的模板或像素集合的示意图。FIG. 8 is a schematic diagram of a template or pixel set according to an embodiment of the present application.

图9是根据本申请实施例的在重建像素中获取相似块的示意性图。FIG. 9 is a schematic diagram of obtaining similar blocks in reconstructed pixels according to an embodiment of the present application.

图10是根据本申请实施例的在重建像素中获取相似块的示意性图。FIG. 10 is a schematic diagram of obtaining similar blocks in reconstructed pixels according to an embodiment of the present application.

图11是根据本申请实施例的视频处理的示意性图。FIG. 11 is a schematic diagram of video processing according to an embodiment of the present application.

图12是根据本申请实施例的用于视频处理的设备的示意性框图。FIG. 12 is a schematic block diagram of an apparatus for video processing according to an embodiment of the present application.

图13是根据本申请实施例的用于视频处理的设备的示意性框图。FIG. 13 is a schematic block diagram of an apparatus for video processing according to an embodiment of the present application.

图14是根据本申请实施例的计算机系统的示意性框图。FIG. 14 is a schematic block diagram of a computer system according to an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

除非另有说明,本申请实施例所使用的所有技术和科学术语与本申请的技术领域的技术人员通常理解的含义相同。本申请中所使用的术语只是为了描述具体的实施例的目的,不是旨在限制本申请的范围。Unless otherwise specified, all technical and scientific terms used in the embodiments of the present application have the same meaning as commonly understood by those skilled in the technical field of the present application. The terminology used in this application is for the purpose of describing specific embodiments only and is not intended to limit the scope of the application.

图1是应用本申请实施例的技术方案的架构图。FIG. 1 is an architectural diagram of applying the technical solution of the embodiment of the present application.

如图1所示,系统100可以接收待处理数据102,对待处理数据102进行处理,产生处理后的数据108。例如,系统100可以接收待编码数据,对待编码数据进行编码以产生编码后的数据,或者,系统100可以接收待解码数据,对待解码数据进行解码以产生解码后的数据。在一些实施例中,系统100中的部件可以由一个或多个处理器实现,该处理器可以是计算设备中的处理器,也可以是移动设备(例如无人机)中的处理器。该处理器可以为任意种类的处理器,本申请实施例对此不做限定。在一些可能的设计中,该处理器可以包括图像信号处理器(Image Signal Processor,ISP)、编码或解码器等。系统100中还可以包括一个或多个存储器。该存储器可用于存储指令和数据,例如,实现本申请实施例的技术方案的计算机可执行指令,待处理数据102、处理后的数据108等。该存储器可以为任意种类的存储器,本申请实施例对此也不做限定。As shown in FIG. 1 , the system 100 may receive data 102 to be processed, process the data 102 to be processed, and generate processed data 108 . For example, system 100 may receive data to be encoded and encode the data to be encoded to generate encoded data, or system 100 may receive data to be decoded and decode the data to be decoded to generate decoded data. In some embodiments, components in system 100 may be implemented by one or more processors, which may be processors in computing devices or processors in mobile devices (eg, drones). The processor may be any type of processor, which is not limited in this embodiment of the present application. In some possible designs, the processor may include an Image Signal Processor (ISP), an encoder or decoder, and the like. One or more memories may also be included in system 100 . The memory may be used to store instructions and data, for example, computer-executable instructions for implementing the technical solutions of the embodiments of the present application, data to be processed 102 , processed data 108 , and the like. The memory may be any type of memory, which is also not limited in this embodiment of the present application.

待处理数据102可以包括文本,图像,图形对象,动画序列,音频,视频,或者任何需要编码或解码的其他数据。Data to be processed 102 may include text, images, graphical objects, animation sequences, audio, video, or any other data that needs to be encoded or decoded.

任何合适的编码或解码技术都可以用于编码或解码待处理数据102。编码或解码类型依赖于待处理数据和具体的编码或解码需求。Any suitable encoding or decoding technique may be used to encode or decode the data to be processed 102 . The encoding or decoding type depends on the data to be processed and the specific encoding or decoding needs.

在一些实施例中,编码或解码器可以实现一种或多种不同的编解码器。每种编解码器可以包括实现不同编码或解码算法的代码,指令或计算机程序。基于各种因素,包括待处理数据102的类型和/或来源,待处理数据数据的接收实体,可用的计算资源,网络环境,商业环境,规则和标准等,可以选择一种合适的编码或解码算法编码或解码给定的待处理数据102。In some embodiments, an encoder or decoder may implement one or more different codecs. Each codec may include code, instructions or computer programs that implement different encoding or decoding algorithms. An appropriate encoding or decoding may be selected based on various factors, including the type and/or source of the data 102 to be processed, the receiving entity of the data to be processed, available computing resources, network environment, business environment, rules and standards, etc. The algorithm encodes or decodes the given data 102 to be processed.

例如,编码或解码器可以被配置为编码或解码一系列视频帧。编码或解码每个帧中的数据可以采用一系列步骤。For example, an encoder or decoder may be configured to encode or decode a series of video frames. Encoding or decoding the data in each frame can take a series of steps.

图2是根据本申请实施例的一种编码器的框架图。以下将结合图2分别介绍帧间编码和帧内编码的流程。FIG. 2 is a frame diagram of an encoder according to an embodiment of the present application. The following will introduce the flow of inter-frame coding and intra-frame coding respectively with reference to FIG. 2 .

如图2所示,帧间编码的流程可以如下所示:As shown in Figure 2, the process of inter-frame coding can be as follows:

在201中,获取当前帧图像。在202中,获取参考帧图像。在203a中,利用参考帧图像,进行运动估计,以得到当前帧图像的各个图像块的运动矢量(Motion Vector,MV)。在204a中,利用运动估计得到的运动矢量,进行运动补偿,以得到当前图像块的估计值。在205中,将当前图像块的估计值与当前图像块相减,得到残差。在206中,对残差进行变换,以得到变换系数。在207中,变换系数经量化可得到量化后的系数。在208中,将量化后的系数进行熵编码,最后将熵编码得到的比特流及进行编码后的编码模式信息进行存储或发送到解码端。在209中,对量化的结果进行反量化。在210中,对反量化结果进行反变换。在211中,利用反变换结果以及运动补偿结果,得到重建像素。在212中,对重建像素进行滤波。在213中,输出滤波后的重建像素。In 201, a current frame image is acquired. In 202, a reference frame image is acquired. In 203a, using the reference frame image, motion estimation is performed to obtain a motion vector (Motion Vector, MV) of each image block of the current frame image. In 204a, motion compensation is performed using the motion vector obtained by motion estimation to obtain an estimated value of the current image block. In 205, the estimated value of the current image block is subtracted from the current image block to obtain a residual. At 206, the residuals are transformed to obtain transform coefficients. In 207, the transform coefficients are quantized to obtain quantized coefficients. In 208, entropy encoding is performed on the quantized coefficients, and finally the bit stream obtained by entropy encoding and the encoded encoding mode information are stored or sent to the decoding end. In 209, the quantized result is dequantized. In 210, the inverse quantization result is inverse transformed. In 211, reconstructed pixels are obtained using the inverse transform results and the motion compensation results. At 212, the reconstructed pixels are filtered. In 213, the filtered reconstructed pixels are output.

如图2所示,帧内编码的流程可以如下所示:As shown in Figure 2, the process of intra-frame coding can be as follows:

在202中,获取当前帧图像。在203b中,对当前帧图像进行帧内预测选择。在204b中,当前帧中的当前图像块进行帧内预测。在205中,将当前图像块的估计值与当前图像块相减,得到残差。在206中,对图像块的残差进行变换,以得到变换系数。在207中,变换系数经量化可得到量化后的系数。在208中,将量化后的系数进行熵编码,最后将熵编码得到的比特流及进行编码后的编码模式信进行存储或发送到解码端。在209中,对量化结果进行反量化。在210中,对反量化结果进行反变换,在211中,利用反变换结果以及帧内预测结果,得到重建像素。In 202, the current frame image is acquired. In 203b, intra prediction selection is performed on the current frame image. In 204b, the current image block in the current frame is intra-predicted. In 205, the estimated value of the current image block is subtracted from the current image block to obtain a residual. At 206, the residuals of the image blocks are transformed to obtain transform coefficients. In 207, the transform coefficients are quantized to obtain quantized coefficients. In 208, entropy encoding is performed on the quantized coefficients, and finally the bit stream obtained by entropy encoding and the encoded encoding mode information are stored or sent to the decoding end. In 209, the quantization result is inverse quantized. In 210, inverse transform is performed on the inverse quantization result, and in 211, reconstructed pixels are obtained using the inverse transform result and the intra prediction result.

其中,212中的滤波过程可以用于减少编码过程中的压缩失真。Among them, the filtering process in 212 can be used to reduce the compression distortion in the encoding process.

其中,212中的滤波可以由基于图像非局部相似特性的环路滤波器(Non-localStructure-Based Filter for Video Coding,NLSF)来实现,该滤波器主要利用图像非局部结构相似特性,对搜索得到的相似结构组进行协同滤波。Among them, the filtering in 212 can be implemented by a loop filter (Non-local Structure-Based Filter for Video Coding, NLSF) based on the non-local similar characteristics of the image, which mainly uses the non-local structural similarity characteristics of the image to search for Collaborative filtering is performed on groups of similar structures.

具体地,可以将当前重建图像帧或图像块按块进行处理。具体可以将图像分为K个块,以这些块分别作为当前块。并在图像帧或图像块的一些重建像素中获取当前块的M个相似块。将M个相似块组成集合。然后将这些相似块组成的集合用数学结构来表示,可以是一维、二维或者三维矩阵,以上过程可以叫做结构数组的构建(Group Construction)。滤波的过程就是对矩阵(结构数组)的处理过程,目的是滤除编码过程中引入的失真和噪声,此过程可以称为基于结构数组的滤波(Group-based filtering)。其中,可以对该结构数组进行奇异值分解(Singular Value Decomposition,SVD),并对奇异值进行硬阈值操作,根据奇异值分解的结果获得重建结构组,最后获取重建图像。其中,SVD分解的目的是将结构数组提取主成分,单纯的SVD并不能起到滤波的作用,滤波的关键在于去除噪声,NLSF中去除噪声的地方采用的是硬阈值的操作。Specifically, the current reconstructed image frame or image block may be processed by block. Specifically, the image can be divided into K blocks, and these blocks are respectively used as the current block. And get M similar blocks of the current block in some reconstructed pixels of the image frame or image block. Group M similar blocks into sets. Then the set composed of these similar blocks is represented by a mathematical structure, which can be a one-dimensional, two-dimensional or three-dimensional matrix. The above process can be called Group Construction. The filtering process is the processing process of the matrix (structure array), the purpose is to filter out the distortion and noise introduced in the coding process, this process can be called the filtering based on the structure array (Group-based filtering). Among them, singular value decomposition (SVD) can be performed on the structure array, and a hard threshold operation can be performed on the singular values, and a reconstructed structure group can be obtained according to the result of the singular value decomposition, and finally a reconstructed image can be obtained. Among them, the purpose of SVD decomposition is to extract the principal components of the structure array. Simple SVD cannot play the role of filtering. The key to filtering is to remove noise. The operation of hard threshold is used in NLSF to remove noise.

以下将结合图3和图4进行描述。其中,图3是SVD分解的过程,这可以理解为矩阵的变换,具体地可以将二维矩阵分解为三个矩阵乘积的形式,中间的矩阵是一个对角矩阵,对角线上的元素从左上角到右下角依次减小,可以将较小的元素认为是噪声,其中,“较小”的评价标准可以采用一个阈值,如果阈值为60,那么小于60的部分认为是噪声,直接设置为0。如图4所示,可以再将三个矩阵相乘,得到的矩阵和原始进行分解的矩阵可以不相同,这就是滤除噪声之后的结果,可以将该过程称为硬阈值的过程。The description will be made below in conjunction with FIG. 3 and FIG. 4 . Among them, Figure 3 is the process of SVD decomposition, which can be understood as the transformation of the matrix. Specifically, the two-dimensional matrix can be decomposed into the form of the product of three matrices. The middle matrix is a diagonal matrix. The elements on the diagonal are from The upper left corner to the lower right corner decreases in turn, and the smaller elements can be regarded as noise. Among them, the "smaller" evaluation standard can adopt a threshold. If the threshold is 60, then the part smaller than 60 is regarded as noise, directly set to 0. As shown in Figure 4, the three matrices can be multiplied, and the obtained matrix can be different from the original decomposed matrix. This is the result after filtering out the noise. This process can be called a hard thresholding process.

其中,滤波过程的复杂度来源于获取当前块的相似块。例如,如果NLSF采用全搜索的方式(也可以称为逐点扫描的方式)在正方形搜索窗口搜索当前块的最相似块。搜索过程可以从搜索窗口左上角开始,按照光栅扫描顺序逐像素进行,到右下角终止。搜索过程中搜到的每一个小块都需要和当前块计算误差平方和(Sum of Squared Differences,SSD)。最后将SSD排序,选取最小的M个SSD对应的小块。具体来讲,如果使用全搜索的方式进行相似块搜索,在33x33的搜索窗口中搜索30个最相似块,搜索过程中搜到的候选块的数目为1089。块匹配的部分过于冗余,并且可能导致候选块的数目远远高于NLSF需要的相似块数目。Among them, the complexity of the filtering process comes from obtaining similar blocks of the current block. For example, if NLSF adopts a full search method (also called a point-by-point scan method) to search for the most similar block of the current block in a square search window. The search process can start from the upper left corner of the search window, proceed pixel by pixel in raster scan order, and end at the lower right corner. Each small block found in the search process needs to calculate the sum of squared differences (SSD) with the current block. Finally, sort the SSDs and select the small blocks corresponding to the smallest M SSDs. Specifically, if the full search method is used to search for similar blocks, the 30 most similar blocks are searched in a 33×33 search window, and the number of candidate blocks found in the search process is 1089. The part of block matching is too redundant and may result in the number of candidate blocks being much higher than the number of similar blocks required by NLSF.

因此,本申请实施例提供了一种视频处理的方法,可以简化滤波过程中相似块获取的复杂度,从而可以提高视频编解码的效率。Therefore, the embodiments of the present application provide a video processing method, which can simplify the complexity of obtaining similar blocks in the filtering process, thereby improving the efficiency of video encoding and decoding.

应理解,本申请实施例的方法可以应用于图2所示的编码框架,也可以适用于其他的编码框架,本申请实施例对此不作具体限定。It should be understood that the method in this embodiment of the present application may be applied to the encoding framework shown in FIG. 2 , and may also be applied to other encoding frameworks, which is not specifically limited in this embodiment of the present application.

图5是根据本申请实施例的用于视频处理的方法300的示意性流程图。该方法300包括以下内容中的至少部分内容。其中,该方法300可以由应用于编码端,也可以应用于解码端。FIG. 5 is a schematic flowchart of a method 300 for video processing according to an embodiment of the present application. The method 300 includes at least some of the following. Wherein, the method 300 may be applied to the encoding end, and may also be applied to the decoding end.

可选地,该方法300可以由滤波器实现,该滤波器可以是编码器或解码器的一部分,也可以独立于编码器或解码器存在。可选地,该滤波器可以是NLSF滤波器,或者其他滤波器。Optionally, the method 300 may be implemented by a filter, which may be part of the encoder or the decoder, or may exist independently of the encoder or the decoder. Optionally, the filter may be an NLSF filter, or other filters.

在310中,滤波器在至少一个像素集合中,获取当前块的至少一个第一相似块,其中,该像素集合包括稀疏的重建像素,该当前块包括至少一个重建像素。In 310, the filter obtains at least one first similar block of the current block in at least one pixel set, wherein the pixel set includes sparse reconstructed pixels, and the current block includes at least one reconstructed pixel.

可选地,本申请实施例中的像素集合包括的重建像素可以是滤波之前的重建像素。Optionally, the reconstructed pixels included in the pixel set in this embodiment of the present application may be reconstructed pixels before filtering.

可选地,本申请实施例中提到的相似块(包括第一相似块和后面提到的第二相似块)可以是与当前块相似度较高的块,该相似块的大小可以等于当前块的大小。与当前块的相似度越高,则被选择为相似块的可能性越大。Optionally, the similar block (including the first similar block and the second similar block mentioned later) mentioned in the embodiment of the present application may be a block with a higher similarity to the current block, and the size of the similar block may be equal to the current block. block size. The higher the similarity to the current block, the more likely it is to be selected as a similar block.

其中,用于相似度判断的度量参量(也即用于表征相似度的参量)可以为:哈希值的差值、误差平方和(Sum of Squared Differences,SSD)、绝对误差和(Sum of AbsoluteDifferences,SAD)、平均绝对差(Mean Absolute Differences,MAD)、平均误差平方和(Mean Square Differences,MSD)或结构相似性指标(Structural SIMilarity SSIM)。Among them, the metric parameter used for similarity judgment (that is, the parameter used to characterize the similarity) can be: difference of hash values, sum of squared differences (SSD), sum of absolute errors (Sum of AbsoluteDifferences) , SAD), Mean Absolute Differences (MAD), Mean Square Differences (MSD), or Structural SIMilarity SSIM.

例如,假设相似度的度量参量为SSD,SSD的计算方式如下式1所示:For example, assuming that the measurement parameter of similarity is SSD, the calculation method of SSD is as follows:

其中,f(h,w)表示当前块在坐标(h,w)的像素,表示搜索块(也可以称为候选相似块)在坐标(h,w)的像素,表示当前块包含的像素数目。Among them, f(h,w) represents the pixel of the current block at coordinates (h,w), represents the pixel of the search block (also called candidate similar block) at coordinates (h, w), Indicates the number of pixels contained in the current block.

例如,表征假设相似度的度量参量是哈希值,则可以通过哈希(hash)值的大小来判断相似度,两个块的hash值越接近代表越相似,hash值可以通过块的像素和、水平、垂直梯度等等来表示。For example, if the metric parameter that characterizes the hypothesis similarity is the hash value, the similarity can be judged by the size of the hash value. The closer the hash values of two blocks are, the more similar they are. The hash value can be determined by the pixel and , horizontal, vertical gradients, etc.

应理解,以上度量参量中,有些值越大,则表明相似度越高,而有些值越小,则表明相似度越高。It should be understood that, among the above metric parameters, some larger values indicate higher similarity, and smaller values indicate higher similarity.

例如,对于SSD而言,SSD的值越小,则表明相似度越高。而对于哈希值而言,相似度可以通过两个块的哈希值的差来判断,哈希值的差越小,则表明相似度越高。For example, for SSD, the smaller the value of SSD, the higher the similarity. For the hash value, the similarity can be judged by the difference between the hash values of the two blocks. The smaller the difference between the hash values, the higher the similarity.

还应理解,对于本申请实施例提到的用于表征相似度的参量超过阈值(可以包括阈值本数)而言,如果度量参量的值越大相似度越高,用于表征相似度的参量的值超过一定值代表着该参量的值大于或等于该阈值;如果度量参量的值越小相似度越高,用于表征相似度的参量的值超过一定值代表着该参量的值小于或等于该阈值。而对于哈希值而言,用于表征相似度的参量的值超过一定值代表着两个块的哈希值的差小于或等于该阈值。It should also be understood that, for the parameter used for characterizing the similarity mentioned in the embodiment of the present application to exceed the threshold (which may include the threshold value), if the value of the metric parameter is larger, the similarity is higher, and the parameter used for characterizing the similarity is higher. If the value of the parameter exceeds a certain value, it means that the value of the parameter is greater than or equal to the threshold; if the value of the metric parameter is smaller, the similarity is higher, and the value of the parameter used to characterize the similarity exceeds a certain value. threshold. As for the hash value, if the value of the parameter used to characterize the similarity exceeds a certain value, it means that the difference between the hash values of the two blocks is less than or equal to the threshold.

可选地,在本申请实施例中,用于表征所述当前块与所述当前块的相似块的相似度的参量的值超出第一阈值。Optionally, in this embodiment of the present application, the value of the parameter used to characterize the similarity between the current block and a similar block of the current block exceeds a first threshold.

可选地,该第一阈值是基于以下参数中的至少一种确定的:该当前块的大小,视频的比特深度,该当前块的像素和,该当前块的像素的水平梯度,该当前块的像素的垂直梯度。Optionally, the first threshold is determined based on at least one of the following parameters: the size of the current block, the bit depth of the video, the pixel sum of the current block, the horizontal gradient of the pixels of the current block, the current block The vertical gradient of the pixels.

其中,当前块的大小直接决定SSD计算过程中加和的次数,视频的比特深度代表的是像素值的取值范围(比如8bit的视频,每个像素值是0~255之间的数;10bit视频,每个像素值是0~1023之间的数,显然不同的比特深度,像素值范围不同,计算得到的SSD的大小范围也就不同)。Among them, the size of the current block directly determines the number of additions in the SSD calculation process, and the bit depth of the video represents the range of pixel values (for example, for an 8-bit video, each pixel value is a number between 0 and 255; 10 bits For video, each pixel value is a number between 0 and 1023. Obviously, different bit depths have different pixel value ranges, and the calculated SSD size ranges are also different).

其中,确定阈值的参数可以是与度量参量计算时所采用的参数有关。Wherein, the parameter for determining the threshold may be related to the parameter used in the calculation of the metric parameter.

在一种实现方式中,在该相似度的度量参量是哈希值时,该第一阈值是基于以下参数中的至少一种确定的:In one implementation, when the similarity metric is a hash value, the first threshold is determined based on at least one of the following parameters:

该当前块的像素和,该当前块的像素的水平梯度,该当前块的像素的垂直梯度。The pixel sum of the current block, the horizontal gradient of the pixels of the current block, and the vertical gradient of the pixels of the current block.

具体地,可以通过哈希(hash)值的大小来判断相似度,两个块的hash值越接近代表越相似,hash值可以通过块的像素和、水平、垂直梯度等等来表示。Specifically, the similarity can be judged by the size of the hash value. The closer the hash values of two blocks are, the more similar they are. The hash value can be represented by the pixel sum, horizontal and vertical gradients of the blocks, and so on.

在一种实现方式中,该相似度的度量参量是SSD或SAD时,该第一阈值是基于以下参数中的至少一种确定的:该当前块的大小,视频的比特深度。In an implementation manner, when the similarity metric is SSD or SAD, the first threshold is determined based on at least one of the following parameters: the size of the current block, and the bit depth of the video.

其中,第一阈值可以和当前块的大小以及视频的比特深度有关,可以通过以下公式2计算第一阈值:Wherein, the first threshold may be related to the size of the current block and the bit depth of the video, and the first threshold may be calculated by the following formula 2:

ε=Bs×(1<<(2×bitDepth))×λ 式2ε=B s ×(1<<(2×bitDepth))×λ Equation 2

其中bitDepth是测试视频的比特深度,一般是8或10。λ可以根据当前块和相似块之间SSD的统计特性计算得到,表示当前块包含的像素数目。Where bitDepth is the bit depth of the test video, generally 8 or 10. λ can be calculated according to the statistical characteristics of SSD between the current block and similar blocks, Indicates the number of pixels contained in the current block.

在一种实现方式中,该相似度的度量参量是MAD,MSD或SSIM时,该第一阈值是基于视频的比特深度确定的。In an implementation manner, when the similarity metric is MAD, MSD or SSIM, the first threshold is determined based on the bit depth of the video.

具体地,第一阈值可以是按照以下公式3得到的:Specifically, the first threshold can be obtained according to the following formula 3:

ε=(1<<(2×bitDepth))×λ 式3ε=(1<<(2×bitDepth))×λ Equation 3

因此,在本申请实施例中,选择的相似块与当前块之前的相似度高到超出一定阈值可以使得选择的相似块与当前块的相似度更高,从而可以避免选中的相似块可能和当前块差别较大,从而避免这些块对滤波过程帮助不大所造成的滤波复杂度较高的问题。Therefore, in this embodiment of the present application, the similarity between the selected similar block and the current block is higher than a certain threshold, so that the similarity between the selected similar block and the current block is higher, so as to avoid the possibility that the selected similar block may be different from the current block. The blocks are quite different, thereby avoiding the problem of high filtering complexity caused by these blocks being less helpful to the filtering process.

可选地,本申请实施例可以由编码端实现,也可以由解码端实现,在由编码端实现时,编码端可以计算第一阈值,并将第一阈值在码流中传递给解码端。以及,在由解码端实现时,解码端可以从码流中获取第一阈值,不再进行第一阈值的计算。Optionally, the embodiments of the present application may be implemented by the encoding end or by the decoding end. When implemented by the encoding end, the encoding end may calculate the first threshold, and transmit the first threshold in the code stream to the decoding end. And, when implemented by the decoding end, the decoding end can obtain the first threshold value from the code stream, and no longer calculate the first threshold value.

当然,在本申请实施例中,编码端和解码端可以分别计算第一阈值,则编码端无需在码流中传递该第一阈值。Of course, in this embodiment of the present application, the encoding end and the decoding end may calculate the first threshold respectively, and the encoding end does not need to transmit the first threshold in the code stream.

可选地,本申请实施例可以在获取到整个重建帧之后,从该重建帧中获取当前块。其中,见图6,首先看左上侧的两个框,如果左侧的框为正在处理的当前块,那么下一个即将处理的块就是右侧的框,这两个块之间可以有重叠,可以紧挨着,也可以隔一定的距离,比如对于6x6大小的当前块,两个框之间的步长值(可以是两个框的最左侧的像素的间隔)可以是1,2,3…等等任意整数值,其中步长值为1,2,3,4,5时两个块之间就有一定的重叠,步长值为6时两个块紧挨着,大于6时,两个块隔一定的距离。另外一个就是上下两个块的间隔问题,例如,如图6所示的中间的两个框,如果上侧的框为正在处理的当前块,那么下一个即将处理的块就是下侧的框,这两个块之间可以有重叠,可以紧挨着,也可以隔一定的距离。Optionally, in this embodiment of the present application, after the entire reconstructed frame is acquired, the current block may be acquired from the reconstructed frame. Among them, see Figure 6, first look at the two boxes on the upper left, if the box on the left is the current block being processed, then the next block to be processed is the box on the right, and there can be overlaps between these two blocks. It can be next to each other, or it can be separated by a certain distance. For example, for the current block of 6x6 size, the step value between the two boxes (can be the interval between the leftmost pixels of the two boxes) can be 1, 2, 3... etc. any integer value, where the step size is 1, 2, 3, 4, 5, and there is a certain overlap between the two blocks. When the step size is 6, the two blocks are next to each other, and when it is greater than 6 , the two blocks are separated by a certain distance. The other is the interval between the upper and lower blocks. For example, in the middle two boxes as shown in Figure 6, if the upper box is the current block being processed, then the next block to be processed is the lower box. The two blocks can overlap, be next to each other, or be separated by a certain distance.

可选地,在获取到整帧重建图像进行滤波时,像素集合中的像素可以是当前帧的重建图像中的任意位置的像素,也可以是一个搜索窗口中的部分像素,例如,可以是一个32x32像素集合中的部分像素,其中,当前块可以位于该搜索窗口中的中心位置。Optionally, when the entire frame of reconstructed image is obtained for filtering, the pixels in the pixel set may be pixels at any position in the reconstructed image of the current frame, or may be partial pixels in a search window, for example, may be a Part of a 32x32 pixel set where the current block can be centered in the search window.

可选地,用于获取该当前块的相似块的重建像素包括:该当前块所属的编码单元本身的重建像素、编码单元的上侧的重建像素、编码单元的左侧的重建像素、编码单元的右侧的重建像素和编码单元的下侧的重建像素。Optionally, the reconstructed pixels used to obtain similar blocks of the current block include: reconstructed pixels of the coding unit itself to which the current block belongs, reconstructed pixels on the upper side of the coding unit, reconstructed pixels on the left side of the coding unit, and reconstructed pixels on the left side of the coding unit. The reconstructed pixels on the right side of the coding unit and the reconstructed pixels on the lower side of the coding unit.

可选地,在本申请实施例中,也可以在获取到重建后的编码单元(例如,CTU)之后,对该编码单元中的各个块进行滤波,例如,该编码单元可以128x128的块,当前块可以是6x6大小的块,所述的编码单元一般被称为图像块。由于在编码时,在获取到当前编码单元的重建像素时,左侧和上侧的编码单元的重建像素已获取,则用于获取当前块的相似块的重建像素可以是所属的编码单元的左侧的重建像素以及上侧的重建像素。Optionally, in this embodiment of the present application, after obtaining the reconstructed coding unit (for example, CTU), each block in the coding unit may be filtered. For example, the coding unit may A block may be a 6x6 size block, and the coding unit is generally referred to as an image block. During encoding, when the reconstructed pixels of the current coding unit are obtained, the reconstructed pixels of the coding unit on the left and the upper side have been obtained, the reconstructed pixels of the similar blocks used to obtain the current block may be the left and right pixels of the corresponding coding unit. reconstructed pixels on the side and reconstructed pixels on the top side.

进一步的,在实际的视频编解码系统中,所述的上侧的重建像素需要以图像行为单位进行存储,所述的右侧的重建像素以图像块高度为单位进行存储。如对于一个宽度为3840、图像块高度为128的图像,其所述的上侧的重建像素以3840为单位进行存储,所述的右侧的重建像素以128为单位进行存储。可见所述的上侧的重建像素的存储开销通常大于所述的右侧的重建像素的存储开销。为了减少视频编解码系统的存储开销,所述上侧的重建像素的垂直方向的像素个数(通常来说可以认为是所述上侧的重建像素的行数)可以少于或等于所述左侧的重建像素的水平方向的像素个数(通常来说可以认为是所述左侧的重建像素的列数)。Further, in an actual video coding and decoding system, the reconstructed pixels on the upper side need to be stored in units of image rows, and the reconstructed pixels on the right side are stored in units of image block heights. For example, for an image with a width of 3840 and an image block height of 128, the reconstructed pixels on the upper side are stored in units of 3840, and the reconstructed pixels on the right side are stored in units of 128. It can be seen that the storage cost of the reconstructed pixels on the upper side is generally greater than the storage cost of the reconstructed pixels on the right side. In order to reduce the storage overhead of the video codec system, the number of pixels in the vertical direction of the reconstructed pixels on the upper side (generally, it can be considered as the number of rows of reconstructed pixels on the upper side) may be less than or equal to the left side. The number of pixels in the horizontal direction of the reconstructed pixels on the side (generally, it can be considered as the number of columns of the reconstructed pixels on the left).

当然,用于获取当前块的相似块的重建像素也可以为所述当前块所属的编码单元的左侧的重建像素,上侧的重建像素和右侧的重建像素(其中,需要等待右侧的编码单元被重建)。Of course, the reconstructed pixels used to obtain the similar blocks of the current block may also be the reconstructed pixels on the left side of the coding unit to which the current block belongs, the reconstructed pixels on the upper side and the reconstructed pixels on the right side (wherein, it is necessary to wait for the reconstructed pixels on the right side). coding units are reconstructed).

本申请实施例还可以具有其他的实现方式,例如,对于当前已重建的编码单元,对于该编码单元的左上侧的当前块,用于获取相似块的重建像素可以是当前块的左侧、上侧、下侧和右侧的重建像素,这是由于该当前块的右侧和下侧的重建像素仍然属于当前编码单元。而对于该编码单元的右下侧的当前块,用于获取相似块的重建像素可以是当前块的左侧和上侧的重建像素,这是由于该当前块的右侧和下侧的重建像素属于右侧和下侧的编码单元,而右侧和下侧的编码单元还未重建,所以不能用于获取当前块的相似块。The embodiments of the present application may also have other implementation manners. For example, for a currently reconstructed coding unit, for the current block on the upper left side of the coding unit, the reconstructed pixels used to obtain similar blocks may be the left, upper and upper left of the current block. The reconstructed pixels on the side, the lower side and the right side, because the reconstructed pixels on the right side and the lower side of the current block still belong to the current coding unit. And for the current block on the lower right side of the coding unit, the reconstructed pixels used to obtain similar blocks may be the reconstructed pixels on the left side and the upper side of the current block, because the reconstructed pixels on the right side and the lower side of the current block The coding units belonging to the right side and the lower side have not been reconstructed, so they cannot be used to obtain similar blocks of the current block.

应理解,本申请实施例的像素集合包括稀疏的重建像素意味着:该像素集合中存在这样的一些像素,这些像素之间间隔(例如,像素之间的最短直线距离上)有不属于该集合的像素。It should be understood that the fact that the pixel set in this embodiment of the present application includes sparse reconstructed pixels means that there are some pixels in the pixel set, and the interval between these pixels (for example, on the shortest linear distance between pixels) does not belong to the set of pixels.

可选地,在本申请实施例中,像素集合中的部分像素也可以聚集成块,像素集合可以聚集成分离的多个块(此处提到的块与块之间不存在相邻的像素),其中,每个块的大小可以大于或等于当前块的大小。例如,如图7所示(一个□代表一个像素位置),像素集合中包括五个块,每个块大于当前块(假设当前块大小为6x6),其中,该五个块中每个块可以形成为下文提到的一个或一个以上的候选相似块。Optionally, in this embodiment of the present application, some pixels in the pixel set may also be aggregated into blocks, and the pixel set may be aggregated into multiple separate blocks (there are no adjacent pixels between the blocks mentioned here). ), where the size of each block can be greater than or equal to the size of the current block. For example, as shown in Fig. 7 (one □ represents one pixel position), the pixel set includes five blocks, each block is larger than the current block (assuming that the size of the current block is 6×6), wherein each block in the five blocks can be Formed as one or more candidate similar blocks mentioned below.

可选地,在本申请实施例中,滤波器可以基于模板,获取像素集合。具体地,可以在滤波器中预设模板,利用该模板在一个搜索窗口中圈定一些重建像素,这些重建像素可以理解本申请实施例提到的像素集合。Optionally, in this embodiment of the present application, the filter may obtain a pixel set based on a template. Specifically, a template can be preset in the filter, and some reconstructed pixels can be delineated in a search window by using the template, and these reconstructed pixels can understand the pixel set mentioned in the embodiment of the present application.

可选地,在本申请实施例中,模板也可以是理解为一种像素集合,该模板包括的像素可以是相对于模板中心对称的。可选地,从该模板的中心到该模板的边缘,像素可以是越来越稀疏的。Optionally, in this embodiment of the present application, a template may also be understood as a set of pixels, and the pixels included in the template may be symmetrical with respect to the center of the template. Optionally, the pixels may be progressively sparser from the center of the template to the edges of the template.

可选地,在用模板确定用于获取相似块的像素集合时,可能会存在这样一种结果,即:像素集合中的像素数量小于模板包括的像素数量,这是由于用模板在一个搜索范围中圈定一些重建像素时,模板的边缘可能会超出搜索范围的边缘。Optionally, when the template is used to determine the pixel set for obtaining similar blocks, there may be such a result that the number of pixels in the pixel set is less than the number of pixels included in the template, this is because the template is used in a search range. When delineating some reconstructed pixels, the edges of the template may go beyond the edges of the search range.

可选地,该模板包括用于选择该第一相似块的多个候选相似块,该候选相似块的大小等于该当前块的大小。其中,候选相似块意味着在与当前块的相似度高到超过一定阈值时,可以被选择作为相似块。其中,多个候选相似块包括的像素可以不重叠或部分重叠。Optionally, the template includes a plurality of candidate similar blocks for selecting the first similar block, and the size of the candidate similar blocks is equal to the size of the current block. The candidate similar block means that when the similarity with the current block exceeds a certain threshold, it can be selected as a similar block. The pixels included in the multiple candidate similar blocks may not overlap or partially overlap.

可选地,在本申请实施例中,该模板包括从中心到边缘的多组候选相似块,每组候选相似块围成环形,该环形相对该模板的中心对称,组内的候选相似块均匀排布。当然,该模板包括的候选相似块也可以是不对称的。Optionally, in this embodiment of the present application, the template includes multiple groups of candidate similar blocks from the center to the edge, each group of candidate similar blocks is surrounded by a ring, the ring is symmetrical with respect to the center of the template, and the candidate similar blocks in the group are uniform. Arrange. Of course, the candidate similar blocks included in the template may also be asymmetric.

可选地,该模板包括四组候选相似块,该四组候选相似块的远离该模板的中心的边缘像素,相对于该模板的中心,分别间隔1个像素,2个像素,4个像素和8个像素。Optionally, the template includes four groups of candidate similar blocks, and the edge pixels of the four groups of candidate similar blocks far from the center of the template are separated from the center of the template by 1 pixel, 2 pixels, 4 pixels and 8 pixels.

可选地,该四组候选相似块分别具有4个候选相似块,8个候选相似块,8个候选相似块和8个候选相似块,其中,具有4个候选相似块的一组候选相似块距离该模板的中心最近。Optionally, the four groups of candidate similar blocks respectively have 4 candidate similar blocks, 8 candidate similar blocks, 8 candidate similar blocks and 8 candidate similar blocks, wherein a group of candidate similar blocks with 4 candidate similar blocks closest to the center of this template.

具体地,以下将结合图8所示的模板(图8也可以认为是基于模板得到的像素集合)进行举例说明。例如,如图8所示,图中多个□的交叉点可以是一个像素位置,每个独立的数字代表着一个独立的候选相似块,例如,存在8个⑧,则代表有8个候选相似块,存在8个④,也代表有8个候选相似块,8个②代表有8个候选相似块,4个①代表有4个候选相似块,则整个模板包括28个候选相似块。数字①②④⑧可以分别是候选相似块的一个像素位置,例如,可以是候选相似块的远离模板的中心的边缘上像素位置,具体可以是左上角的像素位置,左下角的像素位置,右上角的像素位置,或右下角的像素位置。当然,图中的数字代表也可以是候选相似块的其它像素位置,例如,可以是中心像素位置等。假设每个候选相似块为大小6x6的块,则意味着这些候选相似块是相互重叠的。Specifically, an example will be given below in conjunction with the template shown in FIG. 8 (FIG. 8 can also be considered as a set of pixels obtained based on the template). For example, as shown in Figure 8, the intersection of multiple □ in the figure can be a pixel position, and each independent number represents an independent candidate similar block. For example, if there are 8 ⑧, it means that there are 8 similar candidates There are 8 ④ blocks, which also represent 8 candidate similar blocks, 8 ② represent 8 candidate similar blocks, and 4 ① represent 4 candidate similar blocks, then the entire template includes 28 candidate similar blocks. The numbers ①②④⑧ can be a pixel position of the candidate similar block, for example, it can be the pixel position on the edge of the candidate similar block far from the center of the template, specifically the pixel position of the upper left corner, the pixel position of the lower left corner, and the pixel position of the upper right corner. position, or the pixel position of the lower right corner. Of course, the numbers in the figure represent other pixel positions of the candidate similar blocks, for example, the central pixel position and the like. Assuming that each candidate similar block is a block of size 6×6, it means that these candidate similar blocks overlap each other.

可选地,在本申请实施例中,滤波器可以采用至少两个以上的模板进行像素集合的确定,例如,不同的像素集合可以采用不同的模板进行确定。Optionally, in this embodiment of the present application, the filter may use at least two or more templates to determine the pixel set, for example, different pixel sets may be determined using different templates.

应理解,本申请实施例的模板也可以包括其它数量的候选相似块组,以及每组候选相似块也可以包括其它数量的候选相似块。It should be understood that the template in this embodiment of the present application may also include other numbers of candidate similar block groups, and each group of candidate similar blocks may also include other numbers of candidate similar blocks.

例如,模板的像素可以组成十字形,条形,除四边形之外的其他多边形等。其中,在组成除四边形之外的其他多边形时,可以类似于图7是一环套一环的,例如,较大的五边形套较小的五边形。For example, the pixels of the template can be formed into crosses, bars, polygons other than quadrilaterals, etc. Wherein, when composing other polygons other than quadrilaterals, it can be similar to FIG. 7 with one ring within one ring, for example, a larger pentagon surrounds a smaller pentagon.

还应理解,以上介绍的关于模板中的像素特征同样适用于像素集合。为了简洁,在此不再赘述。It should also be understood that what was described above about the pixel features in the template is also applicable to the pixel set. For brevity, details are not repeated here.

应理解,本申请实施例提到的模板或像素集合也可以是包括稀疏的重建像素,按照一定的规则,在该稀疏的重建像素中进行相似块的匹配,此时意味着不存在上述提到的候选相似块的概念。It should be understood that the template or pixel set mentioned in the embodiments of the present application may also include sparse reconstructed pixels. According to certain rules, similar blocks are matched in the sparse reconstructed pixels, which means that there is no such thing as mentioned above. The concept of candidate similar blocks.

可选地,在本申请实施例中,滤波器可以基于该当前块包括的重建像素的位置,确定该第一像素集合;从该第一像素集合中,获取该第一相似块。Optionally, in this embodiment of the present application, the filter may determine the first pixel set based on the positions of the reconstructed pixels included in the current block; and obtain the first similar block from the first pixel set.

其中,该第一像素集合中的像素可以是稀疏的重建像素,该第一像素集合中的像素可以相对于该当前块包括的重建像素对称。例如,如图7所示,所在像素位置可以是当前块的一个像素位置,例如,可以是当前块的左上角的像素位置或中心的像素位置或右下角的像素位置等。The pixels in the first pixel set may be sparse reconstructed pixels, and the pixels in the first pixel set may be symmetrical with respect to the reconstructed pixels included in the current block. For example, as shown in Figure 7, The pixel position may be a pixel position of the current block, for example, may be the pixel position of the upper left corner of the current block, the pixel position of the center, or the pixel position of the lower right corner, or the like.

可选地,可以按照从靠近该当前块到远离该当前块的搜索方式,从该第一像素集合中,获取该第一相似块。Optionally, the first similar block may be acquired from the first pixel set in a search manner from close to the current block to far from the current block.

具体地,在如图8所示的像素集合中,可以先对候选相似块①进行相似度的匹配,然后再对候选相似块②进行相似度的匹配,再对候选相似块④进行相似度的匹配,最后对候选相似块⑧进行相似度的匹配。Specifically, in the pixel set shown in FIG. 8, the similarity matching can be performed on the candidate similar blocks ① first, then the similarity matching is performed on the candidate similar blocks ②, and the similarity matching is performed on the candidate similar blocks ④. Match, and finally perform similarity matching on candidate similar blocks ⑧.

这是由于在候选相似块中选取相似块的过程中,需要按照相似度对候选相似块进行排序,来得到相似度最高的一定数量的块作为相似块,在越靠近当前块的位置,候选相似块与当前块的相似度可能越高,被选择作为相似块的可能性越大,在该种搜索方式下,在选取相似块时,需要调整位置的候选相似块的数量较少,从而可以降低滤波的复杂度。This is because in the process of selecting similar blocks from the candidate similar blocks, it is necessary to sort the candidate similar blocks according to the similarity to obtain a certain number of blocks with the highest similarity as similar blocks. The higher the similarity between the block and the current block may be, the more likely it is to be selected as a similar block. In this search method, when selecting similar blocks, the number of candidate similar blocks that need to be adjusted is less, which can reduce the number of similar blocks. Filtering complexity.

可选地,在本申请实施例中,从第一像素集合中获取的第一相似块的数量可以不超过一定数值,例如,第二阈值。Optionally, in this embodiment of the present application, the number of the first similar blocks obtained from the first pixel set may not exceed a certain value, for example, a second threshold.

在一种实现方式中,可以获取到第一像素集合中所有搜索块(也可以称为候选相似块)与当前块的相似度,按照相似度从高到低的方式排布,挑出数量为第二阈值的第一相似块。In an implementation manner, the similarity between all search blocks (also referred to as candidate similar blocks) in the first pixel set and the current block can be obtained, and they are arranged in descending order of similarity, and the number of selections is The first similarity block for the second threshold.

在另一种实现方式中,在所述第一像素集合中搜索到的期望块的数量达到第二阈值时,将所述期望块作为所述第一相似块,并停止在所述第一像素集合中进行所述第一相似块的搜索,其中,用于表征所述当前块与所述期望块的相似度的参量的值超出第一阈值。In another implementation manner, when the number of desired blocks searched in the first pixel set reaches a second threshold, the desired block is used as the first similar block, and stops at the first pixel The search for the first similar block is performed in the set, wherein the value of the parameter used to characterize the similarity between the current block and the desired block exceeds a first threshold.

在另一种实现方式中,在所述第一像素集合的所有像素中,搜索到的期望块的数量大于第二阈值时,按照相似度从高到低的方式,从搜索到的所述期望块中,确定数量等于所述第二阈值的所述第一相似块,其中,用于表征所述当前块与所述期望块的相似度的参量的值超出第一阈值。In another implementation manner, in all pixels of the first pixel set, when the number of searched desired blocks is greater than a second threshold, the searched desired blocks are sorted from high to low in the manner of similarity from high to low. Among the blocks, a number of the first similar blocks equal to the second threshold is determined, wherein the value of the parameter characterizing the similarity of the current block to the desired block exceeds the first threshold.

可选地,在本申请实施例中,可以根据前次得到的第一相似块包括的重建像素的位置,确定第二像素集合;从该第二像素集合中,再次获取该第一相似块。Optionally, in this embodiment of the present application, the second pixel set may be determined according to the positions of the reconstructed pixels included in the first similar block obtained previously; and the first similar block is obtained again from the second pixel set.

其中,该第二像素集合中的像素可以是稀疏的重建像素,该第二像素集合中的像素可以相对于之前确定的第一相似块包括的重建像素对称。The pixels in the second pixel set may be sparse reconstructed pixels, and the pixels in the second pixel set may be symmetrical with respect to the reconstructed pixels included in the previously determined first similar block.

其中,该之前确定的第一相似块可以是从第一像素集合(基于当前块的位置确定的像素集合)中搜索得到的相似块,也可以是基于另一第二像素集合(基于前前次的第一相似块的位置确定的像素集合)中搜索得到的相似块。Wherein, the previously determined first similar block may be a similar block searched from the first pixel set (the pixel set determined based on the position of the current block), or may be based on another second pixel set (based on the previous and previous pixel set) Similar blocks obtained by searching in the pixel set determined by the position of the first similar block).

也就是说,在本申请实施例中,在基于当前块的位置得到一个像素集合之后,在该像素集合中搜索相似块,然后再基于搜索到的相似块的像素位置,再次确定像素集合,在再次确定的像素集合中搜索相似块,然后可以停止基于像素集合的相似块的搜索,或者也可以基于再次搜索到的相似块确定像素集合,并以此类推。其中,可以将该过程称为基于本申请实施例提到的像素集合的N阶搜索过程,N可以为取值大于等于1的整数,N的大小可以根据实际情况而定。That is to say, in the embodiment of the present application, after a pixel set is obtained based on the position of the current block, a similar block is searched in the pixel set, and then the pixel set is determined again based on the pixel position of the searched similar block. Similar blocks are searched in the pixel set determined again, and then the search based on the similar blocks in the pixel set can be stopped, or the pixel set can be determined based on the re-searched similar blocks, and so on. The process may be referred to as an N-order search process based on the pixel set mentioned in the embodiments of the present application, where N may be an integer greater than or equal to 1, and the size of N may be determined according to actual conditions.

以下将结合图9进行详细说明。如图9所示,在基于当前块确定的像素集合中,两个候选相似块⑧(图中圈内是灰底,字是白色的8的数字)被确定为相似块,在该两个候选相似块⑧周围分别确定像素集合(由图中圈内是灰底,字是黑色的数字来表示),然后,在该两个像素集合中分别确定相似块,即,图中圈内是黑底,字是白色的数字来表示的相似块,即,5个相似块。由此,加上之前得到的两个相似块在图9中共示出了7个相似块。A detailed description will be given below with reference to FIG. 9 . As shown in Figure 9, based on the current block In the determined pixel set, two candidate similar blocks ⑧ (the circle in the figure is a gray background and the word is a white number 8) are determined as similar blocks, and pixel sets are respectively determined around the two candidate similar blocks ⑧ (by The circle in the figure is a gray background, and the words are represented by black numbers), and then, similar blocks are respectively determined in the two pixel sets, that is, the circle in the figure is a black background, and the words are represented by white numbers. Similarity block, ie, 5 similar blocks. Thus, in addition to the two similar blocks obtained before, a total of 7 similar blocks are shown in FIG. 9 .

可选地,在本申请实施例中,在该第二像素集合中之前已经进行了相似度匹配的块,不再进行相似块的匹配操作,由此可以节省滤波的复杂度。Optionally, in this embodiment of the present application, for blocks in the second pixel set that have been previously matched for similarity, the matching operation for similar blocks is no longer performed, thereby reducing the complexity of filtering.

或者,在本申请实施例中,在该第二像素集合中不包括已经进行了相似块匹配操作的块,也就是说,在用模板确定第二像素集合时,某些块已经进行了相似度匹配,则该候选相似块不再被包括在第二像素集合中。Alternatively, in this embodiment of the present application, the second pixel set does not include blocks that have undergone similar block matching operations, that is, when the template is used to determine the second pixel set, some blocks have already undergone similar block matching operations. match, the candidate similar block is no longer included in the second pixel set.

例如,如图9所示,基于右下角被确定为相似块的块⑧确定的候选相似块,仅包括17个候选相似块,而非28个候选相似块,因为,存在一些候选相似块已经进行了相似块匹配。For example, as shown in Fig. 9, the candidate similar blocks determined based on the block ⑧, which is determined to be a similar block in the lower right corner, only includes 17 candidate similar blocks instead of 28 candidate similar blocks, because there are some candidate similar blocks that have already been processed. Similar block matching.

但应理解,本申请实施例并不限于此。However, it should be understood that the embodiments of the present application are not limited thereto.

例如,在该第二像素集合中之前已经被确定为相似块的块,不再进行相似块的匹配操作。也就是说,即使之前已经进行了相似度匹配,但是由于没有被确定为相似块,仍然可以再次进行匹配,例如,可以是由于不同阶搜索过程中,用来判断是否为相似块的阈值可以是不同的。For example, for blocks in the second pixel set that have been previously determined to be similar blocks, no matching operation for similar blocks is performed. That is to say, even if similarity matching has been performed before, since it is not determined to be a similar block, it can still be matched again. For example, it may be because the threshold used to judge whether it is a similar block in different order search processes may be different.

类似地,在该第二像素集合中不包括已经被确定为相似块的块,也就是说,在用模板确定第二像素集合时,某些块已经被确定为了相似块,则该候选相似块不再被包括在第二像素集合中。Similarly, blocks that have already been determined to be similar blocks are not included in the second pixel set, that is, when the template is used to determine the second pixel set, some blocks have been determined to be similar blocks, then the candidate similar blocks is no longer included in the second set of pixels.

可选地,在本申请实施例中,从一个第二像素集合中获取的相似块的数量可以不超过一定数值,例如,第三阈值。其中,一个第三像素集合可以理解为在一个第一相似块周围用一次模板套住的像素。Optionally, in this embodiment of the present application, the number of similar blocks obtained from a second pixel set may not exceed a certain value, for example, a third threshold. Among them, a third set of pixels can be understood as the pixels surrounded by a primary template around a first similar block.

在一种实现方式中,可以获取到第二像素集合中所有搜索块与当前块的相似度,按照相似度从高到低的方式排布,挑出数量为第三阈值的第一相似块。In an implementation manner, the similarity between all search blocks in the second pixel set and the current block can be obtained, and they are arranged in descending order of similarity, and the first similar blocks whose number is a third threshold are selected.

在另一种实现方式中,在所述第二像素集合中搜索到的期望块的数量达到第三阈值时,将所述期望块确定为所述第一相似块,并停止在所述第二像素集合中进行所述第一相似块的搜索,其中,用于表征所述当前块与所述期望块的相似度的参量的值超出第一阈值。In another implementation manner, when the number of desired blocks searched in the second pixel set reaches a third threshold, the desired block is determined as the first similar block, and stops at the second The first similar block is searched in the pixel set, wherein the value of the parameter used to characterize the similarity between the current block and the desired block exceeds a first threshold.

在另一种实现方式中,在所述第二像素集合的所有像素中,搜索到的期望块的数量大于第三阈值时,按照相似度从高到低的方式,从搜索到的所述期望块中,确定数量等于所述第三阈值的所述第一相似块,其中,用于表征所述当前块与所述期望块的相似度的参量的值超出第一阈值。In another implementation manner, in all the pixels of the second pixel set, when the number of the searched expected blocks is greater than a third threshold, the searched expected blocks are sorted from high to low in the manner of similarity from high to low. Among the blocks, a number of the first similar blocks equal to the third threshold is determined, wherein the value of the parameter characterizing the similarity between the current block and the desired block exceeds the first threshold.

但应理解,本申请实施例,并限于以上的实现方式,其中,可以是多个像素集合中搜索的相似块不超过第三阈值。例如,该多个像素集合可以理解为以上的N阶搜索过程中的其中一阶搜索过程得到多个相似块对应的多个像素集合。However, it should be understood that the embodiments of the present application are not limited to the above implementation manners, wherein the similar blocks searched in multiple pixel sets may not exceed the third threshold. For example, the multiple pixel sets can be understood as multiple pixel sets corresponding to multiple similar blocks obtained in the first-order search process in the above N-order search process.

可选地,在本申请实施例中,第一像素集合和第二像素集合对应的模板可以相同。或者,第一像素集合和第二像素集合对应的模板可以不相同。Optionally, in this embodiment of the present application, templates corresponding to the first pixel set and the second pixel set may be the same. Alternatively, templates corresponding to the first pixel set and the second pixel set may be different.

可选地,对于不同阶搜索过程中采样的模板可以不相同,当然也可以相同。Optionally, templates sampled in different order search processes may be different, and of course they may be the same.

以上已经介绍了利用稀疏的像素集合确定第一相似块的方案,在本申请实施例中,在获取到第一相似块之后,还可以基于该第一相似块的位置,分别确定像素窗口;在该像素窗口内,获取该第二相似块。The solution for determining the first similar block by using a sparse set of pixels has been introduced above. In this embodiment of the present application, after the first similar block is obtained, the pixel window may be determined respectively based on the position of the first similar block; Within the pixel window, the second similar block is acquired.

其中,在该像素窗口内,可以按照逐点扫描的方式,确定该第二相似块。Wherein, within the pixel window, the second similar block may be determined in a point-by-point scanning manner.

例如,如图10所示,在搜索到的两个相似块⑧(图中圈内是灰底,字是白色的8)周围分别划定一个像素窗口,其中,该像素窗口可以相对于已确定的相似块对称,也可以不对阵。其中,该像素窗口可以是方形的,也可以是其它形状的。For example, as shown in Figure 10, a pixel window is respectively delineated around the two similar blocks ⑧ (the circle in the figure is gray, and the word is white), wherein the pixel window can be relative to the determined pixel window. The similar blocks are symmetrical or not aligned. Wherein, the pixel window may be square or other shapes.

其中,本申请实施例提到的逐点扫描可以是以滑窗的方式实现的,滑窗滑动的步长可以为1,其中,滑窗的大小可以等于当前块的大小。The point-by-point scanning mentioned in the embodiments of the present application may be implemented in a sliding window manner, and the sliding window sliding step size may be 1, wherein the size of the sliding window may be equal to the size of the current block.

可选地,在本申请实施例中,在从一个像素窗口中获取的相似块的数量可以不超过一定数值,例如,第四阈值。其中,一个像素窗口可以理解为套住一个第一相似块的像素窗口。Optionally, in this embodiment of the present application, the number of similar blocks acquired from one pixel window may not exceed a certain value, for example, a fourth threshold. Wherein, a pixel window can be understood as a pixel window nesting a first similar block.

在一种实现方式中,可以获取到像素窗口中所有搜索块与当前块的相似度,按照相似度从高到低的方式排布,挑出数量为第四阈值的第二相似块。In an implementation manner, the similarity between all search blocks in the pixel window and the current block can be obtained, and they are arranged in descending order of similarity, and the second similar blocks whose number is the fourth threshold are selected.

在另一种实现方式中,在所述像素窗口中搜索到的期望块的数量达到第四阈值时,将搜索到的所述期望块确定为所述第二相似块,并停止在所述像素窗口中进行所述第二相似块的搜索,其中,用于表征所述当前块与所述期望块的相似度的参量的值超出第一阈值。In another implementation manner, when the number of desired blocks searched in the pixel window reaches a fourth threshold, the searched desired block is determined as the second similar block, and stops at the pixel The search for the second similar block is performed in the window, wherein the value of the parameter characterizing the similarity between the current block and the desired block exceeds a first threshold.

在另一种实现方式中,在所述像素窗口中的所有像素中,搜索到的期望块的数量大于第四阈值时,按照相似度从高到低的方式,从所述期望块中,确定数量等于所述第四阈值的所述第二相似块,其中,用于表征所述当前块与所述期望块的相似度的参量的值超出第一阈值。In another implementation manner, in all pixels in the pixel window, when the number of searched desired blocks is greater than a fourth threshold, determine from the desired blocks in a manner of increasing similarity from high to low the second similar blocks in number equal to the fourth threshold, wherein the value of the parameter characterizing the similarity of the current block to the desired block exceeds the first threshold.

但应理解,本申请实施例并限于以上的实现方式,其中,可以是多个像素窗口中搜索的相似块不超过第四阈值。例如,该多个像素窗口可以理解为以上的全部第一相似块对应的像素窗口。However, it should be understood that the embodiments of the present application are not limited to the above implementation manners, wherein the similar blocks searched in multiple pixel windows may not exceed the fourth threshold. For example, the multiple pixel windows may be understood as pixel windows corresponding to all the above first similar blocks.

可选地,在本申请实施中,以上阐述了各个搜索阶段均可能存在阈值,但是本申请实施例并不限于此。Optionally, in the implementation of the present application, it has been described above that thresholds may exist in each search stage, but the embodiments of the present application are not limited to this.

例如,每个搜索阶段不存在用于限定搜索到的相似块的数量的阈值,本申请实施例可以设置一个用于限定总的所有相似块的数量的阈值。For example, there is no threshold for limiting the number of searched similar blocks in each search stage, and this embodiment of the present application may set a threshold for limiting the total number of all similar blocks.

可选地,在搜索到的期望块的数量达到一定数值时,将所述期望块作为所述相似块,并停止所述相似块的搜索,其中,用于表征所述当前块与所述期望块的相似度的参量的值超出第一阈值。Optionally, when the number of searched desired blocks reaches a certain value, the desired block is used as the similar block, and the search of the similar block is stopped, wherein the value used to characterize the relationship between the current block and the desired block is The value of the parameter of similarity of blocks exceeds the first threshold.

可选地,在用于相似块搜索的全部重建像素中,搜索到的期望块的数量大于一定数值时,按照相似度从高到低的方式,从所述期望块中,确定数量等于该数值的所述相似块,其中,用于表征所述当前块与所述期望块的相似度的参量的值超出第一阈值。Optionally, in all reconstructed pixels used for similar block search, when the number of searched desired blocks is greater than a certain value, according to the manner of similarity from high to low, from the desired blocks, it is determined that the number is equal to the value. The similar block of , wherein the value of the parameter characterizing the similarity between the current block and the desired block exceeds a first threshold.

当然,既可以设置限制各个阶段得到相似块的数量的阈值,也可以同时设置一个用于限定总的所有相似块的数量的阈值。Of course, a threshold for limiting the number of similar blocks obtained in each stage may be set, and a threshold for limiting the total number of all similar blocks may also be set at the same time.

可选地,在本申请实施例由编码端实现时,编码端可以确定上述各个用于限制相似块数量的阈值,并将这一个或多个阈值进行编码,并传递给解码端。以及,在由解码端实现时,解码端可以从码流中获取该一个或多个阈值。Optionally, when the embodiment of the present application is implemented by the encoder, the encoder may determine each of the foregoing thresholds for limiting the number of similar blocks, encode the one or more thresholds, and transmit them to the decoder. And, when implemented by the decoding end, the decoding end can obtain the one or more thresholds from the code stream.

当然,在本申请实施例中,编码端和解码端可以分别确定上述各个用于限制相似块数量的阈值,则编码端无需在码流中传递这些阈值。Of course, in this embodiment of the present application, the encoding end and the decoding end may separately determine the above thresholds for limiting the number of similar blocks, and the encoding end does not need to transmit these thresholds in the code stream.

在320中,滤波器基于该至少一个第一相似块,构建结构数组。At 320, the filter constructs an array of structures based on the at least one first similarity block.

可选地,在本申请实施中,如果确定了上述第二相似块,则可以基于该第一相似块和第二相似块,构建结构数组。Optionally, in the implementation of the present application, if the above-mentioned second similar block is determined, a structure array may be constructed based on the first similar block and the second similar block.

可选地,构建的结构数组可以是一维、二维或者三维矩阵。Optionally, the constructed array of structures may be a one-dimensional, two-dimensional or three-dimensional matrix.

在330中,滤波器对该结构数组进行分解。At 330, the filter decomposes the array of structures.

其中,可以对该结构数组进行奇异值分解(Singular Value Decomposition,SVD),并对奇异值进行硬阈值操作,根据奇异值分解的结果获得重建结构组,最后获取重建图像。其中,SVD分解的目的是将结构数组提取主成分,单纯的SVD并不能起到滤波的作用,滤波的关键在于去除噪声,NLSF中去除噪声的地方采用的是硬阈值的操作。Among them, singular value decomposition (SVD) can be performed on the structure array, and a hard threshold operation can be performed on the singular values, and a reconstructed structure group can be obtained according to the result of the singular value decomposition, and finally a reconstructed image can be obtained. Among them, the purpose of SVD decomposition is to extract the principal components of the structure array. Simple SVD cannot play the role of filtering. The key to filtering is to remove noise. The operation of hard threshold is used in NLSF to remove noise.

在340中,滤波器根据分解的结构数组,获得重建结构数组。At 340, the filter obtains a reconstructed structure array from the decomposed structure array.

可选地,在本申请实施例中,除了采用SVD的滤波方式,还可以利用离散余弦变换(Discrete Cosine Transform,DCT)变换、哈达玛变换、KLT(Karhunen-Loève Transform)、依赖信号转换(Signal Dependent Transform,SDT)、小波变换等等滤波方式。Optionally, in this embodiment of the present application, in addition to the SVD filtering method, discrete cosine transform (Discrete Cosine Transform, DCT) transform, Hadamard transform, KLT (Karhunen-Loève Transform), signal dependent transform (Signal) can also be used. Dependent Transform, SDT), wavelet transform and other filtering methods.

可选地,本申请实施例的滤波方式可以与其他的滤波方式结合使用。具体地,可以在本申请实施例的滤波之后执行其他方式的滤波,或者,在其他方式的滤波之后执行根据本申请实施例的滤波方式。Optionally, the filtering manner in this embodiment of the present application may be used in combination with other filtering manners. Specifically, the filtering in other manners may be performed after the filtering in the embodiments of the present application, or the filtering manners according to the embodiments of the present application may be performed after the filtering in the other manners.

其他的滤波技术可以包括双边滤波、去块滤波、自适应样值补偿滤波和自适应环路滤波。其中,Other filtering techniques may include bilateral filtering, deblocking filtering, adaptive sample compensation filtering, and adaptive loop filtering. in,

双边滤波是当前像素由它自身和相邻四个点像素值的加权平均来计算,实现保边去噪。去块滤波用于预测单元和变换单元的边界,利用训练得到的低通滤波器进行边界像素的非线性加权,从而减少块效应。自适应样值补偿滤波通过对图像块内像素进行分类,进而为每类像素加上相同补偿值的方式使得重构图像更接近原始图像,从而起到抑制振铃效应的作用。自适应环路滤波是一种维纳滤波器,主要用于最小化原始图像和重构图像之间的均方误差。Bilateral filtering is that the current pixel is calculated by the weighted average of its own and four adjacent pixel values to achieve edge-preserving denoising. Deblocking filtering is used for the boundary of prediction unit and transform unit, and the low-pass filter obtained by training is used to non-linearly weight the boundary pixels, thereby reducing the blocking effect. The adaptive sample compensation filter makes the reconstructed image closer to the original image by classifying the pixels in the image block, and then adding the same compensation value to each type of pixels, thereby suppressing the ringing effect. Adaptive loop filtering is a Wiener filter that is mainly used to minimize the mean squared error between the original image and the reconstructed image.

以下表1示出了现有技术与本申请的需要搜索的点数(搜索点数相当于相似度匹配操作次数,一个搜索点等于一次相似度匹配)的比照图。其中,在为当前块设置的用于搜索相似块的搜索窗口为33x33的情况下,现有技术在进行相似块搜索时平均每个当前块需要搜索1072个点。使用本申请中的如图8所示的搜索模板,在第一次搜索时,最多需要搜索28个点,几次迭代后,MarketPlace、BQTTerrace、BasketballDrive、RitualDance、Cactus五个序列序列平均需要搜索291个点,本发明使得搜索点数节省了72.9%。其中,五个序列MarketPlace、BQTTerrace、BasketballDrive、RitualDance、Cactus分别可以减少74.6%、70.3%、71.5%、75.2%、72.9%的搜索点数。Table 1 below shows a comparison diagram of the number of points to be searched in the prior art and the present application (the number of search points is equivalent to the number of similarity matching operations, and one search point is equivalent to one similarity matching). Wherein, when the search window for searching similar blocks set for the current block is 33×33, in the prior art, when searching for similar blocks, on average, each current block needs to search for 1072 points. Using the search template shown in Figure 8 in this application, in the first search, a maximum of 28 points need to be searched. After several iterations, the five sequences of MarketPlace, BQTTerrace, BasketballDrive, RitualDance, and Cactus need to search an average of 291 points. Points, the present invention saves 72.9% of search points. Among them, the five sequences MarketPlace, BQTTerrace, BasketballDrive, RitualDance, and Cactus can reduce the number of search points by 74.6%, 70.3%, 71.5%, 75.2%, and 72.9%, respectively.

表1Table 1

因此,本申请实施例中的用于视频处理的方法,在至少一个像素集合中,获取当前块的至少一个第一相似块,该像素集合包括稀疏的重建像素,从而可以在过滤过程中降低相似块获取的复杂度,可以在保证最小的编码性能损失的情况下,降低滤波复杂度,从而降低编解码的复杂度,以及节省编解码的时间。图11是根据本申请实施例的用于视频处理的方法400的示意性流程图。如图11所示,该方法400包括以下内容中的至少部分内容。其中,该方法400可以由应用于编码端,也可以应用于解码端。Therefore, in the method for video processing in this embodiment of the present application, at least one first similar block of the current block is acquired in at least one pixel set, where the pixel set includes sparse reconstructed pixels, so that similarity can be reduced in the filtering process The complexity of block acquisition can reduce the filtering complexity while ensuring the minimum loss of encoding performance, thereby reducing the complexity of encoding and decoding, and saving encoding and decoding time. FIG. 11 is a schematic flowchart of a method 400 for video processing according to an embodiment of the present application. As shown in FIG. 11 , the method 400 includes at least some of the following contents. Wherein, the method 400 can be applied to the encoding end, and can also be applied to the decoding end.

在410中,滤波器从重建像素中,获取当前块的至少一个相似块,该当前块包括至少一个重建像素,其中,用于表征所述当前块与所述相似块的相似度的参量的值超出第一阈值。In 410, the filter obtains, from the reconstructed pixels, at least one similar block of the current block, the current block includes at least one reconstructed pixel, wherein the value of the parameter used to characterize the similarity between the current block and the similar block exceeds the first threshold.

其中,该重建像素可以是搜索窗口中的像素,可以利用逐点扫描的方式,从该搜索窗口中,获取当前块的相似块。Wherein, the reconstructed pixel may be a pixel in a search window, and a similar block of the current block may be obtained from the search window by means of point-by-point scanning.

在420中,滤波器基于该至少一个第一相似块,构建结构数组。At 420, the filter constructs an array of structures based on the at least one first similarity block.

在430中,滤波器对该结构数组进行分解。At 430, the filter decomposes the array of structures.

在440中,滤波器根据分解的结构数组,获得重建结构数组。At 440, the filter obtains a reconstructed structure array from the decomposed structure array.

可选地,该相似块的数量小于或等于第二阈值。Optionally, the number of similar blocks is less than or equal to the second threshold.

可选地,在搜索到的期望块的数量达到所述第二阈值时,将所述期望块作为所述相似块,并停止所述相似块的搜索,其中,用于表征所述当前块与所述期望块的相似度的参量的值超出第一阈值。Optionally, when the number of searched desired blocks reaches the second threshold, the desired block is used as the similar block, and the search of the similar block is stopped, wherein the value used to characterize the current block and The value of the parameter of the similarity of the desired block exceeds a first threshold.

可选地,在所述重建像素的所有像素中,搜索到的期望块的数量大于所述第二阈值时,按照相似度从高到低的方式,从所述期望块中,确定数量等于所述第二阈值的所述相似块,其中,用于表征所述当前块与所述期望块的相似度的参量的值超出第一阈值。Optionally, in all pixels of the reconstructed pixels, when the number of desired blocks searched for is greater than the second threshold, in the manner of similarity from high to low, from the desired blocks, determine that the number is equal to the number of desired blocks. and the similarity block of the second threshold, wherein the value of the parameter used to characterize the similarity between the current block and the desired block exceeds the first threshold.

可选地,该第一阈值是基于以下参数中的至少一种确定的:该当前块的大小,视频的比特深度,该当前块的像素和,该当前块的像素的水平梯度,该当前块的像素的垂直梯度。Optionally, the first threshold is determined based on at least one of the following parameters: the size of the current block, the bit depth of the video, the pixel sum of the current block, the horizontal gradient of the pixels of the current block, the current block The vertical gradient of the pixels.

可选地,在该相似度的度量参量是哈希值的差值时,该第一阈值是基于以下参数中的至少一种确定的:该当前块的像素和,该当前块的像素的水平梯度,该当前块的像素的垂直梯度。Optionally, when the metric of the similarity is the difference between the hash values, the first threshold is determined based on at least one of the following parameters: the sum of the pixels of the current block, the level of the pixels of the current block Gradient, the vertical gradient of the pixels of this current block.

可选地,该相似度的度量参量是SSD或SAD时,该第一阈值是基于以下参数中的至少一种确定的:该当前块的大小,视频的比特深度。Optionally, when the similarity metric is SSD or SAD, the first threshold is determined based on at least one of the following parameters: the size of the current block, and the bit depth of the video.

可选地,该相似度的度量参量是MAD,MSD或SSIM时,该第一阈值是基于视频的比特深度确定的。Optionally, when the similarity metric is MAD, MSD or SSIM, the first threshold is determined based on the bit depth of the video.

可选地,用于获取该相似块进行的相似度判断的度量参量为:哈希值的差值、SSD、SAD、MAD、MSD或SSIM。Optionally, the metric used to obtain the similarity judgment for the similar block is: difference of hash values, SSD, SAD, MAD, MSD or SSIM.

可选地,该方法由编码端实现;该方法还包括:所述编码端确定所述第一阈值,以及将所述第一阈值进行编码。Optionally, the method is implemented by an encoder; the method further includes: the encoder determines the first threshold, and encodes the first threshold.

可选地,该方法由解码端实现;该方法还包括:所述解码端获取码流中的所述第一阈值。Optionally, the method is implemented by a decoding end; the method further includes: acquiring, by the decoding end, the first threshold in the code stream.

应理解,该方法400中的各个操作的实现可以参照方法300的描述,为了简洁,在此不再赘述。It should be understood that the implementation of each operation in the method 400 may refer to the description of the method 300, which is not repeated here for brevity.

图12是根据本申请实施例的用于视频处理的设备500的示意性框图。如图12所示,该设备500包括:FIG. 12 is a schematic block diagram of an apparatus 500 for video processing according to an embodiment of the present application. As shown in Figure 12, the device 500 includes:

相似块获取单元510,用于在至少一个像素集合中,获取当前块的至少一个第一相似块,其中,该像素集合包括稀疏的重建像素,该当前块包括至少一个重建像素;A similar block obtaining unit 510, configured to obtain at least one first similar block of the current block in at least one pixel set, wherein the pixel set includes sparse reconstructed pixels, and the current block includes at least one reconstructed pixel;

构建单元520,用于基于该至少一个第一相似块,构建结构数组;a construction unit 520 for constructing a structure array based on the at least one first similar block;

分解单元530,用于对该结构数组进行分解;a decomposition unit 530, for decomposing the structure array;

重建单元540,用于根据分解的结构数组,获得重建结构数组。The reconstruction unit 540 is configured to obtain a reconstructed structure array according to the decomposed structure array.

可选地,在本申请实施例中,该至少一个像素集合包括第一像素集合;Optionally, in this embodiment of the present application, the at least one pixel set includes a first pixel set;

该相似块获取单元510具体用于:The similar block obtaining unit 510 is specifically used for:

基于该当前块包括的重建像素的位置,确定该第一像素集合;determining the first set of pixels based on the positions of the reconstructed pixels included in the current block;

从该第一像素集合中,获取该第一相似块。From the first set of pixels, the first similar block is obtained.

可选地,在本申请实施例中,该相似块获取单元510具体用于:Optionally, in this embodiment of the present application, the similar block obtaining unit 510 is specifically configured to:

按照从靠近该当前块到远离该当前块的搜索方式,从该第一像素集合中,获取该第一相似块。The first similar block is acquired from the first pixel set in a search manner from close to the current block to far from the current block.

可选地,在本申请实施例中,该相似块获取单元510具体用于:Optionally, in this embodiment of the present application, the similar block obtaining unit 510 is specifically configured to:

在该第一像素集合中搜索到的期望块的数量达到第二阈值时,将该期望块作为该第一相似块,并停止在该第一像素集合中进行该第一相似块的搜索,其中,用于表征该当前块与该期望块的相似度的参量的值超出第一阈值。When the number of desired blocks searched in the first pixel set reaches a second threshold, the desired block is regarded as the first similar block, and the search for the first similar block in the first pixel set is stopped, wherein , the value of the parameter used to characterize the similarity between the current block and the desired block exceeds the first threshold.

可选地,在本申请实施例中,该相似块获取单元510具体用于:Optionally, in this embodiment of the present application, the similar block obtaining unit 510 is specifically configured to:

在该第一像素集合的所有像素中,搜索到的期望块的数量大于第二阈值时,按照相似度从高到低的方式,从搜索到的该期望块中,确定数量等于该第二阈值的该第一相似块,其中,用于表征该当前块与该期望块的相似度的参量的值超出第一阈值。In all pixels of the first pixel set, when the number of the searched desired blocks is greater than the second threshold, according to the manner of similarity from high to low, from the searched desired blocks, it is determined that the number is equal to the second threshold The first similar block of , wherein the value of the parameter used to characterize the similarity between the current block and the desired block exceeds a first threshold.

可选地,在本申请实施例中,该至少一个像素集合包括第二像素集合;Optionally, in this embodiment of the present application, the at least one pixel set includes a second pixel set;

该相似块获取单元510具体用于:The similar block obtaining unit 510 is specifically used for:

根据前次得到的第一相似块包括的重建像素的位置,确定第二像素集合;Determine the second pixel set according to the positions of the reconstructed pixels included in the previously obtained first similar block;

从该第二像素集合中,再次获取该第一相似块。From the second set of pixels, the first similar block is obtained again.

可选地,在本申请实施例中,该相似块获取单元510具体用于:Optionally, in this embodiment of the present application, the similar block obtaining unit 510 is specifically configured to:

基于从靠近该前次得到的该第一相似块到远离该前次得到的该第一相似块的搜索方式,从该第二像素集合中,再次获取该第一相似块。Based on the search manner from being close to the first similar block obtained last time to being far away from the first similar block obtained last time, the first similar block is obtained again from the second set of pixels.

可选地,在本申请实施例中,该相似块获取单元510具体用于:Optionally, in this embodiment of the present application, the similar block obtaining unit 510 is specifically configured to:

在该第二像素集合中搜索到的期望块的数量达到第三阈值时,将该期望块确定为该第一相似块,并停止在该第二像素集合中进行该第一相似块的搜索,其中,用于表征该当前块与该期望块的相似度的参量的值超出第一阈值。When the number of desired blocks searched in the second pixel set reaches a third threshold, determining the desired block as the first similar block, and stopping searching for the first similar block in the second pixel set, Wherein, the value of the parameter used to characterize the similarity between the current block and the desired block exceeds the first threshold.

可选地,在本申请实施例中,该相似块获取单元510具体用于:Optionally, in this embodiment of the present application, the similar block obtaining unit 510 is specifically configured to:

在该第二像素集合的所有像素中,搜索到的期望块的数量大于第三阈值时,按照相似度从高到低的方式,从搜索到的该期望块中,确定数量等于该第三阈值的该第一相似块,其中,用于表征该当前块与该期望块的相似度的参量的值超出第一阈值。In all pixels of the second pixel set, when the number of the searched desired blocks is greater than the third threshold, according to the manner of similarity from high to low, from the searched desired blocks, it is determined that the number is equal to the third threshold The first similar block of , wherein the value of the parameter used to characterize the similarity between the current block and the desired block exceeds a first threshold.

可选地,在本申请实施例中,该相似块获取单元510具体用于:该第二像素集合中之前已经进行了相似块匹配操作的块,不再进行相似块的匹配操作;或者,Optionally, in this embodiment of the present application, the similar block obtaining unit 510 is specifically configured to: in the second pixel set, blocks that have been subjected to a similar block matching operation before, do not perform a similar block matching operation; or,

该第二像素集合中不包括已经进行了相似块匹配操作的块。The second pixel set does not include blocks for which similar block matching operations have been performed.

可选地,在本申请实施例中,该相似块获取单元510进一步用于:Optionally, in this embodiment of the present application, the similar block obtaining unit 510 is further configured to:

基于模板,确定该像素集合。Based on the template, the set of pixels is determined.

可选地,在本申请实施例中,该模板中的重建像素聚集为多个分散的图像块,每个图像块的大小大于或等于该当前块的大小。Optionally, in this embodiment of the present application, the reconstructed pixels in the template are aggregated into a plurality of scattered image blocks, and the size of each image block is greater than or equal to the size of the current block.

可选地,在本申请实施例中,该模板包括用于选择该第一相似块的多个候选相似块,该候选相似块的大小等于该当前块的大小。Optionally, in this embodiment of the present application, the template includes a plurality of candidate similar blocks for selecting the first similar block, and the size of the candidate similar blocks is equal to the size of the current block.

可选地,在本申请实施例中,该模板包括从中心到边缘的多组候选相似块,每组候选相似块块围成环形,该环形相对该模板的中心对称,组内的候选相似块均匀排布。Optionally, in this embodiment of the present application, the template includes multiple groups of candidate similar blocks from the center to the edge, and each group of candidate similar blocks is surrounded by a ring, and the ring is symmetrical with respect to the center of the template, and the candidate similar blocks in the group are Evenly spaced.

可选地,在本申请实施例中,该模板包括四组候选相似块,该四组候选相似块的远离该模板的中心的边缘像素,相对于该模板的中心,分别间隔1个像素,2个像素,4个像素和8个像素。Optionally, in this embodiment of the present application, the template includes four groups of candidate similar blocks, and the edge pixels of the four groups of candidate similar blocks far from the center of the template are separated by 1 pixel and 2 pixels from the center of the template. pixels, 4 pixels and 8 pixels.

可选地,在本申请实施例中,该四组候选相似块分别具有4个候选相似块,8个候选相似块,8个候选相似块和8个候选相似块,其中,具有4个候选相似块的一组候选相似块距离该模板的中心最近。Optionally, in this embodiment of the present application, the four groups of candidate similar blocks respectively have 4 candidate similar blocks, 8 candidate similar blocks, 8 candidate similar blocks, and 8 candidate similar blocks, among which there are 4 candidate similar blocks. A set of candidate similar blocks for a block is closest to the center of this template.

可选地,在本申请实施例中,该至少一个像素集合中,不同的像素集合是基于不同的模板确定的。Optionally, in this embodiment of the present application, in the at least one pixel set, different pixel sets are determined based on different templates.

可选地,在本申请实施例中,该相似块获取单元510进一步用于:Optionally, in this embodiment of the present application, the similar block obtaining unit 510 is further configured to:

基于每个该第一相似块的位置,分别确定像素窗口;Based on the position of each of the first similar blocks, pixel windows are respectively determined;

在该像素窗口内,获取该第二相似块;In the pixel window, obtain the second similar block;

该构建单元520具体用于:The construction unit 520 is specifically used for:

基于该第一相似块和该第二相似块,构建该结构数组。The structure array is constructed based on the first similarity block and the second similarity block.

可选地,在本申请实施例中,该相似块获取单元510具体用于:Optionally, in this embodiment of the present application, the similar block obtaining unit 510 is specifically configured to:

按照逐点扫描的方式,确定该第二相似块。The second similar block is determined in a point-by-point scanning manner.

可选地,在本申请实施例中,该相似块获取单元510具体用于:该像素窗口中已进行了相似块匹配操作的块,不再进行相似块的匹配操作;或者,Optionally, in this embodiment of the present application, the similar block obtaining unit 510 is specifically configured to: a block in the pixel window that has undergone a similar block matching operation, and no longer perform a similar block matching operation; or,

该搜索窗口中不包括已经进行了相似块匹配操作的块。The search window does not include blocks that have already undergone similar block matching operations.

可选地,在本申请实施例中,该相似块获取单元510具体用于:Optionally, in this embodiment of the present application, the similar block obtaining unit 510 is specifically configured to:

在该像素窗口中搜索到的期望块的数量达到第四阈值时,将搜索到的该期望块确定为该第二相似块,并停止在该像素窗口中进行该第二相似块的搜索,其中,用于表征该当前块与该期望块的相似度的参量的值超出第一阈值。When the number of desired blocks searched in the pixel window reaches the fourth threshold, the desired block searched for is determined as the second similar block, and the search for the second similar block in the pixel window is stopped, wherein , the value of the parameter used to characterize the similarity between the current block and the desired block exceeds the first threshold.

可选地,在本申请实施例中,该相似块获取单元510具体用于:Optionally, in this embodiment of the present application, the similar block obtaining unit 510 is specifically configured to:

在该像素窗口中的所有像素中,搜索到的期望块的数量大于第四阈值时,按照相似度从高到低的方式,从该期望块中,确定数量等于该第四阈值的该第二相似块,其中,用于表征该当前块与该期望块的相似度的参量的值超出第一阈值。In all the pixels in the pixel window, when the number of the searched desired blocks is greater than the fourth threshold, determine the number of the second blocks equal to the fourth threshold from the desired blocks in the manner of similarity from high to low. Similar blocks, wherein the value of the parameter characterizing the similarity between the current block and the desired block exceeds a first threshold.

可选地,在本申请实施例中,用于表征该当前块与该当前块的相似块的相似度的参量的值超出第一阈值。Optionally, in this embodiment of the present application, the value of the parameter used to characterize the similarity between the current block and a similar block of the current block exceeds the first threshold.

可选地,在本申请实施例中,该第一阈值是基于以下参数中的至少一种确定的:Optionally, in this embodiment of the present application, the first threshold is determined based on at least one of the following parameters:

该当前块的大小,视频的比特深度,该当前块的像素和,该当前块的像素的水平梯度,该当前块的像素的垂直梯度。The size of the current block, the bit depth of the video, the pixel sum of the current block, the horizontal gradient of the pixels of the current block, and the vertical gradient of the pixels of the current block.

可选地,在本申请实施例中,在表征该相似度的参量是哈希值的差值时,Optionally, in this embodiment of the present application, when the parameter characterizing the similarity is the difference between the hash values,

该第一阈值是基于以下参数中的至少一种确定的:The first threshold is determined based on at least one of the following parameters:

该当前块的像素和,该当前块的像素的水平梯度,该当前块的像素的垂直梯度。The pixel sum of the current block, the horizontal gradient of the pixels of the current block, and the vertical gradient of the pixels of the current block.

可选地,在本申请实施例中,在表征该相似度的参量是误差平方和SSD或绝对误差和SAD时,Optionally, in this embodiment of the present application, when the parameter characterizing the similarity is the sum of squared errors SSD or the sum of absolute errors SAD,

该第一阈值是基于以下参数中的至少一种确定的:该当前块的大小,视频的比特深度。The first threshold is determined based on at least one of the following parameters: the size of the current block, and the bit depth of the video.

可选地,在本申请实施例中,在表征该相似度的参量是平均绝对差MAD,平均误差平方和MSD或结构相似性指标SSIM时,Optionally, in this embodiment of the present application, when the parameter characterizing the similarity is the mean absolute difference MAD, the mean squared error MSD or the structural similarity index SSIM,

该第一阈值是基于视频的比特深度确定的。The first threshold is determined based on the bit depth of the video.

可选地,在本申请实施例中,该设备由编码端实现;该设备500还包括:Optionally, in this embodiment of the present application, the device is implemented by an encoding terminal; the device 500 further includes:

编码单元,用于确定所述第一阈值,以及将所述第一阈值进行编码。an encoding unit, configured to determine the first threshold and encode the first threshold.

可选地,在本申请实施例中,该设备由解码端实现;该设备500还包括:Optionally, in this embodiment of the present application, the device is implemented by a decoding end; the device 500 further includes:

获取单元,用于获取码流中的所述第一阈值。an obtaining unit, configured to obtain the first threshold in the code stream.

可选地,在本申请实施例中,表征相似度的参量为:哈希值的差值、SSD、SAD、MAD、MSD或SSIM。Optionally, in this embodiment of the present application, the parameter representing the similarity is: difference of hash values, SSD, SAD, MAD, MSD, or SSIM.

可选地,在本申请实施例中,用于获取该相似块的重建像素包括:Optionally, in this embodiment of the present application, the reconstructed pixels used to obtain the similar block include:

该当前块所属的编码单元的上侧的重建像素、该编码单元的左侧的重建像素和该编码单元的重建像素;或,The reconstructed pixel on the upper side of the coding unit to which the current block belongs, the reconstructed pixel on the left side of the coding unit, and the reconstructed pixel of the coding unit; or,

该编码单元的上侧的重建像素、该编码单元的左侧的重建像素、该编码单元的右侧的重建像素、该编码单元的下侧的重建像素和该编码单元的重建像素;或,The reconstructed pixel on the upper side of the coding unit, the reconstructed pixel on the left side of the coding unit, the reconstructed pixel on the right side of the coding unit, the reconstructed pixel on the lower side of the coding unit, and the reconstructed pixel of the coding unit; or,

该编码单元的重建像素。reconstructed pixels for this coding unit.

可选地,在本申请实施例中,该编码单元的上侧的重建像素的垂直方向的像素个数少于或等于该编码单元的左侧的重建像素的水平方向的像素个数。Optionally, in this embodiment of the present application, the number of pixels in the vertical direction of the reconstructed pixels on the upper side of the coding unit is less than or equal to the number of pixels in the horizontal direction of the reconstructed pixels on the left side of the coding unit.

可选地,该设备500可以实现上述方法300中的滤波器的操作,为了简洁,在此不再赘述。Optionally, the device 500 can implement the operation of the filter in the foregoing method 300, which is not repeated here for brevity.

图13是根据本申请实施例的用于视频处理的设备600的示意性框图。如图13所示,该设备600包括:FIG. 13 is a schematic block diagram of an apparatus 600 for video processing according to an embodiment of the present application. As shown in Figure 13, the device 600 includes:

相似块获取单元610,用于从重建像素中,获取当前块的至少一个相似块,该当前块包括至少一个重建像素,其中,用于表征该当前块与该相似块的相似度的参量的值超出第一阈值;Similar block obtaining unit 610, configured to obtain at least one similar block of the current block from the reconstructed pixels, where the current block includes at least one reconstructed pixel, wherein the value of the parameter used to characterize the similarity between the current block and the similar block exceeds the first threshold;

构建单元620,用于基于该至少一个相似块,构建结构数组;a construction unit 620 for constructing a structure array based on the at least one similar block;

分解单元630,用于对该结构数组进行分解;a decomposition unit 630, for decomposing the structure array;

重建单元640,用于根据分解的结构数组,获得重建结构数组。The reconstruction unit 640 is configured to obtain a reconstructed structure array according to the decomposed structure array.

可选地,在本申请实施例中,该相似块的数量小于或等于第二阈值。Optionally, in this embodiment of the present application, the number of the similar blocks is less than or equal to the second threshold.

可选地,在本申请实施例中,该相似块获取单元610进一步用于:Optionally, in this embodiment of the present application, the similar block obtaining unit 610 is further configured to:

在搜索到的期望块的数量达到该第二阈值时,将该期望块作为该相似块,并停止该相似块的搜索,其中,用于表征该当前块与该期望块的相似度的参量的值超出第一阈值。When the number of searched desired blocks reaches the second threshold, the desired block is regarded as the similar block, and the search of the similar block is stopped, wherein the parameter used to characterize the similarity between the current block and the desired block is The value exceeds the first threshold.

可选地,在本申请实施例中,该相似块获取单元610进一步用于:Optionally, in this embodiment of the present application, the similar block obtaining unit 610 is further configured to:

在该重建像素的所有像素中,搜索到的期望块的数量大于该第二阈值时,按照相似度从高到低的方式,从该期望块中,确定数量等于该第二阈值的该相似块,其中,用于表征该当前块与该期望块的相似度的参量的值超出第一阈值。In all the pixels of the reconstructed pixel, when the number of the searched expected blocks is greater than the second threshold, the similar blocks whose number is equal to the second threshold are determined from the expected blocks according to the similarity degree from high to low , wherein the value of the parameter used to characterize the similarity between the current block and the desired block exceeds the first threshold.

可选地,在本申请实施例中,该第一阈值是基于以下参数中的至少一种确定的:Optionally, in this embodiment of the present application, the first threshold is determined based on at least one of the following parameters:

该当前块的大小,视频的比特深度,该当前块的像素和,该当前块的像素的水平梯度,该当前块的像素的垂直梯度。The size of the current block, the bit depth of the video, the pixel sum of the current block, the horizontal gradient of the pixels of the current block, and the vertical gradient of the pixels of the current block.

可选地,在本申请实施例中,在表征该相似度的参量是哈希值的差值时,Optionally, in this embodiment of the present application, when the parameter characterizing the similarity is the difference between the hash values,

该第一阈值是基于以下参数中的至少一种确定的:The first threshold is determined based on at least one of the following parameters:

该当前块的像素和,该当前块的像素的水平梯度,该当前块的像素的垂直梯度。The pixel sum of the current block, the horizontal gradient of the pixels of the current block, and the vertical gradient of the pixels of the current block.

可选地,在本申请实施例中,在表征该相似度的参量是误差平方和SSD或绝对误差和SAD时,Optionally, in this embodiment of the present application, when the parameter characterizing the similarity is the sum of squared errors SSD or the sum of absolute errors SAD,

该第一阈值是基于以下参数中的至少一种确定的:该当前块的大小,视频的比特深度。The first threshold is determined based on at least one of the following parameters: the size of the current block, and the bit depth of the video.

可选地,在本申请实施例中,在表征该相似度的参量是平均绝对差MAD,平均误差平方和MSD或结构相似性指标SSIM时,Optionally, in this embodiment of the present application, when the parameter characterizing the similarity is the mean absolute difference MAD, the mean squared error MSD or the structural similarity index SSIM,

该第一阈值是基于视频的比特深度确定的。The first threshold is determined based on the bit depth of the video.

可选地,在本申请实施例中,表征相似度的参量为:哈希值的差值、SSD、SAD、MAD、MSD或SSIM。Optionally, in this embodiment of the present application, the parameter representing the similarity is: difference of hash values, SSD, SAD, MAD, MSD, or SSIM.

可选地,在本申请实施例中,该设备600由编码端实现;该设备600还包括:Optionally, in this embodiment of the present application, the device 600 is implemented by an encoding end; the device 600 further includes:

编码单元,用于确定所述第一阈值,以及将所述第一阈值进行编码。an encoding unit, configured to determine the first threshold and encode the first threshold.

可选地,在本申请实施例中,该设备600由解码端实现;该设备600还包括:Optionally, in this embodiment of the present application, the device 600 is implemented by a decoding end; the device 600 further includes:

获取单元,用于获取码流中的所述第一阈值。an obtaining unit, configured to obtain the first threshold in the code stream.

可选地,该设备600可以实现上述方法400中的滤波器的操作,为了简洁,在此不再赘述。Optionally, the device 600 can implement the operation of the filter in the foregoing method 400, which is not repeated here for brevity.

应理解,上述本申请实施例的用于视频处理的设备可以是芯片,其具体可以由电路实现,但本申请实施例对具体的实现形式不做限定。It should be understood that the device for video processing in the above embodiments of the present application may be a chip, which may be specifically implemented by a circuit, but the specific implementation form is not limited in the embodiments of the present application.

本申请实施例还提供了一种编码器,该编码器用于实现本申请实施例中编码端的功能,可以包括上述本申请实施例的用于视频处理的设备中用于编码端的模块。The embodiments of the present application further provide an encoder, which is used to implement the functions of the encoding end in the embodiments of the present application, and may include the modules used for the encoding end in the video processing device according to the embodiments of the present application.

本申请实施例还提供了一种解码器,该解码器用于实现本申请实施例中解码端的功能,可以包括上述本申请实施例的用于视频处理的设备中用于解码端的模块。The embodiments of the present application further provide a decoder, which is used to implement the functions of the decoding end in the embodiments of the present application, and may include the modules used for the decoding end in the video processing device according to the embodiments of the present application.

本申请实施例还提供了一种编解码器,该编解码器包括上述本申请实施例的用于视频处理的设备。An embodiment of the present application further provides a codec, where the codec includes the device for video processing according to the above embodiment of the present application.

图14示出了本申请实施例的计算机系统700的示意性框图。FIG. 14 shows a schematic block diagram of a computer system 700 according to an embodiment of the present application.

如图14所示,该计算机系统700可以包括处理器710和存储器720。As shown in FIG. 14 , the computer system 700 may include a processor 710 and a memory 720 .

应理解,该计算机系统700还可以包括其他计算机系统中通常所包括的部件,例如,输入输出设备、通信接口等,本申请实施例对此并不限定。It should be understood that the computer system 700 may also include components generally included in other computer systems, such as input and output devices, communication interfaces, etc., which are not limited in this embodiment of the present application.

存储器720用于存储计算机可执行指令。Memory 720 is used to store computer-executable instructions.

存储器720可以是各种种类的存储器,例如可以包括高速随机存取存储器(RandomAccess Memory,RAM),还可以包括非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器,本申请实施例对此并不限定。The memory 720 may be various types of memory, for example, may include a high-speed random access memory (Random Access Memory, RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory, the embodiment of the present application This is not limited.

处理器710用于访问该存储器720,并执行该计算机可执行指令,以进行上述本申请实施例的用于视频处理的方法中的操作。The processor 710 is configured to access the memory 720 and execute the computer-executable instructions, so as to perform the operations in the above-mentioned methods for video processing in the embodiments of the present application.

处理器710可以包括微处理器,现场可编程门阵列(Field-Programmable GateArray,FPGA),中央处理器(Central Processing unit,CPU),图形处理器(GraphicsProcessing Unit,GPU)等,本申请实施例对此并不限定。The processor 710 may include a microprocessor, a field-programmable gate array (Field-Programmable GateArray, FPGA), a central processing unit (Central Processing unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU), etc. This is not limited.

本申请实施例的用于视频处理的设备和计算机系统可对应于本申请实施例的用于视频处理的方法的执行主体,并且用于视频处理的设备和计算机系统中的各个模块的上述和其它操作和/或功能分别为了实现前述各个方法的相应流程,为了简洁,在此不再赘述。The apparatus for video processing and the computer system of the embodiments of the present application may correspond to the execution body of the method for video processing of the embodiments of the present application, and the above-mentioned and other modules in the apparatus and computer system for video processing The operations and/or functions are respectively in order to implement the corresponding processes of the foregoing methods, and are not repeated here for the sake of brevity.

本申请实施例还提供了一种电子设备,该电子设备可以包括上述本申请各种实施例的用于视频处理的设备或者计算机系统。An embodiment of the present application further provides an electronic device, and the electronic device may include the video processing device or the computer system according to the various embodiments of the present application.

本申请实施例还提供了一种计算机存储介质,该计算机存储介质中存储有程序代码,该程序代码可以用于指示执行上述本申请实施例的环路滤波的方法。The embodiment of the present application further provides a computer storage medium, where a program code is stored in the computer storage medium, and the program code can be used to instruct to execute the method for loop filtering in the above embodiment of the present application.

应理解,在本申请实施例中,术语“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系。例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that, in this embodiment of the present application, the term "and/or" is only an association relationship for describing associated objects, indicating that there may be three kinds of relationships. For example, A and/or B can mean that A exists alone, A and B exist at the same time, and B exists alone. In addition, the character "/" in this document generally indicates that the related objects are an "or" relationship.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two, in order to clearly illustrate the differences between hardware and software Interchangeability, the above description has generally described the components and steps of each example in terms of function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.

所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system, device and unit described above may refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口、装置或单元的间接耦合或通信连接,也可以是电的,机械的或其它的形式连接。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may also be electrical, mechanical or other forms of connection.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本申请实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solutions of the embodiments of the present application.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以是两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分,或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-OnlyMemory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the present application are essentially or part of contributions to the prior art, or all or part of the technical solutions can be embodied in the form of software products, and the computer software products are stored in a storage medium , including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, removable hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes.

以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of various equivalents within the technical scope disclosed in the present application. Modifications or substitutions shall be covered by the protection scope of this application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (86)

1.一种用于视频处理的方法,其特征在于,包括:1. a method for video processing, is characterized in that, comprises: 在至少一个像素集合中,获取当前块的至少一个第一相似块,其中,所述像素集合包括稀疏的重建像素,所述当前块包括至少一个重建像素;obtaining at least one first similar block of the current block in at least one pixel set, wherein the pixel set includes sparse reconstructed pixels, and the current block includes at least one reconstructed pixel; 基于所述至少一个第一相似块,构建结构数组;constructing an array of structures based on the at least one first similar block; 对所述结构数组进行分解;decompose the array of structures; 根据分解的结构数组,获得重建结构数组。Obtain the reconstructed structure array according to the decomposed structure array. 2.根据权利要求1所述的方法,其特征在于,所述至少一个像素集合包括第一像素集合;2. The method of claim 1, wherein the at least one set of pixels comprises a first set of pixels; 所述在至少一个像素集合中,获取所述至少一个第一相似块,包括:The obtaining the at least one first similar block in the at least one pixel set includes: 基于所述当前块包括的重建像素的位置,确定所述第一像素集合;determining the first set of pixels based on the positions of the reconstructed pixels included in the current block; 从所述第一像素集合中,获取所述第一相似块。From the first set of pixels, the first similar block is obtained. 3.根据权利要求2所述的方法,其特征在于,从所述第一像素集合中,获取所述第一相似块,包括:3. The method according to claim 2, wherein obtaining the first similar block from the first pixel set comprises: 按照从靠近所述当前块到远离所述当前块的搜索方式,从所述第一像素集合中,获取所述第一相似块。The first similar block is acquired from the first pixel set in a search manner from close to the current block to far from the current block. 4.根据权利要求2或3所述的方法,其特征在于,从所述第一像素集合中,获取所述第一相似块,包括:4. The method according to claim 2 or 3, wherein obtaining the first similar block from the first pixel set comprises: 在所述第一像素集合中搜索到的期望块的数量达到第二阈值时,将所述期望块作为所述第一相似块,并停止在所述第一像素集合中进行所述第一相似块的搜索,其中,用于表征所述当前块与所述期望块的相似度的参量的值超出第一阈值。When the number of desired blocks searched in the first pixel set reaches a second threshold, the desired block is used as the first similar block, and the first similarity is stopped in the first pixel set A search of blocks, wherein the value of the parameter characterizing the similarity of the current block to the desired block exceeds a first threshold. 5.根据权利要求2或3所述的方法,其特征在于,从所述第一像素集合中,获取所述第一相似块,包括:5. The method according to claim 2 or 3, wherein obtaining the first similar block from the first pixel set comprises: 在所述第一像素集合的所有像素中,搜索到的期望块的数量大于第二阈值时,按照相似度从高到低的方式,从搜索到的所述期望块中,确定数量等于所述第二阈值的所述第一相似块,其中,用于表征所述当前块与所述期望块的相似度的参量的值超出第一阈值。In all the pixels of the first pixel set, when the number of the searched desired blocks is greater than the second threshold, according to the manner of similarity from high to low, from the searched desired blocks, it is determined that the number is equal to the The first similar block of a second threshold, wherein the value of the parameter characterizing the similarity between the current block and the desired block exceeds the first threshold. 6.根据权利要求2至5中任一项所述的方法,其特征在于,所述至少一个像素集合包括第二像素集合;6. The method of any one of claims 2 to 5, wherein the at least one set of pixels comprises a second set of pixels; 所述在至少一个像素集合中,获取第一相似块,包括:In the at least one pixel set, obtaining the first similar block includes: 根据前次得到的第一相似块包括的重建像素的位置,确定第二像素集合;Determine the second pixel set according to the positions of the reconstructed pixels included in the previously obtained first similar block; 从所述第二像素集合中,再次获取所述第一相似块。From the second set of pixels, the first similar block is obtained again. 7.根据权利要求6所述的方法,其特征在于,从所述第二像素集合中,再次获取所述第一相似块,包括:7. The method according to claim 6, wherein obtaining the first similar block from the second pixel set again comprises: 基于从靠近所述前次得到的所述第一相似块到远离所述前次得到的所述第一相似块的搜索方式,从所述第二像素集合中,再次获取所述第一相似块。Based on the search method from being close to the first similar block obtained last time to being far away from the first similar block obtained last time, obtain the first similar block from the second set of pixels again . 8.根据权利要求6或7所述的方法,其特征在于,从所述第二像素集合中,再次获取所述第一相似块,包括:8. The method according to claim 6 or 7, wherein obtaining the first similar block from the second pixel set again comprises: 在所述第二像素集合中搜索到的期望块的数量达到第三阈值时,将所述期望块确定为所述第一相似块,并停止在所述第二像素集合中进行所述第一相似块的搜索,其中,用于表征所述当前块与所述期望块的相似度的参量的值超出第一阈值。When the number of desired blocks searched in the second pixel set reaches a third threshold, determine the desired block as the first similar block, and stop performing the first similar block in the second pixel set A search of similar blocks, wherein the value of the parameter characterizing the similarity of the current block to the desired block exceeds a first threshold. 9.根据权利要求6或7所述的方法,其特征在于,从所述第二像素集合中,再次获取所述第一相似块,包括:9. The method according to claim 6 or 7, wherein obtaining the first similar block from the second pixel set again comprises: 在所述第二像素集合的所有像素中,搜索到的期望块的数量大于第三阈值时,按照相似度从高到低的方式,从搜索到的所述期望块中,确定数量等于所述第三阈值的所述第一相似块,其中,用于表征所述当前块与所述期望块的相似度的参量的值超出第一阈值。In all the pixels of the second pixel set, when the number of searched desired blocks is greater than the third threshold, according to the manner of similarity from high to low, from the searched desired blocks, it is determined that the number is equal to the The first similarity block of a third threshold, wherein the value of the parameter characterizing the similarity between the current block and the desired block exceeds the first threshold. 10.根据权利要求6至9中任一项所述的方法,其特征在于,10. The method according to any one of claims 6 to 9, wherein 从所述第二像素集合中,再次获取所述第一相似块,包括:所述第二像素集合中之前已经进行了相似块匹配操作的块,不再进行相似块的匹配操作;或者,Obtaining the first similar block from the second set of pixels again includes: in the second set of pixels, the blocks in the second set of pixels that have been subjected to a similar block matching operation before, do not perform a similar block matching operation; or, 所述第二像素集合中不包括已经进行了相似块匹配操作的块。The second pixel set does not include blocks that have undergone similar block matching operations. 11.根据权利要求1至10中任一项所述的方法,其特征在于,所述方法还包括:11. The method according to any one of claims 1 to 10, wherein the method further comprises: 基于模板,确定所述像素集合。Based on the template, the set of pixels is determined. 12.根据权利要求11所述的方法,其特征在于,所述模板中的重建像素聚集为多个分散的图像块,每个图像块的大小大于或等于所述当前块的大小。12 . The method according to claim 11 , wherein the reconstructed pixels in the template are aggregated into a plurality of scattered image blocks, and the size of each image block is greater than or equal to the size of the current block. 13 . 13.根据权利要求11或12所述的方法,其特征在于,所述模板包括用于选择所述第一相似块的多个候选相似块,所述候选相似块的大小等于所述当前块的大小。13. The method according to claim 11 or 12, wherein the template comprises a plurality of candidate similar blocks for selecting the first similar block, and the size of the candidate similar blocks is equal to the size of the current block size. 14.根据权利要求13所述的方法,其特征在于,所述模板包括从中心到边缘的多组候选相似块,每组候选相似块块围成环形,所述环形相对所述模板的中心对称,组内的候选相似块均匀排布。14. The method according to claim 13, wherein the template comprises multiple groups of candidate similar blocks from the center to the edge, and each group of candidate similar blocks forms a ring, and the ring is symmetrical with respect to the center of the template , the candidate similar blocks in the group are evenly arranged. 15.根据权利要求14所述的方法,其特征在于,所述模板包括四组候选相似块,所述四组候选相似块的远离所述模板的中心的边缘像素,相对于所述模板的中心,分别间隔1个像素,2个像素,4个像素和8个像素。15 . The method according to claim 14 , wherein the template comprises four groups of candidate similar blocks, and the edge pixels of the four groups of candidate similar blocks far from the center of the template are relative to the center of the template. 16 . , separated by 1 pixel, 2 pixels, 4 pixels and 8 pixels, respectively. 16.根据权利要求14或15所述的方法,其特征在于,所述四组候选相似块分别具有4个候选相似块,8个候选相似块,8个候选相似块和8个候选相似块,其中,具有4个候选相似块的一组候选相似块距离所述模板的中心最近。16. The method according to claim 14 or 15, wherein the four groups of candidate similar blocks respectively have 4 candidate similar blocks, 8 candidate similar blocks, 8 candidate similar blocks and 8 candidate similar blocks, Among them, a group of candidate similar blocks with 4 candidate similar blocks is closest to the center of the template. 17.根据权利要求11至16中任一项所述的方法,其特征在于,所述至少一个像素集合中,不同的像素集合是基于不同的模板确定的。17. The method according to any one of claims 11 to 16, wherein in the at least one pixel set, different pixel sets are determined based on different templates. 18.根据权利要求2至17中任一项所述的方法,其特征在于,所述方法还包括:18. The method according to any one of claims 2 to 17, wherein the method further comprises: 基于每个所述第一相似块的位置,分别确定像素窗口;based on the position of each of the first similar blocks, respectively determining a pixel window; 在所述像素窗口内,获取所述第二相似块;obtaining the second similar block within the pixel window; 所述基于所述至少一个第一相似块,构建结构数组,包括:The constructing a structure array based on the at least one first similar block includes: 基于所述第一相似块和所述第二相似块,构建所述结构数组。The structure array is constructed based on the first similarity block and the second similarity block. 19.根据权利要求18所述的方法,其特征在于,在所述像素窗口内,确定第二相似块,包括:19. The method according to claim 18, wherein, within the pixel window, determining a second similar block, comprising: 按照逐点扫描的方式,确定所述第二相似块。The second similar block is determined in a point-by-point scanning manner. 20.根据权利要求18或19所述的方法,其特征在于,在所述像素窗口内,获取所述第二相似块,包括:20. The method according to claim 18 or 19, wherein, within the pixel window, acquiring the second similar block comprises: 所述像素窗口中已进行了相似块匹配操作的块,不再进行相似块的匹配操作;或者,For blocks in the pixel window that have been subjected to a similar block matching operation, the similar block matching operation is no longer performed; or, 所述搜索窗口中不包括已经进行了相似块匹配操作的块。The search window does not include blocks that have undergone similar block matching operations. 21.根据权利要求18至20中任一项所述的方法,其特征在于,所述在所述像素窗口内,获取所述第二相似块,包括:21. The method according to any one of claims 18 to 20, wherein the acquiring the second similar block within the pixel window comprises: 在所述像素窗口中搜索到的期望块的数量达到第四阈值时,将搜索到的所述期望块确定为所述第二相似块,并停止在所述像素窗口中进行所述第二相似块的搜索,其中,用于表征所述当前块与所述期望块的相似度的参量的值超出第一阈值。When the number of desired blocks searched in the pixel window reaches a fourth threshold, the desired block searched for is determined as the second similar block, and the second similarity is stopped in the pixel window A search of blocks, wherein the value of the parameter characterizing the similarity of the current block to the desired block exceeds a first threshold. 22.根据权利要求18至20中任一项所述的方法,其特征在于,所述在所述像素窗口内,获取所述第二相似块,包括:22. The method according to any one of claims 18 to 20, wherein the acquiring the second similar block within the pixel window comprises: 在所述像素窗口中的所有像素中,搜索到的期望块的数量大于第四阈值时,按照相似度从高到低的方式,从所述期望块中,确定数量等于所述第四阈值的所述第二相似块,其中,用于表征所述当前块与所述期望块的相似度的参量的值超出第一阈值。In all pixels in the pixel window, when the number of searched desired blocks is greater than the fourth threshold, according to the manner of similarity from high to low, from the desired blocks, determine the number of blocks equal to the fourth threshold The second similar block, wherein the value of the parameter representing the similarity between the current block and the desired block exceeds a first threshold. 23.根据权利要求1至22中任一项所述的方法,其特征在于,用于表征所述当前块与所述当前块的相似块的相似度的参量的值超出第一阈值。23. The method according to any one of claims 1 to 22, wherein the value of the parameter used to characterize the similarity between the current block and similar blocks of the current block exceeds a first threshold. 24.根据权利要求23所述的方法,其特征在于,所述第一阈值是基于以下参数中的至少一种确定的:24. The method of claim 23, wherein the first threshold is determined based on at least one of the following parameters: 所述当前块的大小,视频的比特深度,所述当前块的像素和,所述当前块的像素的水平梯度,所述当前块的像素的垂直梯度。The size of the current block, the bit depth of the video, the pixel sum of the current block, the horizontal gradient of the pixels of the current block, the vertical gradient of the pixels of the current block. 25.根据权利要求24所述的方法,其特征在于,在表征所述相似度的参量是哈希值的差值时,25. The method according to claim 24, wherein, when the parameter characterizing the similarity is the difference of the hash values, 所述第一阈值是基于以下参数中的至少一种确定的:The first threshold is determined based on at least one of the following parameters: 所述当前块的像素和,所述当前块的像素的水平梯度,所述当前块的像素的垂直梯度。The sum of the pixels of the current block, the horizontal gradient of the pixels of the current block, and the vertical gradient of the pixels of the current block. 26.根据权利要求24所述的方法,其特征在于,在表征所述相似度的参量是误差平方和SSD或绝对误差和SAD时,26. The method according to claim 24, characterized in that, when the parameter characterizing the similarity is the sum of squared errors (SSD) or the sum of absolute errors (SAD), 所述第一阈值是基于以下参数中的至少一种确定的:所述当前块的大小,视频的比特深度。The first threshold is determined based on at least one of the following parameters: the size of the current block, and the bit depth of the video. 27.根据权利要求24所述的方法,其特征在于,在表征所述相似度的参量是平均绝对差MAD,平均误差平方和MSD或结构相似性指标SSIM时,27. The method according to claim 24, wherein, when the parameter characterizing the similarity is mean absolute difference MAD, mean squared error MSD or structural similarity index SSIM, 所述第一阈值是基于视频的比特深度确定的。The first threshold is determined based on the bit depth of the video. 28.根据权利要求23至27中任一项所述的方法,其特征在于,所述方法由编码端实现;所述方法还包括:28. The method according to any one of claims 23 to 27, wherein the method is implemented by an encoding end; the method further comprises: 所述编码端确定所述第一阈值,以及将所述第一阈值进行编码。The encoding end determines the first threshold, and encodes the first threshold. 29.根据权利要求23至28中任一项所述的方法,其特征在于,所述方法由解码端实现;所述方法还包括:29. The method according to any one of claims 23 to 28, wherein the method is implemented by a decoding end; the method further comprises: 所述解码端获取码流中的所述第一阈值。The decoding end obtains the first threshold in the code stream. 30.根据权利要求1至29中任一项所述的方法,其特征在于,表征相似度的参量为:哈希值的差值、SSD、SAD、MAD、MSD或SSIM。30. The method according to any one of claims 1 to 29, wherein the parameter representing the similarity is: difference of hash values, SSD, SAD, MAD, MSD or SSIM. 31.根据权利要求30所述的方法,其特征在于,用于获取所述相似块的重建像素包括:31. The method of claim 30, wherein obtaining reconstructed pixels of the similar block comprises: 所述当前块所属的编码单元的上侧的重建像素、所述编码单元的左侧的重建像素和所述编码单元的重建像素;或,The reconstructed pixels on the upper side of the coding unit to which the current block belongs, the reconstructed pixels on the left side of the coding unit, and the reconstructed pixels of the coding unit; or, 所述编码单元的上侧的重建像素、所述编码单元的左侧的重建像素、所述编码单元的右侧的重建像素、所述编码单元的下侧的重建像素和所述编码单元的重建像素;或,Reconstructed pixels on the upper side of the coding unit, reconstructed pixels on the left side of the coding unit, reconstructed pixels on the right side of the coding unit, reconstructed pixels on the lower side of the coding unit, and reconstruction of the coding unit pixels; or, 所述编码单元的重建像素。reconstructed pixels of the coding unit. 32.根据权利要求31所述的方法,其特征在于,所述编码单元的上侧的重建像素的垂直方向的像素个数少于或等于所述编码单元的左侧的重建像素的水平方向的像素个数。32. The method according to claim 31, wherein the number of pixels in the vertical direction of the reconstructed pixels on the upper side of the coding unit is less than or equal to the number of pixels in the horizontal direction of the reconstructed pixels on the left side of the coding unit. number of pixels. 33.一种用于视频处理的方法,其特征在于,包括:33. A method for video processing, comprising: 从重建像素中,获取当前块的至少一个相似块,所述当前块包括至少一个重建像素,其中,用于表征所述当前块与所述相似块的相似度的参量的值超出第一阈值;From the reconstructed pixels, obtain at least one similar block of the current block, the current block includes at least one reconstructed pixel, wherein the value of the parameter used to characterize the similarity between the current block and the similar block exceeds a first threshold; 基于所述至少一个相似块,构建结构数组;constructing an array of structures based on the at least one similar block; 对所述结构数组进行分解;decompose the array of structures; 根据分解的结构数组,获得重建结构数组。Obtain the reconstructed structure array according to the decomposed structure array. 34.根据权利要求33所述的方法,其特征在于,所述相似块的数量小于或等于第二阈值。34. The method of claim 33, wherein the number of similar blocks is less than or equal to a second threshold. 35.根据权利要求34所述的方法,其特征在于,所述从重建像素中,获取当前块的至少一个相似块,包括:35. The method according to claim 34, wherein obtaining at least one similar block of the current block from the reconstructed pixels comprises: 在搜索到的期望块的数量达到所述第二阈值时,将所述期望块作为所述相似块,并停止所述相似块的搜索,其中,用于表征所述当前块与所述期望块的相似度的参量的值超出第一阈值。When the number of searched desired blocks reaches the second threshold, the desired block is regarded as the similar block, and the search of the similar block is stopped, wherein the desired block is used to characterize the current block and the desired block The value of the similarity parameter exceeds the first threshold. 36.根据权利要求34所述的方法,其特征在于,所述从重建像素中,获取当前块的至少一个相似块,包括:36. The method according to claim 34, wherein the obtaining at least one similar block of the current block from the reconstructed pixels comprises: 在所述重建像素的所有像素中,搜索到的期望块的数量大于所述第二阈值时,按照相似度从高到低的方式,从所述期望块中,确定数量等于所述第二阈值的所述相似块,其中,用于表征所述当前块与所述期望块的相似度的参量的值超出第一阈值。In all the pixels of the reconstructed pixels, when the number of the desired blocks searched is greater than the second threshold, according to the manner of similarity from high to low, from the desired blocks, it is determined that the number is equal to the second threshold The similar block of , wherein the value of the parameter characterizing the similarity between the current block and the desired block exceeds a first threshold. 37.根据权利要求33至36中任一项所述的方法,其特征在于,所述第一阈值是基于以下参数中的至少一种确定的:37. The method of any one of claims 33 to 36, wherein the first threshold is determined based on at least one of the following parameters: 所述当前块的大小,视频的比特深度,所述当前块的像素和,所述当前块的像素的水平梯度,所述当前块的像素的垂直梯度。The size of the current block, the bit depth of the video, the pixel sum of the current block, the horizontal gradient of the pixels of the current block, the vertical gradient of the pixels of the current block. 38.根据权利要求37所述的方法,其特征在于,在表征所述相似度的参量是哈希值的差值时,38. The method according to claim 37, wherein, when the parameter characterizing the similarity is the difference of hash values, 所述第一阈值是基于以下参数中的至少一种确定的:The first threshold is determined based on at least one of the following parameters: 所述当前块的像素和,所述当前块的像素的水平梯度,所述当前块的像素的垂直梯度。The sum of the pixels of the current block, the horizontal gradient of the pixels of the current block, and the vertical gradient of the pixels of the current block. 39.根据权利要求37所述的方法,其特征在于,在表征所述相似度的参量是误差平方和SSD或绝对误差和SAD时,39. The method according to claim 37, wherein, when the parameter characterizing the similarity is the sum of squared errors (SSD) or the sum of absolute errors (SAD), 所述第一阈值是基于以下参数中的至少一种确定的:所述当前块的大小,视频的比特深度。The first threshold is determined based on at least one of the following parameters: the size of the current block, and the bit depth of the video. 40.根据权利要求37所述的方法,其特征在于,在表征所述相似度的参量是平均绝对差MAD,平均误差平方和MSD或结构相似性指标SSIM时,40. The method according to claim 37, wherein, when the parameter characterizing the similarity is the mean absolute difference MAD, the mean squared error MSD or the structural similarity index SSIM, 所述第一阈值是基于视频的比特深度确定的。The first threshold is determined based on the bit depth of the video. 41.根据权利要求33至40中任一项所述的方法,其特征在于,表征相似度的参量为:哈希值的差值、SSD、SAD、MAD、MSD或SSIM。41. The method according to any one of claims 33 to 40, wherein the parameter representing the similarity is: difference of hash values, SSD, SAD, MAD, MSD or SSIM. 42.根据权利要求33至41中任一项所述的方法,其特征在于,所述方法由编码端实现;所述方法还包括:42. The method according to any one of claims 33 to 41, wherein the method is implemented by an encoding end; the method further comprises: 所述编码端确定所述第一阈值,以及将所述第一阈值进行编码。The encoding end determines the first threshold, and encodes the first threshold. 43.根据权利要求33至41中任一项所述的方法,其特征在于,所述方法由解码端实现;所述方法还包括:43. The method according to any one of claims 33 to 41, wherein the method is implemented by a decoding end; the method further comprises: 所述解码端获取码流中的所述第一阈值。The decoding end obtains the first threshold in the code stream. 44.一种用于视频处理的设备,其特征在于,包括:44. A device for video processing, comprising: 相似块获取单元,用于在至少一个像素集合中,获取当前块的至少一个第一相似块,其中,所述像素集合包括稀疏的重建像素,所述当前块包括至少一个重建像素;a similar block obtaining unit, configured to obtain at least one first similar block of the current block in at least one pixel set, wherein the pixel set includes sparse reconstructed pixels, and the current block includes at least one reconstructed pixel; 构建单元,用于基于所述至少一个第一相似块,构建结构数组;a construction unit for constructing a structure array based on the at least one first similar block; 分解单元,用于对所述结构数组进行分解;a decomposition unit for decomposing the structure array; 重建单元,用于根据分解的结构数组,获得重建结构数组。The reconstruction unit is used to obtain the reconstructed structure array according to the decomposed structure array. 45.根据权利要求44所述的设备,其特征在于,所述至少一个像素集合包括第一像素集合;45. The apparatus of claim 44, wherein the at least one set of pixels comprises a first set of pixels; 所述相似块获取单元具体用于:The similar block obtaining unit is specifically used for: 基于所述当前块包括的重建像素的位置,确定所述第一像素集合;determining the first set of pixels based on the positions of the reconstructed pixels included in the current block; 从所述第一像素集合中,获取所述第一相似块。From the first set of pixels, the first similar block is obtained. 46.根据权利要求45所述的设备,其特征在于,所述相似块获取单元具体用于:46. The device according to claim 45, wherein the similar block obtaining unit is specifically configured to: 按照从靠近所述当前块到远离所述当前块的搜索方式,从所述第一像素集合中,获取所述第一相似块。The first similar block is acquired from the first pixel set in a search manner from close to the current block to far from the current block. 47.根据权利要求45或46所述的设备,其特征在于,所述相似块获取单元具体用于:47. The device according to claim 45 or 46, wherein the similar block obtaining unit is specifically configured to: 在所述第一像素集合中搜索到的期望块的数量达到第二阈值时,将所述期望块作为所述第一相似块,并停止在所述第一像素集合中进行所述第一相似块的搜索,其中,用于表征所述当前块与所述期望块的相似度的参量的值超出第一阈值。When the number of desired blocks searched in the first pixel set reaches a second threshold, the desired block is used as the first similar block, and the first similarity is stopped in the first pixel set A search of blocks, wherein the value of the parameter characterizing the similarity of the current block to the desired block exceeds a first threshold. 48.根据权利要求45或46所述的设备,其特征在于,所述相似块获取单元具体用于:48. The device according to claim 45 or 46, wherein the similar block obtaining unit is specifically configured to: 在所述第一像素集合的所有像素中,搜索到的期望块的数量大于第二阈值时,按照相似度从高到低的方式,从搜索到的所述期望块中,确定数量等于所述第二阈值的所述第一相似块,其中,用于表征所述当前块与所述期望块的相似度的参量的值超出第一阈值。In all the pixels of the first pixel set, when the number of the searched desired blocks is greater than the second threshold, according to the manner of similarity from high to low, from the searched desired blocks, it is determined that the number is equal to the The first similar block of a second threshold, wherein the value of the parameter characterizing the similarity between the current block and the desired block exceeds the first threshold. 49.根据权利要求45至48中任一项所述的设备,其特征在于,所述至少一个像素集合包括第二像素集合;49. The apparatus of any one of claims 45 to 48, wherein the at least one set of pixels comprises a second set of pixels; 所述相似块获取单元具体用于:The similar block obtaining unit is specifically used for: 根据前次得到的第一相似块包括的重建像素的位置,确定第二像素集合;Determine the second pixel set according to the positions of the reconstructed pixels included in the previously obtained first similar block; 从所述第二像素集合中,再次获取所述第一相似块。From the second set of pixels, the first similar block is obtained again. 50.根据权利要求49所述的设备,其特征在于,所述相似块获取单元具体用于:50. The device according to claim 49, wherein the similar block obtaining unit is specifically configured to: 基于从靠近所述前次得到的所述第一相似块到远离所述前次得到的所述第一相似块的搜索方式,从所述第二像素集合中,再次获取所述第一相似块。Based on the search method from being close to the first similar block obtained last time to being far away from the first similar block obtained last time, obtain the first similar block from the second set of pixels again . 51.根据权利要求49或50所述的设备,其特征在于,所述相似块获取单元具体用于:51. The device according to claim 49 or 50, wherein the similar block obtaining unit is specifically configured to: 在所述第二像素集合中搜索到的期望块的数量达到第三阈值时,将所述期望块确定为所述第一相似块,并停止在所述第二像素集合中进行所述第一相似块的搜索,其中,用于表征所述当前块与所述期望块的相似度的参量的值超出第一阈值。When the number of desired blocks searched in the second pixel set reaches a third threshold, determine the desired block as the first similar block, and stop performing the first similar block in the second pixel set A search of similar blocks, wherein the value of the parameter characterizing the similarity of the current block to the desired block exceeds a first threshold. 52.根据权利要求49或50所述的设备,其特征在于,所述相似块获取单元具体用于:52. The device according to claim 49 or 50, wherein the similar block obtaining unit is specifically configured to: 在所述第二像素集合的所有像素中,搜索到的期望块的数量大于第三阈值时,按照相似度从高到低的方式,从搜索到的所述期望块中,确定数量等于所述第三阈值的所述第一相似块,其中,用于表征所述当前块与所述期望块的相似度的参量的值超出第一阈值。In all the pixels of the second pixel set, when the number of searched desired blocks is greater than the third threshold, according to the manner of similarity from high to low, from the searched desired blocks, it is determined that the number is equal to the The first similarity block of a third threshold, wherein the value of the parameter characterizing the similarity between the current block and the desired block exceeds the first threshold. 53.根据权利要求49至52中任一项所述的设备,其特征在于,53. The apparatus of any one of claims 49 to 52, wherein 所述相似块获取单元具体用于:所述第二像素集合中之前已经进行了相似块匹配操作的块,不再进行相似块的匹配操作;或者,The similar block obtaining unit is specifically configured to: in the second pixel set, blocks that have been subjected to a similar block matching operation before, do not perform a similar block matching operation; or, 所述第二像素集合中不包括已经进行了相似块匹配操作的块。The second pixel set does not include blocks that have undergone similar block matching operations. 54.根据权利要求44至53中任一项所述的设备,其特征在于,所述相似块获取单元进一步用于:54. The device according to any one of claims 44 to 53, wherein the similar block obtaining unit is further configured to: 基于模板,确定所述像素集合。Based on the template, the set of pixels is determined. 55.根据权利要求54所述的设备,其特征在于,所述模板中的重建像素聚集为多个分散的图像块,每个图像块的大小大于或等于所述当前块的大小。55. The device according to claim 54, wherein the reconstructed pixels in the template are aggregated into a plurality of scattered image blocks, and the size of each image block is greater than or equal to the size of the current block. 56.根据权利要求54或55所述的设备,其特征在于,所述模板包括用于选择所述第一相似块的多个候选相似块,所述候选相似块的大小等于所述当前块的大小。56. The apparatus according to claim 54 or 55, wherein the template comprises a plurality of candidate similar blocks for selecting the first similar block, the size of the candidate similar blocks being equal to the size of the current block size. 57.根据权利要求56所述的设备,其特征在于,所述模板包括从中心到边缘的多组候选相似块,每组候选相似块块围成环形,所述环形相对所述模板的中心对称,组内的候选相似块均匀排布。57. The device according to claim 56, wherein the template comprises multiple groups of candidate similar blocks from the center to the edge, and each group of candidate similar blocks forms a ring, and the ring is symmetrical with respect to the center of the template , the candidate similar blocks in the group are evenly arranged. 58.根据权利要求57所述的设备,其特征在于,所述模板包括四组候选相似块,所述四组候选相似块的远离所述模板的中心的边缘像素,相对于所述模板的中心,分别间隔1个像素,2个像素,4个像素和8个像素。58. The apparatus of claim 57, wherein the template comprises four groups of candidate similar blocks, and the edge pixels of the four groups of candidate similar blocks far from the center of the template are relative to the center of the template , separated by 1 pixel, 2 pixels, 4 pixels and 8 pixels, respectively. 59.根据权利要求57或58所述的设备,其特征在于,所述四组候选相似块分别具有4个候选相似块,8个候选相似块,8个候选相似块和8个候选相似块,其中,具有4个候选相似块的一组候选相似块距离所述模板的中心最近。59. The device according to claim 57 or 58, wherein the four groups of candidate similar blocks respectively have 4 candidate similar blocks, 8 candidate similar blocks, 8 candidate similar blocks and 8 candidate similar blocks, Among them, a group of candidate similar blocks with 4 candidate similar blocks is closest to the center of the template. 60.根据权利要求54至59中任一项所述的设备,其特征在于,所述至少一个像素集合中,不同的像素集合是基于不同的模板确定的。60. The device according to any one of claims 54 to 59, wherein in the at least one pixel set, different pixel sets are determined based on different templates. 61.根据权利要求45至60中任一项所述的设备,其特征在于,所述相似块获取单元进一步用于:61. The device according to any one of claims 45 to 60, wherein the similar block obtaining unit is further configured to: 基于每个所述第一相似块的位置,分别确定像素窗口;based on the position of each of the first similar blocks, respectively determining a pixel window; 在所述像素窗口内,获取所述第二相似块;obtaining the second similar block within the pixel window; 所述构建单元具体用于:The building unit is specifically used for: 基于所述第一相似块和所述第二相似块,构建所述结构数组。The structure array is constructed based on the first similarity block and the second similarity block. 62.根据权利要求61所述的设备,其特征在于,所述相似块获取单元具体用于:62. The device according to claim 61, wherein the similar block obtaining unit is specifically configured to: 按照逐点扫描的方式,确定所述第二相似块。The second similar block is determined in a point-by-point scanning manner. 63.根据权利要求61或62所述的设备,其特征在于,所述相似块获取单元具体用于:所述像素窗口中已进行了相似块匹配操作的块,不再进行相似块的匹配操作;或者,63. The device according to claim 61 or 62, wherein the similar block obtaining unit is specifically configured to: a block in the pixel window that has undergone a similar block matching operation, and no longer perform a similar block matching operation ;or, 所述搜索窗口中不包括已经进行了相似块匹配操作的块。The search window does not include blocks that have undergone similar block matching operations. 64.根据权利要求61至63中任一项所述的设备,其特征在于,所述相似块获取单元具体用于:64. The device according to any one of claims 61 to 63, wherein the similar block obtaining unit is specifically configured to: 在所述像素窗口中搜索到的期望块的数量达到第四阈值时,将搜索到的所述期望块确定为所述第二相似块,并停止在所述像素窗口中进行所述第二相似块的搜索,其中,用于表征所述当前块与所述期望块的相似度的参量的值超出第一阈值。When the number of desired blocks searched in the pixel window reaches a fourth threshold, the desired block searched for is determined as the second similar block, and the second similarity is stopped in the pixel window A search of blocks, wherein the value of the parameter characterizing the similarity of the current block to the desired block exceeds a first threshold. 65.根据权利要求61至63中任一项所述的设备,其特征在于,所述相似块获取单元具体用于:65. The device according to any one of claims 61 to 63, wherein the similar block obtaining unit is specifically configured to: 在所述像素窗口中的所有像素中,搜索到的期望块的数量大于第四阈值时,按照相似度从高到低的方式,从所述期望块中,确定数量等于所述第四阈值的所述第二相似块,其中,用于表征所述当前块与所述期望块的相似度的参量的值超出第一阈值。In all pixels in the pixel window, when the number of searched desired blocks is greater than the fourth threshold, according to the manner of similarity from high to low, from the desired blocks, determine the number of blocks equal to the fourth threshold The second similar block, wherein the value of the parameter representing the similarity between the current block and the desired block exceeds a first threshold. 66.根据权利要求44至65中任一项所述的设备,其特征在于,用于表征所述当前块与所述当前块的相似块的相似度的参量的值超出第一阈值。66. The apparatus according to any one of claims 44 to 65, wherein the value of the parameter used to characterize the similarity of the current block to similar blocks of the current block exceeds a first threshold. 67.根据权利要求66所述的设备,其特征在于,所述第一阈值是基于以下参数中的至少一种确定的:67. The device of claim 66, wherein the first threshold is determined based on at least one of the following parameters: 所述当前块的大小,视频的比特深度,所述当前块的像素和,所述当前块的像素的水平梯度,所述当前块的像素的垂直梯度。The size of the current block, the bit depth of the video, the pixel sum of the current block, the horizontal gradient of the pixels of the current block, the vertical gradient of the pixels of the current block. 68.根据权利要求67所述的设备,其特征在于,在表征所述相似度的参量是哈希值的差值时,68. The device according to claim 67, wherein when the parameter characterizing the similarity is a difference of hash values, 所述第一阈值是基于以下参数中的至少一种确定的:The first threshold is determined based on at least one of the following parameters: 所述当前块的像素和,所述当前块的像素的水平梯度,所述当前块的像素的垂直梯度。The sum of the pixels of the current block, the horizontal gradient of the pixels of the current block, and the vertical gradient of the pixels of the current block. 69.根据权利要求67所述的设备,其特征在于,在表征所述相似度的参量是误差平方和SSD或绝对误差和SAD时,69. The apparatus according to claim 67, wherein, when the parameter characterizing the similarity is the sum of squared errors (SSD) or the sum of absolute errors (SAD), 所述第一阈值是基于以下参数中的至少一种确定的:所述当前块的大小,视频的比特深度。The first threshold is determined based on at least one of the following parameters: the size of the current block, and the bit depth of the video. 70.根据权利要求67所述的设备,其特征在于,在表征所述相似度的参量是平均绝对差MAD,平均误差平方和MSD或结构相似性指标SSIM时,70. The device according to claim 67, wherein, when the parameter characterizing the similarity is the mean absolute difference MAD, the mean squared error MSD or the structural similarity index SSIM, 所述第一阈值是基于视频的比特深度确定的。The first threshold is determined based on the bit depth of the video. 71.根据权利要求66至70中任一项所述的设备,其特征在于,所述设备由编码端实现;所述设备还包括:71. The device according to any one of claims 66 to 70, wherein the device is implemented by an encoding terminal; the device further comprises: 编码单元,确定所述第一阈值,以及将所述第一阈值进行编码。an encoding unit that determines the first threshold and encodes the first threshold. 72.根据权利要求66至71中任一项所述的设备,其特征在于,所述设备由解码端实现;所述设备还包括:72. The device according to any one of claims 66 to 71, wherein the device is implemented by a decoding end; the device further comprises: 获取单元,用于获取码流中的所述第一阈值。an obtaining unit, configured to obtain the first threshold in the code stream. 73.根据权利要求44至72中任一项所述的设备,其特征在于,表征相似度的参量为:哈希值的差值、SSD、SAD、MAD、MSD或SSIM。73. The device according to any one of claims 44 to 72, wherein the parameter representing the similarity is: difference of hash values, SSD, SAD, MAD, MSD or SSIM. 74.根据权利要求44至73中任一项所述的设备,其特征在于,用于获取所述相似块的重建像素包括:74. The apparatus according to any one of claims 44 to 73, wherein the reconstructed pixels for obtaining the similar blocks comprise: 所述当前块所属的编码单元的上侧的重建像素、所述编码单元的左侧的重建像素和所述编码单元的重建像素;或,The reconstructed pixels on the upper side of the coding unit to which the current block belongs, the reconstructed pixels on the left side of the coding unit, and the reconstructed pixels of the coding unit; or, 所述编码单元的上侧的重建像素、所述编码单元的左侧的重建像素、所述编码单元的右侧的重建像素、所述编码单元的下侧的重建像素和所述编码单元的重建像素;或,Reconstructed pixels on the upper side of the coding unit, reconstructed pixels on the left side of the coding unit, reconstructed pixels on the right side of the coding unit, reconstructed pixels on the lower side of the coding unit, and reconstruction of the coding unit pixels; or, 所述编码单元的重建像素。reconstructed pixels of the coding unit. 75.根据权利要求74所述的设备,其特征在于,所述编码单元的上侧的重建像素的垂直方向的像素个数少于或等于所述编码单元的左侧的重建像素的水平方向的像素个数。75. The device according to claim 74, wherein the number of pixels in the vertical direction of the reconstructed pixels on the upper side of the coding unit is less than or equal to the number of pixels in the horizontal direction of the reconstructed pixels on the left side of the coding unit. number of pixels. 76.一种用于视频处理的设备,其特征在于,包括:76. A device for video processing, comprising: 相似块获取单元,用于从重建像素中,获取当前块的至少一个相似块,所述当前块包括至少一个重建像素,其中,用于表征所述当前块与所述相似块的相似度的参量的值超出第一阈值;A similar block obtaining unit, configured to obtain at least one similar block of the current block from the reconstructed pixels, where the current block includes at least one reconstructed pixel, wherein a parameter used to characterize the similarity between the current block and the similar block The value of exceeds the first threshold; 构建单元,用于基于所述至少一个相似块,构建结构数组;a building unit for building a structure array based on the at least one similar block; 分解单元,用于对所述结构数组进行分解;a decomposition unit for decomposing the structure array; 重建单元,用于根据分解的结构数组,获得重建结构数组。The reconstruction unit is used to obtain the reconstructed structure array according to the decomposed structure array. 77.根据权利要求76所述的设备,其特征在于,所述相似块的数量小于或等于第二阈值。77. The apparatus of claim 76, wherein the number of similar blocks is less than or equal to a second threshold. 78.根据权利要求77所述的设备,其特征在于,所述相似块获取单元进一步用于:78. The device according to claim 77, wherein the similar block obtaining unit is further configured to: 在搜索到的期望块的数量达到所述第二阈值时,将所述期望块作为所述相似块,并停止所述相似块的搜索,其中,用于表征所述当前块与所述期望块的相似度的参量的值超出第一阈值。When the number of searched desired blocks reaches the second threshold, the desired block is regarded as the similar block, and the search of the similar block is stopped, wherein the desired block is used to characterize the current block and the desired block The value of the similarity parameter exceeds the first threshold. 79.根据权利要求77所述的设备,其特征在于,所述相似块获取单元进一步用于:79. The device according to claim 77, wherein the similar block obtaining unit is further configured to: 在所述重建像素的所有像素中,搜索到的期望块的数量大于所述第二阈值时,按照相似度从高到低的方式,从所述期望块中,确定数量等于所述第二阈值的所述相似块,其中,用于表征所述当前块与所述期望块的相似度的参量的值超出第一阈值。In all the pixels of the reconstructed pixels, when the number of the desired blocks searched is greater than the second threshold, according to the manner of similarity from high to low, from the desired blocks, it is determined that the number is equal to the second threshold The similar block of , wherein the value of the parameter characterizing the similarity between the current block and the desired block exceeds a first threshold. 80.根据权利要求76至79中任一项所述的设备,其特征在于,所述第一阈值是基于以下参数中的至少一种确定的:80. The device of any one of claims 76 to 79, wherein the first threshold is determined based on at least one of the following parameters: 所述当前块的大小,视频的比特深度,所述当前块的像素和,所述当前块的像素的水平梯度,所述当前块的像素的垂直梯度。The size of the current block, the bit depth of the video, the pixel sum of the current block, the horizontal gradient of the pixels of the current block, the vertical gradient of the pixels of the current block. 81.根据权利要求80所述的设备,其特征在于,在表征所述相似度的参量是哈希值的差值时,81. The device according to claim 80, wherein when the parameter characterizing the similarity is a difference of hash values, 所述第一阈值是基于以下参数中的至少一种确定的:The first threshold is determined based on at least one of the following parameters: 所述当前块的像素和,所述当前块的像素的水平梯度,所述当前块的像素的垂直梯度。The sum of the pixels of the current block, the horizontal gradient of the pixels of the current block, and the vertical gradient of the pixels of the current block. 82.根据权利要求80所述的设备,其特征在于,在表征所述相似度的参量是误差平方和SSD或绝对误差和SAD时,82. The apparatus according to claim 80, wherein, when the parameter characterizing the similarity is the sum of squared errors (SSD) or the sum of absolute errors (SAD), 所述第一阈值是基于以下参数中的至少一种确定的:所述当前块的大小,视频的比特深度。The first threshold is determined based on at least one of the following parameters: the size of the current block, and the bit depth of the video. 83.根据权利要求80所述的设备,其特征在于,在表征所述相似度的参量是平均绝对差MAD,平均误差平方和MSD或结构相似性指标SSIM时,83. The device according to claim 80, wherein, when the parameter characterizing the similarity is mean absolute difference MAD, mean squared error MSD or structural similarity index SSIM, 所述第一阈值是基于视频的比特深度确定的。The first threshold is determined based on the bit depth of the video. 84.根据权利要求76至83中任一项所述的设备,其特征在于,表征相似度的参量为:哈希值的差值、SSD、SAD、MAD、MSD或SSIM。84. The device according to any one of claims 76 to 83, wherein the parameter representing the similarity is: difference of hash values, SSD, SAD, MAD, MSD or SSIM. 85.根据权利要求76至84中任一项所述的设备,其特征在于,所述设备由编码端实现;所述设备还包括:85. The device according to any one of claims 76 to 84, wherein the device is implemented by an encoding terminal; the device further comprises: 发送单元,用于确定所述第一阈值,以及将所述第一阈值进行编码。A sending unit, configured to determine the first threshold and encode the first threshold. 86.根据权利要求76至84中任一项所述的设备,其特征在于,所述设备由解码端实现;所述设备还包括:86. The device according to any one of claims 76 to 84, wherein the device is implemented by a decoding end; the device further comprises: 接收单元,用于获取码流中的所述第一阈值。A receiving unit, configured to acquire the first threshold in the code stream.
CN201880012506.0A 2018-04-02 2018-04-02 Method and apparatus for video processing Pending CN110352599A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/081653 WO2019191891A1 (en) 2018-04-02 2018-04-02 Method and device for video processing

Publications (1)

Publication Number Publication Date
CN110352599A true CN110352599A (en) 2019-10-18

Family

ID=68099773

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201880012506.0A Pending CN110352599A (en) 2018-04-02 2018-04-02 Method and apparatus for video processing
CN201880012519.8A Expired - Fee Related CN110383837B (en) 2018-04-02 2018-06-01 Method and apparatus for video processing

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201880012519.8A Expired - Fee Related CN110383837B (en) 2018-04-02 2018-06-01 Method and apparatus for video processing

Country Status (2)

Country Link
CN (2) CN110352599A (en)
WO (2) WO2019191891A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111914890B (en) * 2020-06-23 2024-05-14 北京迈格威科技有限公司 Image block matching method between images, image registration method and product
CN112804528B (en) * 2021-02-05 2022-10-28 北京字节跳动网络技术有限公司 Screen content processing method, device and equipment
CN113382246B (en) * 2021-04-20 2024-03-01 浙江大华技术股份有限公司 Encoding method, encoding device, electronic device and computer readable storage medium
CN118175311A (en) * 2022-12-09 2024-06-11 腾讯科技(深圳)有限公司 Video data processing method, device, storage medium and equipment

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060002613A1 (en) * 2004-06-30 2006-01-05 Comet Video Technology Method of data compression including compression of video data
US20090067502A1 (en) * 2005-04-15 2009-03-12 Byeong Moon Jeon Method for Scalably Encoding and Decoding Video Signal
CN101833667A (en) * 2010-04-21 2010-09-15 中国科学院半导体研究所 A Classification Method for Pattern Recognition Based on Grouped Sparse Representation
CN101895297A (en) * 2010-07-30 2010-11-24 哈尔滨工业大学 Compressed sensing-oriented block-sparse signal reconfiguring method
CN102164282A (en) * 2011-04-29 2011-08-24 中南民族大学 Coefficient-random-permutation-based compressive sensing method and system for image coding
US20130051468A1 (en) * 2010-03-12 2013-02-28 Tsinghua University Method and device for video predictive encoding
CN105096351A (en) * 2014-05-19 2015-11-25 北京大学 Method and device for processing image de-blocking effect
CN105513026A (en) * 2015-12-17 2016-04-20 浙江大学 Compressed sensing reconstruction method based on image nonlocal similarity
CN105763881A (en) * 2016-02-23 2016-07-13 北京大学 Video coding image filtering method based on image nonlocal structural similarity characteristic
CN105791877A (en) * 2016-03-15 2016-07-20 北京大学 A Method of Adaptive Loop Filtering in Video Codec
CN106327422A (en) * 2015-07-01 2017-01-11 北京大学 Image stylized reconstruction method and device
US20170202532A1 (en) * 2014-07-30 2017-07-20 Hitachi, Ltd. Data processing method, data processing device, and x-ray ct apparatus
CN107292852A (en) * 2017-07-19 2017-10-24 南京邮电大学 A kind of Image denoising algorithm theoretical based on low-rank

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103020918B (en) * 2013-01-09 2015-05-20 西安电子科技大学 Shape-adaptive neighborhood mean value based non-local mean value denoising method
CN103473740B (en) * 2013-08-31 2016-05-25 西安电子科技大学 Based on the non local denoising method of rarefaction representation and low-rank double constraints
US9576346B2 (en) * 2015-03-24 2017-02-21 Intel Corporation Non-local means image denoising with an adaptive directional spatial filter

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060002613A1 (en) * 2004-06-30 2006-01-05 Comet Video Technology Method of data compression including compression of video data
US20090067502A1 (en) * 2005-04-15 2009-03-12 Byeong Moon Jeon Method for Scalably Encoding and Decoding Video Signal
US20130051468A1 (en) * 2010-03-12 2013-02-28 Tsinghua University Method and device for video predictive encoding
CN101833667A (en) * 2010-04-21 2010-09-15 中国科学院半导体研究所 A Classification Method for Pattern Recognition Based on Grouped Sparse Representation
CN101895297A (en) * 2010-07-30 2010-11-24 哈尔滨工业大学 Compressed sensing-oriented block-sparse signal reconfiguring method
CN102164282A (en) * 2011-04-29 2011-08-24 中南民族大学 Coefficient-random-permutation-based compressive sensing method and system for image coding
CN105096351A (en) * 2014-05-19 2015-11-25 北京大学 Method and device for processing image de-blocking effect
US20170202532A1 (en) * 2014-07-30 2017-07-20 Hitachi, Ltd. Data processing method, data processing device, and x-ray ct apparatus
CN106327422A (en) * 2015-07-01 2017-01-11 北京大学 Image stylized reconstruction method and device
CN105513026A (en) * 2015-12-17 2016-04-20 浙江大学 Compressed sensing reconstruction method based on image nonlocal similarity
CN105763881A (en) * 2016-02-23 2016-07-13 北京大学 Video coding image filtering method based on image nonlocal structural similarity characteristic
CN105791877A (en) * 2016-03-15 2016-07-20 北京大学 A Method of Adaptive Loop Filtering in Video Codec
CN107292852A (en) * 2017-07-19 2017-10-24 南京邮电大学 A kind of Image denoising algorithm theoretical based on low-rank

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
XIANGUO ZHANG,ET AL.: "Optimizing the Hierarchical Prediction and Coding in HEVC for Surveillance and Conference Videos With Background Modeling", 《 IEEE TRANSACTIONS ON IMAGE PROCESSING ( VOLUME: 23, ISSUE: 10, OCT. 2014)》 *
XINFENG ZHANG,ET AL.: "High-Efficiency Image Coding via Near-Optimal Filtering", 《 IEEE SIGNAL PROCESSING LETTERS ( VOLUME: 24, ISSUE: 9, SEPT. 2017)》 *
XINFENG ZHANG,ET AL.: "Low-Rank-Based Nonlocal Adaptive Loop Filter for High-Efficiency Video Compression", 《 IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY ( VOLUME: 27, ISSUE: 10, OCT. 2017)》 *
马思伟.: "AVS视频编码标准技术回顾及最新进展", 《计算机研究与发展》 *

Also Published As

Publication number Publication date
WO2019191891A1 (en) 2019-10-10
CN110383837B (en) 2021-10-22
CN110383837A (en) 2019-10-25
WO2019192071A1 (en) 2019-10-10

Similar Documents

Publication Publication Date Title
US11750809B2 (en) Encoding and decoding methods and apparatuses with multiple image block division manners
JP7110370B2 (en) Using Nonlinear Functions Applied to Quantization Parameters of Machine Learning Models for Video Coding
US10003792B2 (en) Video encoder for images
CN103237216B (en) The decoding method and coding and decoding device of depth image
CN115514978B (en) Methods and apparatus for probabilistic mixing of entropy coding in video compression
US9888245B2 (en) Image compression method and apparatus for performing amplitude decreasing processing
CN119250121A (en) Using rate-distortion cost as a loss function for deep learning
WO2016180129A1 (en) Prediction mode selection method, apparatus and device
CN110383837B (en) Method and apparatus for video processing
KR20180117155A (en) A shape-adaptive model-based codec for lossy and lossless image compression
Pavez et al. GTT: Graph template transforms with applications to image coding
US20250126301A1 (en) Loop filtering method and device
CN105338351A (en) Template coupling based intraframe prediction encoding and decoding method and apparatus, and array scanning method and apparatus
CN108028945A (en) The apparatus and method of conversion are performed by using singleton coefficient update
CN107211133A (en) Method, device and the decoding device of inverse quantization conversion coefficient
CN115802038A (en) Quantization parameter determination method and device, and video encoding method and device
US10244260B2 (en) Encoder and decoder, and method of operation
KR20180079314A (en) And apparatus for encoding and decoding video signals using graph-based lifting transforms
CN110291791A (en) Method and device for video codec
US20170257579A1 (en) Method and device for processing graph-based signal using geometric primitives
CN116320488A (en) Intra-frame prediction method, device, encoder, decoder, and storage medium
CN104519368B (en) Image Coding, decoding and reconstituting processing method and processing device
CN117255199B (en) Quantization parameter adjustment method, quantization parameter adjustment device, quantization parameter adjustment equipment and storage medium
CN111279706B (en) Method, apparatus, computer system and mobile device for loop filtering
CN111510719A (en) Distributed compressed sensing coding and decoding method for video

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
AD01 Patent right deemed abandoned
AD01 Patent right deemed abandoned

Effective date of abandoning: 20230228