CN106210330A - A kind of image processing method and terminal - Google Patents

A kind of image processing method and terminal Download PDF

Info

Publication number
CN106210330A
CN106210330A CN201610571714.7A CN201610571714A CN106210330A CN 106210330 A CN106210330 A CN 106210330A CN 201610571714 A CN201610571714 A CN 201610571714A CN 106210330 A CN106210330 A CN 106210330A
Authority
CN
China
Prior art keywords
brightness value
screen
screen intensity
current environment
brightness
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610571714.7A
Other languages
Chinese (zh)
Other versions
CN106210330B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610571714.7A priority Critical patent/CN106210330B/en
Publication of CN106210330A publication Critical patent/CN106210330A/en
Application granted granted Critical
Publication of CN106210330B publication Critical patent/CN106210330B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/3406Control of illumination source

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

Embodiments providing a kind of image processing method, described method includes: when starting photographic head, obtains current environment brightness value;Judge whether described current environment brightness value mates with current screen brightness degree;If it is not, use brightness gradual manner regulation screen intensity so that screen intensity grade corresponding to screen intensity after regulation is mated with described current environment brightness value.The embodiment of the present invention additionally provides a kind of terminal.Under exposal model, screen intensity can be adjusted by the embodiment of the present invention so that user is when facing to screen, and eyes can preferable adaptation brightness change procedure.

Description

A kind of image processing method and terminal
Technical field
The present invention relates to terminal unit technical field, be specifically related to a kind of image processing method and terminal.
Background technology
In prior art, all with camera function terminal (such as mobile phone, panel computer etc.), in application of taking pictures, especially It is in the environment of dark, under the exposal model of this environment, will change whole terminal screen and be shown as a certain color Temperature, and utilize this colour temperature that photographed scene carries out light filling, this mode has a problem in that the interface of display can produce once and " jumps Become ", i.e. screen to dodge once entirely, thus, user, autodyning when, may bring unconformable reflection to eyes of user.
Summary of the invention
Embodiments provide a kind of image processing method and terminal, can be under exposal model, to screen intensity It is adjusted so that user is when facing to screen, and eyes can preferable adaptation brightness change procedure.
Embodiment of the present invention first aspect provides a kind of image processing method, including:
When starting photographic head, obtain current environment brightness value;
Judge whether described current environment brightness value mates with current screen brightness degree;
If it is not, use brightness gradual manner regulation screen intensity so that the screen intensity that screen intensity after regulation is corresponding Grade is mated with described current environment brightness value.
Embodiment of the present invention second aspect provides a kind of terminal, including:
Acquiring unit, for when starting photographic head, obtains current environment brightness value;
Judging unit, is used for judging described current environment brightness value and the current screen brightness etc. that described acquiring unit obtains Whether level mates;
Regulation unit, if the judged result for described judging unit is no, uses brightness gradual manner regulation screen bright Degree so that screen intensity grade corresponding to screen intensity after regulation is mated with described current environment brightness value.
The embodiment of the present invention third aspect provides a kind of terminal, including:
Processor and memorizer;
Wherein, described processor, for calling the described executable program code in described memorizer, performs first aspect Some or all of step.
Implement the embodiment of the present invention, have the advantages that
By the embodiment of the present invention when starting photographic head, obtain current environment brightness value, it is judged that current environment brightness value Whether mate with current screen brightness degree, if it is not, use brightness gradual manner regulation screen intensity so that the screen after regulation Screen intensity grade corresponding to brightness is mated with current environment brightness value.Thus, can be at current environment brightness value and current screen When brightness degree does not mates, use brightness gradual manner regulation screen intensity so that screen intensity grade and current environment brightness Value coupling, it is ensured that user is when observing preview image, and eyes can preferable adaptation brightness change procedure.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, in embodiment being described below required for make Accompanying drawing be briefly described, it should be apparent that, below describe in accompanying drawing be some embodiments of the present invention, for ability From the point of view of the those of ordinary skill of territory, on the premise of not paying creative work, it is also possible to obtain the attached of other according to these accompanying drawings Figure.
Fig. 1 is the first embodiment schematic flow sheet of a kind of image processing method that the embodiment of the present invention provides;
Fig. 2 is the second embodiment schematic flow sheet of a kind of image processing method that the embodiment of the present invention provides;
Fig. 3 is the 3rd embodiment schematic flow sheet of a kind of image processing method that the embodiment of the present invention provides;
Fig. 4 a is the first embodiment structural representation of a kind of terminal that the embodiment of the present invention provides;
Fig. 4 b is the structural representation of the regulation unit of the terminal described in Fig. 4 a that the embodiment of the present invention provides;
Fig. 4 c is the structural representation of the regulation unit of the terminal described in Fig. 4 a that the embodiment of the present invention provides;
Fig. 4 d is the structural representation of the judging unit of the terminal described in Fig. 4 a that the embodiment of the present invention provides;
Fig. 4 e is the structural representation of the judging unit of the terminal described in Fig. 4 a that the embodiment of the present invention provides;
Fig. 5 is the second example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Describe, it is clear that described embodiment is a part of embodiment of the present invention rather than whole embodiments wholely.Based on this Embodiment in bright, the every other enforcement that those of ordinary skill in the art are obtained under not making creative work premise Example, broadly falls into the scope of protection of the invention.
Term " first ", " second ", " the 3rd " and " in description and claims of this specification and described accompanying drawing Four " it is etc. for distinguishing different object rather than for describing particular order.Additionally, term " includes " and " having " and it Any deformation, it is intended that cover non-exclusive comprising.Such as contain series of steps or the process of unit, method, be System, product or equipment are not limited to step or the unit listed, but the most also include step or the list do not listed Unit, or the most also include other step intrinsic for these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can be wrapped in conjunction with the embodiments It is contained at least one embodiment of the present invention.It is identical that each position in the description occurs that this phrase might not each mean Embodiment, be not and the independent of other embodiments mutual exclusion or alternative embodiment.Those skilled in the art explicitly and Implicitly being understood by, embodiment described herein can combine with other embodiments.
Terminal described by the embodiment of the present invention can include smart mobile phone (as Android phone, iOS mobile phone, Windows Phone mobile phone etc.), panel computer, palm PC, notebook computer, mobile internet device (MID, Mobile Internet Devices) or Wearable etc., above-mentioned terminal is only citing, and non exhaustive, including but not limited to above-mentioned end End.
It should be noted that in the embodiment of the present invention, regulate screen intensity, and using the screen intensity after regulation as preview Brightness of image, the most whole process, be equivalent to regulation is the brightness starting the preview image under photographic head, thus bright to screen When degree is adjusted, i.e. the brightness of preview image is regulated.After regulating screen intensity, user can see the most intuitively Effect after preview image regulation, can predict effect of taking pictures.When starting photographic head, terminal can enter exposal model, at this Under exposal model, a corresponding screen intensity (current screen brightness), the corresponding screen intensity grade of this screen intensity is (current Screen intensity grade), i.e. current screen brightness correspondence current screen brightness degree.Thus, the current environment brightness that user obtains Value may be inconsistent with current screen brightness value.When screen intensity is adjusted, it is also possible to think and to a certain extent may be used The color of preview image is regulated, thus, the contrast of the preview image after regulation is suitable with environment, if color, Seem color and luster and the environments match of preview image.
Further, in the embodiment of the present invention, regulation screen intensity can arrange as adjusting overall screen intensity Joint, it is also possible to the screen intensity of local is adjusted, such as, if preview image comprises facial image, then can be to face figure As carrying out brightness regulation, or, the region beyond facial image is carried out brightness regulation.
Refer to Fig. 1, for the first embodiment schematic flow sheet of a kind of image processing method that the embodiment of the present invention provides. Image processing method described in the present embodiment, comprises the following steps:
101, when starting photographic head, current environment brightness value is obtained.
Alternatively, the terminal described by the embodiment of the present invention can be provided with ambient light sensor, utilizes this ambient light sensing Device can obtain current environment brightness value.
Alternatively, when performing step 101, can be after the photographic head starting terminal, terminal enters exposal model, available The photographic head of terminal shoots arbitrary preview image, using the average brightness value of this preview image as current environment brightness value.Or, Preview image can be carried out Face datection, using the average brightness value of facial image that detects as current environment brightness value.
Still optionally further, can be after the average brightness value of the above-mentioned preview image determined, can be according to default brightness Mapping relations between value and standard environment brightness value, determine the standard environment brightness value that above-mentioned average brightness value is corresponding, and will Standard environment brightness value corresponding to this average brightness value is as current environment brightness value.Wherein, the brightness value preset and standard ring Mapping relations between the brightness value of border can determine, such as, a certain by carrying out many experiments under different lightness environment in advance Under environment, it may be determined that the average brightness value of preview image and the standard environment brightness value utilizing ambient light sensor to detect, as This, under different lightness environment, available many group average brightness values and the standard environment utilizing ambient light sensor to detect Brightness value, sets up the mapping relations between average brightness value and the standard environment brightness value utilizing ambient light sensor to detect.
Certainly, above-mentioned photographic head can be the front-facing camera that terminal carries, it is also possible to be by the external shooting of terminal control Head.
102, judge whether described current environment brightness value mates with current screen brightness degree.
Wherein, for step 102, the following two kinds mode can be comprised and implement.
Alternatively, the first embodiment:
21), according to the mapping relations between ambient brightness value and the screen intensity grade preset, described current environment is determined The target screen brightness degree that brightness value is corresponding;
22), judge that current screen brightness degree is the most consistent with described target screen brightness degree, if it is not, then confirm institute State current environment brightness value not mate with current screen brightness degree.
Wherein, the mapping relations between ambient brightness value and the screen intensity grade preset can be carried out before step 101 Realizing, these mapping relations can be arranged voluntarily by user, or, terminal manufacturer was configured before terminal is produced.Wherein, often The corresponding multiple ambient brightness value of one screen intensity grade or each screen intensity grade correspondence one are by the multiple environment of continuous print The brightness section scope of brightness value composition.Such as, 3 screen intensity grades: the ambient brightness value that A, B, C, A are corresponding is 0~88, Ambient brightness value corresponding for B is 88~180, and ambient brightness value corresponding for C is 180~255.Thus, can close according to above-mentioned mapping System determines the target screen brightness degree that ambient brightness value is corresponding, if this target screen brightness degree and current screen brightness degree Inconsistent, then explanation current environment brightness value do not mate with current screen brightness degree, if this target screen brightness degree with ought Forth screen brightness degree is consistent, then explanation current environment brightness value mates with current screen brightness degree.
Alternatively, the second embodiment:
23), the ambient brightness value scope corresponding to current screen brightness degree is obtained;
24), judge whether described current environment brightness value is in described ambient brightness value scope, if it is not, then confirm described Current environment brightness value does not mates with current screen brightness degree.
Wherein, under current state, the corresponding screen intensity of screen, this screen intensity corresponding screen intensity naturally etc. Level, but, from the foregoing, screen intensity grade can a corresponding ambient brightness value scope, then can determine whether this ambient brightness value Whether scope comprises current environment brightness value, if not comprising, then explanation current environment brightness value and current screen brightness degree Not mating, if comprising, then explanation current environment brightness value mates with current screen brightness degree.
Alternatively, the most then need not regulate screen intensity, the most do not perform step 103.
103 if it is not, use brightness gradual manner regulation screen intensity so that the screen that screen intensity after regulation is corresponding Brightness degree mates with described current environment brightness value.
Alternatively, can be adjusted screen intensity, after regulation, screen intensity grade corresponding to screen intensity is with described Current environment brightness value mates.Alternatively, it is current environment brightness value by current screen brightness regulation.
Alternatively, if the exposal model that user selects is self-timer mode, i.e. start is front-facing camera, then, preview Image can comprise facial image, owing to the light of terminal screen is beaten on face, thus, facial image is brighter, and terminal can be adopted In fashion described above screen intensity is adjusted, can improve the facial image effect in preview image, shooting taking pictures out In effect, facial image effect is more preferable, and meanwhile, user can predict face effect.
Alternatively, between step 101 and step 102, also can comprise the steps of:
Obtain current screen brightness value;
Judge the absolute value between described current environment brightness value and described current screen brightness value whether in preset range, The most do not perform step 102, if it is not, then perform step 102.
Wherein, above-mentioned preset range can be arranged voluntarily by system default or user.So, at ambient brightness value and screen When brightness value is more or less the same, whether screen intensity regulates, and if effect of taking pictures, naked eyes are difficult to differentiate between, thus, it may not be necessary to regulation screen Curtain brightness, to a certain extent, also can reduce the power consumption of terminal.
Alternatively, between step 101 and step 102, also can comprise the steps of:
Judge whether described current environment brightness value is in less than the first predetermined threshold value or more than the second predetermined threshold value;
The most then perform step 102, if it is not, do not perform step 102.
Wherein, the first predetermined threshold value and the second predetermined threshold value can be arranged voluntarily by system default or user.First presets Threshold value can be regarded as the definition threshold value (environment of the most above-mentioned dark) of dark situation, and the second predetermined threshold value can be determining of bright ring border Justice threshold value (i.e. can be understood as the environment that light is brighter).So, then just screen intensity can be entered under dark situation and bright ring border Row regulation, under home (environment in addition to above-mentioned dark situation and bright ring border), then can not adjust screen intensity Joint, because in normal circumstances, whether screen intensity regulates, and if effect of taking pictures, naked eyes are difficult to differentiate between, thus, it may not be necessary to adjust Joint screen intensity, to a certain extent, also can reduce the power consumption of terminal.And just screen intensity is entered under dark situation and bright ring border Row regulation, can improve the effect of taking pictures of preview image to a certain extent, and user can predict effect of taking pictures.
Alternatively, above-mentioned employing brightness gradual manner regulation screen intensity, it may include following steps:
Determine the human face region in the preview image that photographic head shoots;
Brightness gradual manner is used to regulate the screen intensity of described human face region place screen area, or, use brightness Gradual manner regulates the screen intensity of the screen area beyond described human face region.
Use aforesaid way, if human face region is clear, then can regulate the screen intensity of human face region, if human face region Unintelligible, the screen intensity of scalable human face region.
By the embodiment of the present invention when starting photographic head, obtain current environment brightness value, it is judged that current environment brightness value Whether mate with current screen brightness degree, if it is not, use brightness gradual manner regulation screen intensity so that the screen after regulation Screen intensity grade corresponding to brightness is mated with current environment brightness value.Thus, can be at current environment brightness value and current screen When brightness degree does not mates, use brightness gradual manner regulation screen intensity so that screen intensity grade and current environment brightness Value coupling, it is ensured that user is when observing preview image, and eyes can preferable adaptation brightness change procedure.Meanwhile, can be by after regulation Screen intensity as the brightness of preview image, be equivalent to the brightness of preview image is adjusted, therefore, user can predict bat According to effect.
With above-described embodiment as one man, refer to Fig. 2, for the of a kind of image processing method that the embodiment of the present invention provides Two embodiment schematic flow sheets.Image processing method described in the present embodiment, comprises the following steps:
201, when starting photographic head, current environment brightness value is obtained.
202, judge whether described current environment brightness value mates with current screen brightness degree.
203 if it is not, obtain arbitrary brightness value that screen intensity grade corresponding to described current environment brightness value is corresponding.
204, current screen brightness value is obtained.
205, the absolute value between described current screen brightness value and described arbitrary brightness value is determined.
206, preset regulating time according to first and determine screen intensity regulations speed with described absolute value.
207, according to described screen intensity regulations speed, screen intensity is adjusted, so that the screen intensity after Tiao Jie For described arbitrary brightness value.
Wherein, in step 203, from the embodiment in embodiment one, a current environment brightness value also corresponding screen Curtain brightness degree, but, this screen intensity grade can corresponding multiple brightness values, thus, appointing in optional the plurality of brightness value One brightness value, alternatively, this arbitrary brightness value can and current screen brightness value between absolute value minimum.In step 205, may be used Calculate the absolute value between current screen brightness value and this arbitrary brightness value.In step 206, first preset regulating time can by with Family is arranged voluntarily, or, can be a certain default value.Assume that the first Preset Time is t, absolute value i.e. can be able to be shielded divided by t Curtain brightness regulation speed, in step 207, at the uniform velocity regulates screen intensity with this screen intensity regulations speed so that after regulation Screen intensity is this arbitrary brightness value.
Alternatively, in above-mentioned steps 207, it is also possible to otherwise screen intensity regulations speed, such as, preset first Regulating time is divided into multiple little time period, and the screen intensity regulations speed of each time period is different.Assume 3 time periods, 3 It is v1 that the individual time period is respectively the screen intensity regulations speed of t1, t2, t3, the first time period t 1, second time period t 2 Screen intensity regulations speed is v2, and the screen intensity regulations speed of the 3rd time period t 3 is v3, then, as follows:
T1v1+t2v2+t3v3=K
Wherein, K is the absolute value between above-mentioned current screen brightness value and any of the above-described brightness value.Certainly, above-mentioned first Default regulating time is further divided into more time section, and the screen intensity regulations speed of each time period is different.Certainly, each The screen intensity regulations speed of time period can also be arranged voluntarily by user.
Thus, utilize aforesaid way, can be under gradual brightness change of screen, it is achieved screen intensity is adjusted, after regulation Screen intensity grade is mated with current environment brightness value.If the screen intensity after Tiaoing is that the screen that current environment brightness value is corresponding is bright A value immediate with current screen brightness value in the brightness value that degree grade is corresponding, so, can realize quickly and preferably allowing The eyes of user are adapted to.
With above-described embodiment as one man, refer to Fig. 3, for the of a kind of image processing method that the embodiment of the present invention provides Three embodiment schematic flow sheets.Image processing method described in the present embodiment, comprises the following steps:
301, when starting photographic head, current environment brightness value is obtained.
302, judge whether described current environment brightness value mates with current screen brightness degree.
303 if it is not, obtain current screen brightness value.
304, the absolute value between described current environment brightness value and described current screen brightness value is determined.
305, preset regulating time according to second and determine screen intensity regulations speed with described absolute value.
306, according to described screen intensity regulations speed, screen intensity is adjusted, so that the screen intensity after Tiao Jie For described current environment brightness value.
Wherein, in step 303, current screen brightness value can directly obtain, thus, each user is when waking up terminal up, all There is a screen brightness value.In step 305, can calculate between current environment brightness value and current screen brightness value is absolute Value.In step 305, second presets regulating time can be arranged voluntarily by user, or, can be a certain default value.Assume that second is pre- If the time is T, absolute value i.e. can be can get screen intensity regulations speed divided by T, within step 306, adjust with this screen intensity Joint speed at the uniform velocity regulates screen intensity so that the screen intensity after regulation is current environment brightness value.
Alternatively, in above-mentioned steps 306, it is also possible to otherwise screen intensity regulations speed, such as, preset first Regulating time is divided into multiple little time period, and the screen intensity regulations speed of each time period is different.Assume 3 time periods, 3 It is V1 that the individual time period is respectively the screen intensity regulations speed of T1, T2, T3, the first time period T1, second time period T2's Screen intensity regulations speed is V2, and the screen intensity regulations speed of the 3rd time period T3 is V3, then, as follows:
T1V1+T2V2+T3V3=X
Wherein, X is the absolute value between above-mentioned current screen brightness value and above-mentioned current environment brightness value.Certainly, above-mentioned Second presets regulating time is further divided into more time section, and the screen intensity regulations speed of each time period is different.Certainly, The screen intensity regulations speed of each time period can also be arranged voluntarily by user.
It can be seen that utilize aforesaid way, can be under gradual brightness change of screen, it is achieved screen intensity is adjusted, regulation After screen intensity grade mate with current environment brightness value.I.e. the screen intensity after regulation is current environment brightness value, thus, So, when user observes preview image, eyes can preferably be adapted to.
Below for implementing the device of the image processing method described by the invention described above embodiment, specific as follows:
Refer to Fig. 4 a, for the first embodiment structural representation of a kind of terminal that the embodiment of the present invention provides.This enforcement Terminal described in example, including: acquiring unit 401, judging unit 402 and regulation unit 403, specific as follows:
Acquiring unit 401, for when starting photographic head, obtains current environment brightness value;
Judging unit 402, is used for judging described current environment brightness value and the current screen that described acquiring unit 401 obtains Whether brightness degree mates;
Regulation unit 403, if the judged result for described judging unit 402 is no, regulates screen intensity so that regulation After screen intensity grade corresponding to screen intensity mate with described current environment brightness value.
Alternatively, entering shown in Fig. 4 b, the regulation unit 403 of the terminal described in Fig. 4 a includes:
First acquisition module 4031, for obtaining corresponding the appointing of screen intensity grade corresponding to described current environment brightness value One brightness value;
Described first acquisition module 4031, is additionally operable to:
Obtain current screen brightness value;
First determines module 4032, absolute for determine between described current screen brightness value and described arbitrary brightness value Value;
Described first determines module 4032, is additionally operable to:
Preset regulating time according to first and determine screen intensity regulations speed with described absolute value;
First adjustment module 4033, for screen intensity being adjusted according to described screen intensity regulations speed, so that Screen intensity after must regulating is described arbitrary brightness value.
Alternatively, as illustrated in fig. 4 c, the regulation unit 403 of the terminal described in Fig. 4 a includes:
Second acquisition module 4034, is used for obtaining current screen brightness value;
Second determines module 4035, for determining between described current environment brightness value and described current screen brightness value Absolute value;
Described second determines module 4035, is additionally operable to:
Preset regulating time according to second and determine screen intensity regulations speed with described absolute value;
Second adjustment module 4036, for screen intensity being adjusted according to described screen intensity regulations speed, so that Screen intensity after must regulating is described current environment brightness value.
Alternatively, as shown in figure 4d, the judging unit 402 of the terminal described in Fig. 4 a includes:
3rd determines module 4021, for closing according to the mapping between ambient brightness value and the screen intensity grade preset System, determines the target screen brightness degree that described current environment brightness value is corresponding;
First judge module 4022, be used for judging current screen brightness degree whether with described target screen brightness degree one Cause, if it is not, then confirm that described current environment brightness value does not mates with current screen brightness degree.
Alternatively, as shown in fig 4e, the judging unit 402 of the terminal described in Fig. 4 a includes:
3rd acquisition module 4023, for obtaining the ambient brightness value scope corresponding to current screen brightness degree;
Second judge module 4024, is used for judging whether described current environment brightness value is in described ambient brightness value model Enclose, if it is not, then confirm that described current environment brightness value does not mates with current screen brightness degree.
Alternatively, above-mentioned acquiring unit 401 specifically for:
Ambient light sensor is utilized to obtain current environment brightness value;
Or,
The average brightness value of the preview image shot according to described photographic head determines current environment brightness value.
By the terminal described by the embodiment of the present invention, current environment brightness value can be obtained when starting photographic head, it is judged that Whether current environment brightness value mates with current screen brightness degree, if it is not, use brightness gradual manner regulation screen intensity, makes Screen intensity grade corresponding to screen intensity after must regulating is mated with current environment brightness value.Thus, can be bright at current environment When angle value is not mated with current screen brightness degree, use brightness gradual manner regulation screen intensity so that screen intensity grade Mate with current environment brightness value, it is ensured that user is when observing preview image, and eyes can preferable adaptation brightness change procedure.With Time, can be equivalent to the brightness of preview image is adjusted using the screen intensity after regulation as the brightness of preview image, because of This, user can predict effect of taking pictures.
Refer to Fig. 5, for the second example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides.The present embodiment Described in terminal, including at least one input equipment 1000;At least one outut device 2000;At least one processor 3000, such as CPU;With memorizer 4000, above-mentioned input equipment 1000, outut device 2000, processor 3000 and memorizer 4000 are connected by bus 5000.
Wherein, above-mentioned input equipment 1000 concretely contact panel or physical button.
Above-mentioned outut device 2000 concretely display screen.
Above-mentioned memorizer 4000 can be high-speed RAM memorizer, it is possible to for non-labile memorizer (non-volatile Memory), such as disk memory.Above-mentioned memorizer 4000 is used for storing batch processing code, above-mentioned input equipment 1000, defeated Go out equipment 2000 and processor 3000 for calling in memorizer 4000 program code of storage, perform following operation:
Above-mentioned processor 3000, is used for:
When starting photographic head, obtain current environment brightness value;
Judge whether described current environment brightness value mates with current screen brightness degree;
If it is not, use brightness gradual manner regulation screen intensity so that the screen intensity that screen intensity after regulation is corresponding Grade is mated with described current environment brightness value.
Alternatively, above-mentioned processor 3000 uses brightness gradual manner to regulate screen intensity, including:
Obtain arbitrary brightness value that screen intensity grade corresponding to described current environment brightness value is corresponding;
Determine the absolute value between described current environment brightness value and described arbitrary brightness value;
Preset regulating time according to first and determine screen intensity regulations speed with described absolute value;
According to described screen intensity regulations speed, screen intensity is adjusted, so that the screen intensity after Tiao Jie is institute State arbitrary brightness value.
Alternatively, above-mentioned processor 3000 uses brightness gradual manner to regulate screen intensity, including:
Obtain current screen brightness value;
Determine the absolute value between described current environment brightness value and described current screen brightness value;
Preset regulating time according to second and determine screen intensity regulations speed with described absolute value;
According to described screen intensity regulations speed, screen intensity is adjusted, so that the screen intensity after Tiao Jie is institute State current environment brightness value.
Alternatively, above-mentioned processor 3000 judges that whether described current environment brightness value and current screen brightness degree Join, including:
According to the mapping relations between default ambient brightness value and screen intensity grade, determine described current environment brightness The target screen brightness degree that value is corresponding;
Judge that current screen brightness degree is the most consistent with described target screen brightness degree, if it is not, then confirm described working as Front ambient brightness value is not mated with current screen brightness degree.
Alternatively, above-mentioned processor 3000 judges that whether described current environment brightness value and current screen brightness degree Join, including:
Obtain the ambient brightness value scope corresponding to current screen brightness degree;
Judge whether described current environment brightness value is in described ambient brightness value scope, if it is not, then confirm described currently Ambient brightness value is not mated with current screen brightness degree.
Alternatively, above-mentioned processor 3000 obtains current environment brightness value, including:
Ambient light sensor is utilized to obtain current environment brightness value;
Or,
The average brightness value of the preview image shot according to described photographic head determines current environment brightness value.
The embodiment of the present invention also provides for a kind of computer-readable storage medium, and wherein, this computer-readable storage medium can store journey Sequence, this program includes the part or all of step of any image processing method described in said method embodiment when performing Suddenly.
Although combine each embodiment invention has been described at this, but, implementing the present invention for required protection During, those skilled in the art are by checking described accompanying drawing, disclosure and appended claims, it will be appreciated that and real Other changes of existing described open embodiment.In the claims, " include " that (comprising) word is not excluded for other compositions Part or step, "a" or "an" is not excluded for multiple situations.Single processor or other unit can realize claim In some functions enumerating.Mutually different has been recited in mutually different dependent some measure, it is not intended that these are arranged Executing to combine produces good effect.
It will be understood by those skilled in the art that embodiments of the invention can be provided as method, device (equipment) or computer journey Sequence product.Therefore, in terms of the present invention can use complete hardware embodiment, complete software implementation or combine software and hardware The form of embodiment.And, the present invention can use in one or more calculating wherein including computer usable program code The upper computer program implemented of machine usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.) The form of product.Computer program is stored/distributed in suitable medium, provides or as the one of hardware together with other hardware Part, it would however also be possible to employ other distribution forms, as by Internet or other wired or wireless telecommunication system.
The present invention be with reference to the method for the embodiment of the present invention, device (equipment) and computer program flow chart with/ Or block diagram describes.It should be understood that can by each flow process in computer program instructions flowchart and/or block diagram and/ Or the flow process in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer program instructions can be provided To the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce one Individual machine so that the instruction performed by the processor of computer or other programmable data processing device is produced for realizing The device of the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and computer or other programmable data processing device can be guided with spy Determine in the computer-readable memory that mode works so that the instruction being stored in this computer-readable memory produces and includes referring to Make the manufacture of device, this command device realize at one flow process of flow chart or multiple flow process and/or one square frame of block diagram or The function specified in multiple square frames.
These computer program instructions also can be loaded in computer or other programmable data processing device so that at meter Perform sequence of operations step on calculation machine or other programmable devices to produce computer implemented process, thus at computer or The instruction performed on other programmable devices provides for realizing at one flow process of flow chart or multiple flow process and/or block diagram one The step of the function specified in individual square frame or multiple square frame.
Although in conjunction with specific features and embodiment, invention has been described, it is clear that, without departing from this In the case of bright spirit and scope, it can be carried out various amendment and combination.Correspondingly, the specification and drawings is only institute The exemplary illustration of the present invention that attached claim is defined, and be considered as covering arbitrarily repairing in the scope of the invention with all Change, change, combine or equivalent.Obviously, those skilled in the art the present invention can be carried out various change and modification and not Depart from the spirit and scope of the present invention.So, if the present invention these amendment and modification belong to the claims in the present invention and Within the scope of equivalent technologies, then the present invention is also intended to comprise these change and modification.

Claims (13)

1. an image processing method, it is characterised in that including:
When starting photographic head, obtain current environment brightness value;
Judge whether described current environment brightness value mates with current screen brightness degree;
If it is not, use brightness gradual manner regulation screen intensity so that the screen intensity grade that screen intensity after regulation is corresponding Mate with described current environment brightness value.
Method the most according to claim 1, it is characterised in that described employing brightness gradual manner regulation screen intensity, bag Include:
Obtain arbitrary brightness value that screen intensity grade corresponding to described current environment brightness value is corresponding;
Obtain current screen brightness value;
Determine the absolute value between described current screen brightness value and described arbitrary brightness value;
Preset regulating time according to first and determine screen intensity regulations speed with described absolute value;
According to described screen intensity regulations speed, screen intensity is adjusted, so that the screen intensity after Tiao Jie is described One brightness value.
Method the most according to claim 1, it is characterised in that described employing brightness gradual manner regulation screen intensity, bag Include:
Obtain current screen brightness value;
Determine the absolute value between described current environment brightness value and described current screen brightness value;
Preset regulating time according to second and determine screen intensity regulations speed with described absolute value;
According to described screen intensity regulations speed, screen intensity is adjusted, so that the screen intensity after Tiao Jie is described working as Front ambient brightness value.
4. according to the method described in any one of claims 1 to 3, it is characterised in that described judgement described current environment brightness value Whether mate with current screen brightness degree, including:
According to the mapping relations between default ambient brightness value and screen intensity grade, determine described current environment brightness value pair The target screen brightness degree answered;
Judge that current screen brightness degree is the most consistent with described target screen brightness degree, if it is not, work as front ring described in then confirming Border brightness value does not mates with current screen brightness degree.
5. according to the method described in any one of claims 1 to 3, it is characterised in that described judgement described current environment brightness value Whether mate with current screen brightness degree, including:
Obtain the ambient brightness value scope corresponding to current screen brightness degree;
Judge whether described current environment brightness value is in described ambient brightness value scope, if it is not, then confirm described current environment Brightness value does not mates with current screen brightness degree.
6. according to the method described in any one of claims 1 to 3, it is characterised in that described acquisition current environment brightness value, bag Include:
Ambient light sensor is utilized to obtain current environment brightness value;
Or,
The average brightness value of the preview image shot according to described photographic head determines current environment brightness value.
7. a terminal, it is characterised in that including:
Acquiring unit, for when starting photographic head, obtains current environment brightness value;
Judging unit, for judging that the described current environment brightness value that described acquiring unit obtains with current screen brightness degree is No coupling;
Regulation unit, if the judged result for described judging unit is no, uses brightness gradual manner regulation screen intensity, makes Screen intensity grade corresponding to screen intensity after must regulating is mated with described current environment brightness value.
Terminal the most according to claim 7, it is characterised in that described regulation unit includes:
First acquisition module, for obtaining arbitrary brightness that screen intensity grade corresponding to described current environment brightness value is corresponding Value;
Described first acquisition module, is additionally operable to:
Obtain current screen brightness value;
First determines module, for determining the absolute value between described current screen brightness value and described arbitrary brightness value;
Described first determines module, is additionally operable to:
Preset regulating time according to first and determine screen intensity regulations speed with described absolute value;
First adjustment module, for screen intensity being adjusted according to described screen intensity regulations speed, so that after Tiao Jie Screen intensity be described arbitrary brightness value.
Terminal the most according to claim 7, it is characterised in that described regulation unit includes:
Second acquisition module, is used for obtaining current screen brightness value;
Second determines module, for determining the absolute value between described current environment brightness value and described current screen brightness value;
Described second determines module, is additionally operable to:
Preset regulating time according to second and determine screen intensity regulations speed with described absolute value;
Second adjustment module, for screen intensity being adjusted according to described screen intensity regulations speed, so that after Tiao Jie Screen intensity be described current environment brightness value.
10. according to the terminal described in any one of claim 7 to 9, it is characterised in that described judging unit includes:
3rd determines module, for according to the mapping relations between ambient brightness value and the screen intensity grade preset, determining institute State the target screen brightness degree that current environment brightness value is corresponding;
First judge module, is used for judging that current screen brightness degree is the most consistent with described target screen brightness degree, if it is not, Then confirm that described current environment brightness value does not mates with current screen brightness degree.
11. according to the terminal described in any one of claim 7 to 9, it is characterised in that described judging unit includes:
3rd acquisition module, for obtaining the ambient brightness value scope corresponding to current screen brightness degree;
Second judge module, is used for judging whether described current environment brightness value is in described ambient brightness value scope, if it is not, then Confirm that described current environment brightness value does not mates with current screen brightness degree.
12. according to the terminal described in any one of claim 7 to 9, it is characterised in that described acquiring unit specifically for:
Ambient light sensor is utilized to obtain current environment brightness value;
Or,
The average brightness value of the preview image shot according to described photographic head determines current environment brightness value.
13. 1 kinds of terminals, it is characterised in that including:
Processor and memorizer;Wherein, described processor is by calling the code in described memorizer or instruction to perform such as power Profit requires the method described in 1 to 6 any one.
CN201610571714.7A 2016-07-18 2016-07-18 A kind of image processing method and terminal Active CN106210330B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610571714.7A CN106210330B (en) 2016-07-18 2016-07-18 A kind of image processing method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610571714.7A CN106210330B (en) 2016-07-18 2016-07-18 A kind of image processing method and terminal

Publications (2)

Publication Number Publication Date
CN106210330A true CN106210330A (en) 2016-12-07
CN106210330B CN106210330B (en) 2018-05-29

Family

ID=57493641

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610571714.7A Active CN106210330B (en) 2016-07-18 2016-07-18 A kind of image processing method and terminal

Country Status (1)

Country Link
CN (1) CN106210330B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106603856A (en) * 2016-12-26 2017-04-26 努比亚技术有限公司 Screen brightness adjusting method and terminal
CN106646925A (en) * 2017-01-03 2017-05-10 京东方科技集团股份有限公司 Glasses
CN106847150A (en) * 2017-01-04 2017-06-13 捷开通讯(深圳)有限公司 Adjust the device and method of brightness of display screen
CN107146581A (en) * 2017-04-07 2017-09-08 广东欧珀移动通信有限公司 Adjust method, mobile terminal and the storage medium of backlight illumination grade
CN107833568A (en) * 2017-10-30 2018-03-23 青岛海信电器股份有限公司 A kind of screen luminance adjustment method, device and display terminal
CN107911585A (en) * 2017-11-28 2018-04-13 维沃移动通信有限公司 Image processing method and device, the mobile terminal of a kind of mobile terminal
CN107919105A (en) * 2017-12-21 2018-04-17 北京奇艺世纪科技有限公司 The method, apparatus and electronic equipment of a kind of adjusting brightness of display
CN108447432A (en) * 2017-02-16 2018-08-24 联咏科技股份有限公司 Display system, electronic device and its display adjusting method
CN108831410A (en) * 2018-07-04 2018-11-16 青岛海信移动通信技术股份有限公司 Screen light compensation method and device
CN108986053A (en) * 2018-08-21 2018-12-11 北京小米移动软件有限公司 Screen display method and device
CN109326265A (en) * 2016-08-18 2019-02-12 联发科技股份有限公司 A kind of method and brightness control system of the brightness of adjusting panel
CN115514845A (en) * 2022-09-14 2022-12-23 盛泰光电科技股份有限公司 Mobile phone ambient brightness induction adjusting method and ambient light induction mobile phone

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101527137A (en) * 2008-03-06 2009-09-09 海尔集团公司 Method and device for adjusting screen display
CN103119511A (en) * 2010-09-17 2013-05-22 富士胶片株式会社 Display control method for viewfinder device and device thereof
CN104754134A (en) * 2015-03-31 2015-07-01 酷派软件技术(深圳)有限公司 Screen brightness adjusting method and screen brightness adjusting system
CN105577935A (en) * 2016-01-04 2016-05-11 广东欧珀移动通信有限公司 Screen brightness regulating method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101527137A (en) * 2008-03-06 2009-09-09 海尔集团公司 Method and device for adjusting screen display
CN103119511A (en) * 2010-09-17 2013-05-22 富士胶片株式会社 Display control method for viewfinder device and device thereof
CN104754134A (en) * 2015-03-31 2015-07-01 酷派软件技术(深圳)有限公司 Screen brightness adjusting method and screen brightness adjusting system
CN105577935A (en) * 2016-01-04 2016-05-11 广东欧珀移动通信有限公司 Screen brightness regulating method and apparatus

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109326265A (en) * 2016-08-18 2019-02-12 联发科技股份有限公司 A kind of method and brightness control system of the brightness of adjusting panel
CN106603856A (en) * 2016-12-26 2017-04-26 努比亚技术有限公司 Screen brightness adjusting method and terminal
CN106646925A (en) * 2017-01-03 2017-05-10 京东方科技集团股份有限公司 Glasses
CN106847150A (en) * 2017-01-04 2017-06-13 捷开通讯(深圳)有限公司 Adjust the device and method of brightness of display screen
CN108447432B (en) * 2017-02-16 2021-09-03 联咏科技股份有限公司 Display system, electronic device and display adjusting method thereof
CN108447432A (en) * 2017-02-16 2018-08-24 联咏科技股份有限公司 Display system, electronic device and its display adjusting method
CN107146581A (en) * 2017-04-07 2017-09-08 广东欧珀移动通信有限公司 Adjust method, mobile terminal and the storage medium of backlight illumination grade
CN107833568A (en) * 2017-10-30 2018-03-23 青岛海信电器股份有限公司 A kind of screen luminance adjustment method, device and display terminal
CN107833568B (en) * 2017-10-30 2020-04-17 青岛海信电器股份有限公司 Screen brightness adjusting method and device and display terminal
CN107911585B (en) * 2017-11-28 2020-06-09 维沃移动通信有限公司 Image processing method and device of mobile terminal and mobile terminal
CN107911585A (en) * 2017-11-28 2018-04-13 维沃移动通信有限公司 Image processing method and device, the mobile terminal of a kind of mobile terminal
CN107919105A (en) * 2017-12-21 2018-04-17 北京奇艺世纪科技有限公司 The method, apparatus and electronic equipment of a kind of adjusting brightness of display
CN108831410A (en) * 2018-07-04 2018-11-16 青岛海信移动通信技术股份有限公司 Screen light compensation method and device
CN108986053A (en) * 2018-08-21 2018-12-11 北京小米移动软件有限公司 Screen display method and device
CN108986053B (en) * 2018-08-21 2021-03-16 北京小米移动软件有限公司 Screen display method and device
CN115514845A (en) * 2022-09-14 2022-12-23 盛泰光电科技股份有限公司 Mobile phone ambient brightness induction adjusting method and ambient light induction mobile phone

Also Published As

Publication number Publication date
CN106210330B (en) 2018-05-29

Similar Documents

Publication Publication Date Title
CN106210330A (en) A kind of image processing method and terminal
CN106060417A (en) Flashlight control method and terminal
CN105554413B (en) A kind of screen light filling photographic method, device and mobile terminal
CN106331492A (en) Image processing method and terminal
CN104754219B (en) A kind of terminal
CN105208360B (en) Image preview method, device and the terminal of a kind of intelligent terminal
CN105788536B (en) Back light brightness regulating method, device and terminal device
CN106941588B (en) Data processing method and electronic equipment
CN107221303A (en) A kind of method, device and intelligent terminal for adjusting screen intensity
CN104834866A (en) Method and device for protecting privacy-sensitive information by automatically recognizing scene
CN104751419B (en) A kind of photo vision-control method and terminal
CN107743197A (en) A kind of screen light compensation method, device and mobile terminal
CN104834446A (en) Display screen multi-screen control method and system based on eyeball tracking technology
CN105825837A (en) Screen brightness regulation method and device, and display device comprising screen brightness regulation device
CN104780320B (en) Ambient light detection method and electronic device
CN104754220A (en) Shooting method
CN101542522A (en) Pupil color correction device and program
CN102543031A (en) Display screen control method and display screen control system beneficial for vision protection
CN103685948A (en) Shooting method and device
CN106204743A (en) Control method, device and the mobile terminal of a kind of augmented reality function
CN105549927B (en) A kind of display methods and terminal
CN104954680A (en) Camera focusing method and terminal
KR101550493B1 (en) Portable terminal with a function of eye protection
CN111275648B (en) Face image processing method, device, equipment and computer readable storage medium
CN107507601A (en) A kind of method and system of the camera supervised interface display effect of adjust automatically

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

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Patentee after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Patentee before: Guangdong OPPO Mobile Communications Co., Ltd.

CP01 Change in the name or title of a patent holder