CN105225647B - Luminance regulating method and device - Google Patents

Luminance regulating method and device Download PDF

Info

Publication number
CN105225647B
CN105225647B CN201510671995.9A CN201510671995A CN105225647B CN 105225647 B CN105225647 B CN 105225647B CN 201510671995 A CN201510671995 A CN 201510671995A CN 105225647 B CN105225647 B CN 105225647B
Authority
CN
China
Prior art keywords
component
pixel information
pixel
brightness
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510671995.9A
Other languages
Chinese (zh)
Other versions
CN105225647A (en
Inventor
李国盛
刘安昱
杨晓星
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510671995.9A priority Critical patent/CN105225647B/en
Publication of CN105225647A publication Critical patent/CN105225647A/en
Application granted granted Critical
Publication of CN105225647B publication Critical patent/CN105225647B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The disclosure discloses a kind of luminance regulating method, belongs to field of liquid crystal display.The method includes:The first Pixel Information by pixel in primitive color space carries out the first transformation, obtains the second Pixel Information in hsv color space;Brightness V component in second Pixel Information is adjusted, the second Pixel Information after being adjusted;The second Pixel Information after adjustment is subjected to the second transformation, the first Pixel Information after being adjusted;It is shown according to the first Pixel Information after the adjustment of pixel;Solve in the related technology the R component for changing pixel in order to reduce display brightness, G components, B component gray value and the problem of seriously affect picture saturation degree;Reach when adjusting brightness, has retained chrominance component and saturation degree component by only changing the luminance component of pixel, to reach the very small effect of influence to image quality.

Description

Luminance regulating method and device
Technical field
This disclosure relates to field of liquid crystal display, more particularly to a kind of luminance regulating method and device.
Background technology
Mobile terminal is user most common electronic equipment, such as smart mobile phone, tablet computer etc..
When using mobile terminal at night, since environmental light brightness is relatively low, the display content of mobile terminal can be very dazzling. A kind of luminance regulating method is provided in the related technology, when environmental light brightness is relatively low, will show the R of each pixel in picture The gray value of (Red, red) colouring component, G (Green, green) colouring components and B (Blue, blue) colouring component is turned down according to predetermined policy, is made It must show that the brightness of picture is dimmed.But this luminance regulating method can seriously affect the saturation degree of display picture.
Invention content
Picture saturation degree is caused to change in order to solve the problems, such as to reduce display brightness, the disclosure provides a kind of brightness adjustment side Method.The technical solution is as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of luminance regulating method is provided, this method includes:
The first Pixel Information by pixel in primitive color space carries out the first transformation, obtains in hsv color space Second Pixel Information;
V (brightness) component in second Pixel Information of pixel is adjusted, the second pixel letter after being adjusted Breath;
The second Pixel Information after adjustment is subjected to the second transformation, the first Pixel Information after being adjusted;
It is shown according to the first Pixel Information after the adjustment of pixel.
Optionally, the V component in the second Pixel Information of pixel is adjusted, the second pixel letter after being adjusted Breath, including:
Obtain H (tone) component, S (saturation degree) components and the V component in the second Pixel Information of pixel;
Target V component corresponding with V component is searched in preset look-up table;
The second Pixel Information after adjustment is generated, the second Pixel Information after adjustment includes:H components, S components and target V Component.
Optionally, look-up table at least two, this method further include:
Obtain ambient light intensity;
According to ambient light intensity from least two look-up tables, this look-up table used is determined.
Optionally, the V component in the second Pixel Information of pixel is adjusted, the second pixel letter after being adjusted Breath, including:
Obtain H components, S components and the V component in the second Pixel Information of pixel;
V component is multiplied by pre-determined factor, obtains corresponding target V component;
The second Pixel Information after adjustment is generated, the second Pixel Information after adjustment includes:H components, S components and target V Component.
Optionally, pre-determined factor at least two, this method further include:
Obtain ambient light intensity;
According to ambient light intensity from least two pre-determined factors, this pre-determined factor used is determined.
According to the second aspect of the embodiment of the present disclosure, a kind of brightness adjusting device is provided, which includes:
First conversion module is configured as pixel carrying out the first change in first Pixel Information in primitive color space It changes, obtains the second Pixel Information in hsv color space;
Module is adjusted, the brightness V component being configured as in the second Pixel Information by pixel is adjusted, is adjusted The second Pixel Information afterwards;
Second conversion module is configured as the second Pixel Information after adjusting and carries out the second transformation, after being adjusted First Pixel Information;
Display module is configured as the first Pixel Information after the adjustment according to pixel and is shown.
Optionally, adjustment module includes:
Acquisition submodule is configured as obtaining tone H components, saturation degree S components in the second Pixel Information of pixel And V component;
Search submodule, be configured as look-up table in search corresponding with V component target V component;
Generation submodule, the second Pixel Information being configurable to generate after adjustment, the second Pixel Information after adjustment include: H components, S components and target V component.
Optionally, look-up table at least two, the device further include:
Acquisition module is configured as obtaining ambient light intensity;
First determining module is configured as according to ambient light intensity from least two look-up tables, determines this use Look-up table.
Optionally, adjustment module includes:
Acquisition submodule is configured as obtaining tone H components, saturation degree S components in the second Pixel Information of pixel And V component;
Computational submodule is configured as V component being multiplied by pre-determined factor, obtains corresponding target V component;
Generation submodule, the second Pixel Information being configurable to generate after adjustment, the second Pixel Information after adjustment include: H components, S components and target V component.
Optionally, pre-determined factor at least two, the device further include:
Acquisition module is configured as obtaining ambient light intensity;
Second determining module is configured as according to ambient light intensity from least two pre-determined factors, determines that this makes Pre-determined factor.
According to the third aspect of the embodiment of the present disclosure, a kind of brightness adjusting device is provided, which includes:
Display unit;
Memory for storage and display unit executable instruction;
Wherein, display unit is configured as:
The first Pixel Information by pixel in primitive color space carries out the first transformation, obtains in tone saturation degree brightness Second Pixel Information in hsv color space;
Brightness V component in second Pixel Information of pixel is adjusted, the second Pixel Information after being adjusted;
The second Pixel Information after adjustment is subjected to the second transformation, the first Pixel Information after being adjusted;
It is shown according to the first Pixel Information after the adjustment of pixel.
The technical scheme provided by this disclosed embodiment can include the following benefits:
It is obtained in hsv color space by the first transformation by the first Pixel Information by pixel in primitive color space The second Pixel Information, the V component in the second Pixel Information is adjusted, and by the second Pixel Information after adjustment by the The first Pixel Information after two transformation are adjusted is shown;It solves in the related technology to reduce display brightness, changes The R component of pixel, G components, B component gray value and the problem of seriously affect picture saturation degree;Reach in adjustment brightness When, only change the luminance component of pixel and retains chrominance component and saturation degree component, it is non-to reach influence to image quality Often small effect.
It should be understood that above general description and following detailed description is merely exemplary, this can not be limited It is open.
Description of the drawings
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and consistent with the instructions for explaining the principles of this disclosure.
Fig. 1 is a kind of flow chart of luminance regulating method shown according to an exemplary embodiment;
Fig. 2 is to show a kind of flow chart of luminance regulating method according to another exemplary embodiment;
Fig. 3 is to show a kind of flow chart of luminance regulating method according to another exemplary embodiment;
Fig. 4 is to show a kind of flow chart of luminance regulating method according to another exemplary embodiment;
Fig. 5 is to show a kind of flow chart of luminance regulating method according to another exemplary embodiment;
Fig. 6 is a kind of block diagram of brightness adjusting device shown according to an exemplary embodiment;
Fig. 7 is a kind of block diagram of the brightness adjusting device shown according to another exemplary embodiment;
Fig. 8 is a kind of block diagram of the brightness adjusting device shown according to another exemplary embodiment;
Fig. 9 is a kind of block diagram of the brightness adjusting device shown according to another exemplary embodiment;
Figure 10 is a kind of block diagram of the brightness adjusting device shown according to another exemplary embodiment;
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
The luminance regulating method that each embodiment of the disclosure is related to needs to obtain the picture of pixel in different colours space Prime information.Color space is also known as color model, color space or color system, be using a class value (usually using three, four A value or color component) indicate color approach abstract mathematical model.
By R, G and B, these three components are constituted RGB (Red, Green, Blue, RGB) color space, and R, G, B respectively have 256 Grade, value range are 0~1, by variation to tri- components of R, G, B and they between each other by the superposition of different proportion come Generate different colors.
HSV (Hue, Saturation, Value, the brightness of tone saturation degree) color space is the intuitive nature according to color A kind of color space created, by these three points of H (Hue, tone), S (Saturation, saturation degree) and V (Value, brightness) Amount is constituted.The value range of H components is 0 °~360 °, and the value range of S components is 0.0~1.0, and the value range of V component is 0 ~1, percentage measurement is usually used, from 0% (black)~100% (white).
The luminance regulating method that each embodiment of the disclosure provides, can be realized by the terminal with display screen.The end End can be smart mobile phone, smart television, tablet computer, E-book reader, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio level 4) player and knee Mo(u)ld top half pocket computer (camera, video camera) etc..
The luminance regulating method that each embodiment of the disclosure is provided can be executed by the display unit in terminal, this is aobvious Show that unit can be video-stream processor or DDIC (Display Driver Integrated Circuit, the integrated electricity of display driving Road).
Fig. 1 is a kind of flow chart of luminance regulating method shown according to an exemplary embodiment, as shown in Figure 1, this is bright It spends method of adjustment to be applied in above-mentioned implementation environment, include the following steps:
In a step 102, the first Pixel Information by pixel in primitive color space carries out the first transformation, obtains Second Pixel Information in hsv color space;
Optionally, primitive color space is RGB color.
At step 104, the V component in the second Pixel Information of pixel is adjusted, second after being adjusted Pixel Information;
In step 106, the second Pixel Information after adjustment is subjected to the second transformation, the first pixel letter after being adjusted Breath;
In step 108, it is shown according to the first Pixel Information after the adjustment of pixel.
In conclusion the luminance regulating method provided in the embodiment of the present disclosure, by by pixel in primitive color space The first Pixel Information by first transformation obtain the second Pixel Information in hsv color space, to the V in the second Pixel Information Component is adjusted, and first Pixel Information of the second Pixel Information after adjustment after the second transformation is adjusted is carried out Display;Solve in the related technology the R component for changing pixel in order to reduce display brightness, G components, B component gray value and The problem of seriously affecting picture saturation degree;Reach when adjusting brightness, has only changed the luminance component of pixel and retain tone Component and saturation degree component, to reach the very small effect of influence to image quality.
Fig. 2 is to show a kind of flow chart of luminance regulating method according to another exemplary embodiment, as shown in figure 3, this is bright Degree method of adjustment may comprise steps of:
In step 201, the first Pixel Information by pixel in primitive color space carries out the first transformation, obtains Second Pixel Information in hsv color space;
First Pixel Information of the terminal by the pixel in picture frame to be shown in primitive color space carries out first and becomes It changes, obtains the second Pixel Information in hsv color space.The same picture frame generally includes multiple pixels, such as 640*320 A pixel, 1080*720 pixel.
In general, primitive color space is RGB color, but it could also be possible that other color spaces.
The embodiment of the present disclosure is illustrated so that primitive color space is RGB color as an example, then:
First Pixel Information includes:Pixel is in the R component of RGB color, G components, B component;
Second Pixel Information includes:H component, S component, V component of the pixel in hsv color space.
The process of first transformation is as follows:
V=max
Wherein, R is the value of R component in the first Pixel Information, and G is the value of G components in the first Pixel Information, and B is the first picture The value of B component in prime information.H is the value of H components, and S is the value of S components, and V is the value of V component, the maximum in max R, G, B It is worth, the minimum value in min R, G, B.
Optionally, since V component shares 256 kinds of values that may be present, this 256 kinds of values that may be present are arranged. It is a kind of arrangement indicate mode be:According to this, 256 kinds of values that may be present are ascending is arranged, respectively with 0 rank, 1 255 rank of rank ... indicates, a V component value that may be present is corresponded to per single order, as shown in following table one:
Table one
Exponent number 0 rank 1 rank …… 254 ranks 255 ranks
V component 0 1/255 …… 254/255 1
It will be appreciated by persons skilled in the art that the step of arranging V component value that may be present is optional, And the content and form of table one is all exemplary, and facilitates subsequent step only for the value of V component to be indicated, the present embodiment This is not construed as limiting.
In step 202, H components, S components and the V component in the second Pixel Information of pixel are obtained;
Terminal obtains each pixel in picture frame to be shown according to the process of the first transformation in step 201 H components, S components in second Pixel Information and V component.
In step 203, target V component corresponding with V component is searched in preset look-up table;
Terminal searches target V component corresponding with V component in preset look-up table.Preset look-up table is one group of number Word, this group number includes 256 preset brightness datas, each preset brightness data is the value of a V component, by this 256 preset brightness datas are arranged.It is a kind of arrangement indicate mode be:According to this this 256 preset brightness data It is ascending to be arranged, it is indicated respectively with 0 rank, 1 rank ..., 255 rank, a preset brightness data is corresponded to per single order, searched Table can be corresponding with the table one in step 301, as shown in following table two:
Table two
Exponent number 0 rank 1 rank …… 254 ranks 255 ranks
Preset brightness data A0 A1 …… A254 A255
The embodiment of the present disclosure is not construed as limiting the specific value of preset brightness data A0, A1 ... A255, and the disclosure is real Example is applied also to be not construed as limiting the content and form of look-up table.
Preferably, the interval of the maximum value A255 in preset brightness data is (0,1), and every shown in table two The preset brightness data of single order is both less than the corresponding V component of identical exponent number shown in table one.
Terminal gets the V component in the second Pixel Information of pixel in step 202, and being determined by searching for table one should The corresponding exponent number of value of V component, is denoted as target order, is searched in preset look-up table corresponding with target order preset bright Degrees of data, target V component as corresponding with V component.
The present embodiment is illustrated so that the V component that gets is V=1 as an example, according to the V component look-up table one got, It determines as V=1, correspond to 255 ranks, then target order is 255 ranks, lookup and target order in preset look-up table The corresponding preset brightness data of 255 ranks is A255, it is determined that the value of target V component corresponding with V component is A255.It can Selection of land, A255 is a brightness value more lower than the brightness value that 255 ranks are given tacit consent to, to turn down display brightness.
In step 204, the second Pixel Information after adjustment is generated, the second Pixel Information after adjustment includes:H components, S Component and target V component;
Terminal by the second Pixel Information of the pixel got H components and S components retain it is constant, by V component into Row is adjusted to target V component, generates the second Pixel Information after adjustment, and the second Pixel Information after adjustment includes:H components, S point Amount and target V component.
Optionally, which is relative to the V component after original V component reduce brightness.
In step 205, the second Pixel Information after adjustment is subjected to the second transformation, the first pixel letter after being adjusted Breath;
The second Pixel Information after adjustment is carried out the second transformation, the first Pixel Information after being adjusted, adjustment by terminal The first Pixel Information afterwards includes:Target R component of the pixel in RGB color, target G components, target B component.
The process of second transformation is as follows:
P=V' × (1-S)
Q=V' × (1-f × S)
T=V' × (1- (1-f) × S)
Wherein hi, f, p, q, t indicate variable, no specific meanings.
Wherein, H is the value of the H components in the second Pixel Information, and S is the value of S components in the second Pixel Information, and V' is target The value of V component.
The value of the target R component in the first Pixel Information after indicating adjustment with r, g indicate the first pixel letter after adjustment The value of target G components in breath, b indicate the value of the target B component in the first Pixel Information after adjustment, then first after adjustment The set (r, g, b) of three component values is specially in Pixel Information:
In step 206, it is shown according to the first Pixel Information after the adjustment of pixel.
For each pixel in picture frame to be shown, terminal is believed according to the first pixel after the adjustment of the pixel The target R component of breath, target G components, target B component value the pixel is shown, to show final image Frame.
Optionally, in order to realize different grades of Night, the preset look-up table in step 203 is at least two, The brightness level difference that each look-up table can reduce, this method further include step as shown in Figure 3:
In a step 208, ambient light intensity is obtained;
Ambient light intensity of interval acquiring, ambient light intensity refer to that terminal is presently in environment to terminal at predetermined time intervals In intensity of illumination.Optionally, ambient light intensity is by being arranged preposition light intensity sensor acquisition in the terminal.
The embodiment of the present disclosure is not construed as limiting predetermined time interval, and the mode to obtaining ambient light intensity is also not construed as limiting.
In step 209, according to ambient light intensity from least two look-up tables, this look-up table used is determined.
There is correspondences, an ambient light intensity to correspond to a look-up table between ambient light intensity and look-up table, But a look-up table can correspond to multiple ambient light intensities.In general, ambient light intensity is divided into multiple intensity intervals, Mei Geqiang It is corresponding with a look-up table to spend section.
Terminal determines that look-up table corresponding with ambient light intensity at this time uses for this according to the ambient light intensity got Look-up table.
Optionally, the correspondence of ambient light intensity and look-up table can be preset by terminal, can also be set by the user, The embodiment of the present disclosure is not construed as limiting this.
It optionally, can also be by manually selecting the look-up table for determining that this is used.
Above-mentioned steps 208 and 209 need to complete before step 203, and the embodiment of the present disclosure is to step 208 and step 209 execution opportunity is not construed as limiting.
In other alternative embodiments based on embodiment shown in Fig. 2, step 203 can be embodied as step by replacement 203a, as shown in Figure 4:
In step 203, V component is multiplied by pre-determined factor, obtains corresponding target V component.
The pixel got in step 202 is multiplied by pre-determined factor by terminal, obtains corresponding target V component, the disclosure Embodiment is not construed as limiting the specific value of pre-determined factor.
Optionally, the interval of pre-determined factor is (0,1).
Optionally, in order to realize different grades of Night, the pre-determined factor in step 203a is at least two, each Brightness degree that pre-determined factor can reduce is different, which further includes step as shown in Figure 6:
In step 210, ambient light intensity is obtained;
Ambient light intensity of interval acquiring, ambient light intensity refer to that terminal is presently in environment to terminal at predetermined time intervals In intensity of illumination.Optionally, ambient light intensity is by being arranged preposition light intensity sensor acquisition in the terminal.
The embodiment of the present disclosure is not construed as limiting predetermined time interval, and the mode to obtaining ambient light intensity is also not construed as limiting.
In step 211, according to ambient light intensity from least two pre-determined factors, this predetermined system used is determined Number.
There is correspondence between ambient light intensity and pre-determined factor, an ambient light intensity corresponds to a predetermined system Number, but a pre-determined factor can correspond to multiple ambient light intensities.In general, ambient light intensity is divided into multiple intensity intervals, Each intensity interval is corresponding with a reservation system.
Terminal determines that pre-determined factor corresponding with ambient light intensity at this time makes for this according to the ambient light intensity got Pre-determined factor.
Optionally, ambient light intensity and the correspondence of pre-determined factor can be preset by terminal, can also be set by user Fixed, the embodiment of the present disclosure is not construed as limiting this, and the embodiment of the present disclosure is also not construed as limiting the form of correspondence.
It optionally, can also be by manually selecting the pre-determined factor for determining that this is used.
Above-mentioned steps 210 and 211 need to complete before step 203a, and the embodiment of the present disclosure is to step step 210 Execution opportunity with 211 is not construed as limiting.
Method shown in the embodiment of the present disclosure is based on for 8 plane plates, then its each component in RGB color In the interior totally 256 possible values of value range (0,1).
Optionally, method shown in the embodiment of the present disclosure can be also used for 10 plane plates or the panel of other digits, at this point, There are each component in RGB color more values, the present embodiment to be repeated no more to this.
In conclusion the luminance regulating method provided in the embodiment of the present disclosure, by by pixel in primitive color space The first Pixel Information by first transformation obtain the second Pixel Information in hsv color space, to the V in the second Pixel Information Component is adjusted, and first Pixel Information of the second Pixel Information after adjustment after the second transformation is adjusted is carried out Display;Solve in the related technology the R component for changing pixel in order to reduce display brightness, G components, B component gray value and The problem of seriously affecting picture saturation degree;Reach when adjusting brightness, has only changed the luminance component of pixel and retain tone Component and saturation degree component, to reach the very small effect of influence to image quality.
Following is embodiment of the present disclosure, can be used for executing embodiments of the present disclosure.It is real for disclosure device Undisclosed details in example is applied, embodiments of the present disclosure is please referred to.
Fig. 6 is a kind of block diagram of brightness adjusting device shown according to an exemplary embodiment, as shown in fig. 6, the device Including but not limited to:
First conversion module 610 is configured as pixel carrying out first in first Pixel Information in primitive color space Transformation, obtains the second Pixel Information in tone saturation degree brightness hsv color space;
Module 620 is adjusted, the brightness V component being configured as in the second Pixel Information by pixel is adjusted, obtains The second Pixel Information after adjustment;
Second conversion module 630 is configured as the second Pixel Information after adjusting and carries out the second transformation, after being adjusted The first Pixel Information;
Display module 640 is configured as the first Pixel Information after the adjustment according to pixel and is shown.
In conclusion the brightness adjusting device provided in the embodiment of the present disclosure, by by pixel in primitive color space The first Pixel Information by first transformation obtain the second Pixel Information in hsv color space, to the V in the second Pixel Information Component is adjusted, and first Pixel Information of the second Pixel Information after adjustment after the second transformation is adjusted is carried out Display;Solve in the related technology the R component for changing pixel in order to reduce display brightness, G components, B component gray value and The problem of seriously affecting picture saturation degree;Reach when adjusting brightness, has only changed the luminance component of pixel and retain tone Component and saturation degree component, to reach the very small effect of influence to image quality.
Fig. 7 is a kind of block diagram of the brightness adjusting device shown according to another exemplary embodiment, as shown in fig. 7, this is bright It spends adjusting apparatus to be applied in liquid crystal display drive circuit shown in FIG. 1, which includes but not limited to:
First conversion module 710 is configured as pixel carrying out first in first Pixel Information in primitive color space Transformation, obtains the second Pixel Information in hsv color space;
Module 720 is adjusted, the V component being configured as in the second Pixel Information by pixel is adjusted, is adjusted The second Pixel Information afterwards.Optionally, adjustment module 720 includes following submodule:
Acquisition submodule 721 is configured as obtaining the tone H components in the second Pixel Information of pixel, saturation degree S divides Amount and V component;
Submodule 722 is searched, is configured as searching target V component corresponding with V component in preset look-up table;
Submodule 724 is generated, the second Pixel Information being configurable to generate after adjustment, the second Pixel Information packet after adjustment It includes:H components, S components and target V component.
Second conversion module 730 is configured as the second Pixel Information after adjusting and carries out the second transformation, after being adjusted The first Pixel Information;
Display module 740 is configured as the first Pixel Information after the adjustment according to pixel and is shown.
Optionally, as shown in figure 8, the device further includes:
Acquisition module 750 is configured as obtaining ambient light intensity;
First determining module 760, be configured as when preset look-up table be at least two when, then according to ambient light intensity from In at least two look-up tables, this look-up table used is determined;
Optionally, searching submodule 722 can be also embodied as by replacement:
Computational submodule 723 is configured as V component being multiplied by pre-determined factor, obtains corresponding target V component.
Optionally, as shown in figure 9, the device further includes:
Acquisition module 750 is configured as obtaining ambient light intensity;
Second determining module 770 is configured as when pre-determined factor is at least two, then according to ambient light intensity from least In two pre-determined factors, this pre-determined factor used is determined.
In conclusion the brightness adjusting device provided in the embodiment of the present disclosure, by by pixel in primitive color space The first Pixel Information by first transformation obtain the second Pixel Information in hsv color space, to the V in the second Pixel Information Component is adjusted, and first Pixel Information of the second Pixel Information after adjustment after the second transformation is adjusted is carried out Display;Solve in the related technology the R component for changing pixel in order to reduce display brightness, G components, B component gray value and The problem of seriously affecting picture saturation degree;Reach when adjusting brightness, has only changed the luminance component of pixel and retain tone Component and saturation degree component, to reach the very small effect of influence to image quality.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
One exemplary embodiment of the disclosure provides a kind of brightness adjusting device, can realize the brightness tune that the disclosure provides Adjusting method, the device include:Display unit, for the memory of storage and display unit executable instruction;
Wherein, display unit is configured as:
The first Pixel Information by pixel in primitive color space carries out the first transformation, obtains in tone saturation degree brightness Second Pixel Information in hsv color space;
Brightness V component in second Pixel Information of pixel is adjusted, the second Pixel Information after being adjusted;
The second Pixel Information after adjustment is subjected to the second transformation, the first Pixel Information after being adjusted;
It is shown according to the first Pixel Information after the adjustment of pixel.
Optionally, display unit is configured as:
Obtain tone H components, saturation degree S components and the V component in the second Pixel Information of pixel;
Target V component corresponding with V component is searched in preset look-up table;
The second Pixel Information after adjustment is generated, the second Pixel Information after adjustment includes:H components, S components and target V Component.
Optionally, display unit is configured as:
Obtain ambient light intensity;
According to ambient light intensity from least two look-up tables, this look-up table used is determined.
Optionally, display unit is configured as:
Obtain tone H components, saturation degree S components and the V component in the second Pixel Information of pixel;
V component is multiplied by pre-determined factor, obtains corresponding target V component;
The second Pixel Information after adjustment is generated, the second Pixel Information after adjustment includes:H components, S components and target V Component.
Optionally, display unit is configured as:
Obtain ambient light intensity;
According to ambient light intensity from least two pre-determined factors, this pre-determined factor used is determined.
Figure 10 is a kind of block diagram of brightness adjusting device shown according to an exemplary embodiment.For example, device 1000 can To be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices are good for Body equipment, personal digital assistant etc..
Referring to Fig.1 0, device 1000 may include following one or more components:Processing component 1002, memory 1004, Power supply module 1006, multimedia component 1008, audio component 1010, input/output (I/O) interface 1012, sensor module 1014 and communication component 1016.
The integrated operation of 1002 usual control device 1000 of processing component, such as with display, call, data communication, Camera operation and record operate associated operation.Processing component 1002 may include one or more processors 1018 to execute Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1002 may include one or more moulds Block, convenient for the interaction between processing component 1002 and other assemblies.For example, processing component 1002 may include multi-media module, To facilitate the interaction between multimedia component 1008 and processing component 1002.
Memory 1004 is configured as storing various types of data to support the operation in device 1000.These data Example includes the instruction for any application program or method that are operated on device 1000, contact data, telephone book data, Message, picture, video etc..Memory 1004 can by any kind of volatibility or non-volatile memory device or they Combination is realized, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can Program read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory Reservoir, disk or CD.
Power supply module 1006 provides electric power for the various assemblies of device 1000.Power supply module 1006 may include power management System, one or more power supplys and other generated with for device 1000, management and the associated component of distribution electric power.
Multimedia component 1008 is included in the screen of one output interface of offer between device 1000 and user.At some In embodiment, screen may include display unit, liquid crystal display (LCD) and touch panel (TP).Display unit can be aobvious Show that processor or DDIC, liquid crystal display are connected with display unit.If screen includes touch panel, screen may be implemented as Touch screen, to receive input signal from the user.Touch panel includes one or more touch sensors to sense touch, cunning Gesture on dynamic and touch panel.Touch sensor can not only sense the boundary of a touch or slide action, but also detect with Touch or the relevant duration and pressure of slide.In some embodiments, multimedia component 1008 includes one preposition Camera and/or rear camera.When device 1000 is in operation mode, when such as screening-mode or video mode, preposition camera shooting Head and/or rear camera can receive external multi-medium data.Each front camera and rear camera can be one A fixed optical lens system has focusing and optical zoom capabilities.
Audio component 1010 is configured as output and/or input audio signal.For example, audio component 1010 includes a wheat Gram wind (MIC), when device 1000 is in operation mode, when such as call model, logging mode and speech recognition mode, microphone quilt It is configured to receive external audio signal.The received audio signal can be further stored in memory 1004 or via communication Component 1016 is sent.In some embodiments, audio component 1010 further includes a loud speaker, is used for exports audio signal.
I/O interfaces 1012 provide interface, above-mentioned peripheral interface module between processing component 1002 and peripheral interface module Can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and Locking press button.
Sensor module 1014 includes one or more sensors, and the state for providing various aspects for device 1000 is commented Estimate.For example, sensor module 1014 can detect the state that opens/closes of device 1000, the relative positioning of component, such as group Part is the display and keypad of device 1000, and sensor module 1014 can be with 1,000 1 groups of detection device 1000 or device The position change of part, the existence or non-existence that user contacts with device 1000,1000 orientation of device or acceleration/deceleration and device 1000 temperature change.Sensor module 1014 may include proximity sensor, be configured to connect in not any physics It is detected the presence of nearby objects when tactile.Sensor module 1014 can also include optical sensor, as CMOS or ccd image are sensed Device, for being used in imaging applications.In some embodiments, which can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1016 is configured to facilitate the communication of wired or wireless way between device 1000 and other equipment.Dress The wireless network based on communication standard, such as Wi-Fi can be accessed by setting 1000,2G or 3G or combination thereof.It is exemplary at one In embodiment, communication component 1016 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, communication component 1016 further includes near-field communication (NFC) module, to promote short range communication. For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) skill can be based in NFC module Art, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1000 can be by one or more application application-specific integrated circuit (ASIC), number Signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing above-mentioned luminance regulating method.
In the exemplary embodiment, it includes the non-transitorycomputer readable storage medium instructed, example to additionally provide a kind of Such as include the memory 1004 of instruction, above-metioned instruction can be executed by the processor 1018 of device 1000 to complete above-mentioned brightness adjustment Method.For example, non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, magnetic Band, floppy disk and optical data storage devices etc..
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and includes the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (5)

