IP Library Granted Patent US 11,461,879
Granted Patent B2
US 11,461,879 · App. 17/106,190 · Granted Oct 4, 2022

Image processing method, device and storage medium

Inventors: Chengqiang Liu (Chengdu, CN); Zhimin Qiu (Chengdu, CN); ChiaChen Chang (Chengdu, CN)
Assignee: MONTAGE LZ TECHNOLOGIES (CHENGDU) CO., LTD.
G06T5/009G06T2207/10024G06T2207/20208
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 11,461,879
App. No.
17/106,190
Granted
Oct 4, 2022
Kind
B2
Abstract

An image processing method converts an original image represented in an original color gamut to a target image represented in a target color gamut. The image processing method comprises: A) calculating a set of primary color direction deviations between a set of original primary color directions of the original color gamut and a set of target primary color directions of the target color gamut, wherein each of the set of primary color direction deviations corresponds to a primary color; B) determining, for each pixel in the original image, a corrected color coordinate of the pixel based on a set of offsets of an original color coordinate of the pixel in the original color gamut relative to the set of original primary color directions and the set of primary color direction deviations; and C) mapping, for each pixel in the original image, the corrected color coordinate of the pixel into the target color gamut to generate a target color coordinate of the pixel in the target color gamut.

Claims (30)

1. An image processing method for converting an original image represented in an original color gamut to a target image represented in a target color gamut, wherein the image processing method comprises:

A) calculating a set of primary color direction deviations between a set of original primary color directions of the original color gamut and a set of target primary color directions of the target color gamut, wherein each of the set of primary color direction deviations corresponds to a primary color;

B) determining, for each pixel in the original image, a corrected color coordinate of the pixel based on a set of offsets of an original color coordinate of the pixel in the original color gamut relative to the set of original primary color directions and the set of primary color direction deviations; and

C) mapping, for each pixel in the original image, the corrected color coordinate of the pixel into the target color gamut to generate a target color coordinate of the pixel in the target color gamut.

2. The image processing method of claim 1 , wherein step B further comprises:

dividing the original color gamut into color sub-regions based on respective original color directions of each two adjacent primary colors of the original color gamut;

calculating, for original color coordinates in each color sub-region, their respective corrected color directions based on one or two primary color directions associated with the color sub-region and one or more primary color direction deviations corresponding to the one or more primary color directions; and

calculating, for the original color coordinates in each color sub-region, their respective corrected color coordinates based on their respective corrected color directions and original color coordinates.

3. The image processing method of claim 2 , wherein the color sub-regions comprise a first color sub-region defined by an original red direction and an original blue direction, a second color sub-region defined by an original green direction and the original red direction, and a third color sub-region defined by the original green direction and the original blue direction.

4. The image processing method of claim 2 , wherein the color sub-regions comprise a first color sub-region adjacent to an original red direction, a second color sub-region adjacent to an original green direction and a third color sub-region adjacent to an original blue direction.

5. The image processing method of claim 1 , wherein step C comprises:

calculating, for each pixel in the original image, a corrected color direction of the original color coordinate of the pixel in the original color gamut; and

calculating, for each pixel in the original image, the target color coordinate of the original color coordinate of the pixel in the target color gamut based on respective relative positions of the original color coordinate of the pixel relative to a corresponding boundary of the original color gamut and a corresponding boundary of the target color gamut in the corrected color direction.

6. The image processing method of claim 5 , wherein the method further comprises:

D) collecting statistics of color information of the pixels in the original image to obtain color statistics information; and

wherein the step of calculating, for each pixel in the original image, the target color coordinate of the original color coordinate of the pixel in the target color gamut further comprises calculating the target color coordinate by referring to the color statistics information.

7. The image processing method of claim 1 , wherein the method further comprises:

E) adjusting an original lightness value of each pixel in the original image to convert the original image represented in an original lightness format to the target image represented in a target lightness format.

8. The image processing method of claim 7 , wherein step D further comprises:

collecting statistics of the original lightness values of the pixels in the original image to determine a maximum lightness value and an average lightness value of the original image;

normalizing the original lightness value of each pixel in the original image based on the maximum lightness value and the average lightness value; and

calculating a target lightness value of each pixel in the target image based on the normalized original lightness value of the pixel and a permitted maximum lightness value of the target image.

9. An image processing device for converting an original image represented in an original color gamut to a target image represented in a target color gamut, where in the image processing device comprises a non-volatile computer readable storage medium storing thereon one or more executable instructions which can be executed by a processor to perform the following steps:

A) calculating a set of primary color direction deviations between a set of original primary color directions of the original color gamut and a set of target primary color directions of the target color gamut, wherein each of the set of primary color direction deviations corresponds to a primary color;

B) determining, for each pixel in the original image, a corrected color coordinate of the pixel based on a set of offsets of an original color coordinate of the pixel in the original color gamut relative to the set of original primary color directions and the set of primary color direction deviations; and

C) mapping, for each pixel in the original image, the corrected color coordinate of the pixel into the target color gamut to generate a target color coordinate of the pixel in the target color gamut.

10. A non-transitory computer readable storage medium storing thereon one or more executable instructions which can be executed by a processor to perform an image processing method for converting an original image represented in an original color gamut to a target image represented in a target color gamut, wherein the image processing method comprises the following steps:

A) calculating a set of primary color direction deviations between a set of original primary color directions of the original color gamut and a set of target primary color directions of the target color gamut, wherein each of the set of primary color direction deviations corresponds to a primary color;

B) determining, for each pixel in the original image, a corrected color coordinate of the pixel based on a set of offsets of an original color coordinate of the pixel in the original color gamut relative to the set of original primary color directions and the set of primary color direction deviations; and

C) mapping, for each pixel in the original image, the corrected color coordinate of the pixel into the target color gamut to generate a target color coordinate of the pixel in the target color gamut.

Assignments (2)
SECURITY INTEREST Recorded Apr 24, 2024
From: MONTAGE LZ TECHNOLOGIES (CHENGDU) CO., LTD.
To: RENLAI ELECTRONIC TECHNOLOGIES (SHANGHAI) CO., LTD.
Reel/Frame 067200/0526 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 30, 2020
From: LIU, CHENGQIANG; QIU, ZHIMIN; CHANG, CHIACHEN
To: MONTAGE LZ TECHNOLOGIES (CHENGDU) CO., LTD.
Reel/Frame 054484/0104 →
Priority Claims (1)
CN 201911282876.9 · Dec 13, 2019 · national
Continuity (1)
Related Publication 20210183029A1 · Jun 17, 2021