CN107863060A - A kind of method and device of image color correction - Google Patents
A kind of method and device of image color correction Download PDFInfo
- Publication number
- CN107863060A CN107863060A CN201711214244.XA CN201711214244A CN107863060A CN 107863060 A CN107863060 A CN 107863060A CN 201711214244 A CN201711214244 A CN 201711214244A CN 107863060 A CN107863060 A CN 107863060A
- Authority
- CN
- China
- Prior art keywords
- brightness
- section
- pixel
- range
- color
- 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
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/2003—Display of colours
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/11—Region-based segmentation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/90—Determination of colour characteristics
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/34—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
- G09G3/36—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using liquid crystals
- G09G3/3607—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using liquid crystals for displaying colours or for displaying grey scales with a specific pixel layout, e.g. using sub-pixels
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/02—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/02—Improving the quality of display appearance
- G09G2320/0242—Compensation of deficiencies in the appearance of colours
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Chemical & Material Sciences (AREA)
- Crystallography & Structural Chemistry (AREA)
- Image Processing (AREA)
- Processing Of Color Television Signals (AREA)
Abstract
The embodiment of the present application provides a kind of method and device of image color correction, it is related to display technology field, to solve in the case of hardware register limited memory, due to the problem of dividing precision of brightness section is insufficient, and the degree of accuracy of caused image color correction is relatively low.This method includes:Determine the colour type of each pixel in input picture;According in the input picture in the brightness range of each color classification pixel Density Distribution, the brightness range of each color classification is divided at least two brightness sections respectively;Wherein, the bound difference of each brightness section is inversely proportional with the pixel point density in corresponding brightness section in a brightness range;Determine the color correction coefficient of each brightness section of the brightness range of each color classification;Using the color correction coefficient of each brightness section, colour correction is carried out to the color-values of pixel under each brightness section respectively.
Description
Technical field
The application is related to display technology field, more particularly to a kind of method and device of image color correction.
Background technology
With the development of photoelectricity and semiconductor technology, display (such as:Liquid crystal display (English:Liquid Crystal
Display, referred to as:LCD), projecting apparatus etc.) it is widely used in the various aspects of production and living.The display screen of existing display
In the fabrication process, due to being influenceed by the defects of external environment, own material and display screen hardware circuit construction etc., make
The display parameters for obtaining each display screen have differences, so as to cause different display screens to be shown when showing identical image
Difference is presented in color, that is, causes the image that display screen is shown to occur as the colors such as contrast is low, fogging image are uneven
Defect.
At present, the color correction scheme of main flow:It is that different degrees of colour correction is carried out to the pixel of different brightness, leads to
Chang Liangdu can be divided into 4 to 5 grades, and in division be divided according to the bright-dark degree of brightness, brightness section
Division it is not fine so that the color of detail brightness can not accurately carry out colour correction.Although lift brightness
Dividing precision can solve the problem that above mentioned problem, still, in the case of hardware register limited memory, improve dividing precision can account for
With a large amount of register memories, cause system operation slow, reduce icon colour correction efficiency.
The content of the invention
Embodiments herein provides a kind of method and device of image color correction, to solve in hardware register
In the case of having limit, because the dividing precision deficiency of brightness section, the degree of accuracy of caused image color correction are relatively low
Problem.
To reach above-mentioned purpose, embodiments herein adopts the following technical scheme that:
First aspect, there is provided a kind of method of image color correction, including:
Determine the colour type of each pixel in input picture;
According under each color classification in the input picture in the brightness range of pixel pixel Density Distribution, point
The brightness range of each color classification at least two brightness sections are not divided into;Wherein, it is each in a brightness range
The bound difference of brightness section is inversely proportional with the pixel point density in corresponding brightness section;
Determine the color correction coefficient of each brightness section of the brightness range of each color classification;
Using the color correction coefficient of each brightness section, respectively to the color-values of pixel under each brightness section
Carry out colour correction.
Second aspect, there is provided a kind of device of image color correction, including:
Determining module, for determining the colour type of each pixel in input picture;
Division module, for according to pixel in the brightness range of pixel under each color classification in the input picture
Density Distribution, the brightness range of each color classification is divided at least two brightness sections respectively;Wherein, one it is bright
The bound difference of each brightness section is inversely proportional with the pixel point density in corresponding brightness section in the range of degree;
The determining module, it is additionally operable to determine the color of each brightness section of the brightness range of each color classification
Correction coefficient;
Correction module, for the color correction coefficient using each brightness section, respectively under each brightness section
The color-values of pixel carry out colour correction.
The third aspect, there is provided a kind of device of image color correction, including:Processor and memory;Wherein, the storage
Device is used to store computer executable code, and the computer executable code is used to control described in the computing device first aspect
Method.
Fourth aspect, there is provided a kind of television set, the television set include the device of the image color correction described in the third aspect.
By the color correction coefficient configured for the pixel of different colours is inconsistent.Therefore, the application carries
The scheme of confession, by the way that pixel in input picture is identified, determine the colour type belonging to each pixel, Ran Hougen
According to the Density Distribution of pixel in the brightness range of pixel under each color classification, respectively by the brightness model of each color classification
Enclose and be divided at least two brightness sections, determine the colour correction system of each brightness section of the brightness range of each color classification
Number, finally, using the color correction coefficient of each brightness section of the brightness range of each color classification, respectively to each brightness region
Between the color-values of lower pixel carry out colour correction.Due to, in a brightness range bound difference of each brightness section with
Pixel point density in corresponding brightness section is inversely proportional, so as to the larger region of Luminance Distribution accounting (under unit brightness
Pixel number it is more), carry out more fine brightness division, i.e., corresponding brightness section scope is smaller, conversely, can be right
The less region of Luminance Distribution accounting (the pixel number under unit brightness is more), corresponding brightness section scope is larger, from
And in the case where being not take up a large amount of hardware register internal memories, the pixel of the different brightness and color details of different colours can be directed to
Point carries out different degrees of colour correction.
Brief description of the drawings
, below will be in embodiment or description of the prior art in order to illustrate more clearly of the technical scheme of the embodiment of the present application
The required accompanying drawing used is briefly described, it should be apparent that, drawings in the following description are only some realities of the application
Example is applied, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to these accompanying drawings
Obtain other accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of the method for image color correction that the embodiment of the present application provides;
Fig. 2 is a kind of Luminance Distribution histogram schematic diagram that the embodiment of the present application provides;
Fig. 3 is that a kind of brightness section that the embodiment of the present application provides divides schematic diagram;
Fig. 4 is a kind of structural representation for image color correction device that the embodiment of the present application provides;
Fig. 5 is the structural representation for another image color correction device that the embodiment of the present application provides.
Embodiment
Below in conjunction with the Figure of description of the embodiment of the present application, the technical scheme provided the embodiment of the present application is said
It is bright.Obviously, it is described be the application part of the embodiment, rather than whole embodiment.It should be noted that hereafter institute
Part or all of technical characteristic in any number of technical schemes provided can be used in combination, shape in the case where not conflicting
Cheng Xin technical scheme.
The executive agent of the method for the image color correction that the embodiment of the present application provides can be the dress of image color correction
Put, or the display device of the method for performing above-mentioned image color correction.Wherein, the device of image color correction can be
Central processing unit (English in above-mentioned display device:Central Processing Unit, referred to as:CPU) or can be upper
State the control unit or functional module in display device.
Embodiments herein provides a kind of image color correction method, as shown in figure 1, this method specifically includes following step
Suddenly:
S101, the colour type for determining each pixel in input picture.
Wherein, input picture can be the equally distributed region of the non-full brightness of image in the application, such as:Brightness in image
Compare the region of integrated distribution, highlight regions, the middle bright area in image or the low bright area in image in image.
Wherein, above-mentioned colour type includes:Red (red), Green (green), Blue (indigo plant), Cyan (green grass or young crops), Magenta
(pinkish red purplish red), Yellow (Huang), Dark Skin (dark skin), Light Skin (light skin) etc..Certainly above-mentioned face
Color is only a kind of example, if desired divides more carefully, then can increase more color examples.Therefore, the application is in identification picture
During color belonging to vegetarian refreshments, can in the three primary colours color-values according to the pixel the specific proportioning of each primary color values come it is true
Fixed.
It should be noted that because the color of existing pixel is made up of R, G, B of different ratio, for example,
For 100% amplitude, Full Range red, its R, G, B proportioning are 255,0,0, for 75% amplitude, Limit range
Red, its R, G, B proportioning be 180,16,16.And the picture signal of input picture may be the picture signal of various forms
(e.g., rgb format, HSV forms, YCbCr format, yuv format etc.) therefore, before A1 is performed, it is necessary to by picture in input picture
The color-values of vegetarian refreshments are converted to rgb value.For example, the conversion formula between Y, U, V signal and R, G, B signal is as follows:R=Y+1.14V;
G=Y-0.39U-0.58V;B=Y+2.03U.
In general, what existing pixel color can be made up of R, G, B of different ratio, it is as shown in table 1 below.
R | G | B | |
Red | 180 | 16 | 16 |
Green | 16 | 180 | 16 |
Blue | 16 | 16 | 180 |
Cyan | 16 | 180 | 180 |
Magenta | 180 | 16 | 180 |
Yellow | 180 | 180 | 16 |
Dark Skin | 115 | 86 | 73 |
Light Skin | 182 | 145 | 128 |
Table 1
S102, according in input picture in the brightness range of each color classification pixel Density Distribution, respectively will be every
The brightness range of kind colour type is divided at least two brightness sections.
Wherein, brightness refers to the relative bright-dark degree of color, usually using hundred from 0% (black) to 100% (white)
Ratio is divided to measure.During brightness of image increase, it will seem dazzling or dazzling, brightness is got over hour, and image will seem gloomy.It is above-mentioned
Brightness section in the Density Distribution of pixel include:Pixel number in the brightness section under each brightness, the brightness region
The Density Distribution of interior pixel can characterize the Density Distribution of pixel in the brightness section.Pixel under one kind colour type
The bound difference of each brightness section is inversely proportional with the pixel point density in corresponding brightness section in the brightness range of point, i.e., bright
Spend the picture of unit brightness corresponding to the number of the pixel of the wider corresponding unit brightness in section is fewer, and brightness section on the contrary is narrower
The number of vegetarian refreshments is more.
Exemplary, the application to brightness section before dividing, it is necessary to according to each pixel in input picture
Color-values calculate brightness value corresponding to each pixel, for example, the brightness-formula of rgb signal is:Y=0.299R+0.587G+
0.114B, it is then based on the brightness value of all pixels point in the input picture.
S103, determine each color classification brightness range each brightness section color correction coefficient.
Exemplary, because pixel discrimination is relatively low similar in color, now, if not made a distinction to it, and use
Same color correction coefficient carries out colour correction, then color detail can not be adjusted.Therefore, the application to input by scheming
Pixel carries out colour recognition as in, and all pixels point in input picture is classified according to different colours, and to every class face
Color carries out brightness division respectively, so as to carry out further brightness division to pixel similar in color so that color phase
Near different luminance pixel points configure the pixel of different color correction coefficient, i.e. different brightness sections under different colours classification
The color correction coefficient of point is different.Certainly, in order to which final colourshift effects are more preferable, or per each brightness of class color
Under pixel set a color correction coefficient.
In a kind of example, one color correction coefficient table, each color pair can be set for each color classification in advance
Color correction coefficient corresponding to the different color of the color is contained in the color correction coefficient table answered.Based on these colour corrections
Coefficient table can determine the color correction coefficient of each brightness section of the brightness range of each color classification.
It is exemplary, can be by extracting the colour type it is determined that during color correction coefficient table corresponding to each color
Under color color-values at different brightnesses, calculate color correction coefficient corresponding to each brightness.For example, using red as
Example, can according to corresponding to the red of different brightness R, G, B values, calculate corresponding color correction coefficient, it is as shown in table 2 below,
If being adjusted under HSV color spaces, regulation coefficient corresponding to H, S, V can be calculated.Wherein, H is related is adjusted to
Color phase adjustment, S, V are respectively the adjustment of saturation degree and brightness.
Table 2
Exemplary, S103 is specifically included:
S103a, the color correction coefficient for obtaining each brightness in the brightness range of the first colour type.
S103b, the color correction coefficient of all brightness in each brightness section of the brightness range is averaging respectively, obtained
The color correction coefficient of each brightness section in the brightness range.
Wherein, the first above-mentioned colour type is a colour type in multiple colour types of the input picture.
By taking red as an example, for the red of different brightness, it is assumed that the section of a brightness section of red brightness range
Scope 20-40, from the red LUT look-up tables pre-established, determine the color for all brightness that brightness value is 20 to 40
Correction coefficient, sum-average arithmetic, the color correction coefficient as 20-40 sections are carried out to these color correction coefficients.
S104, the color correction coefficient using each brightness section, respectively to the color of pixel under each brightness section
Value carries out colour correction.
It is exemplary, for a certain pixel S in the input picture, it is determined that during its corresponding color correction coefficient,
Can using brightness value corresponding to the pixel and corresponding color classification as index, each color classification obtained from S103 it is bright
Spend in the color correction coefficient of each brightness section of scope and determine colour correction corresponding to brightness section residing for the pixel
Coefficient, then, using the color correction coefficient of the pixel, the original color value of the pixel is weighted, so as to obtain
The new color-values of the pixel.
Optionally, can specifically be realized in S102 according to two kinds of following implementations:
The first implementation (being illustrated by taking the brightness range of the first colour type as an example):
Specifically, S102 specifically comprises the following steps:
B1, the brightness in the brightness range of the first colour type is averagely divided into N number of original intensity section.
Wherein, the corresponding original intensity in an original intensity section, original intensity are the flat of corresponding original intensity section
Equal brightness or center brightness, each original intensity interval range are identical.
B2, the height order according to the quantity of pixel in each original intensity section, from N number of original intensity section,
Select M-1 original intensity section.
Wherein, M-1 is less than N.
B3, using the original intensity in M-1 original intensity section as brightness section border, by the brightness model of the first colour type
Enclose and be divided into M brightness section.
Illustrate, it is assumed that N 16, brightness range 0-255,0-255 is equally divided into 16 parts, determines every part of brightness
Total pixel number, then, as shown in Fig. 2 with 16 for group a number (1-16 in such as Fig. 2), with total picture corresponding to every group of brightness
Longitudinal stripe corresponding to the conduct of vegetarian refreshments number, makes the histogram (as shown in Figure 2) of the brightness section, straight shown in reference picture 2
Luminance Distribution situation shown in side's figure, maximum 3 groups of total pixel number are extracted from extraction 1-16, and record its brightness Y0,
Y1, Y2, finally, using Y0, Y1, Y2 as 3 zone boundaries, brightness range is divided into 4 brightness sections, such as Fig. 3 institutes
Show.
Second of implementation (being illustrated by taking the brightness range of the first colour type as an example):
Specifically, S102 specifically comprises the following steps:
C1, according to predetermined luminance section quantity M, the brightness in the brightness range of the first colour type is averagely divided into M-
1 original intensity section.
C2, using the object brightness in each original intensity section as border, the brightness range is divided into M brightness region
Between, object brightness is the brightness that pixel quantity is most in original intensity section.
Illustrate, it is assumed that M 4, brightness range 0-255.
1) 0-255, is divided into 4 parts, and partitioning site is recorded as:point0、point1、point2、point3.
2) 4 borders of brightness section are determined:Y0、Y1、Y2、Y3;
Y0 is brightness corresponding to the value of pixel number maximum in the range of 0 to point0;
Y1 is brightness corresponding to the value of pixel number maximum in the range of point0 to point1;
Y2 is brightness corresponding to the value of pixel number maximum in the range of point1 to point2;
Y3 is brightness corresponding to the value of pixel number maximum in the range of point2 to point3.
So the application determines the color class belonging to each pixel by the way that pixel in input picture is identified
Not, then according to the Density Distribution of pixel in the brightness range of each color classification, respectively by the brightness of each color classification
Scope is divided at least two brightness sections, determines the colour correction of each brightness section of the brightness range of each color classification
Coefficient, finally, using the color correction coefficient of each brightness section of the brightness range of each color classification, respectively to each brightness
The color-values of pixel carry out colour correction under section.Due to the bound difference of each brightness section in a brightness range
It is inversely proportional with the pixel point density in corresponding brightness section, so as to the larger region (unit brightness of Luminance Distribution accounting
Under pixel number it is more), carry out more fine brightness division, i.e., corresponding brightness section scope is smaller, conversely, can be with
To the less region of Luminance Distribution accounting (the pixel number under unit brightness is more), corresponding brightness section scope is larger,
So as to which in the case where being not take up a large amount of hardware register internal memories, the picture of the different brightness and color details of different colours can be directed to
Vegetarian refreshments carries out different degrees of colour correction.
Illustrate the device embodiment 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, may be referred to above method embodiment.
Fig. 4 shows a kind of possible structural representation of device of image color correction involved in above-described embodiment.
The device includes:Determining module 21, division module 22 and correction module 23, wherein:
Determining module 21, for determining the colour type of each pixel in input picture.
Division module 22, for according to the density of pixel is divided in the brightness range of each color classification in input picture
Cloth, the brightness range of each color classification is divided at least two brightness sections respectively;Wherein, it is each in a brightness range
The bound difference of brightness section is inversely proportional with the pixel point density in corresponding brightness section.
Determining module 22, it is additionally operable to determine the colour correction system of each brightness section of the brightness range of each color classification
Number.
Correction module 23, for the color correction coefficient using each brightness section, respectively to picture under each brightness section
The color-values of vegetarian refreshments carry out colour correction.
Optionally, the Density Distribution of pixel includes of pixel under each brightness in brightness section in brightness section
Number;
Division module 22, is specifically used for:
Brightness in the brightness range of first colour type is averagely divided into N number of original intensity section;Wherein, at the beginning of one
The corresponding original intensity of beginning brightness section, original intensity are the mean flow rate or center brightness in corresponding original intensity section;
According to the height order of the quantity of pixel in each original intensity section, from N number of original intensity section, selection
Go out M-1 original intensity section;Wherein, M-1 is less than N;
Using the original intensity in M-1 original intensity section as border, brightness range is divided into M brightness section.
Optionally, the Density Distribution of pixel includes of pixel under each brightness in brightness section in brightness section
Number;
Division module 22, is specifically used for:
According to predetermined luminance section quantity M, the brightness in the brightness range of the first colour type is averagely divided into M-1
Original intensity section;Wherein, the pixel quantity in each original intensity section is identical;
Using the object brightness in each original intensity section as border, brightness range is divided into M brightness section;Its
In, object brightness is the brightness that pixel quantity is most in original intensity section.
Optionally, determining module 21, it is additionally operable to:
Obtain the color correction coefficient of each brightness in the brightness range of the first colour type;
The color correction coefficient of all brightness in each brightness section of brightness range is averaging respectively, obtains brightness range
The color correction coefficient of interior each brightness section.
In the case of using integrated unit, Fig. 5 shows image color correction involved in above-described embodiment
A kind of possible structural representation of device.The device includes:Processor 31, memory 32, system bus 33 and communication interface 34.
Memory 31 is used to store computer executable code, and processor 31 is connected with memory 32 by system bus 33, when device is transported
During row, processor 31 is used for the computer executable code for performing the storage of memory 32, to perform provided in an embodiment of the present invention
Anticipate the method for image color skew a kind of, e.g., the device that processor 31 is used to support image color to offset performs the whole in Fig. 1
Step, and/or other processes for techniques described herein, the method for specific image color skew refer to hereafter and
Associated description in accompanying drawing, here is omitted.
The embodiment of the present invention also provides a kind of storage medium, and the storage medium can include memory 32.
The embodiment of the present invention also provides a kind of television set, and the television set includes the device of the image color skew shown in Fig. 5.
Processor 31 can be the general designation of a processor or multiple treatment elements.For example, processor 31 can be with
For central processing unit (central processing unit, CPU).Processor 31 can also be other general processors, numeral
Signal processor (digital signal processing, DSP), application specific integrated circuit (application specific
Integrated circuit, ASIC), field programmable gate array (field-programmable gate array, FPGA)
Either other PLDs, discrete gate or transistor logic, discrete hardware components etc., it can realize or hold
Various exemplary logic blocks of the row with reference to described by the disclosure of invention, module and circuit.General processor can be
Microprocessor or the processor can also be any conventional processors etc..Processor 31 can also be application specific processor, should
Application specific processor can include at least one in baseband processing chip, radio frequency processing chip etc..The processor can also be
The combination of computing function is realized, such as is combined comprising one or more microprocessors, combination of DSP and microprocessor etc..Enter
One step, the application specific processor can also include the chip with other dedicated processes functions of the device.
The step of method with reference to described by the disclosure of invention can be realized in a manner of hardware or by
The mode that reason device performs software instruction is realized.Software instruction can be made up 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 storage (English
Text: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 from the storage medium
Information is read, and information can be write to the storage medium.Certainly, storage medium can also be the 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 present in terminal device as discrete assembly.
System bus 33 can include data/address bus, power bus, controlling bus and signal condition bus etc..The present embodiment
In for clear explanation, various buses are all illustrated as system bus 33 in Figure 5.
Communication interface 34 can be specifically the transceiver on the device.The transceiver can be wireless transceiver.For example, nothing
Line transceiver can be antenna of the device etc..Processor 31 is by communication interface 34 and other equipment, if for example, the device is
During a module or component in the terminal device, the device is used to carry out data between other modules in the terminal device
Interactive, e.g., the display module of the device and the terminal device carries out data interaction, controls the display module to show before and after correcting
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 transmitted as one or more instructions on computer-readable medium or code.
Computer-readable medium includes computer-readable storage medium and communication media, and wherein communication media includes being easy to from a place to another
Any medium of one place transmission computer program.It is any that storage medium can be that universal or special computer can access
Usable medium.
Finally it should be noted that:Above-described embodiment, to the purpose of the present invention, technical scheme and beneficial to effect
Fruit is further described, and should be understood that the embodiment that the foregoing is only the present invention, not
For limiting protection scope of the present invention, all any modifications on the basis of technical scheme, made, equally replace
Change, improve, all should be included within protection scope of the present invention.
Claims (10)
- A kind of 1. method of image color correction, it is characterised in that including:Determine the colour type of each pixel in input picture;According under each color classification in the input picture in the brightness range of pixel pixel Density Distribution, respectively will The brightness range of each color classification is divided at least two brightness sections;Wherein, each brightness in a brightness range The bound difference in section is inversely proportional with the pixel point density in corresponding brightness section;Determine the color correction coefficient of each brightness section of the brightness range of each color classification;Using the color correction coefficient of each brightness section, the color-values of pixel under each brightness section are carried out respectively Colour correction.
- 2. according to the method for claim 1, it is characterised in that the Density Distribution of pixel includes institute in the brightness section State the number of pixel under each brightness in brightness section;It is described according under each color classification in the input picture in the brightness range of pixel pixel Density Distribution, point The brightness range of each color classification is not divided at least two brightness sections, including:Brightness in the brightness range of first colour type is averagely divided into N number of original intensity section;Wherein, one it is initial bright The corresponding original intensity in section is spent, the original intensity is the mean flow rate or center brightness in corresponding original intensity section;According to the height order of the quantity of pixel in each original intensity section, from N number of original intensity section, selection Go out M-1 original intensity section;Wherein, M-1 is less than N;Using the original intensity in the M-1 original intensity section as border, the brightness range is divided into M brightness section.
- 3. according to the method for claim 1, it is characterised in that the Density Distribution of pixel includes institute in the brightness section State the number of pixel under each brightness in brightness section;It is described according under each color classification in the input picture in the brightness range of pixel pixel Density Distribution, point The brightness range of each color classification is not divided at least two brightness sections, including:According to predetermined luminance section quantity M, the brightness in the brightness range of the first colour type is averagely divided into M-1 initially Brightness section;Wherein, the pixel quantity in each original intensity section is identical;Using the object brightness in each original intensity section as border, the brightness range is divided into M brightness section;Its In, the object brightness is the brightness that pixel quantity is most in original intensity section.
- 4. according to the method for claim 1, it is characterised in that the brightness range for determining each color classification The color correction coefficient of each brightness section, including:Obtain the color correction coefficient of each brightness in the brightness range of the first colour type;The color correction coefficient of all brightness in each brightness section of the brightness range is averaging respectively, obtains the brightness In the range of each brightness section color correction coefficient.
- A kind of 5. device of image color correction, it is characterised in that including:Determining module, for determining the colour type of each pixel in input picture;Division module, for according under each color classification in the input picture in the brightness range of pixel pixel it is close Degree distribution, is divided at least two brightness sections by the brightness range of each color classification respectively;Wherein, a brightness model The bound difference and the pixel point density in corresponding brightness section for enclosing interior each brightness section are inversely proportional;The determining module, it is additionally operable to determine the colour correction of each brightness section of the brightness range of each color classification Coefficient;Correction module, for the color correction coefficient using each brightness section, respectively to pixel under each brightness section The color-values of point carry out colour correction.
- 6. device according to claim 5, it is characterised in that the Density Distribution of pixel includes institute in the brightness section State the number of pixel under each brightness in brightness section;The division module, is specifically used for:Brightness in the brightness range of first colour type is averagely divided into N number of original intensity section;Wherein, one it is initial bright The corresponding original intensity in section is spent, the original intensity is the mean flow rate or center brightness in corresponding original intensity section;According to the height order of the quantity of pixel in each original intensity section, from N number of original intensity section, selection Go out M-1 original intensity section;Wherein, M-1 is less than N;Using the original intensity in the M-1 original intensity section as border, the brightness range is divided into M brightness section.
- 7. device according to claim 5, it is characterised in that the Density Distribution of pixel includes institute in the brightness section State the number of pixel under each brightness in brightness section;The division module, is specifically used for:According to predetermined luminance section quantity M, the brightness in the brightness range of the first colour type is averagely divided into M-1 initially Brightness section;Wherein, the pixel quantity in each original intensity section is identical;Using the object brightness in each original intensity section as border, the brightness range is divided into M brightness section;Its In, the object brightness is the brightness that pixel quantity is most in original intensity section.
- 8. device according to claim 5, it is characterised in that the determining module, be additionally operable to:Obtain the color correction coefficient of each brightness in the brightness range of the first colour type;The color correction coefficient of all brightness in each brightness section of the brightness range is averaging respectively, obtains the brightness In the range of each brightness section color correction coefficient.
- A kind of 9. device of image color correction, 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 Claims 1-4 any Method described in.
- 10. a kind of television set, it is characterised in that include the device of the image color correction described in claim 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711214244.XA CN107863060B (en) | 2017-11-28 | 2017-11-28 | Method and device for correcting image color |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711214244.XA CN107863060B (en) | 2017-11-28 | 2017-11-28 | Method and device for correcting image color |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107863060A true CN107863060A (en) | 2018-03-30 |
CN107863060B CN107863060B (en) | 2021-03-05 |
Family
ID=61703604
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711214244.XA Active CN107863060B (en) | 2017-11-28 | 2017-11-28 | Method and device for correcting image color |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107863060B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109360229A (en) * | 2018-10-31 | 2019-02-19 | 歌尔股份有限公司 | Laser projection image processing method, device and equipment |
CN109671399A (en) * | 2018-12-11 | 2019-04-23 | 惠科股份有限公司 | A kind of driving method of display module, drive system and display device |
CN109785248A (en) * | 2018-12-19 | 2019-05-21 | 新绎健康科技有限公司 | One kind is for the corrected method and system of color of image |
CN109902587A (en) * | 2019-01-29 | 2019-06-18 | 维沃移动通信有限公司 | A kind of image processing method, device, mobile terminal and storage medium |
CN111861893A (en) * | 2019-04-24 | 2020-10-30 | 浙江宇视科技有限公司 | Method, system, equipment and computer medium for eliminating false color edge of image |
CN113763278A (en) * | 2021-09-10 | 2021-12-07 | 昆山丘钛微电子科技股份有限公司 | Image correction method and device |
CN116033133A (en) * | 2021-10-22 | 2023-04-28 | 广州视源电子科技股份有限公司 | Color correction method, storage medium and related device |
CN117198220A (en) * | 2023-11-07 | 2023-12-08 | 惠科股份有限公司 | Driving method and device of display panel, display module and electronic equipment |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1622638A (en) * | 2004-12-27 | 2005-06-01 | 北京中星微电子有限公司 | Image brightness correcting method of video monitoring system |
CN1873771A (en) * | 2006-03-31 | 2006-12-06 | 深圳创维-Rgb电子有限公司 | Method of displaying color for optimizing display device |
US20100289811A1 (en) * | 2009-05-12 | 2010-11-18 | Shing-Chia Chen | Dynamic Backlight Control System and Method with Color-Temperature Compensation |
CN101996614A (en) * | 2009-08-25 | 2011-03-30 | 康佳集团股份有限公司 | Full-screen color correction method for LED display and implementation system thereof |
CN103559862A (en) * | 2013-11-11 | 2014-02-05 | 西安诺瓦电子科技有限公司 | Partition zone correcting method for LED display screen |
CN103617792A (en) * | 2013-11-14 | 2014-03-05 | 天津三星电子有限公司 | Method for adjusting image display of display terminal and display terminal |
CN104580925A (en) * | 2014-12-31 | 2015-04-29 | 安科智慧城市技术(中国)有限公司 | Image brightness controlling method, device and camera |
CN107257454A (en) * | 2017-06-29 | 2017-10-17 | 青岛海信电器股份有限公司 | A kind of method, device and the display device of image color skew |
-
2017
- 2017-11-28 CN CN201711214244.XA patent/CN107863060B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1622638A (en) * | 2004-12-27 | 2005-06-01 | 北京中星微电子有限公司 | Image brightness correcting method of video monitoring system |
CN1873771A (en) * | 2006-03-31 | 2006-12-06 | 深圳创维-Rgb电子有限公司 | Method of displaying color for optimizing display device |
US20100289811A1 (en) * | 2009-05-12 | 2010-11-18 | Shing-Chia Chen | Dynamic Backlight Control System and Method with Color-Temperature Compensation |
CN101996614A (en) * | 2009-08-25 | 2011-03-30 | 康佳集团股份有限公司 | Full-screen color correction method for LED display and implementation system thereof |
CN103559862A (en) * | 2013-11-11 | 2014-02-05 | 西安诺瓦电子科技有限公司 | Partition zone correcting method for LED display screen |
CN103617792A (en) * | 2013-11-14 | 2014-03-05 | 天津三星电子有限公司 | Method for adjusting image display of display terminal and display terminal |
CN104580925A (en) * | 2014-12-31 | 2015-04-29 | 安科智慧城市技术(中国)有限公司 | Image brightness controlling method, device and camera |
CN107257454A (en) * | 2017-06-29 | 2017-10-17 | 青岛海信电器股份有限公司 | A kind of method, device and the display device of image color skew |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109360229B (en) * | 2018-10-31 | 2020-11-17 | 歌尔光学科技有限公司 | Laser projection image processing method, device and equipment |
CN109360229A (en) * | 2018-10-31 | 2019-02-19 | 歌尔股份有限公司 | Laser projection image processing method, device and equipment |
CN109671399A (en) * | 2018-12-11 | 2019-04-23 | 惠科股份有限公司 | A kind of driving method of display module, drive system and display device |
CN109671399B (en) * | 2018-12-11 | 2020-08-18 | 惠科股份有限公司 | Driving method and driving system of display module and display device |
CN109785248A (en) * | 2018-12-19 | 2019-05-21 | 新绎健康科技有限公司 | One kind is for the corrected method and system of color of image |
CN109902587A (en) * | 2019-01-29 | 2019-06-18 | 维沃移动通信有限公司 | A kind of image processing method, device, mobile terminal and storage medium |
CN111861893A (en) * | 2019-04-24 | 2020-10-30 | 浙江宇视科技有限公司 | Method, system, equipment and computer medium for eliminating false color edge of image |
CN111861893B (en) * | 2019-04-24 | 2024-04-09 | 浙江宇视科技有限公司 | Method, system, equipment and computer medium for eliminating false color edges of image |
CN113763278A (en) * | 2021-09-10 | 2021-12-07 | 昆山丘钛微电子科技股份有限公司 | Image correction method and device |
CN116033133A (en) * | 2021-10-22 | 2023-04-28 | 广州视源电子科技股份有限公司 | Color correction method, storage medium and related device |
CN116033133B (en) * | 2021-10-22 | 2024-05-17 | 广州视源电子科技股份有限公司 | Color correction method, storage medium and related device |
CN117198220A (en) * | 2023-11-07 | 2023-12-08 | 惠科股份有限公司 | Driving method and device of display panel, display module and electronic equipment |
CN117198220B (en) * | 2023-11-07 | 2024-01-12 | 惠科股份有限公司 | Driving method and device of display panel, display module and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN107863060B (en) | 2021-03-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107863060A (en) | A kind of method and device of image color correction | |
CN110570380B (en) | Image processing method and device for electronic ink screen and electronic ink screen | |
US8983186B2 (en) | Method and system for auto-enhancing photographs with shadow lift adjustments | |
US7822272B2 (en) | Adaptive histogram equalization for images with strong local contrast | |
CN107221306A (en) | Method, device and the display device of brightness of image in correction splicing device screen | |
CN105574918B (en) | A kind of material adding method, device and the terminal of 3D models | |
CN101035190B (en) | Apparatus and method for color correction | |
CN103685850B (en) | Image processing method and image processing apparatus | |
US10937130B1 (en) | Image color enhancement method and device | |
CN107784993B (en) | Color gamut compression method and device and display equipment | |
CN104076928A (en) | Method for adjusting color tone of text display area | |
CN104103043B (en) | Spatial gamut mapping method | |
CN104935902A (en) | Image color enhancement method and device, and electronic equipment | |
CN108337496A (en) | White balancing treatment method, processing unit, processing equipment and storage medium | |
CN107564493A (en) | A kind of gamut compression method, apparatus and display device | |
CN105741815A (en) | Color gamut adjusting method and device of display screen | |
CN107862671A (en) | A kind of processing method of image, device and television set | |
CN110780961B (en) | Method for adjusting character color of application interface, storage medium and terminal equipment | |
CN107257454B (en) | A kind of method, apparatus and display equipment of image color offset | |
CN109377966B (en) | Display method, system and display device | |
CN107205142A (en) | A kind of method, device and the display device of image color skew | |
CN103761714A (en) | Color image enhancement method based on HIS color space | |
CN111524076B (en) | Image processing method, electronic device, and computer-readable storage medium | |
CN109461419B (en) | Display data processing method and system and display device | |
JP2009010636A (en) | Adaption histogram equalization method, and adaption histogram equalization apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218 Applicant after: Hisense Video Technology Co., Ltd Address before: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No. Applicant before: HISENSE ELECTRIC Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |