CN106454104A - Photographing method and mobile terminal - Google Patents

Photographing method and mobile terminal Download PDF

Info

Publication number
CN106454104A
CN106454104A CN201610970278.0A CN201610970278A CN106454104A CN 106454104 A CN106454104 A CN 106454104A CN 201610970278 A CN201610970278 A CN 201610970278A CN 106454104 A CN106454104 A CN 106454104A
Authority
CN
China
Prior art keywords
scene
target
information
mobile terminal
weather
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610970278.0A
Other languages
Chinese (zh)
Inventor
谢莲花
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201610970278.0A priority Critical patent/CN106454104A/en
Publication of CN106454104A publication Critical patent/CN106454104A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • 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/61Control of cameras or camera modules based on recognised objects
    • H04N23/611Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body

Abstract

The embodiment of the invention provides a photographing method and a mobile terminal. The method is applied to the mobile terminal with a camera, and comprises the following steps: acquiring a preview image acquired by the camera; recognizing target scene information of the preview image; determining a target photographing mode matched with the target scene information based on a mapping relation of the preset scene information and a photographing mode; and photographing according to the target photographing mode to generate a picture. Therefore, the picture with the optimal display effect under the current scene information can be acquired, and the image quality of the picture photographed by the mobile terminal is improved.

Description

A kind of photographic method and mobile terminal
Technical field
The present embodiments relate to communication technical field, more particularly to a kind of photographic method and mobile terminal.
Background technology
At present, the mobile terminal such as mobile phone all has the function such as take pictures, and the progress with technology, and many cell phone manufacturers exist Scenery control pattern, i.e. manufacturer is incorporated in the camera of mobile phone and adds specific several scenes pattern in camera, with convenient User takes high-quality photo.Each scene mode pre-sets aperture, shutter, focal length, Exposure Metering and flash of light The parameters such as lamp, user can select suitable scene mode according to specific environment when taking pictures, so as to take high-quality number Photo.But, this kind of mode needs user to manually select the scene mode of shooting, troublesome poeration before taking pictures.
Prior art is by analyzing the brightness of picture, and rectangular histogram or colour temperature are determining suitable scene mode, and are determining After going out specific scene mode, taken pictures using the pattern.Due to the such as brightness of picture, rectangular histogram, colour temperature, information needs Rely on the image processing algorithm of mobile phone processing, then corresponding scene mode could be determined according to result, but, different Algorithm have different result so that there may be larger difference according to scene mode determined by algorithms of different, Have a strong impact on the accuracy rate of the automatic scene detecting of mobile phone.
Content of the invention
A kind of photographic method and mobile terminal is embodiments provided, is being clapped with solving mobile terminal in prior art According to when scene Recognition the low problem of accuracy rate.
In a first aspect, a kind of photographic method is embodiments provided, and the mobile terminal being applied to photographic head, bag Include:
Obtain the preview image of photographic head collection;
Recognize the target scene information of the preview image;
Based on default scene information and the mapping relations of exposal model, determine and the target scene information match Target exposal model;
Taken pictures according to the target exposal model, generated photo.
Second aspect, the embodiment of the present invention additionally provides a kind of mobile terminal, and including photographic head, the mobile terminal is also wrapped Include:
Acquisition module, for obtaining the preview image of photographic head collection;
Identification module, for recognizing the target scene information of the preview image of acquisition module acquisition;
Determining module, for based on default scene information and the mapping relations of exposal model, determining and the identification mould The target exposal model of the target scene information match of block identification;
Photo module, the target exposal model for determining according to the determining module is taken pictures, and generates photo.
So, in embodiments of the present invention, after the preview image for getting photographic head collection, can identify described pre- Look at the target scene information of image, be then based on the mapping relations of default scene information and exposal model, determine with described The target exposal model of target scene information match, and then taken pictures according to the target exposal model, photo is generated, this Embodiment can be under automatic identification current environment scene information, improve the accuracy rate of the identification of scene information, and by from The dynamic corresponding exposal model for switching to mobile terminal, is taken pictures using the exposal model, is obtained in that in current scene The photo of optimal display effect under information, improves the picture quality of the photo that mobile terminal is taken pictures.
Description of the drawings
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below by institute in the description to the embodiment of the present invention The accompanying drawing for using is needed to be briefly described, it should be apparent that, drawings in the following description are only some enforcements of the present invention Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is the flow chart of the photographic method of first embodiment of the invention;
Fig. 2A is one of flow chart of photographic method of second embodiment of the invention;
Fig. 2 B is the two of the flow chart of the photographic method of second embodiment of the invention;
Fig. 3 A is one of block diagram of mobile terminal of third embodiment of the invention;
Fig. 3 B is the two of the block diagram of the mobile terminal of third embodiment of the invention;
Fig. 3 C is the three of the block diagram of the mobile terminal of third embodiment of the invention;
Fig. 3 D is the four of the block diagram of the mobile terminal of third embodiment of the invention;
Fig. 3 E is the five of the block diagram of the mobile terminal of third embodiment of the invention;
Fig. 3 F is the six of the block diagram of the mobile terminal of third embodiment of the invention;
Fig. 3 G is the seven of the block diagram of the mobile terminal of third embodiment of the invention;
Fig. 4 is the block diagram of the mobile terminal of fourth embodiment of the invention;
Fig. 5 is the structural representation of the mobile terminal of fifth embodiment of the invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is a part of embodiment of the present invention, rather than whole embodiments.Based on this Embodiment in bright, the every other enforcement obtained under the premise of creative work is not made by those of ordinary skill in the art Example, belongs to the scope of protection of the invention.
First embodiment
With reference to Fig. 1, the flow chart for showing the photographic method of first embodiment of the invention, methods described can apply to tool There is the mobile terminal of photographic head, specifically may include steps of:
Step 101, obtains the preview image of photographic head collection.
In embodiments of the present invention, the mobile terminal can be the electronics with camera function such as mobile phone, panel computer The electronic equipment such as equipment, or camera, digital camera, the embodiment of the present invention is not construed as limiting to the type of mobile terminal.
So that mobile terminal is as mobile phone as an example, when user is when being shot using the photographic head on mobile phone, can be by pressing Press specific button or virtual icon, the camera function of starting hand-set.Specifically, an entity can be arranged in handset to press Key, user can start the camera function of mobile phone by pressing the button, can also be on the display interface of mobile phone, by point The icon of the application program with camera function is hit, such as " camera " or " video camera ", start camera operation.Certainly, this area Technical staff for example, can also be gone out under screen state, by finger in mobile phone screen in mobile phone by arranging corresponding shortcut Upper execute specific slide to start camera function, the embodiment of the present invention to start mobile terminal camera function concrete Mode is not construed as limiting.
After the camera function of user's starting hand-set, mobile phone camera institute can be shown on the display interface of mobile phone in real time The image of acquisition, the image is the preview image of the photographic head collection of mobile terminal.
Step 102, recognizes the target scene information of the preview image.
In embodiments of the present invention, the target scene information can include smiling face's scene, ordinary people's image field scape, indoor field Scape, night-time scene, landscape scene, sunrise scene, dusk scene, overcast and rainy scene and snow scenes scene etc..Certainly, this area Technical staff can set other kinds of scene information according to actual needs, and the embodiment of the present invention is not construed as limiting to this.
In implementing, when get photographic head collection preview image after, can according to the system of mobile terminal when Between, the geographical position residing for mobile terminal, and the weather condition of the position etc., recognize the target scene of the preview image Information.
For example, if the system time of mobile terminal is 3 points of morning, scene information that can be current according to a preliminary estimate it is Night-time scene;If system time is at 3 points in afternoon, to may determine that to be currently daytime, acquisition mobile terminal is may then continue with Residing geographical position, if through identification, user is currently located at a certain scenic spot ground, then it is considered that current target scene Information is landscape scene.Certainly, above description is only a kind of example, and those skilled in the art can be recognized using other modes Target scene information, the embodiment of the present invention is not construed as limiting to this.
Step 103, based on default scene information and the mapping relations of exposal model, determines and the target scene information The target exposal model for matching.
In embodiments of the present invention, can preset multiple exposal models in the terminal, for example, be suitable in night-time scene The lower implementation multiframe composition algorithm for using, lifts the night scene mode of the signal to noise ratio of night scene picture using long short exposure;It is suitable for Employing used in overcast and rainy scene is single AE (Automatic Exposure, automatic exposure), AWB (Automatic White balance, AWB), the parameter such as ISP (Image Signal Processor, camera image processor), Brightness, overcast and rainy day mode of tone and denoising etc. can individually be debugged.Certainly, above description is only a kind of example, this area Technical staff can also according to actual needs preset others exposal model, be for example suitable for making in sunrise scene or dusk environment Day exit pattern or dusk pattern etc., the embodiment of the present invention is not construed as limiting to this.
In embodiments of the present invention, after the target scene information of the preview image is identified, can be based on default Mapping relations between scene information and exposal model, Auto-matching goes out the target corresponding with the target scene information and takes pictures mould Formula.For example, if identifying, current scene information, for night-time scene, can automatically switch to the night mode of mobile terminal, If identifying, current scene information, for overcast and rainy scene, can switch to overcast and rainy day mode of mobile terminal etc..
Step 104, is taken pictures according to the target exposal model, generates photo.
After the target exposal model with target scene information match is determined, can be entered using the target exposal model Row is taken pictures, and generates photo, so as to obtain the photo of optimal picture quality under current scene information.
In embodiments of the present invention, after the preview image for getting photographic head collection, the preview graph can be identified The target scene information of picture, is then based on the mapping relations of default scene information and exposal model, determines and the target The target exposal model that scene information matches, and then taken pictures according to the target exposal model, generate photo, this enforcement Example can be under automatic identification current environment scene information, improve the accuracy rate of the identification of scene information, and by cutting automatically The corresponding exposal model of mobile terminal is shifted to, is taken pictures using the exposal model, be obtained in that in current scene information The photo of optimal display effect, improves the picture quality of the photo that mobile terminal is taken pictures down.
Second embodiment
With reference to Fig. 2A, one of flow chart of photographic method of second embodiment of the invention is shown, methods described can be answered For the mobile terminal with photographic head, specifically may include steps of:
Step 201, obtains the preview image of photographic head collection.
In embodiments of the present invention, the mobile terminal can be the electronics with camera function such as mobile phone, panel computer The electronic equipment such as equipment, or camera, digital camera, the embodiment of the present invention is not construed as limiting to the type of mobile terminal.
So that mobile terminal is as mobile phone as an example, after the camera function of user's starting hand-set, can be in the display interface of mobile phone The upper image for showing acquired in mobile phone camera in real time, the image is the preview image of the photographic head collection of mobile terminal.
Step 202, carries out Face datection to the preview image.
In embodiments of the present invention, after the preview image of photographic head collection is got, can be first to the preview image Face datection is carried out, and to judge facial image whether is included in the preview image, the facial image refers to the face of personage Image.If the preview image includes facial image, it is considered that the currently used mobile terminal of user taken pictures right As being mainly personage, therefore, it can execution step 203, processed for the facial image is further;If the preview image In do not include facial image, then it is considered that the object taken pictures by the currently used mobile terminal of user is mainly environmental objects, Therefore, it can execution step 204, further the scene information of the preview image is identified.
In implementing, can specifically judge whether include facial image in preview image by Face datection.People Face detection is mainly used in the pretreatment of recognition of face in practice, i.e., accurate calibration goes out position and the size of face in the picture. The pattern feature very abundant for including in facial image, such as histogram feature, color characteristic, template characteristic, architectural feature and Haar feature etc..Face datection is exactly that information useful among these is picked out, and realizes Face datection using these features.
Step 203, if detecting face, carries out smiling face's detection to the preview image, if detecting smiling face, it is determined that The target scene information is smiling face's scene;If being not detected by smiling face, it is determined that the target scene information is ordinary people's image field Scape.
In embodiments of the present invention, when detecting that the preview image includes facial image, can be to the face figure As further processing, for example, detect whether the image is smiling face's image, smiling face's image currently can be taken The smiling face of personage.In implementing, mobile terminal can set different exposal models for different facial images.
After smiling face's detection being carried out to the preview image, if detecting smiling face, can determine that the target scene is believed Cease for smiling face's scene, if smiling face is not detected by, can determine the target scene information for ordinary people's image field scape.Wherein, institute The corresponding exposal model of smiling face's scene is stated for smiling face's pattern, the corresponding exposal model of ordinary people's image field scape is ordinary people as mould Formula.
In embodiments of the present invention, when the facial image in preview image is detected for smiling face's image, it may be determined that with The corresponding target scene information of smiling face's image is smiling face's scene, and works as the facial image for detecting in the preview image not During for smiling face's image, then can determine the target scene information corresponding with the facial image for ordinary people's image field scape.Then hold Row step 209, can be directed to smiling face's scene or ordinary people's image field scape, switch to the corresponding target exposal model of mobile terminal, Taken pictures using the target exposal model, to generate photo.
Step 204, if being not detected by face, judges whether the mobile terminal is located at interior.
In embodiments of the present invention, when detect mobile terminal photographic head gather preview image in do not include face figure During picture, it is believed that the current reference object of user is mainly surrounding or object, therefore, it can first determine whether the movement Whether terminal is located at interior.
As a kind of example of the present invention, the global position system GPS information of mobile terminal can be obtained;By judging State whether GPS information is indoor to determine whether mobile terminal is located within a certain threshold range.Certainly, in order to improve identification Accuracy, those skilled in the art can set different error rates, for example, set GPS location allowable error scope as 50 Rice, the position in the range of error is accordingly to be regarded as interior, and the embodiment of the present invention is not construed as limiting to this.
Certainly, using other modes, those skilled in the art can also judge whether mobile terminal is located at interior, for example, lead to The power of wifi (WIreless-Fidelity, the Wireless Fidelity) signal received by mobile terminal is crossed, if wifi letter Number intensity exceed a certain threshold value, then equally it is considered that mobile terminal be located at interior.
If the mobile terminal is located at interior, can determine that the target scene information, for indoor scene, is then executed Step 209.
Step 205, if the mobile terminal is located outside, obtains the system time of the mobile terminal.
In implementing, the system time for obtaining mobile terminal can pass through on mobile terminal with timing or the work(that gives the correct time The application program of energy is obtained, it is also possible to during mobile terminal with base station or server communication, determined by base station or server, The embodiment of the present invention is not construed as limiting to this.
Step 206, based on the time period belonging to the system time, determines the target scene information.
Typically for the different time, scene information should be different.For example, for night hours and daylight hours, Its corresponding scene information is significantly different.
Therefore, if the system time belongs to default first time period, can determine that the target scene information is Night-time scene;If the system time belongs to default second time period, geographical position residing for the mobile terminal can be obtained Put.
In implementing, certain time period can be set in the terminal as first time period, the very first time Section can be default night hours.For example, it is possible to set at 20 points to 6 points of the next morning as first time period, when user's Shooting operation is at the time period, it is believed that current scene information is night-time scene.Certainly, those skilled in the art are permissible According to each regional practical situation, the concrete time period of the night hours is specifically selected, the embodiment of the present invention is not made to this Limit.
It is then possible to the other times in addition to first time period are set as second time period, i.e., at 20 points to second day Time period outside 6:00 AM is daylight hours.
In embodiments of the present invention, when in daylight hours, due to there may be multiple different surroundings, because This, when system time is for daylight hours, can obtain the geographical position residing for mobile terminal further.
In implementing, the geographical position for obtaining residing for mobile terminal can be by the GPS (Global of mobile terminal Positioning System, global positioning system) realizing, the application on mobile terminal with positioning function can also be adopted Program realizing, such as map application etc., the embodiment of the present invention is not construed as limiting to this.
Step 207, based on the geographical position, determines the target scene information.
In embodiments of the present invention, when user in different geographical position when, the shooting style for being adopted can be not With, for example, when user is respectively in desert or seabeach, due to the difference of environmental background, selected shooting style can not yet With.Therefore, it can, based on different geographical position, be identified target scene information.For example, whether identifying user is located at wind Scenic spot etc..
In implementing, it can be determined that residing for the mobile terminal, whether geographical position belongs to scenic spot;If the shifting Geographical position residing for dynamic terminal belongs to scenic spot, then can determine the target scene information for landscape scene.
As a kind of example of the present invention, the geographical position of the mobile terminal can be sent to server, by described Whether server is that scenic spot is identified to the geographical position, and recognition result can be fed back after the completion of identification by server To mobile terminal, mobile terminal can receive the recognition result of the server feedback, to determine whether the geographical position belongs to In scenic spot.
Specifically, mobile terminal will can be sent by the geographical location information of GPS or other positioning application program acquisitions To server, by server, the positional information is identified, for example, server can be scanned for the positional information, with Judge whether the position is scenic spot, then server can will determine that result is sent to mobile terminal.
When determining that the geographical position belongs to scenic spot, it is believed that the object of the shooting of user is mainly scenic spot, Hence, it can be determined that target scene information is landscape scene.If geographical position residing for the mobile terminal is not belonging to scenic spot, Weather information is obtained further can.
In implementing, obtain Weather information and can pass through the application program in mobile terminal with function of weather forecast Realize, such as " weather forecast " application program.
Step 208, based on the Weather information, determines the target scene information.
Generally, the Weather information can include different weather patterns, for example, can include sunrise, dusk, wet weather It or snow scenes etc..Therefore, the weather pattern of the Weather information in implementing, can be determined first, is then based on The weather pattern, determines the target scene information.
If the weather pattern is sunrise, to can determine the target scene information for sunrise scene;If the weather Type is dusk, then can determine the target scene information for dusk scene;If the weather pattern is overcast and rainy, permissible Determine the target scene information for overcast and rainy scene;If the weather pattern is snow scenes, it is determined that the target scene information For snow scenes scene.
Wherein, when Weather information is for fine day, can judge whether in sunrise again by the system time of mobile terminal Time-division or at dusk, for example, it is possible to half to 7 thirty of 6:00 AM are set as the sunrise time-division, by 18 thirty of afternoon to 19 thirty It is set as the sunset, when Weather information is for fine day, can recognizes that target scene information is specially sunrise by system time Scene or dusk scene.When system time is not within the above-mentioned time period, then it is considered that current scene information is common Outdoor environment.Certainly, those skilled in the art can set sunrise time-division and tool at dusk according to the practical situation of various places The body time, the embodiment of the present invention is not construed as limiting to this.
On the basis of Fig. 2A, alternatively, reference picture 2B, shows the flow process of the photographic method of second embodiment of the invention The two of figure, methods described also comprises the steps:
Step 11, for each system time for gathering, geographical position and Weather information, self-corresponding pre- with each respectively Gating limit value is compared.
In embodiments of the present invention, the system time, geographical position and weather letter can be respectively in the terminal Breath arranges a corresponding threshold value and error, for example, for system time, first time period is being set to 18:00-6:00 When, threshold value can be set at 18 points and 6 points, error could be arranged to 30 minutes;And for geographical position, then can basis The video data of GPS information sets its corresponding threshold value fixed and error, for Weather information, can be set according to humidity condition Corresponding threshold value and error amount, the embodiment of the present invention is not construed as limiting to this.
After the collection to system time, geographical position or Weather information is completed every time, can be respectively by the information of collection It is compared with respective predetermined threshold value.
Step 12, if the system time of each collection, geographical position and Weather information are self-corresponding default with each Difference between threshold value is all in default range of error, it is determined that the system time, geographical position and Weather information For authentic communication, then execute described obtain photographic head collection preview image the step of.
Step 13, if the system time of each collection, geographical position and Weather information are self-corresponding default with each Difference between threshold value is not in the ranges of error values, it is determined that the system time of the multi collect, geographical position or Weather information is unreliable information, then proceeds by the data acquisition of system time, geographical position and Weather information.
In embodiments of the present invention, when scene information is recognized, the letter can be determined by a certain information of multi collect Whether breath is reliable.For example, the system time of mobile terminal, for system time, at a time can be gathered, by comparing If so, whether the difference between the system time of collection and corresponding threshold value is then can consider in default range of error The information is authentic communication, such that it is able to execute obtain photographic head collection preview image the step of;If it is not, then it is considered that should Information is unreliable information, at this point it is possible to proceed the data acquisition of system time.For geographical position and Weather information it is No reliability, its judgment mode is similar with to the judgement of system time, and the present embodiment is repeated no more.
Step 209, based on default scene information and the mapping relations of exposal model, determines and the target scene information The target exposal model for matching.
In embodiments of the present invention, in order to improve the picture quality for shooting photo, can be preset multiple in the terminal Different exposal models, for example, it is possible to including smiling face's pattern, common portrait mode of figure, indoor mode, night mode, landscape configuration, Day exit pattern, dusk pattern, overcast and rainy day mode and snow scenes pattern etc., when user is when taking pictures, by recognizing scene information, Then the exposal model for matching with the scene information can be switched to.
In implementing, the corresponding target exposal model of smiling face's scene can be smiling face's pattern, the ordinary people The corresponding target exposal model of image field scape can be ordinary people as pattern, the corresponding target exposal model of the indoor scene is permissible For indoor mode, the corresponding exposal model of the night-time scene can be night scene mode, the corresponding mould of taking pictures of the landscape scene Formula can be landscape configuration, and the corresponding target exposal model of the sunrise scene can be sunrise pattern, the dusk scene pair The target exposal model that answers can be dusk pattern, and the corresponding target exposal model of the overcast and rainy scene can be overcast and rainy mould Formula, the corresponding target exposal model of the snow scenes scene can be snow scenes pattern.Ginseng that what different exposal models was used take pictures Number can be different.
Step 210, is taken pictures according to the target exposal model, generates photo.
After the exposal model with target scene information match is determined, can be clapped using the target exposal model According to generation photo, to obtain the photo of optimal display effect under the scene.
For example, when detecting that preview image includes smiling face's image, taken pictures using smiling face's pattern, and detected Only include facial image in preview image, but when the facial image is not smiling face's image again, common portrait mode of figure can be adopted Taken pictures.After scene information being determined for night-time scene, can switch to the night scene mode of mobile terminal, and adopt the night Scape pattern carries out taking pictures etc..
In embodiments of the present invention, when target scene information is recognized, the information that can make full use of mobile terminal is next auxiliary Camera system is helped, so as to indoor and outdoor, different time sections, the scene Recognition of different weather situation can be included substantially, and is carried out Corresponding process, improve accuracy of the mobile terminal to the identification of scene information, and according to different scene informations, using with The exposal model for matching such that it is able to obtain the photo of optimal display result under current scene, improve mobile eventually The picture quality of the photo that end is taken pictures.
It should be noted that for embodiment of the method, in order to be briefly described, therefore which to be all expressed as a series of action group Close, but those skilled in the art should know, the embodiment of the present invention is not limited by described sequence of movement, because according to According to the embodiment of the present invention, some steps can adopt other orders or while carry out.Secondly, those skilled in the art also should Know, embodiment described in this description belongs to preferred embodiment, the involved action not necessarily present invention is implemented Example is necessary.
3rd embodiment
Reference picture 3A, shows one of block diagram of mobile terminal of third embodiment of the invention, and mobile terminal 300 can be realized The details of embodiment one to the photographic method in embodiment two, and reach identical effect.The mobile terminal 300 includes shooting Head, the mobile terminal 300 specifically also includes as lower module:
Acquisition module 301, for obtaining the preview image of photographic head collection;
Identification module 302, for recognizing the target scene information of the preview image of the acquisition of the acquisition module 301;
Determining module 303, for based on default scene information and the mapping relations of exposal model, determining and the identification The target exposal model of the target scene information match that module 302 is recognized;
Photo module 304, the target exposal model for determining according to the determining module 303 is taken pictures, raw Become photo.
On the basis of Fig. 3 A, alternatively, referring to Fig. 3 B, be third embodiment of the invention mobile terminal block diagram it Two, the identification module 302 can specifically include following submodule:
Face datection submodule 3021, for carrying out Face datection to the preview image;
Smiling face's detection sub-module 3022, if detecting face for the Face datection submodule 3021, to described pre- Image of looking at carries out smiling face's detection;
Smiling face's scene determination sub-module 3023, if detect smiling face for smiling face's detection sub-module 3022, it is determined that The target scene information is smiling face's scene;
Ordinary people's image field scape determination sub-module 3024, if being not detected by smiling face for smiling face's detection sub-module 3022, Then determine the target scene information for ordinary people's image field scape;
Wherein, the corresponding target exposal model of smiling face's scene can be smiling face's pattern, ordinary people's image field scape pair The target exposal model that answers can be ordinary people as pattern.
In embodiments of the present invention, the identification module 302 can also include following submodule:
Indoor location judging submodule 3025, if being not detected by face for the Face datection submodule 3021, sentences Whether the mobile terminal that breaks is located at interior;
Indoor scene determination sub-module 3026, if judge for the indoor location judging submodule 3025 described mobile whole End is positioned at interior, it is determined that the target scene information is indoor scene;
System time acquisition submodule 3027, if judge for the indoor location judging submodule 3025 described mobile whole End is located outside, then obtain the system time of the mobile terminal;
Target scene information determination sub-module 3028, described for based on the time period belonging to the system time, determining Target scene information;
Wherein, the corresponding target exposal model of the indoor scene can be indoor mode.
On the basis of Fig. 3 B, alternatively, referring to Fig. 3 C, be third embodiment of the invention mobile terminal block diagram it Three, the target scene information determination sub-module 3028 specifically can include as lower unit:
Night-time scene determining unit 281, if belong to default first time period for the system time, it is determined that described Target scene information is night-time scene;
Geographical position acquiring unit 282, if belong to default second time period for the system time, obtains institute State geographical position residing for mobile terminal;
Target scene information determination unit 283, for the geography for being obtained based on the geographical position acquiring unit 282 Position, determines the target scene information;
Wherein, the corresponding exposal model of the night-time scene can be night scene mode.
On the basis of Fig. 3 C, alternatively, referring to Fig. 3 D, be third embodiment of the invention mobile terminal block diagram it Four, the target scene information determination unit 283 can specifically include following subelement:
Scenic spot judgment sub-unit 2831, for judging residing for the mobile terminal, whether geographical position belongs to scenic spot;
Landscape scene determination subelement 2832, if judge the mobile terminal for the scenic spot judgment sub-unit 2831 Residing geographical position belongs to scenic spot, it is determined that the target scene information is landscape scene;
Weather information obtains subelement 2833, if judging the mobile terminal for the scenic spot judgment sub-unit 2831 Residing geographical position is not belonging to scenic spot, then obtain Weather information;
Target scene information determination subelement 2834, for obtaining the day of the acquisition of subelement 2833 based on the Weather information Gas information, determines the target scene information;
Wherein, the corresponding exposal model of the landscape scene can be landscape configuration.
On the basis of Fig. 3 D, alternatively, referring to Fig. 3 E, be third embodiment of the invention mobile terminal block diagram it Five, the target scene information determination subelement 2834 can specifically include following component:
Weather pattern determines component 341, for determining the weather pattern of the Weather information;
Target scene information determines component 342, for determining the weather of the determination of component 341 based on the weather pattern Type, determines the target scene information;
Wherein, the weather pattern can be including at least one in sunrise, dusk, overcast and rainy, snow scenes.
On the basis of Fig. 3 E, alternatively, referring to Fig. 3 F, be third embodiment of the invention mobile terminal block diagram it Six, the target scene information determines that component 342 can specifically include following sub-component:
Sunrise scene determines sub-component 3421, if being sunrise, it is determined that described target scene letter for the weather pattern Cease for sunrise scene;
Dusk scene determines sub-component 3422, if being dusk, it is determined that described target scene letter for the weather pattern Cease for dusk scene;
Overcast and rainy scene determines sub-component 3423, if being overcast and rainy for the weather pattern, it is determined that the target field Scape information is overcast and rainy scene;
Snow scenes scene determines sub-component 3424, if being snow scenes, it is determined that described target scene letter for the weather pattern Cease for snow scenes scene;
Wherein, the corresponding target exposal model of the sunrise scene can be sunrise pattern, and the dusk scene is corresponding Target exposal model can be dusk pattern, and the corresponding target exposal model of the overcast and rainy scene can be overcast and rainy pattern, The corresponding target exposal model of the snow scenes scene can be snow scenes pattern.
On the basis of Fig. 3 A, alternatively, referring to Fig. 3 G, be third embodiment of the invention mobile terminal block diagram it Seven, described device 300 can also be included as lower module:
Comparison module 305, for the system time for each collection, geographical position and Weather information, respectively with respectively Self-corresponding predetermined threshold value is compared;
First determining module 306, if for the system time of each collection, geographical position and Weather information with each Difference between self-corresponding predetermined threshold value is all in default range of error, it is determined that the system time, geographical position And Weather information is authentic communication;
Second determining module 307, if for the system time of each collection, geographical position and Weather information with each Difference between self-corresponding predetermined threshold value is not in the ranges of error values, it is determined that during the system of the multi collect Between, geographical position or Weather information be.
Mobile terminal 300 can realize each process that in the embodiment of the method for Fig. 1 to Fig. 2 B, mobile terminal is realized, for keeping away Exempt to repeat, repeat no more here.After the preview image for getting photographic head collection, the mesh of the preview image can be identified Mark scene information, is then based on the mapping relations of default scene information and exposal model, determines and believes with the target scene The target exposal model of manner of breathing coupling, and then taken pictures according to the target exposal model, photo is generated, the present embodiment can Scene information under automatic identification current environment, improves the accuracy rate of the identification of scene information, and by automatically switching to shifting The corresponding exposal model of dynamic terminal, is taken pictures using the exposal model, is obtained in that under current scene information optimal Display effect photo, improve the picture quality of the photo that mobile terminal is taken pictures.
Fourth embodiment
Fig. 4 is a kind of block diagram of mobile terminal of fourth embodiment of the invention.Mobile terminal 400 shown in Fig. 4 includes:Extremely A few processor 401, memorizer 402, at least one network interface 404 and user interface 403.Each in mobile terminal 400 Individual component is coupled by bus system 405.It is understood that bus system 405 is used for realizing the connection between these components Communication.Bus system 405 also includes power bus, controlling bus and status signal bus in addition in addition to data/address bus is included.But For the sake of clear explanation, in the diagram various buses are all designated as bus system 405, mobile terminal 400 also includes component of taking pictures 406, component 406 of taking pictures includes photographic head.
Wherein, user interface 403 can include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memorizer 402 in the embodiment of the present invention can be volatile memory or nonvolatile memory, Or may include volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read only memory (Read- OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM (ErasablePROM, EPROM), Electrically Erasable Read Only Memory (ElectricallyEPROM, EEPROM) or sudden strain of a muscle Deposit.Volatile memory can be random access memory (RandomAccessMemory, RAM), and which is used as outside slow at a high speed Deposit.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM (StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory (SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate SDRAM, DDRSDRAM), enhancement mode Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct rambus random access memory (DirectRambusRAM, DRRAM).The memorizer 402 of the system and method for embodiment of the present invention description is intended to include but does not limit In these memorizeies with any other suitable type.
In some embodiments, memorizer 402 stores following element, executable module or data structure, or Their subset of person, or their superset:Operating system 4021 and application program 4022.
Wherein, operating system 4021, comprising various system programs, for example ccf layer, core library layer, driving layer etc., are used for Realize various basic businesses and process hardware based task.Application program 4022, comprising various application programs, such as media Player (MediaPlayer), browser (Browser) etc., for realizing various applied business.Realize embodiment of the present invention side The program of method is may be embodied in application program 4022.
In embodiments of the present invention, by call memorizer 402 store program or instruction, specifically, can be application The program for storing in program 4022 or instruction, processor 401 is used for obtaining the preview image of photographic head collection;Recognize the preview The target scene information of image;Based on default scene information and the mapping relations of exposal model, determine and the target scene The target exposal model of information match;Taken pictures according to the target exposal model, generated photo.
The method that the embodiments of the present invention are disclosed is can apply in processor 401, or is realized by processor 401. Processor 401 is probably a kind of IC chip, the disposal ability with signal.During realization, said method each Step can be completed by the instruction of the integrated logic circuit of the hardware in processor 401 or software form.Above-mentioned process Device 401 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), special IC (ApplicationSpecific IntegratedCircuit, ASIC), ready-made programmable gate array (FieldProgrammableGateArray, FPGA) or other PLDs, discrete gate or transistor logic Device, discrete hardware components.Can realize or execute disclosed each method in the embodiment of the present invention, step and box Figure.General processor can be microprocessor or the processor can also be any conventional processor etc..In conjunction with the present invention The step of method disclosed in embodiment, can be embodied directly in hardware decoding processor and execute and complete, or use decoding processor In hardware and software module combination execution complete.Software module may be located at random access memory, and flash memory, read only memory can In the storage medium of this area such as program read-only memory or electrically erasable programmable memory, depositor maturation.The storage Medium is located at memorizer 402, and processor 401 reads the information in memorizer 402, completes the step of said method in conjunction with its hardware Suddenly.
It is understood that the embodiment of the present invention description these embodiments can use hardware, software, firmware, middleware, Microcode or its combination are realizing.Hardware is realized, processing unit can be implemented in one or more special ICs (ApplicationSpecificIntegratedCircuits, ASIC), digital signal processor (DigitalSignalProcessing, DSP), digital signal processing appts (DSPDevice, DSPD), programmable logic device (ProgrammableLogicDevice, PLD), field programmable gate array (Field-ProgrammableGateArray, FPGA), general processor, controller, microcontroller, microprocessor, for executing other electronics lists of function of the present invention In unit or its combination.
For software realize, can by execute the embodiment of the present invention described in function module (such as process, function etc.) come Realize the technology described in the embodiment of the present invention.Software code is storable in memorizer and by computing device.Memorizer can To realize within a processor or outside the processor.
Optionally, the processor 401 is additionally operable to:Face datection is carried out to the preview image;If detecting face, Smiling face's detection is carried out to the preview image;If detecting smiling face, it is determined that the target scene information is smiling face's scene;If not Detect smiling face, it is determined that the target scene information is ordinary people's image field scape;Wherein, the corresponding target of smiling face's scene is clapped Be smiling face's pattern according to pattern, the corresponding target exposal model of ordinary people's image field scape be.
Optionally, the processor 401 is additionally operable to:If face is not detected by, judge whether the mobile terminal is located at Indoor;If the mobile terminal is located at interior, it is determined that the target scene information is indoor scene;If the mobile terminal position In outdoor, then obtain the system time of the mobile terminal;Based on the time period belonging to the system time, the target is determined Scene information;Wherein, the corresponding target exposal model of the indoor scene is indoor mode.
Optionally, the processor 401 is additionally operable to:If the system time belongs to default first time period, it is determined that The target scene information is night-time scene;If the system time belongs to default second time period, the movement is obtained Geographical position residing for terminal;Based on the geographical position, the target scene information is determined;Wherein, the night-time scene is corresponded to Exposal model be night scene mode.
Optionally, the processor 401 is additionally operable to:Judge residing for the mobile terminal, whether geographical position belongs to landscape Area;If geographical position residing for the mobile terminal belongs to scenic spot, it is determined that the target scene information is landscape scene;If institute State geographical position residing for mobile terminal and scenic spot is not belonging to, then obtain Weather information;Based on the Weather information, the mesh is determined Mark scene information;Wherein, the corresponding exposal model of the landscape scene is landscape configuration.
Optionally, the processor 401 is additionally operable to:Determine the weather pattern of the Weather information;Based on the weather class Type, determines the target scene information;Wherein, the weather pattern include sunrise, dusk, in overcast and rainy, snow scenes at least one ?.
Optionally, the processor 401 is additionally operable to:If the weather pattern is sunrise, it is determined that described target scene letter Cease for sunrise scene;If it is dusk scene that the weather pattern is dusk, it is determined that the target scene information;If the weather Type is overcast and rainy, it is determined that the target scene information is overcast and rainy scene;If the weather pattern is snow scenes, it is determined that institute Target scene information is stated for snow scenes scene;Wherein, the corresponding target exposal model of the sunrise scene is day exit pattern, the Huang The corresponding target exposal model of confused scene be the corresponding target exposal model of dusk pattern, described overcast and rainy scene be Formula, the corresponding target exposal model of the snow scenes scene be.
Optionally, the processor 401 is additionally operable to:System time, geographical position and weather letter for each collection Breath, is compared with each self-corresponding predetermined threshold value respectively;If the system time of each collection, geographical position and day Difference between gas information and each self-corresponding predetermined threshold value is all in default range of error, it is determined that during the system Between, geographical position and Weather information be authentic communication, then execute described obtain photographic head collection preview image the step of; If the difference between the system time of each collection, geographical position and Weather information and each self-corresponding predetermined threshold value Not in the ranges of error values, it is determined that the system time of the multi collect, geographical position or Weather information are unreliable Information, then proceeds by the data acquisition of system time, geographical position and Weather information.
Mobile terminal 400 can realize each process that in previous embodiment, mobile terminal is realized, for avoiding repeating, here Repeat no more.The embodiment of the present invention can identify the preview image after the preview image for getting photographic head collection Target scene information, is then based on the mapping relations of default scene information and exposal model, determines and the target scene The target exposal model of information match, and then taken pictures according to the target exposal model, generate photo, the present embodiment energy Scene information under enough automatic identification current environments, improves the accuracy rate of the identification of scene information, and by automatically switching to The corresponding exposal model of mobile terminal, is taken pictures using the exposal model, is obtained in that under current scene information most The photo of good display effect, improves the picture quality of the photo that mobile terminal is taken pictures.
5th embodiment
Fig. 5 is the structural representation of the mobile terminal of fifth embodiment of the invention.Specifically, the mobile terminal 500 in Fig. 5 Can be mobile phone, panel computer, personal digital assistant (PersonalDigital Assistant, PDA) or vehicle-mounted computer etc..
Mobile terminal 500 in Fig. 5 includes that radio frequency (RadioFrequency, RF) circuit 510, memorizer 520, input are single Unit 530, display unit 540, processor 560, voicefrequency circuit 570, WiFi (WirelessFidelity) module 580 and power supply 590, mobile terminal 500 also includes component 550 of taking pictures, and component 550 of taking pictures includes photographic head.
Wherein, input block 530 can be used for numeral or the character information of receiving user's input, and produce and mobile terminal The relevant signal input of 500 user setup and function control.Specifically, in the embodiment of the present invention, the input block 530 can To include contact panel 531.Contact panel 531, also referred to as touch screen, can collect user thereon or neighbouring touch operation (such as user is using any suitable object such as finger, stylus or operation of the adnexa on contact panel 531), and according to advance The formula of setting drives corresponding attachment means.Optionally, contact panel 531 may include touch detecting apparatus and touch controller Two parts.Wherein, the touch orientation of touch detecting apparatus detection user, and the signal that touch operation brings is detected, by signal Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, Give the processor 560 again, and the order sent of receiving processor 560 can be executed.Furthermore, it is possible to using resistance-type, The polytype such as condenser type, infrared ray and surface acoustic wave realizes contact panel 531.Except contact panel 531, input block 530 can also include other input equipments 532, and other input equipments 532 can include but is not limited to physical keyboard, function key One or more in (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Wherein, display unit 540 can be used for display by the information of user input or be supplied to information and the movement of user The various menu interfaces of terminal 500.Display unit 540 may include display floater 541, optionally, can adopt LCD or organic The forms such as optical diode (OrganicLight-EmittingDiode, OLED) are configuring display floater 541.
It should be noted that contact panel 531 can cover display floater 541, touch display screen is formed, when the touch display screen inspection Measuring thereon or after neighbouring touch operation, processor 560 is sent to determine the type of touch event, with preprocessor 560 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and conventional control viewing area.The Application Program Interface viewing area And the arrangement mode of the conventional control viewing area is not limited, can be arranged above and below, left-right situs etc. can be distinguished two and show Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface is permissible The interface element such as the icon comprising at least one application program and/or widget desktop control.The Application Program Interface viewing area It can also be the empty interface not comprising any content.The conventional control viewing area is used for showing the higher control of utilization rate, for example, Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..
Wherein processor 560 is the control centre of mobile terminal 500, using various interfaces and connection whole mobile phone Various pieces, by running or executing software program and/or the module being stored in first memory 521, and call storage Data in second memory 522, execute various functions and the processing data of mobile terminal 500, so as to mobile terminal 500 Carry out integral monitoring.Optionally, processor 560 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 521 in software program and/or module and/ Or the data in the second memory 522, processor 560 is for obtaining the preview image of photographic head collection;Recognize the preview The target scene information of image;Based on default scene information and the mapping relations of exposal model, determine and the target scene The target exposal model of information match;Taken pictures according to the target exposal model, generated photo.
Optionally, the processor 560 is additionally operable to:Face datection is carried out to the preview image;If detecting face, Smiling face's detection is carried out to the preview image;If detecting smiling face, it is determined that the target scene information is smiling face's scene;If not Detect smiling face, it is determined that the target scene information is ordinary people's image field scape;Wherein, the corresponding target of smiling face's scene is clapped Be smiling face's pattern according to pattern, the corresponding target exposal model of ordinary people's image field scape be.
Optionally, the processor 560 is additionally operable to:If face is not detected by, judge whether the mobile terminal is located at Indoor;If the mobile terminal is located at interior, it is determined that the target scene information is indoor scene;If the mobile terminal position In outdoor, then obtain the system time of the mobile terminal;Based on the time period belonging to the system time, the target is determined Scene information;Wherein, the corresponding target exposal model of the indoor scene is indoor mode.
Optionally, the processor 560 is additionally operable to:If the system time belongs to default first time period, it is determined that The target scene information is night-time scene;If the system time belongs to default second time period, the movement is obtained Geographical position residing for terminal;Based on the geographical position, the target scene information is determined;Wherein, the night-time scene is corresponded to Exposal model be night scene mode.
Optionally, the processor 560 is additionally operable to:Judge residing for the mobile terminal, whether geographical position belongs to landscape Area;If geographical position residing for the mobile terminal belongs to scenic spot, it is determined that the target scene information is landscape scene;If institute State geographical position residing for mobile terminal and scenic spot is not belonging to, then obtain Weather information;Based on the Weather information, the mesh is determined Mark scene information;Wherein, the corresponding exposal model of the landscape scene is landscape configuration.
Optionally, the processor 560 is additionally operable to:Determine the weather pattern of the Weather information;Based on the weather class Type, determines the target scene information;Wherein, the weather pattern include sunrise, dusk, in overcast and rainy, snow scenes at least one ?.
Optionally, the processor 560 is additionally operable to:If the weather pattern is sunrise, it is determined that described target scene letter Cease for sunrise scene;If it is dusk scene that the weather pattern is dusk, it is determined that the target scene information;If the weather Type is overcast and rainy, it is determined that the target scene information is overcast and rainy scene;If the weather pattern is snow scenes, it is determined that institute Target scene information is stated for snow scenes scene;Wherein, the corresponding target exposal model of the sunrise scene is day exit pattern, the Huang The corresponding target exposal model of confused scene be the corresponding target exposal model of dusk pattern, described overcast and rainy scene be Formula, the corresponding target exposal model of the snow scenes scene be.
Optionally, the processor 560 is additionally operable to:System time, geographical position and weather letter for each collection Breath, is compared with each self-corresponding predetermined threshold value respectively;If the system time of each collection, geographical position and day Difference between gas information and each self-corresponding predetermined threshold value is all in default range of error, it is determined that during the system Between, geographical position and Weather information be authentic communication, then execute described obtain photographic head collection preview image the step of; If the difference between the system time of each collection, geographical position and Weather information and each self-corresponding predetermined threshold value Not in the ranges of error values, it is determined that the system time of the multi collect, geographical position or Weather information are unreliable Information, then proceeds by the data acquisition of system time, geographical position and Weather information.
It can be seen that, the embodiment of the present invention can identify the preview graph after the preview image for getting photographic head collection The target scene information of picture, is then based on the mapping relations of default scene information and exposal model, determines and the target The target exposal model that scene information matches, and then taken pictures according to the target exposal model, generate photo, this enforcement Example can be under automatic identification current environment scene information, improve the accuracy rate of the identification of scene information, and by cutting automatically The corresponding exposal model of mobile terminal is shifted to, is taken pictures using the exposal model, be obtained in that in current scene information The photo of optimal display effect, improves the picture quality of the photo that mobile terminal is taken pictures down.
Those of ordinary skill in the art are it is to be appreciated that with reference to each of the embodiment description disclosed in the embodiment of the present invention The unit of example and algorithm steps, being capable of being implemented in combination in electronic hardware or computer software and electronic hardware.These Function is executed with hardware or software mode actually, the application-specific depending on technical scheme and design constraint.Specialty Technical staff can use different methods to realize described function to each specific application, but this realization should Think beyond the scope of this invention.
Those skilled in the art can be understood that, for convenience and simplicity of description, the system of foregoing description, Device and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
In embodiment provided by the present invention, it should be understood that disclosed apparatus and method, can pass through other Mode is realized.For example, device embodiment described above is only schematically, for example division of the unit, is only A kind of division of logic function, can have other dividing mode when actually realizing, such as multiple units or component can in conjunction with or Person is desirably integrated into another system, or some features can be ignored, or does not execute.Another, shown or discussed is mutual Between coupling direct-coupling or communication connection can be the INDIRECT COUPLING or communication link of device or unit by some interfaces Connect, can be electrical, mechanical or other forms.
The unit that illustrates as separating component can be or may not be physically separate, aobvious as unit The part for showing can be or may not be physical location, you can be located at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.
If the function realized using in the form of SFU software functional unit and as independent production marketing or use when, permissible It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part contributed by prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, is used including some instructions so that a computer equipment (can be individual People's computer, server, or network equipment etc.) execute each embodiment methods described of the present invention all or part of step. And aforesaid storage medium includes:USB flash disk, portable hard drive, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes Medium.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, and any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (16)

1. a kind of photographic method, the mobile terminal being applied to photographic head, it is characterised in that methods described includes:
Obtain the preview image of photographic head collection;
Recognize the target scene information of the preview image;
Based on default scene information and the mapping relations of exposal model, the target with the target scene information match is determined Exposal model;
Taken pictures according to the target exposal model, generated photo.
2. method according to claim 1, it is characterised in that the target scene information of the identification preview image Step, including:
Face datection is carried out to the preview image;
If face is detected, smiling face's detection is carried out to the preview image;
If detecting smiling face, it is determined that the target scene information is smiling face's scene;
If being not detected by smiling face, it is determined that the target scene information is ordinary people's image field scape;
Wherein, the corresponding target exposal model of smiling face's scene is the corresponding target of smiling face's pattern, described ordinary people's image field scape Exposal model is common portrait mode of figure.
3. method according to claim 2, it is characterised in that described the step of carry out Face datection to the preview image Afterwards, methods described also includes:
If face is not detected by, judge whether the mobile terminal is located at interior;
If the mobile terminal is located at interior, it is determined that the target scene information is indoor scene;
If the mobile terminal is located outside, the system time of the mobile terminal is obtained;
Based on the time period belonging to the system time, the target scene information is determined;
Wherein, the corresponding target exposal model of the indoor scene is indoor mode.
4. method according to claim 3, it is characterised in that the time period based on belonging to the system time, really The step of fixed target scene information, including:
If the system time belongs to default first time period, it is determined that the target scene information is night-time scene;
If the system time belongs to default second time period, geographical position residing for the mobile terminal is obtained;
Based on the geographical position, the target scene information is determined;
Wherein, the corresponding exposal model of the night-time scene is night scene mode.
5. method according to claim 4, it is characterised in that described based on the geographical position, determines the target field The step of scape information, including:
Judge residing for the mobile terminal, whether geographical position belongs to scenic spot;
If geographical position residing for the mobile terminal belongs to scenic spot, it is determined that the target scene information is landscape scene;
If geographical position residing for the mobile terminal is not belonging to scenic spot, Weather information is obtained;
Based on the Weather information, the target scene information is determined;
Wherein, the corresponding exposal model of the landscape scene is landscape configuration.
6. method according to claim 5, it is characterised in that described based on the Weather information, determines the target field The step of scape information, including:
Determine the weather pattern of the Weather information;
Based on the weather pattern, the target scene information is determined;
Wherein, the weather pattern includes sunrise, dusk, at least one in overcast and rainy, snow scenes.
7. method according to claim 6, it is characterised in that described based on the weather pattern, determines the target field The step of scape information, including:
If it is sunrise scene that the weather pattern is sunrise, it is determined that the target scene information;
If it is dusk scene that the weather pattern is dusk, it is determined that the target scene information;
If the weather pattern is overcast and rainy, it is determined that the target scene information is overcast and rainy scene;
If it is snow scenes scene that the weather pattern is snow scenes, it is determined that the target scene information;
Wherein, the corresponding target exposal model of the sunrise scene is day exit pattern, and the corresponding target of the dusk scene is taken pictures Pattern is dusk pattern, and the corresponding target exposal model of the overcast and rainy scene is overcast and rainy day mode, and the snow scenes scene is corresponded to Target exposal model be snow scenes pattern.
8. method according to claim 7, it is characterised in that the preview image step of the acquisition photographic head collection it Before, methods described also includes:
System time, geographical position and Weather information for each collection, is entered with each self-corresponding predetermined threshold value respectively Row compares;
If between the system time of each collection, geographical position and Weather information and each self-corresponding predetermined threshold value Difference is all in default range of error, it is determined that the system time, geographical position and Weather information are authentic communication, so The step of executing the preview image that the acquisition photographic head is gathered afterwards;
If between the system time of each collection, geographical position and Weather information and each self-corresponding predetermined threshold value Difference is not in the ranges of error values, it is determined that the system time of the multi collect, geographical position or Weather information be not for Authentic communication, then proceeds by the data acquisition of system time, geographical position and Weather information.
9. a kind of mobile terminal, including photographic head, it is characterised in that the mobile terminal also includes:
Acquisition module, for obtaining the preview image of photographic head collection;
Identification module, for recognizing the target scene information of the preview image of acquisition module acquisition;
Determining module, for based on default scene information and the mapping relations of exposal model, determining and knowing with the identification module The target exposal model of other target scene information match;
Photo module, the target exposal model for determining according to the determining module is taken pictures, and generates photo.
10. mobile terminal according to claim 9, it is characterised in that the identification module includes:
Face datection submodule, for carrying out Face datection to the preview image;
Smiling face's detection sub-module, if detecting face for the Face datection submodule, laughs to the preview image Face is detected;
Smiling face's scene determination sub-module, if detect smiling face for smiling face's detection sub-module, it is determined that the target field Scape information is smiling face's scene;
Ordinary people's image field scape determination sub-module, if be not detected by smiling face for smiling face's detection sub-module, it is determined that the mesh Mark scene information is ordinary people's image field scape;
Wherein, the corresponding target exposal model of smiling face's scene is the corresponding target of smiling face's pattern, described ordinary people's image field scape Exposal model is common portrait mode of figure.
11. mobile terminals according to claim 10, it is characterised in that the identification module also includes:
Indoor location judging submodule, if being not detected by face for the Face datection submodule, judges described mobile whole Whether end is located at interior;
Indoor scene determination sub-module, if judging that the mobile terminal is located at interior for the indoor location judging submodule, Then determine the target scene information for indoor scene;
System time acquisition submodule, if judging that the mobile terminal is located outside for the indoor location judging submodule, The system time of the mobile terminal is then obtained;
Target scene information determination sub-module, for based on the time period belonging to the system time, determining the target scene Information;
Wherein, the corresponding target exposal model of the indoor scene is indoor mode.
12. mobile terminals according to claim 11, it is characterised in that the target scene information determination sub-module bag Include:
Night-time scene determining unit, if belong to default first time period for the system time, it is determined that the target field Scape information is night-time scene;
Geographical position acquiring unit, if belonging to default second time period for the system time, obtains described mobile whole The residing geographical position in end;
Target scene information determination unit, for the geographical position for being obtained based on the geographical position acquiring unit, is determined The target scene information;
Wherein, the corresponding exposal model of the night-time scene is night scene mode.
13. mobile terminals according to claim 12, it is characterised in that the target scene information determination unit includes:
Scenic spot judgment sub-unit, for judging residing for the mobile terminal, whether geographical position belongs to scenic spot;
Landscape scene determination subelement, if judge geographical position residing for the mobile terminal for the scenic spot judgment sub-unit Belong to scenic spot, it is determined that the target scene information is landscape scene;
Weather information obtains subelement, if judging geographical position residing for the mobile terminal for the scenic spot judgment sub-unit Scenic spot is not belonging to, then obtains Weather information;
Target scene information determination subelement, for being obtained the Weather information of subelement acquisition based on the Weather information, is determined The target scene information;
Wherein, the corresponding exposal model of the landscape scene is landscape configuration.
14. mobile terminals according to claim 13, it is characterised in that the target scene information determination subelement bag Include:
Weather pattern determines component, for determining the weather pattern of the Weather information;
Target scene information determines component, for determining the weather pattern of component determination based on the weather pattern, determines The target scene information;
Wherein, the weather pattern includes sunrise, dusk, at least one in overcast and rainy, snow scenes.
15. mobile terminals according to claim 14, it is characterised in that the target scene information determines that component includes:
Sunrise scene determines sub-component, if being sunrise for the weather pattern, it is determined that the target scene information is sunrise Scene;
Dusk scene determines sub-component, if be dusk for the weather pattern, it is determined that the target scene information is Huang Confused scene;
Overcast and rainy scene determines sub-component, if be overcast and rainy for the weather pattern, it is determined that the target scene information For overcast and rainy scene;
Snow scenes scene determines sub-component, if being snow scenes for the weather pattern, it is determined that the target scene information is snow scenes Scene;
Wherein, the corresponding target exposal model of the sunrise scene is day exit pattern, and the corresponding target of the dusk scene is taken pictures Pattern is dusk pattern, and the corresponding target exposal model of the overcast and rainy scene is overcast and rainy day mode, and the snow scenes scene is corresponded to Target exposal model be snow scenes pattern.
16. mobile terminals according to claim 15, it is characterised in that the mobile terminal also includes:
Comparison module, for the system time for each collection, geographical position and Weather information, self-corresponding with each respectively Predetermined threshold value is compared;
First determining module, if corresponding with respective for the system time of each collection, geographical position and Weather information Predetermined threshold value between difference all in default range of error, it is determined that the system time, geographical position and day Gas information is authentic communication;
Second determining module, if corresponding with respective for the system time of each collection, geographical position and Weather information Predetermined threshold value between difference not in the ranges of error values, it is determined that the system time of the multi collect, geography Position or Weather information are unreliable information.
CN201610970278.0A 2016-10-28 2016-10-28 Photographing method and mobile terminal Pending CN106454104A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610970278.0A CN106454104A (en) 2016-10-28 2016-10-28 Photographing method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610970278.0A CN106454104A (en) 2016-10-28 2016-10-28 Photographing method and mobile terminal

Publications (1)

Publication Number Publication Date
CN106454104A true CN106454104A (en) 2017-02-22

Family

ID=58179565

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610970278.0A Pending CN106454104A (en) 2016-10-28 2016-10-28 Photographing method and mobile terminal

Country Status (1)

Country Link
CN (1) CN106454104A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107580184A (en) * 2017-10-31 2018-01-12 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN107592453A (en) * 2017-09-08 2018-01-16 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN108024105A (en) * 2017-12-14 2018-05-11 珠海市君天电子科技有限公司 Image color adjusting method, device, electronic equipment and storage medium
CN108229420A (en) * 2018-01-22 2018-06-29 维沃移动通信有限公司 A kind of face identification method, mobile terminal
CN108574801A (en) * 2017-03-10 2018-09-25 杭州萤石网络有限公司 A kind of image-pickup method and terminal
EP3392096A1 (en) * 2017-04-18 2018-10-24 Beijing Mobike Technology Co., Ltd. Terminal function setting method and device for vehicle unlocking and mobile terminal
CN109831628A (en) * 2019-03-14 2019-05-31 Oppo广东移动通信有限公司 Method of adjustment, device, terminal and the storage medium of terminal photographing mode
CN109831629A (en) * 2019-03-14 2019-05-31 Oppo广东移动通信有限公司 Method of adjustment, device, terminal and the storage medium of terminal photographing mode
CN109919891A (en) * 2019-03-14 2019-06-21 Oppo广东移动通信有限公司 Imaging method, device, terminal and storage medium
CN109977731A (en) * 2017-12-27 2019-07-05 深圳市优必选科技有限公司 A kind of recognition methods of scene, identification equipment and terminal device
CN110147190A (en) * 2018-06-29 2019-08-20 腾讯科技(深圳)有限公司 Image processing method and electric terminal
CN112162797A (en) * 2020-10-14 2021-01-01 珠海格力电器股份有限公司 Data processing method, system, storage medium and electronic device
CN114721067A (en) * 2021-01-05 2022-07-08 中国电子科技集团公司第五十四研究所 Monitoring method, device, system, computer storage medium and electronic equipment
CN116074623A (en) * 2022-05-30 2023-05-05 荣耀终端有限公司 Resolution selecting method and device for camera

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103747184A (en) * 2014-01-24 2014-04-23 惠州Tcl移动通信有限公司 Method and system for automatically switching shooting scene mode by mobile terminal
CN103826062A (en) * 2014-02-27 2014-05-28 北京百纳威尔科技有限公司 Shooting mode switching processing method and device
CN106027902A (en) * 2016-06-24 2016-10-12 依偎科技(南昌)有限公司 Photographing method and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103747184A (en) * 2014-01-24 2014-04-23 惠州Tcl移动通信有限公司 Method and system for automatically switching shooting scene mode by mobile terminal
CN103826062A (en) * 2014-02-27 2014-05-28 北京百纳威尔科技有限公司 Shooting mode switching processing method and device
CN106027902A (en) * 2016-06-24 2016-10-12 依偎科技(南昌)有限公司 Photographing method and mobile terminal

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108574801A (en) * 2017-03-10 2018-09-25 杭州萤石网络有限公司 A kind of image-pickup method and terminal
EP3392096A1 (en) * 2017-04-18 2018-10-24 Beijing Mobike Technology Co., Ltd. Terminal function setting method and device for vehicle unlocking and mobile terminal
CN107592453A (en) * 2017-09-08 2018-01-16 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN107580184B (en) * 2017-10-31 2019-11-19 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN107580184A (en) * 2017-10-31 2018-01-12 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN108024105A (en) * 2017-12-14 2018-05-11 珠海市君天电子科技有限公司 Image color adjusting method, device, electronic equipment and storage medium
CN109977731A (en) * 2017-12-27 2019-07-05 深圳市优必选科技有限公司 A kind of recognition methods of scene, identification equipment and terminal device
CN108229420A (en) * 2018-01-22 2018-06-29 维沃移动通信有限公司 A kind of face identification method, mobile terminal
CN110147190A (en) * 2018-06-29 2019-08-20 腾讯科技(深圳)有限公司 Image processing method and electric terminal
CN110147190B (en) * 2018-06-29 2024-03-08 腾讯科技(深圳)有限公司 Image processing method and electronic terminal
CN109919891A (en) * 2019-03-14 2019-06-21 Oppo广东移动通信有限公司 Imaging method, device, terminal and storage medium
CN109831629A (en) * 2019-03-14 2019-05-31 Oppo广东移动通信有限公司 Method of adjustment, device, terminal and the storage medium of terminal photographing mode
CN109831628A (en) * 2019-03-14 2019-05-31 Oppo广东移动通信有限公司 Method of adjustment, device, terminal and the storage medium of terminal photographing mode
CN109831629B (en) * 2019-03-14 2021-07-02 Oppo广东移动通信有限公司 Terminal photographing mode adjusting method and device, terminal and storage medium
CN109831628B (en) * 2019-03-14 2021-07-16 Oppo广东移动通信有限公司 Terminal photographing mode adjusting method and device, terminal and storage medium
CN112162797A (en) * 2020-10-14 2021-01-01 珠海格力电器股份有限公司 Data processing method, system, storage medium and electronic device
CN112162797B (en) * 2020-10-14 2022-01-25 珠海格力电器股份有限公司 Data processing method, system, storage medium and electronic device
CN114721067A (en) * 2021-01-05 2022-07-08 中国电子科技集团公司第五十四研究所 Monitoring method, device, system, computer storage medium and electronic equipment
CN114721067B (en) * 2021-01-05 2024-03-29 中国电子科技集团公司第五十四研究所 Monitoring method, device, system, computer storage medium and electronic equipment
CN116074623A (en) * 2022-05-30 2023-05-05 荣耀终端有限公司 Resolution selecting method and device for camera
CN116074623B (en) * 2022-05-30 2023-11-28 荣耀终端有限公司 Resolution selecting method and device for camera

Similar Documents

Publication Publication Date Title
CN106454104A (en) Photographing method and mobile terminal
CN105227945B (en) Automatic white balance control method and mobile terminal
CN105227858B (en) A kind of image processing method and mobile terminal
CN106331510B (en) A kind of backlight photographic method and mobile terminal
CN106101536A (en) A kind of photographic method and mobile terminal
CN106131449A (en) A kind of photographic method and mobile terminal
CN106060419B (en) A kind of photographic method and mobile terminal
CN107395998A (en) A kind of image capturing method and mobile terminal
CN106060406A (en) Photographing method and mobile terminal
CN106254682A (en) A kind of photographic method and mobile terminal
CN106506962A (en) A kind of image processing method and mobile terminal
CN107395976B (en) A kind of acquisition parameters setting method and mobile terminal
CN106027787B (en) A kind of white balance method and mobile terminal of mobile terminal
CN107566717A (en) A kind of image pickup method, mobile terminal and computer-readable recording medium
CN105827990A (en) Automatic exposure method and mobile terminal
CN107197169A (en) A kind of high dynamic range images image pickup method and mobile terminal
CN106657810A (en) Filter processing method and device for video image
CN105847674A (en) Preview image processing method based on mobile terminal, and mobile terminal therein
CN106357961A (en) Photographing method and mobile terminal
CN106027907A (en) Method for automatically adjusting camera, and mobile terminal
CN106170058A (en) A kind of exposure method and mobile terminal
CN107465874B (en) A kind of dark current processing method and mobile terminal
CN106488133A (en) A kind of detection method of Moving Objects and mobile terminal
CN107026982B (en) A kind of photographic method and mobile terminal of mobile terminal
CN106210513A (en) A kind of method for previewing and mobile terminal of taking pictures based on mobile terminal

Legal Events

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

Application publication date: 20170222

RJ01 Rejection of invention patent application after publication