CN105843501B - A kind of method of adjustment and mobile terminal of parameter of taking pictures - Google Patents

A kind of method of adjustment and mobile terminal of parameter of taking pictures Download PDF

Info

Publication number
CN105843501B
CN105843501B CN201610076877.8A CN201610076877A CN105843501B CN 105843501 B CN105843501 B CN 105843501B CN 201610076877 A CN201610076877 A CN 201610076877A CN 105843501 B CN105843501 B CN 105843501B
Authority
CN
China
Prior art keywords
touch
touch area
taking pictures
brightness
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610076877.8A
Other languages
Chinese (zh)
Other versions
CN105843501A (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.)
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 CN201610076877.8A priority Critical patent/CN105843501B/en
Publication of CN105843501A publication Critical patent/CN105843501A/en
Application granted granted Critical
Publication of CN105843501B publication Critical patent/CN105843501B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The embodiment of the invention provides a kind of methods of adjustment of parameter of taking pictures, the method of adjustment of the parameter of taking pictures is applied to the mobile terminal with camera, the method of adjustment of the parameter of taking pictures includes: to receive user in the touch operation in preview interface of taking pictures, according to the touch operation, determine touch area and touch pressure value, according to the touch area and touch pressure value, parameter of taking pictures is adjusted.The embodiment of the invention also provides a kind of corresponding mobile terminals.The method of adjustment of parameter provided in an embodiment of the present invention of taking pictures, it is only necessary to by the touch operation in preview interface of taking pictures, so that it may realize the adjustment for parameter of taking pictures.To solve existing parameter regulation means of taking pictures, parameter of taking pictures is adjusted in multilevel menu due to needing repeatedly to enter, leads to cumbersome and time-consuming problem.

Description

A kind of method of adjustment and mobile terminal of parameter of taking pictures
Technical field
The present invention relates to field of communication technology more particularly to a kind of methods of adjustment and mobile terminal of parameter of taking pictures.
Background technique
With being constantly progressive for science and technology, the performance of taking pictures of mobile terminal becomes to become better and better, people's increasingly preference It takes pictures in using mobile terminal.
When being taken pictures using mobile terminal, in order to obtain the photo of high quality, the bat to mobile terminal is generally required It is adjusted according to parameter, for example, adjusting time for exposure and sensitivity to change the brightness of photo, adjusts the position etc. of focusing.
In existing parameter adjustment technology of taking pictures, since the parameter adjustment menu of taking pictures in mobile terminal is usually multistage Menu, thus, during taking pictures, needs repeatedly to enter in multilevel menu and adjust parameter of taking pictures, it is cumbersome and time-consuming.
Summary of the invention
The embodiment of the present invention provides a kind of method of adjustment of parameter of taking pictures, to solve existing parameter regulation means of taking pictures, Parameter of taking pictures is adjusted in multilevel menu due to needing repeatedly to enter, and leads to cumbersome and time-consuming problem.
In a first aspect, a kind of method of adjustment of parameter of taking pictures is provided, it is described applied to the mobile terminal with camera The method of adjustment for parameter of taking pictures includes:
User is received in the touch operation in preview interface of taking pictures;
According to the touch operation, touch area and touch pressure value are determined;
According to the touch area and touch pressure value, parameter of taking pictures is adjusted.
Second aspect additionally provides a kind of mobile terminal, including camera, the mobile terminal further include:
Touch operation receiving module, for receiving user in the touch operation in preview interface of taking pictures;
Touch area and touch pressure value determining module, for according to the received touch of touch operation receiving module Operation, determines touch area and touch pressure value;
It takes pictures parameter adjustment module, for being touched according to determined by the touch area and touch pressure value determining module Region and touch pressure value adjust parameter of taking pictures.
In this way, by receiving user in the touch operation in preview interface of taking pictures, being grasped according to touching in the embodiment of the present invention Make, determine touch area and touch pressure value, according to touch area and touch pressure value, adjusts parameter of taking pictures, it is only necessary to pass through In the touch operation in preview interface of taking pictures, so that it may realize the adjustment for parameter of taking pictures.To solve existing parameter tune of taking pictures Adjusting method adjusts parameter of taking pictures due to needing repeatedly to enter, leads to cumbersome and time-consuming problem in multilevel menu.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings Obtain other attached drawings.
Fig. 1 is the flow chart of the first embodiment of the method for adjustment of parameter of the invention of taking pictures;
Fig. 2 is the flow chart of the second embodiment of the method for adjustment of parameter of the invention of taking pictures;
Fig. 3 is one of the structural block diagram of first embodiment of mobile terminal of the present invention;
Fig. 4 is the two of the structural block diagram of the first embodiment of mobile terminal of the present invention;
Fig. 5 is the three of the structural block diagram of the first embodiment of mobile terminal of the present invention;
Fig. 6 is the structural block diagram of the second embodiment of mobile terminal of the present invention;
Fig. 7 is the structural block diagram of the 3rd embodiment of mobile terminal of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
First embodiment
It referring to Fig.1, is the flow chart of the first embodiment of the method for adjustment of parameter of the invention of taking pictures, the tune of the parameter of taking pictures Adjusting method is applied to the mobile terminal with camera, and the method for adjustment of the parameter of taking pictures includes:
Step 101, user is received in the touch operation in preview interface of taking pictures.
Mobile terminal user opens application software of taking pictures, and application software of taking pictures carries out initial work, and carries out automatic white Balance, auto-focusing and automatic exposure finally show preview interface of taking pictures, show that camera is captured in preview interface taking pictures The picture arrived.
In embodiments of the present invention, when user needs to be adjusted parameter of taking pictures, preview interface of taking pictures can be touched Parameter of taking pictures is adjusted, parameter of taking pictures of the invention includes but is not limited to the weight parameter, the preceding depth of field and the rear depth of field of automatic exposure Focusing parameter.Parameter that the embodiment of the present invention was adjusted take pictures is the weight parameter of automatic exposure.
Step 102, according to the touch operation, touch area and touch pressure value are determined.
In this step, according to the touch operation received, touch area and touch pressure value are determined.Wherein, touch area For a predeterminable area centered on touch point, for example, it may be square area, a rectangle centered on touch point The size in region or border circular areas etc., touch area can be according to the customized setting of user.Touch pressure value is user's touch To the pressing dynamics for preview interface of taking pictures when preview interface of taking pictures, it is preferred that by the way that pressure sensor is arranged on mobile terminals, Touch pressure value is obtained by pressure sensor.
Step 103, according to the touch area and touch pressure value, parameter of taking pictures is adjusted.
In this step, according to the touch area and touch pressure value, adjusts parameter of taking pictures and specifically include: taking pictures described Preview interface is divided into N*M brightness statistics region, wherein N and M is the integer greater than 0;According to the touch area and touching Pressure value is touched, determines the luminance weights factor in each brightness statistics region;Obtain the brightness value in each brightness statistics region;According to Formula y11×w11+y12×w12+…+yNM×wNMThe brightness value in each brightness statistics region and the luminance weights factor are carried out Sum operation with coefficient obtains total luminance value, wherein y11、y12...yNMThe brightness value in respectively N*M brightness statistics region, w11、 w12...wNMThe luminance weights factor in respectively N*M brightness statistics region;By the total luminance value and preset target brightness value It is compared, when the total luminance value is not equal to preset target brightness value, the total luminance value is adjusted to the default mesh Mark brightness value.According to the total luminance value finally obtained, automatic exposure adjustment is re-started, allows picture shown by preview interface of taking pictures Face reaches automatic exposure stable state.
In the embodiment of the present invention, N and M are the integer greater than 0, and the value of N and M can be set according to actual needs, example Such as, it is set according to the size for preview interface of taking pictures, or is set according to the fineness for parameter regulation of taking pictures, in general, each brightness The size of statistical regions is answered equal.For example, the preview interface that can will take pictures is divided into 10*5,20*10 brightness statistics regions.
Wherein, according to the touch area and touch pressure value, the luminance weights factor in each brightness statistics region is determined It specifically includes: the touch area being determined as center brightness statistical regions, and non-tactile region is determined as non-central brightness Statistical regions;According to the corresponding relationship of preset touch pressure size and the luminance weights factor, the center brightness statistics is determined The luminance weights factor in region;It is right using default allocation rule based on the luminance weights factor of the center brightness statistical regions The luminance weights factor is distributed in the non-central brightness statistics region.
In the embodiment of the present invention, touch area includes one or more brightness statistics region, center brightness statistical regions It just include one or more brightness statistics region.Non-tactile region refer in preview interface of taking pictures except touch area included it is bright The brightness statistics region other than statistical regions is spent, if for example, there is 10*5 brightness statistics region, touch area includes 4 bright Spend statistical regions, then, non-tactile region include 4 brightness statistics regions included by the touch area in addition to 46 brightness Statistical regions.
In the embodiment of the present invention, the corresponding relationship of touch pressure size Yu the luminance weights factor can be preset, for example, Preset touch pressure size is corresponding with the luminance weights factor, and close can be with are as follows: the pressure rating of touch pressure, each pressure is arranged Power grade corresponds to a touch pressure range, and each pressure rating corresponds to a luminance weights factor, in this way, it is determined that touches pressure The size of power can determine the corresponding luminance weights factor.
In the embodiment of the present invention, when center brightness statistics region includes multiple brightness statistics regions, center brightness is determined For the luminance weights of statistical regions because of the period of the day from 11 p.m. to 1 a.m, the luminance weights factor in each brightness statistics region is identical.The embodiment of the present invention determines It, can based on center brightness statistical regions after the luminance weights factor in the brightness statistics region in center brightness statistical regions The luminance weights factor distributes the luminance weights factor to non-central brightness statistics region using default allocation rule.
The default allocation rule of the embodiment of the present invention can be according to the brightness system for being included with center brightness statistical regions The distance for counting region, the brightness statistics region distribution luminance weights factor for being included to non-central brightness statistics region carry out step by step Successively decrease, for example, it is assumed that the luminance weights factor in the brightness statistics region that center brightness statistical regions are included be 1, then with center The luminance weights factor in the adjacent brightness statistics region in the brightness statistics region that brightness statistics region is included can be 0.8, with The brightness statistics region that center brightness statistical regions are included has been separated by the bright of the brightness statistics region in a brightness statistics region Degree weight factor can be 0.6, and so on, the brightness statistics region for being included until distributing non-central brightness statistics region The luminance weights factor.Certainly, invention technician can also set other luminance weights factor allocation rules, the present invention Embodiment to this with no restriction.
For example, the preview interface that will take pictures is divided into 10*5 brightness statistics region, this available 10* of the embodiment of the present invention The brightness value in 5 brightness statistics regions.Total luminance value can be compared by the embodiment of the present invention with preset target brightness value, when When total luminance value is not equal to preset target brightness value, total luminance value is adjusted to preset target brightness value, if total luminance value is equal to When preset target brightness value, any adjustment can not be made.Wherein, preset target brightness value is preset desired level value, The photo of high quality can be obtained under preset target brightness value.
In the embodiment of the present invention, total luminance value is adjusted to preset target brightness value, and detailed process is as follows: adjustment exposure Time and luminance gain coefficient (i.e. sensitivity ISO), every adjustment single exposure time and luminance gain coefficient, by preview circle of taking pictures The brightness value in face is compared with preset target brightness value, if the brightness value for preview interface of taking pictures and preset target brightness value not phase Deng then continuing to adjust time for exposure and luminance gain coefficient, until the brightness value and preset target brightness value of preview interface of taking pictures It is equal.
The method of adjustment of the parameter of taking pictures of the embodiment of the present invention is grasped by receiving user in the touch in preview interface of taking pictures Make, according to touch operation, determine touch area and touch pressure value, according to the touch area and touch pressure value, determines every The luminance weights factor in a brightness statistics region, is then obtained by calculation total luminance value, by the total luminance value and default mesh Mark brightness value is compared, and when the total luminance value is not equal to preset target brightness value, the total luminance value is adjusted to institute Preset target brightness value is stated, according to the total luminance value finally obtained, re-starts automatic exposure adjustment, allows preview interface institute of taking pictures The picture of display reaches automatic exposure stable state.The method of adjustment of the parameter of taking pictures of the embodiment of the present invention, it is only necessary to pass through pressure Force snesor detects user in the touch operation in preview interface of taking pictures, and according to the touch area of user's touch operation and touches pressure The adjustment of the weight parameter of automatic exposure can be realized in force value, easy to operate.
Second embodiment
Referring to Fig. 2, for the flow chart of the second embodiment of the method for adjustment of parameter of the invention of taking pictures, the tune of the parameter of taking pictures Adjusting method is applied to the mobile terminal with camera, and the method for adjustment of the parameter of taking pictures includes:
Step 201, user is received in the touch operation in preview interface of taking pictures.
Mobile terminal user opens application software of taking pictures, and application software of taking pictures carries out initial work, and carries out automatic white Balance, auto-focusing and automatic exposure finally show preview interface of taking pictures, show that camera is captured in preview interface taking pictures The picture arrived.
In embodiments of the present invention, when user needs to be adjusted parameter of taking pictures, preview interface of taking pictures can be touched Adjust parameter of taking pictures, the Focusing parameter that parameter is the preceding depth of field and the rear depth of field that the embodiment of the present invention was adjusted take pictures.
Step 202, according to the touch operation, touch area and touch pressure value are determined.
In this step, according to the touch operation received, touch area and touch pressure value are determined.Wherein, touch area For a predeterminable area centered on touch point, for example, it may be square area, a rectangle centered on touch point The size in region or border circular areas etc., touch area can be according to the customized setting of user.Touch pressure value is user's touch To the pressing dynamics for preview interface of taking pictures when preview interface of taking pictures, it is preferred that by the way that pressure sensor is arranged on mobile terminals, Touch pressure value is obtained by pressure sensor.
Step 203, judge the touch area whether include the different depth of field object, if the touch area include difference The object of the depth of field thens follow the steps 204, otherwise terminates.
In the embodiment of the present invention, judge that the touch area whether include the objects of the different depth of field includes following two side Formula:
Mode one
Obtain the focal modes taken pictures;When the focal modes are common focusing, the touch area is divided into more Sub-regions;Obtain clarity change information of each subregion before and after camera is mobile;When being unsatisfactory for preset condition, sentence The fixed touch area includes the object of the different depth of field, and the preset condition is any two in acquired clarity change information A clarity change information is identical.
When acquired focal modes are common focusing, touch area is divided into multiple subregions, of subregion Number can be set according to actual needs, it is preferred that the size of each subregion is identical.
Each subregion is obtained during the clarity change information before and after camera is mobile, for example, it is assumed that will touching Touching region division is 9 sub-regions, is respectively labeled as a1~a9, the available subregion a of the embodiment of the present invention1~a9It is imaging The clarity change information of the mobile front and back of head, clarity change information can be subregion a1~a9Clarity situation of change, make For example, clarity change information can be camera it is mobile after relative to camera it is mobile before, the clarity of each subregion It becomes apparent from or becomes fuzzyyer.
When being unsatisfactory for preset condition, determine that the touch area includes the object of the different depth of field, wherein preset condition is Any two clarity change information is identical in acquired clarity change information, for example, there are certain subregions to become clear (such as a1~a5Subregion becomes clear), certain subregions fog (such as a6~a9Subregion fogs), then determine Petting Area Domain includes the object of the different depth of field;If a1~a9Subregion becomes clear or fogs, i.e. acquired clarity change information Middle any two clarity change information is identical, then determines touch area not and include the object of the different depth of field.
Mode two
Obtain the focal modes taken pictures;When the focal modes are that phase is focused, the touch area is divided into more Sub-regions;Calculate the phase difference between different subregions;Judge whether there is the phase difference greater than the second preset threshold;When depositing When being greater than the phase difference of the second preset threshold, determine that the touch area includes the object of the different depth of field.
When acquired focal modes are that phase is focused, touch area is divided into multiple subregions, of subregion Number can be set according to actual needs, in general, the size of each subregion is identical.
The phase of the available each subregion of the embodiment of the present invention, it is poor that the phase of different subregions is made, and calculates different Phase difference between subregion.For example, it is assumed that there is subregion a1~a9, then subregion a is obtained respectively1~a9Phase, then count Operator region a1~a9Phase difference between any two.
Second preset threshold of the embodiment of the present invention can be set according to actual needs, and the embodiment of the present invention does not limit this System.
In the embodiment of the present invention, when there is the phase difference for being greater than the second preset threshold, determine that touch area includes difference The object of the depth of field.For example, for subregion a1~a9If subregion a1With subregion a3, subregion a2With subregion a6, subregion a8With subregion a9Phase difference be greater than the second preset threshold, then determine that touch area includes the object of the different depth of field.When being not present Greater than the second preset threshold phase difference when, determine touch area do not include the different depth of field object.
Step 204, when the touch area includes the object of the different depth of field, judge whether the touch pressure value is greater than Or it is equal to the first preset threshold, if the touch pressure value is greater than or equal to the first preset threshold, 205 are thened follow the steps, otherwise Execute step 206.
In the embodiment of the present invention, the first preset threshold can be set according to actual needs, and the embodiment of the present invention does not make this Limitation.
Step 205, when the touch pressure value is greater than or equal to first preset threshold, by the touch area tune Whole is rear depth of field region.
When touch pressure value be greater than or equal to the first preset threshold when, touch area is adjusted to rear depth of field region, also that is, Depth of field region after touch area is focused.
Step 206, when the touch pressure value is less than first preset threshold, before the touch area is adjusted to Depth of field region.
When touch pressure value is less than the first preset threshold, touch area is adjusted to rear depth of field region, also that is, will touch Depth of field region focusing before region.
The method of adjustment of the parameter of taking pictures of the embodiment of the present invention is grasped by receiving user in the touch in preview interface of taking pictures Make, according to touch operation, determines touch area and touch pressure value, when the touch area includes the object of the different depth of field, Judge whether the touch pressure value is greater than or equal to the first preset threshold, when the touch pressure value is greater than or equal to described the When one preset threshold, the touch area is adjusted to rear depth of field region, is preset when the touch pressure value is less than described first When threshold value, depth of field region before the touch area is adjusted to.The method of adjustment of the parameter of taking pictures of the embodiment of the present invention, it is only necessary to Detect user in the touch operation in preview interface of taking pictures by pressure sensor, according to the touch area of user's touch operation and The adjustment of the Focusing parameter of the preceding depth of field and the rear depth of field can be realized in touch pressure value, easy to operate.
3rd embodiment
Fig. 3 is one of the structural block diagram of first embodiment of mobile terminal of the present invention.Mobile terminal 300 shown in Fig. 3 wraps Include camera and pressure sensor, mobile terminal 300 further include:
Touch operation receiving module 301, for receiving user in the touch operation in preview interface of taking pictures;
Touch area and touch pressure value determining module 302, for being received according to the touch operation receiving module 301 Touch operation, determine touch area and touch pressure value;
Parameter adjustment module of taking pictures 303, for being determined according to the touch area and touch pressure value determining module 302 Touch area and touch pressure value, adjustment take pictures parameter.
Preferably, parameter adjustment module of taking pictures 303 specifically includes:
Preview interface of taking pictures division unit 3031, for the preview interface of taking pictures to be divided into N*M brightness statistics area Domain, wherein N and M is the integer greater than 0;
Luminance weights factor specifying unit 3032, for determining the bat according to the touch area and touch pressure value According to the luminance weights factor in each brightness statistics region that preview interface division unit 3031 is divided;
Brightness value acquiring unit 3033, for obtain the preview interface division unit 3031 of taking pictures each of divided it is bright Spend the brightness value of statistical regions;
Total luminance value computing unit 3034, for according to formula y11×w11+y12×w12+…+yNM×wNMBy the brightness The bright luminance weights factor in each brightness statistics region determined by weight factor determination unit 3032 and the brightness value obtain The brightness value in each brightness statistics region acquired in unit 3033 is weighted summation operation, obtains total luminance value, wherein y11、y12...yNMThe brightness value in respectively N*M brightness statistics region, w11、w12...wNMRespectively N*M brightness statistics region The luminance weights factor;
Total luminance value adjustment unit 3035, for the total luminance value computing unit 3034 to be calculated the total luminance value obtained It is compared with preset target brightness value, when the total luminance value is not equal to preset target brightness value, by the total luminance value It is adjusted to the preset target brightness value.
Preferably, luminance weights factor specifying unit 3032 specifically includes:
First determines subelement 30321, for the touch area to be determined as center brightness statistical regions, and will be non-touch It touches region and is determined as non-central brightness statistics region;
Second determines subelement 30322, for closing according to preset touch pressure size is corresponding with the luminance weights factor System determines the described first luminance weights factor for determining center brightness statistical regions determined by subelement 30321;
Luminance weights Factor minute match subelement 30323, for the luminance weights based on the center brightness statistical regions because Son determines that non-central brightness statistics region distribution determined by subelement 30321 is bright to described first using default allocation rule Spend weight factor.
Preferably, parameter adjustment module of taking pictures 303 specifically includes:
First judging unit 3036, for judge the touch area whether include the different depth of field object;
Second judgment unit 3037, for determining that touch area includes the different depth of field when first judging unit 3036 When object, judge whether the touch pressure value is greater than or equal to the first preset threshold;
First touch area adjustment unit 3038, for determining that touch pressure value is greater than when the second judgment unit 3037 Or when being equal to first preset threshold, the touch area is adjusted to rear depth of field region;
Second touch area adjustment unit 3039, for determining that touch pressure value is less than when the second judgment unit 3037 When first preset threshold, depth of field region before the touch area is adjusted to.
Preferably, the first judging unit 3036 specifically includes:
First focal modes obtain subelement 30361, for obtaining the focal modes taken pictures;
First touch area divides subelement 30362, for being obtained when first focal modes obtain subelement 30361 When the focal modes taken are common focusing, the touch area is divided into multiple subregions;
Clarity change information obtains subelement 30363, divides subelement 30362 for obtaining first touch area Clarity change information of each subregion divided before and after camera is mobile;
First determines subelement 30364, for when being unsatisfactory for preset condition, determining that the touch area includes different scapes Deep object, the preset condition are that the clarity change information obtains the variation letter of clarity acquired in subelement 30363 Any two clarity change information is identical in breath.
Second focal modes obtain subelement 30365, for obtaining the focal modes taken pictures;
Second touch area divides subelement 30366, for being obtained when second focal modes obtain subelement 30365 When the focal modes taken are that phase is focused, the touch area is divided into multiple subregions;
Phase difference calculating subelement 30367 divides what subelement 30366 was divided for calculating second touch area Phase difference in multiple subregions between different subregions;
Judgment sub-unit 30368, for judging whether there is the phase difference for being greater than the second preset threshold;
Second determines subelement 30369, for being greater than the second preset threshold when the judgment sub-unit 30368 determines to exist Phase difference when, determine that the touch area includes the object of the different depth of field.
Mobile terminal 300 can be realized each process that mobile terminal is realized in the embodiment of the method for Fig. 1 to Fig. 2, to keep away Exempt to repeat, which is not described herein again.
The mobile terminal 300 of the embodiment of the present invention receives user in preview circle of taking pictures by touch operation receiving module 301 Touch operation on face;Touch area and touch pressure value determining module 302 are connect according to the touch operation receiving module 301 The touch operation of receipts determines touch area and touch pressure value;Parameter adjustment module of taking pictures 303 is according to the touch area and touching Touch area determined by pressure value determining module 302 and touch pressure value are touched, parameter of taking pictures is adjusted.The shifting of the embodiment of the present invention Dynamic terminal 300 by above-mentioned module, it can be achieved that by pressure sensor detection user in the touch operation in preview interface of taking pictures, According to the touch area of user's touch operation and touch pressure value, the weight parameter or the preceding depth of field that automatic exposure can be realized are with after The adjustment of the Focusing parameter of the depth of field, it is easy to operate.
Fourth embodiment
Fig. 6 is the structural block diagram of mobile terminal second embodiment of the present invention.Mobile terminal 600 shown in fig. 6 includes: at least One processor 601, memory 602, at least one network interface 604 and other users interface 603, power supply 606, mould group of taking pictures 607, mould group 607 of taking pictures includes camera.Various components in mobile terminal 600 are coupled by bus system 605.It can Understand, bus system 605 is for realizing the connection communication between these components.Bus system 605 except include data/address bus in addition to, It further include power bus, control bus and status signal bus in addition.But for the sake of clear explanation, by various buses in Fig. 6 All it is designated as bus system 605.Mobile terminal 600 further includes pressure sensor (being not drawn into Fig. 6).
Wherein, user interface 603 may include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 602 in the embodiment of the present invention can be volatile memory or nonvolatile memory, It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read- OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM (ErasablePROM, EPROM), electrically erasable programmable read-only memory (ElectricallyEPROM, EEPROM) dodge It deposits.Volatile memory can be random access memory (RandomAccessMemory, RAM), and it is slow to be used as external high speed It deposits.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory (StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory (SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate SDRAM, DDRSDRAM), enhanced 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 memory 602 of the system and method for description of the embodiment of the present invention is intended to include but unlimited In the memory of these and any other suitable type.
In some embodiments, memory 602 stores following element, executable modules or data structures, or Their subset of person or their superset: operating system 6021 and application program 6022.This is also stored in memory 602 Invent all calculation formula, the first preset threshold and the second preset threshold.
Wherein, operating system 6021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for Realize various basic businesses and the hardware based task of processing.Application program 6022 includes various application programs, such as media Player (MediaPlayer), browser (Browser) etc., for realizing various applied business.Realize embodiment of the present invention side The program of method may be embodied in application program 6022.
In embodiments of the present invention, by the program or instruction of calling memory 602 to store, specifically, can be application The program or instruction stored in program 6022, user interface 603 for receiving user in the touch operation in preview interface of taking pictures, Processor 601 is used to touch area and touch pressure value are determined, according to the touch area and touch according to the touch operation Pressure value adjusts parameter of taking pictures.
The method that the embodiments of the present invention disclose can be applied in processor 601, or be realized by processor 601. Processor 601 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 601 or the instruction of software form.Above-mentioned processing Device 601 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), specific integrated circuit (ApplicationSpecific IntegratedCircuit, ASIC), ready-made programmable gate array (FieldProgrammableGateArray, FPGA) either other programmable logic device, discrete gate or transistor logic Device, discrete hardware components.It may be implemented or execute disclosed each method, step and the logical box in the embodiment of the present invention Figure.General processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with the present invention The step of method disclosed in embodiment, can be embodied directly in hardware decoding processor and execute completion, or use decoding processor In hardware and software module combination execute completion.Software module can be located at random access memory, and flash memory, read-only memory can In the storage medium of this fields such as program read-only memory or electrically erasable programmable memory, register maturation.The storage Medium is located at memory 602, and processor 601 reads the information in memory 602, and the step of the above method is completed in conjunction with its hardware Suddenly.
It is understood that the embodiment of the present invention description these embodiments can with hardware, software, firmware, middleware, Microcode or combinations thereof is realized.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (App LicationSpecificIntegratedCircuits, ASIC), digital signal processor (DigitalSignalProcessing, DSP), digital signal processing appts (DSPDevice, DSPD), programmable logic device (ProgrammableLogicDevice, PLD), field programmable gate array (Field-ProgrammableGateArray, FPGA), general processor, controller, microcontroller, microprocessor, other electronics lists for executing herein described function In member or combinations thereof.
For software implementations, can by execute the embodiment of the present invention described in function module (such as process, function etc.) come Realize technology described in the embodiment of the present invention.Software code is storable in memory and is executed by processor.Memory can With portion realizes in the processor or outside the processor.
Optionally, processor 601 is also used to: the preview interface of taking pictures is divided into N*M brightness statistics region, In, N and M are the integer greater than 0;According to the touch area and touch pressure value, the bright of each brightness statistics region is determined Spend weight factor;Obtain the brightness value in each brightness statistics region;According to formula y11×w11+y12×w12+…+yNM×wNMBy institute The brightness value and the luminance weights factor for stating each brightness statistics region are weighted summation operation, obtain total luminance value, wherein y11、y12...yNMThe brightness value in respectively N*M brightness statistics region, w11、w12...wNMRespectively N*M brightness statistics region The luminance weights factor;The total luminance value is compared with preset target brightness value, when the total luminance value is not equal to pre- If when target brightness value, the total luminance value is adjusted to the preset target brightness value.
Optionally, processor 601 is also used to: the touch area being determined as center brightness statistical regions, and will be non-touch It touches region and is determined as non-central brightness statistics region;It is closed according to preset touch pressure size is corresponding with the luminance weights factor System, determines the luminance weights factor of the center brightness statistical regions;Luminance weights based on the center brightness statistical regions The factor distributes the luminance weights factor to the non-central brightness statistics region using default allocation rule.
Optionally, processor 601 is also used to: judge the touch area whether include the different depth of field object;When described When touch area includes the object of the different depth of field, judge whether the touch pressure value is greater than or equal to the first preset threshold;When When the touch pressure value is greater than or equal to first preset threshold, the touch area is adjusted to rear depth of field region;When When the touch pressure value is less than first preset threshold, depth of field region before the touch area is adjusted to.
Optionally, processor 601 is also used to: obtaining the focal modes taken pictures;When the focal modes are common focusing, The touch area is divided into multiple subregions;It obtains clarity of each subregion before and after camera is mobile and changes letter Breath;When being unsatisfactory for preset condition, determine that the touch area includes the object of the different depth of field, the preset condition is acquired Clarity change information in any two clarity change information it is identical.
Optionally, processor 601 is also used to: obtaining the focal modes taken pictures;When the focal modes are that phase is focused, The touch area is divided into multiple subregions;Calculate the phase difference between different subregions;It judges whether there is and is greater than the The phase difference of two preset thresholds;When there is the phase difference for being greater than the second preset threshold, determine that the touch area includes difference The object of the depth of field.
Mobile terminal 600 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here It repeats no more.
The mobile terminal 600 of the embodiment of the present invention receives user in the touching in preview interface of taking pictures by user interface 603 Touch operation;Processor 601 determines touch area and touch pressure value according to the received touch operation of 603 institutes of user interface;According to The touch area and touch pressure value adjust parameter of taking pictures.The mobile terminal 600 of the embodiment of the present invention by above-mentioned module, It can be achieved to detect user by pressure sensor in the touch operation in preview interface of taking pictures, according to the touch of user's touch operation The adjustment of the weight parameter of automatic exposure or the Focusing parameter of the preceding depth of field and the rear depth of field can be realized in region and touch pressure value, It is easy to operate.
5th embodiment
Fig. 7 is the structural block diagram of the 3rd embodiment of mobile terminal of the present invention.Specifically, the mobile terminal 700 in Fig. 7 can Think mobile phone, tablet computer, personal digital assistant (PersonalDigitalAssistant, PDA) or vehicle-mounted computer etc..
Mobile terminal 700 in Fig. 7 includes radio frequency (RadioFrequency, RF) circuit 710, memory 720, input list First 730, display unit 740, processor 760, mould group 750 of taking pictures, voicefrequency circuit 770, WiFi (WirelessFidelity) mould Block 780 and power supply 790, mould group 750 of taking pictures include camera, and mobile terminal 700 further includes that pressure sensor (is not drawn in Fig. 7 Out).
Wherein, input unit 730 can be used for receiving the number or character information of user's input, and generation and mobile terminal The related signal input of 700 user setting and function control.Specifically, in the embodiment of the present invention, which can To include touch panel 731.Touch panel 731, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses the operations of any suitable object or attachment on touch panel 731 such as finger, stylus), and according to preparatory The formula of setting drives corresponding attachment device.Optionally, touch panel 731 may include touch detecting apparatus and touch controller Two parts.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, by signal Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, The processor 760 is given again, and can be received order that processor 760 is sent and be executed.Furthermore, it is possible to using resistance-type, The multiple types such as condenser type, infrared ray and surface acoustic wave realize touch panel 731.In addition to touch panel 731, input unit 730 can also include other input equipments 732, other input equipments 732 can include but is not limited to physical keyboard, function key One of (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Wherein, display unit 740 can be used for showing information input by user or be supplied to the information and movement of user The various menu interfaces of terminal 700.Display unit 740 may include display panel 741, optionally, can use LCD or organic hair The forms such as optical diode (OrganicLight-EmittingDiode, OLED) configure display panel 741.
It should be noted that touch panel 731 can cover display panel 741, touch display screen is formed, when the touch display screen is examined After measuring touch operation on it or nearby, processor 760 is sent to determine the type of touch event, is followed by subsequent processing device 760 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 common control viewing area.The Application Program Interface viewing area And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with The interface elements such as the icon comprising at least one application program and/or widget desktop control.The Application Program Interface viewing area Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example, Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Wherein processor 760 is the control centre of mobile terminal 700, utilizes various interfaces and connection whole mobile phone Various pieces, by running or executing the software program and/or module that are stored in first memory 721, and calling storage Data in second memory 722 execute the various functions and processing data of mobile terminal 700, thus to mobile terminal 700 Carry out integral monitoring.Optionally, processor 760 may include one or more processing units.Second memory 722 stores this hair Bright all calculation formula, the first preset threshold and the second preset threshold.
In embodiments of the present invention, by call store the first memory 721 in software program and/or module and/ Or the data in the second memory 722, input unit 730 for receiving user in the touch operation in preview interface of taking pictures, Processor 760 is used to touch area and touch pressure value are determined, according to the touch area and touch according to the touch operation Pressure value adjusts parameter of taking pictures.
Optionally, processor 760 is also used to: the preview interface of taking pictures is divided into N*M brightness statistics region, In, N and M are the integer greater than 0;According to the touch area and touch pressure value, the bright of each brightness statistics region is determined Spend weight factor;Obtain the brightness value in each brightness statistics region;According to formula y11×w11+y12×w12+…+yNM×wNMBy institute The brightness value and the luminance weights factor for stating each brightness statistics region are weighted summation operation, obtain total luminance value, wherein y11、y12...yNMThe brightness value in respectively N*M brightness statistics region, w11、w12...wNMRespectively N*M brightness statistics region The luminance weights factor;The total luminance value is compared with preset target brightness value, when the total luminance value is not equal to pre- If when target brightness value, the total luminance value is adjusted to the preset target brightness value.
Optionally, processor 760 is also used to: the touch area being determined as center brightness statistical regions, and will be non-touch It touches region and is determined as non-central brightness statistics region;It is closed according to preset touch pressure size is corresponding with the luminance weights factor System, determines the luminance weights factor of the center brightness statistical regions;Luminance weights based on the center brightness statistical regions The factor distributes the luminance weights factor to the non-central brightness statistics region using default allocation rule.
Optionally, processor 760 is also used to: judge the touch area whether include the different depth of field object;When described When touch area includes the object of the different depth of field, judge whether the touch pressure value is greater than or equal to the first preset threshold;When When the touch pressure value is greater than or equal to first preset threshold, the touch area is adjusted to rear depth of field region;When When the touch pressure value is less than first preset threshold, depth of field region before the touch area is adjusted to.
Optionally, processor 760 is also used to: obtaining the focal modes taken pictures;When the focal modes are common focusing, The touch area is divided into multiple subregions;It obtains clarity of each subregion before and after camera is mobile and changes letter Breath;When being unsatisfactory for preset condition, determine that the touch area includes the object of the different depth of field, the preset condition is acquired Clarity change information in any two clarity change information it is identical.
Optionally, processor 760 is also used to: obtaining the focal modes taken pictures;When the focal modes are that phase is focused, The touch area is divided into multiple subregions;Calculate the phase difference between different subregions;It judges whether there is and is greater than the The phase difference of two preset thresholds;When there is the phase difference for being greater than the second preset threshold, determine that the touch area includes difference The object of the depth of field.
Mobile terminal 700 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here It repeats no more.
The mobile terminal 700 of the embodiment of the present invention receives user in the touching in preview interface of taking pictures by input unit 730 Touch operation;Processor 760 determines touch area and touch pressure value according to the received touch operation of 730 institutes of input unit;According to The touch area and touch pressure value adjust parameter of taking pictures.The mobile terminal 700 of the embodiment of the present invention by above-mentioned module, It can be achieved to detect user by pressure sensor in the touch operation in preview interface of taking pictures, according to the touch of user's touch operation The adjustment of the weight parameter of automatic exposure or the Focusing parameter of the preceding depth of field and the rear depth of field can be realized in region and touch pressure value, It is easy to operate.
Those of ordinary skill in the art may be aware that the embodiment in conjunction with disclosed in the embodiment of the present invention describe it is each Exemplary unit and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (10)

1. a kind of method of adjustment for parameter of taking pictures, applied to the mobile terminal with camera, which is characterized in that the ginseng of taking pictures Several methods of adjustment include:
User is received in the touch operation in preview interface of taking pictures;
According to the touch operation, touch area and touch pressure value are determined;
According to the touch area and touch pressure value, parameter of taking pictures is adjusted;
Wherein, described according to the touch area and touch pressure value, adjust the step of taking pictures parameter, comprising:
The preview interface of taking pictures is divided into N*M brightness statistics region, wherein N and M is the integer greater than 0;
According to the touch area and touch pressure value, the luminance weights factor in each brightness statistics region is determined;
Obtain the brightness value in each brightness statistics region;
According to formula y11×w11+y12×w12+…+yNM×wNMBy the brightness value and luminance weights in each brightness statistics region The factor is weighted summation operation, obtains total luminance value, wherein y11、y12...yNMRespectively N*M brightness statistics region it is bright Angle value, w11、w12...wNMThe luminance weights factor in respectively N*M brightness statistics region;
The total luminance value is compared with preset target brightness value, when the total luminance value is not equal to preset target brightness value When, the total luminance value is adjusted to the preset target brightness value, reaches the picture shown by preview interface of taking pictures Automatic exposure stable state;
Alternatively,
According to the depth of field of object in the touch area, touch pressure value and the touch area, parameter of taking pictures is adjusted;It is described Touch pressure value is for determining that touch area is preceding depth of field region or rear depth of field region.
2. the method according to claim 1, wherein described according to the touch area and touch pressure value, really The step of luminance weights factor in fixed each brightness statistics region, comprising:
The touch area is determined as center brightness statistical regions, and non-tactile region is determined as non-central brightness statistics area Domain;
According to the corresponding relationship of preset touch pressure size and the luminance weights factor, the center brightness statistical regions are determined The luminance weights factor;
Based on the luminance weights factor of the center brightness statistical regions, using default allocation rule, to the non-central brightness Statistical regions distribute the luminance weights factor.
3. the method according to claim 1, wherein described according to the touch area and touch pressure value, tune It is whole take pictures parameter the step of, comprising:
Judge the touch area whether include the different depth of field object;
When the touch area includes the object of the different depth of field, it is pre- to judge whether the touch pressure value is greater than or equal to first If threshold value;
When the touch pressure value is greater than or equal to first preset threshold, the touch area is adjusted to rear depth of field area Domain;
When the touch pressure value is less than first preset threshold, depth of field region before the touch area is adjusted to.
4. according to the method described in claim 3, it is characterized in that, described judge whether the touch area includes the different depth of field Object the step of, comprising:
Obtain the focal modes taken pictures;
When the focal modes are common focusing, the touch area is divided into multiple subregions;
Obtain clarity change information of each subregion before and after camera is mobile;
When being unsatisfactory for preset condition, determine that the touch area includes the object of the different depth of field, the preset condition is is obtained Any two clarity change information is identical in the clarity change information taken.
5. according to the method described in claim 3, it is characterized in that, described judge whether the touch area includes the different depth of field Object the step of, comprising:
Obtain the focal modes taken pictures;
When the focal modes are that phase is focused, the touch area is divided into multiple subregions;
Calculate the phase difference between different subregions;
Judge whether there is the phase difference greater than the second preset threshold;
When there is the phase difference for being greater than the second preset threshold, determine that the touch area includes the object of the different depth of field.
6. a kind of mobile terminal, including camera, which is characterized in that the mobile terminal further include:
Touch operation receiving module, for receiving user in the touch operation in preview interface of taking pictures;
Touch area and touch pressure value determining module, for being grasped according to the received touch of the touch operation receiving module institute Make, determines touch area and touch pressure value;
It takes pictures parameter adjustment module, is used for the touch area according to determined by the touch area and touch pressure value determining module With touch pressure value, parameter of taking pictures is adjusted;
Wherein, the parameter adjustment module of taking pictures includes:
Preview interface of taking pictures division unit, for the preview interface of taking pictures to be divided into N*M brightness statistics region, wherein N With the integer that M is greater than 0;
Luminance weights factor specifying unit, for preview circle of taking pictures described according to the touch area and touch pressure value, determining The luminance weights factor in each brightness statistics region that face division unit is divided;
Brightness value acquiring unit, for obtaining each brightness statistics region that preview interface division unit is divided of taking pictures Brightness value;
Total luminance value computing unit, for according to formula y11×w11+y12×w12+…+yNM×wNMBy the luminance weights factor Acquired in the bright luminance weights factor and the brightness value acquiring unit in each brightness statistics region determined by determination unit The brightness value in each brightness statistics region is weighted summation operation, obtains total luminance value, wherein y11、y12...yNMRespectively The brightness value in N*M brightness statistics region, w11、w12...wNMThe luminance weights factor in respectively N*M brightness statistics region;
Total luminance value adjustment unit, the total luminance value and goal-selling for the total luminance value computing unit to be calculated to acquisition are bright Angle value is compared, and when the total luminance value is not equal to preset target brightness value, the total luminance value is adjusted to described pre- If target brightness value;
Alternatively, the parameter adjustment module of taking pictures is also used to:
According to the depth of field of object in the touch area, touch pressure value and the touch area, parameter of taking pictures is adjusted;It is described Touch pressure value is for determining that touch area is preceding depth of field region or rear depth of field region.
7. mobile terminal according to claim 6, which is characterized in that the luminance weights factor specifying unit includes:
First determines subelement, for the touch area to be determined as center brightness statistical regions, and non-tactile region is true It is set to non-central brightness statistics region;
Second determines that subelement determines institute for the corresponding relationship according to preset touch pressure size and the luminance weights factor State the first luminance weights factor for determining center brightness statistical regions determined by subelement;
Luminance weights Factor minute matches subelement, for the luminance weights factor based on the center brightness statistical regions, using pre- If allocation rule, determine that the luminance weights factor is distributed in non-central brightness statistics region determined by subelement to described first.
8. mobile terminal according to claim 6, which is characterized in that the parameter adjustment module of taking pictures includes:
First judging unit, for judge the touch area whether include the different depth of field object;
Second judgment unit, for judging when first judging unit determines that touch area includes the object of the different depth of field Whether the touch pressure value is greater than or equal to the first preset threshold;
First touch area adjustment unit, for determining that touch pressure value is greater than or equal to described the when the second judgment unit When one preset threshold, the touch area is adjusted to rear depth of field region;
Second touch area adjustment unit, for determining that touch pressure value is less than described first and presets when the second judgment unit When threshold value, depth of field region before the touch area is adjusted to.
9. mobile terminal according to claim 8, which is characterized in that first judging unit includes:
First focal modes obtain subelement, for obtaining the focal modes taken pictures;
First touch area divides subelement, for being when first focal modes obtain focal modes acquired in subelement When common focusing, the touch area is divided into multiple subregions;
Clarity change information obtains subelement, divides every height that subelement is divided for obtaining first touch area Clarity change information of the region before and after camera is mobile;
First determines subelement, for when being unsatisfactory for preset condition, determining that the touch area includes the object of the different depth of field, The preset condition is that any two are clear in clarity change information acquired in clarity change information acquisition subelement Clear degree change information is identical.
10. mobile terminal according to claim 8, which is characterized in that first judging unit includes:
Second focal modes obtain subelement, for obtaining the focal modes taken pictures;
Second touch area divides subelement, for being when second focal modes obtain focal modes acquired in subelement When phase is focused, the touch area is divided into multiple subregions;
Phase difference calculating subelement divides in multiple subregions that subelement is divided not for calculating second touch area With the phase difference between subregion;
Judgment sub-unit, for judging whether there is the phase difference for being greater than the second preset threshold;
Second determines subelement, for sentencing when the judgment sub-unit determines to have the phase difference for being greater than the second preset threshold The fixed touch area includes the object of the different depth of field.
CN201610076877.8A 2016-02-03 2016-02-03 A kind of method of adjustment and mobile terminal of parameter of taking pictures Active CN105843501B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610076877.8A CN105843501B (en) 2016-02-03 2016-02-03 A kind of method of adjustment and mobile terminal of parameter of taking pictures

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610076877.8A CN105843501B (en) 2016-02-03 2016-02-03 A kind of method of adjustment and mobile terminal of parameter of taking pictures

Publications (2)

Publication Number Publication Date
CN105843501A CN105843501A (en) 2016-08-10
CN105843501B true CN105843501B (en) 2019-11-29

Family

ID=56586839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610076877.8A Active CN105843501B (en) 2016-02-03 2016-02-03 A kind of method of adjustment and mobile terminal of parameter of taking pictures

Country Status (1)

Country Link
CN (1) CN105843501B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106534674A (en) * 2016-10-17 2017-03-22 努比亚技术有限公司 Method for displaying focus area and mobile terminal
KR102364420B1 (en) * 2017-04-26 2022-02-17 삼성전자 주식회사 Electronic device and method of controlling the electronic device based on touch input
CN108132711A (en) * 2018-01-11 2018-06-08 广东小天才科技有限公司 A kind of playing progress bar control method and electronic equipment
CN109639932A (en) * 2019-02-28 2019-04-16 努比亚技术有限公司 Image processing method, mobile terminal and computer readable storage medium
CN111142765A (en) * 2019-11-14 2020-05-12 北京无限光场科技有限公司 Image display method and device and electronic equipment
CN110708475B (en) * 2019-11-27 2021-08-24 维沃移动通信有限公司 Exposure parameter determination method, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102566884A (en) * 2010-12-21 2012-07-11 Lg电子株式会社 Mobile terminal and method of controlling a mode switching therein
CN105100609A (en) * 2015-07-10 2015-11-25 努比亚技术有限公司 Mobile terminal and shooting parameter adjusting method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102208989A (en) * 2010-03-30 2011-10-05 国际商业机器公司 Network visualization processing method and device
CN104469159A (en) * 2014-12-15 2015-03-25 乐视致新电子科技(天津)有限公司 Shooting parameter adjusting method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102566884A (en) * 2010-12-21 2012-07-11 Lg电子株式会社 Mobile terminal and method of controlling a mode switching therein
CN105100609A (en) * 2015-07-10 2015-11-25 努比亚技术有限公司 Mobile terminal and shooting parameter adjusting method

Also Published As

Publication number Publication date
CN105843501A (en) 2016-08-10

Similar Documents

Publication Publication Date Title
CN105843501B (en) A kind of method of adjustment and mobile terminal of parameter of taking pictures
CN106131341B (en) A kind of photographic method and mobile terminal
CN106131449B (en) A kind of photographic method and mobile terminal
CN107181913B (en) A kind of photographic method and mobile terminal
CN106657793B (en) A kind of image processing method and mobile terminal
CN106155480B (en) A kind of interface display method and mobile terminal of application program
CN105959544B (en) A kind of image processing method and mobile terminal of mobile terminal
CN106657806B (en) A kind of exposure method and mobile terminal
CN106909289B (en) A kind of operating method and mobile terminal of application controls
CN106126108B (en) A kind of generation method and mobile terminal of thumbnail
CN106227488B (en) A kind of display methods and mobile terminal of reminder message
CN107395976B (en) A kind of acquisition parameters setting method and mobile terminal
CN106951174B (en) A kind of method of adjustment and mobile terminal of dummy keyboard
CN107395998A (en) A kind of image capturing method and mobile terminal
CN107147837A (en) The method to set up and mobile terminal of a kind of acquisition parameters
CN107026982B (en) A kind of photographic method and mobile terminal of mobile terminal
CN105959574B (en) A kind of photographic method and mobile terminal
CN106911897B (en) A kind of determination method and mobile terminal shooting focus
CN105824610A (en) Method and device for arranging application program icons based on terminal
CN106354303B (en) A kind of photographic method and mobile terminal of mobile terminal
CN107172346A (en) A kind of weakening method and mobile terminal
CN107509030A (en) A kind of focusing method and mobile terminal
CN106095185B (en) A kind of one-handed performance method and mobile terminal
CN106993139B (en) A kind of image pickup method and mobile terminal
CN109814775B (en) Menu item adjusting method and device and terminal

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