IP Library Granted Patent US 12,482,139
Granted Patent B2
US 12,482,139 · App. 18/035,328 · Granted Nov 25, 2025

Image compression method and apparatus, and intelligent terminal and computer-readable storage medium

Inventors: Jie Wang (Shenzhen, CN); Daxue Xia (Shenzhen, CN)
Assignee: SHENZHEN TCL DIGITAL TECHNOLOGY LTD.
G06T9/00G06V10/751
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,482,139
App. No.
18/035,328
Granted
Nov 25, 2025
Kind
B2
Abstract

Disclosed are an image compression method and apparatus, and an intelligent terminal and a computer-readable storage medium. The method comprises: obtaining a target image, and determining reference pixel points corresponding to target pixel points; determining pixel difference values of the target pixel points and the reference pixel points corresponding to same; determining, according to the pixel difference values, point compression data corresponding to the target pixel points; and compressing the target pixel points according to the point compression data to obtain image compression data of the target image.

Claims (59)

1 . An image compression method, comprising:

obtaining a target image, and determining a reference pixel point corresponding to each target pixel point in the target image;

for each target pixel point, determining a pixel difference value between the target pixel point and the reference pixel point corresponding to the target pixel point;

determining point compression data corresponding to each target pixel point according to the pixel difference value corresponding to each target pixel point; and

compressing each target pixel point according to the point compression data corresponding to each target pixel point to obtain image compression data of the target image;

wherein the determining the reference pixel point corresponding to each target pixel point in the target image comprises:

selecting the target pixel point in the first column of each row from the target image as the reference pixel point of remaining target pixel points in that row; or

selecting the target pixel point in the first row of each column from the target image as the reference pixel point of remaining target pixel points in that column; or

selecting any target pixel point from the target image as the reference pixel point of remaining target pixel points.

2 . The method of claim 1 , wherein the determining the pixel difference value between the target pixel point and the reference pixel point corresponding to the target pixel point for each target pixel point comprises:

for each target pixel point, obtaining pixel values of the target pixel point and the reference pixel point corresponding to the target pixel point; and

subtracting the pixel value of the reference pixel point corresponding to the target pixel point from the target pixel point to obtain the pixel difference value corresponding to the target pixel point.

3 . The method of claim 2 , wherein the determining the point compression data corresponding to each target pixel point according to the pixel difference value corresponding to each target pixel point comprises:

comparing the pixel difference value corresponding to each target pixel point with a preset compression threshold range;

if the pixel difference value of a certain target pixel point does not fall within the preset compression threshold range, compressing the certain target pixel point using a way with an original value involved to obtain first point compression data corresponding to the certain target pixel point; and

if the pixel difference value of a certain target pixel point falls within the preset compression threshold range, compressing the certain target pixel point using a way with a difference value involved to obtain second point compression data corresponding to the certain target pixel point.

4 . The method of claim 3 , further comprising:

using a way with the original value involved to compress the reference pixel point corresponding to each target pixel point to obtain third point compression data corresponding to the reference pixel point, wherein compression is not performed on the target pixel point that serves as the reference pixel point.

5 . The method of claim 4 , wherein the compressing each target pixel point according to the point compression data corresponding to each target pixel point to obtain the image compression data of the target image comprises:

obtaining the third point compression data of the reference pixel point corresponding to each target pixel point, and the first point compression data or the second point compression data corresponding to each target pixel point; and

based on the third point compression data, the second point compression data and the first point compression data, compressing each target pixel point and the reference pixel point corresponding to the target pixel point to obtain the image compression data of the target image.

6 . The method of claim 4 , wherein data length of the second point compression data is less than data length of the first point compression data.

7 . The method of claim 4 , wherein data length of the second point compression data is less than data length of the third point compression data.

8 . The method of claim 3 , wherein the highest bit of any of the point compression data is used as a compression flag bit for indicating whether compression is activated or not.

9 . An image compression apparatus, comprising:

a processor; and

a storage connected with the processor, the storage storing a program executable by the processor to execute a method, the method comprising:

obtaining a target image, and determining a reference pixel point corresponding to each target pixel point in the target image;

determining a pixel difference value between the target pixel point and the reference pixel point corresponding to the target pixel point for each target pixel point;

determining point compression data corresponding to each target pixel point according to the pixel difference value corresponding to each target pixel point; and

compressing each target pixel point according to the point compression data corresponding to each target pixel point to obtain image compression data of the target image;

wherein the determining the reference pixel point corresponding to each target pixel point in the target image comprises:

selecting the target pixel point in the first column of each row from the target image as the reference pixel point of remaining target pixel points in that row; or

selecting the target pixel point in the first row of each column from the target image as the reference pixel point of remaining target pixel points in that column; or

selecting any target pixel point from the target image as the reference pixel point of remaining target pixel points.

10 . The image compression apparatus of claim 9 , wherein the determining the pixel difference value between the target pixel point and the reference pixel point corresponding to the target pixel point for each target pixel point comprises:

for each target pixel point, obtaining pixel values of the target pixel point and the reference pixel point corresponding to the target pixel point; and

subtracting the pixel value of the reference pixel point corresponding to the target pixel point from the target pixel point to obtain the pixel difference value corresponding to the target pixel point.

11 . The image compression apparatus of claim 10 , wherein the determining the point compression data corresponding to each target pixel point according to the pixel difference value corresponding to each target pixel point comprises:

comparing the pixel difference value corresponding to each target pixel point with a preset compression threshold range;

if the pixel difference value of a certain target pixel point does not fall within the preset compression threshold range, compressing the certain target pixel point using a way with an original value involved to obtain first point compression data corresponding to the certain target pixel point; and

if the pixel difference value of a certain target pixel point falls within the preset compression threshold range, compressing the certain target pixel point using a way with a difference value involved to obtain second point compression data corresponding to the certain target pixel point.

12 . The image compression apparatus of claim 11 , wherein the method further comprises:

using a way with the original value involved to compress the reference pixel point corresponding to each target pixel point to obtain third point compression data corresponding to the reference pixel point, wherein compression is not performed on the target pixel point that serves as the reference pixel point.

13 . The image compression apparatus of claim 12 , wherein the compressing each target pixel point according to the point compression data corresponding to each target pixel point to obtain the image compression data of the target image comprises:

obtaining the third point compression data of the reference pixel point corresponding to each target pixel point, and the first point compression data or the second point compression data corresponding to each target pixel point; and

based on the third point compression data, the second point compression data and the first point compression data, compressing each target pixel point and the reference pixel point corresponding to the target pixel point to obtain the image compression data of the target image.

14 . The image compression apparatus of claim 12 , wherein data length of the second point compression data is less than data length of the first point compression data.

15 . The image compression apparatus of claim 12 , wherein data length of the second point compression data is less than data length of the third point compression data.

16 . The image compression apparatus of claim 11 , wherein the highest bit of any of the point compression data is used as a compression flag bit for indicating whether compression is activated or not.

17 . A non-transitory computer-readable storage medium, storing an image compression program, which is executed by a processor to perform the steps of:

obtaining a target image, and determining a reference pixel point corresponding to each target pixel point in the target image;

for each target pixel point, determining a pixel difference value between the target pixel point and the reference pixel point corresponding to the target pixel point;

determining point compression data corresponding to each target pixel point according to the pixel difference value corresponding to each target pixel point; and

compressing each target pixel point according to the point compression data corresponding to each target pixel point to obtain image compression data of the target image;

wherein the determining the reference pixel point corresponding to each target pixel point in the target image comprises:

selecting the target pixel point in the first column of each row from the target image as the reference pixel point of remaining target pixel points in that row; or

selecting the target pixel point in the first row of each column from the target image as the reference pixel point of remaining target pixel points in that column; or

selecting any target pixel point from the target image as the reference pixel point of remaining target pixel points.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 6, 2023
From: WANG, JIE; XIA, DAXUE
To: SHENZHEN TCL DIGITAL TECHNOLOGY LTD.
Reel/Frame 063557/0980 →
Priority Claims (1)
CN 202011229822.9 · Nov 6, 2020 · national
Continuity (1)
Related Publication 20240104780A1 · Mar 28, 2024
References Cited (32)
US 5402146A · Rodriguez · 1995 [cited by examiner]
US 5915042A · Matsushiro · 1999 [cited by applicant]
US 7421132B2 · Okada · 2008 [cited by examiner]
US 8036281B2 · Kobayashi · 2011 [cited by examiner]
US 8515166B2 · Ha · 2013 [cited by examiner]
US 8768085B2 · Liang · 2014 [cited by examiner]
US 10560703B2 · Liu · 2020 [cited by examiner]
US 10931970B2 · Jeon · 2021 [cited by examiner]
US 11711541B2 · Lee · 2023 [cited by examiner]
US 12094090B2 · Chen · 2024 [cited by examiner]
US 12244853B2 · Ko · 2025 [cited by examiner]
US 12262002B2 · Kim · 2025 [cited by examiner]
US 20140093181A1 · Nakayama · 2014 [cited by examiner]
US 20140362917A1 · Joshi et al. · 2014 [cited by applicant]
CN 102823244A · 2012 [cited by applicant]
CN 103179384A · 2013 [cited by applicant]
CN 105933708A · 2016 [cited by applicant]
CN 106231214A · 2016 [cited by applicant]
CN 106231322A · 2016 [cited by applicant]
CN 107659815A · 2018 [cited by applicant]
CN 110557637A · 2019 [cited by applicant]
CN 110971904A · 2020 [cited by applicant]
EP 2202983A1 · 2010 [cited by applicant]
JP 2000299866A · 2000 [cited by applicant]
JP 2007295023A · 2007 [cited by applicant]
JP 5108828B2 · 2012 [cited by applicant]
International Search Report in International application No. PCT/CN2021/127400, mailed on Dec. 30, 2021. [cited by applicant]
Written Opinion of the International Search Authority in International application No. PCT/CN2021/127400, mailed on Dec. 30, 2021. [cited by applicant]
European Search Report in European application No. 21888494.8, mailed on Jul. 16, 2024. [cited by applicant]
Yun Q Shi et al: “Image and Video Compression for Multimedia Engineering”, Jan. 1, 2000 (Jan. 1, 2000), Image and Video Compression for Muitimedia Engineering: Fundamentals, Algorithms, and Standards; [Image Processing … [cited by applicant]
Anonymous: “how to delete first row of pixel values?—MATLAB Answers—MATLAB Central”, Oct. 31, 2014 (Oct. 31, 2014), pp. 1-4, XP093181552. [cited by applicant]
Chinese Office Action issued in corresponding Chinese Patent Application No. 202011229822.9 dated Dec. 31, 2024, pp. 1-10. [cited by applicant]