CN111192333B - Image display method, image display device, and computer storage medium - Google Patents

Image display method, image display device, and computer storage medium Download PDF

Info

Publication number
CN111192333B
CN111192333B CN201811358431.XA CN201811358431A CN111192333B CN 111192333 B CN111192333 B CN 111192333B CN 201811358431 A CN201811358431 A CN 201811358431A CN 111192333 B CN111192333 B CN 111192333B
Authority
CN
China
Prior art keywords
color
saturation
brightness
standard
hue angle
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
CN201811358431.XA
Other languages
Chinese (zh)
Other versions
CN111192333A (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.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Spreadtrum Communications Shanghai Co Ltd
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 Spreadtrum Communications Shanghai Co Ltd filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to CN201811358431.XA priority Critical patent/CN111192333B/en
Publication of CN111192333A publication Critical patent/CN111192333A/en
Application granted granted Critical
Publication of CN111192333B publication Critical patent/CN111192333B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/20Processor architectures; Processor configuration, e.g. pipelining

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Color Image Communication Systems (AREA)
  • Image Processing (AREA)

Abstract

An image display method, an apparatus, and a computer storage medium, the image display method comprising: acquiring RGB color values of pixel points in a first color standard image; acquiring a first color value corresponding to the RGB color value of the pixel point in a color space; adjusting the obtained first color value corresponding to the pixel point according to the color gamut distribution of the first color standard and the second color standard in the color space to obtain a corresponding second color value; and performing matrix transformation on the RGB color values corresponding to the second color values of the pixel points to obtain a second color standard image and displaying the second color standard image through second color standard equipment. By adopting the scheme, the visual effect of the high-color standard image on the low-color standard display equipment can be improved.

Description

Image display method, image display apparatus, and computer storage medium
Technical Field
The present invention relates to the field of image display, and in particular, to an image display method and apparatus, and a computer storage medium.
Background
Nowadays, with the continuous development of technology, people have higher and higher requirements for image display effects.
In the prior art, limited to the problem of cost, when displaying the image of high color standard on the device only supporting low color standard, the image of high color standard is required to be processed by matrix transformation, and the image of high color standard after matrix transformation is displayed on the device of low color standard.
However, with prior art image display schemes, the high color standard image is displayed on the low color standard device with a poor visual effect compared to the effect of the high color standard image on the high color standard device.
Disclosure of Invention
The invention solves the technical problem that the visual effect of displaying the high-color standard image on the low-color standard equipment is poor.
To solve the above technical problem, an embodiment of the present invention provides an image display method, including: acquiring RGB color values of pixel points in a first color standard image; acquiring a first color value corresponding to the RGB color value of the pixel point in a color space; adjusting the obtained first color value corresponding to the pixel point according to the color gamut distribution of the first color standard and the second color standard in the color space to obtain a corresponding second color value; performing matrix transformation on the RGB color values corresponding to the second color values of the pixel points to obtain a second color standard image and displaying the second color standard image through second color standard equipment; the gamut distribution range of the first color standard in the color space is larger than the gamut distribution range of the second color standard in the color space.
Optionally, the color gamut distribution of the first color standard and the second color standard in the color space is: the relationship between brightness and saturation, and the range of brightness and saturation of the colors in the first color standard and the second color standard at each hue angle.
Optionally, acquiring a first hue angle, a first brightness and a first saturation of the RGB color values of the pixel points in the color space; and adjusting the first saturation to obtain a second saturation according to the ranges of the brightness and the saturation of the colors in the first color standard and the second color standard and the first hue angle, the first brightness and the first saturation corresponding to the RGB color values of the pixel points under each hue angle, and obtaining the second color value.
Optionally, determining whether the first brightness and the first saturation are within a brightness and saturation range of a color in a second color standard at the first color angle;
if the color is in the brightness and saturation range of the color in the second color standard, the second saturation NewC is obtained after the first saturation C is adjusted according to the following formula,
NewC=C×(NewMax709/Max709),
wherein NewMax709 is ((Max 2020/Max 709-1) × extR + 1) × Max709, max2020 is the maximum saturation corresponding to the first hue angle and the first brightness under the first color standard, max709 is the maximum saturation corresponding to the first hue angle and the first brightness under the second color standard, and extR is a constant between 0 and 1;
if the color is not in the range of the brightness and the saturation of the color in the second color standard, the second saturation NewC is obtained after the first saturation C is adjusted according to the following formula,
NewC=NewMax709+(C-Max709)×(Max2020-NewMax709)/(Max2020-Max709)。
optionally, dividing the maximum range values of the hue angle and the brightness according to preset intervals to obtain a plurality of hue angle endpoint values and brightness endpoint values; if the first hue angle is between hue angle end point values or the first brightness is between brightness end point values, taking hue angle end point values closer to the first hue angle as the first hue angle, and taking brightness end point values closer to the first brightness as the first brightness.
The present invention also provides an image display device including: the first acquisition unit is used for acquiring the RGB color values of the pixel points in the first color standard image; the second acquisition unit is used for acquiring a first color value corresponding to the RGB color value of the pixel point in a color space; the adjusting unit is used for adjusting the first color value corresponding to the acquired pixel point according to the color gamut distribution of the first color standard and the second color standard in the color space to obtain a corresponding second color value; and the display unit is used for performing matrix transformation on the RGB color values corresponding to the second color values of the pixel points to obtain a second color standard image and displaying the second color standard image through second color standard equipment.
Optionally, the color gamut distribution of the first color standard and the second color standard in the color space is: the relationship between brightness and saturation, and the range of brightness and saturation of the colors in the first color standard and the second color standard at each hue angle.
Optionally, the adjusting unit is further configured to obtain a first hue angle, a first brightness, and a first saturation of the RGB color values of the pixel points in the color space; and adjusting the first saturation to obtain a second saturation according to the ranges of the brightness and the saturation of the colors in the first color standard and the second color standard and the first hue angle, the first brightness and the first saturation corresponding to the RGB color values of the pixel points under each hue angle, and obtaining the second color value.
Optionally, the adjusting unit is further configured to determine whether the first brightness and the first saturation are within a brightness and saturation range of a color in a second color standard under the first color angle;
if the color is in the brightness and saturation range of the color in the second color standard, the second saturation NewC is obtained after the first saturation C is adjusted according to the following formula,
NewC=C×(NewMax709/Max709),
wherein NewMax709 is ((Max 2020/Max 709-1) × extR + 1) × Max709, max2020 is the maximum saturation corresponding to the first hue angle and the first brightness under the first color standard, max709 is the maximum saturation corresponding to the first hue angle and the first brightness under the second color standard, and extR is a constant between 0 and 1;
if the color is not in the range of the brightness and the saturation of the color in the second color standard, the second saturation NewC is obtained after the first saturation C is adjusted according to the following formula,
NewC=NewMax709+(C-Max709)×(Max2020-NewMax709)/(Max2020-Max709)。
optionally, the adjusting unit is further configured to divide the maximum range values of the hue angle and the brightness according to preset intervals to obtain a plurality of hue angle endpoint values and brightness endpoint values; if the first hue angle is between hue angle end point values or the first brightness is between brightness end point values, taking hue angle end point values closer to the first hue angle as the first hue angle, and taking brightness end point values closer to the first brightness as the first brightness.
The present invention also provides a computer-readable storage medium, on which computer instructions are stored, the computer-readable storage medium being a non-volatile storage medium or a non-transitory storage medium, and the computer instructions, when executed, perform the steps of any of the above-mentioned image display methods.
The invention also provides an image display device, which comprises a memory and a processor, wherein the memory is stored with computer instructions, and the processor executes the steps of any one of the image display methods when the computer instructions are executed.
Compared with the prior art, the technical scheme of the embodiment of the invention has the following beneficial effects:
the RGB color values corresponding to the adjusted color values are subjected to matrix transformation processing by adjusting the RGB color values of the pixels in the high color standard image to correspond to the color values in the color space, and are displayed on the low color standard equipment. By adopting the scheme, the visual effect of displaying the high-color standard image on the low-color standard equipment is improved.
Further, dividing the maximum range values of the hue angle and the brightness according to preset intervals to obtain hue angle endpoint values and brightness endpoint values; and taking a hue angle endpoint value close to the first hue angle as the first hue angle, and taking a brightness endpoint value close to the first brightness as the first brightness, so as to improve the processing speed of image display.
Drawings
Fig. 1 is a schematic flowchart of a picture display method according to an embodiment of the present invention;
fig. 2 is a color gamut distribution of a first color standard and a second color standard in a color space according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a picture display device according to an embodiment of the present invention.
Detailed Description
In the prior art, limited to the problem of cost, when displaying the image of high color standard on the device only supporting low color standard, the image of high color standard is required to be processed by matrix transformation, and the image of high color standard after matrix transformation is displayed on the device of low color standard.
However, with prior art image display schemes, the high color standard image is displayed on a low color standard device with a poor visual effect compared to the effect of the high color standard image on the high color standard device.
The RGB color values corresponding to the adjusted color values are subjected to matrix transformation processing by adjusting the RGB color values of the pixels in the high color standard image to correspond to the color values in the color space, and are displayed on the low color standard equipment. By adopting the scheme, the visual effect of displaying the high-color standard image on the low-color standard equipment is improved.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
Referring to fig. 1, which is a schematic flow chart of an image display method according to an embodiment of the present invention, the method includes the following specific steps:
step S101, obtaining RGB color values of pixel points in the first color standard image.
In a specific implementation, an image is composed of a plurality of pixel points, the image display device represents the whole image by representing information such as positions, colors, brightness and the like of the pixel points, and when the image is processed, the pixel points forming the image are also processed, so that an expected effect is achieved.
In an implementation, the RGB color scheme is a color standard in the industry, and various colors are obtained by changing three color channels of Red (Red), green (Green), and Blue (Blue) and superimposing them with each other, and different RGB color values correspondingly represent different colors.
In a specific implementation, the RGB color value of each pixel point correspondingly represents the color displayed by the pixel point.
Step S102, a first color value corresponding to the RGB color value of the pixel point in the color space is obtained.
In a specific implementation, a color is represented by a one-dimensional, two-dimensional, three-dimensional or even four-dimensional space coordinate, and the color range defined by such a coordinate system is a color space. The unit of the coordinate system corresponding to the color space in the present invention includes hue angle, brightness, and saturation.
In a specific implementation, the RGB color values corresponding to the colors displayed by the pixels may be converted into the first color values corresponding to the color space through the color space conversion. The color values may include hue angle, brightness, and saturation corresponding to the color exhibited by the pixel.
Step S103, adjusting the first color value corresponding to the obtained pixel point according to the color gamut distribution of the first color standard and the second color standard in the color space, so as to obtain a corresponding second color value.
In specific implementations, the color standard refers to color standards such as Rec.709, rec.2020 and the like. The color types included in different color standards are different, that is, the color gamut distribution of the color space corresponding to different color standards is different.
Referring to fig. 2, it is shown that the distribution ranges of the brightness and the saturation corresponding to the color standards rec.709 and rec.2020 are shown when the hue angle is 30 °, the ordinate unit is the brightness, and the abscissa unit is the saturation. Where section 21 is the gamut distribution of color standard rec.709 and section 22 is the gamut distribution of color standard rec.2020. As can be seen from the figure, on the ordinate, the luminance distribution ranges corresponding to the color standard rec.709 and the color standard rec.2020 are similar, and on the abscissa, the saturation distribution range corresponding to the color standard rec.2020 is larger than that corresponding to the color standard rec.709.
In a specific implementation, the first color standard may refer to a high color standard relative to the second color standard, such as color standard rec.2020. The second color standard may refer to a low color standard relative to the first color standard, such as color standard Rec.709.
In a specific implementation, the first color value corresponding to the color of the pixel point is adjusted to obtain the second color value according to whether the first color value corresponding to the color of the pixel point is within the color gamut distribution range of the second color standard in the color space or outside the color gamut distribution range of the second color standard and within the color gamut distribution range of the first color standard.
And step S104, performing matrix transformation on the RGB color values corresponding to the second color values of the pixel points to obtain a second color standard image and displaying the second color standard image through second color standard equipment.
In specific implementation, a first color value corresponding to a pixel point to be processed on an image is adjusted to obtain a second color value, the second color value is subjected to color space conversion to obtain a corresponding RGB color value, a second color standard image is obtained through matrix transformation in the prior art, and the second color standard image is displayed through a second color standard device. By adopting the scheme, the visual effect of the high-color standard image on the low-color standard display equipment can be improved.
In a specific implementation, the gamut distribution range of the first color standard in the color space is greater than the gamut distribution range of the second color standard in the color space.
In an implementation, when the color standards include only rec.709 and rec.2020, the first color standard may refer to the color standard rec.2020 and the second color standard may refer to the color standard rec.709.
In an embodiment of the present invention, the color gamut distribution of the first color standard and the second color standard in the color space is: the relationship between brightness and saturation, and the range of brightness and saturation of the colors in the first color standard and the second color standard at each hue angle.
In the embodiment of the invention, the method for adjusting the first color value comprises the steps of obtaining a first hue angle, a first brightness and a first saturation of an RGB color value of a pixel point in a color space; and adjusting the first saturation to obtain a second saturation according to the ranges of the brightness and the saturation of the colors in the first color standard and the second color standard and the first hue angle, the first brightness and the first saturation corresponding to the RGB color values of the pixel points under each hue angle, and obtaining the second color value.
In a specific implementation, the first color value may include a first color angle, a first brightness, and a first saturation, and the second color value includes the first color angle, the first brightness, and a second saturation.
In a specific implementation, since the luminance distribution ranges corresponding to the color standard rec.709 and the color standard rec.2020 are similar, the saturation distribution range corresponding to the color standard rec.2020 is greater than the saturation distribution range corresponding to the color standard rec.709. Therefore, the visual effect of image display can be improved by adjusting the first saturation of the first color value and then performing corresponding matrix transformation processing.
In the embodiment of the present invention, the method for adjusting the first color value includes determining whether the first brightness and the first saturation are within a brightness and saturation range of a color in a second color standard under the first color angle; if the color is in the brightness and saturation range of the color in the second color standard, the second saturation NewC is obtained after the first saturation C is adjusted according to the following formula (1),
NewC=C×(NewMax709/Max709), (1)
wherein NewMax709 is ((Max 2020/Max 709-1) × extR + 1) × Max709, max2020 is the maximum saturation corresponding to the first hue angle and the first brightness under the first color standard, max709 is the maximum saturation corresponding to the first hue angle and the first brightness under the second color standard, and extR is a constant between 0 and 1;
if the color is not in the brightness and saturation range of the color in the second color standard, the second saturation NewC is obtained after the first saturation C is adjusted according to the following formula (2),
NewC=NewMax709+(C-Max709)×(Max2020-NewMax709)/(Max2020-Max709) (2)。
in an implementation, the first saturation is equal to the second saturation if the first color value is at a boundary of a gamut distribution of the first color standard in a color space.
Referring to fig. 2, if the first color standard refers to color standard rec.2020, the second color standard refers to color standard rec.709. And if the first color value has a first color angle of 30 degrees, a first brightness of 60 degrees and a saturation of 40 degrees, and the first color value is in the color gamut distribution of the second color standard, adjusting the first saturation C by adopting a formula (1) to obtain a second saturation NewC. And if the first color value has a first color angle of 30 degrees, a first brightness of 70 degrees and a saturation of 80 degrees, and the first color value is not in the color gamut distribution of the second color standard and is in the color gamut distribution of the first color standard, adjusting the first saturation C by adopting a formula (2) to obtain a second saturation NewC.
Referring to fig. 2, in an implementation, if the first hue angle is 30 ° and the first lightness is 60, max709 is about 78 and Max2020 is about 132.
In a specific implementation, the extR represents an adjustment ratio of the saturation, and can be set by a user according to actual conditions.
In specific implementation, compared with the image display effect in the prior art, by adopting the scheme, the saturation of the first color standard image displayed on the second color standard device is higher.
In the embodiment of the invention, when the first color standard image is processed, colors on all pixel points on the first color standard image are often required to be processed, the processing amount is large, and in order to reduce the processing amount, the maximum range values of hue angles and brightness can be divided according to preset intervals to obtain a plurality of hue angle endpoint values and brightness endpoint values; if the first hue angle is between hue angle end point values or the first brightness is between brightness end point values, taking the hue angle end point value closer to the first hue angle as the first hue angle, and taking the brightness end point value closer to the first brightness as the first brightness.
In a specific implementation, the preset interval can be set by a user according to actual conditions. For example, the interval between hue angles is set to 10, and the interval between brightnesses is set to 5. The hue angle end point values are 0, 10, 20, 8230 \ 823030340, 350, 360, and the brightness end point values are 0, 5, 10, 15, 8230 \ 8230:90, 95, 100. If the first hue angle of the first color value is 33 degrees, the first brightness is 32 degrees, the first hue angle of 33 degrees is between hue angle end point values of 30 degrees and 40 degrees, and the distance is closer to 30 degrees, the first hue angle is taken to be 30 degrees; the first luminance 32 is between the luminance end point values 30 and 35 and closer to the luminance end point value 30, the first luminance is taken to be 30. And finally, determining that the first color angle is 30 degrees and the first brightness is 30 degrees, wherein the first color angle corresponds to the maximum saturation Max2020 corresponding to the first brightness under the first color standard or the maximum saturation Max709 corresponding to the first color angle corresponding to the first brightness under the second color standard in the formula (1) or the formula (2). And then adjusting the first saturation C according to a corresponding formula to obtain a second saturation NewC.
Referring to fig. 3, which is a schematic structural diagram of an image display device 30 according to an embodiment of the present invention, specifically, the image display device includes:
the first obtaining unit 301 is configured to obtain RGB color values of pixels in the first color standard image;
the second obtaining unit 302 is configured to obtain a first color value corresponding to an RGB color value of a pixel in a color space;
the adjusting unit 303 is configured to adjust the first color value corresponding to the obtained pixel according to color gamut distribution of the first color standard and the second color standard in a color space, so as to obtain a corresponding second color value;
and the display unit 304 is configured to perform matrix transformation on the RGB color values corresponding to the second color values of the pixels to obtain a second color standard image, and display the second color standard image through a second color standard device.
In a specific implementation, the color gamut distribution of the first color standard and the second color standard in the color space may be: the relationship between brightness and saturation, and the range of brightness and saturation of the colors in the first color standard and the second color standard at each hue angle.
In a specific implementation, the adjusting unit 303 may be further configured to obtain a first hue angle, a first brightness, and a first saturation of the RGB color values of the pixel point in the color space; and adjusting the first saturation to obtain a second color value according to the ranges of the brightness and the saturation of the colors in the first color standard and the second color standard and the first hue angle, the first brightness and the first saturation corresponding to the RGB color values of the pixel points under each hue angle.
In a specific implementation, the adjusting unit 303 may be further configured to determine whether, at the first color angle, the first brightness and the first saturation are within a brightness and saturation range of a color in a second color standard;
if the color is in the brightness and saturation range of the color in the second color standard, the second saturation NewC is obtained after the first saturation C is adjusted according to the following formula,
NewC=C×(NewMax709/Max709),
wherein NewMax709 is ((Max 2020/Max 709-1) × extR + 1) × Max709, max2020 is the maximum saturation corresponding to the first hue angle and the first brightness under the first color standard, max709 is the maximum saturation corresponding to the first hue angle and the first brightness under the second color standard, and extR is a constant between 0 and 1;
if the color is not in the range of the brightness and the saturation of the color in the second color standard, the second saturation NewC is obtained after the first saturation C is adjusted according to the following formula,
NewC=NewMax709+(C-Max709)×(Max2020-NewMax709)/(Max2020-Max709)。
in a specific implementation, the adjusting unit 303 may be further configured to divide the maximum range values of the hue angle and the brightness according to preset intervals to obtain a plurality of hue angle endpoint values and brightness endpoint values; if the first hue angle is between hue angle end point values or the first brightness is between brightness end point values, taking hue angle end point values closer to the first hue angle as the first hue angle, and taking brightness end point values closer to the first brightness as the first brightness.
The present invention also provides a computer-readable storage medium, on which computer instructions are stored, the computer-readable storage medium being a non-volatile storage medium or a non-transitory storage medium, and the computer instructions, when executed, perform the steps of any of the above-mentioned image display methods.
The invention also provides an image display device, which comprises a memory and a processor, wherein the memory is stored with computer instructions, and the processor executes the steps of any one of the image display methods when the computer instructions are executed.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by instructing the relevant hardware through a program, which may be stored in a computer-readable storage medium, and the storage medium may include: ROM, RAM, magnetic or optical disks, and the like.
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (8)

1. An image display method, comprising:
acquiring RGB color values of pixel points in a first color standard image;
acquiring a first color value corresponding to the RGB color value of the pixel point in a color space;
adjusting the obtained first color value corresponding to the pixel point according to the color gamut distribution of the first color standard and the second color standard in the color space to obtain a corresponding second color value;
performing matrix transformation on the RGB color values corresponding to the second color values of the pixel points to obtain a second color standard image and displaying the second color standard image through second color standard equipment; the color gamut distribution range of the first color standard in the color space is larger than the color gamut distribution range of the second color standard in the color space;
the color gamut distribution of the first color standard and the second color standard in the color space is as follows: the relationship between brightness and saturation, and the range of brightness and saturation of the colors in the first color standard and the second color standard at each hue angle; the adjusting the first color value corresponding to the obtained pixel point to obtain a corresponding second color value includes: acquiring a first hue angle, a first brightness and a first saturation of RGB color values of a pixel point in a color space; and adjusting the first saturation to obtain a second saturation according to the ranges of the brightness and the saturation of the colors in the first color standard and the second color standard and the first hue angle, the first brightness and the first saturation corresponding to the RGB color values of the pixel points under each hue angle, and obtaining the second color value.
2. The method of claim 1, wherein the adjusting the first saturation according to the ranges of the brightness and the saturation of the color in the first color standard and the second color standard and the first hue angle, the first brightness, and the first saturation corresponding to the RGB color value of the pixel point to obtain the second saturation comprises:
determining whether the first brightness and the first saturation are within a brightness and saturation range of a color in a second color standard at the first hue angle;
if the color is in the brightness and saturation range of the color in the second color standard, the second saturation NewC is obtained after the first saturation C is adjusted according to the following formula,
NewC=C×(NewMax709/Max709),
wherein NewMax709 is ((Max 2020/Max 709-1) × extR + 1) × Max709, max2020 is the maximum saturation of the first color angle corresponding to the first brightness under the first color standard, max709 is the maximum saturation of the first color angle corresponding to the first brightness under the second color standard, and extR is a constant between 0 and 1;
if the color is not in the brightness and saturation range of the color in the second color standard, the first saturation C is adjusted according to the following formula to obtain a second saturation NewC,
NewC=NewMax709+(C-Max709)×(Max2020-NewMax709)/(Max2020-Max709)。
3. the method of claim 2, wherein the adjusting the first saturation according to the ranges of the brightness and saturation of the color in the first color standard and the second color standard and the first hue angle, the first brightness and the first saturation of the RGB color values of the pixel point to obtain the second saturation comprises:
dividing the maximum range values of the hue angle and the brightness according to preset intervals to obtain a plurality of hue angle end point values and brightness end point values;
if the first hue angle is between hue angle end point values or the first brightness is between brightness end point values, taking hue angle end point values closer to the first hue angle as the first hue angle, and taking brightness end point values closer to the first brightness as the first brightness.
4. An image display apparatus, comprising:
the first acquisition unit is used for acquiring the RGB color values of the pixel points in the first color standard image;
the second acquisition unit is used for acquiring a first color value corresponding to the RGB color value of the pixel point in a color space;
the adjusting unit is used for adjusting the first color value corresponding to the obtained pixel point according to the color gamut distribution of the first color standard and the second color standard in the color space to obtain a corresponding second color value;
the display unit is used for performing matrix transformation on the RGB color values corresponding to the second color values of the pixel points to obtain a second color standard image and displaying the second color standard image through second color standard equipment;
the color gamut distribution of the first color standard and the second color standard in the color space is as follows: the relationship between brightness and saturation, and the range of brightness and saturation of the color in the first color standard and the second color standard under each hue angle; the adjusting the first color value corresponding to the obtained pixel point to obtain a corresponding second color value includes: acquiring a first hue angle, a first brightness and a first saturation of RGB color values of a pixel point in a color space; and adjusting the first saturation to obtain a second saturation according to the ranges of the brightness and the saturation of the colors in the first color standard and the second color standard and the first hue angle, the first brightness and the first saturation corresponding to the RGB color values of the pixel points under each hue angle, and obtaining the second color value.
5. The image display device according to claim 4, wherein the adjusting unit is further configured to determine whether the first brightness and the first saturation are within a brightness and saturation range of a color in a second color standard at the first color angle;
if the color is in the brightness and saturation range of the color in the second color standard, the second saturation NewC is obtained after the first saturation C is adjusted according to the following formula,
NewC=C×(NewMax709/Max709),
wherein NewMax709 is ((Max 2020/Max 709-1) × extR + 1) × Max709, max2020 is the maximum saturation corresponding to the first hue angle and the first brightness under the first color standard, max709 is the maximum saturation corresponding to the first hue angle and the first brightness under the second color standard, and extR is a constant between 0 and 1;
if the color is not in the brightness and saturation range of the color in the second color standard, the first saturation C is adjusted according to the following formula to obtain a second saturation NewC,
NewC=NewMax709+(C-Max709)×(Max2020-NewMax709)/(Max2020-Max709)。
6. the image display apparatus according to claim 5, wherein the adjusting unit is further configured to divide the maximum range values of the hue angle and the brightness into a plurality of hue angle end point values and brightness end point values at preset intervals; if the first hue angle is between hue angle end point values or the first brightness is between brightness end point values, taking hue angle end point values closer to the first hue angle as the first hue angle, and taking brightness end point values closer to the first brightness as the first brightness.
7. A computer readable storage medium having stored thereon computer instructions, the computer readable storage medium being a non-volatile storage medium or a non-transitory storage medium, characterized in that the computer instructions, when executed by a processor, perform the steps of the image display method according to any one of claims 1 to 3.
8. An image display apparatus comprising a memory and a processor, the memory having stored thereon computer instructions, wherein the processor performs the steps of the image display method of any one of claims 1 to 3 when the computer instructions are executed.
CN201811358431.XA 2018-11-15 2018-11-15 Image display method, image display device, and computer storage medium Active CN111192333B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811358431.XA CN111192333B (en) 2018-11-15 2018-11-15 Image display method, image display device, and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811358431.XA CN111192333B (en) 2018-11-15 2018-11-15 Image display method, image display device, and computer storage medium

Publications (2)

Publication Number Publication Date
CN111192333A CN111192333A (en) 2020-05-22
CN111192333B true CN111192333B (en) 2023-03-14

Family

ID=70709288

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811358431.XA Active CN111192333B (en) 2018-11-15 2018-11-15 Image display method, image display device, and computer storage medium

Country Status (1)

Country Link
CN (1) CN111192333B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200521955A (en) * 2003-10-21 2005-07-01 Clairvoyante Inc Gamut conversion system and methods
CN103634580A (en) * 2013-12-19 2014-03-12 敦泰科技有限公司 Color gamut adjusting method and device for color image
CN106488078A (en) * 2015-08-24 2017-03-08 佳能株式会社 Image processing equipment and image processing method
CN107784993A (en) * 2017-09-30 2018-03-09 上海顺久电子科技有限公司 A kind of gamut compression method, apparatus and display device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200521955A (en) * 2003-10-21 2005-07-01 Clairvoyante Inc Gamut conversion system and methods
CN103634580A (en) * 2013-12-19 2014-03-12 敦泰科技有限公司 Color gamut adjusting method and device for color image
CN106488078A (en) * 2015-08-24 2017-03-08 佳能株式会社 Image processing equipment and image processing method
CN107784993A (en) * 2017-09-30 2018-03-09 上海顺久电子科技有限公司 A kind of gamut compression method, apparatus and display device

Also Published As

Publication number Publication date
CN111192333A (en) 2020-05-22

Similar Documents

Publication Publication Date Title
Saravanan Color image to grayscale image conversion
US11037522B2 (en) Method for radiometric display, corresponding system, apparatus and computer program product
US8331665B2 (en) Method of electronic color image saturation processing
WO2019090914A1 (en) Color gamut mapping method and color gamut mapping apparatus
CN109274985B (en) Video transcoding method and device, computer equipment and storage medium
US8379971B2 (en) Image gamut mapping
KR101213205B1 (en) Apparatus and method for color reproduction
US11120725B2 (en) Method and apparatus for color gamut mapping color gradient preservation
JP6793281B2 (en) Color gamut mapping method and color gamut mapping device
CN110349097B (en) Color enhancement method for image significance and image processing device
US11301972B2 (en) Color saturation adjustment in non-uniform color space
JP6520578B2 (en) Image processing apparatus and display determination method
CN108717839B (en) Method and device for converting RGB (red, green and blue) to RGBW (red, green and blue) and storage medium
US20160286090A1 (en) Image processing method, image processing apparatus, and image processing program
WO2022120799A1 (en) Image processing method and apparatus, electronic device, and storage medium
US20150085162A1 (en) Perceptual radiometric compensation system adaptable to a projector-camera system
TWI485694B (en) Image color adjusting method and electronic apparatus thereof
US20140314317A1 (en) Method and apparatus for converting gray level of color image
WO2023241339A1 (en) Color cast correction method and apparatus, device, storage medium and program product
CN111192333B (en) Image display method, image display device, and computer storage medium
KR20120138477A (en) Method for generating panorama image within digital image processing apparatus
CN104505053A (en) Display signal conversion method and display signal conversion device
CN110490945B (en) Image color adjusting method
WO2018160883A1 (en) Color saturation adjustment in non-uniform color space
JP2007324665A (en) Image correction apparatus and video display apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant