[go: up one dir, main page]

CN107257454B - A kind of method, apparatus and display equipment of image color offset - Google Patents

A kind of method, apparatus and display equipment of image color offset Download PDF

Info

Publication number
CN107257454B
CN107257454B CN201710515273.3A CN201710515273A CN107257454B CN 107257454 B CN107257454 B CN 107257454B CN 201710515273 A CN201710515273 A CN 201710515273A CN 107257454 B CN107257454 B CN 107257454B
Authority
CN
China
Prior art keywords
color
values
primary
pixel
object brightness
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
CN201710515273.3A
Other languages
Chinese (zh)
Other versions
CN107257454A (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.)
Hisense Visual Technology Co Ltd
Original Assignee
Qingdao Hisense Electronics 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 Qingdao Hisense Electronics Co Ltd filed Critical Qingdao Hisense Electronics Co Ltd
Priority to CN201710515273.3A priority Critical patent/CN107257454B/en
Publication of CN107257454A publication Critical patent/CN107257454A/en
Application granted granted Critical
Publication of CN107257454B publication Critical patent/CN107257454B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/68Circuits for processing colour signals for controlling the amplitude of colour signals, e.g. automatic chroma control circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/68Circuits for processing colour signals for controlling the amplitude of colour signals, e.g. automatic chroma control circuits
    • H04N9/69Circuits for processing colour signals for controlling the amplitude of colour signals, e.g. automatic chroma control circuits for modifying the colour signals by gamma correction

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

The embodiment of the present application provides the method, apparatus and display equipment of a kind of offset of image color, is related to field of display technology, to solve the problems, such as in the prior art image it is smudgy caused by be difficult to objects in images.This method comprises: determining that brightness and color zones index in not high input picture the color offset coefficient of pixel under each object brightness in object brightness section;Wherein, the value of the color offset coefficient of pixel needs to meet: in the case where the brightness before and after the color-values of each pixel carry out color offset is constant, guaranteeing that the hue difference of the two neighboring object brightness after the color-values of each pixel carry out color offset in object brightness section increases;Using the color offset coefficient of pixel under each object brightness, color offset is carried out to the color-values of pixel under each object brightness respectively, obtains the new color-values of each pixel.

Description

A kind of method, apparatus and display equipment of image color offset
Technical field
The method, apparatus and display equipment deviated this application involves field of display technology more particularly to a kind of image color.
Background technique
In the display and application for peeping operation video frequency in medical picture or inside, since operation endoscopic camera is bright vulnerable to illuminating Degree, camera position, liquid, which such as block at the factors, to be influenced, so as to cause the pattern and tissue of focal area in the image taken Pattern between difference be not it is obvious that make the image finally shown occur image obscure, the images such as clear that lack unity and coherence it is clear The not high problem of clear degree, judgement and normal monitoring to medical problem cause very big puzzlement.
Therefore, it is smudgy how to improve image present in the medical image of profession, leads to be difficult to object in image The problem of body, becomes current urgent problem to be solved.
Summary of the invention
Embodiments herein provides a kind of image color offset method and device for being easier to identify objects in images, uses With solve the problems, such as in the prior art image it is smudgy caused by be difficult to objects in images.
In order to achieve the above objectives, embodiments herein adopts the following technical scheme that
In a first aspect, providing a kind of method of image color offset for being easier identification objects in images, comprising:
Determine in input picture the color offset coefficient of pixel under each object brightness in object brightness section;Wherein, The value of the color offset coefficient of each pixel needs to meet: before and after the color-values progress color offset of each pixel In the case that brightness is constant, guarantee adjacent in the object brightness section after the color-values of each pixel carry out color offset The hue difference of two object brightnesses increases;
Using the color offset coefficient of pixel under each object brightness, respectively to pixel under each object brightness Color-values carry out color offset, obtain the new color-values of each pixel.
Second aspect provides a kind of device of image color offset, comprising: processor and memory;Wherein, the storage Device executes described in first aspect for storing computer executable code, the computer executable code for controlling the processor Method.
The third aspect provides a kind of display equipment, the device including the image color offset that second aspect provides.
Fourth aspect provides a kind of computer storage medium, by being stored as based on used in the device of image color offset Calculation machine software instruction, it includes execute program code designed by method described in first aspect.
The main reason for Chu smudgy due to the details of existing medical image, also resides in brightness of image and color zones index Not high (e.g., lesion region is close with the color of tissue), therefore, the application determines to need to realize brightness and hue distinguishes Object brightness section after, by indexing in not high input picture each target in object brightness section for brightness and color zones Pixel determines color offset coefficient under brightness, since it is determined that the value of color offset coefficient of pixel need to meet: In the case where the brightness before and after the color-values of each pixel carry out color offset is constant, guarantee each pixel in image Color-values carry out color offset after, the hue difference of the two neighboring object brightness in object brightness section increases so that Using the color offset coefficient of pixel under each object brightness, the color-values of pixel under each object brightness are carried out respectively After color offset, the form and aspect that can be realized between adjacent brightness increase, to achieve the effect that promote image detail, and then are easier Identify objects in images.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be in embodiment or description of the prior art Required attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some realities of the application Example is applied, it for those of ordinary skill in the art, without creative efforts, can also be according to these attached drawings Obtain other attached drawings.
Fig. 1 is a kind of flow diagram of the method for image color offset provided by the embodiments of the present application;
Fig. 2 is a kind of gamma figure of R, G, B provided by the embodiments of the present application;
Fig. 3 is a kind of structural schematic diagram of the device of image color offset provided by the embodiments of the present application.
Specific embodiment
Part term involved in the application is explained below, is understood with helping reader:
" brightness " refers to the opposite bright-dark degree of color, usually using from 0% (black) to the percentage of 100% (white) Than measuring.When brightness of image increases, it will seem dazzling or dazzling, brightness is got over hour, and image will seem gloomy.
" the three primary colours color-values of pixel ", the three primary colours of pixel include red primary, green primary and three kinds of blue primary, Wherein, three kinds of primary colours are mutually indepedent, and any color cannot be generated by other two mixture of colours.In general, three primary colours color-values are usual The referred to as rgb value of pixel, but the three primary colours color-values of pixel are not limited in the rgb value of pixel in the application, it can also Think red primary color-values, green primary color-values and the indigo plant under the color space that four primary, six-basic-color etc. are made of three primary colours Primary color values.
Illustratively, if the color-values of pixel are by taking the rgb value of pixel as an example, pixel S in a certain image (i, J) rgb value can indicate are as follows:
Wherein, R (i, j) is red primary color-values, and G (i, j) is green primary color-values, and B (i, j) is blue primary color-values, i (1,2 ... ..., a), j ∈ (1,2 ... ..., b), the resolution ratio of the image is a × b to ∈.
" the color offset coefficients of color-values ", the color offset coefficient of the color-values of pixel, is mainly used in the application Show the shift ratio of the color-values color offset of pixel.
The terms "and/or", only a kind of incidence relation for describing affiliated partner, indicates that there may be three kinds of passes System, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.In addition, herein Middle character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or".If explanation is not added, " multiple " herein are Refer to two or more.
For the ease of clearly describing the technical solution of the embodiment of the present application, in embodiments herein, use " the One ", the printed words such as " second " distinguish function or the essentially identical identical entry of effect or similar item, and those skilled in the art can To understand that the printed words such as " first ", " second " are not defined quantity and execution order.
It should be noted that in the embodiment of the present application, " illustrative " or " such as " etc. words make example, example for indicating Card or explanation.Be described as in the embodiment of the present application " illustrative " or " such as " any embodiment or design scheme do not answer It is interpreted than other embodiments or design scheme more preferably or more advantage.Specifically, " illustrative " or " example are used Such as " word is intended to that related notion is presented in specific ways.
It should be noted that in the embodiment of the present application, unless otherwise indicated, the meaning of " plurality " is refer to two or two with On.
It should be noted that in the embodiment of the present application, " (English: of) ", " corresponding (English: corresponding, It relevant) " sometimes can be mixed with " corresponding (English: corresponding) ", it is noted that do not emphasizing it When difference, meaning to be expressed is consistent.
The executing subject of the method for image color offset provided by the embodiments of the present application can be the dress of image color offset It sets, or the display equipment of the method for executing above-mentioned image color offset.Wherein, the device of image color offset can be Central processing unit (English: Central Processing Unit, referred to as: CPU) in above-mentioned display equipment or can be upper State the control unit or functional module in display equipment.
Below in conjunction with the Figure of description of the embodiment of the present application, technical solution provided by the embodiments of the present application is said It is bright.Obviously, it is described be the application a part of the embodiment, instead of all the embodiments.It should be noted that hereafter institute Technical characteristic in the absence of conflict, can be used in combination, shape some or all of in any number of technical solutions provided The technical solution of Cheng Xin.
Based on above content, embodiments herein provides a kind of image color offset for being easier identification objects in images Method, as shown in Figure 1, this method comprises the following steps:
S101, the color offset coefficient for determining in input picture pixel under each object brightness in object brightness section.
Wherein, the application needs to meet in the value of the color offset coefficient of pixel under determining each object brightness: Each pixel color-values carry out color offset before and after brightness it is constant (i.e. pixel color-values carry out color offset before Brightness afterwards is equal to the current object brightness of the pixel) in the case where, guarantee that the color-values of each pixel carry out color The hue difference of two neighboring object brightness after offset in object brightness section increases.Input picture is brightness and color in the application The color not high input picture of discrimination, i.e. color are not easy the low-luminosity picture or high-brghtness picture images differentiated.
Illustratively, since the input picture in the application is the brightness image not high with color zones indexing, so, one In fixed brightness section, the color-values of all pixels point under same brightness are similar.Therefore, the application is determining color for pixel When color deviation ratio, a color offset coefficient, the i.e. target can be set for each object brightness in object brightness section The color-values of all pixels point under brightness carry out color offset according to a color offset coefficient.Certainly, for final color Color offset effect is more preferable, or a color offset coefficient is set separately in each pixel, i.e., each pixel corresponding one A color offset coefficient.
It should be noted that the digital signals format of the input picture is first determined whether, if including base after image input The picture signal of the input picture is then obtained corresponding three primary colours color through to color processing module by the signal of color R, G, B Value.If in the digital signals format of the input picture do not include primary colours R, G, B signal, such as Y, U, V or L, U, V etc. other Format signal need to then convert it to R, G, B format.
For example, the conversion formula between Y, U, V signal and R, G, B signal is as follows: using
R=Y+1.14V;
G=Y-0.39U-0.58V;
B=Y+2.03U.
S102, using the color offset coefficient of pixel under each object brightness, respectively to pixel under each object brightness The color-values of point carry out color offset, obtain the new color-values of each pixel.
Illustratively, before step S101, determine that the process of the image category of input picture is as follows:
S101a, the identical pixel of color-values for determining every kind of primary colours in the three primary colours color-values of pixel in input picture Whether the ratio that point accounts for all pixels point is greater than predetermined threshold.
Specifically, if the judgement result of step S101a be it is yes, determine input picture for color image;If it is determined that result Be it is no, then determine input picture for black white image.
Illustratively, for each pixel in input picture, if the color of tri- primary colours of R, G, B of the pixel Value is not completely equivalent, then judges the pixel for color pixel cell, if the color-values of tri- primary colours of R, G, B of pixel are complete It is identical, then judge that the pixel for monochrome pixels point, counts color pixel cell all in whole picture input picture, determines the input Whether the ratio that the sum of the color pixel cell in image accounts for all pixels point is more than preset threshold D1, if it is determined that more than D1, then The input picture is judged for color image, when being less than D1, then judges the input picture for black white image.In a kind of example, Above-mentioned threshold value D1 can set a suitable threshold value according to the total resolution of the input picture, for example, total resolution 75%.
The application can be input picture according to the difference of the image type (color image, black white image) of input picture The method of different image color offsets is provided.
In the first implementation, if input picture is color image, step S101 specifically includes following content:
S101a, respectively according to each object brightness in object brightness section, determine the pixel under each object brightness First color offset COEFFICIENT K 1 of fine chrominance primary, the second color offset COEFFICIENT K 2 of middle primary colours and secondary primary colours in three primary colours color-values Third color deviation ratio K.
Wherein, above-mentioned fine chrominance primary is the maximum primary colours of color-values in three primary colours color-values, and middle primary colours are three primary colours color Color-values are the primary colours of median in value, and secondary primary colours are the smallest primary colours of color-values in three primary colours color-values.
Illustratively, since the size of pixel form and aspect is determined by fine chrominance primary color-values and time primary color values (e.g., the form and aspect calculation formula (formula 1 hereinafter) of RGB), and secondary primary colours itself are that color-values are most in three primary colours color-values Small primary colours, excessive in order to avoid carrying out color error ratio after color offset, the application is by reducing fine chrominance primary color-values, Lai Zeng great Hue value, meanwhile, in order to guarantee that the brightness before and after color offset is constant, corresponding middle primary color values need to increase.
Therefore, above-mentioned K3=1, i.e., primary color values are constant in holding, above-mentioned K1 and fine chrominance primary color-values and master The product of primary colours corresponding brightness coefficient is equal to the product of above-mentioned K2 and middle primary color values and middle primary colours corresponding brightness coefficient, makes The brightness that front and back must be deviated is constant, for example, the brightness-formula of rgb signal are as follows: Y=0.299R+0.587G+0.114B, then red base The luminance factor of color is 0.299, and the luminance factor of green primary is 0.587, and the luminance factor of blue primary is 0.114.
Illustratively, the three primary colours color-values of the pixel under above-mentioned each object brightness include: each object brightness Under each pixel three primary colours color-values or all pixels point under each object brightness average three primary colours color-values.
Example A:
When the three primary colours color-values of the pixel under above-mentioned each object brightness are each picture under each object brightness When the three primary colours color-values of vegetarian refreshments, then directly according to the color-values of each primary colours in the three primary colours color-values of each pixel, Respectively each pixel determines one group of color offset coefficient (K1, K2, K3).
Example B:
When the three primary colours color-values of the pixel under above-mentioned each object brightness are all pictures under each object brightness When the average three primary colours color-values of vegetarian refreshments, then the average three primary colours color of all pixels point under each object brightness is calculated Value, then, according to the averaged color value of each primary colours in the average three primary colours color-values of the pixel under each object brightness, Respectively each object brightness determines one group of color offset coefficient (K1, K2, K3).
Specifically, if by taking a certain object brightness L1 as an example, the average three primary colours color of the pixel under object brightness L1 The calculating process of value includes two ways:
The red primary color-values of all pixels point under object brightness L1 are averaging by mode one, obtain average red primary The blue primary color-values of all pixels point under object brightness L1 are averaging by color-values, obtain average blue primary color-values, will The green primary color-values of all pixels point under object brightness L1 are averaging, and average green primary color-values are obtained, finally, will be averaged Red primary color-values, average blue primary color-values and average green primary color-values combination, so as to obtain the object brightness The average three primary colours color-values of pixel under L1.
Mode two counts the three primary colours color-values of all pixels point under object brightness L1, and accounting is maximum Three primary colours color-values, the averaged color value as the pixel under object brightness L1.
S102a, the fine chrominance primary color offset amount being multiplied based on K1 with fine chrominance primary color-values, by fine chrominance primary color-values with Fine chrominance primary color offset amount subtracts each other to obtain new fine chrominance primary color-values, and is multiplied with middle primary color values based on K2 Middle primary color values and middle primary color offset addition are obtained new middle primary color values by primary color offset.
S103a, new fine chrominance primary color-values, new middle primary color values and former primary color values are combined, is obtained New three primary colours color-values.
It illustratively, can be by color in primary colours in R, G, B tri- in each pixel when input picture is color image Being worth maximum primary colours and being known as main display primary is indicated with MAX, and color-values are known as intermediate primary colours, the smallest base of color-values in intermediate Color is indicated as time display primary with min.
In a kind of example, if the three primary colours color-values to offset pixels point are by taking rgb value as an example.
Detailed process is as follows:
1) the form and aspect calculation formula of RGB is as follows:
2) the brightness calculation formula of RGB are as follows: Y=0.299R+0.587G+0.114B
3) K1% that fine chrominance primary color-values max is reduced to max, as new max
4) by the K2% of primary color values in the increase of middle primary color values, as new middle primary color values
5) secondary primary color values min is remained unchanged
Wherein, the value of above-mentioned K1 and K2 to meet Y=0.299R+0.587G+0.114B Y value it is constant.
For example, if the rgb value of pixel S1 is (R, G, B)=(180,100,40), corresponding form and aspect H1=60* (100-40)/(180-40)=25.7 °, brightness value L1;The rgb value of pixel S2 is (R, G, B)=(160,80,40), right Form and aspect H2=60* (80-40)/(160-40)=20 ° answered, brightness value L 2.If the Max primary colours R of S1 is reduced to original 89% i.e. 160, then it is 40 that 110% i.e. 110, the B that can be calculated as G by brightness-formula need to increase as initial value, which is remained unchanged,.At this point, new Form and aspect be H ' 1=60* (110-40)/(160-40)=35 °.Assuming that the Max primary colours R of S2 is reduced to original 89% i.e. 142, then it is 40 that 106% i.e. 85, the B that can be calculated as G by brightness-formula need to increase as initial value, which is remained unchanged, at this point, new form and aspect For H ' 2=60* (85-40)/(142-40)=26.47 °.
By above variation, the hue difference between brightness L1 and brightness L2 originally is 25.7-20=5.7 degree, by turning After changing, the hue difference between brightness L1 and brightness L2 is 35-26.47=8.3 degree.As can be seen that being both able to maintain original by processing Color intensity it is constant, and the colour signal hue shift difference difference for realizing different brightness becomes larger, that is to say, that realizes With the widened mode apparent brightness of form and aspect and colored difference, it is easier to distinguish the nuance of image.
In the second implementation, if input picture is black white image, step S101 specifically includes following content:
S101b, respectively according to each object brightness in object brightness section and the corresponding gamma value of each brightness, really The of first color offset COEFFICIENT K 1 of red primary in the three primary colours color-values of pixel under fixed each object brightness, green primary The third color deviation ratio K3 of two color offset COEFFICIENT Ks 2 and blue primary.
Wherein, K2=1, above-mentioned K1 are equal to above-mentioned with red primary color-values and the product of red primary corresponding brightness coefficient The product of K3 and blue primary color-values and blue primary corresponding brightness coefficient, so that the brightness of offset front and back is constant, for example, RGB The brightness-formula of signal are as follows: Y=0.299R+0.587G+0.114B, then the luminance factor of red primary be 0.299, green primary it is bright Spending coefficient is 0.587, and the luminance factor of blue primary is 0.114.
Illustratively, the three primary colours color-values of the pixel under above-mentioned each object brightness include: each object brightness Under each pixel three primary colours color-values or all pixels point under each object brightness average three primary colours color-values.Tool Body, when the three primary colours color-values of the pixel under above-mentioned each object brightness are each pixel under each object brightness Three primary colours color-values when, then directly according to the color-values of each primary colours in the three primary colours color-values of each pixel, respectively One group of color offset coefficient (K1, K2, K3) is determined for each pixel;When three of the pixel under above-mentioned each object brightness It, then can be according to each target when primary color values are the average three primary colours color-values of all pixels point under each object brightness The averaged color value of each primary colours in the average three primary colours color-values of pixel under brightness, respectively each object brightness are true Fixed one group of color offset coefficient (K1, K2, K3).Associated description can refer to the content in the first implementation, no longer superfluous here It states.
Illustratively, corresponding since three values of R, G, B of black white image are identical when input picture is black white image Gamma it is also identical, be not no colour information.Therefore, it in order to preferably distinguish the close gray level of brightness, is provided with H brightness central point (h1-h5 in such as Fig. 2), the gamma value of position R, G, B of central point distinguish maximum, gradually slowly change Change, and in two central point centers, the gamma value of R, G, B cross.According to Y=0.299R+0.587G+0.114B it is found that G is the primary colours for determining pixel brightness, i.e. the luminance factor (0.587) of green primary is maximum, therefore, in order to avoid pixel brightness It is widely varied, referring to the gamma of R, G, B shown in Fig. 2, the application is guaranteeing the constant situation of the color-values of G Under, the brightness in order to guarantee image is constant, and the deviation by the deviation of R and B is needed to cancel out each other, that is, increases the color-values of B, reduces The color-values of R.Wherein, the gamma value of R, B can refer to Fig. 2 and chosen.
In general, the variation of gamma value can be according to the different variations for introducing color of brightness, different lightness colors are not Together, the luminance difference of medical picture can be judged accordingly, increase brightness of image level of detail.The brightness model of form and aspect can be limited It encloses, such as completely black, complete white or 15% is black and 85% white does not change colour.
S102b, the red primary color offset amount being multiplied based on K1 with red primary color-values, by red primary color-values with Red primary color offset amount subtracts each other to obtain new red primary color-values, and the indigo plant being multiplied based on K3 with blue primary color-values Blue primary color-values are added to obtain new blue primary color-values with blue primary color offset amount by primary color offset.
S102c, new red primary color-values, new blue primary color-values and former green primary color-values are combined, is obtained New three primary colours color-values.
In a kind of example, since the R signal of black white image and the gamma of B signal are shown according to SIN function , therefore, the application can calculate with formula 2 R corresponding K1, the corresponding K3 of B with according to the following equation 1.
Rout=G+K1Sin (ω Rin+ φ) (formula 1)
Bout=G+K3Sin (ω Bin+ φ) (formula 2)
Based on above-mentioned formula 1,2, meet the brightness before and after color offset it is constant in the case where, can calculate K1 and K3。
Wherein, above-mentioned Rout is the gamma value of red primary, and above-mentioned Bout is the gamma value of blue primary, above-mentioned K1 Color offset coefficient, the color offset coefficient that above-mentioned K3 is blue primary for red primary, above-mentioned ω are vibration in unit angle Dynamic number, φ are initial setting up angle, can be according to practical application scene sets itself.
Illustrate Installation practice corresponding with embodiment of the method presented above provided in an embodiment of the present invention below. It should be noted that in following apparatus embodiment related content explanation, reference can be made to the above method embodiment.
Using integrated unit, Fig. 3, which is shown, is easier identification image involved in above-described embodiment A kind of possible structural schematic diagram of device of the image color offset of middle object.The device include: processor 21, memory 22, System bus 23 and communication interface 24.For storing computer executable code, processor 21 passes through memory 21 with memory 22 System bus 23 connects, and when the device is running, processor 21 is used to execute the computer executable code of the storage of memory 22, to hold The method of row any one image color offset provided in an embodiment of the present invention, e.g., processor 21 is for supporting that image color is inclined The device of shifting executes the Overall Steps in Fig. 1, and/or for other processes of techniques described herein, specific pattern colour The method of coloured silk offset can refer to the associated description hereafter and in attached drawing, and details are not described herein again.
The embodiment of the present invention also provides a kind of storage medium, which may include memory 22.
The embodiment of the present invention also provides a kind of display equipment, which includes what image color shown in Fig. 3 deviated Device.
Processor 21 can be a processor, be also possible to the general designation of multiple processing elements.For example, processor 21 can be with For central processing unit (central processing unit, CPU).Processor 21 or other general processors, number Signal processor (digital signal processing, DSP), specific integrated circuit (application specific Integrated circuit, ASIC), field programmable gate array (field-programmable gate array, FPGA) Either other programmable logic device, discrete gate or transistor logic, discrete hardware components etc. may be implemented or hold Row combines various illustrative logic blocks, module and circuit described in the disclosure of invention.General processor can be Microprocessor or the processor are also possible to any conventional processor etc..Processor 21 can also be application specific processor, should Application specific processor may include at least one of baseband processing chip, radio frequency processing chip etc..The processor is also possible to It realizes the combination of computing function, such as is combined comprising one or more microprocessors, DSP and the combination of microprocessor etc..Into One step, which can also include the chip with other dedicated processes functions of the device.
Can be realized in a manner of hardware the step of method in conjunction with described in the disclosure of invention, be also possible to by Reason device executes the mode of software instruction to realize.Software instruction can be made of corresponding software module, and software module can be by Deposit in random access memory (English: random access memory, abbreviation: RAM), flash memory, read-only memory (English Text: read only memory, abbreviation: ROM), Erasable Programmable Read Only Memory EPROM (English: erasable Programmable ROM, abbreviation: EPROM), Electrically Erasable Programmable Read-Only Memory (English: electrically EPROM, Abbreviation: EEPROM), register, hard disk, mobile hard disk, CD-ROM (CD-ROM) or any other shape well known in the art In the storage medium of formula.A kind of illustrative storage medium is coupled to processor, to enable a processor to from the storage medium Information is read, and information can be written to the storage medium.Certainly, storage medium is also possible to the component part of processor.Processing Device and storage medium can be located in ASIC.In addition, the ASIC can be located in terminal device.Certainly, processor and storage are situated between Matter can also be used as discrete assembly and be present in terminal device.
System bus 23 may include data/address bus, power bus, control bus and signal condition bus etc..The present embodiment In for clear explanation, various buses are all illustrated as system bus 23 in Fig. 3.
Communication interface 24 specifically can be the transceiver on the device.The transceiver can be wireless transceiver.For example, nothing Line transceiver can be the antenna etc. of the device.Processor 21 is by communication interface 24 and other equipment, for example, if the device is When a module or component in the terminal device, the device is for carrying out data between other modules in the terminal device Interaction, e.g., the display module of the device and the terminal device carry out data interaction, control display module display correction front and back Image.
Those skilled in the art are it will be appreciated that in said one or multiple examples, function described in the invention It can be realized with hardware, software, firmware or their any combination.It when implemented in software, can be by these functions Storage in computer-readable medium or as on computer-readable medium one or more instructions or code transmitted. Computer-readable medium includes computer storage media and communication media, and wherein communication media includes convenient for from a place to another Any medium of one place transmission computer program.Storage medium can be general or specialized computer can access it is any Usable medium.
Finally, it should be noted that above-described specific embodiment, to the purpose of the present invention, technical solution and beneficial to effect Fruit has been further described, it should be understood that the foregoing is merely a specific embodiment of the invention, not For limiting the scope of protection of the present invention, all any modifications on the basis of technical solution of the present invention, made equally are replaced It changes, improve, should all include within protection scope of the present invention.