1. a kind of luminance regulating method, which is characterized in that the method includes:
The first Pixel Information by pixel in primitive color space carries out the first transformation, obtains in tone saturation degree brightness HSV Second Pixel Information of color space;
Obtain tone H components, saturation degree S components and the brightness V component in second Pixel Information of the pixel;
Target V component corresponding with the V component is searched in preset look-up table, the look-up table is set of number, described Set of number includes 256 preset brightness datas, each described preset brightness data is the value of a V component, 256 preset ascending arrangements of brightness data, are indicated with 256 ranks respectively, and per single order, correspondence one is described preset Brightness data, the target V component be according to the corresponding target order of the V component, found in the look-up table with The corresponding preset brightness data of the target order, the target V component are reduced relative to the original V component V component after brightness;
Second Pixel Information after adjustment is generated, second Pixel Information after adjustment includes:The H components, the S Component and the target V component;
Second Pixel Information after adjustment is subjected to the second transformation, the first Pixel Information after being adjusted;
It is shown according to the first Pixel Information after the adjustment of the pixel.
2. according to the method described in claim 1, it is characterized in that, the look-up table is at least two, the method further includes:
Obtain ambient light intensity;
According to the ambient light intensity from least two look-up tables, this look-up table used is determined.
3. a kind of brightness adjusting device, which is characterized in that described device includes:
First conversion module is configured as pixel carrying out the first transformation in first Pixel Information in primitive color space, obtain To the second Pixel Information in tone saturation degree brightness hsv color space;
Module is adjusted, including:Acquisition submodule searches submodule and generates submodule;
The acquisition submodule is configured as obtaining the tone H components in second Pixel Information of the pixel, is saturated Spend S components and brightness V component;
The lookup submodule is configured as searching target V component corresponding with the V component, institute in preset look-up table It is set of number to state look-up table, and the set of number includes 256 preset brightness datas, each described preset brightness number According to the value for a V component, 256 preset ascending arrangements of brightness data are indicated with 256 ranks, often respectively Single order correspond to a preset brightness data, the target V component be according to the corresponding target order of the V component, The preset brightness data corresponding with the target order found in the look-up table, the target V component is phase For the V component after the original V component reduce brightness;
The generation submodule, second Pixel Information being configurable to generate after adjustment, second pixel after adjustment Information includes:The H components, the S components and the target V component;
Second conversion module is configured as second Pixel Information after adjusting and carries out the second transformation, after being adjusted First Pixel Information;
Display module is configured as the first Pixel Information after the adjustment according to the pixel and is shown.
4. device according to claim 3, which is characterized in that the look-up table is at least two, and described device further includes:
Acquisition module is configured as obtaining ambient light intensity;
First determining module is configured as according to the ambient light intensity from least two look-up tables, is determined described Search submodule this described look-up table for using.
5. a kind of brightness adjusting device, which is characterized in that described device includes:
Display unit;
Memory for storing the display unit executable instruction;
Wherein, the display unit is configured as:
The first Pixel Information by pixel in primitive color space carries out the first transformation, obtains in tone saturation degree brightness HSV Second Pixel Information of color space;
Obtain tone H components, saturation degree S components and the brightness V component in second Pixel Information of the pixel;
Target V component corresponding with the V component is searched in preset look-up table, the look-up table is set of number, described Set of number includes 256 preset brightness datas, each described preset brightness data is the value of a V component, 256 preset ascending arrangements of brightness data, are indicated with 256 ranks respectively, and per single order, correspondence one is described preset Brightness data, the target V component be according to the corresponding target order of the V component, found in the look-up table with The corresponding preset brightness data of the target order, the target V component are reduced relative to the original V component V component after brightness;
Second Pixel Information after adjustment is generated, second Pixel Information after adjustment includes:The H components, the S Component and the target V component;
Second Pixel Information after adjustment is subjected to the second transformation, the first Pixel Information after being adjusted;
It is shown according to the first Pixel Information after the adjustment of the pixel.
CN201510671995.9A 2015-10-15 2015-10-15 Luminance regulating method and device Active CN105225647B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510671995.9A CN105225647B (en) 2015-10-15 2015-10-15 Luminance regulating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510671995.9A CN105225647B (en) 2015-10-15 2015-10-15 Luminance regulating method and device

Publications (2)

Publication Number Publication Date
CN105225647A CN105225647A (en) 2016-01-06
CN105225647B true CN105225647B (en) 2018-09-18

Family

ID=54994558

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510671995.9A Active CN105225647B (en) 2015-10-15 2015-10-15 Luminance regulating method and device

Country Status (1)

Country Link
CN (1) CN105225647B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105704464A (en) * 2016-01-18 2016-06-22 安徽工程大学 Color space transformation method based on FPGA
CN106855997A (en) * 2016-11-30 2017-06-16 努比亚技术有限公司 The processing method and processing device of picture
CN108510948A (en) * 2017-02-28 2018-09-07 昆山国显光电有限公司 Active display and its control method
CN107087119B (en) * 2017-06-02 2020-06-26 奇酷互联网络科技(深圳)有限公司 Method and device for adjusting exposure and electronic equipment
CN107491161B (en) * 2017-09-25 2020-04-07 深圳市华星光电半导体显示技术有限公司 Energy-saving method and system for display
CN107885435A (en) * 2017-11-27 2018-04-06 深圳市金立通信设备有限公司 A kind of display control method, terminal and computer-readable medium
CN108563414A (en) * 2018-03-20 2018-09-21 广东乐芯智能科技有限公司 A kind of watch displays luminance regulating method
CN109256100B (en) 2018-09-30 2020-10-16 惠科股份有限公司 Driving method and driving system of display panel
CN109472839B (en) * 2018-10-26 2023-10-13 Oppo广东移动通信有限公司 Image generation method and device, computer equipment and computer storage medium
CN110648373B (en) * 2019-09-16 2022-04-15 紫光展讯通信(惠州)有限公司 Image processing method and device
CN110689860B (en) * 2019-09-29 2021-02-05 京东方科技集团股份有限公司 Image representation method, device and computer storage medium
CN112992043B (en) * 2019-11-29 2022-04-12 深圳市大族元亨光电股份有限公司 Display screen brightness adjusting method and display screen brightness adjusting system
CN111311711B (en) * 2020-02-16 2023-03-31 拉扎斯网络科技(上海)有限公司 Image processing method, image processing device, electronic equipment and computer readable storage medium
CN112969088A (en) * 2021-02-01 2021-06-15 维沃移动通信有限公司 Screen projection control method and device, electronic equipment and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009302906A (en) * 2008-06-13 2009-12-24 Seiko Epson Corp Image processor, integrated circuit device, and electronic appliance
CN101866641A (en) * 2010-03-09 2010-10-20 华映视讯(吴江)有限公司 The color adjustment method of image
CN102810306A (en) * 2012-07-26 2012-12-05 广东欧珀移动通信有限公司 Method for automatically controlling brightness of display screen wallpaper
CN103400566A (en) * 2012-07-18 2013-11-20 京东方科技集团股份有限公司 Method and system for processing RGB (Red, Green, Blue) data
CN103974051A (en) * 2013-01-29 2014-08-06 晨星半导体股份有限公司 Image processing device and image processing method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101329125B1 (en) * 2007-08-13 2013-11-14 삼성전자주식회사 Rgb to rgbw color decomposition method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009302906A (en) * 2008-06-13 2009-12-24 Seiko Epson Corp Image processor, integrated circuit device, and electronic appliance
CN101866641A (en) * 2010-03-09 2010-10-20 华映视讯(吴江)有限公司 The color adjustment method of image
CN103400566A (en) * 2012-07-18 2013-11-20 京东方科技集团股份有限公司 Method and system for processing RGB (Red, Green, Blue) data
CN102810306A (en) * 2012-07-26 2012-12-05 广东欧珀移动通信有限公司 Method for automatically controlling brightness of display screen wallpaper
CN103974051A (en) * 2013-01-29 2014-08-06 晨星半导体股份有限公司 Image processing device and image processing method

