Candidate priority assignment system applying dual color processing
By calculating and sorting priority with color component difference degree calculation and sorting priority in intra coding, the intra coding process is simplified, and the problem of complicated and complicated judgment of intra coding candidate standards in the prior art is solved, and the efficiency of intra coding is improved.
Patent Information
- Application Number
- CN202410918569.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-11-01
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the existing intra-coding technology, judging the most suitable intra-coding candidate criteria is complicated and complex, and failing to effectively utilize the distribution consistency characteristics of different color components, resulting in the intra-coding process being complicated.
By obtaining the degree of difference between the first and second color chunks corresponding to the multiple intra-coded image chunks near the current image chunk, the number of zero data is calculated and arithmetic averaged, and then allocated after sorting Priority is used to coordinate the intra-encoding candidates for the third color chunk.
The intra-coding process is simplified, reliable and effective intra-coding between different color components is realized, and encoding efficiency is improved.
Smart Images

Figure CN118890470A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intra-frame coding, and in particular to a candidate priority allocation system using dual color processing. Background Art
[0002] Intra-frame coding, also known as intra-picture coding, is an important concept in video coding. The main feature of intra-frame coding is that it uses only the coded part of the current frame to form a prediction and perform self-coding. This coding method is suitable for key frames, that is, frames that do not depend on other frames. During the intra-frame coding process, a prediction is first formed from the coded part of the current frame, and then the difference between the original data and the predicted value (i.e., the residual) is calculated. The residual data is then discrete cosine transformed (DCT) and quantized. In the encoding part, a ZIGZAG scan is performed, and the prediction is used to reduce the size of some header information. For the results of DCT and quantization, a reverse calculation is also performed. Finally, the predicted value and the result of the reverse calculation are added together to complete the encoding.
[0003] Generally, it is necessary to find the most suitable intra-frame coded image block as the intra-frame coding candidate of the current image block from multiple intra-frame coded image blocks near the current image block to be intra-frame coded in the current image. The formulation of the most suitable judgment standard in the prior art is rather cumbersome and complicated, and different judgments need to be performed on each different color component separately, without taking into account the characteristic that different color components have consistent distribution, let alone using this characteristic to simplify the intra-frame coding technology of the prior art. Summary of the invention
[0004] In order to solve the technical problems in the related fields, the present invention provides a candidate priority allocation system using dual color processing, which can collaboratively determine the intra-frame coding candidates required for the third color block of the current image block to perform intra-frame coding based on the degree of difference between the first color blocks corresponding to multiple intra-frame coded image blocks near the current image block to be intra-frame coded in the current image and their reconstructed blocks, as well as the degree of difference between the corresponding second color blocks and their reconstructed blocks, thereby utilizing the distribution similarity characteristics between color components to achieve reliable and effective intra-frame coding of different colors.
[0005] According to the present invention, there is provided a candidate priority allocation system applying dual color processing, the system comprising:
[0006] A directional analysis device, for obtaining, for each image block in the current image, a first color block, a second color block and a third color block corresponding thereto, wherein the first color, the second color and the third color are in the same color space;
[0007] a content detection device, connected to the directional analysis device, for obtaining a plurality of intra-frame encoded image blocks near a current image block to be intra-frame encoded in the current image, and performing the following operations for each intra-frame encoded image block: detecting a difference block between a first color block corresponding to the intra-frame encoded image block and a first color reconstruction block of the intra-frame encoded image block as a first difference block, detecting a difference block between a second color block corresponding to the intra-frame encoded image block and a second color reconstruction block of the intra-frame encoded image block as a second difference block, accumulating the number of zero data in the first difference block as a first number, accumulating the number of zero data in the second difference block as a second number, and taking the arithmetic mean of the first number and the second number as a reference number;
[0008] an object comparison device connected to the content detection device, and configured to obtain a plurality of reference numbers respectively corresponding to the plurality of intra-frame encoded image blocks, sort the plurality of reference numbers from small to large, and assign priorities of the plurality of intra-frame encoded image blocks as intra-frame encoding candidates of the third color block of the current image block based on the sorting order of the plurality of reference numbers from small to large;
[0009] a signal output device connected to the object comparison device, and used to output the priority of the intra-frame coding candidate of the third color block of the current image block as the intra-frame coding information of the third color block of the current image block;
[0010] The method comprises: obtaining a plurality of reference numbers respectively corresponding to the plurality of intra-frame encoded image blocks, sorting the plurality of reference numbers from small to large, and allocating priorities of the plurality of intra-frame encoded image blocks as intra-frame encoding candidates of the third color block of the current image block based on the order of sorting the plurality of reference numbers from small to large, including: the higher the order of the reference number, the higher the priority of the corresponding intra-frame encoded image block as the intra-frame encoding candidate of the third color block of the current image block;
[0011] Among them, for each image block in the current image, the corresponding first color block, second color block and third color block are obtained, and the first color, the second color and the third color are included in the same color space: the color space is a YUV color space, and the first color component, the second color component and the third color component are Y component, U component and V component respectively.
[0012] It can be seen that the present invention has at least the following main inventive concepts:
[0013] Invention concept 1: based on the difference between the first color block corresponding to a plurality of intra-frame encoded image blocks near the current image block to be intra-frame encoded in the current image and the reconstructed block thereof, and the difference between the second color block corresponding to the plurality of intra-frame encoded image blocks and the reconstructed block thereof, collaboratively determine the intra-frame encoding candidate required for the third color block of the current image block to be intra-frame encoded, thereby utilizing the distribution similarity characteristics between color components to realize reliable and effective intra-frame encoding of different colors;
[0014] Inventive concept 2: Specifically, a plurality of reference numbers corresponding to a plurality of intra-frame encoded image blocks are obtained, the plurality of reference numbers are sorted from small to large, and priorities of the plurality of intra-frame encoded image blocks as intra-frame encoding candidates of the third color block of the current image block are allocated based on the sorting order of the plurality of reference numbers from small to large;
[0015] Inventive concept three: For each intra-frame encoded image block, the corresponding reference number is obtained in the following manner: detecting the difference block between the first color block corresponding to the intra-frame encoded image block and the first color reconstruction block of the intra-frame encoded image block as the first difference block, detecting the difference block between the second color block corresponding to the intra-frame encoded image block and the second color reconstruction block of the intra-frame encoded image block as the second difference block, accumulating the number of zero data in the first difference block as the first number, accumulating the number of zero data in the second difference block as the second number, and taking the arithmetic mean of the first number and the second number as the reference number. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The embodiments of the present invention will be described below with reference to the accompanying drawings, wherein:
[0017] Figure 1 FIG. 1 is a block diagram of the structure of a candidate priority assignment system using dual color processing according to a primary embodiment of the present invention.
[0018] Figure 2 It is a structural block diagram of a candidate priority assignment system applying dual color processing according to a secondary embodiment of the present invention.
[0019] Figure 3 FIG. 1 is a block diagram of a candidate priority allocation system using dual color processing according to another embodiment of the present invention. DETAILED DESCRIPTION
[0020] An embodiment of the candidate priority assignment system applying dual color processing of the present invention will be described in detail below with reference to the accompanying drawings.
[0021] Figure 1A structural block diagram of a candidate priority allocation system using dual color processing according to a primary embodiment of the present invention, the system comprising:
[0022] A directional analysis device, for obtaining, for each image block in the current image, a first color block, a second color block and a third color block corresponding thereto, wherein the first color, the second color and the third color are in the same color space;
[0023] For example, the directional analysis device is used to obtain the first color block, the second color block and the third color block corresponding to each image block in the current image, wherein the first color, the second color and the third color are in the same color space and include: the analysis device has a built-in dynamic storage device, which is used to temporarily store the first color block, the second color block and the third color block corresponding to each image block in the current image;
[0024] a content detection device, connected to the directional analysis device, for obtaining a plurality of intra-frame encoded image blocks near a current image block to be intra-frame encoded in the current image, and performing the following operations for each intra-frame encoded image block: detecting a difference block between a first color block corresponding to the intra-frame encoded image block and a first color reconstruction block of the intra-frame encoded image block as a first difference block, detecting a difference block between a second color block corresponding to the intra-frame encoded image block and a second color reconstruction block of the intra-frame encoded image block as a second difference block, accumulating the number of zero data in the first difference block as a first number, accumulating the number of zero data in the second difference block as a second number, and taking the arithmetic mean of the first number and the second number as a reference number;
[0025] an object comparison device connected to the content detection device, and configured to obtain a plurality of reference numbers respectively corresponding to the plurality of intra-frame encoded image blocks, sort the plurality of reference numbers from small to large, and assign priorities of the plurality of intra-frame encoded image blocks as intra-frame encoding candidates of the third color block of the current image block based on the sorting order of the plurality of reference numbers from small to large;
[0026] a signal output device connected to the object comparison device, and used to output the priority of the intra-frame coding candidate of the third color block of the current image block as the intra-frame coding information of the third color block of the current image block;
[0027] The method comprises: obtaining a plurality of reference numbers respectively corresponding to the plurality of intra-frame encoded image blocks, sorting the plurality of reference numbers from small to large, and allocating priorities of the plurality of intra-frame encoded image blocks as intra-frame encoding candidates of the third color block of the current image block based on the order of sorting the plurality of reference numbers from small to large, including: the higher the order of the reference number, the higher the priority of the corresponding intra-frame encoded image block as the intra-frame encoding candidate of the third color block of the current image block;
[0028] For each image block in the current image, the first color block, the second color block and the third color block corresponding thereto are obtained, and the first color, the second color and the third color are in the same color space: the color space is a YUV color space, and the first color component, the second color component and the third color component are a Y component, a U component and a V component respectively;
[0029] Among them, detecting the difference block between the first color block corresponding to the intra-frame encoded image block and the first color reconstruction block of the intra-frame encoded image block as the first difference block, detecting the difference block between the second color block corresponding to the intra-frame encoded image block and the second color reconstruction block of the intra-frame encoded image block as the second difference block, accumulating the number of zero data in the first difference block as the first number, accumulating the number of zero data in the second difference block as the second number, and taking the arithmetic mean of the first number and the second number as the reference number includes: the difference block between the first color block corresponding to the intra-frame encoded image block and the first color reconstruction block of the intra-frame encoded image block is the difference block obtained by performing difference calculation on the same position values of the first color block corresponding to the intra-frame encoded image block and the first color reconstruction block of the intra-frame encoded image block;
[0030] Among them, detecting the difference block between the first color block corresponding to the intra-frame encoded image block and the first color reconstruction block of the intra-frame encoded image block as the first difference block, detecting the difference block between the second color block corresponding to the intra-frame encoded image block and the second color reconstruction block of the intra-frame encoded image block as the second difference block, accumulating the number of zero data in the first difference block as the first number, accumulating the number of zero data in the second difference block as the second number, and taking the arithmetic mean of the first number and the second number as the reference number also includes: the difference block between the second color block corresponding to the intra-frame encoded image block and the second color reconstruction block of the intra-frame encoded image block is the difference block obtained by performing difference calculation on the same position values of the second color block corresponding to the intra-frame encoded image block and the second color reconstruction block of the intra-frame encoded image block.
[0031] Figure 2 It is a structural block diagram of a candidate priority assignment system applying dual color processing according to a secondary embodiment of the present invention.
[0032] Compared to Figure 1 , Figure 2 The candidate priority allocation system for applying dual color processing may also include:
[0033] An on-site storage device, connected to the directional parsing device, the content detection device, the object comparison device and the signal output device, respectively, for providing data temporary storage services for the directional parsing device, the content detection device, the object comparison device and the signal output device in a time-sharing manner;
[0034] The field storage device is respectively connected to the directional analysis device, the content detection device, the object comparison device and the signal output device, and is used to provide data temporary storage services for the directional analysis device, the content detection device, the object comparison device and the signal output device in a time-sharing manner, including: the directional analysis device, the content detection device, the object comparison device and the signal output device are respectively connected to the field storage device using different data channels;
[0035] Among them, the field storage device is respectively connected to the directional parsing device, the content detection device, the object comparison device and the signal output device, and is used to provide data temporary storage services for the directional parsing device, the content detection device, the object comparison device and the signal output device in a time-sharing manner, including: the directional parsing device, the content detection device, the object comparison device and the signal output device use the same reference clock signal.
[0036] Figure 3 FIG. 1 is a block diagram of a candidate priority allocation system using dual color processing according to another embodiment of the present invention.
[0037] Compared to Figure 1 , Figure 3 The candidate priority allocation system for applying dual color processing may also include:
[0038] a content display device, connected to the directional parsing device, the content detection device, the object comparison device and the signal output device, respectively, and used to simultaneously display various status information of the directional parsing device, the content detection device, the object comparison device and the signal output device;
[0039] Wherein, the content display device is connected to the directional parsing device, the content detection device, the object comparison device and the signal output device respectively, and is used to simultaneously display various status information of the directional parsing device, the content detection device, the object comparison device and the signal output device, including: the simultaneously displayed various status information of the directional parsing device, the content detection device, the object comparison device and the signal output device includes the sleep state or working state of the directional parsing device, the content detection device, the object comparison device and the signal output device;
[0040] Wherein, the content display device is connected to the directional analysis device, the content detection device, the object comparison device and the signal output device respectively, and is used to simultaneously display various status information of the directional analysis device, the content detection device, the object comparison device and the signal output device, and further includes: the content display device is a liquid crystal display screen or an LED display array;
[0041] Wherein, the content display device is connected to the directional analysis device, the content detection device, the object comparison device and the signal output device respectively, and is used to simultaneously display various status information of the directional analysis device, the content detection device, the object comparison device and the signal output device, and further comprises: the LED display array is composed of a plurality of LED display units arranged in a rectangular matrix mode;
[0042] And wherein, the content display device is respectively connected to the directional analysis device, the content detection device, the object comparison device and the signal output device, and is used to simultaneously display various status information of the directional analysis device, the content detection device, the object comparison device and the signal output device, and also includes: the structure of the multiple LED display units arranged in a rectangular matrix pattern is the same.
[0043] In addition, in the candidate priority allocation system applying dual color processing, the difference block between the first color block corresponding to the intra-frame encoded image block and the first color reconstructed block of the intra-frame encoded image block is detected as the first difference block, the difference block between the second color block corresponding to the intra-frame encoded image block and the second color reconstructed block of the intra-frame encoded image block is detected as the second difference block, the number of zero data in the first difference block is accumulated as the first number, the number of zero data in the second difference block is accumulated as the second number, and the arithmetic mean of the first number and the second number is used as the reference number. It also includes: the difference block between the third color block corresponding to the intra-frame encoded image block and the third color reconstructed block of the intra-frame encoded image block is the difference block obtained by performing difference calculation on the same position values of the third color block corresponding to the intra-frame encoded image block and the third color reconstructed block of the intra-frame encoded image block.
[0044] The candidate priority allocation system using dual color processing of the present invention is used to address the technical problem that the intra-frame coding mechanism in the prior art requires independent intra-frame coding for each color component, resulting in the overall intra-frame coding being too cumbersome and complicated. By collaboratively judging the intra-frame coding candidates required for the third color block of the current image block to be intra-coded based on the degree of difference between the first color block corresponding to multiple intra-frame coded image blocks near the current image block to be intra-coded in the current image and the reconstructed block thereof, as well as the degree of difference between the corresponding second color block and the reconstructed block thereof, the existing intra-frame coding mechanism is simplified by utilizing the distribution similarity characteristics between the color components.
[0045] While there has been described what are considered to be preferred embodiments of the present invention, those skilled in the art will recognize that other and further modifications may be made thereto without departing from the spirit of the invention, and it is intended to claim all such embodiments that fall within the true scope of the invention.
Claims
1. A candidate priority allocation system using dual color processing, characterized in that: The system comprises: A directional analysis device, for obtaining, for each image block in the current image, a first color block, a second color block and a third color block corresponding thereto, wherein the first color, the second color and the third color are in the same color space; a content detection device, connected to the directional analysis device, for obtaining a plurality of intra-frame encoded image blocks near a current image block to be intra-frame encoded in the current image, and performing the following operations for each intra-frame encoded image block: detecting a difference block between a first color block corresponding to the intra-frame encoded image block and a first color reconstruction block of the intra-frame encoded image block as a first difference block, detecting a difference block between a second color block corresponding to the intra-frame encoded image block and a second color reconstruction block of the intra-frame encoded image block as a second difference block, accumulating the number of zero data in the first difference block as a first number, accumulating the number of zero data in the second difference block as a second number, and taking the arithmetic mean of the first number and the second number as a reference number; an object comparison device connected to the content detection device, and configured to obtain a plurality of reference numbers respectively corresponding to the plurality of intra-frame encoded image blocks, sort the plurality of reference numbers from small to large, and assign priorities of the plurality of intra-frame encoded image blocks as intra-frame encoding candidates of the third color block of the current image block based on the sorting order of the plurality of reference numbers from small to large; a signal output device connected to the object comparison device, and used to output the priority of the intra-frame coding candidate of the third color block of the current image block as the intra-frame coding information of the third color block of the current image block; The method comprises: obtaining a plurality of reference numbers respectively corresponding to the plurality of intra-frame encoded image blocks, sorting the plurality of reference numbers from small to large, and allocating priorities of the plurality of intra-frame encoded image blocks as intra-frame encoding candidates of the third color block of the current image block based on the order of sorting the plurality of reference numbers from small to large, including: the higher the order of the reference number, the higher the priority of the corresponding intra-frame encoded image block as the intra-frame encoding candidate of the third color block of the current image block; Among them, for each image block in the current image, the corresponding first color block, second color block and third color block are obtained, and the first color, the second color and the third color are included in the same color space: the color space is a YUV color space, and the first color component, the second color component and the third color component are Y component, U component and V component respectively.
2. The candidate priority allocation system using dual color processing as claimed in claim 1, characterized in that: Detecting a difference block between a first color block corresponding to the intra-frame encoded image block and a first color reconstruction block of the intra-frame encoded image block as a first difference block, detecting a difference block between a second color block corresponding to the intra-frame encoded image block and a second color reconstruction block of the intra-frame encoded image block as a second difference block, accumulating the number of zero data in the first difference block as a first number, accumulating the number of zero data in the second difference block as a second number, and taking the arithmetic mean of the first number and the second number as a reference number includes: the difference block between the first color block corresponding to the intra-frame encoded image block and the first color reconstruction block of the intra-frame encoded image block is a difference block obtained by performing difference calculation on the same position values of the first color block corresponding to the intra-frame encoded image block and the first color reconstruction block of the intra-frame encoded image block; Among them, detecting the difference block between the first color block corresponding to the intra-frame encoded image block and the first color reconstruction block of the intra-frame encoded image block as the first difference block, detecting the difference block between the second color block corresponding to the intra-frame encoded image block and the second color reconstruction block of the intra-frame encoded image block as the second difference block, accumulating the number of zero data in the first difference block as the first number, accumulating the number of zero data in the second difference block as the second number, and taking the arithmetic mean of the first number and the second number as the reference number also includes: the difference block between the second color block corresponding to the intra-frame encoded image block and the second color reconstruction block of the intra-frame encoded image block is the difference block obtained by performing difference calculation on the same position values of the second color block corresponding to the intra-frame encoded image block and the second color reconstruction block of the intra-frame encoded image block.
3. The candidate priority allocation system using dual color processing as claimed in claim 2, characterized in that: The system further comprises: An on-site storage device, connected to the directional parsing device, the content detection device, the object comparison device and the signal output device, respectively, for providing data temporary storage services for the directional parsing device, the content detection device, the object comparison device and the signal output device in a time-sharing manner; Among them, the on-site storage device is respectively connected to the directional parsing device, the content detection device, the object comparison device and the signal output device, and is used to provide data temporary storage services for the directional parsing device, the content detection device, the object comparison device and the signal output device in a time-sharing manner, including: the directional parsing device, the content detection device, the object comparison device and the signal output device are respectively connected to the on-site storage device using different data channels.
4. The candidate priority allocation system using dual color processing as claimed in claim 3, characterized in that: The field storage device is respectively connected to the directional parsing device, the content detection device, the object comparison device and the signal output device, and is used to provide data temporary storage services for the directional parsing device, the content detection device, the object comparison device and the signal output device in a time-sharing manner, including: the directional parsing device, the content detection device, the object comparison device and the signal output device use the same reference clock signal.
5. The candidate priority allocation system using dual color processing as claimed in claim 2, characterized in that: The system further comprises: The content display device is respectively connected to the directional parsing device, the content detection device, the object comparison device and the signal output device, and is used to simultaneously display various status information of the directional parsing device, the content detection device, the object comparison device and the signal output device.
6. The candidate priority allocation system using dual color processing as claimed in claim 5, characterized in that: The content display device is respectively connected to the directional parsing device, the content detection device, the object comparison device and the signal output device, and is used to simultaneously display various status information of the directional parsing device, the content detection device, the object comparison device and the signal output device, including: the various status information of the directional parsing device, the content detection device, the object comparison device and the signal output device displayed simultaneously includes the sleep state or working state of the directional parsing device, the content detection device, the object comparison device and the signal output device.
7. The candidate priority allocation system using dual color processing as claimed in claim 6, characterized in that: The content display device is respectively connected to the directional parsing device, the content detection device, the object comparison device and the signal output device, and is used to simultaneously display various status information of the directional parsing device, the content detection device, the object comparison device and the signal output device, and also includes: the content display device is a liquid crystal display screen or an LED display array.
8. The candidate priority allocation system using dual color processing as claimed in claim 7, characterized in that: The content display device is respectively connected to the directional analysis device, the content detection device, the object comparison device and the signal output device, and is used to simultaneously display various status information of the directional analysis device, the content detection device, the object comparison device and the signal output device, and also includes: the LED display array is composed of multiple LED display units arranged in a rectangular matrix pattern.
9. The candidate priority allocation system using dual color processing as claimed in claim 8, characterized in that: The content display device is respectively connected to the directional analysis device, the content detection device, the object comparison device and the signal output device, and is used to simultaneously display various status information of the directional analysis device, the content detection device, the object comparison device and the signal output device, and also includes: the structure of the multiple LED display units arranged in a rectangular matrix pattern is the same.