Claims (10)

1. a kind of method of image color offset characterized by comprising
Determine in input picture the color offset coefficient of pixel under each object brightness in object brightness section;Wherein, pixel The value of the color offset coefficient of point needs to meet: the brightness before and after the color-values progress color offset of each pixel is constant In the case where, guarantee the two neighboring target after the color-values of each pixel carry out color offset in the object brightness section The hue difference of brightness increases;
Using the color offset coefficient of pixel under each object brightness, respectively to the color of pixel under each object brightness Coloured silk value carries out color offset, obtains the new color-values of each pixel.
2. the method according to claim 1, wherein if the determination inputs when input picture is color image The color offset coefficient of pixel in image in object brightness section under each object brightness, comprising:
Respectively according to each object brightness in the object brightness section, three of the pixel under each object brightness are determined First color offset COEFFICIENT K 1 of fine chrominance primary in primary color values, the second color offset COEFFICIENT K 2 of middle primary colours and secondary primary colours Third color deviation ratio K3;Wherein, K3=1, the fine chrominance primary are the maximum primary colours of color-values in the three primary colours color-values, The middle primary colours are the primary colours that color-values are median in the three primary colours color-values, and the secondary primary colours are the three primary colours color The smallest primary colours of color-values in value.
3. the method according to claim 1, wherein if the determination inputs when input picture is black white image In image in object brightness section under each object brightness pixel color offset coefficient, comprising:
Respectively according to each object brightness in the object brightness section and the corresponding gamma value of the object brightness, institute is determined State the first color offset COEFFICIENT K 1 of red primary in the three primary colours color-values of the pixel under each object brightness, green primary The third color deviation ratio K3 of two color offset COEFFICIENT Ks 2 and blue primary;Wherein, K2=1.
4. according to the method in claim 2 or 3, which is characterized in that three bases of the pixel under each object brightness Color color-values include: under the three primary colours color-values or each object brightness of each pixel under each object brightness All pixels point average three primary colours color-values.
5. according to the method described in claim 2, it is characterized in that, the color using pixel under each object brightness Color deviation ratio carries out color offset to the color-values of pixel under each object brightness respectively, obtains each pixel New color-values, comprising:
Based on the fine chrominance primary color offset amount that the K1 is multiplied with the fine chrominance primary color-values, by the fine chrominance primary color-values Subtract each other to obtain new fine chrominance primary color-values with the fine chrominance primary color offset amount, and based on the K2 and the middle primary color The middle primary color offset that value multiplication obtains, the middle primary color values and the middle primary color offset addition are obtained New middle primary color values;
By the new fine chrominance primary color-values, the new middle primary color values and former primary color values combination, obtain new Three primary colours color-values.
6. according to the method described in claim 3, it is characterized in that, the color using pixel under each object brightness Color deviation ratio carries out color offset to the color-values of pixel under each object brightness respectively, obtains each pixel New color-values, comprising:
Based on the red primary color offset amount that the K1 is multiplied with the red primary color-values, by the red primary color-values Subtract each other to obtain new fine chrominance primary color-values with the red primary color offset amount, and based on the K3 and the blue primary color The blue primary color offset amount that value multiplication obtains, the blue primary color-values are added to obtain with the blue primary color offset amount New blue primary color-values;
By the new red primary color-values, the new blue primary color-values and former green primary color-values combination, obtain new Three primary colours color-values.
7. according to the method in claim 2 or 3, which is characterized in that each target is bright in the determining object brightness section Before the color offset coefficient of pixel under degree, further includes:
Determine that the identical pixel of the color-values of every kind of primary colours in the three primary colours color-values of pixel in the input picture accounts for institute Have whether the ratio of pixel is greater than predetermined threshold;
If so, determining the input picture for color image;
If it is not, then determining the input picture for black white image.
8. a kind of device of image color offset characterized by comprising processor and memory;Wherein, the memory is used In storage computer executable code, the computer executable code requires 1-7 any for controlling the processor perform claim Method described in.
9. a kind of display equipment, comprising: the device of image color offset according to any one of claims 8.
10. a kind of computer storage medium, which is characterized in that for being stored as computer used in the device of image color offset Software instruction, it includes perform claims to require program code designed by 1~6 described in any item methods.
CN201710515273.3A 2017-06-29 2017-06-29 A kind of method, apparatus and display equipment of image color offset Active CN107257454B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710515273.3A CN107257454B (en) 2017-06-29 2017-06-29 A kind of method, apparatus and display equipment of image color offset

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710515273.3A CN107257454B (en) 2017-06-29 2017-06-29 A kind of method, apparatus and display equipment of image color offset

