CN110225244A - A kind of image capturing method and electronic equipment - Google Patents

A kind of image capturing method and electronic equipment Download PDF

Info

Publication number
CN110225244A
CN110225244A CN201910402906.9A CN201910402906A CN110225244A CN 110225244 A CN110225244 A CN 110225244A CN 201910402906 A CN201910402906 A CN 201910402906A CN 110225244 A CN110225244 A CN 110225244A
Authority
CN
China
Prior art keywords
image
mobile phone
reference object
shooting
electronic equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910402906.9A
Other languages
Chinese (zh)
Other versions
CN110225244B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201910402906.9A priority Critical patent/CN110225244B/en
Publication of CN110225244A publication Critical patent/CN110225244A/en
Priority to PCT/CN2020/090366 priority patent/WO2020228792A1/en
Application granted granted Critical
Publication of CN110225244B publication Critical patent/CN110225244B/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/62Control of parameters via user interfaces

Abstract

This application provides a kind of image capturing method and electronic equipments.This method comprises: detecting input operation, start camera, show interface of finding a view, includes preview image in interface of finding a view;It detects the first operation for shooting control, shows that the first image, the first image are the images based on the shooting of initial acquisition parameters, the weight information and shooting adjusting parameter of each reference object are shown on the first image;It detects the second operation for storing the first image, stores the second image, the second image is weight information and shooting adjusting parameter according to each reference object to the image obtained after the first Image Adjusting.In this method, user in electronic equipment without shooting to obtain the first image, and after the first image of storage, the first image is searched out from picture library again, then figure is repaired to the first image again, i.e. user passes through less operating procedure, it will be able to obtain being more conform with the aesthetic image of user, it is easy to operate, promote user experience.

Description

