CN116527920A - Block effect detection method and device - Google Patents
Block effect detection method and device Download PDFInfo
- Publication number
- CN116527920A CN116527920A CN202310552592.7A CN202310552592A CN116527920A CN 116527920 A CN116527920 A CN 116527920A CN 202310552592 A CN202310552592 A CN 202310552592A CN 116527920 A CN116527920 A CN 116527920A
- Authority
- CN
- China
- Prior art keywords
- coding block
- block
- coding
- determining
- target parameter
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods 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/17—Methods 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/176—Methods 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods 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/124—Quantisation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/20—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using video object coding
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
本申请公开了块效应检测方法和装置,涉及图像处理技术领域。该方法的一具体实施方式包括:响应于确定当前帧中待编码的第一编码块为非边界编码块,获取第二编码块以及第二编码块周围的至少一个编码块的量化参数;基于第二编码块以及第二编码块周围的至少一个编码块的量化参数,确定第一目标参数;响应于确定第一目标参数符合第一预设条件,确定第一编码块编码后存在块效应。该实施方式有效提升了块效应的检测效率。
The application discloses a block effect detection method and device, and relates to the technical field of image processing. A specific implementation of the method includes: in response to determining that the first coding block to be coded in the current frame is a non-boundary coding block, acquiring quantization parameters of the second coding block and at least one coding block around the second coding block; based on the first The second coding block and the quantization parameters of at least one coding block around the second coding block determine a first target parameter; in response to determining that the first target parameter meets a first preset condition, it is determined that blockiness exists after the first coding block is encoded. This implementation manner effectively improves the detection efficiency of blocking effects.
Description
技术领域technical field
本申请涉及计算机技术领域,具体涉及图像处理技术领域,尤其涉及一种块效应检测方法和装置。The present application relates to the field of computer technology, in particular to the field of image processing technology, and in particular to a block effect detection method and device.
背景技术Background technique
视频图像压缩算法一般基于分块的思想进行实现,例如当前的集中国际图像、视频的压缩标准:JPEG、MPEG、H264、HEVC等,都是基于分块的离散余弦变换编码的方法,然而这类算法很容易导致处理后的图像产生明显的方块状图样,特别是低比特率传输时,如网络视频,这种现象被称为“块状效应”。这种块效应属于一种图像编码造成的认为噪声,即“块噪声”会严重影响到视频图像的主观视觉质量。Video image compression algorithms are generally implemented based on the idea of blocking. For example, the current centralized international image and video compression standards: JPEG, MPEG, H264, HEVC, etc., are all methods based on block-based discrete cosine transform coding. However, such Algorithms can easily cause the processed image to produce an obvious blocky pattern, especially when transmitting at a low bit rate, such as network video. This phenomenon is called "blocky effect". This block effect is a kind of noise caused by image coding, that is, "block noise" will seriously affect the subjective visual quality of video images.
发明内容Contents of the invention
本申请实施例提供了一种块效应检测方法、装置、设备以及存储介质。Embodiments of the present application provide a blocking effect detection method, device, device, and storage medium.
根据第一方面,本申请实施例提供了一种块效应检测方法,该方法包括:响应于确定当前帧中待编码的第一编码块为非边界编码块,获取第二编码块以及与第二编码块周围的至少一个编码块的量化参数;基于第二编码块以及与第二编码块周围的至少一个编码块的量化参数,确定第一目标参数;响应于确定第一目标参数符合第一预设条件,确定第一编码块编码后存在块效应。According to the first aspect, an embodiment of the present application provides a blockiness detection method, the method comprising: in response to determining that the first coding block to be coded in the current frame is a non-boundary coding block, acquiring the second coding block and the second Quantization parameters of at least one coding block around the coding block; based on the quantization parameters of the second coding block and at least one coding block around the second coding block, determining a first target parameter; in response to determining that the first target parameter conforms to the first prediction A condition is set to determine that block artifacts exist after the first coding block is coded.
根据第二方面,本申请实施例提供了一种块效应检测装置,该装置包括:获取模块,被配置成响应于确定当前帧中待编码的第一编码块为非边界编码块,获取第二编码块以及与第二编码块周围的至少一个编码块的量化参数;过渡模块,被配置成基于第二编码块以及与第二编码块周围的至少一个编码块的量化参数,确定第一目标参数;确定模块,被配置成响应于确定第一目标参数符合第一预设条件,确定第一编码块编码后存在块效应。According to a second aspect, an embodiment of the present application provides an apparatus for detecting blockiness, the apparatus including: an acquisition module configured to, in response to determining that the first encoding block to be encoded in the current frame is a non-boundary encoding block, acquire the second Quantization parameters of the coding block and at least one coding block surrounding the second coding block; a transition module configured to determine the first target parameter based on the quantization parameters of the second coding block and at least one coding block surrounding the second coding block ; A determination module configured to, in response to determining that the first target parameter meets a first preset condition, determine that blockiness exists after encoding of the first encoding block.
根据第三方面,本申请实施例提供了一种电子设备,该电子设备包括一个或多个处理器;存储装置,其上存储有一个或多个程序,当一个或多个程序被该一个或多个处理器执行,使得一个或多个处理器实现如第一方面的任一实施例的块效应检测方法。According to a third aspect, an embodiment of the present application provides an electronic device, the electronic device includes one or more processors; a storage device, on which one or more programs are stored, when the one or more programs are A plurality of processors are executed, so that one or more processors implement the blockiness detection method according to any embodiment of the first aspect.
根据第四方面,本申请实施例提供了一种计算机可读介质,其上存储有计算机程序,该程序被处理器执行时实现如第一方面的任一实施例的块效应检测方法。According to a fourth aspect, an embodiment of the present application provides a computer-readable medium, on which a computer program is stored, and when the program is executed by a processor, the blockiness detection method according to any embodiment of the first aspect is implemented.
本申请通过响应于确定当前帧中待编码的第一编码块为非边界编码块,获取第二编码块以及与第二编码块周围的至少一个编码块的量化参数;基于第二编码块以及与第二编码块周围的至少一个编码块的量化参数,确定第一目标参数;响应于确定第一目标参数符合第一预设条件,确定第一编码块编码后存在块效应,有效提升了块效应检测的效率。In the present application, in response to determining that the first coding block to be coded in the current frame is a non-boundary coding block, the quantization parameters of the second coding block and at least one coding block around the second coding block are obtained; based on the second coding block and the The quantization parameter of at least one coding block around the second coding block determines the first target parameter; in response to determining that the first target parameter meets the first preset condition, it is determined that there is blockiness after encoding the first coding block, which effectively improves the blockiness detection efficiency.
应当理解,本部分所描述的内容并非旨在标识本公开的实施例的关键或重要特征,也不用于限制本公开的范围。本公开的其他特征将通过以下的说明书而变得容易理解。It should be understood that what is described in this section is not intended to identify key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will be easily understood from the following description.
附图说明Description of drawings
图1是本申请可以应用于其中的示例性系统架构图;FIG. 1 is an exemplary system architecture diagram to which the present application can be applied;
图2a是根据本申请的块效应检测方法的一个实施例的流程图;Fig. 2 a is a flow chart of an embodiment of the blockiness detection method according to the present application;
图2b是根据本申请的块效应检测方法的又一个实施例的示意图;Fig. 2b is a schematic diagram of another embodiment of the blockiness detection method according to the present application;
图2c是根据本申请的块效应检测方法的另一个实施例的示意图;Fig. 2c is a schematic diagram of another embodiment of the blockiness detection method according to the present application;
图3是根据本申请的块效应检测方法的一个应用场景的示意图;FIG. 3 is a schematic diagram of an application scenario of the blockiness detection method according to the present application;
图4a是根据本申请的块效应检测方法的又一个实施例的流程图;Fig. 4a is a flow chart of another embodiment of the blockiness detection method according to the present application;
图4b是根据本申请的块效应检测方法的又一个实施例的示意图Fig. 4b is a schematic diagram of another embodiment of the blockiness detection method according to the present application
图5是根据本申请的块效应检测装置的一个实施例的示意图;FIG. 5 is a schematic diagram of an embodiment of a blockiness detection device according to the present application;
图6是适于用来实现本申请实施例的服务器的计算机系统的结构示意图。FIG. 6 is a schematic structural diagram of a computer system suitable for implementing the server of the embodiment of the present application.
具体实施方式Detailed ways
以下结合附图对本申请的示范性实施例做出说明,其中包括本申请实施例的各种细节以助于理解,应当将它们认为仅仅是示范性的。因此,本领域普通技术人员应当认识到,可以对这里描述的实施例做出各种改变和修改,而不会背离本申请的范围和精神。同样,为了清楚和简明,以下的描述中省略了对公知功能和结构的描述。Exemplary embodiments of the present application are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present application to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请。It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.
图1示出了可以应用本申请的块效应检测方法的实施例的示例性系统架构100。FIG. 1 shows an exemplary system architecture 100 to which an embodiment of the blockiness detection method of the present application can be applied.
如图1所示,系统架构100可以包括终端设备101、102、103,网络104和服务器105。网络104用以在终端设备101、102、103和服务器105之间提供通信链路的介质。网络104可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in FIG. 1 , a system architecture 100 may include terminal devices 101 , 102 , 103 , a network 104 and a server 105 . The network 104 is used as a medium for providing communication links between the terminal devices 101 , 102 , 103 and the server 105 . Network 104 may include various connection types, such as wires, wireless communication links, or fiber optic cables, among others.
终端设备101、102、103通过网络104与服务器105交互,以接收或发送消息等。终端设备101、102、103上可以安装有各种通讯客户端应用,例如,视频播放类应用、通讯类应用等。The terminal devices 101, 102, 103 interact with the server 105 via the network 104 to receive or send messages and the like. Various communication client applications may be installed on the terminal devices 101 , 102 , and 103 , for example, video playback applications, communication applications, and the like.
终端设备101、102、103可以是硬件,也可以是软件。当终端设备101、102、103为硬件时,可以是具有显示屏的各种电子设备,包括但不限于手机和笔记本电脑。当终端设备101、102、103为软件时,可以安装在上述所列举的电子设备中。其可以实现成多个软件或软件模块(例如用来提供块效应检测服务),也可以实现成单个软件或软件模块。在此不做具体限定。The terminal devices 101, 102, and 103 may be hardware or software. When the terminal devices 101, 102, 103 are hardware, they may be various electronic devices with display screens, including but not limited to mobile phones and notebook computers. When the terminal devices 101, 102, 103 are software, they can be installed in the electronic devices listed above. It can be implemented as multiple software or software modules (for example, to provide blockiness detection service), or can be implemented as a single software or software module. No specific limitation is made here.
服务器105可以是提供各种服务的服务器,例如,响应于确定当前帧中待编码的第一编码块为非边界编码块,获取第二编码块以及第二编码块周围的至少一个编码块的量化参数;基于第二编码块以及第二编码块周围的至少一个编码块的量化参数,确定第一目标参数;响应于确定第一目标参数符合第一预设条件,确定第一编码块编码后存在块效应。The server 105 may be a server that provides various services, for example, in response to determining that the first coding block to be coded in the current frame is a non-boundary coding block, obtain the quantization of the second coding block and at least one coding block around the second coding block parameters; based on the quantization parameters of the second coding block and at least one coding block around the second coding block, determine the first target parameter; in response to determining that the first target parameter meets the first preset condition, determine that the first coding block exists after encoding block effect.
需要说明的是,服务器105可以是硬件,也可以是软件。当服务器105为硬件时,可以实现成多个服务器组成的分布式服务器集群,也可以实现成单个服务器。当服务器为软件时,可以实现成多个软件或软件模块(例如用来提供块效应检测服务),也可以实现成单个软件或软件模块。在此不做具体限定。It should be noted that the server 105 may be hardware or software. When the server 105 is hardware, it can be implemented as a distributed server cluster composed of multiple servers, or as a single server. When the server is software, it can be implemented as a plurality of software or software modules (for example, to provide blocking effect detection service), or can be implemented as a single software or software module. No specific limitation is made here.
需要指出的是,本公开的实施例所提供的块效应检测方法可以由服务器105执行,也可以由终端设备101、102、103执行,还可以由服务器105和终端设备101、102、103彼此配合执行。相应地,块效应检测装置包括的各个部分(例如各个单元、子单元、模块、子模块)可以全部设置于服务器105中,也可以全部设置于终端设备101、102、103中,还可以分别设置于服务器105和终端设备101、102、103中。It should be noted that the blocking effect detection method provided by the embodiments of the present disclosure can be executed by the server 105, or by the terminal devices 101, 102, 103, or by the cooperation between the server 105 and the terminal devices 101, 102, 103 implement. Correspondingly, each part (such as each unit, subunit, module, and submodule) included in the blockiness detection device can be all set in the server 105, or can be all set in the terminal equipment 101, 102, 103, or can be set separately in the server 105 and the terminal devices 101, 102, 103.
应该理解,图1中的终端设备、网络和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和服务器。It should be understood that the numbers of terminal devices, networks and servers in Fig. 1 are only illustrative. According to the implementation needs, there can be any number of terminal devices, networks and servers.
图2a示出了可以应用于本申请的块效应检测方法的实施例的流程200。在本实施例中,块效应检测方法包括以下步骤:Fig. 2a shows a flow 200 of an embodiment of the blockiness detection method that can be applied to the present application. In this embodiment, the blocking effect detection method includes the following steps:
步骤201,响应于确定当前帧中待编码的第一编码块为非边界编码块,获取第二编码块以及第二编码块周围的至少一个编码块的量化参数。Step 201 , in response to determining that a first coding block to be coded in a current frame is a non-boundary coding block, obtain quantization parameters of a second coding block and at least one coding block around the second coding block.
在本实施例中,执行主体(如图1中所示的服务器105或终端设备101、102、103)可以依次对当前(图像)帧中的编码块进行检测,响应于确定当前帧中待编码的第一编码块为非边界编码块,即非处在图像帧边缘的编码块,获取第二编码块的量化参数,以及第二编码块周围的至少一个编码块的量化参数。In this embodiment, the execution subject (server 105 or terminal devices 101, 102, and 103 as shown in FIG. 1 ) can sequentially detect the encoding blocks in the current (image) frame, and in response to determining that the encoding block in the current frame The first coding block is a non-boundary coding block, that is, a coding block that is not at the edge of the image frame, and the quantization parameter of the second coding block and the quantization parameter of at least one coding block around the second coding block are obtained.
其中,第二编码块为位于当前帧的上一帧中与第一编码块相同位置的编码块。Wherein, the second coding block is a coding block located at the same position as the first coding block in a previous frame of the current frame.
这里,量化参数用于反映空间细节压缩情况,值越小,量化越精细,图像质量越高,产生的码流也越长。Here, the quantization parameter is used to reflect the compression of spatial details. The smaller the value, the finer the quantization, the higher the image quality, and the longer the generated code stream.
需要指出的是,编码块可以为基于H.264标准的宏块,也可以为基于其他视频的压缩标准的块,本申请对此不作限定,此外,编码块的形状不限于块状。It should be noted that the encoding block may be a macroblock based on the H.264 standard, or a block based on other video compression standards, which is not limited in this application. In addition, the shape of the encoding block is not limited to block shape.
步骤202,基于第二编码块以及第二编码块周围的至少一个编码块的量化参数,确定第一目标参数。Step 202: Determine a first target parameter based on the quantization parameters of the second coding block and at least one coding block surrounding the second coding block.
在本实施例中,执行主体在获取到第二编码块的量化参数,以及与第二编码块周围的一个或多个编码块的量化参数后,可根据第二编码块以及第二编码块周围的至少一个编码块的量化参数,确定第一目标参数。In this embodiment, after obtaining the quantization parameters of the second coding block and the quantization parameters of one or more coding blocks around the second coding block, the execution subject can The quantization parameter of at least one coding block is determined as a first target parameter.
其中,第一目标参数用于表征第二编码块的周围块的过渡趋势,具体可通过周围编码块之间的差值、比值、第二编码块与周围编码块的差值、比值等表征相邻编码块间大小关系的公式确定,第一目标参数的参数数量可以是一个,也可以是多个,本申请对此不作限定。Wherein, the first target parameter is used to characterize the transition trend of the surrounding blocks of the second coding block, specifically, the difference and ratio between the surrounding coding blocks, the difference and ratio between the second coding block and the surrounding coding blocks, etc. The size relationship between adjacent coding blocks is determined by the formula, and the number of parameters of the first target parameter may be one or multiple, which is not limited in this application.
在一些可选的方式中,基于第二编码块以及第二编码块周围的至少一个编码块的量化参数,确定第一目标参数,包括:基于第二编码块的量化参数,以及第二编码块所处的一个菱形块中各编码块的量化参数,确定第一目标参数。In some optional manners, determining the first target parameter based on the quantization parameter of the second coding block and at least one coding block around the second coding block includes: based on the quantization parameter of the second coding block, and the second coding block Quantization parameters of each coding block in a rhombic block are used to determine the first target parameter.
在本实现方式中,菱形块可以为由第二编码块和第二编码块周围的至少三个编码块组成的呈现四边形的块状结构。执行主体可以根据第二编码块的量化参数、第二编码块所处的一个菱形块中各编码块的量化参数,确定第一目标参数。In this implementation manner, the diamond-shaped block may be a quadrangular block structure composed of the second coding block and at least three coding blocks around the second coding block. The execution subject may determine the first target parameter according to the quantization parameter of the second coding block and the quantization parameters of each coding block in a diamond-shaped block where the second coding block is located.
具体地,如图2b所示,第二编码块的量化参数为x5,第二编码块周围的编码块的量化参数分别为x1、x2、x4,第一目标参数D1可通过下式表示:Specifically, as shown in Figure 2b, the quantization parameter of the second coding block is x5, the quantization parameters of the coding blocks around the second coding block are x1, x2, and x4 respectively, and the first target parameter D1 can be represented by the following formula:
a1=x4/x 1,a2=x2/x 1,a3=x5/x4,a4=x5/x2,a5=x5/x1a1=x4/x1, a2=x2/x1, a3=x5/x4, a4=x5/x2, a5=x5/x1
该实现方式通过基于第二编码块以及第二编码块所处的一个菱形块中各编码块的量化参数,确定第一目标参数,提升了确定出的第一目标参数的准确性和可靠性。In this implementation manner, the first target parameter is determined based on the second coding block and the quantization parameters of each coding block in a diamond-shaped block where the second coding block is located, which improves the accuracy and reliability of the determined first target parameter.
在一些可选的方式中,基于第二编码块以及第二编码块周围的至少一个编码块的量化参数,确定第一目标参数,包括:基于第二编码块的量化参数,以及第二编码块所处的至少两个菱形块中各编码块的量化参数,确定第一目标参数。In some optional manners, determining the first target parameter based on the quantization parameter of the second coding block and at least one coding block around the second coding block includes: based on the quantization parameter of the second coding block, and the second coding block The quantization parameters of each coding block in at least two rhombic blocks are used to determine the first target parameter.
在本实现方式中,执行主体可以根据第二编码块的量化参数、第二编码块所处的至少两个菱形块中一个或多个编码块中各编码块的量化参数,确定第一目标参数。In this implementation, the execution subject can determine the first target parameter according to the quantization parameter of the second coding block and the quantization parameters of each coding block in one or more coding blocks in at least two diamond-shaped blocks where the second coding block is located. .
其中,菱形块为由第二编码块和与第二编码块周围的至少三个编码块组成的呈现四边形的块状结构。Wherein, the diamond-shaped block is a quadrangular block structure composed of the second coding block and at least three coding blocks around the second coding block.
具体地,如图2c所示,第二编码块的量化参数为x5,第二编码块所处的第一菱形块中各编码块的量化参数分别为x1、x2、x4、x5,第二编码块所处的第二菱形块中各编码块的量化参数分别为x5、x6、x8、x9,第一目标参数包括三个参数,分别为D1、D2、D3,具体可通过下式表示:Specifically, as shown in Figure 2c, the quantization parameter of the second encoding block is x5, the quantization parameters of each encoding block in the first diamond-shaped block where the second encoding block is located are x1, x2, x4, x5 respectively, and the second encoding The quantization parameters of each coding block in the second diamond-shaped block where the block is located are respectively x5, x6, x8, and x9, and the first target parameter includes three parameters, which are respectively D1, D2, and D3, which can be specifically expressed by the following formula:
a1=x4/x 1,a2=x2/x 1,a3=x5/x4,a4=x5/x2,a5=x5/x1a1=x4/x1, a2=x2/x1, a3=x5/x4, a4=x5/x2, a5=x5/x1
a6=x8/x5,a7=x6/x5,a8=x9/x8,a9=x9/x6,a10=x9/x5a6=x8/x5, a7=x6/x5, a8=x9/x8, a9=x9/x6, a10=x9/x5
D3=a5+a 10D3=a5+a10
该实现方式通过基于第二编码块以及第二编码块所处的至少两个菱形块中各编码块的量化参数,确定第一目标参数,进一步提升了确定出的第一目标参数的准确性和可靠性。In this implementation, the first target parameter is determined based on the second coding block and the quantization parameters of each coding block in at least two diamond-shaped blocks where the second coding block is located, which further improves the accuracy and accuracy of the determined first target parameter. reliability.
步骤203,响应于确定第一目标参数符合第一预设条件,确定第一编码块编码后存在块效应。Step 203, in response to determining that the first target parameter meets the first preset condition, determine that blockiness exists after encoding the first encoding block.
在本实施例中,执行主体在获取第一目标参数后,可进一步判断第一目标参数是否符合第一预设条件,若符合第一预设条件,即第二编码块存在块效应,则可确定第一编码块编码后会存在块效应(由于当前帧和前一编码帧存在时间关联较大,同位块相关性更大)。In this embodiment, after obtaining the first target parameter, the execution subject can further judge whether the first target parameter meets the first preset condition. If the first preset condition is met, that is, the second coding block has blockiness, then It is determined that there will be block effects after the encoding of the first encoding block (due to the greater time correlation between the current frame and the previous encoding frame, and greater correlation between co-located blocks).
其中,第一预设条件用于确定第二编码块是否存在块效应,具体可根据经验、实际需求和具体地应用场景进行确定,本申请对此不作限定。Wherein, the first preset condition is used to determine whether there is a block effect in the second encoding block, which may be specifically determined according to experience, actual requirements and specific application scenarios, which is not limited in the present application.
具体地,例如,第一目标参数包括D1,执行主体可判断D1,是否大于预设的第一阈值,若D1大于预设的第一阈值,则确定第一编码块存在块效应。Specifically, for example, the first target parameter includes D1, and the execution subject can determine whether D1 is greater than a preset first threshold, and if D1 is greater than the preset first threshold, determine that blockiness exists in the first encoding block.
又例如,目标参数包括D1、D2、D3,执行主体可判断D1是否大于第一阈值,D2是否大于第二阈值,D3是否大于第三阈值,若同时满足(如D1>4.8&&D2>4.4&&D3>2),则确定第一编码块存在块效应。For another example, the target parameters include D1, D2, and D3. The executive body can judge whether D1 is greater than the first threshold, whether D2 is greater than the second threshold, and whether D3 is greater than the third threshold. 2), then it is determined that there is a block effect in the first coding block.
其中,第一阈值、第二阈值、第三阈值可根据经验、实际需求设定。Wherein, the first threshold, the second threshold, and the third threshold can be set according to experience and actual needs.
继续参见图3,图3是根据本实施例的块效应检测方法的应用场景的一个示意图。Continuing to refer to FIG. 3 , FIG. 3 is a schematic diagram of an application scenario of the blockiness detection method according to this embodiment.
在图3的应用场景中,执行主体301可以依次对当前(图像)帧中的编码块进行检测,响应于确定当前帧中待编码的第一编码块为非边界编码块,即非处在图像帧边缘的编码块,获取第二编码块的量化参数302,以及第二编码块周围的至少一个编码块的量化参数303,其中,第二编码块为位于当前帧的上一帧中与第一编码块相同位置的编码块;基于第二编码块以及第二编码块周围的至少一个编码块的量化参数,确定第一目标参数304,第一目标参数304用于表征第二编码块的周围块的过渡趋势;响应于确定第一目标参数304符合第一预设条件305,确定第一编码块编码后存在块效应306。In the application scenario of FIG. 3 , the execution subject 301 may sequentially detect the coding blocks in the current (image) frame, and in response to determining that the first coding block to be coded in the current frame is a non-boundary coding block, that is, it is not in the image For a coding block at the edge of the frame, the quantization parameter 302 of the second coding block and the quantization parameter 303 of at least one coding block around the second coding block are obtained, wherein the second coding block is located in the previous frame of the current frame and is the same as the first A coding block at the same position as the coding block; based on the quantization parameter of the second coding block and at least one coding block around the second coding block, the first target parameter 304 is determined, and the first target parameter 304 is used to characterize the surrounding blocks of the second coding block In response to determining that the first target parameter 304 complies with the first preset condition 305, it is determined that blockiness 306 exists after encoding the first encoding block.
本公开的块效应检测方法,通过响应于确定当前帧中待编码的第一编码块为非边界编码块,获取第二编码块以及第二编码块周围的至少一个编码块的量化参数;基于第二编码块以及与第二编码块周围的至少一个编码块的量化参数,确定第一目标参数;响应于确定第一目标参数符合第一预设条件,确定第一编码块编码后存在块效应,有效提升了块效应检测的效率。In the blocking effect detection method of the present disclosure, by responding to determining that the first coding block to be coded in the current frame is a non-boundary coding block, the quantization parameters of the second coding block and at least one coding block around the second coding block are obtained; based on the first Determining a first target parameter for the quantization parameters of the second coding block and at least one coding block around the second coding block; in response to determining that the first target parameter meets the first preset condition, determining that blockiness exists after the first coding block is encoded, Effectively improve the efficiency of block effect detection.
进一步参考图4a,其示出了图2a所示的块效应检测方法的又一个实施例的流程400。在本实施例中,块效应检测方法的流程400,可包括以下步骤:Further referring to FIG. 4a, it shows a flow 400 of another embodiment of the blockiness detection method shown in FIG. 2a. In this embodiment, the process 400 of the blockiness detection method may include the following steps:
步骤401,响应于确定当前帧中待编码的第一编码块为非边界编码块,获取第二编码块以及第二编码块周围的至少一个编码块的量化参数。Step 401, in response to determining that the first coding block to be coded in the current frame is a non-boundary coding block, obtain quantization parameters of the second coding block and at least one coding block around the second coding block.
在本实施例中,步骤401的实现细节和技术效果,可以参考对步骤201的描述,在此不再赘述。In this embodiment, for implementation details and technical effects of step 401, reference may be made to the description of step 201, and details are not repeated here.
步骤402,基于第二编码块以及第二编码块周围的至少一个编码块的量化参数,确定第一目标参数。Step 402: Determine a first target parameter based on the quantization parameters of the second coding block and at least one coding block around the second coding block.
在本实施例中,步骤402的实现细节和技术效果,可以参考对步骤202的描述,在此不再赘述。In this embodiment, for implementation details and technical effects of step 402, reference may be made to the description of step 202, which will not be repeated here.
步骤403,响应于确定第一目标参数符合第一预设条件,确定第一编码块编码后存在方块效应。Step 403, in response to determining that the first target parameter meets the first preset condition, determine that blockiness exists after encoding the first encoding block.
在本实施例中,步骤403的实现细节和技术效果,可以参考对步骤203的描述,在此不再赘述。In this embodiment, for implementation details and technical effects of step 403, reference may be made to the description of step 203, which will not be repeated here.
步骤404,响应于确定第一编码块编码后存在块效应,对第一编码块的量化参数进行更新,以消除块效应。Step 404, updating the quantization parameter of the first coding block to eliminate the blocking effect in response to determining that there is blocking effect after encoding the first coding block.
在本实施例中,执行主体在确定第一编码块编码后会存在块效应后,可对第一编码块的量化参数进行更新,得到新的量化参数,以消除块效应。In this embodiment, after the execution subject determines that there will be blockiness after encoding the first coding block, the quantization parameter of the first coding block can be updated to obtain a new quantization parameter to eliminate the blockiness.
其中,更新方式可根据实际需求设定,例如,第一编码块的第一量化参数为Q,可设置Q=Q-1。Wherein, the update method may be set according to actual needs, for example, the first quantization parameter of the first encoding block is Q, and Q=Q-1 may be set.
在一些可选的方式中,该方法还包括:获取第一编码块周围的已完成编码的至少两个第三编码块的量化参数;响应于确定第二目标参数符合第二预设条件,对第一编码块的量化参数进行更新。In some optional manners, the method further includes: acquiring quantization parameters of at least two third coding blocks that have been coded around the first coding block; in response to determining that the second target parameter meets the second preset condition, The quantization parameter of the first coding block is updated.
在本实现方式中,执行主体可获取第一编码块周围的已完成编码的至少两个第三编码块的量化参数;并根据至少两个第三编码块的量化参数的均值,第一编码块的量化参数,确定第二目标参数;响应于第二目标参数符合第二预设条件,对第一编码块的量化参数进行进一步更新,得到新的量化参数。In this implementation, the execution subject can obtain the quantization parameters of at least two third coding blocks that have been coded around the first coding block; and according to the average value of the quantization parameters of the at least two third coding blocks, the first coding block The quantization parameter of the first encoding block is further updated to obtain a new quantization parameter in response to the second target parameter meeting the second preset condition.
其中,第二目标参数用于表征第一编码块的周围块的平均过渡趋势。Wherein, the second target parameter is used to characterize the average transition trend of surrounding blocks of the first coding block.
这里,第一编码块周围的已完成编码的第三编码块的数量可以是两个也可以是多个,例如,第一编码块周围的已完成编码的至少两个第三编码块可以包括与第一编码块相邻的、位于第一编码块上方的编码块,与第一编码块相邻的、位于第一编码块左侧的编码块;第一编码块周围的已完成编码的至少两个第三编码块可以包括与第一编码块相邻的、位于第一编码块上方的编码块,与第一编码块相邻的、位于第一编码块左侧的编码块,与第一编码块相邻的、位于第一编码块下方的编码块,与第一编码块相邻的、位于第一编码块右侧的编码块等,本申请对此不作限定。Here, the number of coded third coded blocks around the first coded block can be two or more, for example, at least two coded third coded blocks around the first coded block can include The coding block adjacent to the first coding block and located above the first coding block, the coding block adjacent to the first coding block and located on the left side of the first coding block; at least two coded blocks around the first coding block A third coding block may include a coding block adjacent to the first coding block and located above the first coding block, a coding block adjacent to the first coding block and located on the left side of the first coding block, and a coding block adjacent to the first coding block The coding block adjacent to the block and located below the first coding block, the coding block adjacent to the first coding block and located on the right side of the first coding block, etc., are not limited in this application.
其中,第二预设条件可根据经验、实际需求设定。Wherein, the second preset condition can be set according to experience and actual needs.
具体地,如图4b所示,第一编码块周围的已完成编码的至少两个第三编码块可以包括位于第一编码块上方的编码块、位于第一编码块左侧的编码块,以及位于第一编码块上方的编码块的量化参数为U0、位于第一编码块左侧的编码块的量化参数为L0,第二目标参数可通过下式表征:Specifically, as shown in FIG. 4b, at least two third coding blocks that have been coded around the first coding block may include a coding block above the first coding block, a coding block on the left side of the first coding block, and The quantization parameter of the coding block above the first coding block is U0, the quantization parameter of the coding block on the left side of the first coding block is L0, and the second target parameter can be represented by the following formula:
D4=||(L0+U0)/2|-Q|D4=||(L0+U0)/2|-Q|
响应于确定第二目标参数符合第二预设条件,如D4>4,对第一编码块的量化参数进行进一步更新,如设置量化参数Q=Q-0.5。In response to determining that the second target parameter meets the second preset condition, such as D4>4, the quantization parameter of the first encoding block is further updated, such as setting the quantization parameter Q=Q−0.5.
该实现方式通过获取第一编码块周围的已完成编码的至少两个第三编码块的量化参数;响应于确定第二目标参数符合第二预设条件,对第一编码块的量化参数进行更新,有助于进一步提升块效应的消除效果。This implementation method obtains quantization parameters of at least two third coding blocks that have been coded around the first coding block; and updates the quantization parameters of the first coding block in response to determining that the second target parameter meets the second preset condition , which helps to further improve the effect of eliminating block effects.
在一些可选的方式中,该方法还包括:获取第一编码块周围的已完成编码的至少一个第三编码块的量化参数;响应于确定第三目标参数中存在至少一个参数符合第三预设条件,对第一编码块的量化参数进行更新。In some optional manners, the method further includes: acquiring quantization parameters of at least one third coding block that has been coded around the first coding block; Assuming a condition, the quantization parameter of the first coding block is updated.
在本实现方式中,执行主体可获取第一编码块周围的已完成编码的至少一个第三编码块的量化参数;并将至少一个第三编码块中的各第三编码块的量化参数与第一编码块的量化参数的差值,确定为第三目标参数;响应于确定第三目标参数中存在至少一个参数符合第三预设条件,对第一量化参数进行进一步更新,得到新的第一量化参数。In this implementation, the execution subject can obtain the quantization parameter of at least one third coding block that has been coded around the first coding block; and compare the quantization parameter of each third coding block in the at least one third coding block The difference between quantization parameters of a coding block is determined as a third target parameter; in response to determining that at least one of the third target parameters meets the third preset condition, the first quantization parameter is further updated to obtain a new first quantization parameters.
这里,第三目标参数用于表征第一编码块的各周围块的过渡趋势。Here, the third target parameter is used to characterize the transition trend of each surrounding block of the first coding block.
其中,第三预设条件可根据经验、实际需求设定。Wherein, the third preset condition can be set according to experience and actual needs.
具体地,第一编码块周围的已完成编码的至少一个第三编码块可以包括与第一编码块相邻的、位于第一编码块上方的编码块,与第一编码块相邻的、位于第一编码块左侧的编码块,以及位于第一编码块上方的编码块的量化参数为U0、位于第一编码块左侧的编码块为L0,第三目标参数共包括两个参数,分别为D5、D6,具体可通过下式表征:Specifically, at least one third coding block that has been coded around the first coding block may include a coding block adjacent to the first coding block and located above the first coding block, and a coding block adjacent to the first coding block located above the first coding block. The quantization parameter of the coding block on the left side of the first coding block and the coding block above the first coding block is U0, and the coding block on the left side of the first coding block is L0. The third target parameter includes two parameters in total, respectively are D5 and D6, which can be specifically characterized by the following formula:
D5=|U0-Q|D5=|U0-Q|
D6=|L0-Q|D6=|L0-Q|
响应于确定第三目标参数中存在至少一个参数符合第三预设条件,如D5>8或D6>8,对第一编码块的量化参数进行进一步更新,如设置量化参数Q=Q-1.5。In response to determining that at least one of the third target parameters meets the third preset condition, such as D5>8 or D6>8, the quantization parameter of the first coding block is further updated, such as setting the quantization parameter Q=Q-1.5.
该实现方式通过获取第一编码块周围的已完成编码的至少一个第三编码块的量化参数;响应于确定第三目标参数中存在至少一个参数符合第三预设条件,对第一编码块的量化参数进行更新,有助于进一步提升块效应的消除效果。This implementation method obtains quantization parameters of at least one third coding block that has been coded around the first coding block; in response to determining that there is at least one parameter among the third target parameters that meets the third preset condition, the quantization parameters of the first coding block Quantization parameters are updated to help further improve the effect of removing block effects.
从图4中可以看出,与图2对应的实施例相比,本实施例中的块效应检测方法的流程400体现了响应于确定第一编码块编码后存在块效应,对第一编码块的量化参数进行更新,以消除块效应,该方式在有效降低了当前编码块的块效应,提升了图像的主观质量,即人眼感知质量。It can be seen from FIG. 4 that, compared with the embodiment corresponding to FIG. 2 , the flow 400 of the blocking artifact detection method in this embodiment reflects that in response to determining that there is blocking artifacts after the encoding of the first encoding block, the first encoding block The quantization parameters are updated to eliminate the block effect. This method effectively reduces the block effect of the current coding block and improves the subjective quality of the image, that is, the perceived quality of the human eye.
进一步参考图5,作为对上述各图所示方法的实现,本申请提供了一种块效应检测装置的一个实施例,该装置实施例与图2所示的方法实施例相对应,该装置具体可以应用于各种电子设备中。Further referring to FIG. 5 , as an implementation of the methods shown in the above figures, the present application provides an embodiment of a blockiness detection device, which corresponds to the method embodiment shown in FIG. 2 , and the device specifically It can be applied to various electronic devices.
如图5所示,本实施例的块效应检测装置500包括:获取模块501、过渡模块502和确定模块503。As shown in FIG. 5 , the blockiness detection apparatus 500 of this embodiment includes: an acquisition module 501 , a transition module 502 and a determination module 503 .
其中,获取模块501,可被配置成响应于确定当前帧中待编码的第一编码块为非边界编码块,获取第二编码块以及第二编码块周围的至少一个编码块的量化参数。Wherein, the acquiring module 501 may be configured to acquire quantization parameters of the second coding block and at least one coding block around the second coding block in response to determining that the first coding block to be coded in the current frame is a non-boundary coding block.
过渡模块502,可被配置成基于第二编码块以及第二编码块周围的至少一个编码块的量化参数,确定第一目标参数。The transition module 502 may be configured to determine the first target parameter based on the quantization parameters of the second coding block and at least one coding block around the second coding block.
确定模块503,可被配置成响应于确定第一目标参数符合第一预设条件,确定第一编码块编码后存在块效应。The determining module 503 may be configured to, in response to determining that the first target parameter meets the first preset condition, determine that blockiness exists after encoding the first encoding block.
在本实施例的一些可选的方式中,过渡模块进一步被配置成:基于第二编码块的量化参数,以及第二编码块所处的一个菱形块中各编码块的量化参数,确定第一目标参数。In some optional forms of this embodiment, the transition module is further configured to: determine the first target parameter.
在本实施例的一些可选的方式中,过渡模块进一步被配置成:基于第二编码块的量化参数,以及第二编码块所处的至少两个菱形块中各编码块的量化参数,确定第一目标参数。In some optional forms of this embodiment, the transition module is further configured to: based on the quantization parameter of the second coding block and the quantization parameters of each coding block in the at least two diamond-shaped blocks where the second coding block is located, determine first target parameter.
在本实施例的一些可选的方式中,该装置还包括:第一更新模块,被配置成响应于确定第一编码块编码后存在块效应,对第一编码块的量化参数进行更新,以消除块效应。In some optional manners of this embodiment, the device further includes: a first update module configured to update the quantization parameter of the first coding block in response to determining that block artifacts exist after the first coding block is coded, so as to Eliminate blocking effects.
在本实施例的一些可选的方式中,该装置还包括:第二更新模块,被配置成获取第一编码块周围的已完成编码的至少两个第三编码块的量化参数;响应于确定第二目标参数符合第二预设条件,对第一编码块的量化参数进行更新。In some optional manners of this embodiment, the device further includes: a second update module configured to obtain quantization parameters of at least two third coding blocks that have been coded around the first coding block; in response to determining The second target parameter meets the second preset condition, and the quantization parameter of the first coding block is updated.
在本实施例的一些可选的方式中,该装置还包括:第三更新模块,被配置成获取第一编码块周围的已完成编码的至少一个第三编码块的量化参数;响应于确定第三目标参数中存在至少一个参数符合第三预设条件,对第一编码块的量化参数进行更新。In some optional manners of this embodiment, the device further includes: a third update module configured to obtain quantization parameters of at least one third coding block that has been coded around the first coding block; At least one of the three target parameters meets the third preset condition, and the quantization parameter of the first coding block is updated.
根据本申请的实施例,本申请还提供了一种电子设备和一种可读存储介质。According to the embodiments of the present application, the present application also provides an electronic device and a readable storage medium.
如图6所示,是根据本申请实施例的块效应检测方法的电子设备的框图。As shown in FIG. 6 , it is a block diagram of an electronic device according to the blocking effect detection method of the embodiment of the present application.
600是根据本申请实施例的块效应检测方法的电子设备的框图。电子设备旨在表示各种形式的数字计算机,诸如,膝上型计算机、台式计算机、工作台、个人数字助理、服务器、刀片式服务器、大型计算机、和其它适合的计算机。电子设备还可以表示各种形式的移动装置,诸如,个人数字处理、蜂窝电话、智能电话、可穿戴设备和其它类似的计算装置。本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例,并且不意在限制本文中描述的和/或者要求的本申请的实现。600 is a block diagram of an electronic device according to the blockiness detection method of the embodiment of the present application. Electronic device is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers. Electronic devices may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are by way of example only, and are not intended to limit implementations of the applications described and/or claimed herein.
如图6所示,该电子设备包括:一个或多个处理器601、存储器602,以及用于连接各部件的接口,包括高速接口和低速接口。各个部件利用不同的总线互相连接,并且可以被安装在公共主板上或者根据需要以其它方式安装。处理器可以对在电子设备内执行的指令进行处理,包括存储在存储器中或者存储器上以在外部输入/输出装置(诸如,耦合至接口的显示设备)上显示GUI的图形信息的指令。在其它实施方式中,若需要,可以将多个处理器和/或多条总线与多个存储器和多个存储器一起使用。同样,可以连接多个电子设备,各个设备提供部分必要的操作(例如,作为服务器阵列、一组刀片式服务器、或者多处理器系统)。图6中以一个处理器601为例。As shown in FIG. 6, the electronic device includes: one or more processors 601, a memory 602, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and can be mounted on a common motherboard or otherwise as desired. The processor may process instructions executed within the electronic device, including instructions stored in or on the memory, to display graphical information of a GUI on an external input/output device such as a display device coupled to an interface. In other implementations, multiple processors and/or multiple buses may be used with multiple memories and multiple memories, if desired. Likewise, multiple electronic devices may be connected, with each device providing some of the necessary operations (eg, as a server array, a set of blade servers, or a multi-processor system). In FIG. 6, a processor 601 is taken as an example.
存储器602即为本申请所提供的非瞬时计算机可读存储介质。其中,所述存储器存储有可由至少一个处理器执行的指令,以使所述至少一个处理器执行本申请所提供的块效应检测方法。本申请的非瞬时计算机可读存储介质存储计算机指令,该计算机指令用于使计算机执行本申请所提供的块效应检测方法。The memory 602 is the non-transitory computer-readable storage medium provided in this application. Wherein, the memory stores instructions executable by at least one processor, so that the at least one processor executes the blockiness detection method provided in the present application. The non-transitory computer-readable storage medium of the present application stores computer instructions, and the computer instructions are used to cause a computer to execute the blockiness detection method provided in the present application.
存储器602作为一种非瞬时计算机可读存储介质,可用于存储非瞬时软件程序、非瞬时计算机可执行程序以及模块,如本申请实施例中的块效应检测方法对应的程序指令/模块(例如,附图5所示的获取模块501、过渡模块502和确定模块503)。处理器601通过运行存储在存储器602中的非瞬时软件程序、指令以及模块,从而执行服务器的各种功能应用以及数据处理,即实现上述方法实施例中的块效应检测方法。The memory 602, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer-executable programs and modules, such as program instructions/modules corresponding to the blocking effect detection method in the embodiment of the present application (for example, Acquisition module 501, transition module 502 and determination module 503 shown in Fig. 5). The processor 601 executes various functional applications and data processing of the server by running the non-transitory software programs, instructions and modules stored in the memory 602, that is, implements the blockiness detection method in the above method embodiments.
存储器602可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储块效应检测的电子设备的使用所创建的数据等。此外,存储器602可以包括高速随机存取存储器,还可以包括非瞬时存储器,例如至少一个磁盘存储器件、闪存器件、或其他非瞬时固态存储器件。在一些实施例中,存储器602可选包括相对于处理器601远程设置的存储器,这些远程存储器可以通过网络连接至块效应检测的电子设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 602 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application program required by at least one function; the data storage area may store data created by using an electronic device for blocking effect detection, and the like. In addition, the memory 602 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state storage devices. In some embodiments, the memory 602 may optionally include a memory that is remotely located relative to the processor 601, and these remote memories may be connected to the electronic device for blocking effect detection through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
块效应检测方法的电子设备还可以包括:输入装置603和输出装置604。处理器601、存储器602、输入装置603和输出装置604可以通过总线或者其他方式连接,图6中以通过总线连接为例。The electronic equipment of the blocking effect detection method may further include: an input device 603 and an output device 604 . The processor 601, the memory 602, the input device 603, and the output device 604 may be connected through a bus or in other ways. In FIG. 6, connection through a bus is taken as an example.
输入装置603可接收输入的数字或字符信息,例如触摸屏、小键盘、鼠标、轨迹板、触摸板、指示杆、一个或者多个鼠标按钮、轨迹球、操纵杆等输入装置。输出装置604可以包括显示设备、辅助照明装置(例如,LED)和触觉反馈装置(例如,振动电机)等。该显示设备可以包括但不限于,液晶显示器(LCD)、发光二极管(LED)显示器和等离子体显示器。在一些实施方式中,显示设备可以是触摸屏。The input device 603 can receive input digital or character information, such as a touch screen, a keypad, a mouse, a trackpad, a touchpad, a pointing stick, one or more mouse buttons, a trackball, a joystick and other input devices. The output device 604 may include a display device, an auxiliary lighting device (eg, LED), a tactile feedback device (eg, a vibration motor), and the like. The display device may include, but is not limited to, a liquid crystal display (LCD), a light emitting diode (LED) display, and a plasma display. In some implementations, the display device may be a touch screen.
此处描述的系统和技术的各种实施方式可以在数字电子电路系统、集成电路系统、专用ASIC(专用集成电路)、计算机硬件、固件、软件、和/或它们的组合中实现。这些各种实施方式可以包括:实施在一个或者多个计算机程序中,该一个或者多个计算机程序可在包括至少一个可编程处理器的可编程系统上执行和/或解释,该可编程处理器可以是专用或者通用可编程处理器,可以从存储系统、至少一个输入装置、和至少一个输出装置接收数据和指令,并且将数据和指令传输至该存储系统、该至少一个输入装置、和该至少一个输出装置。Various implementations of the systems and techniques described herein can be implemented in digital electronic circuitry, integrated circuit systems, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include being implemented in one or more computer programs executable and/or interpreted on a programmable system including at least one programmable processor, the programmable processor Can be special-purpose or general-purpose programmable processor, can receive data and instruction from storage system, at least one input device, and at least one output device, and transmit data and instruction to this storage system, this at least one input device, and this at least one output device an output device.
这些计算程序(也称作程序、软件、软件应用、或者代码)包括可编程处理器的机器指令,并且可以利用高级过程和/或面向对象的编程语言、和/或汇编/机器语言来实施这些计算程序。如本文使用的,术语“机器可读介质”和“计算机可读介质”指的是用于将机器指令和/或数据提供给可编程处理器的任何计算机程序产品、设备、和/或装置(例如,磁盘、光盘、存储器、可编程逻辑装置(PLD)),包括,接收作为机器可读信号的机器指令的机器可读介质。术语“机器可读信号”指的是用于将机器指令和/或数据提供给可编程处理器的任何信号。These computing programs (also referred to as programs, software, software applications, or codes) include machine instructions for a programmable processor and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine language calculation program. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or means for providing machine instructions and/or data to a programmable processor ( For example, magnetic disks, optical disks, memories, programmable logic devices (PLDs), including machine-readable media that receive machine instructions as machine-readable signals. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
为了提供与用户的交互,可以在计算机上实施此处描述的系统和技术,该计算机具有:用于向用户显示信息的显示装置(例如,CRT(阴极射线管)或者LCD(液晶显示器)监视器);以及键盘和指向装置(例如,鼠标或者轨迹球),用户可以通过该键盘和该指向装置来将输入提供给计算机。其它种类的装置还可以用于提供与用户的交互;例如,提供给用户的反馈可以是任何形式的传感反馈(例如,视觉反馈、听觉反馈、或者触觉反馈);并且可以用任何形式(包括声输入、语音输入或者、触觉输入)来接收来自用户的输入。To provide for interaction with the user, the systems and techniques described herein can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user. ); and a keyboard and pointing device (eg, a mouse or a trackball) through which a user can provide input to the computer. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and can be in any form (including Acoustic input, speech input or, tactile input) to receive input from the user.
可以将此处描述的系统和技术实施在包括后台部件的计算系统(例如,作为数据服务器)、或者包括中间件部件的计算系统(例如,应用服务器)、或者包括前端部件的计算系统(例如,具有图形用户界面或者网络浏览器的用户计算机,用户可以通过该图形用户界面或者该网络浏览器来与此处描述的系统和技术的实施方式交互)、或者包括这种后台部件、中间件部件、或者前端部件的任何组合的计算系统中。可以通过任何形式或者介质的数字数据通信(例如,通信网络)来将系统的部件相互连接。通信网络的示例包括:局域网(LAN)、广域网(WAN)和互联网。The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., as a a user computer having a graphical user interface or web browser through which a user can interact with embodiments of the systems and techniques described herein), or including such backend components, middleware components, Or any combination of front-end components in a computing system. The components of the system can be interconnected by any form or medium of digital data communication, eg, a communication network. Examples of communication networks include: Local Area Network (LAN), Wide Area Network (WAN) and the Internet.
计算机系统可以包括客户端和服务器。客户端和服务器一般远离彼此并且通常通过通信网络进行交互。通过在相应的计算机上运行并且彼此具有客户端-服务器关系的计算机程序来产生客户端和服务器的关系。A computer system may include clients and servers. Clients and servers are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by computer programs running on the respective computers and having a client-server relationship to each other.
根据本申请实施例的技术方案,有效提升了块效应检测的效率。According to the technical solutions of the embodiments of the present application, the efficiency of blocking effect detection is effectively improved.
应该理解,可以使用上面所示的各种形式的流程,重新排序、增加或删除步骤。例如,本发申请中记载的各步骤可以并行地执行也可以顺序地执行也可以不同的次序执行,只要能够实现本申请公开的技术方案所期望的结果,本文在此不进行限制。It should be understood that steps may be reordered, added or deleted using the various forms of flow shown above. For example, the steps described in the present application may be executed in parallel, sequentially, or in a different order, as long as the desired result of the technical solution disclosed in the present application can be achieved, no limitation is imposed herein.
上述具体实施方式,并不构成对本申请保护范围的限制。本领域技术人员应该明白的是,根据设计要求和其他因素,可以进行各种修改、组合、子组合和替代。任何在本申请的精神和原则之内所作的修改、等同替换和改进等,均应包含在本申请保护范围之内。The above specific implementation methods are not intended to limit the protection scope of the present application. It should be apparent to those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made depending on design requirements and other factors. Any modifications, equivalent replacements and improvements made within the spirit and principles of this application shall be included within the protection scope of this application.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310552592.7A CN116527920A (en) | 2023-05-16 | 2023-05-16 | Block effect detection method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310552592.7A CN116527920A (en) | 2023-05-16 | 2023-05-16 | Block effect detection method and device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN116527920A true CN116527920A (en) | 2023-08-01 |
Family
ID=87400942
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202310552592.7A Pending CN116527920A (en) | 2023-05-16 | 2023-05-16 | Block effect detection method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN116527920A (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101326831A (en) * | 2005-10-18 | 2008-12-17 | 高通股份有限公司 | Selective deblock filtering techniques for video coding |
| CN104754361A (en) * | 2013-12-28 | 2015-07-01 | 同济大学 | Image coding, decoding method and device |
| CN109379594A (en) * | 2018-10-31 | 2019-02-22 | 北京佳讯飞鸿电气股份有限公司 | Video coding compression method, device, equipment and medium |
| CN111711825A (en) * | 2020-06-23 | 2020-09-25 | 腾讯科技(深圳)有限公司 | Deblocking filtering method, apparatus, device and medium in video encoding and decoding |
| CN112203094A (en) * | 2020-11-16 | 2021-01-08 | 北京世纪好未来教育科技有限公司 | Coding method, device, electronic device and storage medium |
| CN113055669A (en) * | 2021-01-15 | 2021-06-29 | 北京博雅慧视智能技术研究院有限公司 | Image filtering method and device before coding |
-
2023
- 2023-05-16 CN CN202310552592.7A patent/CN116527920A/en active Pending
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101326831A (en) * | 2005-10-18 | 2008-12-17 | 高通股份有限公司 | Selective deblock filtering techniques for video coding |
| US20110110427A1 (en) * | 2005-10-18 | 2011-05-12 | Chia-Yuan Teng | Selective deblock filtering techniques for video coding |
| CN104754361A (en) * | 2013-12-28 | 2015-07-01 | 同济大学 | Image coding, decoding method and device |
| CN109379594A (en) * | 2018-10-31 | 2019-02-22 | 北京佳讯飞鸿电气股份有限公司 | Video coding compression method, device, equipment and medium |
| CN111711825A (en) * | 2020-06-23 | 2020-09-25 | 腾讯科技(深圳)有限公司 | Deblocking filtering method, apparatus, device and medium in video encoding and decoding |
| CN112203094A (en) * | 2020-11-16 | 2021-01-08 | 北京世纪好未来教育科技有限公司 | Coding method, device, electronic device and storage medium |
| CN113055669A (en) * | 2021-01-15 | 2021-06-29 | 北京博雅慧视智能技术研究院有限公司 | Image filtering method and device before coding |
Non-Patent Citations (1)
| Title |
|---|
| 李锡辉;季桂树;: "基于H.264码率控制算法的研究与改进", 微计算机信息, no. 15, 25 May 2007 (2007-05-25) * |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TWI674790B (en) | Method of picture data encoding and decoding and apparatus | |
| CN111432070A (en) | Application screen projection control method, device, equipment and medium | |
| EP3934249B1 (en) | Method and apparatus for coding video, and non-transitory computer-readable storage medium with computer instructions | |
| CN111783642B (en) | Image recognition method and device, electronic equipment and storage medium | |
| US20210258580A1 (en) | Method and apparatus for coding video, electronic device and computer-readable storage medium | |
| CN113068036B (en) | Method, apparatus, device and medium for sample adaptive compensation | |
| WO2023045420A1 (en) | Image processing method and apparatus, electronic device, and storage medium | |
| CN111757111B (en) | Video coding method, device, equipment and storage medium | |
| US12537973B2 (en) | Vertex motion vector predictor coding for vertex mesh (v-mesh) | |
| US12323604B2 (en) | Sample adaptive offset | |
| WO2019001015A1 (en) | Method and device for encoding and decoding image data | |
| KR102463854B1 (en) | Image processing method, apparatus, device and storage medium | |
| US11792407B2 (en) | Method and device for coding video using optimal video frame structure, and storage medium | |
| CN116527920A (en) | Block effect detection method and device | |
| US11632552B2 (en) | Method and apparatus for coding video, device and medium | |
| CN103702118A (en) | Image processing method and equipment | |
| CN111669586B (en) | Encoding method, device, device and computer storage medium | |
| CN116708810A (en) | Video coding method, device, equipment and storage medium | |
| CN115661273B (en) | Motion vector prediction method, motion vector prediction device, electronic equipment and storage medium | |
| CN114040204B (en) | Processing methods, apparatus, equipment and storage media for encoding units | |
| CN112073724B (en) | Video information processing method and device, electronic equipment and storage medium | |
| CN118042139A (en) | Data transmission method, data processing method, device and equipment | |
| CN115767116A (en) | Data processing method, device, electronic device and storage medium based on cloud application | |
| CN111768459A (en) | Image processing method, image processing device, electronic equipment and storage medium |
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 |