Also Published As

Publication number Publication date
CN105225647A (en) 2016-01-06

Similar Documents

Publication Publication Date Title
CN105225647B (en) Luminance regulating method and device
CN107230182B (en) Image processing method and device and storage medium
CN107293265B (en) Display screen picture adjusting method, display terminal and readable storage medium
CN105070252B (en) Reduce the method and device of display brightness
CN104601971B (en) Color adjustment method and device
CN111416950A (en) Video processing method and device, storage medium and electronic equipment
CN104614886B (en) Color adjustment method, device and liquid crystal display
RU2704724C1 (en) Method and device for displaying an image of an interface
CN107978264A (en) Display brightness method of adjustment and device
US20170140713A1 (en) Liquid crystal display method, device, and storage medium
CN104934016B (en) Screen display method and device
CN101290757A (en) Portable electronic device with dynamically tunable backlight and dynamically tuning method thereof
CN117079610A (en) Display device and adjustment method thereof
CN111462701A (en) Backlight brightness adjusting method and device
CN108735183A (en) Brightness of display screen method of adjustment and Related product
CN105791790B (en) Image processing method and device
CN105469357A (en) Image processing method and device, and terminal
CN105957037A (en) Image enhancing method and image enhancing device
CN109544441B (en) Image processing method and device, and skin color processing method and device in live broadcast
CN105488819B (en) Generation method, image processing method and the device of color template
CN105472228B (en) Image processing method and device and terminal
CN104536713B (en) Method and device for displaying characters in image
CN108184103A (en) The method and apparatus for showing image
CN112463275A (en) Data processing method, terminal and storage medium
CN106775548A (en) page processing method and device

Legal Events

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