CN106488140B - A kind of setting method and mobile terminal of camera acquisition parameter - Google Patents

A kind of setting method and mobile terminal of camera acquisition parameter Download PDF

Info

Publication number
CN106488140B
CN106488140B CN201611258248.3A CN201611258248A CN106488140B CN 106488140 B CN106488140 B CN 106488140B CN 201611258248 A CN201611258248 A CN 201611258248A CN 106488140 B CN106488140 B CN 106488140B
Authority
CN
China
Prior art keywords
acquisition parameters
camera
acquisition
information
weight
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
CN201611258248.3A
Other languages
Chinese (zh)
Other versions
CN106488140A (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 CN201611258248.3A priority Critical patent/CN106488140B/en
Publication of CN106488140A publication Critical patent/CN106488140A/en
Application granted granted Critical
Publication of CN106488140B publication Critical patent/CN106488140B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/64Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
    • 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/617Upgrading or updating of programs or applications for camera control
    • 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/667Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes

Abstract

The present invention provides a kind of setting method of camera acquisition parameter and mobile terminals, when solution terminal is shot in the environment for having light-illuminating, acquisition parameters are arranged in the image data obtained according only to terminal, lead to shoot the photo come and are easy to appear the bad problem of colour cast, brightness.Setting method of the invention includes: to obtain the acquisition parameters information of camera, and the acquisition parameters information includes: the image data that the camera of the light information and the mobile terminal in current shooting environment acquires in current shooting environment;Described image data are analyzed, obtain the first acquisition parameters, and the second acquisition parameters are obtained according to the light information;According to first acquisition parameters and second acquisition parameters, the acquisition parameters of the camera are determined.The acquisition parameters of camera are set in the embodiment of the present invention in conjunction with light information and the image data of terminal acquisition, reduces influence of the light to captured photo in shooting process, improves imaging effect.

Description

A kind of setting method and mobile terminal of camera acquisition parameter
Technical field
The present invention relates to electronic technology fields, particularly relate to the setting method and mobile terminal of a kind of camera acquisition parameter.
Background technique
With the continuous development of electronic information technology, the mobile terminals such as smart phone, tablet computer are widely used, Mobile terminal has become necessity indispensable in user's life.Mobile terminal is generally fitted provided with camera function at present, How the quality of shooting photo is improved, also at popular research topic.
The case where shooting in the evening indoors for user, the brightness and colour temperature that different light are broken forth are final to camera Imaging has larger impact, and corresponding bat is arranged merely by the content for analyzing the image got in mobile terminal at present According to parameter, leads to shoot the photo come and be easy to appear the bad problem of colour cast, brightness.
Summary of the invention
The purpose of the present invention is to provide a kind of setting method of camera acquisition parameter and mobile terminals, move to solve When terminal is shot in the environment for having light-illuminating, acquisition parameters are set according only to the image data of terminal acquisition, are led It causes to shoot the photo come and is easy to appear the bad problem of colour cast, brightness.
To achieve the goals above, the present invention provides a kind of setting methods of camera acquisition parameter, comprising:
The acquisition parameters information of camera is obtained, the acquisition parameters information includes: the light information in current shooting environment And the image data that the camera of the mobile terminal acquires in current shooting environment;
Described image data are analyzed, obtain the first acquisition parameters, and second count is obtained according to the light information Take the photograph parameter;
According to first acquisition parameters and second acquisition parameters, the acquisition parameters of the camera are determined.
To achieve the goals above, the present invention also provides a kind of mobile terminals, comprising:
Module is obtained, for obtaining the acquisition parameters information of camera, the acquisition parameters information includes: current shooting environment In light information and the mobile terminal the image data that is acquired in current shooting environment of camera;
First determining module obtains the first acquisition parameters, and according to the lamp for analyzing described image data Optical information obtains the second acquisition parameters;
Second determining module, for determining the camera according to first acquisition parameters and second acquisition parameters Acquisition parameters.
The embodiment of the present invention has the advantages that
The above-mentioned technical proposal of the embodiment of the present invention obtains the acquisition parameters information of camera, the acquisition parameters packet It includes: the picture number that the camera of light information and the mobile terminal in current shooting environment acquires in current shooting environment According to;Described image data are analyzed, obtain the first acquisition parameters, and the second shooting ginseng is obtained according to the light information Number;According to first acquisition parameters and second acquisition parameters, the acquisition parameters of the camera are determined.The embodiment of the present invention The image data that middle combination light information and terminal obtain is arranged the acquisition parameters of camera, reduces light pair in shooting process The influence of captured photo, improves imaging effect.
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 a work flow diagram of the setting method of the camera acquisition parameter of the embodiment of the present invention;
Fig. 2 is the another work flow diagram of the setting method of the camera acquisition parameter of the embodiment of the present invention;
Fig. 3 is another work flow diagram of the setting method of the camera acquisition parameter of the embodiment of the present invention;
Fig. 4 is a structural block diagram of the mobile terminal of the embodiment of the present invention;
Fig. 5 is the another structural block diagram of the mobile terminal of the embodiment of the present invention;
Fig. 6 is another structural block diagram of the mobile terminal of the embodiment 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 only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The embodiment provides a kind of setting method of camera acquisition parameter and mobile terminals, solve mobile terminal When being shot in the environment for having light-illuminating, acquisition parameters are set according only to the image data of terminal acquisition, cause to clap It takes out the photo come and is easy to appear the bad problem of colour cast, brightness.
First embodiment
As shown in Figure 1, being applied to mobile whole the embodiment provides a kind of setting method of camera acquisition parameter End, comprising:
Step 101: obtaining the acquisition parameters information of camera, which includes: the lamp in current shooting environment The image data that the camera of optical information and mobile terminal acquires in current shooting environment.
Here, the acquisition parameters information of above-mentioned camera can after terminal detects the enabled instruction of camera, be obtained.Such as, lead to It crosses the intelligent lamp connecting with mobile terminal and obtains light information in above-mentioned current shooting environment.Wherein, light information may include Brightness, colour temperature etc..
The light information and image data in current shooting environment are obtained in the embodiment of the present invention, are subsequent according to the two Basis is provided in conjunction with suitable acquisition parameters are arranged.
Step 102: above-mentioned image data being analyzed, obtains the first acquisition parameters, and obtain according to above-mentioned light information To the second acquisition parameters.
Here, the first acquisition parameters and the second acquisition parameters can respectively include: automatic exposure AE and automatic white balance AWB.
Specifically, terminal handler carries out image procossing to above-mentioned image data, it is (automatic exposure AE, automatic right to obtain 3A Burnt AF, automatic white balance AWB) information, and then above-mentioned first acquisition parameters are obtained according to 3A information;Processor can be according to existing 3A algorithm and above-mentioned light information obtain above-mentioned second acquisition parameters.
Step 103: according to above-mentioned first acquisition parameters and above-mentioned second acquisition parameters, determining the acquisition parameters of camera.
Specifically, according to the first weight of preset first acquisition parameters and the second weight of the second acquisition parameters, to One acquisition parameters and the second acquisition parameters are weighted summation process, obtain the acquisition parameters of camera.
Larger, the weight of the second acquisition parameters that the weight of the first acquisition parameters can be arranged in the embodiment of the present invention What is be arranged is smaller.It is assumed that above-mentioned first weight is 0.6, above-mentioned second weight is 0.4, above-mentioned first acquisition parameters and second count It takes the photograph parameter and respectively includes AE and AWB, in the acquisition parameters for determining camera, by the AE in the first acquisition parameters multiplied by above-mentioned first Then the two values being calculated are added by weight 0.6 by the AE in the second acquisition parameters multiplied by above-mentioned second weight 0.4 Obtain the AE of camera, similarly, the AWB of camera obtained according to above-mentioned calculation method, finally obtain camera acquisition parameters (AE and AWB)。
The above-mentioned fixed weight value according to the first acquisition parameters and the second acquisition parameters, to determine the shooting ginseng of final camera Number, reduces influence of the light to captured photo in shooting process, so that the image effect that camera is presented is more preferable, more natural.
Certainly, the embodiment of the present invention can also be adjusted preset weighted value according to the light information in shooting environmental, Such as when brightness of image is bright, light condition is uncomplicated, settable larger of the weight of the first acquisition parameters;Conversely, the The corresponding weight setting of two acquisition parameters it is larger, and first acquisition parameters and second are shot according to weighted value adjusted Parameter is weighted summation, finally obtains the acquisition parameters of camera.
At this point, above-mentioned steps 103 may particularly include: according to the light information in current shooting environment, to preset first First weight of acquisition parameters and the second weight of the second acquisition parameters are adjusted;According to the first weight adjusted and second Weight is weighted summation process to first acquisition parameters and second acquisition parameters, obtains the shooting of the camera Parameter.
Specifically, the preview image for obtaining camera acquisition obtains current shooting by analyzing the preview image Light information in environment, the light information include light information and/or natural optical information.
Further, in the embodiment of the present invention, according to the first acquisition parameters and the second acquisition parameters, the shooting of camera is determined After the step of parameter, the setting method further include:
After delay scheduled time, the acquisition parameters information of camera is reacquired, and believe according to the acquisition parameters of reacquisition Breath updates the acquisition parameters of camera.
Here, the acquisition parameters of camera are updated according to the acquisition parameters information of reacquisition, so that the shooting of camera is joined Number is more in line with current shooting environment, so that terminal shoots more satisfactory photo.
The setting method of the camera acquisition parameter of the embodiment of the present invention obtains the acquisition parameters information of camera, the shooting Parameter information includes: that the camera of the light information and the mobile terminal in current shooting environment is adopted in current shooting environment The image data of collection;Described image data are analyzed, obtain the first acquisition parameters, and obtain according to the light information Two acquisition parameters;According to first acquisition parameters and second acquisition parameters, the acquisition parameters of the camera are determined.This hair The acquisition parameters of camera are set in bright embodiment in conjunction with light information and the image data of terminal acquisition, shooting process is reduced Influence of the middle light to captured photo, improves imaging effect.
Second embodiment
As shown in Fig. 2, being applied to movement the embodiments of the present invention also provide a kind of setting method of camera acquisition parameter Terminal, comprising:
Step 201: by the connection between intelligent lamp pre-established, obtaining the light information that intelligent lamp is sent.
Specifically, whether there is intelligent lamp in mobile scanning terminal current shooting environment;If existing in current shooting environment Intelligent lamp then establishes the connection between the intelligent lamp.
Further, when scanning into current shooting environment there are when multiple intelligent lamps, according between terminal and intelligent lamp Distance, select nearest intelligent lamp;Alternatively, obtaining the light information of each intelligent lamp, believed according to the light of each intelligent lamp Breath selects the highest intelligent lamp of brightness, the intelligent lamp of connection need to be established as mobile terminal.Certainly, it is moved in the embodiment of the present invention Dynamic terminal can also need to establish the intelligent lamp of connection using the intelligent lamp of the specified connection of user as mobile terminal.
Wherein, mobile terminal can establish connection with intelligent lamp by way of wired connection, can also pass through bluetooth, wireless guarantor The wireless modes such as true Wi-Fi and intelligent lamp establish connection.
In the embodiment of the present invention, mobile terminal is connected with intelligent lamp, when opening camera, mobile terminal can actively read or The passive light information (such as brightness, colour temperature) for obtaining intelligent lamp, by the light information got, in conjunction with mobile terminal camera The image data got removes the acquisition parameters of one group of appropriate current environment brightness of setting, so that the figure that camera is presented As effect is more preferable, more natural.
Step 202: obtaining the acquisition parameters information of camera, which includes: the lamp in current shooting environment The image data that the camera of optical information and mobile terminal acquires in current shooting environment.
Here, the acquisition parameters information of above-mentioned camera can after terminal detects the enabled instruction of camera, be obtained.
The light information and image data in current shooting environment are obtained in the embodiment of the present invention, are subsequent according to the two Basis is provided in conjunction with suitable acquisition parameters are arranged.
Step 203: above-mentioned image data being analyzed, obtains the first acquisition parameters, and obtain according to above-mentioned light information To the second acquisition parameters.
Here, the first acquisition parameters and the second acquisition parameters can respectively include: automatic exposure AE and automatic white balance AWB.
Specifically, terminal handler carries out image procossing to above-mentioned image data, it is (automatic exposure AE, automatic right to obtain 3A Burnt AF, automatic white balance AWB) information, and then above-mentioned first acquisition parameters are obtained according to 3A information;Processor can be according to existing 3A algorithm and above-mentioned light information obtain above-mentioned second acquisition parameters.
Step 204: according to above-mentioned first acquisition parameters and above-mentioned second acquisition parameters, determining the acquisition parameters of camera.
Specifically, according to the first weight of preset first acquisition parameters and the second weight of the second acquisition parameters, to One acquisition parameters and the second acquisition parameters are weighted summation process, obtain the acquisition parameters of camera.
Larger, the weight of the second acquisition parameters that the weight of the first acquisition parameters can be arranged in the embodiment of the present invention What is be arranged is smaller.It is assumed that above-mentioned first weight is 0.6, above-mentioned second weight is 0.4, above-mentioned first acquisition parameters and second count It takes the photograph parameter and respectively includes AE and AWB, in the acquisition parameters for determining camera, by the AE in the first acquisition parameters multiplied by above-mentioned first Then the two values being calculated are added by weight 0.6 by the AE in the second acquisition parameters multiplied by above-mentioned second weight 0.4 Obtain the AE of camera, similarly, the AWB of camera obtained according to above-mentioned calculation method, finally obtain camera acquisition parameters (AE and AWB)。
The above-mentioned fixed weight value according to the first acquisition parameters and the second acquisition parameters, to determine the shooting ginseng of final camera Number, reduces influence of the light to captured photo in shooting process, so that the image effect that camera is presented is more preferable, more natural.
Certainly, the embodiment of the present invention can also be adjusted preset weighted value according to the light information in shooting environmental, Such as when brightness of image is bright, light condition is uncomplicated, settable larger of the weight of the first acquisition parameters;Conversely, the The corresponding weight of two acquisition parameters is arranged larger.
At this point, above-mentioned steps 204 may particularly include: according to the light information in current shooting environment, to preset first First weight of acquisition parameters and the second weight of the second acquisition parameters are adjusted;According to the first weight adjusted and second Weight is weighted summation process to first acquisition parameters and second acquisition parameters, obtains the shooting of the camera Parameter.
Further, in the embodiment of the present invention, according to the first acquisition parameters and the second acquisition parameters, the shooting of camera is determined After the step of parameter, the setting method further include:
After delay scheduled time, the acquisition parameters information of camera is reacquired, and believe according to the acquisition parameters of reacquisition Breath updates the acquisition parameters of camera.
Here, the acquisition parameters of camera are updated according to the acquisition parameters information of reacquisition, so that the shooting of camera is joined Number is more in line with current shooting environment, so that terminal shoots more satisfactory photo.
The setting method of the camera acquisition parameter of the embodiment of the present invention passes through the company between intelligent lamp pre-established It connects, obtains the light information that intelligent lamp is sent;The acquisition parameters information of camera is obtained, the acquisition parameters information includes: current The image data that the camera of light information and the mobile terminal in shooting environmental acquires in current shooting environment;To institute It states image data to be analyzed, obtains the first acquisition parameters, and the second acquisition parameters are obtained according to the light information;According to institute The first acquisition parameters and second acquisition parameters are stated, determine the acquisition parameters of the camera.Lamp is combined in the embodiment of the present invention The image data that optical information and terminal obtain is arranged the acquisition parameters of camera, reduces in shooting process light to captured photograph The influence of piece, improves imaging effect.
3rd embodiment
The implementation process of the setting method of the camera acquisition parameter of the embodiment of the present invention is illustrated below with reference to Fig. 3.
As shown in figure 3, the implementation process includes:
Step 301: after detecting camera open command, opening the camera of mobile terminal.
Step 302: establishing connection with the intelligent lamp in current shooting environment.
Mobile terminal can establish connection with intelligent lamp by way of wired connection, can also pass through bluetooth, Wireless Fidelity Wi- The wireless modes such as Fi and intelligent lamp establish connection.
Step 303: obtaining the image data of the camera acquisition of light information and mobile terminal that intelligent lamp is sent.
Step 304: image data being analyzed, obtains the first acquisition parameters, and second count is obtained according to light information Take the photograph parameter.
Step 305: according to above-mentioned first acquisition parameters and above-mentioned second acquisition parameters, determining the acquisition parameters of camera.
It here, can be according to the fixed weight value of the first acquisition parameters and the second acquisition parameters, to determine the bat of final camera Parameter is taken the photograph, preset weighted value can also be adjusted, and according to the light information in shooting environmental according to weight adjusted Value is weighted summation to the first acquisition parameters and the second acquisition parameters, finally obtains the acquisition parameters of camera, and will determine Acquisition parameters be set as the current acquisition parameters of mobile terminal.
Step 306: after delay preset time, reacquiring the camera of light information and mobile terminal that intelligent lamp is sent The image data of acquisition, and according to the acquisition parameters of the light information of reacquisition and image data update camera.
Step 307: detecting the exit instruction of camera, close camera.
Mobile terminal and intelligent lamp are attached communication by the setting method of the camera acquisition parameter of the embodiment of the present invention, The light information issued by obtaining current intelligent lamp, and the picture material of camera acquisition is combined to remove setting camera parameter, energy When being enough efficiently modified current mobile terminal and being shot in the environment for having light-illuminating, the image data that is obtained according only to terminal Acquisition parameters are set, leads to shoot the photo come and is easy to appear the bad problem of colour cast, brightness, so that mobile terminal is shot More ideal photo out.
Fourth embodiment
As shown in figure 4, the embodiment provides a kind of mobile terminals 400, comprising:
Module 401 is obtained, for obtaining the acquisition parameters information of camera, the acquisition parameters information includes: current shooting The image data that the camera of light information and the mobile terminal in environment acquires in current shooting environment;
First determining module 402 obtains the first acquisition parameters, and according to institute for analyzing described image data It states light information and obtains the second acquisition parameters;
Second determining module 403, for determining the phase according to first acquisition parameters and second acquisition parameters The acquisition parameters of machine.
The mobile terminal of the embodiment of the present invention, the module 401 that obtains are used for by pre-establishing between intelligent lamp Connection, obtain the light information that the intelligent lamp is sent.
The mobile terminal of the embodiment of the present invention, further includes:
Scan module 404, for scanning in current shooting environment with the presence or absence of intelligent lamp;
Link block 405, if establishing the company between the intelligent lamp for there are intelligent lamps in current shooting environment It connects.
The mobile terminal of the embodiment of the present invention, second determining module 403 are used for according to preset first acquisition parameters The first weight and the second acquisition parameters the second weight, first acquisition parameters and second acquisition parameters are added Summation process is weighed, the acquisition parameters of the camera are obtained.
The mobile terminal of the embodiment of the present invention, second determining module 403 include:
Adjusting submodule 4031, for according to the light information in current shooting environment, to preset first acquisition parameters The first weight and the second weight of the second acquisition parameters be adjusted;
It determines submodule 4032, is used for according to the first weight adjusted and the second weight, to first acquisition parameters It is weighted summation process with second acquisition parameters, obtains the acquisition parameters of the camera.
The mobile terminal of the embodiment of the present invention, further includes:
Module 406 is reacquired, for reacquiring the acquisition parameters information of the camera after delay scheduled time, and According to the acquisition parameters of camera described in the acquisition parameters information update of reacquisition.
The mobile terminal of the embodiment of the present invention obtains the acquisition parameters information of camera, and the acquisition parameters information includes: to work as The image data that the camera of light information and the mobile terminal in preceding shooting environmental acquires in current shooting environment;It is right Described image data are analyzed, and obtain the first acquisition parameters, and obtain the second acquisition parameters according to the light information;According to First acquisition parameters and second acquisition parameters, determine the acquisition parameters of the camera.It is combined in the embodiment of the present invention The image data that light information and terminal obtain is arranged the acquisition parameters of camera, reduces in shooting process light to captured The influence of photo, improves imaging effect.
5th embodiment
As shown in figure 5, being the another structural block diagram of mobile terminal of the embodiment of the present invention, mobile terminal 500 shown in fig. 5 is wrapped It includes: at least one processor 501, memory 502, at least one network interface 504 and other users interface 503.Mobile terminal Various components in 500 are coupled by bus system 505.It is understood that bus system 505 for realizing these components it Between connection communication.Bus system 505 further includes power bus, control bus and status signal in addition to including data/address bus Bus.But for the sake of clear explanation, various buses are all designated as bus system 505 in Fig. 5.
Wherein, user interface 503 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 502 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- Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable Device (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), be used as external high Speed caching.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory (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 Data Rate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct Rambus RAM, DRRAM).The memory 502 of system and method described herein is intended to include but is not limited to these and arbitrarily its It is suitble to the memory of type.
In some embodiments, memory 502 stores following element, executable modules or data structures, or Their subset of person or their superset: operating system 5021 and application program 5022.
Wherein, operating system 5021 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 5022 includes various application programs, such as media Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention The program of method may be embodied in application program 5022.
In one embodiment of this invention, by the program or instruction of calling memory 502 to store, the specific can be that The program or instruction stored in application program 5022, processor 501 are used to obtain the acquisition parameters information of camera, the shooting ginseng Number information includes: that the camera of the light information and the mobile terminal in current shooting environment acquires in current shooting environment Image data;Described image data are analyzed, obtain the first acquisition parameters, and obtain second according to the light information Acquisition parameters;According to first acquisition parameters and second acquisition parameters, the acquisition parameters of the camera are determined.
Optionally, processor 501 is also used to: by the connection between intelligent lamp pre-established, obtaining the intelligence The light information that lamp is sent.
Optionally, processor 501 is also used to: whether there is intelligent lamp in scanning current shooting environment;If current shooting ring There are intelligent lamps in border, then establish the connection between the intelligent lamp.
Optionally, processor 501 is also used to: according to the first weight and the second acquisition parameters of preset first acquisition parameters The second weight, summation process is weighted to first acquisition parameters and second acquisition parameters, obtains the camera Acquisition parameters.
Optionally, processor 501 is also used to: according to the light information in current shooting environment, to preset first shooting First weight of parameter and the second weight of the second acquisition parameters are adjusted;It is weighed according to the first weight adjusted and second First acquisition parameters and second acquisition parameters are weighted summation process by weight, obtain the shooting ginseng of the camera Number.
Optionally, processor 501 is also used to: after delay scheduled time, the acquisition parameters information of the camera is reacquired, And the acquisition parameters of the camera according to the acquisition parameters information update of reacquisition.
The mobile terminal 500 of the embodiment of the present invention, processor 501 are used to obtain the acquisition parameters information of camera, the bat Taking the photograph parameter information includes: the camera of the light information and the mobile terminal in current shooting environment in current shooting environment The image data of acquisition;Described image data are analyzed, obtain the first acquisition parameters, and obtain according to the light information Second acquisition parameters;According to first acquisition parameters and second acquisition parameters, the acquisition parameters of the camera are determined.This The acquisition parameters of camera are set in inventive embodiments in conjunction with light information and the image data of terminal acquisition, reduces and shot Influence of the light to captured photo, improves imaging effect in journey.
Mobile terminal of the invention such as can be mobile phone, tablet computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle-mounted computer etc. terminal.
Mobile terminal 500 can be realized each process that terminal is realized in previous embodiment, to avoid repeating, here no longer It repeats.
The method that the embodiments of the present invention disclose can be applied in processor 501, or real by processor 501 It is existing.Processor 501 may be a kind of IC chip, the processing capacity with signal.During realization, the above method Each step can be completed by the integrated logic circuit of the hardware in processor 501 or the instruction of software form.Above-mentioned place Reason device 501 can be general processor, digital signal processor (Digital Signal Processor, DSP), dedicated integrated Circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at The step of memory 502, processor 501 reads the information in memory 502, completes the above method in conjunction with its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its Combination is to realize.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, 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, In controller, microcontroller, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, it can be realized herein by executing the module (such as process, function etc.) of function described herein The technology.Software code is storable in memory and is executed by processor.Memory can in the processor or It is realized outside processor.
Sixth embodiment
As shown in fig. 6, another structural block diagram of the mobile terminal for the embodiment of the present invention.Mobile terminal 600 shown in fig. 6 Including radio frequency (Radio Frequency, RF) circuit 610, memory 620, input unit 630, display unit 640, processor 660, voicefrequency circuit 670, WiFi (Wireless Fidelity) module 680 and power supply 690.
Wherein, input unit 630 can be used for receiving the number or character information of user's input, and generation and mobile terminal The related signal input of 600 user setting and function control.Specifically, in the embodiment of the present invention, which can To include touch panel 631.Touch panel 631, 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 631 such as finger, stylus), and according to preparatory The formula of setting drives corresponding attachment device.Optionally, touch panel 631 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 660 is given again, and can be received order that processor 660 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 631.In addition to touch panel 631, input unit 630 can also include other input equipments 632, other input equipments 632 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 640 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 600.Display unit 640 may include display panel 641, optionally, can use LCD or organic hair The forms such as optical diode (Organic Light-Emitting Diode, OLED) configure display panel 641.
It should be noted that touch panel 631 can cover display panel 641, touch display screen is formed, when the touch display screen is examined After measuring touch operation on it or nearby, processor 660 is sent to determine the type of touch event, is followed by subsequent processing device 660 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 660 is the control centre of mobile terminal 600, 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 621, and calling storage Data in second memory 622 execute the various functions and processing data of mobile terminal 600, thus to mobile terminal 600 Carry out integral monitoring.Optionally, processor 660 may include one or more processing units.
In one embodiment of this invention, by calling the software program and/or module that store in the first memory 621 And/or the data in the second memory 622, processor 660 are used to obtain the acquisition parameters information of camera, the acquisition parameters Information includes: that the camera of the light information and the mobile terminal in current shooting environment acquires in current shooting environment Image data;Described image data are analyzed, obtain the first acquisition parameters, and second count is obtained according to the light information Take the photograph parameter;According to first acquisition parameters and second acquisition parameters, the acquisition parameters of the camera are determined.
Optionally, processor 660 is also used to: by the connection between intelligent lamp pre-established, obtaining the intelligence The light information that lamp is sent.
Optionally, processor 660 is also used to: whether there is intelligent lamp in scanning current shooting environment;If current shooting ring There are intelligent lamps in border, then establish the connection between the intelligent lamp.
Optionally, processor 660 is also used to: according to the first weight and the second acquisition parameters of preset first acquisition parameters The second weight, summation process is weighted to first acquisition parameters and second acquisition parameters, obtains the camera Acquisition parameters.
Optionally, processor 660 is also used to: according to the light information in current shooting environment, to preset first shooting First weight of parameter and the second weight of the second acquisition parameters are adjusted;
According to the first weight adjusted and the second weight, to first acquisition parameters and second acquisition parameters into Row weighted sum processing, obtains the acquisition parameters of the camera.
Optionally, processor 660 is also used to: after delay scheduled time, the acquisition parameters information of the camera is reacquired, And the acquisition parameters of the camera according to the acquisition parameters information update of reacquisition.
Mobile terminal of the invention such as can be mobile phone, tablet computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle-mounted computer etc. terminal.
Mobile terminal 600 can be realized each process that terminal is realized in previous embodiment, to avoid repeating, here no longer It repeats.
The mobile terminal 600 of the embodiment of the present invention, processor 660 are used to obtain the acquisition parameters information of camera, the bat Taking the photograph parameter information includes: the camera of the light information and the mobile terminal in current shooting environment in current shooting environment The image data of acquisition;Described image data are analyzed, obtain the first acquisition parameters, and obtain according to the light information Second acquisition parameters;According to first acquisition parameters and second acquisition parameters, the acquisition parameters of the camera are determined.This The acquisition parameters of camera are set in inventive embodiments in conjunction with light information and the image data of terminal acquisition, reduces and shot Influence of the light to captured photo, improves imaging effect in journey.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present 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.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is controlled by computer program to complete, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Within mind and principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (6)

1. a kind of setting method of camera acquisition parameter is applied to mobile terminal characterized by comprising
The acquisition parameters information of camera is obtained, the acquisition parameters information includes: light information and institute in current shooting environment State the image data that the camera of mobile terminal acquires in current shooting environment;
Described image data are analyzed, obtain the first acquisition parameters, and the second shooting ginseng is obtained according to the light information Number;
According to first acquisition parameters and second acquisition parameters, the acquisition parameters of the camera are determined;
Obtain current shooting environment in light information include:
By the connection between intelligent lamp pre-established, the light information that the intelligent lamp is sent is obtained;
It is described according to first acquisition parameters and second acquisition parameters, the step of determining the acquisition parameters of the camera packet It includes:
According to the first weight of preset first acquisition parameters and the second weight of the second acquisition parameters, first shooting is joined Several and second acquisition parameters are weighted summation process, obtain the acquisition parameters of the camera.
2. the setting method of camera acquisition parameter according to claim 1, which is characterized in that in the shooting ginseng for obtaining camera Before number information, the setting method further include:
It scans and whether there is intelligent lamp in current shooting environment;
If there are intelligent lamps in current shooting environment, the connection between the intelligent lamp is established.
3. the setting method of camera acquisition parameter according to claim 1, which is characterized in that described according to the first count The step of taking the photograph parameter and second acquisition parameters, determining the acquisition parameters of the camera include:
According to the light information in current shooting environment, to the first weight and the second acquisition parameters of preset first acquisition parameters The second weight be adjusted;
According to the first weight adjusted and the second weight, first acquisition parameters and second acquisition parameters are added Summation process is weighed, the acquisition parameters of the camera are obtained.
4. a kind of mobile terminal characterized by comprising
Module is obtained, for obtaining the acquisition parameters information of camera, the acquisition parameters information includes: in current shooting environment The image data that the camera of light information and the mobile terminal acquires in current shooting environment;
First determining module obtains the first acquisition parameters, and believe according to the light for analyzing described image data Breath obtains the second acquisition parameters;
Second determining module, for determining the bat of the camera according to first acquisition parameters and second acquisition parameters Take the photograph parameter;
The module that obtains is used to pass through the connection between intelligent lamp pre-established, obtains the light that the intelligent lamp is sent Information;
Second determining module is used for second according to the first weight of preset first acquisition parameters and the second acquisition parameters Weight is weighted summation process to first acquisition parameters and second acquisition parameters, obtains the shooting of the camera Parameter.
5. mobile terminal according to claim 4, which is characterized in that further include:
Scan module, for scanning in current shooting environment with the presence or absence of intelligent lamp;
Link block, if establishing the connection between the intelligent lamp for there are intelligent lamps in current shooting environment.
6. mobile terminal according to claim 4, which is characterized in that second determining module includes:
Adjusting submodule, for being weighed to the first of preset first acquisition parameters according to the light information in current shooting environment Second weight of weight and the second acquisition parameters is adjusted;
Submodule is determined, for according to the first weight adjusted and the second weight, to first acquisition parameters and described the Two acquisition parameters are weighted summation process, obtain the acquisition parameters of the camera.
CN201611258248.3A 2016-12-30 2016-12-30 A kind of setting method and mobile terminal of camera acquisition parameter Active CN106488140B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611258248.3A CN106488140B (en) 2016-12-30 2016-12-30 A kind of setting method and mobile terminal of camera acquisition parameter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611258248.3A CN106488140B (en) 2016-12-30 2016-12-30 A kind of setting method and mobile terminal of camera acquisition parameter

Publications (2)

Publication Number Publication Date
CN106488140A CN106488140A (en) 2017-03-08
CN106488140B true CN106488140B (en) 2019-06-07

Family

ID=58285245

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611258248.3A Active CN106488140B (en) 2016-12-30 2016-12-30 A kind of setting method and mobile terminal of camera acquisition parameter

Country Status (1)

Country Link
CN (1) CN106488140B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107135386B (en) * 2017-04-26 2018-09-07 北京图森未来科技有限公司 A kind of binocular camera system
CN107770444B (en) * 2017-10-27 2020-12-29 北京小米移动软件有限公司 Photographing parameter determination method and device
CN110113538B (en) * 2019-06-12 2021-07-16 北京百度网讯科技有限公司 Intelligent shooting equipment, intelligent control method and device
CN114007061A (en) * 2021-10-13 2022-02-01 上海磐启微电子有限公司 Camera sensor debugging method and system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050270397A1 (en) * 2004-06-02 2005-12-08 Battles Amy E System and method for indicating settings
CN101771889B (en) * 2008-12-26 2013-08-07 深圳富泰宏精密工业有限公司 Electronic device and method for regulating white balance parameter of electronic device
US8860843B2 (en) * 2011-03-11 2014-10-14 Nokia Corporation Method and apparatus for capturing an image of an illuminated area of interest
JP6195633B2 (en) * 2014-02-07 2017-09-13 富士フイルム株式会社 Image processing apparatus and image processing method
CN105208360B (en) * 2015-09-23 2017-07-25 青岛海信移动通信技术股份有限公司 Image preview method, device and the terminal of a kind of intelligent terminal
CN105407286B (en) * 2015-12-02 2019-04-16 小米科技有限责任公司 Acquisition parameters setting method and device
CN105611132A (en) * 2015-12-28 2016-05-25 广东欧珀移动通信有限公司 Exposure control method and device

Also Published As

Publication number Publication date
CN106488140A (en) 2017-03-08

Similar Documents

Publication Publication Date Title
CN107395976B (en) A kind of acquisition parameters setting method and mobile terminal
CN107257439B (en) A kind of image pickup method and mobile terminal
CN105959553B (en) A kind of switching method and terminal of camera
CN105898143B (en) A kind of grasp shoot method and mobile terminal of moving object
CN106131341B (en) A kind of photographic method and mobile terminal
CN106657793B (en) A kind of image processing method and mobile terminal
CN106488140B (en) A kind of setting method and mobile terminal of camera acquisition parameter
CN106231178B (en) A kind of self-timer method and mobile terminal
CN106791450B (en) A kind of photographic method and mobile terminal
CN107231530B (en) A kind of photographic method and mobile terminal
KR101813195B1 (en) Method and apparatus, program and recording medium for recommending contact information
CN106060419B (en) A kind of photographic method and mobile terminal
CN106680963B (en) A kind of fixing means and mobile terminal of motor movable device
CN107026982B (en) A kind of photographic method and mobile terminal of mobile terminal
CN106657806B (en) A kind of exposure method and mobile terminal
CN106937054B (en) A kind of take pictures weakening method and the mobile terminal of mobile terminal
CN106506962A (en) A kind of image processing method and mobile terminal
CN105979157B (en) A kind of screening-mode switching method and mobile terminal
CN106210526A (en) A kind of image pickup method and mobile terminal
CN107147837A (en) The method to set up and mobile terminal of a kind of acquisition parameters
CN106648382B (en) A kind of picture browsing method and mobile terminal
CN106354303B (en) A kind of photographic method and mobile terminal of mobile terminal
CN106993139B (en) A kind of image pickup method and mobile terminal
CN106713659B (en) A kind of panorama shooting method and mobile terminal
CN105843501B (en) A kind of method of adjustment and mobile terminal of parameter of taking pictures

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
GR01 Patent grant
GR01 Patent grant