CN111696463A - Image gamma adjusting method, device and system - Google Patents

Image gamma adjusting method, device and system Download PDF

Info

Publication number
CN111696463A
CN111696463A CN201910192736.6A CN201910192736A CN111696463A CN 111696463 A CN111696463 A CN 111696463A CN 201910192736 A CN201910192736 A CN 201910192736A CN 111696463 A CN111696463 A CN 111696463A
Authority
CN
China
Prior art keywords
gamma
color attribute
value
values
attribute values
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.)
Pending
Application number
CN201910192736.6A
Other languages
Chinese (zh)
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.)
Xian Novastar Electronic Technology Co Ltd
Original Assignee
Xian Novastar Electronic Technology 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 Xian Novastar Electronic Technology Co Ltd filed Critical Xian Novastar Electronic Technology Co Ltd
Priority to CN201910192736.6A priority Critical patent/CN111696463A/en
Publication of CN111696463A publication Critical patent/CN111696463A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/2003Display of colours
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/2007Display of intermediate tones
    • G09G3/2074Display of intermediate tones using sub-pixels
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/02Improving the quality of display appearance
    • G09G2320/0271Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping
    • G09G2320/0276Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping for the purpose of adaptation to the characteristics of a display device, i.e. gamma correction
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0673Adjustment of display parameters for control of gamma adjustment, e.g. selecting another gamma curve

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Of Color Television Signals (AREA)
  • Picture Signal Circuits (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The embodiment of the invention relates to an image gamma adjusting method, an image gamma adjusting device and an image gamma adjusting system, wherein the image gamma adjusting method comprises the following steps: receiving input image pixel data; respectively finding out a first target gamma value, a second target gamma value and a third target gamma value from a first storage space, a second storage space and a third storage space which are independent of each other according to a first color attribute value, a second color attribute value and a third color attribute value of the pixel data of the input image; and performing gamma adjustment on the first color attribute value, the second color attribute value and the third color attribute value of the input image pixel data respectively by using the first target gamma value, the second target gamma value and the third target gamma value to obtain output image pixel data. The image gamma adjusting method provided by the embodiment of the invention ensures uniform low-gray display.

Description

Image gamma adjusting method, device and system
Technical Field
The present invention relates to the field of image adjustment and display control technologies, and in particular, to an image gamma adjustment method, an image gamma adjustment device, and an image gamma adjustment system.
Background
The gamma value represents the relationship of output image pixel data to input image pixel data. In practical application, a client does not satisfy a specific gamma value, and hopes that the gamma values corresponding to different color attribute values of input image pixel data can be independently adjusted, so that the display effect of a display screen can be flexibly adjusted in different environments, and the requirements of different application scenes can be met. However, in the prior art, the gamma values are set by software, and only synchronous and unified adjustment of the gamma values corresponding to different color attributes of R/G/B can be achieved, that is, a single gamma value corresponding to a color attribute value is modified, and the gamma values corresponding to other color attribute values are changed accordingly, so that independent gamma adjustment of the gamma value corresponding to the single color attribute value cannot be achieved, and thus the problems of single gamma value setting, low flexibility, low gray display color cast, offset when the brightness changes, and the like are caused, and the requirements under different scenes cannot be met.
Disclosure of Invention
Therefore, the embodiment of the invention provides an image gamma adjusting method, an image gamma adjusting device and an image gamma adjusting system to ensure uniform low-gray display.
Specifically, an embodiment of the present invention provides an image gamma adjustment method, including: receiving input image pixel data; respectively finding out a first target gamma value, a second target gamma value and a third target gamma value from a first storage space, a second storage space and a third storage space which are independent of each other according to a first color attribute value, a second color attribute value and a third color attribute value of the pixel data of the input image; and performing gamma adjustment on the first color attribute value, the second color attribute value and the third color attribute value of the input image pixel data respectively by using the first target gamma value, the second target gamma value and the third target gamma value to obtain output image pixel data.
In one embodiment of the present invention, before the receiving input image pixel data, further comprising: receiving a plurality of first gamma values corresponding to a plurality of first color attribute values, a plurality of second gamma values corresponding to a plurality of second color attribute values, and a plurality of third gamma values corresponding to a plurality of third color attribute values, wherein the first target gamma value is selected from the plurality of first gamma values, the second target gamma value is selected from the plurality of second gamma values, and the third target gamma value is selected from the plurality of third gamma values; the method comprises the steps of sequentially storing the received plurality of first gamma values in a plurality of fixed address spaces of the first storage space according to the size order of the corresponding plurality of first color attribute values, sequentially storing the received plurality of second gamma values in a plurality of fixed address spaces of the second storage space according to the size order of the corresponding plurality of second color attribute values, and sequentially storing the received plurality of third gamma values in a plurality of fixed address spaces of the third storage space according to the size order of the corresponding plurality of third color attribute values.
In one embodiment of the present invention, said first color attribute value is a red component value of said input image pixel data, said second color attribute value is a green component value of said input image pixel data, and said third color attribute value is a blue component value of said input image pixel data.
In one embodiment of the present invention, the plurality of first color attribute values correspond to 0 to 255, the plurality of second color attribute values correspond to 0 to 255, and the plurality of third color attribute values correspond to 0 to 255; or, the plurality of first color attribute values correspond to 0 to 1023, the plurality of second color attribute values correspond to 0 to 1023, and the plurality of third color attribute values correspond to 0 to 1023; or, the plurality of first color attribute values correspond to 0 to 4095, the plurality of second color attribute values correspond to 0 to 4095, and the plurality of third color attribute values correspond to 0 to 4095; alternatively, the plurality of first color attribute values correspond to 0 to 65535, the plurality of second color attribute values correspond to 0 to 65535, and the plurality of third color attribute values correspond to 0 to 65535.
Furthermore, an embodiment of the present invention provides an image gamma adjustment apparatus, including: the data receiving module is used for receiving input image pixel data; the gamma value searching module is used for respectively searching a first target gamma value, a second target gamma value and a third target gamma value from a first storage space, a second storage space and a third storage space which are independent of each other according to a first color attribute value, a second color attribute value and a third color attribute value of the pixel data of the input image; and the gamma adjustment module is used for respectively carrying out gamma adjustment on the first color attribute value, the second color attribute value and the third color attribute value of the input image pixel data by utilizing the first target gamma value, the second target gamma value and the third target gamma value so as to obtain output image pixel data.
In an embodiment of the present invention, the image gamma adjusting apparatus further includes: a gamma value receiving module, configured to receive a plurality of first gamma values corresponding to a plurality of first color attribute values, a plurality of second gamma values corresponding to a plurality of second color attribute values, and a plurality of third gamma values corresponding to a plurality of third color attribute values, wherein the first target gamma value is selected from the plurality of first gamma values, the second target gamma value is selected from the plurality of second gamma values, and the third target gamma value is selected from the plurality of third gamma values; the gamma value storage module is configured to store the received first gamma values in a plurality of fixed address spaces of the first storage space in sequence according to the magnitude order of the corresponding first color attribute values, store the received second gamma values in a plurality of fixed address spaces of the second storage space in sequence according to the magnitude order of the corresponding second color attribute values, and store the received third gamma values in a plurality of fixed address spaces of the third storage space in sequence according to the magnitude order of the corresponding third color attribute values.
In one embodiment of the present invention, said first color attribute value is a red component value of said input image pixel data, said second color attribute value is a green component value of said input image pixel data, and said third color attribute value is a blue component value of said input image pixel data.
In one embodiment of the present invention, the plurality of first color attribute values correspond to 0 to 255, the plurality of second color attribute values correspond to 0 to 255, and the plurality of third color attribute values correspond to 0 to 255; or, the plurality of first color attribute values correspond to 0 to 1023, the plurality of second color attribute values correspond to 0 to 1023, and the plurality of third color attribute values correspond to 0 to 1023; or, the plurality of first color attribute values correspond to 0 to 4095, the plurality of second color attribute values correspond to 0 to 4095, and the plurality of third color attribute values correspond to 0 to 4095; alternatively, the plurality of first color attribute values correspond to 0 to 65535, the plurality of second color attribute values correspond to 0 to 65535, and the plurality of third color attribute values correspond to 0 to 65535.
Furthermore, an embodiment of the present invention provides an image gamma adjustment system, including: the upper computer is used for setting and sending a plurality of first gamma values corresponding to a plurality of first color attribute values which are independent of each other, a plurality of second gamma values corresponding to a plurality of second color attribute values, and a plurality of third gamma values corresponding to a plurality of third color attribute values; and the display controller is connected with the upper computer and is used for executing the image gamma adjusting method.
Furthermore, an embodiment of the present invention provides an image gamma adjustment system, including a processor and a memory connected to the processor, where the memory stores instructions executed by the processor, and the instructions cause the processor to execute operations to perform the image gamma adjustment method according to any one of the foregoing descriptions.
As can be seen from the above, the embodiments of the present invention can achieve one or more of the following advantages: the independent gamma adjustment of the gamma value corresponding to the single color attribute value is realized, and the condition that the gamma value corresponding to the single attribute value is changed and the gamma values corresponding to other color attribute values are changed along with the change of the gamma value corresponding to the single attribute value in the prior related technical scheme is avoided; the flexibility of setting is increased, the low-gray display uniformity is ensured, and the application requirements of different scenes can be met.
Other aspects and features of the present invention will become apparent from the following detailed description, which proceeds with reference to the accompanying drawings. It is to be understood, however, that the drawings are designed solely for purposes of illustration and not as a definition of the limits of the invention. It should be further understood that the drawings are not necessarily drawn to scale and that, unless otherwise indicated, they are merely intended to conceptually illustrate the structures and procedures described herein.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a flowchart of an image gamma adjustment method according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating other steps of a gamma adjustment method for an image according to a first embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating storage of gamma values corresponding to specific R/G/B color attribute values in an image gamma adjustment method according to a first embodiment of the present invention;
FIG. 4 is a schematic diagram illustrating a specific gamma adjustment of an image gamma adjustment method according to a first embodiment of the present invention;
FIG. 5 is a schematic structural diagram of an image gamma adjustment apparatus according to a second embodiment of the present invention;
FIG. 6 is a schematic view of another structure of an image gamma adjustment apparatus according to a second embodiment of the present invention;
fig. 7 is a schematic structural diagram of an image gamma adjustment system according to a third embodiment of the present invention;
fig. 8 is a schematic structural diagram of an image gamma adjustment system according to a fourth embodiment of the present invention.
[ brief description of the drawings ]
S11-S17: the image gamma adjusting method step;
30: an image gamma adjusting device; 31: a gamma value receiving module; 32: a gamma value storage module; 33: a data receiving module; 35: a gamma value searching module; 37: a gamma adjustment module;
40: an image gamma adjustment system; 41: an upper computer; 43: a display controller;
50: an image gamma adjustment system; 51: a memory; 53: a processor.
Detailed Description
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict. The invention will be described in connection with embodiments with reference to the drawings.
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not a whole embodiment. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that the division of the embodiments of the present invention is only for convenience of description and should not be construed as a limitation, and features of various embodiments may be combined and referred to each other without contradiction.
[ first embodiment ] A method for manufacturing a semiconductor device
Referring to fig. 1, a first embodiment of the present invention provides an image gamma adjustment method. As shown in fig. 1, the image gamma adjustment method includes, for example, steps S13 to S17.
Step S13: receiving input image pixel data;
step S15: respectively finding out a first target gamma value, a second target gamma value and a third target gamma value from a first storage space, a second storage space and a third storage space which are independent of each other according to a first color attribute value, a second color attribute value and a third color attribute value of the pixel data of the input image;
step S17: and gamma-adjusting the first color attribute value, the second color attribute value and the third color attribute value of the input image pixel data respectively by using the first target gamma value, the second target gamma value and the third target gamma value to obtain output image pixel data.
Specifically, the first color attribute value mentioned in step S15 is, for example, a red component value (R) of the input image pixel data, the second color attribute value is, for example, a green component value (G) of the input image pixel data, and the third color attribute value is, for example, a blue component value (B) of the input image pixel data.
Further, as shown in fig. 2, the image gamma adjustment method provided in this embodiment further includes, before step S13: step S11 and step S12.
Step S11: receiving a plurality of first gamma values corresponding to a plurality of first color attribute values, a plurality of second gamma values corresponding to a plurality of second color attribute values, and a plurality of third gamma values corresponding to a plurality of third color attribute values, wherein the first target gamma value is selected from the plurality of first gamma values, the second target gamma value is selected from the plurality of second gamma values, and the third target gamma value is selected from the plurality of third gamma values;
step S12: the method comprises the steps of sequentially storing the received plurality of first gamma values in a plurality of fixed address spaces of the first storage space according to the size order of the corresponding plurality of first color attribute values, sequentially storing the received plurality of second gamma values in a plurality of fixed address spaces of the second storage space according to the size order of the corresponding plurality of second color attribute values, and sequentially storing the received plurality of third gamma values in a plurality of fixed address spaces of the third storage space according to the size order of the corresponding plurality of third color attribute values.
Wherein the plurality of first color attribute values mentioned in step S11 correspond to, for example, 0 to 255, the plurality of second color attribute values mentioned correspond to, for example, 0 to 255, and the plurality of third color attribute values mentioned correspond to, for example, 0 to 255, when the input image pixel data is 8Bit, or the plurality of first color attribute values mentioned correspond to, for example, 0 to 1023, the plurality of second color attribute values mentioned correspond to, for example, 0 to 1023, and the plurality of third color attribute values mentioned correspond to, for example, 0 to 1023, when the input image pixel data is 10Bit, or the plurality of first color attribute values mentioned correspond to, for example, 0 to 4095, the plurality of second color attribute values mentioned correspond to, for example, 0 to 4095, and the plurality of third color attribute values mentioned correspond to, for example, 0 to 4095, when the input image pixel data is 12Bit, or, when the input image pixel data is 16Bit, the mentioned plurality of first color attribute values for example corresponds to 0 to 65535, the mentioned plurality of second color attribute values for example corresponds to 0 to 65535, and the mentioned plurality of third color attribute values for example corresponds to 0 to 65535.
In order to understand the embodiment more clearly, the following description specifically describes the foregoing steps with specific examples.
Firstly, a plurality of Gamma (Gamma) values corresponding to a plurality of different color attribute values are set in software of an upper computer.
In the existing related art scheme, if the R/G/B color attribute values are the same, the corresponding Gamma values are also completely the same. In order to realize independent adjustment of the Gamma values, the setting of the Gamma values corresponding to the attribute values of a plurality of different colors can be automatically completed, that is, the Gamma values corresponding to the attribute values of R/G/B are respectively set in the software of the upper computer, and the set Gamma values can be completely customized according to the user requirements. For example, the custom set Gamma value can support the custom interval of 0 to 65535. For example, if the R attribute value is X, the corresponding Gamma value is Gamma _ RX; if the G attribute value is Y, the corresponding Gamma value is Gamma _ GY; if the attribute value of B is Z, the corresponding Gamma is Gamma _ BZ. The Gamma values corresponding to the R/G/B attribute values are completely independent and have no relation.
Then, the set gamma value is transmitted and stored to the transmitting card.
The upper computer software sends the Gamma value set by user definition to the sending card, and the sending sequence of the Gamma value is as follows: the R attribute value is 0 corresponding to Gamma value Gamma _ R0, the R attribute value is 1 corresponding to Gamma value Gamma _ R1, the R attribute value is 2 corresponding to Gamma value Gamma _ R2,..... the G attribute value is 0 corresponding to Gamma value Gamma _ G0, the G attribute value is 1 corresponding to Gamma value Gamma _ G1, the G attribute value is 2 corresponding to Gamma value Gamma _ G3,. the.. the B attribute value is 0 corresponding to Gamma value Gamma _ B0, the B attribute value is 1 corresponding to Gamma value Gamma _ B1, the B attribute value is 2 corresponding to Gamma value Gamma _ B3,. the.. the.
After the sending card finishes receiving a plurality of Gamma values, the Gamma values corresponding to the R/G/B attribute values are respectively stored in three different storage spaces, and each storage space corresponds to a plurality of address spaces. And each address space correspondingly stores a Gamma value corresponding to a color attribute value. For example, address space 0 stores attribute value 0 corresponding to value Gamma _0, address space 1 stores attribute value 1 corresponding to value Gamma _1, and address space 2 stores attribute value 2 corresponding to value Gamma _2 … …. The storage diagram of the Gamma value corresponding to the specific R/G/B color attribute value is shown in fig. 3.
And finally, after the Gamma value self-definition is completed and the Gamma value is received and stored, when the sending card receives the pixel data of the input image, the corresponding Gamma value can be searched from the address space of the corresponding storage space according to the color attribute value of the pixel data of the input image, and finally the independent adjustment of the R/G/B Gamma is realized. As shown in fig. 4, the R attribute value in the input image pixel data is X, and Gamma _ RX is output from the address space storing the Gamma value corresponding to the R attribute value X; the G attribute value in the input image pixel data is Y, and Gamma _ GY is output from an address space storing the Gamma value corresponding to the G attribute value Y; the B attribute value in the input image pixel data is Z, and Gamma _ BZ is output from the address space storing the Gamma value corresponding to the B attribute value Y.
In addition, it should be noted that the aforementioned address space is fixed, similar to a locker. For example: the data of the designated Gamma 5 can only be stored in a proprietary address space, and when the data of the Gamma 5 is called to realize independent gamma adjustment, the Gamma 5 is called in the address space of the Gamma 5.
The image gamma adjustment method provided by the first embodiment of the present invention realizes independent gamma adjustment of the gamma value corresponding to a single color attribute value, and avoids the situation that the gamma value corresponding to a single attribute value is modified in the prior art, and the gamma values corresponding to other color attribute values are also changed accordingly; the flexibility of setting is increased, the low-gray display uniformity is ensured, and the application requirements of different scenes can be met.
[ second embodiment ]
Referring to fig. 5, a second embodiment of the present invention provides an image gamma adjustment apparatus. As shown in fig. 5, the image gamma adjustment device 30 includes, for example: a data receiving module 33, a gamma value searching module 35 and a gamma adjusting module 37.
The data receiving module 33 is configured to receive input image pixel data. The gamma value searching module 35 is configured to search a first target gamma value, a second target gamma value, and a third target gamma value from a first storage space, a second storage space, and a third storage space that are independent of each other, respectively, according to the first color attribute value, the second color attribute value, and the third color attribute value of the input image pixel data. And the gamma adjustment module 37 is configured to perform gamma adjustment on the first color attribute value, the second color attribute value, and the third color attribute value of the input image pixel data by using the first target gamma value, the second target gamma value, and the third target gamma value, respectively, to obtain output image pixel data.
Further, as shown in fig. 6, the image gamma adjustment device 30 further includes, for example: a gamma value receiving module 31 and a gamma value storing module 32.
The gamma value receiving module 31 is configured to receive a plurality of first gamma values corresponding to a plurality of first color attribute values, a plurality of second gamma values corresponding to a plurality of second color attribute values, and a plurality of third gamma values corresponding to a plurality of third color attribute values, wherein the first target gamma value is selected from the plurality of first gamma values, the second target gamma value is selected from the plurality of second gamma values, and the third target gamma value is selected from the plurality of third gamma values. The gamma value storage module 32 is configured to store the received first gamma values in a plurality of fixed address spaces of the first storage space in sequence according to the magnitude order of the corresponding first color attribute values, store the received second gamma values in a plurality of fixed address spaces of the second storage space in sequence according to the magnitude order of the corresponding second color attribute values, and store the received third gamma values in a plurality of fixed address spaces of the third storage space in sequence according to the magnitude order of the corresponding third color attribute values.
Wherein the first mentioned color attribute value is for example a red component value (R) of the input image pixel data, the second mentioned color attribute value is for example a green component value (G) of the input image pixel data, and the third mentioned color attribute value is for example a blue component value (B) of the input image pixel data.
Wherein, the mentioned first color attribute values are corresponding to 0 to 255, the mentioned second color attribute values are corresponding to 0 to 255, and the mentioned third color attribute values are corresponding to 0 to 255, that is, corresponding to 8-bit input source. Alternatively, the first color attribute values mentioned correspond to 0 to 1023, the second color attribute values mentioned correspond to 0 to 1023, and the third color attribute values mentioned correspond to 0 to 1023, i.e. to a 10-bit input source. Alternatively, the first plurality of color attribute values mentioned correspond to 0 to 4095, the second plurality of color attribute values mentioned correspond to 0 to 4095, and the third plurality of color attribute values mentioned correspond to 0 to 4095, i.e. to a 12-bit input source. Alternatively, the first plurality of color attribute values mentioned correspond to 0 to 65535, the second plurality of color attribute values mentioned correspond to 0 to 65535, and the third plurality of color attribute values mentioned correspond to 0 to 65535, i.e. correspond to a 16-bit input source.
The image gamma adjustment method implemented by the image gamma adjustment device of the present embodiment is as described in the first embodiment, and therefore, will not be described in detail herein. Optionally, each module and the other operations or functions in the second embodiment are respectively for implementing the method in the first embodiment of the present invention, and are not described herein for brevity.
The image gamma adjusting device provided by the second embodiment of the present invention realizes independent gamma adjustment of the gamma value corresponding to a single color attribute value, and avoids the situation that the gamma value corresponding to a single attribute value is modified and the gamma values corresponding to other color attribute values are also changed in the existing related art solutions; the flexibility of setting is increased, the low-gray display uniformity is ensured, and the application requirements of different scenes can be met.
[ third embodiment ]
Referring to fig. 7, a third embodiment of the present invention provides an image gamma adjustment system. As shown in fig. 7, the image gamma adjustment system 40 includes, for example, an upper computer 41 and a display controller 43.
The upper computer 41 is configured to set and send a plurality of first gamma values corresponding to a plurality of first color attribute values, a plurality of second gamma values corresponding to a plurality of second color attribute values, and a plurality of third gamma values corresponding to a plurality of third color attribute values, which are independent of each other. The display controller 43 is connected to the upper computer 41 and is configured to execute the image gamma adjustment method according to the first embodiment.
For a description of the image gamma adjustment method adopted by the display controller 43, reference may be made to the first embodiment, and details are not described herein for brevity. For example, the display controller 43 is configured to:
(i) receiving input image pixel data;
(ii) respectively finding out a first target gamma value, a second target gamma value and a third target gamma value from a first storage space, a second storage space and a third storage space which are independent of each other according to a first color attribute value, a second color attribute value and a third color attribute value of the pixel data of the input image; and
(iii) and gamma-adjusting the first color attribute value, the second color attribute value and the third color attribute value of the input image pixel data respectively by using the first target gamma value, the second target gamma value and the third target gamma value to obtain output image pixel data.
The host computer 41 is, for example, a personal computer, hand-held or portable device, tablet device, multiprocessor system, microprocessor-based system, editable consumer electronics, network PC, minicomputer, mainframe computer, distributed computing environment that includes any of the above systems or devices, and the like.
The image gamma adjustment system provided by the third embodiment of the present invention realizes independent gamma adjustment of the gamma value corresponding to a single color attribute value, and avoids the situation that the gamma value corresponding to a single attribute value is modified and the gamma values corresponding to other color attribute values are also changed in the existing related art solutions; the flexibility of setting is increased, the low-gray display uniformity is ensured, and the application requirements of different scenes can be met.
[ fourth example ] A
Referring to fig. 8, the fourth embodiment of the present embodiment provides an image gamma adjustment system. As shown in fig. 8, the image gamma adjustment system 50 includes, for example, a processor 53 and a memory 51 connected to the processor 53. The memory 51 stores instructions executed by the processor 53, and the instructions cause the processor 53 to perform operations to perform the image gamma adjustment method according to the first embodiment. For example, the instructions cause the processor 53 to perform the following steps:
(i) receiving input image pixel data;
(ii) respectively finding out a first target gamma value, a second target gamma value and a third target gamma value from a first storage space, a second storage space and a third storage space which are independent of each other according to a first color attribute value, a second color attribute value and a third color attribute value of the pixel data of the input image; and
(iii) and gamma-adjusting the first color attribute value, the second color attribute value and the third color attribute value of the input image pixel data respectively by using the first target gamma value, the second target gamma value and the third target gamma value to obtain output image pixel data.
The image gamma adjustment method implemented by the image gamma adjustment system 50 provided in this embodiment is as described in the first embodiment, and therefore, will not be described in detail herein. Optionally, each processor and each memory in this embodiment are respectively for implementing the method in the first embodiment of the present invention, and are not described herein for brevity. The technical effect of the image gamma adjustment system 50 provided in this embodiment is the same as that of the image gamma adjustment method in the first embodiment, and is not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and/or method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and the actual implementation may have another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units/modules in the embodiments of the present application may be integrated into one processing unit/module, or each unit/module may exist alone physically, or two or more units/modules may be integrated into one unit/module. The integrated units/modules may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units/modules.
The integrated units/modules, which are implemented in the form of software functional units/modules, may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing one or more processors of a computer device (which may be a personal computer, a server, or a network device) to execute some steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. An image gamma adjustment method, comprising:
receiving input image pixel data;
respectively finding out a first target gamma value, a second target gamma value and a third target gamma value from a first storage space, a second storage space and a third storage space which are independent of each other according to a first color attribute value, a second color attribute value and a third color attribute value of the pixel data of the input image; and
and gamma-adjusting the first color attribute value, the second color attribute value and the third color attribute value of the input image pixel data respectively by using the first target gamma value, the second target gamma value and the third target gamma value to obtain output image pixel data.
2. The method of image gamma adjustment of claim 1, prior to said receiving input image pixel data, further comprising:
receiving a plurality of first gamma values corresponding to a plurality of first color attribute values, a plurality of second gamma values corresponding to a plurality of second color attribute values, and a plurality of third gamma values corresponding to a plurality of third color attribute values, wherein the first target gamma value is selected from the plurality of first gamma values, the second target gamma value is selected from the plurality of second gamma values, and the third target gamma value is selected from the plurality of third gamma values;
the method comprises the steps of sequentially storing the received plurality of first gamma values in a plurality of fixed address spaces of the first storage space according to the size order of the corresponding plurality of first color attribute values, sequentially storing the received plurality of second gamma values in a plurality of fixed address spaces of the second storage space according to the size order of the corresponding plurality of second color attribute values, and sequentially storing the received plurality of third gamma values in a plurality of fixed address spaces of the third storage space according to the size order of the corresponding plurality of third color attribute values.
3. The method of claim 1, wherein the first color attribute value is a red component value of the input image pixel data, the second color attribute value is a green component value of the input image pixel data, and the third color attribute value is a blue component value of the input image pixel data.
4. The image gamma adjustment method of claim 2, wherein the plurality of first color attribute values correspond to 0 to 255, the plurality of second color attribute values correspond to 0 to 255, and the plurality of third color attribute values correspond to 0 to 255; or, the plurality of first color attribute values correspond to 0 to 1023, the plurality of second color attribute values correspond to 0 to 1023, and the plurality of third color attribute values correspond to 0 to 1023; or, the plurality of first color attribute values correspond to 0 to 4095, the plurality of second color attribute values correspond to 0 to 4095, and the plurality of third color attribute values correspond to 0 to 4095; alternatively, the plurality of first color attribute values correspond to 0 to 65535, the plurality of second color attribute values correspond to 0 to 65535, and the plurality of third color attribute values correspond to 0 to 65535.
5. An image gamma adjustment apparatus, comprising:
the data receiving module is used for receiving input image pixel data;
the gamma value searching module is used for respectively searching a first target gamma value, a second target gamma value and a third target gamma value from a first storage space, a second storage space and a third storage space which are independent of each other according to a first color attribute value, a second color attribute value and a third color attribute value of the pixel data of the input image; and
and the gamma adjusting module is used for respectively carrying out gamma adjustment on the first color attribute value, the second color attribute value and the third color attribute value of the input image pixel data by utilizing the first target gamma value, the second target gamma value and the third target gamma value so as to obtain output image pixel data.
6. The image gamma adjustment apparatus of claim 5, further comprising:
a gamma value receiving module, configured to receive a plurality of first gamma values corresponding to a plurality of first color attribute values, a plurality of second gamma values corresponding to a plurality of second color attribute values, and a plurality of third gamma values corresponding to a plurality of third color attribute values, wherein the first target gamma value is selected from the plurality of first gamma values, the second target gamma value is selected from the plurality of second gamma values, and the third target gamma value is selected from the plurality of third gamma values;
the gamma value storage module is configured to store the received first gamma values in a plurality of fixed address spaces of the first storage space in sequence according to the magnitude order of the corresponding first color attribute values, store the received second gamma values in a plurality of fixed address spaces of the second storage space in sequence according to the magnitude order of the corresponding second color attribute values, and store the received third gamma values in a plurality of fixed address spaces of the third storage space in sequence according to the magnitude order of the corresponding third color attribute values.
7. The image gamma adjustment apparatus of claim 5, wherein the first color attribute value is a red component value of the input image pixel data, the second color attribute value is a green component value of the input image pixel data, and the third color attribute value is a blue component value of the input image pixel data.
8. The image gamma adjustment apparatus of claim 6, wherein the plurality of first color attribute values correspond to 0 to 255, the plurality of second color attribute values correspond to 0 to 255, and the plurality of third color attribute values correspond to 0 to 255; or, the plurality of first color attribute values correspond to 0 to 1023, the plurality of second color attribute values correspond to 0 to 1023, and the plurality of third color attribute values correspond to 0 to 1023; or, the plurality of first color attribute values correspond to 0 to 4095, the plurality of second color attribute values correspond to 0 to 4095, and the plurality of third color attribute values correspond to 0 to 4095; alternatively, the plurality of first color attribute values correspond to 0 to 65535, the plurality of second color attribute values correspond to 0 to 65535, and the plurality of third color attribute values correspond to 0 to 65535.
9. An image gamma adjustment system, comprising:
the upper computer is used for setting and sending a plurality of first gamma values corresponding to a plurality of first color attribute values which are independent of each other, a plurality of second gamma values corresponding to a plurality of second color attribute values, and a plurality of third gamma values corresponding to a plurality of third color attribute values; and
a display controller connected to the upper computer for executing the image gamma adjusting method according to any one of claims 1 to 4.
10. An image gamma adjustment system comprising a processor and a memory connected to the processor, wherein the memory stores instructions for execution by the processor, and the instructions cause the processor to perform operations to perform the image gamma adjustment method according to any one of claims 1 to 4.
CN201910192736.6A 2019-03-14 2019-03-14 Image gamma adjusting method, device and system Pending CN111696463A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910192736.6A CN111696463A (en) 2019-03-14 2019-03-14 Image gamma adjusting method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910192736.6A CN111696463A (en) 2019-03-14 2019-03-14 Image gamma adjusting method, device and system

Publications (1)

Publication Number Publication Date
CN111696463A true CN111696463A (en) 2020-09-22

Family

ID=72475059

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910192736.6A Pending CN111696463A (en) 2019-03-14 2019-03-14 Image gamma adjusting method, device and system

Country Status (1)

Country Link
CN (1) CN111696463A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030038973A1 (en) * 2001-08-27 2003-02-27 Chen-Ho Lee Gray scale scanning method and system
CN1406052A (en) * 2001-08-13 2003-03-26 力捷电脑股份有限公司 Method and system for scanning grey pictures
US20060209081A1 (en) * 2005-03-17 2006-09-21 Shepherd Thomas J Pixel data preprocessing methods and systems

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1406052A (en) * 2001-08-13 2003-03-26 力捷电脑股份有限公司 Method and system for scanning grey pictures
US20030038973A1 (en) * 2001-08-27 2003-02-27 Chen-Ho Lee Gray scale scanning method and system
US20060209081A1 (en) * 2005-03-17 2006-09-21 Shepherd Thomas J Pixel data preprocessing methods and systems

Similar Documents

Publication Publication Date Title
US20210082336A1 (en) Method for processing image and electronic device supporting the same
US10291704B2 (en) Networked solutions integration using a cloud business object broker
US10228830B2 (en) Method for starting application program, terminal and non-transitory computer readable storage medium
US9997131B2 (en) Display driving method, display driver integrated circuit, and electronic device comprising the same
CN110704398B (en) Database migration method and device from MySQL to Oracle and computer equipment
EP3620992A1 (en) Neural network processor and neural network computation method
CN103970870A (en) Database query method and server
US10705681B2 (en) Electronic device and display method for selecting an area of an icon
CN108432237A (en) Electronic equipment and control method for electronic equipment
US11720370B2 (en) Electronic apparatus and method of executing application program
US20150242076A1 (en) Method of editing one or more objects and apparatus for same
CN111104178A (en) Dynamic library loading method, terminal device and storage medium
CN109688395B (en) Operation method, device and related product
US20240111536A1 (en) Data processing apparatus and related products
WO2016078445A1 (en) Method and device for upgrading multi-mode base station and network management system
US9959598B2 (en) Method of processing image and electronic device thereof
CN111696463A (en) Image gamma adjusting method, device and system
US20160247253A1 (en) Method for image processing and electronic device supporting thereof
US10430046B2 (en) Electronic device and method for processing an input reflecting a user's intention
CN104754313A (en) Image collecting method and electronic device
EP3393111B1 (en) Method for reducing current consumption, and electronic device
US20210397398A1 (en) Method, Device and System for Configuring Display Screen
CN111653232A (en) LED screen color gamut calibration method and device
CN111552715A (en) User query method and device
CN111427550A (en) Object creating method, terminal device and storage medium

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
CB02 Change of applicant information

Address after: 710075 DEF101, Zero One Square, Xi'an Software Park, No. 72 Zhangbajie Science and Technology Second Road, Xi'an High-tech Zone, Shaanxi Province

Applicant after: XI'AN NOVASTAR TECH Co.,Ltd.

Address before: 710075 DEF101, Zero One Square, Xi'an Software Park, No. 72 Zhangbajie Science and Technology Second Road, Xi'an High-tech Zone, Shaanxi Province

Applicant before: Xi'an NovaStar Tech Co.,Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20200922

RJ01 Rejection of invention patent application after publication