CN105426079A - Picture brightness adjustment method and apparatus - Google Patents

Picture brightness adjustment method and apparatus Download PDF

Info

Publication number
CN105426079A
CN105426079A CN201510834141.8A CN201510834141A CN105426079A CN 105426079 A CN105426079 A CN 105426079A CN 201510834141 A CN201510834141 A CN 201510834141A CN 105426079 A CN105426079 A CN 105426079A
Authority
CN
China
Prior art keywords
picture
adjusted
pixel
brightness value
region
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
Application number
CN201510834141.8A
Other languages
Chinese (zh)
Other versions
CN105426079B (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.)
Beijing Xiaomi Technology Co Ltd
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 CN201510834141.8A priority Critical patent/CN105426079B/en
Publication of CN105426079A publication Critical patent/CN105426079A/en
Application granted granted Critical
Publication of CN105426079B publication Critical patent/CN105426079B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/90Dynamic range modification of images or parts thereof
    • G06T5/94Dynamic range modification of images or parts thereof based on local image properties, e.g. for local contrast enhancement

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention relates to a picture brightness adjustment method and apparatus. The picture brightness adjustment method comprises: obtaining a to-be-adjusted picture; determining regions with brightness values greater than a preset threshold in the to-be-adjusted picture; and for each determined region, identifying a graph of a current region, generating a coverage graph with the same shape as the graph according to the graph, and covering the current region with the coverage graph to reduce the brightness of the current region. According to embodiments of the invention, the regions with the brightness values greater than the preset threshold in the to-be-adjusted picture are determined, and the coverage graph with the same shape as the determined region is generated and covers the current region, so that the brightness of the current region is reduced and the stimulation of light to eyes is effectively reduced; and a user is not required to manually modify picture configuration in the whole realization process, so that the realization is simple.

Description

The method of adjustment of picture luminance and device
Technical field
The disclosure relates to picture Processing Technique field, particularly relates to a kind of method of adjustment and device of picture luminance.
Background technology
Along with the fast development of science and technology, there is various intelligent electronic device, these intelligent electronic devices liking deeply by user.Some user likes using intelligent electronic device at leisure time, and some user has not turn on light before sleeping at night and uses the custom of mobile phone or panel computer (PAD).But night uses electronic equipment for a long time, can cause eyes uncomfortable, even cause eye disease, eyesight to descend degradation problem fast.
At present, some device systems, application program can provide " Night " for user, in such a mode, can by the brightness adjustment of application interface to darker state, effectively can reduce light like this stimulates, and contributes to alleviating ophthalmic uncomfortable.But nonetheless, some picture color is bright-coloured, eyes still can be caused uncomfortable.
In order to adjust picture luminance, picture editor's modify feature that user provides by photo-editing software, the manually various numerical value of adjustment picture, the effect reaching user to make picture and want.
But this mode needs picture to be loaded in photo-editing software, then manual modification picture configuration, complex operation.
Summary of the invention
Disclosure embodiment provides a kind of method of adjustment and device of picture luminance, configures in order to solve manual modification picture the complex operation problem caused.
According to the first aspect of disclosure embodiment, a kind of method of adjustment of picture luminance is provided, comprises:
Obtain picture to be adjusted;
Determine that in described picture to be adjusted, brightness value is greater than the region of predetermined threshold value;
For each region determined, identify the figure of current region, the cover graphics identical according to described graphic hotsopt shape, and described cover graphics is covered on described current region, to reduce the brightness of described current region.
In one embodiment, describedly determine that in described picture to be adjusted, brightness value is greater than the region of predetermined threshold value, comprising:
Read described picture to be adjusted parameter information under the current model and the screen parameter of present terminal;
Calculate the brightness value of each pixel of described picture to be adjusted according to the described parameter information read and described screen parameter, and preserve positional information and the brightness value thereof of described each pixel;
Filter out the pixel that brightness value is greater than described predetermined threshold value, and determine described region according to the positional information of the pixel filtered out.
In one embodiment, described reading described picture to be adjusted parameter information under the current model and the screen parameter of present terminal, comprising:
Read the intensity level that the color value of described picture to be adjusted transparence value under the current model, the screen brightness value of described present terminal and each pixel of described picture to be adjusted is corresponding.
In one embodiment, the described described parameter information according to reading and described screen parameter calculate the brightness value of each pixel of described picture to be adjusted, comprising:
Use described transparence value divided by intensity level corresponding to the color value of described each pixel, obtain the first result of calculation;
Described first result of calculation is multiplied by described screen brightness value, obtains the brightness value of described each pixel.
In one embodiment, the brightness value of described cover graphics is lower than predetermined luminance value.
In one embodiment, described method also comprises:
Described described cover graphics is covered on described current region after, showing described picture to be adjusted, described picture to be adjusted is provided with mark, is processed picture to point out picture to be adjusted described in user.
In one embodiment, described method also comprises:
After the described picture to be adjusted of described display, display reminding information, switches display original image to point out described user by triggering described mark;
Receive user to the trigger action of described mark, and show the original image of described picture to be adjusted according to described trigger action.
According to the second aspect of disclosure embodiment, a kind of adjusting gear of picture luminance is provided, comprises:
Acquisition module, is configured to obtain picture to be adjusted;
Determination module, is configured to determine that in the picture described to be adjusted that described acquisition module obtains, brightness value is greater than the region of predetermined threshold value;
Identify and generate overlay module, be configured to each region determined for described determination module, identify the figure of current region, the cover graphics identical according to described graphic hotsopt shape, and described cover graphics is covered on described current region, to reduce the brightness of described current region.
In one embodiment, described determination module comprises:
Reading submodule, is configured to read described picture to be adjusted parameter information under the current model and the screen parameter of present terminal;
Calculate and preserve submodule, be configured to the brightness value of described parameter information and each pixel of the described screen parameter described picture to be adjusted of calculating read according to described reading submodule, and preserve positional information and the brightness value thereof of described each pixel;
Submodule is determined in screening, is configured to filter out the described pixel calculating the brightness value preserving submodule preservation and be greater than described predetermined threshold value, and determines described region according to the positional information of the pixel filtered out.
In one embodiment, described reading submodule, is configured to read the intensity level that the color value of described picture to be adjusted transparence value under the current model, the screen brightness value of described present terminal and each pixel of described picture to be adjusted is corresponding.
In one embodiment, described calculating preservation submodule comprises:
First computing unit, is configured to use described transparence value divided by intensity level corresponding to the color value of described each pixel, obtains the first result of calculation;
Second computing unit, described first result of calculation be configured to described first computing unit obtains is multiplied by described screen brightness value, obtains the brightness value of described each pixel.
In one embodiment, the brightness value of described cover graphics is lower than predetermined luminance value.
In one embodiment, described device also comprises:
First display module, be configured to after described cover graphics covers on described current region by described identification generation overlay module, showing described picture to be adjusted, described picture to be adjusted is provided with mark, is processed picture to point out picture to be adjusted described in user.
In one embodiment, described device also comprises:
Second display module, is configured to after the described picture to be adjusted of described first display module display, display reminding information, switches display original image to point out described user by triggering described mark;
Receive display module, be configured to receive user to the trigger action of described mark, and show the original image of described picture to be adjusted according to described trigger action.
According to the third aspect of disclosure embodiment, a kind of adjusting gear of picture luminance is provided, comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, processor is configured to:
Obtain picture to be adjusted;
Determine that in described picture to be adjusted, brightness value is greater than the region of predetermined threshold value;
For each region determined, identify the figure of current region, the cover graphics identical according to described graphic hotsopt shape, and described cover graphics is covered on described current region, to reduce the brightness of described current region.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: by determining that in picture to be adjusted, brightness value is greater than the region of predetermined threshold value, and generate the overlay image identical with determined region shape, then cover graphics is covered on current region, reduce the brightness of current region, effectively reduce the stimulation of light to eyes, whole implementation procedure does not need user's manual modification picture to configure, and realizes simple.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows embodiment according to the invention, and is used from instructions one and explains principle of the present invention.
Fig. 1 is the process flow diagram of the method for adjustment of a kind of picture luminance according to an exemplary embodiment.
Fig. 2 is that a kind of according to an exemplary embodiment determines that in picture to be adjusted, brightness value is greater than the process flow diagram in the region of predetermined threshold value.
Fig. 3 is the process flow diagram of the method for adjustment of another kind of picture luminance according to an exemplary embodiment.
Fig. 4 is the block diagram of the adjusting gear of a kind of picture luminance according to an exemplary embodiment.
Fig. 5 is the block diagram of the adjusting gear of another kind of picture luminance according to an exemplary embodiment.
Fig. 6 is the block diagram of the adjusting gear of another kind of picture luminance according to an exemplary embodiment.
Fig. 7 is the block diagram of the adjusting gear of another kind of picture luminance according to an exemplary embodiment.
Fig. 8 is a kind of block diagram being applicable to the adjusting gear of picture luminance according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the present invention.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present invention are consistent.
Fig. 1 is the process flow diagram of the method for adjustment of a kind of picture luminance according to an exemplary embodiment, as shown in Figure 1, the method of adjustment of this picture luminance can be applicable on electronic equipment, this electronic equipment can including, but not limited to equipment such as mobile phone, panel computers (PAD), and the method comprises the following steps S101-S103:
In step S101, obtain picture to be adjusted.
In this embodiment, electronic equipment can obtain picture to be adjusted in several ways, such as, can load picture to be adjusted from network, also from this map office, directly can read picture to be adjusted.
In step s 102, determine that in picture to be adjusted, brightness value is greater than the region of predetermined threshold value.
In this embodiment, the brightness value of each pixel of picture to be adjusted can be calculated, and preserve positional information and the brightness value thereof of each pixel, then filter out the pixel that brightness value is greater than predetermined threshold value, and determine that brightness value is greater than the region of predetermined threshold value according to the positional information of the pixel filtered out.
In step s 103, for each region determined, identify the figure of current region, the cover graphics identical according to graphic hotsopt shape, and cover graphics is covered on current region, to reduce the brightness of current region.
In this embodiment, after determining that brightness value is greater than the region of predetermined threshold value, the figure in each region can be identified, and the cover graphics identical according to the graphic hotsopt shape in each region, then cover graphics is covered on corresponding region, because the brightness value of cover graphics is lower than predetermined luminance value, namely cover graphics is the dark images that shape is identical, therefore can reduce the brightness of corresponding region.
The method of adjustment embodiment of above-mentioned picture luminance, by determining that in picture to be adjusted, brightness value is greater than the region of predetermined threshold value, and generate the overlay image identical with determined region shape, then cover graphics is covered on current region, reduce the brightness of current region, effectively reduce the stimulation of light to eyes, whole implementation procedure does not need user's manual modification picture to configure, and realizes simple.
Fig. 2 is that a kind of according to an exemplary embodiment determines that in picture to be adjusted, brightness value is greater than the process flow diagram in the region of predetermined threshold value, and as shown in Figure 2, this process comprises:
In step s 201, picture to be adjusted parameter information under the current model and the screen parameter of present terminal is read.
In this embodiment, intensity level corresponding to the color value of picture to be adjusted transparence value under the current model, the screen brightness value of present terminal and each pixel of picture to be adjusted is read in opening.
In step S202, calculate the brightness value of each pixel of picture to be adjusted according to the parameter information read and screen parameter, and preserve positional information and the brightness value thereof of each pixel.
In this embodiment, can comprise according to the brightness value that the parameter information read and screen parameter calculate each pixel of picture to be adjusted: use transparence value divided by intensity level corresponding to the color value of each pixel, obtain the first result of calculation; First result of calculation is multiplied by screen brightness value, obtains the brightness value of each pixel.
Suppose, picture to be adjusted transparence value is under the current model labeled as T, the screen brightness value of present terminal is labeled as B, intensity level corresponding for the color value of each for picture to be adjusted pixel is labeled as S, then the brightness value D of each pixel is: D=(S/T) * B, wherein, T is not equal to 0.
After the brightness value calculating each pixel, can store according to the position of pixel.Each pixel is a point on two dimensional surface, is labeled as (x, y).The pixel of the first row is designated as (1,1) (1,2) (1,3) ..., the pixel of the second row is designated as (2,1) (2,2) (2,3) ..., etc.
In step S203, filter out the pixel that brightness value is greater than predetermined threshold value, and determine region according to the positional information of the pixel filtered out.
In this embodiment, can scan whole pictures, filter out the pixel that brightness value is greater than predetermined threshold value, wherein, predetermined threshold value can be arranged as required flexibly.
After filtering out brightness value and being greater than the pixel of predetermined threshold value, region can be determined according to the positional information of the pixel filtered out, region such in picture is a complete figure or object normally, TV screen, clothes etc. in such as background area, picture.
Above-described embodiment, is greater than the pixel of predetermined threshold value by filtering out brightness value, and determines region according to the positional information of the pixel filtered out, thus is follow-up generation cover graphics, reduces regional luminance and provides condition.
Fig. 3 is the process flow diagram of the method for adjustment of another kind of picture luminance according to an exemplary embodiment, as shown in Figure 3, after step s 103, can also comprise the steps:
In step S104, showing picture to be adjusted, picture to be adjusted is provided with mark, is processed picture to point out user's picture to be adjusted.
In this embodiment, after covering on corresponding region by cover graphics, picture to be adjusted can be shown.
In order to represent that this picture to be adjusted is processed picture, mark can be provided with on picture to be adjusted, such as, can show a processed mark in the upper left corner of picture to be adjusted.
In step S105, display reminding information, switches display original image to point out user by triggered mark.
In this embodiment, can near this mark display reminding information, with point out user can by triggered mark switch display original image.
In step s 106, receive the trigger action of user to mark, and show the original image of picture to be adjusted according to trigger action.
In this embodiment, if user wants to browse original image, then can click this mark, now, electronic equipment can show original image.
The method of adjustment embodiment of above-mentioned picture luminance, by arranging mark on picture to be adjusted, and the original image of picture to be adjusted is shown according to the trigger action of user to this mark, make user can switch the picture after checking adjustment and original image as required, improve the experience of user.
Corresponding with the method for adjustment embodiment of aforementioned picture luminance, the disclosure additionally provides the adjusting gear embodiment of picture luminance.
Fig. 4 is the block diagram of the adjusting gear of a kind of picture luminance according to an exemplary embodiment, and as shown in Figure 4, the adjusting gear of picture luminance comprises: acquisition module 41, determination module 42 and identify and generate overlay module 43.
Acquisition module 41 is configured to obtain picture to be adjusted.
In this embodiment, acquisition module 41 can obtain picture to be adjusted in several ways, such as, can load picture to be adjusted from network, also from this map office, directly can read picture to be adjusted.
Determination module 42 is configured to brightness value in the picture to be adjusted determining that acquisition module 41 obtains and is greater than the region of predetermined threshold value.
In this embodiment, determination module 42 can calculate the brightness value of each pixel of picture to be adjusted, and preserve positional information and the brightness value thereof of each pixel, then filter out the pixel that brightness value is greater than predetermined threshold value, and determine that brightness value is greater than the region of predetermined threshold value according to the positional information of the pixel filtered out.
Identify each region generating overlay module 43 and be configured to determine for determination module 42, identify the figure of current region, the cover graphics identical according to graphic hotsopt shape, and cover graphics is covered on current region, to reduce the brightness of current region.
In this embodiment, identify and generate overlay module 43 after determining that brightness value is greater than the region of predetermined threshold value, the figure in each region can be identified, and the cover graphics identical according to the graphic hotsopt shape in each region, then cover graphics is covered on corresponding region, because the brightness value of cover graphics is lower than predetermined luminance value, namely cover graphics is the dark images that shape is identical, therefore can reduce the brightness of corresponding region.
Device is as shown in Figure 4 for realizing above-mentioned method flow as shown in Figure 1, and the related content related to describes identical, does not repeat herein.
The adjusting gear embodiment of above-mentioned picture luminance, by determining that in picture to be adjusted, brightness value is greater than the region of predetermined threshold value, and generate the overlay image identical with determined region shape, then cover graphics is covered on current region, reduce the brightness of current region, effectively reduce the stimulation of light to eyes, whole implementation procedure does not need user's manual modification picture to configure, and realizes simple.
Fig. 5 is the block diagram of the adjusting gear of another kind of picture luminance according to an exemplary embodiment, as shown in Figure 5, on above-mentioned basis embodiment illustrated in fig. 4, determination module 42 can comprise: reading submodule 421, calculating preserve submodule 422 and submodule 423 is determined in screening.
Reading submodule 421 is configured to read picture to be adjusted parameter information under the current model and the screen parameter of present terminal.
In this embodiment, reading submodule 421 is configured to read intensity level corresponding to the color value of picture to be adjusted transparence value under the current model, the screen brightness value of present terminal and each pixel of picture to be adjusted.
Calculate and preserve parameter information that submodule 422 is configured to read according to reading submodule 421 and screen parameter calculates the brightness value of each pixel of picture to be adjusted, and preserve positional information and the brightness value thereof of each pixel.
In this embodiment, can comprise according to the brightness value that the parameter information read and screen parameter calculate each pixel of picture to be adjusted: use transparence value divided by intensity level corresponding to the color value of each pixel, obtain the first result of calculation; First result of calculation is multiplied by screen brightness value, obtains the brightness value of each pixel.
Suppose, picture to be adjusted transparence value is under the current model labeled as T, the screen brightness value of present terminal is labeled as B, intensity level corresponding for the color value of each for picture to be adjusted pixel is labeled as S, then the brightness value D of each pixel is: D=(S/T) * B, wherein, T is not equal to 0.
After the brightness value calculating each pixel, can store according to the position of pixel.Each pixel is a point on two dimensional surface, is labeled as (x, y).The pixel of the first row is designated as (1,1) (1,2) (1,3) ..., the pixel of the second row is designated as (2,1) (2,2) (2,3) ..., etc.
Screening determines that submodule 423 is configured to filter out the pixel calculating the brightness value preserving submodule 422 preservation and be greater than predetermined threshold value, and determines region according to the positional information of the pixel filtered out.
In this embodiment, can scan whole pictures, filter out the pixel that brightness value is greater than predetermined threshold value, wherein, predetermined threshold value can be arranged as required flexibly.
After filtering out brightness value and being greater than the pixel of predetermined threshold value, region can be determined according to the positional information of the pixel filtered out, region such in picture is a complete figure or object normally, TV screen, clothes etc. in such as background area, picture.
Device is as shown in Figure 5 for realizing above-mentioned method flow as shown in Figure 2, and the related content related to describes identical, does not repeat herein.
Above-described embodiment, is greater than the pixel of predetermined threshold value by filtering out brightness value, and determines region according to the positional information of the pixel filtered out, thus is follow-up generation cover graphics, reduces regional luminance and provides condition.
Fig. 6 is the block diagram of the adjusting gear of another kind of picture luminance according to an exemplary embodiment, as shown in Figure 6, on above-mentioned basis embodiment illustrated in fig. 5, calculates and preserves submodule 422 and can comprise: the first computing unit 4221 and the second computing unit 4222.
First computing unit 4221 is configured to use transparence value divided by intensity level corresponding to the color value of each pixel, obtains the first result of calculation.
The first result of calculation that second computing unit 4222 is configured to the first computing unit 4221 obtains is multiplied by screen brightness value, obtains the brightness value of each pixel.
In this embodiment, transparence value can be used divided by intensity level corresponding to the color value of each pixel, obtain the first result of calculation; First result of calculation is multiplied by screen brightness value, obtains the brightness value of each pixel.
Suppose, picture to be adjusted transparence value is under the current model labeled as T, the screen brightness value of present terminal is labeled as B, intensity level corresponding for the color value of each for picture to be adjusted pixel is labeled as S, then the brightness value D of each pixel is: D=(S/T) * B, wherein, T is not equal to 0.
Device is as shown in Figure 6 for realizing above-mentioned method flow as shown in Figure 2, and the related content related to describes identical, does not repeat herein.
Above-described embodiment, use transparence value divided by intensity level corresponding to the color value of each pixel, obtain the first result of calculation, and the first result of calculation is multiplied by screen brightness value, obtain the brightness value of each pixel, implementation is simple.
Fig. 7 is the block diagram of the adjusting gear of another kind of picture luminance according to an exemplary embodiment, and as shown in Figure 7, on above-mentioned basis embodiment illustrated in fig. 4, this device also can comprise: the first display module 44.
First display module 44 is configured to after cover graphics covers on current region by identification generation overlay module 43, and showing picture to be adjusted, picture to be adjusted is provided with mark, is processed picture to point out user's picture to be adjusted.
In this embodiment, after covering on corresponding region by cover graphics, picture to be adjusted can be shown.
In order to represent that this picture to be adjusted is processed picture, mark can be provided with on picture to be adjusted, such as, can show a processed mark in the upper left corner of picture to be adjusted.
In addition, this device can also comprise: the second display module 45 and reception display module 46.
Second display module 45 is configured to after the first display module 44 shows picture to be adjusted, display reminding information, switches display original image to point out user by triggered mark.
In this embodiment, can near this mark display reminding information, with point out user can by triggered mark switch display original image.
Receive display module 46 to be configured to receive the trigger action of user to mark, and show the original image of picture to be adjusted according to trigger action.
In this embodiment, if user wants to browse original image, then can click this mark, now, electronic equipment can show original image.
Device is as shown in Figure 7 for realizing above-mentioned method flow as shown in Figure 3, and the related content related to describes identical, does not repeat herein.
The adjusting gear embodiment of above-mentioned picture luminance, by arranging mark on picture to be adjusted, and the original image of picture to be adjusted is shown according to the trigger action of user to this mark, make user can switch the picture after checking adjustment and original image as required, improve the experience of user.
About the device in above-described embodiment, wherein the concrete mode of modules, submodule executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
Fig. 8 is a kind of block diagram being applicable to the adjusting gear of picture luminance according to an exemplary embodiment.Such as, device 800 can be mobile phone, computing machine, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant.
With reference to Fig. 8, device 800 can comprise following one or more assembly: processing components 802, storer 804, power supply module 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of I/O (I/O), sensor module 814, and communications component 816.
The integrated operation of the usual control device 800 of processing components 802, such as with display, call, data communication, camera operation and record operate the operation be associated.Treatment element 802 can comprise one or more processor 820 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 802 can comprise one or more module, and what be convenient between processing components 802 and other assemblies is mutual.Such as, processing element 802 can comprise multi-media module, mutual with what facilitate between multimedia groupware 808 and processing components 802.
Storer 804 is configured to store various types of data to be supported in the operation of equipment 800.The example of these data comprises for any application program of operation on device 800 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 804 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
The various assemblies that electric power assembly 806 is device 800 provide electric power.Electric power assembly 806 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 800 and be associated.
Multimedia groupware 808 is included in the screen providing an output interface between described device 800 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 808 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 800 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 810 is configured to export and/or input audio signal.Such as, audio-frequency assembly 810 comprises a microphone (MIC), and when device 800 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 804 further or be sent via communications component 816.In certain embodiments, audio-frequency assembly 810 also comprises a loudspeaker, for output audio signal.
I/O interface 812 is for providing interface between processing components 802 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 814 comprises one or more sensor, for providing the state estimation of various aspects for device 800.Such as, sensor module 814 can detect the opening/closing state of equipment 800, the relative positioning of assembly, such as described assembly is display and the keypad of device 800, the position of all right pick-up unit 800 of sensor module 814 or device 800 1 assemblies changes, the presence or absence that user contacts with device 800, the temperature variation of device 800 orientation or acceleration/deceleration and device 800.Sensor module 814 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 814 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 814 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 816 is configured to the communication being convenient to wired or wireless mode between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communication component 816 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communication component 816 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 800 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 804 of instruction, above-mentioned instruction can perform said method by the processor 820 of device 800.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
Those skilled in the art, at consideration instructions and after putting into practice disclosed herein disclosing, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (15)

1. a method of adjustment for picture luminance, is characterized in that, described method comprises:
Obtain picture to be adjusted;
Determine that in described picture to be adjusted, brightness value is greater than the region of predetermined threshold value;
For each region determined, identify the figure of current region, the cover graphics identical according to described graphic hotsopt shape, and described cover graphics is covered on described current region, to reduce the brightness of described current region.
2. the method for adjustment of picture luminance according to claim 1, is characterized in that, describedly determines that in described picture to be adjusted, brightness value is greater than the region of predetermined threshold value, comprising:
Read described picture to be adjusted parameter information under the current model and the screen parameter of present terminal;
Calculate the brightness value of each pixel of described picture to be adjusted according to the described parameter information read and described screen parameter, and preserve positional information and the brightness value thereof of described each pixel;
Filter out the pixel that brightness value is greater than described predetermined threshold value, and determine described region according to the positional information of the pixel filtered out.
3. the method for adjustment of picture luminance according to claim 2, is characterized in that, described reading described picture to be adjusted parameter information under the current model and the screen parameter of present terminal, comprising:
Read the intensity level that the color value of described picture to be adjusted transparence value under the current model, the screen brightness value of described present terminal and each pixel of described picture to be adjusted is corresponding.
4. the method for adjustment of picture luminance according to claim 3, is characterized in that, the described described parameter information according to reading and described screen parameter calculate the brightness value of each pixel of described picture to be adjusted, comprising:
Use described transparence value divided by intensity level corresponding to the color value of described each pixel, obtain the first result of calculation;
Described first result of calculation is multiplied by described screen brightness value, obtains the brightness value of described each pixel.
5. the method for adjustment of picture luminance according to claim 1, is characterized in that, the brightness value of described cover graphics is lower than predetermined luminance value.
6. the method for adjustment of picture luminance according to claim 1, is characterized in that, described method also comprises:
Described described cover graphics is covered on described current region after, showing described picture to be adjusted, described picture to be adjusted is provided with mark, is processed picture to point out picture to be adjusted described in user.
7. the method for adjustment of picture luminance according to claim 6, is characterized in that, described method also comprises:
After the described picture to be adjusted of described display, display reminding information, switches display original image to point out described user by triggering described mark;
Receive user to the trigger action of described mark, and show the original image of described picture to be adjusted according to described trigger action.
8. an adjusting gear for picture luminance, is characterized in that, described device comprises:
Acquisition module, is configured to obtain picture to be adjusted;
Determination module, is configured to determine that in the picture described to be adjusted that described acquisition module obtains, brightness value is greater than the region of predetermined threshold value;
Identify and generate overlay module, be configured to each region determined for described determination module, identify the figure of current region, the cover graphics identical according to described graphic hotsopt shape, and described cover graphics is covered on described current region, to reduce the brightness of described current region.
9. the adjusting gear of picture luminance to be adjusted according to claim 8, is characterized in that, described determination module comprises:
Reading submodule, is configured to read described picture to be adjusted parameter information under the current model and the screen parameter of present terminal;
Calculate and preserve submodule, be configured to the brightness value of described parameter information and each pixel of the described screen parameter described picture to be adjusted of calculating read according to described reading submodule, and preserve positional information and the brightness value thereof of described each pixel;
Submodule is determined in screening, is configured to filter out the described pixel calculating the brightness value preserving submodule preservation and be greater than described predetermined threshold value, and determines described region according to the positional information of the pixel filtered out.
10. the adjusting gear of picture luminance to be adjusted according to claim 8, it is characterized in that, described reading submodule, is configured to read the intensity level that the color value of described picture to be adjusted transparence value under the current model, the screen brightness value of described present terminal and each pixel of described picture to be adjusted is corresponding.
The adjusting gear of 11. picture luminance to be adjusted according to claim 10, is characterized in that, described calculating is preserved submodule and comprised:
First computing unit, is configured to use described transparence value divided by intensity level corresponding to the color value of described each pixel, obtains the first result of calculation;
Second computing unit, described first result of calculation be configured to described first computing unit obtains is multiplied by described screen brightness value, obtains the brightness value of described each pixel.
The adjusting gear of 12. picture luminance to be adjusted according to claim 7, is characterized in that, the brightness value of described cover graphics is lower than predetermined luminance value.
The adjusting gear of 13. picture luminance to be adjusted according to claim 7, it is characterized in that, described device also comprises:
First display module, be configured to after described cover graphics covers on described current region by described identification generation overlay module, showing described picture to be adjusted, described picture to be adjusted is provided with mark, is processed picture to point out picture to be adjusted described in user.
The adjusting gear of 14. picture luminance to be adjusted according to claim 13, it is characterized in that, described device also comprises:
Second display module, is configured to after the described picture to be adjusted of described first display module display, display reminding information, switches display original image to point out described user by triggering described mark;
Receive display module, be configured to receive user to the trigger action of described mark, and show the original image of described picture to be adjusted according to described trigger action.
The adjusting gear of 15. 1 kinds of picture luminance, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain picture to be adjusted;
Determine that in described picture to be adjusted, brightness value is greater than the region of predetermined threshold value;
For each region determined, identify the figure of current region, the cover graphics identical according to described graphic hotsopt shape, and described cover graphics is covered on described current region, to reduce the brightness of described current region.
CN201510834141.8A 2015-11-25 2015-11-25 The method of adjustment and device of picture luminance Active CN105426079B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510834141.8A CN105426079B (en) 2015-11-25 2015-11-25 The method of adjustment and device of picture luminance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510834141.8A CN105426079B (en) 2015-11-25 2015-11-25 The method of adjustment and device of picture luminance

Publications (2)

Publication Number Publication Date
CN105426079A true CN105426079A (en) 2016-03-23
CN105426079B CN105426079B (en) 2018-11-23

Family

ID=55504317

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510834141.8A Active CN105426079B (en) 2015-11-25 2015-11-25 The method of adjustment and device of picture luminance

Country Status (1)

Country Link
CN (1) CN105426079B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106648305A (en) * 2016-10-26 2017-05-10 天脉聚源(北京)传媒科技有限公司 Status bar processing method and device
CN107230428A (en) * 2017-05-27 2017-10-03 北京小米移动软件有限公司 Display methods, device and the terminal of curve screens
CN107562447A (en) * 2016-06-30 2018-01-09 广州市动景计算机科技有限公司 Picture processing device, method and user terminal
CN109685746A (en) * 2019-01-04 2019-04-26 Oppo广东移动通信有限公司 Brightness of image method of adjustment, device, storage medium and terminal
CN110087130A (en) * 2019-05-29 2019-08-02 维沃移动通信有限公司 A kind of video broadcasting method and terminal device
CN111291202A (en) * 2018-12-07 2020-06-16 北京奇虎科技有限公司 Highlight display method and device based on PPT
WO2020168964A1 (en) * 2019-02-22 2020-08-27 华为技术有限公司 Image processing method, terminal device, and system
CN112468718A (en) * 2020-11-09 2021-03-09 广州视源电子科技股份有限公司 Image processing method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103139292A (en) * 2013-01-22 2013-06-05 深圳市深信服电子科技有限公司 Method for processing pictures in hyper text transmission protocol (HTTP) proxy and proxy server and system
CN104078028A (en) * 2014-06-27 2014-10-01 联想(北京)有限公司 Screen brightness adjusting method and electronic equipment
CN104200787A (en) * 2014-09-15 2014-12-10 联想(北京)有限公司 Brightness regulating method and device and electronic device
US20150143274A1 (en) * 2012-05-02 2015-05-21 Leica Microsystems Cms Gmbh Method to be carried out when operating a microscope and microscope
CN104778047A (en) * 2015-04-29 2015-07-15 魅族科技(中国)有限公司 Content display method and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150143274A1 (en) * 2012-05-02 2015-05-21 Leica Microsystems Cms Gmbh Method to be carried out when operating a microscope and microscope
CN103139292A (en) * 2013-01-22 2013-06-05 深圳市深信服电子科技有限公司 Method for processing pictures in hyper text transmission protocol (HTTP) proxy and proxy server and system
CN104078028A (en) * 2014-06-27 2014-10-01 联想(北京)有限公司 Screen brightness adjusting method and electronic equipment
CN104200787A (en) * 2014-09-15 2014-12-10 联想(北京)有限公司 Brightness regulating method and device and electronic device
CN104778047A (en) * 2015-04-29 2015-07-15 魅族科技(中国)有限公司 Content display method and terminal

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107562447A (en) * 2016-06-30 2018-01-09 广州市动景计算机科技有限公司 Picture processing device, method and user terminal
CN106648305A (en) * 2016-10-26 2017-05-10 天脉聚源(北京)传媒科技有限公司 Status bar processing method and device
CN107230428A (en) * 2017-05-27 2017-10-03 北京小米移动软件有限公司 Display methods, device and the terminal of curve screens
CN111291202A (en) * 2018-12-07 2020-06-16 北京奇虎科技有限公司 Highlight display method and device based on PPT
CN109685746A (en) * 2019-01-04 2019-04-26 Oppo广东移动通信有限公司 Brightness of image method of adjustment, device, storage medium and terminal
CN109685746B (en) * 2019-01-04 2021-03-05 Oppo广东移动通信有限公司 Image brightness adjusting method and device, storage medium and terminal
WO2020168964A1 (en) * 2019-02-22 2020-08-27 华为技术有限公司 Image processing method, terminal device, and system
US11783517B2 (en) 2019-02-22 2023-10-10 Huawei Technologies Co., Ltd. Image processing method and terminal device, and system
CN110087130A (en) * 2019-05-29 2019-08-02 维沃移动通信有限公司 A kind of video broadcasting method and terminal device
CN112468718A (en) * 2020-11-09 2021-03-09 广州视源电子科技股份有限公司 Image processing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN105426079B (en) 2018-11-23

Similar Documents

Publication Publication Date Title
EP3154270B1 (en) Method and device for adjusting and displaying an image
CN105426079A (en) Picture brightness adjustment method and apparatus
CN106454336B (en) The method and device and terminal that detection terminal camera is blocked
US20170032725A1 (en) Method, device, and computer-readable medium for setting color gamut mode
CN105631797A (en) Watermarking method and device
CN104156149A (en) Method and device for adjusting photographing parameters
CN107102772B (en) Touch control method and device
CN107515715A (en) Screenshot method, device and storage medium
CN105357466A (en) Video communication method and video communication device
CN104869308A (en) Picture taking method and device
CN105094578B (en) Method and device for adjusting position of desktop icon
CN105491289A (en) Method and device for preventing photographing occlusion
CN104503683A (en) Eyesight protecting method and device
CN104517271B (en) Image processing method and device
CN104850432A (en) Method and device for adjusting color
CN104484111A (en) Content display method and device for touch screen
CN105094609A (en) Method and device for achieving key operation in single-handed mode
CN105282441A (en) Photographing method and device
CN104978200A (en) Application program display method and device
CN106598429A (en) Method and device for adjusting window of mobile terminal
CN104243829A (en) Self-shooting method and self-shooting device
CN107507128B (en) Image processing method and apparatus
CN105631804A (en) Image processing method and device
CN104216525A (en) Method and device for mode control of camera application
CN105208284A (en) Photographing reminding 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