CN106131554B - The point self-adapted compensation method of HEVC quick sample product based on major side direction - Google Patents

The point self-adapted compensation method of HEVC quick sample product based on major side direction Download PDF

Info

Publication number
CN106131554B
CN106131554B CN201610538332.4A CN201610538332A CN106131554B CN 106131554 B CN106131554 B CN 106131554B CN 201610538332 A CN201610538332 A CN 201610538332A CN 106131554 B CN106131554 B CN 106131554B
Authority
CN
China
Prior art keywords
dea
mode
ctu
optimal
type
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.)
Active
Application number
CN201610538332.4A
Other languages
Chinese (zh)
Other versions
CN106131554A (en
Inventor
贾天婕
姚英彪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Zhiduo Network Technology Co ltd
Original Assignee
Hangzhou Dianzi University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Dianzi University filed Critical Hangzhou Dianzi University
Priority to CN201610538332.4A priority Critical patent/CN106131554B/en
Publication of CN106131554A publication Critical patent/CN106131554A/en
Application granted granted Critical
Publication of CN106131554B publication Critical patent/CN106131554B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/117Filters, e.g. for pre-processing or post-processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/80Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation
    • H04N19/82Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation involving filtering within a prediction loop

Landscapes

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

Abstract

The point self-adapted compensation method of HEVC quick sample product based on major side direction that the invention discloses a kind of.The major side direction that the present invention includes the following steps: step 1, extracts each CTU;Step 2, the Optimal Boundary compensation model and its offset for determining CTU;Step 3, the opposite rate distortion costs for calculating other SAO compensation ways;Step 4, the optimal SAO mode for determining CTU.The present invention extracts the major side direction of each CTU and the optimal EO mode as the CTU, then traverses BO mode, Parameter fusion mode, uncompensation mode, rules out optimization model by formula Cost=Distortion+ λ × Bitrate.The present invention reduces the complexity of SAO mode determination process using the texture information of image, saves the SAO coding runing time of HEVC.

Description

The point self-adapted compensation method of HEVC quick sample product based on major side direction
Technical field
The invention belongs to high-definition digital video compression coding and decoding technical fields, more particularly to one kind to be based on major side direction HEVC (High Efficiency Video Coding, efficient video coding) point self-adapted compensation method of quick sample product.
Background technique
In the fast development of digital video application industrial chain, in face of Video Applications constantly to fine definition, high frame per second, height The trend that compression ratio direction is developed, the limitation of previous generation video compression standard agreement H.264/AVC constantly highlight.Therefore, by The tissue JCTVC that International Telecommunication Union (ITU) and Motion Picture Experts Group (MPEG) joint are set up proposes next-generation video and compiles Decoding standard --- H.265/HEVC.Its target is under the premise of identical picture quality, and compression ratio ratio is H.264/AVC high-grade It doubles.
HEVC is not broken through in terms of coding principle and basic structure, and H.264/AVC almost the same, i.e. prediction plus transformation Block encoding mode;On Ciphering details and H.264/AVC also very close to comprising intra prediction, inter-prediction, estimation With the coding/decoding modules such as compensation, orthogonal transformation, quantization, loop filtering, entropy coding and reconstruction.But with H.264/AVC compare Compared with HEVC almost takes important corrective measure in each coding link, as intra prediction supports 35 kinds of modes, frames Between prediction introduce Merge mode, change quantization support be up to 32 × 32 converter units, entropy coding using CABAC (be based on context Adaptive binary arithmetic coding, Context Adaptive Binary Arithmetic Coder) algorithm etc., furthermore HEVC loop filtering technology not only continues to use the de-blocking filter in H.264 standard, but also sampling point adaptive equalization (Sample is added Adaptive Offset, SAO) filtering, it is subjective to reduce the ringing effect bring video as produced by estimation and change quantization Mass loss.
H.265/HEVC the SAO in standard is using CTU as basic unit, by selecting a suitable classifier that will rebuild picture Element divides classification, then uses different offsets to different classes of pixel, can effectively improve the subjective and objective quality of video.It It is that boundary compensation (Edge Offset, EO) and sideband compensate (Band Offset, BO) respectively including two large compensation forms, this Parameter fusion technology is also introduced outside.
Boundary compensation mode classifies to handled pixel using a kind of 3 dot structures.The side locating for the pixel 2 pixels that arest neighbors is added on the direction of edge (one-dimensional), centered on the pixel form horizontal (EO_0), vertical (EO_ 1), 135 ° (EO_2), 45 ° (EO_3) four kind of 3 dot structures, as shown in Figure 1.According to the different distributions of 3 pixel values, which can It is divided into peak pixel (if its value is greater than 2 adjacent pixels), valley pixel is (if its value is less than 2 adjacent pictures Element), edge pixel (if its value be equal to any one adjacent pixel) and other pixels (if not meeting first 3 kinds), totally 4 class, As shown in Figure 2.Deviant added by the pixel different to 4 classes is also different.
Sideband compensation technique is sorted out according to pixel intensity value, and pixel coverage is divided into 32 sidebands, Mei Gebian by it Band is compensated according to itself pixel feature, and same sideband uses identical offset.HEVC standard provides that a CTB can only 4 continuous sidebands are selected, and only the pixel for belonging to this 4 sidebands is compensated.
Parameter fusion (Merge) refers to that, for a CTB block, SAO parameter directly uses the SAO parameter of adjacent block, this When only need identify use which adjacent block SAO parameter.
To determine the SAO parameter of a CTU block, 4 kinds of EO modes, BO mode, Merge mode and uncompensation are needed to be traversed for Mode, it is computationally intensive.
Summary of the invention
The present invention is directed to above-mentioned the technical problems existing in the prior art, using the texture information of image, for each CTB, proposes a kind of point self-adapted compensation method of HEVC quick sample product based on major side direction, and this method includes following step It is rapid:
Step 1, the major side direction for extracting each CTU (tree-like coding unit, coding tree unit).
In order to calculate pixel absolute value of the difference the sum of of each CTU on side not in the same direction using the texture information of image, Defining the sum of the absolute value is main edge direction consistency (Dominant Edge Assent, DEA), candidate major side side To including 0 °, 45 °, 90 °, 135 ° of four directions, and the consistency of corresponding four direction is expressed as DEA1、DEA2、 DEA3、DEA4, and take major side direction of the direction corresponding to consistency minimum value as the CTU;Extract the master of each CTU Wanting edge direction, specific step is as follows:
The CTU block of N × N (N is generally 64) size is divided into 5 sub-blocks by 1-1., and calculates separately the pixel of 5 sub-blocks Average value.The CTU block of N × N size is divided into 5 sub-blocks of a, b, c, d, e, calculates separately being averaged for 5 sub-block all pixels Value Pa、Pb、Pc、Pd、PeIt is as follows:
Wherein, PijFor pixel value of the CTU at the position (i, j).
1-2. utilizes Pa、Pb、Pc、Pd、PeCalculate separately 4 candidate major side orientation consistency DEA1、DEA2、DEA3、 DEA4:
DEA1=| Pb-Pa|+|Pd-Pc|
DEA2=| Pc-Pe|+|Pe-Pb|
DEA3=| Pc-Pa|+|Pd-Pb|
DEA4=| Pd-Pe|+|Pe-Pa|
1-3. is by DEA1、DEA2、DEA3、DEA4Master of the candidate major side direction as the CTU corresponding to middle minimum value Wanting edge direction DE, DE is the direction indicated in 0 °, 45 °, 90 °, 135 °.The minimum value of consistency is defined as follows:
DEAmin=min { DEA1,DEA2,DEA3,DEA4}
It, can be with 0 pixel to image if image resolution ratio is not the multiple (N is generally 64) of N when to image preprocessing Edge is filled, and in the present invention, the CTU filled is known as imperfect CTU, for imperfect CTU, is calculated by above-mentioned Major side direction out cannot reflect the texture feature of image, according to image space correlation, enable its major side direction be The major side direction of nearest encoded CTU.
Step 2, Optimal Boundary compensation (EO) mode and its offset for determining CTU.
The major side direction that the optimal EO mode of CTU is calculated by step 1 determines, i.e. DEA1、DEA2、DEA3、DEA4 Corresponding EO mode is respectively as follows: EO_0, EO_1, EO_2, EO_3, then calculates its offset according to mode type.
After determining good model, the pixel in CTU is divided into 5 classes, and for belonging to 1~4 class, pixel is mended It repays, each type can select different offsets again, it is therefore desirable to choose optimal compensation value M for each type.Each type The determination process of optimal compensation value independently carries out.
2-1. calculates initial compensation value m=E/N using statistical information, and E is original pixels and reconstructed pixel (before SAO compensation) Between the sum of difference, N is the pixel number for belonging to the type, is rounded to obtain m ' for m and by the offset m ' limit after rounding System is between [- 7,7];
2-2. carries out further limitation adjustment to offset according to boundary compensation type, for type 1 and type 2, compensation Value has to be larger than equal to 0, and the offset of type 3 and type 4 is necessarily less than equal to 0.
2-3. traverses all candidate offset [0, m '] or [m ', 0], chooses the opposite the smallest offset of rate distortion costs As optimal compensation value M, number of coded bits R=at this time | M |+1.Rate distortion costs Cost is defined as
Cost=Distortion+ λ × Bitrate
Wherein Distortion (distortion) is the mistake of original image and reconstructed image (after SAO compensation) under a certain EO mode Very, λ (lambda) is Lagrange factor, and Bitrate (bit rate) is bit number needed for coding SAO parameter information.
Step 3, the opposite rate distortion costs for calculating other SAO compensation ways.
In order to determine the optimal SAO mode of CTU, also need to calculate the opposite of sideband compensation (BO) mode and Parameter fusion mode Rate distortion costs.
The determination process of BO mode:
Firstly, being followed successively by 0~31 sideband chooses optimal compensation value;
Then, it is determined that optimal continuous 4 sidebands, the determination process of single sideband offset are as follows: utilizing statistical information Initial compensation value m1=E/N1 is calculated, E is the sum of the difference between original pixels and reconstructed pixel (before SAO compensation), and N1 is to belong to In the pixel number of the sideband, m1 is rounded to obtain m1 ', and the offset m1 ' after rounding is limited between [- 7,7];? M1 ' value after to clipping;
Subsequently, determine that candidate offset range is [0, m1 '] or [m1 ', 0] according to its symbol.
Finally, all candidate offsets of traversal, choose the opposite the smallest offset of rate distortion costs as optimal compensation value M1, at this time number of coded bits R=| M1 |+2.It chooses so that rate distortion costs the smallest 4 continuous sidebands are optimal BO mould Formula, the sum of corresponding offset of 4 sidebands are optimal compensation value.
In the rate distortion computation formula of Parameter fusion mode, Distortion loses for the relative rate of the adjacent block of used parameter True cost, Bitrate are flag bit number of coded bits.
Step 4, the optimal SAO mode for determining CTU.
The compensation type of SAO includes uncompensation, EO mode, BO mode, left adjacent block Parameter fusion mode and upper adjacent block Parameter fusion mode, SAO final compensation type are selected from 5 kinds of modes, select one group of SAO ginseng that distortion performance is optimal Number.
So far, entirely the point self-adapted compensation method of HEVC quick sample product based on major side direction terminates.
The present invention has the beneficial effect that:
This method substantially utilizes the complexity of the texture information reduction SAO mode determination process of image, to reduce HEVC Scramble time.Specifically, optimal EO of this method by extracting the major side direction of each CTU and as the CTU Then mode traverses BO mode, Parameter fusion mode, uncompensation mode, passes through formula Cost=Distortion+ λ × Bitrate Optimization model is ruled out, compared to the method for traditional all EO modes of traversal, it is big little situation to be lost in encoding efficiency Amount saves the SAO scramble time of HEVC.
Detailed description of the invention
Fig. 1: SAO 4 kinds of boundary compensation pattern diagrams.
Fig. 2: the classification schematic diagram of boundary compensation.
Fig. 3: CTU major side direction schematic diagram.
Fig. 4: CTU divides schematic diagram.
Fig. 5: the point self-adapted compensation method flow chart of HEVC quick sample product based on major side direction.
Specific embodiment
By taking the cataloged procedure of several sequences such as Basketball Drill as an example, to reduce ringing effect, it need to be carried out Sampling point adaptive equalization, the present embodiment are accordingly described in detail the inventive method of proposition.
The step of HEVC quick sample product based on major side direction point self-adapted compensation method, is as follows:
Step 1, the major side direction for extracting each CTU (tree-like coding unit, coding tree unit).
In order to calculate pixel absolute value of the difference the sum of of each CTU on side not in the same direction using the texture information of image, Defining the sum of the absolute value is main edge direction consistency (Dominant Edge Assent, DEA), candidate major side side To including 0 °, 45 °, 90 °, 135 ° of four directions, as shown in figure 3, and the consistency of corresponding four direction be expressed as DEA1、DEA2、DEA3、DEA4, and take major side direction of the direction corresponding to consistency minimum value as the CTU;It extracts every Specific step is as follows in the major side direction of a CTU:
The CTU block of N × N (N is generally 64) size is divided into 5 sub-blocks by 1-1., and calculates separately the pixel of 5 sub-blocks Average value.The CTU block of N × N size is divided into 5 sub-blocks of a, b, c, d, e as shown in Figure 4, it is all to calculate separately 5 sub-blocks The average value P of pixela、Pb、Pc、Pd、PeIt is as follows:
Wherein, PijFor pixel value of the CTU at the position (i, j).
1-2. utilizes Pa、Pb、Pc、Pd、PeCalculate separately 4 candidate major side orientation consistency DEA1、DEA2、DEA3、 DEA4:
DEA1=| Pb-Pa|+|Pd-Pc|
DEA2=| Pc-Pe|+|Pe-Pb|
DEA3=| Pc-Pa|+|Pd-Pb|
DEA4=| Pd-Pe|+|Pe-Pa|
1-3. is by DEA1、DEA2、DEA3、DEA4Master of the candidate major side direction as the CTU corresponding to middle minimum value Wanting edge direction DE, DE is the direction indicated in 0 °, 45 °, 90 °, 135 °.The minimum value of consistency is defined as follows:
DEAmin=min { DEA1,DEA2,DEA3,DEA4}
It, can be with 0 pixel to image if image resolution ratio is not the multiple (N is generally 64) of N when to image preprocessing Edge is filled, and in the present invention, the CTU filled is known as imperfect CTU, for imperfect CTU, is calculated by above-mentioned Major side direction out cannot reflect the texture feature of image, according to image space correlation, enable its major side direction be The major side direction of nearest encoded CTU.
Step 2, Optimal Boundary compensation (EO) mode and its offset for determining CTU.
The major side direction that the optimal EO mode of CTU is calculated by step 1 determines, i.e. DEA1、DEA2、DEA3、DEA4 Corresponding EO mode is respectively as follows: EO_0, EO_1, EO_2, EO_3, then calculates its offset according to mode type.
After determining good model, the pixel in CTU is divided into 5 classes, i.e., 4 class shown in Fig. 2 and the 5th class for being not belonging to this 4 class Situation, for belonging to 1~4 class, pixel needs are compensated, and each type can select different offsets again, therefore It needs to choose optimal compensation value M for each type.The determination process of each type optimal compensation value independently carries out.
2-1. calculates initial compensation value m=E/N using statistical information, and E is original pixels and reconstructed pixel (before SAO compensation) Between the sum of difference, N is the pixel number for belonging to the type, is rounded to obtain m ' for m and by the offset m ' limit after rounding System is between [- 7,7];
2-2. carries out further limitation adjustment to offset according to boundary compensation type, for type 1 and type 2, compensation Value has to be larger than equal to 0, and the offset of type 3 and type 4 is necessarily less than equal to 0.
2-3. traverses all candidate offset [0, m '] or [m ', 0], chooses the opposite the smallest offset of rate distortion costs As optimal compensation value M, number of coded bits R=at this time | M |+1.Rate distortion costs Cost is defined as
Cost=Distortion+ λ × Bitrate
Wherein Distortion (distortion) is the mistake of original image and reconstructed image (after SAO compensation) under a certain EO mode Very, λ (lambda) is Lagrange factor, and Bitrate (bit rate) is bit number needed for coding SAO parameter information.
Step 3, the opposite rate distortion costs for calculating other SAO compensation ways.
In order to determine the optimal SAO mode of CTU, also need to calculate the opposite of sideband compensation (BO) mode and Parameter fusion mode Rate distortion costs.
The determination process of BO mode:
Firstly, being followed successively by 0~31 sideband chooses optimal compensation value;
Then, it is determined that optimal continuous 4 sidebands, the determination process of single sideband offset are as follows: utilizing statistical information Initial compensation value m1=E/N1 is calculated, E is the sum of the difference between original pixels and reconstructed pixel (before SAO compensation), and N1 is to belong to In the pixel number of the sideband, m1 is rounded to obtain m1 ', and the offset m1 ' after rounding is limited between [- 7,7];? M1 ' value after to clipping;
Subsequently, determine that candidate offset range is [0, m1 '] or [m1 ', 0] according to its symbol.
Finally, all candidate offsets of traversal, choose the opposite the smallest offset of rate distortion costs as optimal compensation value M1, at this time number of coded bits R=| M1 |+2.It chooses so that rate distortion costs the smallest 4 continuous sidebands are optimal BO mould Formula, corresponding offset are optimal compensation value.
In the rate distortion computation formula of Parameter fusion mode, Distortion loses for the relative rate of the adjacent block of used parameter True cost, Bitrate are flag bit number of coded bits.
Step 4, the optimal SAO mode for determining CTU.
The compensation type of SAO includes uncompensation, EO mode, BO mode, left adjacent block Parameter fusion mode and upper adjacent block Parameter fusion mode, SAO final compensation type are selected from 5 kinds of modes, select one group of SAO ginseng that distortion performance is optimal Number.
So far, entirely the point self-adapted compensation method of HEVC quick sample product based on major side direction terminates, method flow diagram As shown in Figure 5.
The present invention tests test environment and compiles fortune in window8 system VS2010 using HEVC standard identifying code HM13.0 16 cycle tests are counted and are tested by row.With full I frame (All Intra, AI), arbitrary access (Random Access, RA), low latency-P frame (LP), low latency-B frame (LB) are coding environment, and setting 22,27,32,37 is used as QP value, utilizes brightness Bjontegaard-Delta bit rate (YBD-rate) by the sideband compensation optimizing improved method of proposition and the original SAO of HEVC Parameter determination method compares, and counts the encoding and decoding time, and the results are shown in Table 1.
By table 1 it can be found that the present invention proposes fast method compared with original method, 53.39% SAO coding is saved Time, and the loss very little of encoding efficiency.
HEVC quick sample product point self-adapted compensation method of the table 1 based on major side direction and HEVC source code Contrast on effect result
Certainly, those of ordinary skill in the art is it should be appreciated that above embodiments are intended merely to illustrate this hair It is bright, and be not intended as limitation of the invention, as long as within the scope of the invention, all to the variations of above embodiments, modification Protection scope of the present invention will be fallen into.

Claims (2)

1. the point self-adapted compensation method of HEVC quick sample product based on major side direction, it is characterised in that include the following steps:
Step 1, the major side direction for extracting each CTU;
Pixel absolute value of the difference the sum of of each CTU on side not in the same direction is calculated, defining the sum of the absolute value is major side side To consistency DEA, candidate major side direction includes 0 °, 45 °, 90 °, 135 ° of four directions, and the one of corresponding four direction Cause property is expressed as DEA1、DEA2、DEA3、DEA4, and take direction corresponding to consistency minimum value as the main of the CTU Edge direction;
Step 2, the optimal EO mode and its offset for determining CTU;
The major side direction that the optimal EO mode of CTU is calculated by step 1 determines, i.e. DEA1、DEA2、DEA3、DEA4It is corresponding EO mode be respectively as follows: EO_0, EO_1, EO_2, EO_3, its offset is then calculated according to mode type;After determining good model, Be split up into 5 classes according to the relationship between CTU center pixel and corresponding edge pixel: type 1 is valley pixel, type 2 is following Edge pixel, type 3 are top edge pixel, type 4 is peak pixel, type 5 is other pixels;For belonging to 1~4 class, Pixel needs compensate, and each type can select different offsets again, it is therefore desirable to choose optimal benefit for each type Repay value M;The determination process of each type optimal compensation value independently carries out;
Step 3, the opposite rate distortion costs for calculating other SAO compensation ways;
In order to determine the optimal SAO mode of CTU, the opposite rate distortion costs for calculating BO mode and Parameter fusion mode are also needed;
Step 4, the optimal SAO mode for determining CTU;
The compensation type of SAO includes uncompensation, EO mode, BO mode, left adjacent block Parameter fusion mode and upper adjacent block parameter Fusion mode, SAO final compensation type are selected from 5 kinds of modes, one group of SAO parameter for selecting distortion performance optimal;
Specific step is as follows in the major side direction of each CTU of extraction described in step 1:
The CTU block of N × N size is divided into 5 sub-blocks by 1-1., and calculates separately the pixel average of 5 sub-blocks;N × N is big Small CTU block is divided into a, b, c, d, e5 sub-blocks, calculates separately the average value P of 5 sub-block all pixelsa、Pb、Pc、Pd、PeSuch as Under:
Wherein, PijFor pixel value of the CTU at the position (i, j);
1-2. utilizes Pa、Pb、Pc、Pd、PeCalculate separately 4 candidate major side orientation consistency DEA1、DEA2、DEA3、DEA4:
DEA1=| Pb-Pa|+|Pd-Pc|
DEA2=| Pc-Pe|+|Pe-Pb|
DEA3=| Pc-Pa|+|Pd-Pb|
DEA4=| Pd-Pe|+|Pe-Pa|;
1-3. is by DEA1、DEA2、DEA3、DEA4Main side of the candidate major side direction as the CTU corresponding to middle minimum value Edge direction DE, DE are the direction indicated in 0 °, 45 °, 90 °, 135 °;The minimum value of consistency is defined as follows:
DEAmin=min { DEA1,DEA2,DEA3,DEA4};
Detailed process is as follows for step 2:
2-1. calculates initial compensation value m=E/N using statistical information, and E is the sum of the difference between original pixels and reconstructed pixel, N is the pixel number for belonging to the type, is rounded m to obtain m ' and the offset m ' after rounding is limited between [- 7,7];
2-2. carries out further limitation adjustment to offset according to boundary compensation type, and for type 1 and type 2, offset must Must be more than or equal to 0, the offset of type 3 and type 4 is necessarily less than equal to 0;
2-3. traverses all candidate offset [0, m '] or [m ', 0], chooses the opposite the smallest offset conduct of rate distortion costs Optimal compensation value M, at this time number of coded bits R=| M |+1;Rate distortion costs Cost is defined as
Cost=Distortion+ λ × Bitrate
Wherein Distortion is the distortion of original image and reconstructed image under a certain EO mode, and λ is Lagrange factor, Bitrate is bit number needed for coding SAO parameter information.
2. the HEVC quick sample product point self-adapted compensation method according to claim 1 based on major side direction, feature It is to calculate the opposite rate distortion costs of other SAO compensation ways described in step 3, wherein the determination process of BO mode:
Firstly, being followed successively by 0~31 sideband chooses optimal compensation value;
Then, it is determined that optimal continuous 4 sidebands, the determination process of single sideband offset are as follows: being calculated using statistical information Initial compensation value m1=E/N1, E are the sum of the differences between original pixels and reconstructed pixel, and N1 is the pixel for belonging to the sideband M1 is rounded to obtain m1 ', and the offset m1 ' after rounding is limited between [- 7,7] by number;M1 ' value after obtaining clipping;
Subsequently, determine that candidate offset range is [0, m1 '] or [m1 ', 0] according to its symbol;
Finally, all candidate offsets of traversal, the opposite the smallest offset of rate distortion costs is chosen as optimal compensation value M1, this When number of coded bits R=| M1 |+2;It chooses so that rate distortion costs the smallest 4 continuous sidebands are optimal BO mode, 4 The sum of corresponding offset of sideband is optimal compensation value;
In the rate distortion computation formula of Parameter fusion mode, Distortion is distorted generation for the relative rate of the adjacent block of used parameter Valence, Bitrate are flag bit number of coded bits.
CN201610538332.4A 2016-07-07 2016-07-07 The point self-adapted compensation method of HEVC quick sample product based on major side direction Active CN106131554B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610538332.4A CN106131554B (en) 2016-07-07 2016-07-07 The point self-adapted compensation method of HEVC quick sample product based on major side direction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610538332.4A CN106131554B (en) 2016-07-07 2016-07-07 The point self-adapted compensation method of HEVC quick sample product based on major side direction

Publications (2)

Publication Number Publication Date
CN106131554A CN106131554A (en) 2016-11-16
CN106131554B true CN106131554B (en) 2019-07-26

Family

ID=57284204

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610538332.4A Active CN106131554B (en) 2016-07-07 2016-07-07 The point self-adapted compensation method of HEVC quick sample product based on major side direction

Country Status (1)

Country Link
CN (1) CN106131554B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108206952B (en) * 2016-12-19 2021-12-28 北京君正集成电路股份有限公司 BO processing method and device based on HEVC
CN109756736B (en) * 2017-11-01 2021-02-12 北京金山云网络技术有限公司 SAO mode decision method, device, electronic equipment and readable storage medium
CN109963160A (en) * 2017-12-26 2019-07-02 北京君正集成电路股份有限公司 Simplification SAO optimal compensation value calculating method and device based on HEVC
CN109963154A (en) * 2017-12-26 2019-07-02 北京君正集成电路股份有限公司 The method and apparatus for determining optimal compensation value based on multiple candidate offsets
CN109963153A (en) * 2017-12-26 2019-07-02 北京君正集成电路股份有限公司 Video comfort method and apparatus
CN109963161A (en) * 2017-12-26 2019-07-02 北京君正集成电路股份有限公司 Optimal compensation value calculating method and device
CN108259903B (en) * 2018-04-10 2021-05-14 重庆邮电大学 H.265 sample self-adaptive compensation method based on human eye region of interest
CN110944188B (en) * 2018-09-21 2022-04-08 杭州海康威视数字技术股份有限公司 Method, device and system for sample adaptive compensation
CN112927324B (en) * 2021-02-24 2022-06-03 上海哔哩哔哩科技有限公司 Data processing method and device of boundary compensation mode of sample point self-adaptive compensation
CN113068036B (en) * 2021-03-17 2022-10-28 上海哔哩哔哩科技有限公司 Method, apparatus, device and medium for sample adaptive compensation
CN113068050B (en) * 2021-03-17 2022-08-23 上海哔哩哔哩科技有限公司 Method and device for determining sample point adaptive compensation mode of tree-shaped coding block

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103442229A (en) * 2013-08-27 2013-12-11 复旦大学 Bit rate estimation method of SAO mode decision applied to encoder of HEVC standard
CN105141948A (en) * 2015-09-22 2015-12-09 天津师范大学 Improved HEVC sample point self-adaption compensation method
KR101620389B1 (en) * 2015-03-20 2016-05-13 한밭대학교 산학협력단 Sample adaptive offset for high efficiency video coding

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103442229A (en) * 2013-08-27 2013-12-11 复旦大学 Bit rate estimation method of SAO mode decision applied to encoder of HEVC standard
KR101620389B1 (en) * 2015-03-20 2016-05-13 한밭대학교 산학협력단 Sample adaptive offset for high efficiency video coding
CN105141948A (en) * 2015-09-22 2015-12-09 天津师范大学 Improved HEVC sample point self-adaption compensation method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
改进的基于AVS2的样点自适应补偿滤波算法;陈智贤 等;《计算机应用》;20160510(第5期);全文 *

Also Published As

Publication number Publication date
CN106131554A (en) 2016-11-16

Similar Documents

Publication Publication Date Title
CN106131554B (en) The point self-adapted compensation method of HEVC quick sample product based on major side direction
CN107147911B (en) Quick interframe coding mode selection method and device based on local luminance compensation LIC
CN101710993B (en) Block-based self-adaptive super-resolution video processing method and system
CN104054344B (en) Chroma data is deblocked for video coding
CN103460699B (en) Loop circuit filtering method and its equipment
CN104602011B (en) Picture decoding apparatus
CN111355956B (en) Deep learning-based rate distortion optimization rapid decision system and method in HEVC intra-frame coding
CN102119401B (en) Method and apparatus for banding artifact detection
CN108184129A (en) A kind of video coding-decoding method, device and the neural network for image filtering
CN105120292A (en) Video coding intra-frame prediction method based on image texture features
CN103607590B (en) Efficient video coding based on structural similarity perceives Rate-distortion optimization method
CN103647975B (en) Improved sample adaptive offset filtering method based on histogram analysis
CN105306957B (en) Adaptive loop filter method and apparatus
CN107888921A (en) A kind of device for being used to carry out reconstruction image post-processing
CN106937116A (en) Low-complexity video coding method based on random training set adaptive learning
CN104992419A (en) Super pixel Gaussian filtering pre-processing method based on JND factor
CN108769696A (en) A kind of DVC-HEVC video transcoding methods based on Fisher discriminates
CN109889852A (en) A kind of HEVC intraframe coding optimization method based on neighbor
CN105681803B (en) A kind of HEVC video information hiding methods of large capacity
Li et al. A scalable coding approach for high quality depth image compression
CN102256130A (en) Method for marking video frame image sequence number based on inserted macro block brightness particular values
CN1457196A (en) Video encoding method based on prediction time and space domain conerent movement vectors
CN105979262B (en) A kind of SAO optimization method of the HEVC based on temporal correlation and intra prediction direction
CN110868593A (en) Video CU fast partitioning based on regional decision tree
CN103313064B (en) Based on the time domain error hidden method of inter-frame mode and movement repair

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201216

Address after: Room 3003-1, building 1, Gaode land center, Jianggan District, Hangzhou City, Zhejiang Province

Patentee after: Zhejiang Zhiduo Network Technology Co.,Ltd.

Address before: 310018 No. 2 street, Xiasha Higher Education Zone, Hangzhou, Zhejiang

Patentee before: HANGZHOU DIANZI University

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201225

Address after: 314500 Tongxiang City, Jiaxing, Zhejiang, Tung Tung Road, Wu Tung Street (East) 55, Tongxiang chamber of Commerce Building 1 unit 1702, 1703 room -A-220

Patentee after: Jiaxing Beixi Electromechanical Equipment Co.,Ltd.

Address before: Room 3003-1, building 1, Gaode land center, Jianggan District, Hangzhou City, Zhejiang Province

Patentee before: Zhejiang Zhiduo Network Technology Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221205

Address after: Room 407-10, floor 4, building 2, Haichuang science and technology center, Cangqian street, Yuhang District, Hangzhou City, Zhejiang Province, 311100

Patentee after: Zhejiang Zhiduo Network Technology Co.,Ltd.

Address before: 314500 Tongxiang City, Jiaxing, Zhejiang, Tung Tung Road, Wu Tung Street (East) 55, Tongxiang chamber of Commerce Building 1 unit 1702, 1703 room -A-220

Patentee before: Jiaxing Beixi Electromechanical Equipment Co.,Ltd.