A kind of image capturing method and electronic equipment
Technical field
This application involves field of terminal technology more particularly to a kind of image capturing methods and electronic equipment.
Background technique
With the progress of the communication technology, various functions are constantly improve in electronic equipment.Wherein, the function of taking pictures in electronic equipment One of higher function of user's frequency of use can be had become.
For example, when encountering beautiful landscape, user wishes that the higher image of shooting mass is used as and stays when user travels It reads.But be not professional photographers or shutterbugs for most of user, it is ignorant of technique for taking, it is not known that how The photo to work well can be shot, causes the photo shot stiff, stiff, also will affect user mood, reduces user Experience.
Summary of the invention
The application's has been designed to provide a kind of image capturing method and electronic equipment, this method and can make electronic equipment Shooting obtains the image for meeting user demand, promotes user experience.
Above-mentioned target and other targets will be reached by the feature in independent claims.Further implementation exists It is embodied in dependent claims, the description and the appended drawings.
In a first aspect, providing a kind of image capturing method, this method can be executed by electronic equipment, the electronic equipment ratio Such as mobile phone, ipad.This method comprises: detecting input operation;It is operated in response to the input, starts camera, display takes Scape interface includes preview image in the interface of finding a view;Detect the first operation for shooting control;In response to described first Operation shows the first image, and the first image is the image based on the shooting of initial acquisition parameters, shows in the first image The weight information and shooting adjusting parameter of each reference object;Detect the second operation for storing the first image;It rings Second operation described in Ying Yu, stores the second image, second image be according to the weight information of each reference object and Shooting adjusting parameter is to the image obtained after the first image adjustment.
In the embodiment of the present application, after electronic equipment detects the operation for shooting control, shooting obtains the first image, Electronic equipment does not store the first image directly, but before storing first image, it can be provided for user to the first figure Picture repairs figure chance, and prompts the weight of each reference object and shooting adjusting parameter on the first image of user, for user With reference to when electronic equipment detects the operation of the first image of storage, electronic equipment will repair what figure obtained later to the first image The storage of second image.In this method, user is not necessarily to shoot to obtain the first image in electronic equipment, and after the first image of storage, The first image is searched out from picture library again, figure then is repaired to the first image again, is i.e. user passes through less operating procedure, it will be able to It obtains being more conform with the aesthetic image of user, it is easy to operate, promote user experience.
In a kind of possible design, before detecting the second operation for storing the first image, electronics is set The standby modification operation that can also be detected the weight information for the first reference object and/or shoot adjusting parameter;In response to institute Modification operation is stated, the first image is handled to obtain third image, the third image is according to the modified weight Information and/or shooting adjusting parameter are to the image obtained after the first image adjustment;In response to second operation, storage the Two images, comprising: in response to second operation, store the third image.
In the embodiment of the present application, after electronic equipment detects the operation for shooting control, shooting obtains the first image, Before storing first image, the first image can be provided for user repairs figure chance, and prompts on the first image of user The weight and shooting adjusting parameter of each reference object, with for reference, user can modify the weight of each reference object With shooting adjusting parameter, electronic equipment can be based on modified weight and/or shooting adjusting parameter to the first image tune Whole to obtain third image, when electronic equipment detects the operation of the first image of storage, electronic equipment stores third image.It should In method, user is not necessarily to shoot to obtain the first image in electronic equipment, and stores the first image and then search out from picture library Then first image repairs figure to the first image again, i.e. user passes through less operating procedure, it will be able to obtain being more conform with user Aesthetic image, it is easy to operate, promote user experience.
In a kind of possible design, electronic equipment can also save the first image;Wherein, on second image Setting first marks, and first label is not provided in the first image.
In the embodiment of the present application, electronic equipment can save the first image and the second image, that is to say, that electronic equipment It can store the image before repairing figure, also can store the image after repairing figure, checked in order to facilitate user, set on the second image The first label is set, which can be not provided with for characterize the second image to be the image after repairing figure on the first image One label.It should be understood that the first label can be icon and/text, the embodiment of the present application is not construed as limiting.
In a kind of possible design, the weight of each reference object is according to shooting each in the first image What area ratio shared by object determined;It is either pre-set;Alternatively, being determined according to user's selection operation;Alternatively, It is to be determined according to operation behavior of the user to the image stored in the electronic equipment.
It should be understood that electronic equipment can be each according to operation behavior self study of the user to the image stored in electronic equipment The weight of reference object, in this case, electronic equipment based on self study to the weight of each reference object repair figure when, obtain Image is to be more conform with the aesthetic image of user.
In a kind of possible design, the weight of each reference object is according to user to depositing in the electronic equipment What the operation behavior of the image of storage determined, comprising: the weight of each reference object is each bat in the image according to storage Take the photograph object repaired figure number determine;Alternatively, being that the number that each reference object is cropped in the image according to storage determines , alternatively, being determined according to the amount of images in all images of storage including each reference object.
It should be understood that electronic equipment can be each according to operation behavior self study of the user to the image stored in electronic equipment The weight of reference object, in this case, electronic equipment based on self study to the weight of each reference object repair figure when, obtain Image is to be more conform with the aesthetic image of user.
In a kind of possible design, the shooting adjusting parameter of each reference object is pre-set, alternatively, being What the image parameter adjusted when repairing figure to each reference object in the image stored in the electronic equipment according to user determined.
It should be understood that electronic equipment can be each according to operation behavior self study of the user to the image stored in electronic equipment The shooting adjusting parameter of reference object, in this case, the shooting adjustment for each reference object that electronic equipment is arrived based on self study When parameter repairs figure, obtained image is to be more conform with the aesthetic image of user.
In a kind of possible design, weight information and the shooting adjustment of each reference object are shown in the first image Parameter, comprising: the white space in the first image shows the weight information and shooting adjustment ginseng of each reference object Number;Or shown in the region in the first image where each reference object each object weight information and Shoot adjusting parameter.
In the embodiment of the present application, the weight information of each reference object and shooting adjusting parameter can be on the first image White space show, can also the region on the first image where each reference object show that the embodiment of the present application is not made It limits.
In a kind of possible design, before detecting the second operation for storing the first image, electronics is set It is standby also to detect that third operates;It is operated in response to the third, cancels display each shooting pair in the first image The weight information and shooting adjusting parameter of elephant;In response to second operation, the second image is stored, comprising: in response to described the Two operations, store the first image.
In the embodiment of the present application, after electronic equipment detects the operation for shooting control, shooting obtains the first image, Before storing first image, the first image can be provided for user repairs figure chance, and prompts on the first image of user The weight and shooting adjusting parameter of each reference object, with for reference, it is every that user can cancel display on the first image The weight and shooting adjusting parameter of a reference object, in this case, electronic equipment stores to obtain image to be exactly the figure before repairing figure Picture, i.e. the first image.In this method, electronic equipment can allow user's selection to repair figure or do not repair figure, user-friendly, promoted and used Family experience.
Second aspect additionally provides a kind of electronic equipment, including at least one processor and memory.Wherein, memory For storing one or more computer programs;When memory storage one or more computer programs by it is described at least one When processor executes, so that electronic equipment can be realized the side of any one possible design of first aspect or first aspect Method.
The third aspect, additionally provides a kind of electronic equipment, and the electronic equipment includes executing first aspect or first party Module/unit of the method for the possible design of any one of face.These module/units can be by hardware realization, can also be with Corresponding software realization is executed by hardware.
Fourth aspect, also provides a kind of computer readable storage medium, and the computer readable storage medium includes calculating Machine program, when computer program is run on an electronic device, so that the electronic equipment executes first aspect or above-mentioned first The method of the possible design of any one of aspect.
5th aspect, also provides a kind of program product, when described program product is run on an electronic device, so that described The method that electronic equipment executes any one possible design of first aspect or above-mentioned first aspect.
6th aspect, also provides a kind of chip, and the chip is coupled with the memory in electronic equipment, for calling storage The computer program that is stored in device and the technology for executing the embodiment of the present application first aspect and its any possible design of first aspect Scheme;" coupling " refers to that two components combine directly or indirectly to one another in the embodiment of the present application.
Detailed description of the invention
Fig. 1 is the schematic diagram of the hardware configuration of mobile phone 100 provided by the embodiments of the present application;
Fig. 2 is the schematic diagram of the graphical interface of user of mobile phone 100 provided by the embodiments of the present application;
Fig. 3 is the schematic diagram of the graphical interface of user of mobile phone 100 provided by the embodiments of the present application;
Fig. 4 is the schematic diagram of the graphical interface of user of mobile phone 100 provided by the embodiments of the present application;
Fig. 5 is the schematic diagram of the graphical interface of user of mobile phone 100 provided by the embodiments of the present application;
Fig. 6 is a kind of schematic diagram of the process of image capturing method provided by the embodiments of the present application;
Fig. 7 is the schematic diagram of the graphical interface of user of mobile phone 100 provided by the embodiments of the present application;
Fig. 8 is a kind of schematic diagram of the process of image capturing method provided by the embodiments of the present application;
Fig. 9 is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description.
Hereinafter, the part term in the embodiment of the present application is explained, in order to those skilled in the art understand that.
The invention relates to electronic equipment, can be any electronic equipment with image camera function, such as Mobile phone, digital camera, ipad etc. can also be desktop computer, wearable device etc., and the embodiment of the present application is not construed as limiting.
The invention relates to acquisition parameters, the parameter that is arranged when can be electronic equipment shooting image, such as light Circle, focal length, shutter, sensitivity, exposure, white balance degree etc..
The invention relates to shooting adjusting parameter, i.e. the adjustment amplitude of acquisition parameters is focal length with acquisition parameters For, then shooting adjusting parameter is exactly the adjustment amplitude of focal length.Assuming that focal length is 50mm, if acquisition parameters adjustment is+5mm, Focal length after so adjusting is 55mm.
It should be noted that user uses for convenience, the shooting adjusting parameter shown on electronic equipment can be with shelf grade Model split, for example color can divide according to shelf grade, and initial shelf grade is 0 grade, then color increases by 2 grades (indicating with+2), Corresponding shooting adjusting parameter is the time for exposure to increase by 0.25, that is to say, that when electronic equipment shoots image, the time for exposure increases When adding 0.25 second, the color in the image of shooting can increase by 2 grades.It should be understood that numerical value provided herein is citing, it is not It limits.
The invention relates to initial acquisition parameters, that is, adjust before acquisition parameters, electronic equipment is according to shooting Adjusting parameter is adjusted initial acquisition parameters, obtains final acquisition parameters.For example, by taking focal length as an example, initial focal length is 50mm, if acquisition parameters adjustment is+5mm, then final focal length is 55mm.
The invention relates to preview image, be electronic equipment detect for shooting control operation before, It finds a view the image shown in interface.
The invention relates to reference object, the reference object for including in image, for example, people, flowers, green planting, being dynamic Object etc., the embodiment of the present application do not limit.
Term used in following embodiment is intended merely to for the purpose of describing particular embodiments, and is not intended as pair The limitation of the application.As the description of the present application and it is used in the attached claims, odd number expression form " one It is a ", "an", " described ", " above-mentioned ", "the" and " this " be intended to also include such as " one or more " this expression-form, Unless hereinafter clearly there is opposite instruction thereon.It is also understood that in the embodiment of the present application, " one or more " refers to one It is a, two or more;"and/or" describes the incidence relation of affiliated partner, indicates may exist three kinds of relationships;For example, A And/or B, the case where can indicate: individualism A exists simultaneously A and B, individualism B, wherein A, B can be odd number or Plural number.Character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or".
The reference " one embodiment " described in the present specification or " some embodiments " etc. mean the one of the application It include special characteristic, structure or the feature in conjunction with embodiment description in a or multiple embodiments.As a result, in the present specification Difference occur sentence " in one embodiment ", " in some embodiments ", " in some other embodiment ", " In other embodiment " etc. it is uninevitable all referring to identical embodiment, mean " one or more but not all Embodiment ", only otherwise in addition especially emphasize.The terms "include", "comprise", " having " and their deformation are all Mean " including but not limited to ", only otherwise in addition especially emphasizes.
Electronic equipment introduced below, graphic user interface (the graphical user for such electronic equipment Interface, GUI) and embodiment for using such electronic equipment.In some embodiments of the application, electronic equipment It can be the portable device comprising camera, mobile phone, tablet computer, wearable device (such as smartwatch).It is portable The exemplary embodiment of formula equipment includes but is not limited to carryOr other operation systems The portable device of system.Above-mentioned portable device is also possible to other portable devices, as long as can be realized image camera function ?.It is to be further understood that above-mentioned electronic equipment may not be portable set in some other embodiment of the application It is standby, and it is that by the desktop computer of image camera function.
Under normal conditions, electronic equipment can support a variety of applications (application, APP).Such as in applying below It is one or more: camera, picture library, instant message transrecieving application etc..Wherein, instant message transrecieving application can there are many, such as Wechat, chat software, Tencent (QQ), WhatsApp Messenger, even my (Line), Kakao Talk, nail nail etc..User is logical Instant message transrecieving application is crossed, the information such as text, voice, picture, video file and other various files can be sent to Other contact persons;Or user can be applied by instant message transrecieving and realize voice, video calling etc. with other contact persons.
It takes the mobile phone as an example below, introduces the structure of mobile phone.
Shown in Figure 1, mobile phone 100 may include processor 110, external memory interface 120, internal storage 121, Universal serial bus (universal serial bus, USB) interface 130, charge management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio-frequency module 170, loudspeaker 170A, receiver 170B, microphone 170C, earphone interface 170D, sensor module 180, key 190, motor 191, indicator 192, camera 193, display screen 194 and Subscriber Identity Module (subscriber identification module, SIM) card interface 195, sensor module 180 etc..
Processor 110 may include one or more processing units, such as: processor 110 may include application processor (application processor, AP), modem processor, graphics processor (graphics processing Unit, GPU), image-signal processor (image signal processor, ISP), controller, memory, coding and decoding video Device, digital signal processor (digital signal processor, DSP), baseband processor and/or Processing with Neural Network Device (neural-network processing unit, NPU) etc..Wherein, different processing units can be independent device, Also it can integrate in one or more processors.
Wherein, controller can be nerve center and the command centre of mobile phone 100.Controller can be according to instruction operation code And clock signal, operating control signal is generated, the control completing instruction fetch and executing instruction.
Memory can also be set in processor 110, for storing instruction and data.In some embodiments, processor Memory in 110 is cache memory.The memory can save the instruction that processor 110 is just used or is recycled Or data.If processor 110 needs to reuse the instruction or data, can be called directly from the memory.It avoids Repeated access, reduces the waiting time of processor 110, thus improves the efficiency of system.
Processor 100 can run the software code of image capturing method provided by the embodiments of the present application, and shooting is used The image that family meets.
Usb 1 30 is the interface for meeting USB standard specification, specifically can be Mini USB interface, and Micro USB connects Mouthful, USB Type C interface etc..Usb 1 30 can be used for connecting charger for the charging of mobile phone 100, can be used for mobile phone Data are transmitted between 100 and peripheral equipment.
Charge management module 140 is used to receive charging input from charger.Power management module 141 is for connecting battery 142, charge management module 140 and processor 110.Power management module 141 receives battery 142 and/or charge management module 140 Input, be processor 110, internal storage 121, external memory, display screen 194, camera 193 and radio communication mold The power supply such as block 160.
The wireless communication function of mobile phone 100 can pass through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor etc. are realized.
Antenna 1 and antenna 2 electromagnetic wave signal for transmitting and receiving.Each antenna in mobile phone 100 can be used for covering list A or multiple communication bands.Different antennas can also be multiplexed, to improve the utilization rate of antenna.Such as: antenna 1 can be multiplexed For the diversity antenna of WLAN.In other embodiments, antenna can be used in combination with tuning switch.
Mobile communication module 150 can provide the solution of wireless communications such as including 2G/3G/4G/5G applied on mobile phone 100 Certainly scheme.Mobile communication module 150 may include at least one filter, switch, power amplifier, low-noise amplifier (low Noise amplifier, LNA) etc..Mobile communication module 150 can receive electromagnetic wave by antenna 1, and to received electromagnetic wave It is filtered, the processing such as amplification is sent to modem processor and is demodulated.Mobile communication module 150 can also be to through adjusting The modulated signal amplification of demodulation processor processed, switchs to electromagenetic wave radiation through antenna 1 and goes out.In some embodiments, mobile logical At least partly functional module of letter module 150 can be arranged in processor 110.In some embodiments, mobile communication mould At least partly functional module of block 150 can be arranged in the same device at least partly module of processor 110.
It includes WLAN (wireless local that wireless communication module 160, which can be provided and be applied on mobile phone 100, Area networks, WLAN) (such as Wireless Fidelity (wireless fidelity, Wi-Fi) network), bluetooth (Bluetooth, BT), Global Navigation Satellite System (global navigation satellite system, GNSS), frequency modulation (frequency Modulation, FM), the short distance wireless communication technology (near field communication, NFC), infrared technique The solution of wireless communications such as (infrared, IR).Wireless communication module 160 can be integrated into a few communication process mould One or more devices of block.Wireless communication module 160 receives electromagnetic wave via antenna 2, by electromagnetic wave signal frequency modulation and filter Wave processing, by treated, signal is sent to processor 110.Wireless communication module 160 can also receive pending from processor 110 The signal sent carries out frequency modulation to it, and amplification switchs to electromagenetic wave radiation through antenna 2 and goes out.
In some embodiments, the antenna 1 of mobile phone 100 and mobile communication module 150 couple, antenna 2 and radio communication mold Block 160 couples, and allowing mobile phone 100, technology is communicated with network and other equipment by wireless communication.The wireless communication Technology may include global system for mobile communications (global system for mobile communications, GSM), lead to With grouping wireless service (general packet radio service, GPRS), CDMA accesses (code division Multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division CDMA (time-division code division multiple access, TD-SCDMA), it is long Phase evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM and/or IR technology etc..The GNSS can To include GPS (global positioning system, GPS), Global Navigation Satellite System (global Navigation satellite system, GLONASS), Beidou satellite navigation system (beidou navigation Satellite system, BDS), quasi- zenith satellite system (quasi-zenith satellite system, QZSS) and/or Satellite-based augmentation system (satellite based augmentation systems, SBAS).
Display screen 194 is used to show the display interface etc. of application.Display screen 194 includes display panel.Display panel can be with Using liquid crystal display (liquid crystal display, LCD), Organic Light Emitting Diode (organic light- Emitting diode, OLED), active matrix organic light-emitting diode or active-matrix organic light emitting diode (active- Matrix organic light emitting diode's, AMOLED), Flexible light-emitting diodes (flex light- Emitting diode, FLED), Miniled, MicroLed, Micro-oLed, light emitting diode with quantum dots (quantum dot Light emitting diodes, QLED) etc..In some embodiments, mobile phone 100 may include 1 or N number of display screen 194, N be the positive integer greater than 1.
Camera 193 is for capturing still image or video.Camera 193 may include front camera and postposition camera shooting Head.
It should be understood that at least one camera can be set on mobile phone 100, such as at least one front camera, and/or extremely A few rear camera.
Internal storage 121 can be used for storing one or more computer programs, the one or more computer program Including instruction.Processor 110 can be stored in the above-metioned instruction of internal storage 121 by running, so that mobile phone 100 is held Image capturing method provided in some embodiments of row the application.Illustratively, internal storage 121 may include storage journey Sequence area and storage data area.Wherein, storing program area can storage program area;The storing program area can also store one or more A application (such as picture library, contact person etc.) etc..Data (the ratio that storage data area can be created in 100 use process of memory mobile phone Such as photo, contact person etc.) etc..In addition, internal storage 121 may include high-speed random access memory, it can also include non- Volatile memory, such as one or more disc file units, flash memory component, generic flash memory (universal Flash storage, UFS) etc..In some embodiments, processor 110 can be stored in internal storage 121 by operation Instruction, and/or be stored in the instruction for the memory being set in processor 110, come so that mobile phone 100 executes the application and implements Image capturing method provided in example.
External memory interface 120 can be used for connecting external memory card, such as Micro SD card, realize extended mobile phone 100 storage capacity.External memory card is communicated by external memory interface 120 with processor 110, realizes that data store function Energy.Such as by picture, the files such as video are stored in external memory card.
Certainly, the software code of image capturing method provided by the embodiments of the present application also can store in external memory In, processor 110 can run the software code by external memory interface 120, execute the process of image capturing method Step, to take the image of user's satisfaction.
It can store it should be understood that mobile phone 100 shoots obtained image (still image or dynamic image), video etc. in outside In memory, alternatively, mobile phone 100 detects meet some requirements (Insufficient memory of internal storage or user's choosing Select and image, video etc. be stored in external memory) when, image, video etc. are stored in external memory.
Mobile phone 100 can pass through audio-frequency module 170, loudspeaker 170A, receiver 170B, microphone 170C, earphone interface 170D and application processor etc. realize audio-frequency function.Such as music, recording etc..
Wherein sensor module 180 may include pressure sensor 180A, gyro sensor 180B, baroceptor 180C, Magnetic Sensor 180D, acceleration transducer 180E, range sensor 180F, close to optical sensor 180G, fingerprint sensor 180H, temperature sensor 180J, touch sensor 180K, ambient light sensor 180L, bone conduction sensor 180M etc..
Pressure signal can be converted into electric signal for experiencing pressure signal by pressure sensor 180A.In some implementations In example, pressure sensor 180A be can be set in display screen 194.
Gyro sensor 180B is determined for the athletic posture of mobile phone 100.In some embodiments, can pass through Gyro sensor 180B determines that mobile phone 100 surrounds the angular speed of three axis (that is, x, y and z-axis).Gyro sensor 180B can For shooting stabilization.
Baroceptor 180C is for measuring air pressure.In some embodiments, mobile phone 100 is surveyed by baroceptor 180C The atmospheric pressure value obtained calculates height above sea level, auxiliary positioning and navigation.
Magnetic Sensor 180D includes Hall sensor.Mobile phone 100 can use Magnetic Sensor 180D flip cover leather sheath Folding.In some embodiments, when mobile phone 100 is liding machine, mobile phone 100 can be according to Magnetic Sensor 180D flip cover Folding.And then according to the folding condition of the leather sheath detected or the folding condition of flip lid, the characteristics such as setting flip lid automatic unlocking.
Acceleration transducer 180E can detect the size of (the generally three axis) acceleration in all directions of mobile phone 100.When Mobile phone 100 can detect that size and the direction of gravity when static.It can be also used for identification electronic equipment posture, be applied to horizontal/vertical screen Switching, the application such as pedometer.
Range sensor 180F, for measuring distance.Mobile phone 100 can pass through infrared or laser distance measuring.Some In embodiment, photographed scene, mobile phone 100 can use range sensor 180F ranging to realize rapid focus.
It may include such as light emitting diode (LED) and photodetector, such as photodiode close to optical sensor 180G. Light emitting diode can be infrared light-emitting diode.Mobile phone 100 launches outward infrared light by light emitting diode.Mobile phone 100 makes The infrared external reflection light from neighbouring object is detected with photodiode.When detecting sufficient reflected light, mobile phone can be determined 100 nearby have object.When detecting insufficient reflected light, mobile phone 100 can determine mobile phone 100 nearby without object.Hand Machine 100 can use close to optical sensor 180G detection user and hold mobile phone 100 close to ear call, so as to automatic distinguishing screen Achieve the purpose that power saving.It can also be used for leather sheath mode, pocket pattern automatic unlocking and screen locking close to optical sensor 180G.
Ambient light sensor 180L is for perceiving environmental light brightness.Mobile phone 100 can according to the environmental light brightness of perception from It adapts to adjust 194 brightness of display screen.Automatic white balance adjustment when ambient light sensor 180L can also be used for taking pictures.Ambient light sensing Device 180L can also cooperate with close to optical sensor 180G, mobile phone 100 be detected whether in pocket, with false-touch prevention.
Fingerprint sensor 180H is for acquiring fingerprint.The fingerprint characteristic that mobile phone 100 can use acquisition realizes unlocked by fingerprint, Application lock is accessed, fingerprint is taken pictures, fingerprint incoming call answering etc..
Temperature sensor 180J is for detecting temperature.In some embodiments, mobile phone 100 is examined using temperature sensor 180J The temperature of survey executes Temperature Treatment strategy.For example, mobile phone 100 executes when the temperature sensor 180J temperature reported is more than threshold value The performance for the processor being located near temperature sensor 180J is reduced, implements Thermal protection to reduce power consumption.In other implementations In example, when temperature is lower than another threshold value, mobile phone 100 heats battery 142, causes mobile phone 100 to shut down extremely to avoid low temperature. In some other embodiment, when temperature is lower than another threshold value, mobile phone 100 executes boosting to the output voltage of battery 142, with It avoids shutting down extremely caused by low temperature.
Touch sensor 180K, also referred to as " touch panel ".Touch sensor 180K can be set in display screen 194, by touching It touches sensor 180K and display screen 194 forms touch screen, also referred to as " touch screen ".Touch sensor 180K acts on it for detecting On or near touch operation.The touch operation that touch sensor can will test passes to application processor, to determine touching Touch event type.Visual output relevant to touch operation can be provided by display screen 194.In further embodiments, it touches Touching sensor 180K also can be set in the surface of mobile phone 100, different from the location of display screen 194.
The available vibration signal of bone conduction sensor 180M.In some embodiments, bone conduction sensor 180M can be with Obtain the vibration signal of human body part vibration bone block.Bone conduction sensor 180M can also contact human pulse, receive blood pressure and jump Dynamic signal.
Key 190 includes power button, volume key etc..Key 190 can be mechanical key.It is also possible to touch-key. Mobile phone 100 can receive key-press input, generate key signals input related with the user setting of mobile phone 100 and function control.
Motor 191 can produce vibration prompt.Motor 191 can be used for calling vibration prompt, can be used for touching vibration Dynamic feedback.For example, acting on the touch operation of different application (such as taking pictures, audio broadcasting etc.), different vibrations can be corresponded to Feedback effects.
Indicator 192 can be indicator light, can serve to indicate that charged state, electric quantity change can be used for instruction and disappear Breath, missed call, notice etc..
SIM card interface 195 is for connecting SIM card.SIM card can be by being inserted into SIM card interface 195, or from SIM card interface 195 extract, and realization is contacting and separating with mobile phone 100.
It is understood that component shown in Fig. 2 does not constitute the specific restriction to mobile phone 100, mobile phone 100 can also be wrapped It includes than illustrating more or fewer components, perhaps combines certain components and perhaps split certain components or different component cloth It sets.
It should be noted that in mobile phone there are many screening-modes, such as portrait mode of figure, landscape configuration etc., but every kind Acquisition parameters are all (usually the setting before mobile phone factory) set under screening-mode, wherein acquisition parameters Including aperture, focal length, shutter, sensitivity, exposure, white balance degree etc..But the aesthetic feeling of each user and demand phase not to the utmost Together, the image shot with certain screening-mode not necessarily meets the needs of each user.For example, mobile phone uses portrait mode of figure One image of shooting, is that user A likes, but user B is not liked, and in this case, user B may also need to repair figure ability The image met, it is cumbersome, it experiences poor.
In image capturing method provided by the embodiments of the present application, mobile phone can learn user to reference object each in image Degree of concern and each reference object shooting adjusting parameter, for example, mobile phone study most images into the image of storage In include portrait, include animal in a small number of images, then illustrate that user is higher to the degree of concern of personage, to the attention rate of animal compared with It is low.For another example, mobile phone study to user during repairing figure, it is more to the modification number of personage, to the modification number of landscape compared with Few, then mobile phone determines that the degree of concern of personage is higher, lower to the degree of concern of landscape.For another example, mobile phone can also learn to use Family is during repairing figure, and modification to the image parameter of personage records the modification, so, mobile phone by a large amount of learning process, The shooting adjusting parameter of available personage can also obtain the shooting adjusting parameter of other reference objects.
The weight of each object is arranged in the degree of concern of mobile phone according to each object, for example, the higher weight of degree of concern Higher, the lower weight of degree of concern is lower.
Therefore, the weight of each reference object and the shooting adjusting parameter of each reference object be can store in mobile phone, And during user uses mobile phone, study in real time updates the weight and shooting adjusting parameter of each reference object.
Therefore, when mobile phone shoots an image, identify each reference object in image, weight according to each object and The shooting adjusting parameter of each reference object determines the final shooting adjusting parameter to each object, is based on each reference object Final shooting adjusting parameter adjusts acquisition parameters, is to meet use in the image that mobile phone is shot very maximum probability in this case The image of family habit, user satisfaction are higher.
Several examples that the process of one image of shooting is realized by mobile phone 100 shown in FIG. 1 are described below.
Example 1:
Referring to fig. 2 shown in (a), mobile phone 100 shows main interface (home screen) 201, may include in main interface 201 The icon or component of one or more application, including the icon 202 of camera.Mobile phone 100 detects the figure for camera The operation of mark 202 shows the interface 203 of finding a view of camera in response to the operation, referring to fig. 2 shown in (b).As shown in Fig. 2 (b), hand The display of machine 100 is found a view interface 203, includes preview image in interface 203 of finding a view, which is that mobile phone 100 is detected and is directed to Before the operation for shooting control 205, the image that is presented in interface of finding a view.
With continued reference to shown in Fig. 2 (b), when mobile phone 100 detects that " photo " mode 204 is selected, shown in interface of finding a view Preview image be based on initial acquisition parameters acquisition image.Wherein, the initial value of initial acquisition parameters, that is, acquisition parameters, than Such as, when acquisition parameters are exposures, initial acquisition parameters, that is, initial exposure value.It should be noted that initial acquisition parameters can be with It is the acquisition parameters of default or the acquisition parameters that user's last time adjusts.
Referring to fig. 2 shown in (c), mobile phone 100 detects that " intelligence shooting " mode 206 is selected, shows interface 207 of finding a view, Preview image in the interface 207 of finding a view, the preview image are image of the mobile phone 100 based on the acquisition parameters acquisition after adjustment, Acquisition parameters after wherein adjusting are to the acquisition parameters after the adjustment of initial exposure parameter.Certainly, mobile phone 100 can also be Display reminding information " entering intelligent screening-mode " on preview image.
Illustratively, mobile phone 100 can identify at least one reference object on preview image (image-recognizing method can be with There are many, for example edge detection method etc., the embodiment of the present application be not construed as limiting), and determine the weight and bat of each reference object Take the photograph adjusting parameter.Wherein, the weight of each reference object and shooting adjusting parameter can be 100 self study of mobile phone.Mobile phone 100 According to the weight of each reference object and shooting adjusting parameter, the final adjustment parameter of each reference object is determined, then basis Final adjustment parameter adjusts initial acquisition parameters, the acquisition parameters after being adjusted.
By taking the reference object in preview image is blue sky and white cloud as an example, understand for convenience, by blue sky and white cloud in Fig. 2 (c) Region draw oblique line distinguish, with the blue sky on preview image in the blue sky and white cloud and Fig. 2 (b) on preview image in phenogram 2 (c) The display effect of white clouds is different.Because the preview image in Fig. 2 (c) is acquired based on acquisition parameters adjusted, and Fig. 2 (b) preview image is acquired based on initial acquisition parameters in.
In example 1, mobile phone 100 enters after intelligent screening-mode, and the preview image shown in interface of finding a view is to be based on The image of acquisition parameters acquisition after adjustment.That is, mobile phone 100 enters after intelligent screening-mode, preview image phase It changes for general mode (such as " photo " mode), user can intuitively see intelligence shooting mould by preview image The effect of formula.
Example 2:
Referring to shown in Fig. 3 (a), after mobile phone 100 detects that " intelligence shooting " mode 301 is selected, interface of finding a view is shown, it should It finds a view and shows preview image 302 in interface, which acquired based on initial acquisition parameters, on preview image 302 Show the weight information and " cancellation " control 303 and " application " control 304 of each reference object.For example, referring to Fig. 3 (a) shown in, the weight information shown on preview image include: " blue sky and white cloud: 40% ", " green plant: 20% ", " one: 40% ". Wherein, the weight of blue sky and white cloud is 40% in " blue sky and white cloud 40% " characterization preview image, " green plant: 20% " characterizes preview image In the weight of green plant be 20%, " one: 40% " characterizing the weight of personage in preview image is 40%.
Illustratively, weight can be shared area ratio of the reference object in preview image, alternatively, weight and pre- The grade of the reference object being first arranged is related, for example reference object is higher ranked, and weight is higher, the grade of reference object compared with Low, weight is lower;Wherein, it presets that can be user customized, it is good to be also possible to default setting before mobile phone 100 dispatches from the factory , it can also be mobile phone 100 according to the habit of taking pictures of user (such as acquisition parameters adjusted during shooting, or repair figure When the image parameter etc. that adjusts) self study.By taking weight is occupied area ratio of the reference object in preview image as an example, when When preview image cardon changes, the weight of each reference object is also possible to dynamic change.
Illustratively, referring to shown in Fig. 3 (b), when mobile phone 100 detect for " blue sky and white cloud: when operation 40% ", hand Machine 100 shows the corresponding shooting adjusting parameter of blue sky and white cloud, i.e. color+4, be directed to when mobile phone 100 detects " green plant: 20% " When operation, mobile phone 100 shows the shooting adjusting parameter i.e. saturation degree+2 of green plant, be directed to when mobile phone 100 detects " one: 40% " Operation when, mobile phone 100 shows the shooting adjusting parameter of task, i.e. color+2.
It should be noted that in some embodiments, the weight and shooting of each reference object shown on preview image Adjusting parameter can be modified.With continued reference to shown in Fig. 3 (b), mobile phone 100 detect for blue sky and white cloud 40% operation (such as Long press operation), the weight information of blue sky and white cloud can be adjusted to editing mode, for example, "-" and "+" are shown in weight information, When mobile phone 100 detects the operation for "+", increases weight will be original 40% and increase to 41%.For another example, mobile phone 100 detect the operation (such as long press operation) for " blue sky and white cloud: color+4 ", " blue sky and white cloud: color+4 " can be set It is set to editing mode, for example, display "-" and "+" in " blue sky and white cloud: color+4 ".Mobile phone 100 detects the operation for "+", Color will be original+4 can be increased and be set as+5.When mobile phone 100 detects the operation for " application " control 304, hand Machine 100 acquires new preview image based on modified acquisition parameters, and the new preview image is then shown in interface of finding a view, Referring to shown in Fig. 3 (c).As shown in Fig. 3 (c), the image 305 shown in interface of finding a view is new preview image.In order to facilitate reason It solves, oblique line is drawn into the region of blue sky and white cloud in Fig. 3 (c) and is distinguished, with the blue sky and white cloud and Fig. 3 on preview image in phenogram 3 (c) (b) display effect of the blue sky and white cloud on preview image is different.Because the preview image in Fig. 3 (c) is based on modified Acquisition parameters acquisition, and preview image is acquired based on initial acquisition parameters in Fig. 3 (b).
In example 2, mobile phone 100 enters after " intelligence shooting " mode, can show the shooting ginseng of each reference object Number, user can modify the weight and acquisition parameters of each reference object, mobile phone 100 can based on modified acquisition parameters and Weight, adjusts initial acquisition parameters, and the acquisition parameters after being adjusted are then based on acquisition parameters adjusted and collect newly Preview image.
Illustratively, mobile phone 100 can determine each reference object weight and shooting adjusting parameter product, then with The product adjusts initial acquisition parameters.For example, referring to shown in Fig. 3 (b), mobile phone 100 determines the shooting tune of blue sky and white cloud Whole parameter is color+4, so mobile phone 100 can determine that the shooting adjusting parameter of blue sky and white cloud is the (40%*4=of color+1.6 1.6), corresponding, mobile phone 100 increases by 0.6 second in initial exposure time, to realize that the color of blue sky and white cloud on image increases by 1.6.
Mobile phone 100 determines that the shooting adjusting parameter of green plant is saturation degree+2, so mobile phone 100 determines the shooting adjustment of green plant Parameter is saturation degree+0.4 (i.e. 20%*2=0.4), and corresponding, mobile phone 100 is turned down in the initial value of aperture, and shutter is increased, For example aperture turns one grade (for example being reduced to f2 from f2.8) down, shutter is increased 1/25 second, to realize the saturation of green plant on image Degree+0.4.Wherein, aperture turns how many down, and how much is shutter increase, is just able to achieve the saturation degree+0.4 of green plant on image, this field skill Art personnel can determine according to test, then the value determined is stored in mobile phone 100, which can go out in mobile phone 100 It is carried out before factory.
Mobile phone 100 determines that the shooting adjusting parameter of personage is color+2.Therefore, mobile phone 100 determines the shooting adjustment of personage Parameter is color+0.8 (40%*2=0.8).Corresponding, initial exposure time is increased by 0.3 by mobile phone 100, to realize on image The color of personage increases by 0.8.It should be understood that numerical value herein is merely illustrative of, it is not to limit.
As an example, initial exposure time can be increased by 0.6, then turns aperture down one grade (such as from f2.8 It is reduced to f2), shutter is increased 1/25 second, then will increase the time for exposure 0.3 second, in this case, the image that mobile phone 100 takes It is the satisfied image of user.
Example 3:
Referring to fig. 4 shown in (a), mobile phone 100 shows the interface of finding a view of camera, includes preview image 401 in interface of finding a view, should Preview image 401 be acquired based on initial acquisition parameters or the preview image be based on acquisition parameters adjusted acquire , for example, mobile phone 100 identifies the reference object in photographed scene, weight and shooting adjusting parameter based on each reference object The final acquisition parameters that initial acquisition parameters obtain are adjusted, final acquisition parameters is then based on and shoots to obtain the preview image 401. Wherein, the weight of each reference object and shooting adjusting parameter are 100 self studies of mobile phone.As shown in Fig. 4 (a), preview image The weight information and shooting adjusting parameter of each reference object are not shown in 401.
When mobile phone 100 detects the operation for shooting control 402, mobile phone 100 shoots obtained image 403, and shows Show the image 403, go back display suppression control 404 and determine control 405, moreover, showing each shooting pair on the image 403 of shooting The weight information and shooting adjusting parameter of elephant, refer to shown in Fig. 4 (b).It should be understood that weight information and the bat of each reference object Taking the photograph adjusting parameter can show in the white space of image 403, can also show in the region where each reference object, this Shen Please embodiment be not construed as limiting.
User can modify the weight information and shooting adjusting parameter of each reference object on image 403, detailed process It has introduced above, has not repeated to repeat herein.Mobile phone 100 can be according to modified weight and shooting adjusting parameter to the image 403 carry out repairing figure, obtain repairing the image after figure.When mobile phone 100 detects the operation of determining control 403, mobile phone 100 is stored Image after repairing figure, referring to fig. 4 shown in (c), 100 lower left corner of mobile phone shows thumbnail 406, the corresponding image of thumbnail 406 It is that the image obtained after figure is repaired to image 403.
In further embodiments, continue by taking Fig. 4 (b) as an example, after mobile phone 100 detects predetermined registration operation, can cancel The weight information and shooting adjusting parameter of each reference object are shown on image 403.Wherein predicted operation can be double-click image A particular control (not shown) is shown in the operation in some region on 403 or image 403, mobile phone 100 detects needle When to the operation of the particular control, cancel the weight information that each reference object is shown on image 403 and shooting adjusting parameter. In this case, the weight information and shooting adjusting parameter for not showing each reference object on image 403, so mobile phone 100 is examined When measuring the operation for " determination " control 405, image 403 is stored, that is to say, that mobile phone 100 does not repair image 403 Figure, but image 403 is stored.
It should be noted that in this example, when mobile phone 100 detects the operation for shooting control 402, can will clap The storage of image 403 taken the photograph is in the buffer.User can modify the weight and shooting adjustment of some reference object on the image 403 Parameter.Mobile phone 100 can be carried out repairing figure, be obtained according to modified weight and shooting adjusting parameter to the image 403 in caching Modified image.When mobile phone 100 detects the operation of determining control 403, modified image is stored in mobile phone 100 In picture library.Illustratively, mobile phone 100 can delete the image 403 stored in caching, or the figure that can also will be stored in caching It also is stored in picture library as 403.It is shown in Figure 5, the thumbnail of multiple images is stored in the picture library of mobile phone 100, wherein breviary The corresponding image of Figure 50 1 is stored in the image (repairing the image before figure) in caching, and the corresponding image of thumbnail 502 is pair Image in caching repairs the image obtained after figure.
It with continued reference to shown in Fig. 5, checks, is repaired on the thumbnail i.e. thumbnail 502 of the image after figure in order to facilitate user Show that label 503, the label 503 are the images after repairing figure for characterizing the corresponding image of thumbnail 502.Repair the figure before figure Label is not shown on thumbnail, that is, thumbnail 501 of picture.It should be understood that label 503 can be icon and/or text etc., the application Embodiment is not construed as limiting.
The process of 100 self study of mobile phone is described below.
Example 1: the weight of 100 self study reference object of mobile phone.
For example, by taking an image as an example, mobile phone 100 detects the cutting instruction for the image, and mobile phone 100 determines The weight of reference object (reference object retained) on image after cutting is higher, determines the power of the reference object cropped Weight is lower or is 0.
For another example mobile phone 100, which detects, stores multiple images in picture library.Mobile phone 100 determines in multiple described images The quantity of the image of personage is more (or the quantity of the image in multiple images shot in the recent period comprising personage is more), determines institute State in multiple images comprising animal image data it is less (or in multiple images shot in the recent period comprising personage image number Measure less), then mobile phone 100 determines that the weight of personage is higher, determines that the weight of animal is lower.
For another example mobile phone 100 detects the graphic operation of repairing for image, determination is more to the modification of personage in image (for example carry out skin makeup, bright eye etc. to personage and repeatedly repair graphic operation), less to the modification of green plant, then mobile phone 100 determines personage's Weight is larger, and the weight of green plant is smaller.
Certainly, the weight of each reference object can also be default setting or user's manual setting, the application Embodiment is not construed as limiting.
Example 2: mobile phone 100 can be with the shooting adjusting parameter of self study reference object.
For example, mobile phone 100, which detects, stores multiple images in picture library, mobile phone 100 detects user to certain image Repair graphic operation, mobile phone 100 can recorde adjustment when repairing figure to the acquisition parameters of reference object in image.For example, mobile phone 100 It determines, 2 is increased to green plant saturation degree when repairing figure, for portrait figure, color increases by 2, then mobile phone 100 determines the shooting adjustment of green plant Parameter is saturation degree+2, and the shooting adjusting parameter of personage is color+2.
It should be noted that the self study process of mobile phone 100 can be realized by model.Model, that is, algorithm, including one A or multiple function/equations.The model that the embodiment of the present application is mentioned can be the model of the prior art, such as neural network list Member, machine learning model etc..In general, model is the functional expression for including model parameter, input and output parameter, cover half is being given In the case where the specific value of shape parameter and input parameter, by calculating the available output result of the functional expression.It should be understood that In the embodiment of the present application, parameter, that is, input picture is inputted, in the case where model parameter determines, passes through the available output of model As a result, the output result can be the shooting adjustment of the weight of each reference object and/or each reference object in input picture Parameter.It is realized that is, same mode can be used in above-mentioned example 1 and example 2, different model realizations also can be used. Mobile phone 100 can adjust acquisition parameters according to output result, and shooting obtains final image (process will be introduced later).
It is shown in Figure 6, it is a kind of flow diagram of image capturing method provided by the embodiments of the present application.Such as Fig. 6 institute Show, this method may include:
S601: mobile phone 100 detects input operation, starts camera, acquires an initial graph based on initial acquisition parameters Picture.
Illustratively, original acquisition parameters can be initial value, which can be minimum value either mobile phone 100 and go out The value or original acquisition parameters set before factory is also possible to the acquisition parameters used when last shooting image.
It should be noted that there are many case where starting camera of mobile phone 100, is possible.For example, by taking Fig. 2 (a) as an example, When mobile phone 100 detects that user clicks the icon of camera, mobile phone 100 starts camera, starts camera.For another example mobile phone 100 is examined The icon that user clicks wechat is measured, wechat is started, when mobile phone 100 detects the operation of video calling control in click wechat When, start camera.For another example when mobile phone 100 detects that user clicks the operation of " shooting " control in circle of friends, starting camera shooting Head.To sum up, technical solution provided by the embodiments of the present application can be adapted for it is any can star camera, capture image In.
S602: mobile phone 100 identifies at least one scene type belonging to initial pictures.
Illustratively, there are many default scene types for storage in mobile phone 100.For example, indoor scene, outdoor scene, one Shooting, group clap scene, personage's scene, landscape scene etc..
Mobile phone 100 identifies at least one scene type belonging to original image by the characteristic information in original image.Its In, characteristic information includes the characteristic information of reference object, for example, when reference object includes a people, and scene type can be list People's scene, when reference object includes blue sky, scene type is outdoor scene and/or landscape scene.
The scene type for including on one original image can have one or more.By taking Fig. 2 (b) as an example, in preview image Including landscape scene, outdoor scene, single scene etc..
S603: mobile phone 100 determines the weight of every kind of scene type at least one scene type.
Illustratively, the weight of every kind of scene type can be user's manual setting or the factory of mobile phone 100 before set It is having set or 100 self study of mobile phone, after mobile phone 100 determines every kind of scene type, every kind of scene class can be inquired The corresponding weight of type.By taking 100 self study of mobile phone as an example, mobile phone 100, which detects, stores multiple images in picture library, and determines wherein room The image of outer scene type it is more (or in the image shot in the recent period outdoor scene type image it is more), then mobile phone 100 is true The weight for determining outdoor scene is higher.
By taking Fig. 2 (b) as an example, mobile phone 100 identifies that preview image belongs to " outdoor ", " landscape ", " one " three kinds of scene classes Type.The weight of every kind of scene type such as the following table 1:
Scene type The weight of scene type
It is outdoor 20%
Landscape 30%
One 30%
Table 1S604: mobile phone 100 determines the shooting adjusting parameter of the corresponding reference object of every kind of scene type.
The shooting adjusting parameter of 100 self study of mobile phone reference object into the image of every kind of scene type, referring specifically to such as The following table 2:
Table 2
S605: mobile phone 100 determines the weight of at least one reference object and each reference object on original image.
Reference object The weight of reference object
Green plant 20%
Blue sky and white cloud 40%
Personage 40%
Table 3S606: mobile phone 100 is according to the weight of every kind of scene type, the weight of each reference object and every kind of scene The shooting adjusting parameter of corresponding reference object under type determines the final shooting adjusting parameter of each reference object.
Continue so that shown in Fig. 2 (b), mobile phone 100 determines the final shooting adjusting parameter of blue sky and white cloud according to the following formula:
First time adjusting parameter are as follows: outdoor weight * blue sky and white cloud weight * (+2);
Second of adjusting parameter are as follows: landscape weight * blue sky and white cloud weight * (+4);
Third time adjusting parameter are as follows: single weight * blue sky and white cloud weight * (+1);
Wherein, outdoor weight (referring to table 1) is 20%, and landscape weight (referring to table 1) is 30%, and single weight is (referring to table It 1) is 30%, blue sky and white cloud weight (referring to table 3) is 40%.
" 2 " in above-mentioned formula are the colors+2 of corresponding blue sky and white cloud under outdoor scene type in table 2, in above-mentioned formula " 4 " be corresponding blue sky and white cloud under landscape scene type in table 2 color+4, " 1 " in above-mentioned formula is single field in table 2 The color+1 of corresponding blue sky and white cloud under scape type.
Therefore, in above-mentioned formula, first time adjusting parameter are as follows: 20%*40%*2=0.16, corresponding mobile phone 100 can be with Time for exposure it will increase t1, to realize the effect that color is increased to 0.16;Second of adjusting parameter is 30%*40%*4= 0.48, corresponding mobile phone 100 can will increase t2 the time for exposure, to realize the effect that color is increased to 0.48;Third time adjusts Parameter are as follows: 30%*40%*1=0.12, corresponding, mobile phone 100 can will increase t3 the time for exposure, be increased color with realizing 0.12 effect.That is, mobile phone 100 can adjust the time for exposure in three times to realize the effect for the color for increasing blue sky and white cloud Fruit.
Certainly, mobile phone 100 can be adjusted once, i.e. 20%*40%* (+2)+30%*40%* (+4)+30%*40%* (+ 1)=0.76, corresponding, mobile phone 100 will increase t4, the i.e. adjustable single exposure time of mobile phone 100 time for exposure, and realizing will The effect that the color of blue sky and white cloud is+0.76.
By similar mode, mobile phone 100 can determine the final shooting adjusting parameter of green plant and personage in Fig. 2 (b) Final shooting adjusting parameter.
In the above embodiments, mobile phone 100 is when calculating final shooting adjusting parameter, it is contemplated that original image is at least A kind of weight of scene type, it is also considered that the weight of each reference object on original image, in practical applications, mobile phone 100 Can only consider the weight of each reference object, for example, 100 self study of mobile phone to user during repairing figure to each shooting The shooting adjusting parameter of object can adjust the shooting of each reference object when mobile phone 100 calculates final shooting adjusting parameter The multiplied by weight of parameter and each reference object, the product are the final shooting adjusting parameter of each reference object.Certainly, mobile phone 100 can also only consider the weight of at least one scene type of original image, for example, 100 self study of mobile phone is to user to room The image of outer scene carries out the shooting adjusting parameter during repairing figure or shooting image, when mobile phone 100 calculates final shooting When adjusting parameter, can be by the multiplied by weight of the shooting adjusting parameter of each scene type and each scene type, the product Final shooting adjusting parameter.
S607: mobile phone 100 adjusts initial acquisition parameters based on the final shooting adjusting parameter of each reference object.
As an example, mobile phone 100 can be by blue sky and white cloud in preview image (such as region where blue sky and white cloud) Color increase by 0.76;(such as region where green plant) saturation degree+0.12 is planted by green, by personage (such as personage location Domain) color increase by 0.24.
As another example, the color of entire preview image is increased by 0.76 by mobile phone 100, then by entire preview image Saturation degree+0.12, the color of entire preview image is then increased by 0.24.
S608;Mobile phone 100 is based on acquisition parameters adjusted and shoots to obtain preview image.
S609: mobile phone 100 shows interface of finding a view, and includes the preview image in the interface of finding a view.
Illustratively, referring to fig. 2 shown in (c), the preview image in Fig. 2 (c) is that mobile phone 100 is clapped based on image adjusted Take the photograph the image of parameter shooting.
Another scene: picture library is described below.
Referring to shown in Fig. 7 (a), mobile phone 100 shows main interface 701, includes the icon of multiple applications in main interface 701, In include picture library icon 702, when mobile phone 100 detects the operation for icon 702, the interface 703 of picture library is shown, referring to figure Shown in 7 (b).It include the thumbnail of multiple images in the interface 703 of picture library, mobile phone 100 detects that user clicks the contracting of image 704 When the operation of sketch map, the interface as shown in Fig. 7 (c) is shown.
Referring to shown in Fig. 7 (c), mobile phone 100 shows image 704, and mark 705 is shown on image 704.When mobile phone 100 When detecting the operation for mark 705,100 display reminding information 706 of mobile phone, the prompt information is for prompting user to enter intelligence Chart-pattern can be repaired, referring to shown in Fig. 7 (d).
With continued reference to shown in Fig. 7 (d), after mobile phone 100 repairs chart-pattern into intelligence, can show each in image 704 The weight information and shooting adjusting parameter of reference object.The weight information and shooting adjusting parameter of each reference object can be repaired Change, when mobile phone 100 is detected for the operation for determining control, modified weight and shooting based on each reference object are adjusted Whole parameter carries out image to repair figure;When mobile phone 100 is detected for the operation for cancelling control, exits intelligence and repair chart-pattern.Its In, modified weight of the mobile phone 100 based on each reference object and shooting adjusting parameter repair figure mode and aforementioned side Formula is similar, does not repeat to repeat.
In conjunction with above-described embodiment and relevant drawings, the embodiment of the present application provides a kind of image capturing method, and this method can To be realized in the electronic equipment (such as mobile phone, tablet computer etc.) with touch screen and camera as shown in Figure 1.Such as Fig. 8 Shown, this method may comprise steps of:
S801: input operation is detected;
Illustratively, by taking Fig. 2 (a) as an example, input operation can be the figure clicked in the main interface 201 in mobile phone 100 The operation of mark 202.
S802: operating in response to the input, starts camera, shows interface of finding a view, and includes pre- in the interface of finding a view Look at image;
Illustratively, by taking Fig. 2 (b) as an example, interface of finding a view can be interface 203.
S803: the first operation for shooting control is detected;
Illustratively, for 4 (a), the first operation can be the behaviour for clicking the control 402 of the shooting in interface 401 of finding a view Make.
S804: in response to first operation, the first image is shown, the first image is clapped based on initial acquisition parameters The image taken the photograph shows the weight information and shooting adjusting parameter of each reference object in the first image;
After electronic equipment detects the operation for shooting control, shooting obtains the first image, and shows the first image, should The weight and shooting adjusting parameter of each reference object are shown on first image.Illustratively, by taking Fig. 4 (b) as an example, the first image It can be the image 403 shown on mobile phone 100.
S805: the second operation for storing the first image is detected;
Illustratively, by taking Fig. 4 (b) as an example, the second operation can be the operation clicked and determine control 405.
S806: in response to second operation, the second image is stored, second image is according to each shooting pair The weight information and shooting adjusting parameter of elephant are to the image obtained after the first image adjustment.
Illustratively, by taking Fig. 4 (b) as an example, mobile phone 100 is detected for after the operation for determining control 405, can will be to the One image, that is, image 403 repairs the second image storage obtained after figure.By taking Fig. 4 (c) as an example, 100 lower left corner of mobile phone shows breviary Figure 40 6, the thumbnail 406 are exactly the corresponding thumbnail of the second image, that is to say, that the second image is stored in figure by mobile phone 100 In library.
Each embodiment of the application can be arbitrarily combined, to realize different technical effects.
Angle pair in above-mentioned embodiment provided by the present application, from electronic equipment (such as mobile phone 100) as executing subject Method provided by the embodiments of the present application is described.In order to realize each function in above-mentioned method provided by the embodiments of the present application Can, electronic equipment may include hardware configuration and/or software module, add software with hardware configuration, software module or hardware configuration The form of module realizes above-mentioned each function.Some function in above-mentioned each function is with hardware configuration, software module or hardware Structure adds the mode of software module to execute, the specific application and design constraint depending on technical solution.
As shown in figure 9, the application other embodiment discloses a kind of electronic equipment, which is such as hand The electronic equipment such as machine, ipad may include: touch screen 901, wherein the touch screen 901 includes touch sensitive surface 906 and display Screen 907;One or more processors 902;Multiple application programs 908;Above-mentioned each device can be total by one or more communication Line 905 connects.The display screen 907 is displayed for some application program in main interface or multiple application programs 908 Display interface such as camera interface (interface of finding a view), can be also used for the image etc. of display electronic equipment shooting.
Wherein, one or more of computer programs 904 are stored in above-mentioned memory 903 and are configured as by this One or more processors 902 execute, which includes instruction, and above-metioned instruction can be used for holding Row such as each step in Fig. 2-8 and corresponding embodiment.
It should be noted that being schematical, only a kind of logic function to the division of unit in the embodiment of the present application It divides, there may be another division manner in actual implementation.Each functional unit in the embodiment of the present invention can integrate at one In processing unit, it is also possible to each unit and physically exists alone, a list can also be integrated in two or more units In member.For example, first acquisition unit and second acquisition unit can be the same unit, also different lists in above-described embodiment Member.Above-mentioned integrated unit both can take the form of hardware realization, can also realize in the form of software functional units.
It is used in above embodiments, based on context, term " when ... " or " when ... after " can be interpreted to mean " if ... " or " ... it is rear " or " in response to determination ... " or " in response to detecting ... ".Similarly, based on context, phrase " when in determination ... " or " if detecting (condition or event stated) " can be interpreted to mean " if it is determined that ... " Or " in response to determination ... " or " when detecting (condition or event stated) " or " in response to detecting (the item stated Part or event) ".In addition, in the above-described embodiments, carrying out the entity in area part using such as first, second etc relational terms With another entity, and it is not intended to limit any actual relationship and sequence between these entities.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program Product includes one or more computer instructions.When loading on computers and executing the computer program instructions, all or It partly generates according to process or function described in the embodiment of the present invention.The computer can be general purpose computer, dedicated meter Calculation machine, computer network or other programmable devices.The computer instruction can store in computer readable storage medium In, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, the computer Instruction can pass through wired (such as coaxial cable, optical fiber, number from a web-site, computer, server or data center User's line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, server or Data center is transmitted.The computer readable storage medium can be any usable medium that computer can access or It is comprising data storage devices such as one or more usable mediums integrated server, data centers.The usable medium can be with It is magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state hard disk Solid State Disk (SSD)) etc..
It should be pointed out that a part of patent application document includes the content by copyright protection.In addition to patent Other than the patent document of office or the patent file content production copy of record, copyright owner retains copyright.

Claims (10)

1. a kind of image capturing method is applied to electronic equipment, which is characterized in that the described method includes:
Detect input operation;
It is operated in response to the input, starts camera, show interface of finding a view, include preview image in the interface of finding a view;
Detect the first operation for shooting control;
In response to first operation, the first image is shown, the first image is the image based on the shooting of initial acquisition parameters, The weight information and shooting adjusting parameter of each reference object are shown in the first image;
Detect the second operation for storing the first image;
In response to second operation, the second image is stored, second image is the weight according to each reference object Information and shooting adjusting parameter are to the image obtained after the first image adjustment.
2. the method as described in claim 1, which is characterized in that detecting the second operation for storing the first image Before, the method also includes:
It detects the weight information for the first reference object and/or shoots the modification operation of adjusting parameter;
It is operated in response to the modification, the first image is handled to obtain third image, the third image is according to Modified weight information and/or shooting adjusting parameter are to the image obtained after the first image adjustment;
In response to second operation, the second image is stored, comprising:
In response to second operation, the third image is stored.
3. method according to claim 1 or 2, which is characterized in that the method also includes:
Save the first image;
Wherein, setting first marks on second image, and first label is not provided in the first image.
4. method a method according to any one of claims 1-3, which is characterized in that the weight of each reference object is according to Area ratio shared by each reference object determines in first image;It is either pre-set;Alternatively, being selected according to user Select operation determination;Alternatively, being determined according to operation behavior of the user to the image stored in the electronic equipment.
5. method as claimed in claim 4, which is characterized in that the weight of each reference object is according to user to described What the operation behavior of the image stored in electronic equipment determined, comprising:
The weight of each reference object is that the number that each reference object is repaired figure in the image according to storage determines;Or Person is that the number that each reference object is cropped in the image according to storage determines, alternatively, according in all images of storage What the amount of images comprising each reference object determined.
6. method a method as claimed in any one of claims 1 to 5, which is characterized in that the shooting adjusting parameter of each reference object is It is pre-set, alternatively, being adjustment when repairing figure to each reference object in the image stored in the electronic equipment according to user Image parameter determine.
7. the method as described in claim 1-6 is any, which is characterized in that detecting for storing the first image Before two operations, the method also includes:
Detect that third operates;
It is operated in response to the third, cancels weight information and the bat for showing each reference object in the first image Take the photograph adjusting parameter;
In response to second operation, the second image is stored, comprising:
In response to second operation, the first image is stored.
8. a kind of electronic equipment, which is characterized in that including at least one processor and memory;
The memory is for storing one or more computer programs;
When one or more computer programs of memory storage are executed by least one described processor, so that described Electronic equipment can be realized the method as described in claim 1 to 7 is any.
9. a kind of computer storage medium, which is characterized in that the computer readable storage medium includes computer program, works as meter When calculation machine program is run on an electronic device, so that the electronic equipment executes the method as described in claim 1 to 7 is any.
10. a kind of program product, which is characterized in that described program product includes instruction, when described instruction is run on computers When, so that the computer executes method as described in any one of claim 1 to 7.
CN201910402906.9A 2019-05-15 2019-05-15 Image shooting method and electronic equipment Active CN110225244B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910402906.9A CN110225244B (en) 2019-05-15 2019-05-15 Image shooting method and electronic equipment
PCT/CN2020/090366 WO2020228792A1 (en) 2019-05-15 2020-05-14 Image capture method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910402906.9A CN110225244B (en) 2019-05-15 2019-05-15 Image shooting method and electronic equipment

Publications (2)

Publication Number Publication Date
CN110225244A true CN110225244A (en) 2019-09-10
CN110225244B CN110225244B (en) 2021-02-09

Family

ID=67821095

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910402906.9A Active CN110225244B (en) 2019-05-15 2019-05-15 Image shooting method and electronic equipment

Country Status (2)

Country Link
CN (1) CN110225244B (en)
WO (1) WO2020228792A1 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111027374A (en) * 2019-10-28 2020-04-17 华为终端有限公司 Image identification method and electronic equipment
CN111666124A (en) * 2020-05-29 2020-09-15 平安科技(深圳)有限公司 Image acquisition equipment calling method and device, computer equipment and storage medium
WO2020228792A1 (en) * 2019-05-15 2020-11-19 华为技术有限公司 Image capture method and electronic device
CN112215804A (en) * 2020-09-15 2021-01-12 数坤(北京)网络科技有限公司 Data processing method, equipment and computer storage medium
CN112422814A (en) * 2020-09-30 2021-02-26 华为技术有限公司 Shooting method and electronic equipment
CN112532854A (en) * 2019-09-17 2021-03-19 华为技术有限公司 Image processing method and electronic equipment
CN112948048A (en) * 2021-03-25 2021-06-11 维沃移动通信(深圳)有限公司 Information processing method, information processing device, electronic equipment and storage medium
CN113727012A (en) * 2020-08-27 2021-11-30 荣耀终端有限公司 Shooting method and terminal
CN116320716A (en) * 2023-05-25 2023-06-23 荣耀终端有限公司 Picture acquisition method, model training method and related devices
CN116703791A (en) * 2022-10-20 2023-09-05 荣耀终端有限公司 Image processing method, electronic device and readable medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116723415B (en) * 2022-10-20 2024-04-19 荣耀终端有限公司 Thumbnail generation method and terminal equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060221215A1 (en) * 2005-04-04 2006-10-05 Fuji Photo Film Co., Ltd. Image pickup apparatus and motion vector deciding method
CN101868808A (en) * 2007-12-20 2010-10-20 株式会社尼康 Image processing method for time lapse image, image processing program, and image processing device
CN105391940A (en) * 2015-11-05 2016-03-09 华为技术有限公司 Image recommendation method and apparatus
CN106303250A (en) * 2016-08-26 2017-01-04 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN107197170A (en) * 2017-07-14 2017-09-22 维沃移动通信有限公司 A kind of exposal control method and mobile terminal
CN108182031A (en) * 2017-12-28 2018-06-19 努比亚技术有限公司 A kind of photographic method, terminal and computer readable storage medium
CN108629814A (en) * 2018-05-14 2018-10-09 北京小米移动软件有限公司 Camera method of adjustment and device
CN109002243A (en) * 2018-06-28 2018-12-14 维沃移动通信有限公司 A kind of image parameter adjusting method and terminal device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB201611385D0 (en) * 2016-06-30 2016-08-17 Nokia Technologies Oy Recommendation method and system
US10027879B2 (en) * 2016-11-15 2018-07-17 Google Llc Device, system and method to provide an auto-focus capability based on object distance information
EP3611914A4 (en) * 2017-06-09 2020-03-25 Huawei Technologies Co., Ltd. Method and apparatus for photographing image
CN107995422B (en) * 2017-11-30 2020-01-10 Oppo广东移动通信有限公司 Image shooting method and device, computer equipment and computer readable storage medium
CN110225244B (en) * 2019-05-15 2021-02-09 华为技术有限公司 Image shooting method and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060221215A1 (en) * 2005-04-04 2006-10-05 Fuji Photo Film Co., Ltd. Image pickup apparatus and motion vector deciding method
CN101868808A (en) * 2007-12-20 2010-10-20 株式会社尼康 Image processing method for time lapse image, image processing program, and image processing device
CN105391940A (en) * 2015-11-05 2016-03-09 华为技术有限公司 Image recommendation method and apparatus
CN106303250A (en) * 2016-08-26 2017-01-04 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN107197170A (en) * 2017-07-14 2017-09-22 维沃移动通信有限公司 A kind of exposal control method and mobile terminal
CN108182031A (en) * 2017-12-28 2018-06-19 努比亚技术有限公司 A kind of photographic method, terminal and computer readable storage medium
CN108629814A (en) * 2018-05-14 2018-10-09 北京小米移动软件有限公司 Camera method of adjustment and device
CN109002243A (en) * 2018-06-28 2018-12-14 维沃移动通信有限公司 A kind of image parameter adjusting method and terminal device

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020228792A1 (en) * 2019-05-15 2020-11-19 华为技术有限公司 Image capture method and electronic device
CN112532854A (en) * 2019-09-17 2021-03-19 华为技术有限公司 Image processing method and electronic equipment
CN112532854B (en) * 2019-09-17 2022-05-31 华为技术有限公司 Image processing method and electronic equipment
CN111027374A (en) * 2019-10-28 2020-04-17 华为终端有限公司 Image identification method and electronic equipment
CN111027374B (en) * 2019-10-28 2023-06-30 华为终端有限公司 Image recognition method and electronic equipment
CN111666124A (en) * 2020-05-29 2020-09-15 平安科技(深圳)有限公司 Image acquisition equipment calling method and device, computer equipment and storage medium
CN111666124B (en) * 2020-05-29 2023-10-27 平安科技(深圳)有限公司 Image acquisition device calling method, device, computer device and storage medium
CN113727012A (en) * 2020-08-27 2021-11-30 荣耀终端有限公司 Shooting method and terminal
CN113727012B (en) * 2020-08-27 2022-09-27 荣耀终端有限公司 Shooting method and terminal
US11870951B2 (en) 2020-08-27 2024-01-09 Honor Device Co., Ltd. Photographing method and terminal
CN112215804B (en) * 2020-09-15 2021-10-15 数坤(北京)网络科技股份有限公司 Data processing method, equipment and computer storage medium
CN112215804A (en) * 2020-09-15 2021-01-12 数坤(北京)网络科技有限公司 Data processing method, equipment and computer storage medium
CN112422814A (en) * 2020-09-30 2021-02-26 华为技术有限公司 Shooting method and electronic equipment
CN112948048A (en) * 2021-03-25 2021-06-11 维沃移动通信(深圳)有限公司 Information processing method, information processing device, electronic equipment and storage medium
CN116703791A (en) * 2022-10-20 2023-09-05 荣耀终端有限公司 Image processing method, electronic device and readable medium
CN116703791B (en) * 2022-10-20 2024-04-19 荣耀终端有限公司 Image processing method, electronic device and readable medium
CN116320716A (en) * 2023-05-25 2023-06-23 荣耀终端有限公司 Picture acquisition method, model training method and related devices
CN116320716B (en) * 2023-05-25 2023-10-20 荣耀终端有限公司 Picture acquisition method, model training method and related devices

Also Published As

Publication number Publication date
CN110225244B (en) 2021-02-09
WO2020228792A1 (en) 2020-11-19

Similar Documents

Publication Publication Date Title
CN110225244A (en) A kind of image capturing method and electronic equipment
CN114467297B (en) Video call display method and related device applied to electronic equipment
WO2021013230A1 (en) Robot control method, robot, terminal, server, and control system
WO2019072178A1 (en) Method for processing notification, and electronic device
WO2020029306A1 (en) Image capture method and electronic device
CN111543042A (en) Notification message processing method and electronic equipment
WO2021057752A1 (en) Image preferential selection method and electronic device
CN111371938A (en) Fault detection method and electronic equipment
CN110430357A (en) A kind of image capturing method and electronic equipment
CN109144361A (en) A kind of image processing method and terminal device
CN111835907A (en) Method, equipment and system for switching service across electronic equipment
CN113949803B (en) Photographing method and electronic equipment
CN112445386A (en) Application icon display method and electronic equipment
CN109819168A (en) A kind of the starting method and mobile terminal of camera
CN109981885A (en) The method and electronic equipment of video are presented in incoming call for a kind of electronic equipment
CN112087649B (en) Equipment searching method and electronic equipment
CN108564915A (en) Luminance regulating method and Related product
WO2022100219A1 (en) Data transfer method and related device
CN110365906A (en) Image pickup method and mobile terminal
CN112150499A (en) Image processing method and related device
WO2021129090A1 (en) Volume adjustment method and system, and device
WO2022166435A1 (en) Picture sharing method and electronic device
WO2022095906A1 (en) Key mapping method, electronic device, and system
CN111049968B (en) Control method and electronic equipment
CN110163036B (en) Image recognition method and device

Legal Events

Date Code Title Description
PB01 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