Publications (2)

Publication Number Publication Date
CN107257454A CN107257454A (en) 2017-10-17
CN107257454B true CN107257454B (en) 2019-08-06

Family

ID=60023625

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710515273.3A Active CN107257454B (en) 2017-06-29 2017-06-29 A kind of method, apparatus and display equipment of image color offset

Country Status (1)

Country Link
CN (1) CN107257454B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107863060B (en) * 2017-11-28 2021-03-05 海信视像科技股份有限公司 Method and device for correcting image color
CN109949376B (en) * 2019-02-25 2024-11-05 平安科技(深圳)有限公司 Method, device, computer equipment and storage medium for identifying black and white pictures
CN117495845B (en) * 2023-12-25 2024-05-10 宁德时代新能源科技股份有限公司 Blue gel detection method and device, electronic equipment and medium

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7483082B2 (en) * 2005-04-21 2009-01-27 Kolorific, Inc. Method and system for automatic color hue and color saturation adjustment of a pixel from a video source
JP4837965B2 (en) * 2005-09-28 2011-12-14 ソニー株式会社 Color adjustment device, display device, and printing device
KR101321396B1 (en) * 2007-07-20 2013-10-25 삼성전자주식회사 System of enhancing color of images and method using the same
CN101115211A (en) * 2007-08-30 2008-01-30 四川长虹电器股份有限公司 Color independent reinforcement processing method
CN101677407B (en) * 2008-09-19 2011-06-29 联咏科技股份有限公司 Color adjustment method used in a display device and related device
CN102567974A (en) * 2010-12-16 2012-07-11 方正国际软件(北京)有限公司 Method and system for adjusting local color of image
CN102184527B (en) * 2011-05-10 2013-06-19 格科微电子(上海)有限公司 Image processing method and device
CN102779330B (en) * 2012-06-13 2014-08-06 京东方科技集团股份有限公司 Image reinforcement method, image reinforcement device and display device
CN102769758A (en) * 2012-07-18 2012-11-07 京东方科技集团股份有限公司 A processing method and system for RGB data
CN102769759B (en) * 2012-07-20 2014-12-03 上海富瀚微电子有限公司 Digital image color correcting method and realizing device
KR20140103757A (en) * 2013-02-19 2014-08-27 삼성디스플레이 주식회사 Image processing method and display apparatus using the same
CN104284168B (en) * 2014-10-17 2017-07-21 深圳市华星光电技术有限公司 image color enhancement method and system

