hottub.patents
US 12,401,792 B2#3458496 Most CitedActiveUnited States (USPTO)Utility

Data processing in edge offset mode of sample adaptive offset

0Forward Citations (#3458496 Global)
0.0/yrCitation Velocity (#3458496 Global)
0.00Citation PageRank (#3458496 Global)
19Prior Art Cited
8Structured Claims
0Drawings / Sheets

Abstract

Techniques for data processing in an edge offset mode of sample adaptive offset are provided. The techniques include: traversing reconstructed pixels in a coding tree block, and calculating a residual value between each reconstructed pixel and original pixel; traversing all first reconstructed pixels in a non-boundary part of the coding tree block, and calculating a category of each traversed first reconstructed pixel in each direction; traversing all second reconstructed pixels in a boundary part of the coding tree block, and calculating a category of each traversed second reconstructed pixel along a single direction; and calculating an accumulated residual value of reconstructed pixels along the four directions and an accumulated number of reconstructed pixels under the category based on the category of each first reconstructed pixel the edge offset modes along the four directions, the category of each second reconstructed pixel along the single direction, and each residual value.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 19 · Forward citations: 0.

Claims (8)

  1. Claim 1Independent Claim

    A method, comprising: obtaining a target reconstructed image, and dividing the target reconstructed image into a plurality of non-overlapping coding tree blocks; traversing all reconstructed pixels in each coding tree block, and calculating a residual value between each reconstructed pixel and a corresponding original pixel; traversing all first reconstructed pixels in a non-boundary part of the coding tree block, and calculating a category of each traversed first reconstructed pixel in each of edge offset modes along four directions, wherein the four directions comprise a horizontal direction, a vertical direction, a 135 ° direction, and a 45 ° direction, and storing the category of each first reconstructed pixel in each of the edge offset modes along the four directions into one variable in a concatenation manner; traversing all second reconstructed pixels in a boundary part of the coding tree block, and calculating a category of each traversed second reconstructed pixel in an edge o

  2. Claim 2Depends on #1

    The method according to claim 1, wherein the calculating an accumulated residual value of reconstructed pixels under each of different categories in each of the edge offset modes along the four directions based on the category of each first reconstructed pixel in each of the edge offset modes along the four directions, the category of each second reconstructed pixel in the edge offset mode along the single direction, and each residual value further comprises: traversing all the second reconstructed pixels, and storing the category of each second reconstructed pixel in the edge offset mode along the single direction into the variable in a concatenation manner, wherein a category of each second reconstructed pixel in each of the edge offset modes along the other directions is represented by a preset value; and the obtaining, from the variable, the category of each first reconstructed pixel in each of the edge offset modes along the four directions comprises: obtaining, from the variable,

  3. Claim 3Depends on #2

    The method according to claim 2, wherein there are five categories, each category is represented by four bits, the categories of each reconstructed pixel in the edge offset modes along the four directions are represented by 16 bits, and the obtaining, from the variable, the categories of all the reconstructed pixels in the edge offset modes along the four directions comprises: performing an and operation on the variable and a preset 16-bit value to obtain a category, stored in the variable, of each reconstructed pixel in an edge offset mode along one direction; performing a 4-bit shift on the variable to obtain an updated variable; performing an and operation on the updated variable and the preset 16-bit value to obtain a category of the reconstructed pixel in an edge offset mode along another direction; and returning to perform the step of performing a 4-bit shift on the variable to obtain an updated variable, until the categories of each reconstructed pixel in the edge offset modes a

  4. Claim 4Depends on #3

    The method according to claim 3, wherein the preset 16-bit value is 0x000f, and the performing a 4-bit shift on the variable to obtain an updated variable comprises: performing a 4-bit right shift on the variable to obtain an updated variable.

  5. Claim 5Depends on #3

    The method according to claim 3, wherein the preset 16-bit value is 0xf000, and the performing a 4-bit shift on the variable to obtain an updated variable comprises: performing a 4-bit left shift on the variable to obtain an updated variable.

  6. Claim 6Depends on #3

    The method according to claim 3, wherein the step of calculating an accumulated residual value of reconstructed pixels under each of different categories in each of the edge offset modes along the four directions based on the category of each first reconstructed pixel in each of the edge offset modes along the four directions, the category of each second reconstructed pixel in the edge offset mode along the single direction, and each residual value comprises: calculating an accumulated residual value of reconstructed pixels under each of all the categories except a preset category in each of the edge offset modes along the four directions based on the category of each first reconstructed pixel in each of the edge offset modes along the four directions, the category of each second reconstructed pixel in the edge offset mode along the single direction, and each residual value.

  7. Claim 7Independent Claim

    A computer device, comprising: a memory, a processor, and computer-readable instructions stored in the memory and capable of running on the processor, wherein when the processor executes the computer-readable instructions, the processor performs operations comprising: obtaining a target reconstructed image, and dividing the target reconstructed image into a plurality of non-overlapping coding tree blocks; traversing all reconstructed pixels in each coding tree block, and calculating a residual value between each reconstructed pixel and a corresponding original pixel; traversing all first reconstructed pixels in a non-boundary part of the coding tree block, and calculating a category of each traversed first reconstructed pixel in each of edge offset modes along four directions, wherein the four directions comprise a horizontal direction, a vertical direction, a 135 ° direction, and a 45 ° direction, and storing the category of each first reconstructed pixel in each of the edge offset mo

  8. Claim 8Depends on #7

    The computer device according to claim 7, wherein the calculating an accumulated residual value of reconstructed pixels under each of different categories in each of the edge offset modes along the four directions based on the category of each first reconstructed pixel in each of the edge offset modes along the four directions, the category of each second reconstructed pixel in the edge offset mode along the single direction, and each residual value further comprises: traversing all the second reconstructed pixels, and storing the category of each second reconstructed pixel in the edge offset mode along the single direction into the variable in a concatenation manner, wherein a category of each second reconstructed pixel in each of the edge offset modes along the other directions is represented by a preset value; and the obtaining, from the variable, the category of each first reconstructed pixel in each of the edge offset modes along the four directions comprises: obtaining, from the

Technical Overview & Description

CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation under 35 U.S.C. 111(a) of PCT International Application No. PCT/CN2022/072846, filed on Jan. 20, 2022, which claims priority to Chinese Patent Application No. 202110209617.4, filed on Feb. 24, 2021, the entire contents of which are hereby incorporated by reference in their entirety for all purposes. TECHNICAL FIELD The present application relates to data processing technologies, and in particular, to data processing in an edge offset mode of sample adaptive offset. BACKGROUND High Efficiency Video Coding (HEVC) is a video compression standard. After a video is compressed through HEVC, to reduce a distortion between a reconstructed image and an original image, pixel compensation is performed on the reconstructed image by using a sample adaptive offset (SAO) technology. When pixel compensation is performed by using the SAO technology, pixel compensation may be implemented in an edge offset (EO) mode or a band offset (BO) mode. The EO technology categorizes a current reconstructed pixel by comparing a size of the current reconstructed pixel with a size of an adjacent pixel. Based on position differences of pixels to be selected, the edge offset is implemented along four directions: a horizontal direction (EO0), a vertical direction (EO1), a 135 ° direction (EO2), and a 45 ° direction (EO3). In the implementation process of the existing EO mode, a separate function will be written for each EO direction, that is, four functions need to be written for the four EO directions, and each function is used to complete the calculation of a category of a pixel in the corresponding direction, and implement a process of calculating residuals and the number. SUMMARY The present application provides a method for data processing in an edge offset mode of sample adaptive offset, including: obtaining a target reconstructed image, and dividing the target reconstructed image into a plurality of non-overlapping codi

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (19)

PatentTitleYearCitations

Non-Patent Literature (10)

  • EESR of the counterpart EP application No. 22758720.1, official mailing date: Apr. 5, 2024, 10 pages.
  • PCT/CN2022/072846, International Search Report, official mailing date: Apr. 19, 2022, 6 pages.
  • CN202110209617.4, Notification to Grant, issued May 7, 2022, 9 pages.
  • Wang et al.,
  • “
  • Fast Sample Adaptive Offset Jointly Based on HOG Features and Depth Information for VVC in Visual Sensor Networks
  • ”
  • , Sensors, MDPI, Nov. 26, 2020, 18 pages.
  • Summons to oral proceedings of the counterpart EP application No. 22758720.1 (Official mailing date:Apr. 23, 2025), 12 pages.
  • Chih-Ming Eu et al: