hottub.patents
US 12,532,003 B2#3337556 Most CitedActiveUnited States (USPTO)Utility

Data processing in band offset mode of sample adaptive offset

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

Abstract

A method is provided that includes: traversing all reconstructed pixels in a coding tree block, calculating a band value of each traversed reconstructed pixel, and calculating a residual value between each traversed reconstructed pixel and a corresponding original pixel; storing the calculated band value of each reconstructed pixel in a first array, and storing the calculated residual value between each reconstructed pixel and the corresponding original pixel in a second array; determining whether m consecutive band values in the first array belong to a same band; and in response to determining that the m consecutive band values in the first array belong to the same band, calculating, based on a residual value in the second array, a cumulative residual value of m reconstructed pixels corresponding to the m consecutive band values, and calculating a cumulative number of the m reconstructed pixels.

Interactive Citation Constellation Global Citation Ranking

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

Claims (8)

  1. Claim 1Independent Claim

    A method, comprising: acquiring a target reconstructed image; dividing the target reconstructed image into a plurality of non-overlapping coding tree blocks; traversing all reconstructed pixels in each coding tree block to calculate a band value of each traversed reconstructed pixel and a residual value between each traversed reconstructed pixel and a corresponding original pixel; storing the calculated band value of each reconstructed pixel in a first array and the calculated residual value between each reconstructed pixel and the corresponding original pixel in a second array; in response to determining that m consecutive band values in the first array belong to a same band, wherein m is an integer greater than or equal to 2: calculating, at a time based on the residual values in the second array of m reconstructed pixels corresponding to the m consecutive band values, a first cumulative residual value of the m reconstructed pixels; and calculating a first cumulative number of the m

  2. Claim 2Depends on #1

    The method according to claim 1, further comprising: reading the m consecutive band values from the first array; storing the read band values in a first variable with preset bits; fetching one of the band values from the first variable; copying the fetched band value m − 1 times to obtain the copied band values; storing the copied band values in a second variable with the preset bits; in response to determining that the first variable is equal to the second variable, determining that the m consecutive band values in the first array belong to the same band; and in response to determining that the first variable is not equal to the second variable, determining that the m consecutive band values in the first array do not belong to the same band.

  3. Claim 3Depends on #2

    The method according to claim 2, further comprising: when the first variable is not equal to the second variable, acquiring, from each of the first variable and the second variable, values in a preset number of bits that correspond to the n consecutive band values; and in response to determining that the values acquired from the first variable are equal to the values acquired from the second variable, determining that the n consecutive band values of the m consecutive band values belong to the same band.

  4. Claim 4Depends on #3

    The method according to claim 3, wherein m=8, n=4, wherein each band value is represented by an 8-bit value, wherein the first variable with the preset bits is a 64-bit first variable, and wherein acquiring, from each of the first variable and the second variable, values in the preset number of bits that correspond to the n consecutive band values comprises: acquiring, from each of the first variable and the second variable, values in 32 least significant bits or 32 most significant bits.

  5. Claim 5Depends on #2

    The method according to claim 2, wherein fetching one of the band values from the first variable comprises: fetching a band value at a preset location from the first variable.

  6. Claim 6Independent Claim

    A computer device, comprising: a processor; and a memory, wherein the memory stores computer executable instructions that, when executed by the processor, cause the processor to: acquire a target reconstructed image divide the target reconstructed image into a plurality of non-overlapping coding tree blocks; traverse all reconstructed pixels in each coding tree block to calculate a band value of each traversed reconstructed pixel, and a residual value between each traversed reconstructed pixel and a corresponding original pixel; store the calculated band value of each reconstructed pixel in a first array and the calculated residual value between each reconstructed pixel and the corresponding original pixel in a second array; in response to determining that m consecutive band values in the first array belong to a same band, wherein m is an integer greater than or equal to 2: calculate a first cumulative residual value of m reconstructed pixels corresponding to the m consecutive band val

  7. Claim 7Depends on #6

    The computer device according to claim 6, wherein the computer executable instructions, when executed by the processor, further cause the processor to: read the m consecutive band values from the first array; store the read band values in a first variable with preset bits; fetch one of the band values from the first variable; copy the fetched band value m − 1 times to obtain the copied band values; store the copied band values in a second variable with the preset bits; in response to determining that the first variable is equal to the second variable, determine that the m consecutive band values in the first array belong to the same band; and in response to determining that the first variable is not equal to the second variable, determine that the m consecutive band values in the first array do not belong to the same band.

  8. Claim 8Depends on #7

    The computer device according to claim 7, wherein the computer executable instructions, when executed by the processor, further cause the processor to: when the first variable is not equal to the second variable, acquire, from each of the first variable and the second variable, values in a preset number of bits that correspond to the n consecutive band values; and in response to determining that the values acquired from the first variable are equal to the values acquired from the second variable, determine that the n consecutive band values of the m consecutive band values belong to the same band.

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/072880, filed on Jan. 20, 2022, which claims priority to Chinese Patent Application No. 202110208657.7, filed with the China National Intellectual Property Administration on Feb. 24, 2021, the entire contents of which are hereby incorporated by reference in their entirety for all purpose. TECHNICAL FIELD The present application relates to the field of video image coding technologies, and in particular, to data processing in a band offset mode of sample adaptive offset. BACKGROUND High Efficiency Video Coding (HEVC) is a video compression standard. In the prior art, 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. In the BO mode, classification is performed based on a pixel value range, to equally divide pixel values into 32 bands. For example, a pixel value range of an 8-bit image is [0, 255]. In this case, during division of bands, each band includes eight pixel values, and a pixel value range of the k th band is [8 k, 8 k+7]. SUMMARY Some embodiments of the present application provide a method for data processing in a band offset mode of sample adaptive offset, a computer device, and a non-transitory computer-readable storage medium. According to a first aspect of the embodiments of the present application, a method is provided, including: acquiring 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, calculating a band value of each traversed recons

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 (27)

PatentTitleYearCitations

Non-Patent Literature (10)

  • Chinese Search Report, 202110208657.7, Apr. 27, 2022, 3 pages.
  • PCT Search Report, PCT /CN2022/072880, Apr. 19, 2022, 6 pages.
  • Zhang, Guanwen, et al.,
  • “
  • CNN-Based Sample Adaptive Offset Optimization in HEVC for Streaming Video,
  • ”
  • Proceedings of the 2019 IEEE International Conference on Real-time Computing and Robotics, Aug. 4-9, 2019, Russia, 4 pages.
  • European Search Report of the counterpart EP application No. 22758721.9, official mailing date: Mar. 11, 2024, 11 pages.
  • Andrey Norkin et al:
  • “