CN107257454A - A kind of method, device and the display device of image color skew - Google Patents
A kind of method, device and the display device of image color skew Download PDFInfo
- Publication number
- CN107257454A CN107257454A CN201710515273.3A CN201710515273A CN107257454A CN 107257454 A CN107257454 A CN 107257454A CN 201710515273 A CN201710515273 A CN 201710515273A CN 107257454 A CN107257454 A CN 107257454A
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/64—Circuits for processing colour signals
- H04N9/68—Circuits for processing colour signals for controlling the amplitude of colour signals, e.g. automatic chroma control circuits
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/64—Circuits for processing colour signals
- H04N9/68—Circuits for processing colour signals for controlling the amplitude of colour signals, e.g. automatic chroma control circuits
- H04N9/69—Circuits 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 method, device and the display device of a kind of image color skew, is related to display technology field, to solve in the prior art it is image blurring it is unclear caused by the problem of being difficult to objects in images.This method includes:Determine that brightness indexes the color offset coefficient of pixel under the interval interior each object brightness of object brightness in not high input picture with color zones;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 progress color offset of each pixel is constant, it is ensured that the color-values of each pixel carry out the hue difference increase of the two neighboring object brightness in object brightness interval after color offset;Using the color offset coefficient of pixel under each object brightness, respectively to the color-values progress color offset of pixel under each object brightness, the new color-values of each pixel are obtained.
Description
Technical field
The application is related to display technology field, more particularly to method, device and the display of a kind of skew of image color are set
It is standby.
Background technology
Peep in the display and application of operation video frequency, easily illuminated due to peeping camera in operation in medical picture or inside
Brightness, camera position, liquid such as block at the factor influence, so as to cause the pattern and human body of focal area in the image that photographs
Difference between the pattern of tissue is not it is obvious that image blurring, lack unity and coherence the figure such as clear so that the image finally shown occurs
The problem of image sharpness is not high, judgement and normal monitoring to medical problem cause very big puzzlement.
Therefore, how to improve image blurring unclear present in the medical image of specialty, cause to be difficult to thing in image
The problem of body, as current urgent problem to be solved.
The content of the invention
Embodiments herein provides a kind of image color offset method and device for being easier to recognize objects in images,
To solve in the prior art it is image blurring it is unclear caused by the problem of being difficult to objects in images.
To reach above-mentioned purpose, embodiments herein is adopted the following technical scheme that:
First aspect there is provided it is a kind of be easier identification objects in images image color skew method, including:
Determine the color offset coefficient of pixel under the interval interior each object brightness of object brightness in input picture;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
Brightness it is constant in the case of, it is ensured that the color-values of each pixel are carried out after color offset in the object brightness interval
The hue difference increase of two neighboring object brightness;
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.
Second aspect there is provided the device that a kind of image color is offset, including:Processor and memory;Wherein, it is described to deposit
Reservoir is used to store computer executable code, and the computer executable code is used to control the computing device first aspect
Described method.
The third aspect includes the device of the image color skew of second aspect offer there is provided a kind of display device.
Fourth aspect is there is provided a kind of computer-readable storage medium, based on used in the device for saving as image color skew
Calculation machine software instruction, it includes the program code designed by the method performed described in first aspect.
Indexed because the main cause of the smudgy Chu of the details of existing medical image also resides in brightness of image with color zones
Not high (e.g., lesion region is close with the color of tissue), therefore, the application, which is determined, to be needed to realize brightness and color zones
It is interior each by indexing object brightness interval in not high input picture for brightness and color zones behind the object brightness interval divided
Pixel determines color offset coefficient under object brightness, since it is determined that pixel color offset coefficient value need
Meet:In the case where the brightness before and after the color-values progress color offset of each pixel is constant, it is ensured that every in image
The color-values of individual pixel are carried out after color offset, the hue difference increase of the two neighboring object brightness in object brightness interval,
So that using the color offset coefficient of pixel under each object brightness, respectively to pixel under each object brightness
Color-values are carried out after color offset, the form and aspect increase between adjacent brightness can be realized, so as to reach the effect of lifting image detail
Really, objects in images and then is easily recognized.
Brief description of the drawings
, below will be to embodiment or description of the prior art in order to illustrate more clearly of the technical scheme of the embodiment of the present application
In required for the accompanying drawing that uses be briefly described, it should be apparent that, drawings in the following description are only some of the application
Embodiment, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to these
Accompanying drawing obtains other accompanying drawings.
A kind of schematic flow sheet of the method for image color skew that Fig. 1 provides for the embodiment of the present application;
A kind of R, G, B that Fig. 2 provides for the embodiment of the present application gamma figure;
A kind of structural representation of the device for image color skew that Fig. 3 provides for the embodiment of the present application.
Embodiment
Part term involved in the application is explained below, understood with helping reader:
" brightness ", refers to the relative bright-dark degree of color, usually using from 0% (black) to the percentage of 100% (white)
Than measuring.During brightness of image increase, it will seem dazzling or dazzling, brightness is got over hour, image will seem gloomy.
" the three primary colours color-values of pixel ", the three primary colours of pixel include red primary, green primary and blue primary three
Kind, wherein, three kinds of primary colours are separate, and any color can not be produced by other two mixture of colours.General, three primary colours color-values
The commonly 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,
Red primary color-values, green primary color-values under the color space that can also be made up of for four primary, six-basic-color etc. three primary colours
And blue primary color-values.
Exemplary, if the color-values of pixel are by taking the rgb value of pixel as an example, the pixel S in a certain image
The rgb value of (i, j) can be expressed as:
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,
(1,2 ... ..., a), (1,2 ... ..., b), the resolution ratio of the image is a × b to j ∈ to i ∈.
The color offset coefficient of the color-values of pixel, is mainly used in " the color offset coefficients of color-values ", 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, represents there may be three kinds
Relation, for example, A and/or B, can be represented:Individualism A, while there is A and B, these three situations of individualism B.In addition,
Character "/" herein, it is a kind of relation of "or" to typically represent forward-backward correlation object.If being not added with explanation, herein is " more
It is individual " refer to two or more.
For the ease of clearly describing the technical scheme of the embodiment of the present application, in embodiments herein, employ " the
One ", the printed words such as " second " make a distinction to function or the essentially identical identical entry of effect or similar item, those skilled in the art
It is appreciated that the printed words such as " first ", " second " are not defined to quantity and execution order.
It should be noted that in the embodiment of the present application, word " exemplary " or " such as " for expression make example,
Illustration or explanation.It is described as any embodiment or design of " exemplary " or " such as " in the embodiment of the present application
It is not necessarily to be construed as than other embodiments or design more preferably or more advantage.Specifically, use " exemplary " or
Person's " example
Such as " word is intended to that related notion is presented in a concrete fashion.
It should be noted that in the embodiment of the present application, unless otherwise indicated, the implication of " multiple " refers to two or two
More than.
It should be noted that in the embodiment of the present application, " (English:Of) ", " corresponding (English:
Corresponding, relevant) " and " corresponding (English:Corresponding) " it can use with sometimes, it should be pointed out that
, when not emphasizing its difference, its is to be expressed be meant that it is consistent.
The dress that the executive agent of the method for the image color skew that the embodiment of the present application is provided can offset for image color
Put, or for the display device for the method for performing above-mentioned image color skew.Wherein, the device of image color skew can be with
For the central processing unit (English in above-mentioned display device:Central Processing Unit, referred to as:) or can be with CPU
For the control unit or functional module in above-mentioned display device.
Below in conjunction with the Figure of description of the embodiment of the present application, the technical scheme that the embodiment of the present application is provided is carried out
Explanation.Obviously, it is described be the application a part of embodiment, rather than whole embodiment.It should be noted that under
Part or all of technical characteristic in any number of technical schemes that text is provided is not in the case where conflicting, and can combine makes
With the new technical scheme of formation.
Based on the above, it is inclined that embodiments herein provides a kind of image color for being easier identification objects in images
The method of shifting, as shown in figure 1, this method comprises the following steps:
S101, the color offset coefficient for determining pixel under the interval interior each object brightness of object brightness in input picture.
Wherein, the application is it is determined that need to meet during the value of the color offset coefficient of pixel under each object brightness:
Each pixel color-values carry out color offset before and after brightness it is constant (i.e. pixel color-values progress color offset
Front and rear brightness is equal to the current object brightness of the pixel) in the case of, it is ensured that the color-values of each pixel carry out color
The hue difference increase of two neighboring object brightness after coloured silk skew in object brightness interval.Input picture is brightness in the application
Not high input picture, i.e. color are difficult the low-luminosity picture or high-brghtness picture images differentiated with the equal discrimination of color.
Exemplary, because the input picture in the application is that brightness indexes not high image with color zones, so,
In certain brightness section, the color-values of all pixels point under same brightness are similar.Therefore, the application for pixel it is true
During fixation coloured silk deviation ratio, a color offset coefficient can be set for each object brightness in object brightness interval, i.e., should
The color-values of all pixels point under object brightness carry out color offset according to a color offset coefficient.Certainly, in order to most
Whole colourshift effects are more preferable, or each pixel sets a color offset coefficient, i.e., each pixel respectively
One color offset coefficient of correspondence.
It should be noted that after image is inputted, the digital signals format of the input picture is first determined whether, if comprising
Primary colours R, G, B signal, then by the picture signal of the input picture through to color processing module, obtain corresponding three primary colours
Color-values.If not including primary colours R, G, B signal, such as Y, U, V or L, U, V in the digital signals format of the input picture
Deng extended formatting signal, then R, G, B form need to be being converted it to.
For example, the conversion formula between Y, U, V signal and R, G, B signal is as follows:With
R=Y+1.14V;
G=Y-0.39U-0.58V;
B=Y+2.03U.
S102, the color offset coefficient using 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.
Exemplary, before step S101, determine that the process of the image category of input picture is as follows:
S101a, the color-values identical pixel for judging 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 more than predetermined threshold.
If specifically, step S101a result of determination is yes, judging input picture as coloured image;If it is determined that result
It is no, then judges input picture as black white image.
Exemplary, for each pixel in input picture, if the color of tri- primary colours of R, G, B of the pixel
Color value is not completely equivalent, then the pixel is judged for color pixel cell, if the color-values of tri- primary colours of R, G, B of pixel
It is identical, then the pixel is judged for monochrome pixels point, and all color pixel cells, judge in statistics view picture input picture
Whether the ratio that the sum of the color pixel cell in the input picture accounts for all pixels point exceedes predetermined threshold value D1, if it is determined that super
D1 is crossed, then judges the input picture for coloured image, when not less than D1, then judging the input picture for black white image.One
In kind of example, above-mentioned threshold value D1 can set a suitable threshold value, for example, always according to the total resolution of the input picture
The 75% of resolution ratio.
The application can be input picture according to the difference of the image type (coloured image, black white image) of input picture
The method that different image color skews are provided.
In the first implementation, if input picture is coloured image, step S101 specifically includes following content:
S101a, respectively according to object brightness it is interval in each object brightness, it is determined that each pixel under object brightness
Three primary colours color-values in the first color offset COEFFICIENT K 1 of fine chrominance primary, the second color offset COEFFICIENT K 2 of middle primary colours and secondary
The third color deviation ratio K of primary colours.
Wherein, above-mentioned fine chrominance primary is the primary colours of color-values maximum 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 primary colours of color-values minimum in three primary colours color-values.
It is exemplary, because the size of pixel form and aspect is determined with time primary color values by fine chrominance primary color-values
(e.g., RGB form and aspect calculation formula (formula 1 hereinafter)), and secondary primary colours are that color-values are most in three primary colours color-values in itself
Small primary colours, in order to avoid carrying out after color offset, color error ratio is excessive, and the application is by reducing fine chrominance primary color-values, to increase
Big hue value, meanwhile, in order to ensure that the brightness before and after color offset is constant, corresponding middle primary color values need increase.
Therefore, above-mentioned K3=1, that is, primary color values are constant in keeping, above-mentioned K1 and fine chrominance primary color-values and master
The product of primary colours corresponding brightness coefficient is equal to above-mentioned K2 and middle primary color values and the product of middle primary colours corresponding brightness coefficient,
So that the brightness before and after skew is constant, for example, the brightness-formula of rgb signal is:Y=0.299R+0.587G+0.114B is then red
The luminance factor of primary colours is 0.299, and the luminance factor of green primary is 0.587, and the luminance factor of blue primary is 0.114.
Exemplary, 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 the average three primary colours color-values of all pixels point under each object brightness.
Example A:
Each picture under the three primary colours color-values of the pixel under above-mentioned each object brightness are each object brightness
During 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:
All pictures under the three primary colours color-values of the pixel under above-mentioned each object brightness are each object brightness
During 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, the average color of each primary colours in the average three primary colours color-values of the pixel under each object brightness
Value, respectively each object brightness determines one group of color offset coefficient (K1, K2, K3).
If specifically, 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:
Mode one, the red primary color-values of all pixels point under object brightness L1 are averaging, average red primary is obtained
Color-values, the blue primary color-values of all pixels point under object brightness L1 are averaging, average blue primary color-values are obtained,
The green primary color-values of all pixels point under object brightness L1 are averaging, average green primary color-values are obtained, finally, will
Average red primary color-values, average blue primary color-values and average green primary color-values combination, so as to obtain the target
The average three primary colours color-values of pixel under brightness L1.
Mode two, the three primary colours color-values to all pixels point under object brightness L1 are counted, accounting is maximum
Three primary colours color-values, are used as the averaged color value of the pixel under object brightness L1.
S102a, be multiplied obtained fine chrominance primary color offset amount based on K1 with fine chrominance primary color-values, by fine chrominance primary color-values
Subtract each other with fine chrominance primary color offset amount and obtain new fine chrominance primary color-values, and be multiplied and obtain with middle primary color values based on K2
Middle primary color offset, middle primary color values and middle primary color offset addition are obtained into new middle primary color values.
S103a, new fine chrominance primary color-values, new middle primary color values and former primary color values are combined, obtained
New three primary colours color-values.
Exemplary, can be by color in primary colours in R, G, B tri- in each pixel when input picture is coloured image
The maximum primary colours of value are referred to as main display primary and represented with MAX, color-values primary colours in the middle of middle be referred to as, and color-values are minimum
Primary colours are represented as secondary display primary with min.
In a kind of example, if treating the three primary colours color-values of offset pixels point by taking rgb value as an example.
Detailed process is as follows:
1) RGB form and aspect calculation formula is as follows:
2) RGB brightness calculation formula is:Y=0.299R+0.587G+0.114B
3) fine chrominance primary color-values max is reduced to max K1%, new max is used as
4) K2% of primary color values, is used as new middle primary color values during middle primary color values are increased
5) secondary primary color values min keeps constant
Wherein, above-mentioned K1 and K2 value to meet Y=0.299R+0.587G+0.114B Y values it is constant.
If for example, pixel S1 rgb value is (R, G, B)=(180,100,40), corresponding form and aspect H1=60*
(100-40)/(180-40)=25.7 °, brightness value is L1;Pixel S2 rgb value is (R, G, B)=(160,80,40), right
Form and aspect H2=60* (80-40)/(160-40)=20 ° answered, brightness value L 2.If S1 Max primary colours R is reduced to original
89% i.e. 160, then by brightness-formula can be calculated as G need to increase for initial value 110% i.e. 110, B holding be not changed into 40.Now,
New form and aspect are H ' 1=60* (110-40)/(160-40)=35 °.Assuming that S2 Max primary colours R is reduced into original 89%
I.e. 142, then by brightness-formula can be calculated as G need to increase for initial value 106% i.e. 85, B keep be not changed into 40, now, new color
It is mutually H ' 2=60* (85-40)/(142-40)=26.47 °.
Change more than, 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 by processing, can keep former
The color intensity come is constant, and it is big to realize the different difference changes of the colour signal hue shift of different brightness, that is to say, that realize
The mode apparent brightness expanded with form and aspect and colored difference, it is easier to distinguish the nuance of image.
In second of implementation, if input picture is black white image, step S101 specifically includes following content:
S101b, respectively according to object brightness it is interval in each object brightness and the corresponding gamma values of each brightness, really
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 second color offset COEFFICIENT K 2 and blue primary.
Wherein, K2=1, above-mentioned K1 is equal to upper with red primary color-values and the product of red primary corresponding brightness coefficient
State K3 and blue primary color-values and the product of blue primary corresponding brightness coefficient so that the brightness before and after skew is constant, for example,
The brightness-formula of rgb signal is:Y=0.299R+0.587G+0.114B, then the luminance factor of red primary is 0.299, green primary
Luminance factor be 0.587, the luminance factor of blue primary is 0.114.
Exemplary, 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 the average three primary colours color-values of all pixels point under each object brightness.
Specifically, each picture under the three primary colours color-values of the pixel under above-mentioned each object brightness are each object brightness
During 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);Pixel under above-mentioned each object brightness
Point three primary colours color-values be each object brightness under all pixels point average three primary colours color-values when, then can basis
The averaged color value of each primary colours in the average three primary colours color-values of pixel under each object brightness, is respectively each
Object brightness determines one group of color offset coefficient (K1, K2, K3).Associated description can refer to the content in the first implementation,
Here repeat no more.
Exemplary, when input picture is black white image, because R, G, B of black white image three values are identical, correspondence
Gamma it is also identical, be no colour information.Therefore, in order to preferably distinguish the gray level that brightness is close, set
There is h brightness central point (h1-h5 in such as Fig. 2), position R, G, B of central point gamma values difference are maximum, gradually slowly
Change, and in two central point centers, R, G, B gamma values are crossed.According to Y=0.299R+0.587G+0.114B
Understand, G is that the luminance factor (0.587) of the primary colours for determining pixel brightness, i.e. green primary is maximum, therefore, in order to avoid pixel
Point brightness is widely varied, and the gamma of R, G, B shown in reference picture 2, the application are constant in the color-values for ensureing G
In the case of, the brightness in order to ensure image is constant, it is necessary to the deviation of R deviation and B is cancelled out each other, that is, increases B color
Value, reduces R color-values.Wherein, R, B gamma values can refer to Fig. 2 and chosen.
General, the change of gamma values can introduce the changes of colors according to the difference of brightness, and different lightness colors are equal
Difference, luminance difference, the increase brightness of image level of detail of medical picture can be judged accordingly.The bright of form and aspect can be limited
Spend scope, such as it is completely black, complete white or 15% black and 85% do not change colour in vain.
S102b, be multiplied obtained red primary color offset amount based on K1 with red primary color-values, by red primary color-values
Subtract each other with red primary color offset amount and obtain new red primary color-values, and be multiplied and obtain with blue primary color-values based on K3
Blue primary color offset amount, blue primary color-values are added with blue primary color offset amount and obtain new blue primary color-values.
S102c, new red primary color-values, new blue primary color-values and former green primary color-values are combined, obtained
New three primary colours color-values.
In a kind of example, because the R signal of black white image and the gamma of B signal are shown according to SIN function
, therefore, the application can calculate R corresponding K1, the corresponding K3 of B with formula 2 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, in the case where the brightness before and after meeting color offset is constant, just can calculate K1 and
K3。
Wherein, above-mentioned Rout is the gamma values of red primary, and above-mentioned Bout is the gamma values of blue primary, above-mentioned
The color offset coefficient that K1 is the color offset coefficient of red primary, above-mentioned K3 is blue primary, above-mentioned ω is in unit angle
The number of times of vibration, φ is initial setting up angle, can be according to practical application scene sets itself.
Illustrate that the device corresponding with embodiment of the method presented above provided in an embodiment of the present invention is implemented below
Example.It should be noted that in following apparatus embodiment related content explanation, may be referred to above method embodiment.
In the case of using integrated unit, Fig. 3 shows easily identification image involved in above-described embodiment
A kind of possible structural representation of device of the image color skew of middle object.The device includes:Processor 21, memory 22,
System bus 23 and communication interface 24.Memory 21 is used to store computer executable code, and processor 21 passes through with memory 22
System bus 23 is connected, when plant running, and processor 21 is used for the computer executable code for performing the storage of memory 22, with
The method for performing any one image color skew provided in an embodiment of the present invention, e.g., processor 21 is used to support image color
The device of skew performs the Overall Steps in Fig. 1, and/or other processes for techniques described herein, specific image
The method of color offset refers to the associated description hereafter and in accompanying drawing, and here is omitted.
The embodiment of the present invention also provides a kind of storage medium, and the storage medium can include memory 22.
The embodiment of the present invention also provides a kind of display device, and the display device includes the image color skew shown in Fig. 3
Device.
Processor 21 can be the general designation of a processor or multiple treatment elements.For example, processor 21 can
Think central processing unit (central processing unit, CPU).Processor 21 can also for other general processors,
Digital signal processor (digital signal processing, DSP), application specific integrated circuit (application
Specific integrated circuit, ASIC), field programmable gate array (field-programmable gate
Array, FPGA) or other PLDs, discrete gate or transistor logic, discrete hardware components etc.,
It can realize or perform the various exemplary logic blocks with reference to described by the disclosure of invention, module and circuit.It is logical
It can be microprocessor with processor or the processor can also be any conventional processor etc..Processor 21 can be with
For application specific processor, the application specific processor can include at least one in baseband processing chip, radio frequency processing chip etc..Institute
It can also be the combination for realizing computing function to state processor, for example, combined comprising one or more microprocessors, DSP and Wei Chu
Manage combination of device etc..Further, the application specific processor can also include the core with other dedicated processes functions of the device
Piece.
The step of method with reference to described by the disclosure of invention can be realized in the way of hardware or by
The mode of computing device software instruction is realized.Software instruction can be made up of corresponding software module, and software module can be with
It is stored on random access memory (English:Random access memory, abbreviation:RAM), flash memory, read-only storage
(English:Read only memory, abbreviation:ROM), Erasable Programmable Read Only Memory EPROM (English:erasable
Programmable ROM, abbreviation:EPROM), EEPROM (English:Electrically EPROM,
Abbreviation:EEPROM), register, hard disk, mobile hard disk, read-only optical disc (CD-ROM) or any other shape well known in the art
In the storage medium of formula.A kind of exemplary storage medium is coupled to processor, so as to enable a processor to be situated between from the storage
Matter reads information, and can write information to the storage medium.Certainly, storage medium can also be the part of processor.Place
Managing device and storage medium can be located in ASIC.In addition, the ASIC can be located in terminal device.Certainly, processor and storage
Medium can also be present in terminal device as discrete assembly.
System bus 23 can include data/address bus, power bus, controlling bus and signal condition bus etc..This implementation
For clear explanation in example, various buses are all illustrated as system bus 23 in figure 3.
Communication interface 24 can be specifically the transceiver on the device.The transceiver can be wireless transceiver.For example,
Wireless transceiver can be antenna of the device etc..Processor 21 is by communication interface 24 and other equipment, if for example, the dress
During a module or component being set in the terminal device, the device is used to enter between other modules in the terminal device
Row data interaction, e.g., the display module of the device and the terminal device carry out data interaction, control the display module to show school
Just front and rear image.
Those skilled in the art are it will be appreciated that in said one or multiple examples, work(described in the invention
It is able to can be realized with hardware, software, firmware or their any combination.When implemented in software, can be by these functions
It is stored in computer-readable medium or is passed as one or more instructions on computer-readable medium or code
It is defeated.Computer-readable medium includes computer-readable storage medium and communication media, and wherein communication media includes being easy to from a place
Any medium of computer program is transmitted to another place.Storage medium can be that universal or special computer can be accessed
Any usable medium.
Finally it should be noted that:Above-described embodiment, to the purpose of the present invention, technical scheme and beneficial
Effect is further described, and should be understood that the embodiment that the foregoing is only the present invention,
The protection domain being not intended to limit the present invention, all any modifications on the basis of technical scheme, made,
Equivalent substitution, improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. a kind of method of image color skew, it is characterised in that including:
Determine the color offset coefficient of pixel under the interval interior each object brightness of object brightness in input picture;Wherein, pixel
The value of the color offset coefficient of point needs to meet:Brightness before and after the color-values progress color offset of each pixel is constant
In the case of, it is ensured that the color-values of each pixel carry out the two neighboring target in the object brightness interval after color offset
The hue difference increase of brightness;
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. according to the method described in claim 1, it is characterised in that if input picture is coloured image, the determination input
The color offset coefficient of pixel in image under the interval interior each object brightness of object brightness, including:
Respectively according to each object brightness in object brightness interval, 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 is the primary colours of color-values maximum 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 described primary colours are the three primary colours color
The minimum primary colours of color-values in value.
3. according to the method described in claim 1, it is characterised in that if input picture is black white image, the determination input
In image object brightness it is interval under each object brightness pixel color offset coefficient, including:
Respectively according to each object brightness and the corresponding gamma values of the object brightness in object brightness interval, institute is determined
State red primary in the three primary colours color-values of the pixel under each object brightness the first color offset COEFFICIENT K 1, the of 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, it is characterised in that three bases of the pixel under each object brightness
Color color-values include:Under the three primary colours color-values of each pixel under each object brightness or each object brightness
All pixels point average three primary colours color-values.
5. method according to claim 2, it is characterised in that the color using pixel under each object brightness
Color deviation ratio, respectively to the color-values progress color offset of pixel under each object brightness, obtains each pixel
New color-values, including:
Be multiplied obtained fine chrominance primary color offset amount based on the K1 with the fine chrominance primary color-values, by the fine chrominance primary color-values
Subtract each other with the fine chrominance primary color offset amount and obtain new fine chrominance primary color-values, and based on the K2 and the middle primary color
The middle primary color offset that value multiplication is obtained, the middle primary color values are obtained with the middle primary color offset addition
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. method according to claim 3, it is characterised in that the color using pixel under each object brightness
Color deviation ratio, respectively to the color-values progress color offset of pixel under each object brightness, obtains each pixel
New color-values, including:
Be multiplied obtained red primary color offset amount based on the K1 with the red primary color-values, by the red primary color-values
Subtract each other with the red primary color offset amount and obtain new fine chrominance primary color-values, and based on the K3 and the blue primary color
The blue primary color offset amount that value multiplication is obtained, the blue primary color-values are added with the blue primary color offset amount and obtained
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, it is characterised in that each target is bright in the determination object brightness is interval
Before the color offset coefficient of pixel under degree, in addition to:
Judge that the color-values identical pixel of every kind of primary colours in the three primary colours color-values of pixel in the input picture accounts for institute
Whether the ratio for having pixel is more than predetermined threshold;
If so, then judging the input picture as coloured image;
If it is not, then judging the input picture as black white image.
8. a kind of device of image color skew, it is characterised in that including:Processor and memory;Wherein, the memory is used
In storage computer executable code, the computer executable code is used to control the computing device claim 1-7 any
Method described in.
9. a kind of display device, including:The device of image color skew described in claim 8.
10. a kind of computer-readable storage medium, it is characterised in that for saving as the computer used in the device of image color skew
Software instruction, it requires the program code designed by the method described in 1~6 any one comprising perform claim.
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 true CN107257454A (en) | 2017-10-17 |
CN107257454B 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) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107863060A (en) * | 2017-11-28 | 2018-03-30 | 青岛海信电器股份有限公司 | A kind of method and device of image color correction |
CN109949376A (en) * | 2019-02-25 | 2019-06-28 | 平安科技(深圳)有限公司 | Discrimination method, device, computer equipment and the storage medium of black and white picture |
CN117495845A (en) * | 2023-12-25 | 2024-02-02 | 宁德时代新能源科技股份有限公司 | Blue gel detection method and device, electronic equipment and medium |
CN117495845B (en) * | 2023-12-25 | 2024-05-10 | 宁德时代新能源科技股份有限公司 | Blue gel detection method and device, electronic equipment and medium |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060238655A1 (en) * | 2005-04-21 | 2006-10-26 | Chih-Hsien Chou | Method and system for automatic color hue and color saturation adjustment of a pixel from a video source |
CN1972369A (en) * | 2005-09-28 | 2007-05-30 | 索尼株式会社 | Color adjusting apparatus, display apparatus, printing apparatus, image processing apparatus |
CN101115211A (en) * | 2007-08-30 | 2008-01-30 | 四川长虹电器股份有限公司 | Color independent reinforcement processing method |
US20090022395A1 (en) * | 2007-07-20 | 2009-01-22 | Samsung Electronics Co., Ltd. | Apparatus and method of enhancing color of image |
CN101677407A (en) * | 2008-09-19 | 2010-03-24 | 联咏科技股份有限公司 | Colour coordination method and related device thereof used in display device |
CN102184527A (en) * | 2011-05-10 | 2011-09-14 | 格科微电子(上海)有限公司 | Image processing method and device |
CN102567974A (en) * | 2010-12-16 | 2012-07-11 | 方正国际软件(北京)有限公司 | Method and system for adjusting local color of image |
CN102769759A (en) * | 2012-07-20 | 2012-11-07 | 上海富瀚微电子有限公司 | Digital image color correcting method and realizing device |
CN102769758A (en) * | 2012-07-18 | 2012-11-07 | 京东方科技集团股份有限公司 | Method and system for processing RGB (red, green and blue) data |
CN102779330A (en) * | 2012-06-13 | 2012-11-14 | 京东方科技集团股份有限公司 | Image reinforcement method, image reinforcement device and display device |
US20140232741A1 (en) * | 2013-02-19 | 2014-08-21 | Samsung Display Co., Ltd. | Image Processing Method and Display Apparatus Using the Same |
CN104284168A (en) * | 2014-10-17 | 2015-01-14 | 深圳市华星光电技术有限公司 | Image color enhancing method and system |
-
2017
- 2017-06-29 CN CN201710515273.3A patent/CN107257454B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060238655A1 (en) * | 2005-04-21 | 2006-10-26 | Chih-Hsien Chou | Method and system for automatic color hue and color saturation adjustment of a pixel from a video source |
CN1972369A (en) * | 2005-09-28 | 2007-05-30 | 索尼株式会社 | Color adjusting apparatus, display apparatus, printing apparatus, image processing apparatus |
US20090022395A1 (en) * | 2007-07-20 | 2009-01-22 | Samsung Electronics Co., Ltd. | Apparatus and method of enhancing color of image |
CN101115211A (en) * | 2007-08-30 | 2008-01-30 | 四川长虹电器股份有限公司 | Color independent reinforcement processing method |
CN101677407A (en) * | 2008-09-19 | 2010-03-24 | 联咏科技股份有限公司 | Colour coordination method and related device thereof used in display device |
CN102567974A (en) * | 2010-12-16 | 2012-07-11 | 方正国际软件(北京)有限公司 | Method and system for adjusting local color of image |
CN102184527A (en) * | 2011-05-10 | 2011-09-14 | 格科微电子(上海)有限公司 | Image processing method and device |
CN102779330A (en) * | 2012-06-13 | 2012-11-14 | 京东方科技集团股份有限公司 | Image reinforcement method, image reinforcement device and display device |
CN102769758A (en) * | 2012-07-18 | 2012-11-07 | 京东方科技集团股份有限公司 | Method and system for processing RGB (red, green and blue) data |
CN103400566A (en) * | 2012-07-18 | 2013-11-20 | 京东方科技集团股份有限公司 | Method and system for processing RGB (Red, Green, Blue) data |
CN102769759A (en) * | 2012-07-20 | 2012-11-07 | 上海富瀚微电子有限公司 | Digital image color correcting method and realizing device |
US20140232741A1 (en) * | 2013-02-19 | 2014-08-21 | Samsung Display Co., Ltd. | Image Processing Method and Display Apparatus Using the Same |
CN104284168A (en) * | 2014-10-17 | 2015-01-14 | 深圳市华星光电技术有限公司 | Image color enhancing method and system |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107863060A (en) * | 2017-11-28 | 2018-03-30 | 青岛海信电器股份有限公司 | A kind of method and device of image color correction |
CN107863060B (en) * | 2017-11-28 | 2021-03-05 | 海信视像科技股份有限公司 | Method and device for correcting image color |
CN109949376A (en) * | 2019-02-25 | 2019-06-28 | 平安科技(深圳)有限公司 | Discrimination method, device, computer equipment and the storage medium of black and white picture |
CN117495845A (en) * | 2023-12-25 | 2024-02-02 | 宁德时代新能源科技股份有限公司 | Blue gel detection method and device, electronic equipment and medium |
CN117495845B (en) * | 2023-12-25 | 2024-05-10 | 宁德时代新能源科技股份有限公司 | Blue gel detection method and device, electronic equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN107257454B (en) | 2019-08-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107221306B (en) | The method, apparatus and display equipment of brightness of image in correction splicing device screen | |
CN107863060B (en) | Method and device for correcting image color | |
CN104076928B (en) | A kind of method for adjusting text importing image | |
CN109408008B (en) | Image identification system and information display method thereof | |
CN112669758B (en) | Display screen correction method, device, system and computer readable storage medium | |
US9936182B2 (en) | Image generation apparatus, evaluation system, and non-transitory computer readable medium | |
CN108337496A (en) | White balancing treatment method, processing unit, processing equipment and storage medium | |
CN104935902A (en) | Image color enhancement method and device, and electronic equipment | |
CN107862671A (en) | A kind of processing method of image, device and television set | |
CN107564493A (en) | A kind of gamut compression method, apparatus and display device | |
CN107257454A (en) | A kind of method, device and the display device of image color skew | |
CN108416333B (en) | Image processing method and device | |
CN110610461B (en) | Method, device and equipment for enhancing printed image and storage medium | |
CN108305224A (en) | A kind of distortion correction method of image, device and television set | |
CN107205142B (en) | A kind of method, apparatus and display equipment of image color offset | |
US11657484B2 (en) | Image processing apparatus to enhance contrast of image, image processing method, and non-transitory computer-readable storage medium | |
CN110880164A (en) | Image processing method, device and equipment and computer storage medium | |
CN108574835A (en) | The method and device of image color in a kind of calibration equipment screen | |
WO2021258872A1 (en) | Interface display method and device, and computer readable storage medium | |
CN114495824B (en) | Method and system for correcting edge color cast of OLED display image and character, storage medium and processor | |
CN106791741B (en) | Multi-screen marching method and device | |
JP2011250167A (en) | Color conversion apparatus, color conversion method and program | |
CN112132919A (en) | Electronic seal presenting method for simulating inkpad effect | |
CN107103321A (en) | The generation method and generation system of road binary image | |
CN103986922B (en) | Image processing method |
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 Video Technology Co., Ltd Address before: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No. Patentee before: HISENSE ELECTRIC Co.,Ltd. |