Also Published As

Publication number Publication date
CN107257454A (en) 2017-10-17

Similar Documents

Publication Publication Date Title
CN107863060B (en) Method and device for correcting image color
CN107221306B (en) The method, apparatus and display equipment of brightness of image in correction splicing device screen
CN108376539B (en) Image color compensation method and device
CN108648679A (en) The driving method and device of display panel, display equipment
CN107257454B (en) A kind of method, apparatus and display equipment of image color offset
CN104076928B (en) A kind of method for adjusting text importing image
CN107784993B (en) Color gamut compression method and device and display equipment
CN110298812A (en) A kind of method and device of image co-registration processing
CN108305224A (en) A kind of distortion correction method of image, device and television set
US20160309129A1 (en) Image generation apparatus, evaluation system, and non-transitory computer readable medium
CN107205142B (en) A kind of method, apparatus and display equipment of image color offset
CN107635122B (en) The method and device that the image remapped in device screen colour gamut is handled
CN110335279A (en) Real-time green curtain is scratched as method, apparatus, equipment and storage medium
CN110277076B (en) Color mapping method and device, display equipment and medium
CN110264972B (en) Method for obtaining brightness compensation value, computer device and computer readable medium
CN114927086A (en) Gamma debugging method, device, equipment and storage medium for display panel
WO2022120799A9 (en) Image processing method and apparatus, electronic device, and storage medium
US20080137942A1 (en) Apparatus and method of reproducing preferred color
CN113450687A (en) Color management correction method, device and system
CN106791741B (en) Multi-screen marching method and device
US8958635B2 (en) Method and device for processing a digital image
US11765305B2 (en) Method for processing image storage medium and apparatus for the same
US20240221691A1 (en) Backlight display control method and apparatus
CN108600721A (en) A kind of method of color gamut mapping of color and equipment
CN109167987A (en) A kind of image quality processing method, display device and storage medium based on color lump array

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No.

Patentee after: Hisense Visual Technology Co., Ltd.

Address before: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No.

Patentee before: QINGDAO HISENSE ELECTRONICS Co.,Ltd.