CN106357989A - Brightness adjustment method and mobile terminal - Google Patents

Brightness adjustment method and mobile terminal Download PDF

Info

Publication number
CN106357989A
CN106357989A CN201611056100.1A CN201611056100A CN106357989A CN 106357989 A CN106357989 A CN 106357989A CN 201611056100 A CN201611056100 A CN 201611056100A CN 106357989 A CN106357989 A CN 106357989A
Authority
CN
China
Prior art keywords
mobile terminal
soft light
user
age
brightness degree
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.)
Pending
Application number
CN201611056100.1A
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201611056100.1A priority Critical patent/CN106357989A/en
Publication of CN106357989A publication Critical patent/CN106357989A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • 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/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • 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

Abstract

The invention provides a brightness adjustment method and a mobile terminal. The method is applied in the mobile terminal, and comprises the following steps of acquiring the ambient light of a first camera of the mobile terminal, and age information of a user in preview frame data of the first camera; confirming a soft light brightness level of the mobile terminal according to the ambient light and the age information of the user; adjusting the soft light brightness of the mobile terminal according to the soft light brightness level. According to the brightness adjustment method and the mobile terminal provided by the invention, the ambient light and the age information of the user are comprehensively considered, so that the soft light brightness can be adjusted, a photographing effect is ensured, and meanwhile, the aim of protecting eyes is achieved. The problem that the soft light brightness of an existing mobile terminal is generally fixed, so that the soft light brightness cannot be adjusted according to the fill-in light intensity required by the environment where a photographer is located and the self-condition of the photographer is solved.

Description

A kind of luminance regulating method and mobile terminal
Technical field
The present invention relates to mobile communication technology field, particularly to a kind of luminance regulating method and mobile terminal.
Background technology
Day by day enter the life of people with various electronic equipments, intelligent electronic device, such as mobile phone etc. become people and clap According to main tool, user also tends to take pictures by various intelligent electronic devices.In order to lift effect of taking pictures, some terminals set Standby it is provided with light lamp (usually LED lamp) on front-facing camera side, to improve the auto heterodyne effect under the poor environment of light.
However, what the brightness of soft light was usually fixed, so may result in soft light in light is not very poor ring Too bright or not bright under too dark situation under border, and according to the light filling intensity needed for photographer's local environment and cannot take pictures The situation of person itself is adjusted it is impossible to bring good effect of taking pictures to user.
Content of the invention
The invention provides a kind of luminance regulating method and mobile terminal, its purpose is to solve existing mobile terminal Soft light brightness be usually fixed it is impossible to the light filling intensity according to needed for photographer's local environment and photographer itself The problem that is adjusted of situation.
On the one hand, The embodiment provides a kind of luminance regulating method, it is applied to mobile terminal, the method bag Include:
Obtain the use in the ambient light illumination of the first photographic head of mobile terminal and the preview frame data of the first photographic head The age information at family;
According to the age information of ambient light illumination and user, determine the soft light brightness degree of mobile terminal;
According to soft light brightness degree, adjust the soft light brightness of mobile terminal.
On the other hand, embodiments of the invention additionally provide a kind of mobile terminal, and including soft light, this mobile terminal also wraps Include:
Acquisition module, for obtaining the ambient light illumination of the first photographic head and the preview of the first photographic head of mobile terminal The age information of the user in frame data;
Determining module, for the age information according to ambient light illumination and user, determines the soft light brightness of mobile terminal Grade;
Adjusting module, for according to soft light brightness degree, adjusting the soft light brightness of mobile terminal.
So, the present invention provides luminance regulating method and mobile terminal, by the first photographic head of this mobile terminal When being taken pictures, by obtaining the corresponding first soft light brightness degree of ambient light illumination residing for mobile terminal, and first The corresponding second soft light brightness degree of age of user information in photographic head preview frame data, the junior choosing in the two makees Brightness degree for the soft light of mobile terminal;Consider ambient light illumination and the age information of user, realize soft light Brightness scalable, reaches the purpose of protect eyes while ensureing to take pictures effect.The present invention solves existing mobile terminal Soft light brightness be usually fixed it is impossible to the light filling intensity according to needed for photographer's local environment and photographer itself The problem that is adjusted of situation.
Brief description
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below by institute in the description to the embodiment of the present invention Need use accompanying drawing be briefly described it should be apparent that, drawings in the following description be only the present invention some enforcement Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 represents the basic step flow chart of the luminance regulating method that the first embodiment of the present invention provides;
Fig. 2 represents the basic step flow chart of the luminance regulating method that the second embodiment of the present invention provides;
Fig. 3 represents the basic step flow chart of the example of the second embodiment of the present invention;
Fig. 4 represents one of block diagram of mobile terminal that the third embodiment of the present invention provides;
Fig. 5 represents the two of the block diagram of mobile terminal that the third embodiment of the present invention provides;
Fig. 6 represents the block diagram of the mobile terminal that the fourth embodiment of the present invention provides;
Fig. 7 represents the block diagram of the mobile terminal that the fifth embodiment of the present invention provides.
Specific embodiment
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 Site preparation description is it is clear that described embodiment a part of embodiment that is the present invention, rather than whole embodiments.Based on this Embodiment in bright, the every other enforcement that those of ordinary skill in the art are obtained under the premise of not making creative work Example, broadly falls into the scope of protection of the invention.
First embodiment
Referring to Fig. 1, the first embodiment of the present invention provides a kind of luminance regulating method, is applied to mobile terminal, the party Method includes:
Step 101, obtains the ambient light illumination of the first photographic head of mobile terminal and the preview frame number of the first photographic head According in user age information.
Wherein, the first photographic head of mobile terminal can be front-facing camera or post-positioned pick-up head.First photographic head pre- Frame data of looking at are the frame data of the preview interface of the first photographic head, obtain the age information defining user from preview frame data. Ambient light illumination is usually said lux degree, represents that the luminous flux being subject in body surfaces unit area (refers to human eye institute energy The radiant power felt).
Step 102, according to the age information of ambient light illumination and user, determines the soft light brightness degree of mobile terminal.
Wherein, soft light is light compensating lamp, and the brightness of existing mobile terminal soft light is usually fixed, and does not account for clapping According to the illuminance of person's local environment, it is too bright in the case that ambient light illumination is higher so to may result in soft light, or It is not bright in the case that ambient light illumination is relatively low;And do not consider the own situation of user, such as child, may not be suitable for Stronger soft light brightness, the eyes due to child's (particularly infant) are in the stage of development, eyes under strong light environment It is highly susceptible to injure.Therefore, when taking pictures using soft light, need the brightness of suitable control flash lamp or soft light.
Step 103, according to soft light brightness degree, adjusts the soft light brightness of mobile terminal.
Wherein, according to the soft light brightness degree determining in step 102, when adjustment mobile terminal is by taking pictures to photographic head Soft light brightness.
In the above embodiment of the present invention, when being taken pictures by the first photographic head of this mobile terminal, by obtaining Age of user information in ambient light illumination residing for mobile terminal, and the first photographic head preview frame data, determines mobile whole The brightness degree of the soft light at end;Consider ambient light illumination and the age information of user, realize soft light brightness adjustable Section, reaches the purpose of protect eyes while ensureing to take pictures effect.The present invention solves the soft light of existing mobile terminal Brightness be usually fixed it is impossible to the situation of light filling intensity according to needed for photographer's local environment and photographer itself is entered The problem of row adjustment.
Second embodiment
Referring to Fig. 2, the second embodiment of the present invention provides a kind of luminance regulating method, is applied to mobile terminal, the party Method includes:
Step 201, obtains the ambient light illumination of the first photographic head of mobile terminal and the preview frame number of the first photographic head According in user age information.
Wherein, the first photographic head of mobile terminal can be front-facing camera or post-positioned pick-up head.First photographic head pre- Frame data of looking at are the frame data of the preview interface of the first photographic head, obtain the age information defining user from preview frame data. Ambient light illumination is usually said lux degree, represents that the luminous flux being subject in body surfaces unit area (refers to human eye institute energy The radiant power felt).
Step 202, determines first soft light brightness degree corresponding with ambient light illumination.
Wherein, when ambient light illumination is higher, corresponding first soft light brightness degree is relatively low;When ambient light illumination is relatively low, Corresponding first soft light brightness degree is higher, to lift effect of taking pictures.
Alternatively, may be configured as, when ambient light illumination is less than a predetermined threshold value, opening soft light.
Step 203, determines second soft light brightness degree corresponding with the age information of user.
Wherein, the soft light brightness degree needed for all ages and classes stage is different, such as child, may not be suitable for relatively The second strong soft light brightness degree, the eyes due to child's (particularly infant) are in the stage of development, in strong light environment Lower eyes are highly susceptible to injure;And for adult, in order to reach effect of taking pictures, the second higher sheen of offer that can be suitable Lamp brightness degree.
Step 204, determines the junior in the first soft light brightness degree and the second soft light brightness degree, as movement The soft light brightness degree of terminal.
Wherein, on the premise of the first soft light brightness degree and the second soft light brightness degree all determine, select the two In less numerical value as soft light brightness degree, it is to avoid when the first soft light brightness degree be higher than the second soft light brightness degree When, selection the first soft light brightness degree may harm users eyes;And avoid when the second soft light brightness degree be higher than During the first soft light brightness degree, select the second soft light brightness degree to mismatch with ambient light illumination, reduce effect of taking pictures.
Step 205, according to soft light brightness degree, adjusts the soft light brightness of mobile terminal.
Wherein, according to the soft light brightness degree determining in step 204, when adjustment mobile terminal is by taking pictures to photographic head Soft light brightness.
Alternatively, soft light brightness degree can pass through the regulating command of mobile terminal receive user, realize user and adjust manually Section, and show current soft light grade in real time at interface of taking pictures.Such as, if current soft light brightness degree does not meet the reality of user Border demand, user's manually adjustable soft light brightness degree, to obtain desired soft light brightness value.
Preferably, step 202 includes:
Determine that the first illuminance belonging to ambient light illumination is interval, wherein, each illuminance interval is by continuous environment Multiple mutually misaligned intervals that illuminance division obtains;
According to interval the first corresponding relation and soft light brightness degree between of illuminance set in advance, determine the first light The interval corresponding first soft light brightness degree of illumination.
Wherein, continuous ambient light illumination is divided into multiple mutually misaligned intervals, in the first corresponding relation, each area Between a corresponding brightness degree, realize for continuous ambient light illumination changing into discrete soft light brightness degree, be easy to determine First soft light brightness degree corresponding with ambient light illumination.
Preferably, step 201 includes:
The first step, obtains the ambient light illumination of the first photographic head, wherein photosensitive biography by the light sensor of mobile terminal The distance of sensor and the first photographic head is in a predeterminable range.
Wherein, light sensor is arranged at the face at flash lamp place, and with the distance of the first photographic head in a predeterminable range Interior;The sensitive volume that light sensor detects represents the illuminance of the first photographic head local environment.
Alternatively, the detection time of light sensor is that in the time period that the first photographic head is opened, other times section is photosensitive Sensor is in off working state, to save the electricity of mobile terminal.
Second step, obtains the age information of the user in the preview frame data of the first photographic head.
Wherein, the preview frame data of the first photographic head are the frame data of the preview interface of the first photographic head, from preview frame number According to the middle age information obtaining and defining user.
Preferably, above-mentioned second step includes:
Obtain the facial information of the user in the preview frame data of the first photographic head;
According to default face recognition algorithm, determine the age information of user corresponding with the facial information of user.
Wherein, obtain the facial information of user, and determine the age information of user according to default face recognition algorithm;Tool Body ground, face recognition algorithm can quickly calculate the personage's age in photo by face analysis, comparison and big data technology And sex;Face analysis, comparison, mainly carry out feature extraction to the facial information of current detection, such as: eyes, canthus etc.. Then feature is compared with the property data base in data base, finally determine the age information of user.
Further, step 203 includes:
Determine the first age range belonging to the age information of user, wherein, each age range is by the continuous age Divide the multiple mutually misaligned intervals obtaining;
According to the second corresponding relation between age range set in advance and soft light brightness degree, determined for the first age Interval corresponding second soft light brightness degree.
Wherein, the continuous age is divided into multiple mutually misaligned intervals, and in the second corresponding relation, each interval is corresponding One brightness degree, the realization continuous age is changed into discrete soft light brightness degree, is easy to determine the first age range Corresponding second soft light brightness degree.
Preferably, the step determining the first age range belonging to the age information of user, comprising:
When there is multiple user in the preview frame data of the first photographic head, with age information reckling corresponding age area Between interval as First Year age.
Specifically, when there is multiple user in preview frame data, made with the corresponding age range of age information reckling For the first age range, to reach the purpose of protection eyes of user.
As a specific example, referring to Fig. 3, the luminance regulating method of the soft light of the mobile terminal shown in Fig. 3, mainly Comprise the following steps:
Step 301, opens camera, switches to Front camera and takes pictures, and obtains ambient light illumination.
Specifically it is assumed that the numerical value reading under ambient light the strongest is 9999, the numerical value reading under weakest environment luminous environment For 0, the threshold value that soft light is opened in triggering is t (concrete data need to determine according to actual adjustment effect).So by soft light brightness Grade is divided into 4 grades, and ambient light illumination declines step by step, and corresponding soft light brightness increases step by step, and every grade of increment is t/4.Work as light The ambient light illumination that dependent sensor obtains is positioned at (3t/4, when t), corresponding soft light grade is 1 grade ..., ambient light illumination position When (0, t/4), corresponding soft light grade is 4 grades.
Step 302, opens Face datection algorithm, obtains the face information in current preview frame data in real time.
Further, face information is carried out with Analysis of age, obtains the age information of face.Due to child (particularly baby Child) eyes be in the stage of development, under strong light environment eyes be highly susceptible to injure.Therefore, using flash lamp (after Put and take pictures) or during soft light (preposition take pictures), need the brightness of suitable control flash lamp or soft light, protect to a certain extent Demonstrate,prove the purpose reaching protect eyes while taking pictures effect.
Further, four grades will be also classified into the age, correspond to respectively: child, teenager, grow up, old.For each Age bracket, is respectively provided with a maximum brightness grade that can bear.
Child's corresponding grade 1, teenager corresponding grade 2, it is unrestricted to grow up, old corresponding grade 3.
Step 303, the age according to the person of being taken simultaneously combines current environment light intensity suitable soft light brightness of acquisition etc. Level (if when there is the face information of 2 and more than 2 in current preview interface, with the information of age reckling for judge according to According to), choose less brightness degree as the brightness degree of soft light.
(take minimum when the corresponding brightness degree of ambient light illumination exceedes the age of user information obtaining in current preview picture Brightness degree) corresponding brightness degree when, the corresponding brightness degree of age of user information is defined.
Step 304, according to step 303 soft light brightness degree, opens soft light, and shows current in real time at interface of taking pictures Soft light grade.
Wherein, if current soft light brightness degree does not meet the actual demand of user, the manually adjustable soft light of user Brightness degree, to obtain desired soft light brightness value.
In the above embodiment of the present invention, when being taken pictures by the first photographic head of this mobile terminal, by obtaining The corresponding first soft light brightness degree of ambient light illumination residing for mobile terminal, and in the first photographic head preview frame data The corresponding second soft light brightness degree of age of user information, the junior in both selections is as the soft light of mobile terminal Brightness degree;Consider ambient light illumination and the age information of user, realize soft light brightness scalable, ensureing to take pictures The purpose of protect eyes is reached while effect.The brightness that the present invention solves the soft light of existing mobile terminal is typically solid Fixed it is impossible to the problem that is adjusted of the situation of light filling intensity according to needed for photographer's local environment and photographer itself.
3rd embodiment
Referring to Fig. 4, the third embodiment of the present invention provides a kind of mobile terminal 400, the mobile terminal 400 shown in Fig. 4 Including acquisition module 401, determining module 402 and adjusting module 403, and acquisition module 401 is connected with determining module 402, really Cover half block 402 is connected with adjusting module 403.
Wherein, acquisition module 401, for obtaining the ambient light illumination and first of the first photographic head of mobile terminal 400 The age information of the user in the preview frame data of photographic head.
Wherein, the first photographic head of mobile terminal 400 can be front-facing camera or post-positioned pick-up head.First photographic head Preview frame data are the frame data of the preview interface of the first photographic head, obtain the age letter defining user from preview frame data Breath.Ambient light illumination is usually said lux degree, represents that the luminous flux being subject in body surfaces unit area (refers to human eye institute Sentient radiant power).
Determining module 402, for the age information according to ambient light illumination and user, determines the sheen of mobile terminal 400 Lamp brightness degree.
Wherein, soft light is light compensating lamp, and the brightness of existing mobile terminal 400 soft light is usually fixed, and does not examine Consider the illuminance of photographer's local environment, it is too bright in the case that ambient light illumination is higher so to may result in soft light, or It is not bright in the case that ambient light illumination is relatively low;And do not consider the own situation of user, and such as child, may be uncomfortable For stronger soft light brightness, the eyes due to child's (particularly infant) are in the stage of development, under strong light environment Eyes are highly susceptible to injure.Therefore, when taking pictures using soft light, need the bright of suitable control flash lamp or soft light Degree.
Adjusting module 403, for according to soft light brightness degree, adjusting the soft light brightness of mobile terminal 400.
Wherein, the soft light brightness degree being determined according to determining module 402, adjustment mobile terminal 400 is by photographic head Soft light brightness when taking pictures.
Alternatively, referring to Fig. 5, determining module 402 includes:
First determination sub-module 4021, for determining first soft light brightness degree corresponding with ambient light illumination;
Second determination sub-module 4022, for determining second soft light brightness degree corresponding with the age information of user;
3rd determination sub-module 4023, for determining in the first soft light brightness degree and the second soft light brightness degree Junior, as the soft light brightness degree of mobile terminal 400.
Alternatively, the first determination sub-module 4021 is used for:
Determine that the first illuminance belonging to ambient light illumination is interval, wherein, each illuminance interval is by continuous environment Multiple mutually misaligned intervals that illuminance division obtains;
According to interval the first corresponding relation and soft light brightness degree between of illuminance set in advance, determine the first light The interval corresponding first soft light brightness degree of illumination.
Alternatively, referring to Fig. 5, acquisition module 401 includes:
First acquisition submodule 4011, for obtaining the ring of the first photographic head by the light sensor of mobile terminal 400 Border illuminance, wherein the distance of light sensor and the first photographic head is in a predeterminable range;
Second acquisition submodule 4012, for obtaining the age information of the user in the preview frame data of the first photographic head.
Alternatively, referring to Fig. 5, the second acquisition submodule 4012 includes:
Acquiring unit 40121, for obtaining the facial information of the user in the preview frame data of the first photographic head;
Determining unit 40122, according to default face recognition algorithm, determines user's corresponding with the facial information of user Age information.
Alternatively, the second determination sub-module 4022 is used for:
Determine the first age range belonging to the age information of user, wherein, each age range is by the continuous age Divide the multiple mutually misaligned intervals obtaining;
According to the second corresponding relation between age range set in advance and soft light brightness degree, determined for the first age Interval corresponding second soft light brightness degree.
Alternatively, the second determination sub-module 4022 is additionally operable to:
When there is multiple user in the preview frame data of the first photographic head, with age information reckling corresponding age area Between interval as First Year age.
In the above embodiment of the present invention, when being taken pictures by the first photographic head of this mobile terminal 400, by obtaining Take the corresponding first soft light brightness degree of the ambient light illumination residing for mobile terminal 400, and the first photographic head preview frame number According in the corresponding second soft light brightness degree of age of user information, choose the two in junior as mobile terminal 400 Soft light brightness degree;Consider ambient light illumination and the age information of user, realize soft light brightness scalable, The purpose of protect eyes is reached while ensureing to take pictures effect.The present invention solves the soft light of existing mobile terminal 400 Brightness be usually fixed it is impossible to the situation of light filling intensity according to needed for photographer's local environment and photographer itself is entered The problem of row adjustment.
Fourth embodiment
Fig. 6 is the block diagram of the mobile terminal of fourth embodiment of the invention.Mobile terminal 600 shown in Fig. 6 includes: at least one Individual processor 601, memorizer 602, at least one network interface 604 and other users interface 603.In mobile terminal 600 Each assembly is coupled by bus system 605.It is understood that bus system 605 is used for realizing the company between these assemblies Connect letter.Bus system 605, in addition to including data/address bus, also includes power bus, controlling bus and status signal bus in addition.But It is for the sake of clear explanation, in figure 6 various buses are all designated as bus system 605.
Wherein, user interface 603 can include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memorizer 602 in the embodiment of the present invention can be volatile memory or nonvolatile memory, Or may include volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read only memory (read- Only memory, rom), programmable read only memory (programmable rom, prom), the read-only storage of erasable programmable Device (erasable prom, eprom), Electrically Erasable Read Only Memory (electrically eprom, eeprom) or Flash memory.Volatile memory can be random access memory (random access memory, ram), and it is used as outside high Speed caching.By exemplary but be not restricted explanation, the ram of many forms can use, such as static RAM (static ram, sram), dynamic random access memory (dynamic ram, dram), Synchronous Dynamic Random Access Memory (synchronous dram, sdram), double data speed synchronous dynamic RAM (double datarate Sdram, ddrsdram), enhancement mode Synchronous Dynamic Random Access Memory (enhanced sdram, esdram), synchronized links Dynamic random access memory (synchlinkdram, sldram) and direct rambus random access memory (directrambusram, drram).The memorizer 602 of system and method described herein be intended to including but not limited to these and The memorizer of any other suitable type.
In some embodiments, memorizer 602 stores following element, executable module or data structure, or Their subset of person, or their superset: operating system 6021 and application program 6022.
Wherein, operating system 6021, comprise various system programs, such as ccf layer, core library layer, driving layer etc., are used for Realize various basic businesses and process hardware based task.Application program 6022, comprises various application programs, such as media Player (media player), browser (browser) etc., are used for realizing various applied business, realize the embodiment of the present invention The program of method may be embodied in application program 6022.
In embodiments of the present invention, can be by calling program or the instruction of memorizer 602 storage, specifically, application The program of storage or instruction in program 6022, processor 601 is used for: obtains the ambient light illumination of the first photographic head of mobile terminal And first photographic head preview frame data in user age information;According to the age information of ambient light illumination and user, Determine the soft light brightness degree of mobile terminal;According to soft light brightness degree, adjust the soft light brightness of mobile terminal.
The method that the embodiments of the present invention disclose can apply in processor 601, or is realized by processor 601. Processor 601 is probably a kind of IC chip, has the disposal ability of signal.Realize during, said method each Step can be completed by the instruction of the integrated logic circuit of the hardware in processor 601 or software form.Above-mentioned process Device 601 can be general processor, digital signal processor (digital signal processor, dsp), special integrated electricity Road (application specific integrated circuit, asic), field programmable gate array (field Programmable gate array, fpga) or other PLDs, discrete gate or transistor logic, Discrete hardware components.Can realize or execute disclosed each method in the embodiment of the present invention, step and logic diagram.General Processor can be microprocessor or this processor can also be any conventional processor etc..In conjunction with embodiment of the present invention institute The step of disclosed method can be embodied directly in hardware decoding processor execution and complete, or with the hardware in decoding processor And software module combination execution completes.Software module may be located at random access memory, and flash memory, read only memory are programmable read-only In the ripe storage medium in this area such as memorizer or electrically erasable programmable memory, depositor.This storage medium is located at Memorizer 602, processor 601 reads the information in memorizer 602, the step completing said method in conjunction with its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its Combine and to realize.Hardware is realized, processing unit can be implemented in one or more special IC (application Specific integrated circuit, asic), digital signal processor (digital signal processor, Dsp), digital signal processing appts (dsp device, dspd), programmable logic device (programmable logic Device, pld), field programmable gate array (field programmable gate array, fpga), general processor, Controller, microcontroller, microprocessor, for executing in other electronic units or a combination thereof of herein described function.
Software is realized, can be realized herein by executing the module (such as process, function etc.) of function described herein Described technology.Software code is storable in memorizer and passes through computing device.Memorizer can within a processor or Realize outside processor.
Alternatively, as another embodiment, processor 601 is additionally operable to: determines that corresponding with ambient light illumination first is soft Light lamp brightness degree;Determine second soft light brightness degree corresponding with the age information of user;Determine the first soft light brightness Junior in grade and the second soft light brightness degree, as the soft light brightness degree of mobile terminal.
Alternatively, as another embodiment, processor 601 is additionally operable to: determines the first illumination belonging to ambient light illumination Degree is interval, and wherein, each illuminance interval is to divide, by continuous ambient light illumination, the multiple mutually misaligned intervals obtaining;Root According to interval the first corresponding relation and soft light brightness degree between of illuminance set in advance, determine that the first illuminance interval is right The the first soft light brightness degree answered.
Alternatively, as another embodiment, processor 601 is additionally operable to: is obtained by the light sensor of mobile terminal The ambient light illumination of the first photographic head, wherein, the distance of light sensor and the first photographic head is in a predeterminable range;Obtain the The age information of the user in the preview frame data of one photographic head.
Alternatively, as another embodiment, processor 601 is additionally operable to: obtains in the preview frame data of the first photographic head User facial information;According to default face recognition algorithm, determine the age of user corresponding with the facial information of user Information.
Alternatively, as another embodiment, processor 601 is additionally operable to: determines first belonging to the age information of user Age range, wherein, each age range is to divide, by the continuous age, the multiple mutually misaligned intervals obtaining;According in advance The second corresponding relation between the age range setting and soft light brightness degree, determines that the first age range is corresponding second soft Light lamp brightness degree.
Alternatively, as another embodiment, processor 601 is additionally operable to: when depositing in the preview frame data of the first photographic head In multiple user, using the corresponding age range of age information reckling as the first age range.
Mobile terminal 600 is capable of each process that in previous embodiment, mobile terminal is realized, for avoiding repeating, here Repeat no more.
The mobile terminal 600 of the embodiment of the present invention, is being entered by the first photographic head of this mobile terminal by processor 601 When row is taken pictures, by obtaining the corresponding first soft light brightness degree of ambient light illumination residing for mobile terminal, and first takes the photograph As the corresponding second soft light brightness degree of age of user information in head preview frame data, choose the junior's conduct in the two The brightness degree of the soft light of mobile terminal;Consider ambient light illumination and the age information of user, realize soft light bright Degree scalable, reaches the purpose of protect eyes while ensureing to take pictures effect.The present invention solves existing mobile terminal That the brightness of soft light is usually fixed it is impossible to light filling intensity according to needed for photographer's local environment and photographer itself The problem that situation is adjusted.
5th embodiment
Fig. 7 is the structure chart of the mobile terminal that fifth embodiment of the invention provides.Specifically, the mobile terminal 700 in Fig. 7 Can be mobile phone, panel computer, personal digital assistant (personal digital assistant, pda) or vehicle-mounted computer Deng.
Mobile terminal 700 in Fig. 7 includes radio frequency (radio frequency, rf) circuit 710, memorizer 720, input Unit 730, display unit 740, processor 750, wifi (wireless fidelity) module 760, voicefrequency circuit 770, power supply 780.
Wherein, input block 730 can be used for numeral or the character information of receiving user's input, and produces and mobile terminal 700 user setup and the relevant signal input of function control.
Specifically, in the embodiment of the present invention, this input block 730 can include contact panel 731.Contact panel 731, Referred to as touch screen, can collect user thereon or neighbouring touch operation (such as user uses finger, stylus etc. any suitable The operation on contact panel 731 of object or adnexa), and corresponding attachment means are driven according to formula set in advance.Optional , contact panel 731 may include touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus detection is used The touch orientation at family, and detect the signal that touch operation brings, transmit a signal to touch controller;Touch controller is from touch Receive touch information in detection means, and be converted into contact coordinate, then give this processor 750, and can receiving processor 750 orders sent simultaneously are executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Contact panel 731 realized by type.Except contact panel 731, input block 730 can also include other input equipments 732, and other are defeated Enter equipment 732 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, One or more of mouse, action bars etc..
Wherein, display unit 740 can be used for showing by the information of user input or the information and the movement that are supplied to user The various menu interfaces of terminal 700.Display unit 740 may include display floater 741, optionally, can adopt lcd or organic The forms such as optical diode (organic light-emitting diode, oled) are configuring display floater 741.
It should be noted that contact panel 731 can cover display floater 741, form touch display screen, when the inspection of this touch display screen Measure thereon or after neighbouring touch operation, send processor 750 to determine the type of touch event, with preprocessor 750 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and conventional control viewing area.This Application Program Interface viewing area And the arrangement mode of this conventional control viewing area does not limit, can for being arranged above and below, left-right situs etc. can distinguish two and show Show the arrangement mode in area.This Application Program Interface viewing area is displayed for the interface of application program.Each interface is permissible Comprise the interface elements such as icon and/or the widget desktop control of at least one application program.This Application Program Interface viewing area It can also be the empty interface not comprising any content.This conventional control viewing area is used for showing the higher control of utilization rate, for example, Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..
In embodiments of the present invention, by call store this first memory 721 in software program and/or module and/ Or the data in this second memory 722, processor 750 is used for: obtains the ambient light illumination of the first photographic head of mobile terminal And first photographic head preview frame data in user age information;According to the age information of ambient light illumination and user, Determine the soft light brightness degree of mobile terminal;According to soft light brightness degree, adjust the soft light brightness of mobile terminal.
Alternatively, as another embodiment, processor 750 is additionally operable to: determines that corresponding with ambient light illumination first is soft Light lamp brightness degree;Determine second soft light brightness degree corresponding with the age information of user;Determine the first soft light brightness Junior in grade and the second soft light brightness degree, as the soft light brightness degree of mobile terminal.
Alternatively, as another embodiment, processor 750 is additionally operable to: determines the first illumination belonging to ambient light illumination Degree is interval, and wherein, each illuminance interval is to divide, by continuous ambient light illumination, the multiple mutually misaligned intervals obtaining;Root According to interval the first corresponding relation and soft light brightness degree between of illuminance set in advance, determine that the first illuminance interval is right The the first soft light brightness degree answered.
Alternatively, as another embodiment, processor 750 is additionally operable to: is obtained by the light sensor of mobile terminal The ambient light illumination of the first photographic head, wherein the distance of light sensor and the first photographic head is in a predeterminable range;Obtain the The age information of the user in the preview frame data of one photographic head.
Alternatively, as another embodiment, processor 750 is additionally operable to: obtains in the preview frame data of the first photographic head User facial information;According to default face recognition algorithm, determine the age of user corresponding with the facial information of user Information.
Alternatively, as another embodiment, processor 750 is additionally operable to: determines first belonging to the age information of user Age range, wherein, each age range is to divide, by the continuous age, the multiple mutually misaligned intervals obtaining;According in advance The second corresponding relation between the age range setting and soft light brightness degree, determines that the first age range is corresponding second soft Light lamp brightness degree.
Alternatively, as another embodiment, processor 750 is additionally operable to: when depositing in the preview frame data of the first photographic head In multiple user, using the corresponding age range of age information reckling as the first age range.
Mobile terminal 700 is capable of each process that in previous embodiment, mobile terminal is realized, for avoiding repeating, here Repeat no more.
The mobile terminal 700 of the embodiment of the present invention, is being entered by the first photographic head of this mobile terminal by processor 750 When row is taken pictures, by obtaining the corresponding first soft light brightness degree of ambient light illumination residing for mobile terminal, and first takes the photograph As the corresponding second soft light brightness degree of age of user information in head preview frame data, choose the junior's conduct in the two The brightness degree of the soft light of mobile terminal;Consider ambient light illumination and the age information of user, realize soft light bright Degree scalable, reaches the purpose of protect eyes while ensureing to take pictures effect.The present invention solves existing mobile terminal That the brightness of soft light is usually fixed it is impossible to light filling intensity according to needed for photographer's local environment and photographer itself The problem that situation is adjusted.
Those of ordinary skill in the art are it is to be appreciated that combine the list of each example of the embodiments described herein description Unit and algorithm steps, being capable of being implemented in combination in electronic hardware or computer software and electronic hardware.These functions are actually To be executed with hardware or software mode, the application-specific depending on technical scheme and design constraint.Professional and technical personnel Each specific application can be used different methods to realize described function, but this realization is it is not considered that exceed The scope of the present invention.
Those skilled in the art can be understood that, for convenience and simplicity of description, the system of foregoing description, Device and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
It should be understood that disclosed apparatus and method in embodiment provided herein, can pass through other Mode is realized.For example, device embodiment described above is only schematically, for example, the division of described unit, it is only A kind of division of logic function, actual can have other dividing mode when realizing, for example multiple units or assembly can in conjunction with or Person is desirably integrated into another system, or some features can be ignored, or does not execute.Another, shown or discussed is mutual Between coupling or direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING of device or unit or communication link Connect, can be electrical, mechanical or other forms.
The described unit illustrating as separating component can be or may not be physically separate, show as unit The part showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.The mesh to realize this embodiment scheme for some or all of unit therein can be selected according to the actual needs 's.
In addition, can be integrated in a processing unit in each functional unit in each embodiment of the present invention it is also possible to It is that unit is individually physically present it is also possible to two or more units are integrated in a unit.
If described function realized using in the form of SFU software functional unit and as independent production marketing or use when, permissible It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words Partly being embodied in the form of software product of part that prior art is contributed or this technical scheme, this meter Calculation machine software product is stored in a storage medium, including some instructions with so that a computer equipment (can be individual People's computer, server, or network equipment etc.) execution each embodiment methods described of the present invention all or part of step. And aforesaid storage medium includes: u disk, portable hard drive, rom, ram, magnetic disc, CD etc. are various can be with Jie of store program codes Matter.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, and any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, all should contain Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (14)

1. a kind of luminance regulating method, is applied to mobile terminal it is characterised in that methods described includes:
Obtain the use in the ambient light illumination of the first photographic head of mobile terminal and the preview frame data of described first photographic head The age information at family;
According to the age information of described ambient light illumination and described user, determine the soft light brightness degree of described mobile terminal;
According to described soft light brightness degree, adjust the soft light brightness of described mobile terminal.
2. method according to claim 1 is it is characterised in that the described year according to described ambient light illumination and described user Age information, the step determining the soft light brightness degree of described mobile terminal, comprising:
Determine first soft light brightness degree corresponding with described ambient light illumination;
Determine second soft light brightness degree corresponding with the age information of described user;
Determine the junior in described first soft light brightness degree and described second soft light brightness degree, as described movement The soft light brightness degree of terminal.
3. method according to claim 2 is it is characterised in that described determination is corresponding with described ambient light illumination first soft The step of light lamp brightness degree, comprising:
Determine that the first illuminance belonging to described ambient light illumination is interval, wherein, each illuminance interval is by continuous environment Multiple mutually misaligned intervals that illuminance division obtains;
According to interval the first corresponding relation and soft light brightness degree between of illuminance set in advance, determine described first light The interval corresponding first soft light brightness degree of illumination.
4. method according to claim 2 is it is characterised in that the ambient light of the first photographic head of described acquisition mobile terminal The step of the age information of user in the preview frame data of illumination and described first photographic head, comprising:
Obtain the ambient light illumination of described first photographic head by the light sensor of described mobile terminal, wherein, described photosensitive The distance of sensor and described first photographic head is in a predeterminable range;
Obtain the age information of the user in the preview frame data of described first photographic head.
5. method according to claim 4 is it is characterised in that in the preview frame data of described first photographic head of described acquisition The age information of user step, comprising:
Obtain the facial information of the user in the preview frame data of described first photographic head;
According to default face recognition algorithm, determine the age information of user corresponding with the facial information of described user.
6. method according to claim 5 is it is characterised in that described determination corresponding with the age information of described user The step of two soft light brightness degrees, comprising:
Determine the first age range belonging to the age information of described user, wherein, each age range is by the continuous age Divide the multiple mutually misaligned intervals obtaining;
According to the second corresponding relation between age range set in advance and soft light brightness degree, determine described first age Interval corresponding second soft light brightness degree.
7. method according to claim 6 it is characterised in that the described user of described determination belonging to age information first The step of age range, comprising:
When there is multiple user in the preview frame data of described first photographic head, with age information reckling corresponding age area Between interval as First Year age.
8. a kind of mobile terminal, including soft light it is characterised in that described mobile terminal also includes:
Acquisition module, for obtaining the ambient light illumination of the first photographic head and the preview of described first photographic head of mobile terminal The age information of the user in frame data;
Determining module, for the age information according to described ambient light illumination and described user, determines the soft of described mobile terminal Light lamp brightness degree;
Adjusting module, for according to described soft light brightness degree, adjusting the soft light brightness of described mobile terminal.
9. mobile terminal according to claim 8 is it is characterised in that described determining module includes:
First determination sub-module, for determining first soft light brightness degree corresponding with described ambient light illumination;
Second determination sub-module, for determining second soft light brightness degree corresponding with the age information of described user;
3rd determination sub-module, for determining in described first soft light brightness degree and described second soft light brightness degree Junior, as the soft light brightness degree of described mobile terminal.
10. mobile terminal according to claim 9 is it is characterised in that described first determination sub-module is used for:
Determine that the first illuminance belonging to described ambient light illumination is interval, wherein, each illuminance interval is by continuous environment Multiple mutually misaligned intervals that illuminance division obtains;
According to interval the first corresponding relation and soft light brightness degree between of illuminance set in advance, determine described first light The interval corresponding first soft light brightness degree of illumination.
11. mobile terminals according to claim 9 are it is characterised in that described acquisition module includes:
First acquisition submodule, for obtaining the ambient light of described first photographic head by the light sensor of described mobile terminal Illumination, wherein, the distance of described light sensor and described first photographic head is in a predeterminable range;
Second acquisition submodule, for obtaining the age information of the user in the preview frame data of described first photographic head.
12. mobile terminals according to claim 11 are it is characterised in that described second acquisition submodule includes:
Acquiring unit, for obtaining the facial information of the user in the preview frame data of described first photographic head;
Determining unit, for according to default face recognition algorithm, determining user's corresponding with the facial information of described user Age information.
13. mobile terminals according to claim 12 are it is characterised in that described second determination sub-module is used for:
Determine the first age range belonging to the age information of described user, wherein, each age range is by the continuous age Divide the multiple mutually misaligned intervals obtaining;
According to the second corresponding relation between age range set in advance and soft light brightness degree, determine described first age Interval corresponding second soft light brightness degree.
14. mobile terminals according to claim 13 are it is characterised in that described second determination sub-module is additionally operable to:
When there is multiple user in the preview frame data of described first photographic head, with age information reckling corresponding age area Between interval as First Year age.
CN201611056100.1A 2016-11-24 2016-11-24 Brightness adjustment method and mobile terminal Pending CN106357989A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611056100.1A CN106357989A (en) 2016-11-24 2016-11-24 Brightness adjustment method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611056100.1A CN106357989A (en) 2016-11-24 2016-11-24 Brightness adjustment method and mobile terminal

Publications (1)

Publication Number Publication Date
CN106357989A true CN106357989A (en) 2017-01-25

Family

ID=57862688

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611056100.1A Pending CN106357989A (en) 2016-11-24 2016-11-24 Brightness adjustment method and mobile terminal

Country Status (1)

Country Link
CN (1) CN106357989A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107564481A (en) * 2017-08-24 2018-01-09 四川长虹电器股份有限公司 The eyeshield mode tuning system of display device
CN107967418A (en) * 2017-11-28 2018-04-27 维沃移动通信有限公司 Face identification method and mobile terminal
CN110876022A (en) * 2018-09-04 2020-03-10 上海博泰悦臻网络技术服务有限公司 Face light supplement method, face light supplement device and vehicle
CN112714248A (en) * 2019-10-25 2021-04-27 三星电子株式会社 Maintaining a peak intensity frame as a preview frame in a slow motion mode of an electronic device
CN112752010A (en) * 2019-10-29 2021-05-04 北京小米移动软件有限公司 Shooting method, device and medium
CN116456010A (en) * 2023-06-15 2023-07-18 荣耀终端有限公司 Optical module and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060203107A1 (en) * 2003-06-26 2006-09-14 Eran Steinberg Perfecting of digital image capture parameters within acquisition devices using face detection
US20130314581A1 (en) * 2012-05-23 2013-11-28 Sony Corporation Electronic mirror device, electronic mirror display method, and electronic mirror program
CN104506778A (en) * 2014-12-22 2015-04-08 厦门美图之家科技有限公司 Flashlight control method and device based on age estimation
CN105245787A (en) * 2015-09-14 2016-01-13 努比亚技术有限公司 Photographing control method and mobile terminal thereof
CN105791681A (en) * 2016-02-29 2016-07-20 广东欧珀移动通信有限公司 Control method, control device and electronic device
CN106131341A (en) * 2016-08-22 2016-11-16 维沃移动通信有限公司 A kind of photographic method and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060203107A1 (en) * 2003-06-26 2006-09-14 Eran Steinberg Perfecting of digital image capture parameters within acquisition devices using face detection
US20130314581A1 (en) * 2012-05-23 2013-11-28 Sony Corporation Electronic mirror device, electronic mirror display method, and electronic mirror program
CN104506778A (en) * 2014-12-22 2015-04-08 厦门美图之家科技有限公司 Flashlight control method and device based on age estimation
CN105245787A (en) * 2015-09-14 2016-01-13 努比亚技术有限公司 Photographing control method and mobile terminal thereof
CN105791681A (en) * 2016-02-29 2016-07-20 广东欧珀移动通信有限公司 Control method, control device and electronic device
CN106131341A (en) * 2016-08-22 2016-11-16 维沃移动通信有限公司 A kind of photographic method and mobile terminal

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107564481A (en) * 2017-08-24 2018-01-09 四川长虹电器股份有限公司 The eyeshield mode tuning system of display device
CN107967418A (en) * 2017-11-28 2018-04-27 维沃移动通信有限公司 Face identification method and mobile terminal
CN107967418B (en) * 2017-11-28 2022-05-20 维沃移动通信有限公司 Face recognition method and mobile terminal
CN110876022A (en) * 2018-09-04 2020-03-10 上海博泰悦臻网络技术服务有限公司 Face light supplement method, face light supplement device and vehicle
CN112714248A (en) * 2019-10-25 2021-04-27 三星电子株式会社 Maintaining a peak intensity frame as a preview frame in a slow motion mode of an electronic device
CN112752010A (en) * 2019-10-29 2021-05-04 北京小米移动软件有限公司 Shooting method, device and medium
CN112752010B (en) * 2019-10-29 2022-07-22 北京小米移动软件有限公司 Shooting method, device and medium
CN116456010A (en) * 2023-06-15 2023-07-18 荣耀终端有限公司 Optical module and electronic device
CN116456010B (en) * 2023-06-15 2024-04-05 荣耀终端有限公司 Electronic equipment

Similar Documents

Publication Publication Date Title
CN106357989A (en) Brightness adjustment method and mobile terminal
CN106131341A (en) A kind of photographic method and mobile terminal
CN106713780A (en) Control method for flash lamp and mobile terminal
CN106899803A (en) A kind of pan-shot light supplement control method and mobile terminal
CN106572349A (en) Camera cleanliness detection method and mobile terminal
CN106231187A (en) A kind of method shooting image and mobile terminal
CN106101569A (en) A kind of method of light filling of taking pictures and mobile terminal
CN106502605A (en) A kind of brightness of mobile terminal and color temperature adjusting method and device
CN105847680A (en) Camera power consumption control method and mobile terminal
CN107037659B (en) A kind of sheen lamp control method and mobile terminal
CN106161967A (en) A kind of backlight scene panorama shooting method and mobile terminal
CN106648035A (en) Image resolution adjusting method and mobile terminal
CN106657806A (en) Exposure method and mobile terminal
CN106506960A (en) A kind of processing method of view data and mobile terminal
CN107395978A (en) The control method and mobile terminal of a kind of camera module
CN105827872A (en) Control method of mobile terminal and mobile terminal
CN106407950A (en) Facial information identification method and mobile terminal
CN106227488A (en) The display packing of a kind of reminder message and mobile terminal
CN106357918A (en) Method for adjusting screen brightness and mobile terminal
CN106057169A (en) Eye protection method of mobile terminal and mobile terminal
CN106484354A (en) A kind of display brightness method of adjustment and mobile terminal
CN106412457A (en) Image processing method and mobile terminal
CN106855744A (en) A kind of screen display method and mobile terminal
CN107026982A (en) The photographic method and mobile terminal of a kind of mobile terminal
CN106408628A (en) Image processing method and image processing device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170125