CN108683858A - It takes pictures optimization method, device, storage medium and terminal device - Google Patents

It takes pictures optimization method, device, storage medium and terminal device Download PDF

Info

Publication number
CN108683858A
CN108683858A CN201810937052.XA CN201810937052A CN108683858A CN 108683858 A CN108683858 A CN 108683858A CN 201810937052 A CN201810937052 A CN 201810937052A CN 108683858 A CN108683858 A CN 108683858A
Authority
CN
China
Prior art keywords
parameter
filming
brightness change
determined
time point
Prior art date
Application number
CN201810937052.XA
Other languages
Chinese (zh)
Inventor
王宇鹭
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to CN201810937052.XA priority Critical patent/CN108683858A/en
Publication of CN108683858A publication Critical patent/CN108683858A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment ; Cameras comprising an electronic image sensor, e.g. digital cameras, video cameras, TV cameras, video cameras, camcorders, webcams, camera modules for embedding in other devices, e.g. mobile phones, computers or vehicles
    • H04N5/225Television cameras ; Cameras comprising an electronic image sensor, e.g. digital cameras, video cameras, camcorders, webcams, camera modules specially adapted for being embedded in other devices, e.g. mobile phones, computers or vehicles
    • H04N5/235Circuitry or methods for compensating for variation in the brightness of the object, e.g. based on electric image signals provided by an electronic image sensor
    • H04N5/2351Circuitry for evaluating the brightness variations of the object
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment ; Cameras comprising an electronic image sensor, e.g. digital cameras, video cameras, TV cameras, video cameras, camcorders, webcams, camera modules for embedding in other devices, e.g. mobile phones, computers or vehicles
    • H04N5/225Television cameras ; Cameras comprising an electronic image sensor, e.g. digital cameras, video cameras, camcorders, webcams, camera modules specially adapted for being embedded in other devices, e.g. mobile phones, computers or vehicles
    • H04N5/232Devices for controlling television cameras, e.g. remote control ; Control of cameras comprising an electronic image sensor
    • H04N5/23248Devices for controlling television cameras, e.g. remote control ; Control of cameras comprising an electronic image sensor for stable pick-up of the scene in spite of camera body vibration
    • H04N5/23251Motion detection
    • H04N5/23258Motion detection based on additional sensors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment ; Cameras comprising an electronic image sensor, e.g. digital cameras, video cameras, TV cameras, video cameras, camcorders, webcams, camera modules for embedding in other devices, e.g. mobile phones, computers or vehicles
    • H04N5/225Television cameras ; Cameras comprising an electronic image sensor, e.g. digital cameras, video cameras, camcorders, webcams, camera modules specially adapted for being embedded in other devices, e.g. mobile phones, computers or vehicles
    • H04N5/235Circuitry or methods for compensating for variation in the brightness of the object, e.g. based on electric image signals provided by an electronic image sensor

Abstract

The one kind provided in the embodiment of the present application is taken pictures optimization method, device, storage medium and terminal device, and this method is by when being shot by filming apparatus, determining the jitter parameter of the filming apparatus;Obtain the brightness change information in the coverage of the filming apparatus;The shooting exposure parameter of the filming apparatus is determined according to the jitter parameter and the brightness change information.By using above-mentioned technical proposal, the shooting exposure parameter of filming apparatus can be determined according to jitter parameter and brightness change information, so that filming apparatus can take more preferably photo according to shooting exposure parameter.

Description

It takes pictures optimization method, device, storage medium and terminal device
Technical field
The invention relates to terminal device technical field more particularly to one kind take pictures optimization method, device, storage be situated between Matter and terminal device.
Background technology
With the development of terminal device technology, camera is generally equipped on terminal device, most user gathers around There is the terminal device that can be taken pictures.Different from traditional camera, it is very easily to operate by terminal device take pictures, and is passed When system camera is shot, the operation for carrying out parameter setting or adjusting lens focus is generally required;But it is clapped by terminal device Only needing to press camera button after being directed at subject according to, user can complete.Due to the simple operation and facility taken pictures Change, captured photo out is also not satisfactory in dissatisfactory environment, so needing the shooting technology to terminal device It optimizes.
Invention content
One kind provided by the embodiments of the present application is taken pictures optimization method, device, storage medium and terminal device, can be according to bat The difference of environment is taken the photograph to be optimized to taking pictures for terminal device.
It takes pictures optimization method in a first aspect, the embodiment of the present application provides one kind, including:
When being shot by filming apparatus, the jitter parameter of the filming apparatus is determined;
Obtain the brightness change information in the coverage of the filming apparatus;
The shooting exposure parameter of the filming apparatus is determined according to the jitter parameter and the brightness change information.
Second aspect, the embodiment of the present application, which provides one kind and takes pictures, optimizes device, including:
Jitter parameter determining module, the shake for when being shot by filming apparatus, determining the filming apparatus Parameter;
Brightness change acquisition module, the brightness change information in coverage for obtaining the filming apparatus;
Determining module is exposed, for determining the filming apparatus according to the jitter parameter and the brightness change information Shoot exposure parameter.
The third aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journey Sequence realizes the optimization method of taking pictures as described in the embodiment of the present application when the program is executed by processor.
Fourth aspect, the embodiment of the present application provide a kind of terminal device, including memory, processor and are stored in storage It can realize on device and when the computer program of processor operation, the processor execute the computer program as the application is real Apply the optimization method of taking pictures described in example.
The one kind provided in the embodiment of the present application is taken pictures prioritization scheme, by when being shot by filming apparatus, really The jitter parameter of the fixed filming apparatus;Obtain the brightness change information in the coverage of the filming apparatus;According to described Jitter parameter and the brightness change information determine the shooting exposure parameter of the filming apparatus.By using above-mentioned technical side Case can determine the shooting exposure parameter of filming apparatus, so that filming apparatus root according to jitter parameter and brightness change information More preferably photo can be taken according to shooting exposure parameter.
Description of the drawings
Fig. 1 is a kind of flow diagram for optimization method of taking pictures provided by the embodiments of the present application;
Fig. 2 is a kind of schematic diagram of a scenario for optimization method of taking pictures provided by the embodiments of the present application;
Fig. 3 is that another kind provided by the embodiments of the present application is taken pictures the flow diagram of optimization method;
Fig. 4 is that another kind provided by the embodiments of the present application is taken pictures the flow diagram of optimization method;
Fig. 5 is that another kind provided by the embodiments of the present application is taken pictures the schematic diagram of a scenario of optimization method;
Fig. 6 is that another kind provided by the embodiments of the present application is taken pictures the flow diagram of optimization method;
Fig. 7 is that another kind provided by the embodiments of the present application is taken pictures the flow diagram of optimization method;
Fig. 8 is that another kind provided by the embodiments of the present application is taken pictures the flow diagram of optimization method;
Fig. 9 is a kind of structure diagram of optimization device of taking pictures provided by the embodiments of the present application;
Figure 10 is a kind of structural schematic diagram of terminal device provided by the embodiments of the present application;
Figure 11 is the structural schematic diagram of another terminal device provided by the embodiments of the present application.
Specific implementation mode
Further illustrate the technical solution of the application below with reference to the accompanying drawings and specific embodiments.It is appreciated that It is that specific embodiment described herein is used only for explaining the application, rather than the restriction to the application.It further needs exist for illustrating , illustrate only for ease of description, in attached drawing and the relevant part of the application rather than entire infrastructure.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing described as flow chart or method.Although each step is described as the processing of sequence, many of which by flow chart Step can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of each step can be rearranged.When its operation The processing can be terminated when completion, it is also possible to the additional step being not included in attached drawing.The processing can be with Corresponding to method, function, regulation, subroutine, subprogram etc..
Filming apparatus can be that smart mobile phone, tablet computer, intelligent camera or other terminals with shooting function are set Standby, terminal device can also be the equipment for having corresponding operating system.It, may when user is shot by hand-held filming apparatus The case where shakiness can be held and filming apparatus is caused to be shaken, and then the picture of filming apparatus shooting might have fuzzy problem. In addition, if the light conditions of the scene of shooting are undesirable, the problem of picture of shooting has too noisy is also resulted in.This Shen Please embodiment taking pictures for terminal device can be optimized according to the difference of shooting environmental.
Fig. 1 is a kind of flow diagram for optimization method of taking pictures provided by the embodiments of the present application, and this method can be by taking pictures Optimize device to execute, wherein the device can be generally integrated in terminal device, also may be used by software and or hardware realization It is equipped in the equipment of operating system with being integrated in other.As shown in Figure 1, this method includes:
S110, when being shot by filming apparatus, determine the jitter parameter of the filming apparatus.
Wherein, the filming apparatus can be smart mobile phone, tablet computer, intelligent camera or other equipment;The bat It takes the photograph device and can also be filming apparatus on terminal device, such as the camera on smart mobile phone.It is described by filming apparatus into Can be when row shooting:When user starts filming apparatus and opens the camera of filming apparatus and shoot.
The jitter parameter is the parameter for the jitter conditions for embodying the filming apparatus, and optionally, the jitter parameter can Including chattering frequency and/or jitter amplitude etc..The shooting can be detected by the jitter sensor being arranged in filming apparatus to fill The jitter parameter set, optionally, the jitter sensor can be attitude transducers, and bat can be detected by attitude transducer The posture information of device is taken the photograph, and then determines the jitter parameter of filming apparatus according to posture information.
Illustratively, if the filming apparatus is smart mobile phone, and gyroscope is both provided in general smart mobile phone Sensor with acceleration transducer etc. for measuring mobile phone posture information, can be according to gyroscope and/or acceleration transducer Determine the jitter parameter of smart mobile phone.
S111, brightness change information in the coverage of the filming apparatus is obtained.
The coverage of the filming apparatus is:When the filming apparatus is shot, the scene domain that can take. Illustratively, as shown in Fig. 2, if shooting the certificate photo of personage 13, the coverage 11 by filming apparatus 10 Background board region 12 including the personage 13 and personage behind.
The brightness change information includes that the light luminance in preset time section in the coverage is occurred Change information.Illustratively, in the coverage of some scene, light luminance becomes in preset time section from brightness value 80 Change to 60, then brightness change information includes then the information that brightness value is changed to 60 from 80 in preset time section.
The light, which changes, also results in filming apparatus to the brightness in coverage shooting institute the image collected Information changes, and the brightness change information can also include the figure that the filming apparatus is generated in preset time section The variation that luminance information as in occurs.
The image that the filming apparatus is generated can be:The coverage of the filming apparatus shooting and the correspondence of generation Digital picture, the digital picture can be the preview image temporarily shown in the corresponding display device of filming apparatus, It can be the storage image being stored in after generation in the memory module of filming apparatus.
Optionally, as shown in figure 3, the brightness change information in obtaining the coverage of the filming apparatus can be under The mode of stating is implemented:
S1111, the time point that preset quantity is determined in preset time section, and obtain the corresponding shooting of each time point Luminance parameter in range.
S1112, brightness change information is determined according to the time point and corresponding luminance parameter of the preset quantity.
Wherein, the preset time section can open filming apparatus from user to be shot to specifically carrying out shooting it Between time interval, the duration of the time interval can be default.Illustratively, can be user open filming apparatus and by It can be 3 seconds to the time interval between the time point specifically shot after lower shutter key.Out of described preset time section Determine the time point of preset quantity, the time interval between any two of which adjacent time point can be it is identical can not also Together;The preset quantity and time interval can be systemic presupposition or user setting, be not limited thereto.
The luminance parameter obtained in the corresponding coverage of each time point is:Obtain shooting model respectively at every point of time Luminance parameter in enclosing.According to the time point of the preset quantity determined in pre-set interval, acquire respectively corresponding with time point The luminance parameter of preset quantity, to determine brightness change information according to time point and corresponding luminance parameter.Pass through Brightness change information can determine the brightness change situation in the photographed scene residing for filming apparatus, can also further predict to clap Take the photograph brightness of the device when acquisition of specifically taking pictures generates image.
Optionally, the luminance parameter obtained in the corresponding coverage of each time point can be implemented by following manner: For each time point, the luminance parameter in coverage is acquired by the brightness acquisition module of filming apparatus, or according to institute The coverage for stating filming apparatus is formed by image and determines luminance parameter.
Wherein, the brightness acquisition module can be the light sensor in filming apparatus, in general filming apparatus all Configured with light sensor, the light status in photographed scene can be directly collected, and then determine the brightness in coverage Parameter.
It can also be formed by image according to the coverage of the filming apparatus and determine luminance parameter;Described in the basis The coverage of filming apparatus is formed by image:The coverage of filming apparatus shooting and generation it is corresponding Digital picture, the digital picture can be the preview images temporarily shown in the corresponding display device of filming apparatus, also may be used To be the storage image being stored in after generation in the memory module of filming apparatus.It is formed by and contains the bright of image in image Information is spent, can determine luminance parameter according to the image of formation;Can also be formed by the pixel in image pixel value or Rgb value determines the luminance information of described image.
The brightness change information may include brightness change tendency information, illustratively, can be to time point and its right The luminance parameter answered is fitted, obtained fitting function i.e. brightness change information;Brightness change information, that is, the functional relation Formula, the functional relation can embody the relationship of time and luminance parameter and embody the trend of brightness change, and then can be with Predict the brightness when specifically carrying out taking pictures acquisition image.
S112, the shooting exposure ginseng that the filming apparatus is determined according to the jitter parameter and the brightness change information Number.
The shooting exposure parameter includes the exposure ginseng that the filming apparatus is used when specifically carrying out taking pictures acquisition image Number;The shooting exposure parameter includes the time for exposure, and the time for exposure is the time of the shutter opening when filming apparatus is shot; When shutter opening, extraneous light can project on the photosurface of the photosensitive material of filming apparatus, so the time for exposure will shadow Ring the imaging effect of photographic device;And it is directed to different scenes, select the suitable time for exposure that can obtain clearer photo. In general, the situation poor in light can be enable extraneous more light enter camera shooting and be filled using the longer time for exposure On the photosurface for the photosensitive material set, so as to improve the brightness value of formed image, clearer photo is obtained.Accordingly The shorter time for exposure then may be used in ground in the case of light is relatively good.On the other hand, if for filming apparatus into When row shooting, filming apparatus itself is in the state of shake, if the time for exposure is long, the image of shooting can be caused to occur empty Change fuzzy effect, so the case where being shaken for filming apparatus, needs suitably to reduce the time for exposure.
So can be according to luminance information and jitter parameter in conjunction with determining the shooting exposure parameter of the filming apparatus;But It is that may clapped if determining the shooting exposure parameter of filming apparatus according only to the luminance parameter and jitter parameter that directly acquire Take the photograph device specifically carry out taking pictures acquisition image when, the luminance information of coverage has occurred and that variation, and then causes identified It is not accurate enough to shoot exposure parameter, unclear photo may be taken.
So according to brightness change information and jitter parameter in conjunction with the shooting exposure parameter of the filming apparatus is determined, it can To improve the accuracy of shooting exposure parameter.
It can determine that table, the jitter parameter and the brightness change information determine the bat according to preset exposure parameter Take the photograph the shooting exposure parameter of device;The preset exposure parameter determine in table include jitter parameter, brightness change information and Shoot the mapping relations of exposure parameter;So corresponding shooting exposure ginseng can be determined according to jitter parameter and brightness change information Number, used exposure parameter when being shot as filming apparatus.
Illustratively, corresponding jitter level can be determined according to jitter parameter, and is determined according to brightness change information Brightness change grade.
Different brightness change grades is corresponded in each jitter level, each brightness change grade corresponds at least one bat Exposure parameter is taken the photograph, and then can determine corresponding shooting exposure parameter according to brightness change information.
The one kind provided in the embodiment of the present application is taken pictures optimization method, by when being shot by filming apparatus, really The jitter parameter of the fixed filming apparatus;Obtain the brightness change information in the coverage of the filming apparatus;According to described Jitter parameter and the brightness change information determine the shooting exposure parameter of the filming apparatus.By using above-mentioned technical side Case can determine the shooting exposure parameter of filming apparatus, so that filming apparatus root according to jitter parameter and brightness change information More preferably photo can be taken according to shooting exposure parameter.
Fig. 4 is that another kind provided by the embodiments of the present application is taken pictures the flow diagram of optimization method, in above-mentioned arbitrary implementation On the basis of the technical solution that is provided of example, to obtain the operation of the luminance parameter in the corresponding coverage of each time point into Optimization is gone, optionally, as shown in figure 4, this method includes:
S120, when being shot by filming apparatus, determine the jitter parameter of the filming apparatus.
S121, the time point that preset quantity is determined in preset time section.
The specific implementation mode of aforesaid operations can refer to associated description above, and details are not described herein.
S122, for each time point, obtain the luminance parameter of the predeterminated position in corresponding coverage.
Wherein, the predeterminated position in the coverage can be:Coverage in filming apparatus shooting and life At corresponding digital picture on preset coordinate, be mapped in corresponding predeterminated position in coverage.
The digital picture generated includes multiple pixels, and each corresponding luminance information of pixel, corresponding At least one of pixel value and corresponding rgb value.It can determine the corresponding pixel of preset coordinate, and by the pixel pair The luminance information answered is determined as the luminance parameter of predeterminated position;It can also be determined according to the pixel value or rgb value of the pixel The luminance parameter of the predeterminated position.
Optionally, the predeterminated position can be the correspondence according to the coverage and generation shot in the filming apparatus Digital picture determined by, i.e., preset coordinate is determined according to digital picture, according to preset coordinate be mapped in coverage with Determine corresponding predeterminated position.For example, if the predeterminated position is the face location region in coverage, it is corresponding default Coordinate is the coordinate of the face location in the digital picture of the generation;It can be according to image recognition technology from the number generated The coordinate of face location is determined in image.
Illustratively, as shown in figure 5, filming apparatus 10 is shooting the certificate photo of a personage, if predeterminated position is The face location 16 of personage in coverage 11;The corresponding digital picture that filming apparatus 10 shoots the coverage 11 and generates 14, the preset coordinate 15 in character image and predeterminated position 16 in digital picture 14 are corresponding, it is possible to according to the number Luminance information, pixel value or the rgb value of 15 corresponding pixel of preset coordinate in word image 14 determine the bright of predeterminated position 16 Spend parameter.
S123, the luminance parameter that the time point is determined according to the luminance parameter of the predeterminated position.
Wherein, position different in a coverage may correspond to different luminance parameters;For example, in shooting portrait, If only there are one the right side that light source and the light source are located at personage in coverage, user in coverage when shooting Right face is brighter, and left face can be than dark.So position different in the same coverage corresponds to different luminance parameters.
The predeterminated position can be systemic presupposition, or determined by the exposal model according to user's selection.Illustratively, It, can be using the face location in photo as predeterminated position, and with face if the exposal model that user selects is portrait mode of figure The luminance parameter of position is used as the luminance parameter at the time point, time point that can be according to preset quantity and corresponding face The luminance parameter of position determines brightness change information, and then can correspond to adjustment institute with the brightness change information of face location The shooting exposure parameter for stating filming apparatus, can make filming apparatus take clearer facial image.
Optionally, basic parameter is determined according to the luminance parameter of the predeterminated position, and is determined as the bright of the time point Spend parameter;Wherein, the predeterminated position is at least two.
Wherein, if the predeterminated position is at least two, i.e. predeterminated position corresponds to two or more preset coordinates, then may be used To determine basic parameter according to the luminance parameter of the predeterminated position, and basic parameter is determined as the brightness at the time point and is joined Number.
Illustratively, if the predeterminated position is the face location in coverage, if predeterminated position is one, and The predeterminated position may be exactly in the shadow positions on face, if it is people directly to determine the luminance parameter of the predeterminated position The luminance parameter of face may result in the inaccuracy of the luminance parameter at the time point.So multiple predeterminated positions can be set, For example, predeterminated position may include the forehead of people, the nose of people, the left cheek of people and right cheek, then can obtain respectively above-mentioned The corresponding luminance parameter in four positions, and determine the basic parameter of face, more accurate luminance parameter can be obtained.
S124, brightness change information is determined according to the time point and corresponding luminance parameter of the preset quantity.
S125, the shooting exposure ginseng that the filming apparatus is determined according to the jitter parameter and the brightness change information Number.
The specific implementation mode of aforesaid operations can refer to associated description above, and details are not described herein.
The embodiment of the present application obtains the luminance parameter of the predeterminated position in corresponding coverage for each time point; The luminance parameter that the time point is determined according to the luminance parameter of the predeterminated position, according to the specific location in coverage come It determines luminance parameter, the accuracy of brightness change information can be further increased.
Fig. 6 is that another kind provided by the embodiments of the present application is taken pictures the flow diagram of optimization method, in above-mentioned arbitrary implementation On the basis of the technical solution that example is provided, optionally, as shown in fig. 6, this method includes:
S130, when being shot by filming apparatus, determine the jitter parameter of the filming apparatus.
Specific implementation mode can refer to associated description above, and details are not described herein.
S131, it determined at least three time points in preset time section, and obtains the corresponding shooting model of each time point Luminance parameter in enclosing.
S132, brightness change tendency information is determined according at least three time point corresponding luminance parameter.
Wherein, the brightness change tendency information may include that brightness brightens, brightness is lower or brightness flicker, for two Time point can determine that brightness brightens or brightness is dimmed, but if the brightness change tendency information includes the change of brightness flicker Change information, then only two time points can not accurately determine brightness change trend.So determined at least three time points, and according to extremely Few three time points corresponding luminance parameter can improve the accuracy of brightness change tendency information.
S133, Benchmark brightness parameter is determined according to the brightness change tendency information and at least three time point.
Wherein, the brightness change tendency information can embody the relationship of time and luminance parameter, you can bright to embody The trend of variation is spent, and then can predict the brightness when specifically carrying out taking pictures acquisition image.So can be according to brightness change Tendency information and at least three time points determine that Benchmark brightness parameter, the Benchmark brightness parameter are the time point pair specifically shot The luminance parameter answered.
Illustratively, if the preset time section is user open filming apparatus and press after shutter key to opportunity into The time interval at that time point of row shooting, at least three time point and that time point shot be according to It is secondary evenly distributed.After determining brightness change tendency information, then it can shoot according at least three time point and specifically Time point relationship determines the time point specifically shot corresponding luminance parameter, i.e. Benchmark brightness parameter.Wherein, it is described at least The relationship at three time points and the time point specifically shot is also possible that second time point a second of first time point distance, the Time point 3*a second that two time points specifically shoot apart from third time point 2*a seconds, third time point distance;It is described extremely The relationship at few three time points and the time point specifically shot can be systemic presupposition or pattern carries out according to the user's choice It determines, is not limited thereto.
S134, the shooting exposure ginseng that the filming apparatus is determined according to the jitter parameter and the Benchmark brightness parameter Number.
Specific implementation mode can refer to associated description above, and details are not described herein.
The embodiment of the present application obtains each time point pair by determining at least three time points in preset time section Luminance parameter in the coverage answered determines brightness change trend according at least three time point corresponding luminance parameter Information determines Benchmark brightness parameter according to the brightness change tendency information and at least three time point, can improve The accuracy of brightness change tendency information, and further increase the accuracy of shooting exposure parameter.
Fig. 7 is that another kind provided by the embodiments of the present application is taken pictures the flow diagram of optimization method, in above-mentioned arbitrary implementation On the basis of the technical solution that example is provided, optionally, as shown in fig. 7, this method includes:
S140, when being shot by filming apparatus, determine the jitter parameter of the filming apparatus.
S141, the time point that preset quantity is determined in preset time section, and obtain the corresponding shooting of each time point Luminance parameter in range.
S142, brightness change information is determined according to the time point and corresponding luminance parameter of the preset quantity.
The specific implementation mode of aforesaid operations can refer to associated description above, and details are not described herein.
When S143, the object in the coverage focal zone of the filming apparatus relatively move, described in acquisition The moving parameter of object.Wherein, the focal zone includes at least two objects, and the relative movement occurs between object Relative movement.
Wherein, the filming apparatus is when being shot, because photographed scene is three dimensions, the difference in coverage The distance of object and filming apparatus is different, so filming apparatus generally can be there are one focal zone, to make focal zone In object can clearly be taken.So the object in focal zone is usually the master in the desired photo shot of user Want object.The focal zone can be filming apparatus automatic identification and systemic presupposition, can also be user's actively setting.
If the object in the focal zone is waited when shooting has occurred movement, it is also possible in the photo for leading to shooting The fuzzy problem of object, so whether the object in the further focal zone for judging coverage moves, so as to basis The moving parameter of object further adjusts shooting exposure parameter.
General focal zone includes at least two objects, such as be taken main body and background.If shot subject is subjective Movement has occurred, then there is relative movement between shot subject and background.And it is moved to lead if it is filming apparatus When the object in focal zone being caused to have occurred mobile in camera lens, shot subject and background can move simultaneously.
So whether can be relatively moved according to the object in focal zone to determine the object in focal zone Whether movement has occurred in subjectivity, and then can determine the moving parameter of the object.The moving parameter is to embody focal zone In object occur movement parameter, can be object movement speed, displacement distance and translational acceleration in it is at least one.
S144, the bat is determined according to the jitter parameter, the moving parameter of the object and the brightness change information Take the photograph the shooting exposure parameter of device.
Table, the jitter parameter, the moving parameter of the object and described bright can be determined according to preset exposure parameter Degree change information determines the shooting exposure parameter of the filming apparatus.The preset exposure parameter determines in table to include shake Parameter, the moving parameter of object, brightness change information and the mapping relations for shooting exposure parameter;So can be joined according to shake Number, the moving parameter of object and brightness change information determine corresponding shooting exposure parameter, when being shot as filming apparatus Used exposure parameter.
It should be noted that the execution sequence of operation S143 is not limited to shown in attached drawing 7, operation S143 only needs operating It is executed before S144.
Optionally, as shown in figure 8, being believed according to the jitter parameter, the moving parameter of the object and the brightness change Breath determines that the shooting exposure parameter of the filming apparatus can also be implemented by following manner:
S1441, the benchmark time for exposure is determined according to the jitter parameter.
S1442, the benchmark time for exposure is adjusted according to the moving parameter of the object and the brightness change information, obtained To shooting exposure parameter.
Wherein, because the jitter parameter of filming apparatus determines the effect of the benchmark of the image captured by filming apparatus.Show Example property, if filming apparatus shake is larger, though the object in coverage does not move, and with good Stable light, it is also possible to take unclear photo.So the benchmark time for exposure is determined according to the jitter parameter first, And then the benchmark time for exposure is adjusted according to the moving parameter of the object and the brightness change information, shooting can be improved The accuracy of exposure parameter.
The embodiment of the present application is relatively moved according to the object in the coverage focal zone of the filming apparatus When, the moving parameter of the object is obtained, and according to the jitter parameter, the moving parameter of the object and the brightness change Information determines the shooting exposure parameter of the filming apparatus, can be according to the mobile ginseng of the object in the focal zone of coverage Number improves the accuracy of shooting exposure parameter.
Fig. 9 is a kind of structure diagram of optimization device of taking pictures provided by the embodiments of the present application, which can execute and take pictures Optimization method, as shown in figure 9, the device includes:
Jitter parameter determining module 210, for when being shot by filming apparatus, determining trembling for the filming apparatus Dynamic parameter;
Brightness change acquisition module 211, the brightness change information in coverage for obtaining the filming apparatus;
Determining module 212 is exposed, for determining that the shooting fills according to the jitter parameter and the brightness change information The shooting exposure parameter set.
The one kind provided in the embodiment of the present application is taken pictures optimization device, by when being shot by filming apparatus, really The jitter parameter of the fixed filming apparatus;Obtain the brightness change information in the coverage of the filming apparatus;According to described Jitter parameter and the brightness change information determine the shooting exposure parameter of the filming apparatus.By using above-mentioned technical side Case can determine the shooting exposure parameter of filming apparatus, so that filming apparatus root according to jitter parameter and brightness change information More preferably photo can be taken according to shooting exposure parameter.
Optionally, brightness change acquisition module specifically includes:
Time point module, the time point for determining preset quantity in preset time section, and obtain each time point Luminance parameter in corresponding coverage;
Time point brightness module, for determining brightness according to the time point and corresponding luminance parameter of the preset quantity Change information.
Optionally, time point module is specifically used for:
For each time point, the luminance parameter in coverage is acquired by the brightness acquisition module of filming apparatus, or Person is formed by image according to the coverage of the filming apparatus and determines luminance parameter.
Optionally, time point module specifically includes::
Predeterminated position module, for for each time point, obtaining the brightness of the predeterminated position in corresponding coverage Parameter;
Predeterminated position brightness module, for determining that the brightness at the time point is joined according to the luminance parameter of the predeterminated position Number.
Optionally, predeterminated position brightness module is specifically used for:
Basic parameter is determined according to the luminance parameter of the predeterminated position, and is determined as the luminance parameter at the time point; Wherein, the predeterminated position is at least two.
Optionally, the brightness change information includes brightness change tendency information.
Optionally, the preset quantity is at least three;Correspondingly, time point brightness module is specifically used for:
Brightness change tendency information is determined according at least three time point corresponding luminance parameter;
Benchmark brightness parameter is determined according to the brightness change tendency information and at least three time point;
Correspondingly, exposure determining module is specifically used for:
The shooting exposure parameter of the filming apparatus is determined according to the jitter parameter and the Benchmark brightness parameter.
Optionally, further include:
Opposed moving mold, for determining the filming apparatus according to the jitter parameter and the brightness change information Shooting exposure parameter before, when the object in the coverage focal zone of the filming apparatus relatively moves, obtain Take the moving parameter of the object;Wherein, the focal zone includes at least two objects, it is described relative movement be object it Between the relative movement that occurs;
Correspondingly, exposure determining module is specifically used for:
The filming apparatus is determined according to the jitter parameter, the moving parameter of the object and the brightness change information Shooting exposure parameter.
Optionally, exposure determining module is specifically used for:
The benchmark time for exposure is determined according to the jitter parameter;According to the moving parameter of the object and the brightness change Information adjusts the benchmark time for exposure, obtains shooting exposure parameter.
A kind of storage medium including computer executable instructions that the embodiment of the present application is provided, computer are executable The optimization operation of taking pictures being not limited to the described above is instructed, the optimization side of taking pictures that the application any embodiment is provided can also be performed Relevant operation in method.
The embodiment of the present application also provides a kind of storage medium including computer executable instructions, and the computer is executable When being executed by computer processor for executing optimization method of taking pictures, this method includes for instruction:
When being shot by filming apparatus, the jitter parameter of the filming apparatus is determined;
Obtain the brightness change information in the coverage of the filming apparatus;
The shooting exposure parameter of the filming apparatus is determined according to the jitter parameter and the brightness change information.
Storage medium --- any various types of memory devices or storage device.Term " storage medium " is intended to wrap It includes:Install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, blue Bath (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetic medium (such as hard disk or optical storage);The memory component etc. of register or other similar types.Storage medium can further include other Memory of type or combinations thereof.In addition, storage medium can be located at program in the first computer system being wherein performed, Or can be located in different second computer systems, second computer system is connected to the by network (such as internet) One computer system.Second computer system can provide program instruction to the first computer for executing." storage is situated between term Matter " may include may reside in different location two of (such as in different computer systems by network connection) or More storage mediums.Storage medium can store the program instruction that can be executed by one or more processors and (such as implement For computer program).
The embodiment of the present application provides a kind of terminal device, and bat provided by the embodiments of the present application can be integrated in the terminal device According to optimization device.
Figure 10 is a kind of structural schematic diagram of terminal device provided by the embodiments of the present application, and the embodiment of the present application provides one Kind of terminal device 30, including memory 31, processor 32 and are stored in the computer that can be run on memory 31 and in processor Program, the processor realize the optimization method of taking pictures described in above-described embodiment when executing the computer program.The application is real The terminal device for applying example offer, can optimize taking pictures for terminal device according to the difference of shooting environmental.
Figure 11 is a kind of structural schematic diagram of terminal device provided by the embodiments of the present application.As shown in figure 11, which sets It is standby to may include:Shell (not shown), touch screen (not shown), touch key-press (not shown), memory 301, central processing unit (Central Processing Unit, CPU) 302 (also known as processor, hereinafter referred to as CPU), circuit board (not shown) and power circuit (not shown).The circuit board is placed in the space interior that the shell surrounds;Institute It states CPU302 and the memory 301 is arranged on the circuit board;The power circuit, for being each of the terminal device A circuit or device power supply;The memory 301, for storing executable program code;The CPU302 passes through described in reading The executable program code stored in memory 301 runs computer program corresponding with the executable program code, with Realize following steps:
When being shot by filming apparatus, the jitter parameter of the filming apparatus is determined;
Obtain the brightness change information in the coverage of the filming apparatus;
The shooting exposure parameter of the filming apparatus is determined according to the jitter parameter and the brightness change information.
The terminal device further includes:Peripheral Interface 303, RF (Radio Frequency, radio frequency) circuit 305, audio-frequency electric Road 306, loud speaker 311, power management chip 308, input/output (I/O) subsystem 309, touch screen 312, other input/controls Control equipment 310 and outside port 304, these components are communicated by one or more communication bus or signal wire 307.
It should be understood that graphic terminal 300 is only an example of terminal device, and terminal device 300 Can have than shown in the drawings more or less component, can combine two or more components, or can be with It is configured with different components.Various parts shown in the drawings can be including one or more signal processings and/or special It is realized in the combination of hardware, software or hardware and software including integrated circuit.
Just the terminal device provided in this embodiment for realizing optimization of taking pictures is described in detail below, which sets For by taking mobile phone as an example.
Memory 301, the memory 301 can be by access such as CPU302, Peripheral Interfaces 303, and the memory 301 can Can also include nonvolatile memory to include high-speed random access memory, such as one or more disk memory, Flush memory device or other volatile solid-state parts.
The peripheral hardware that outputs and inputs of equipment can be connected to CPU302 and deposited by Peripheral Interface 303, the Peripheral Interface 303 Reservoir 301.
I/O subsystems 309, the I/O subsystems 309 can be by the input/output peripherals in equipment, such as touch screen 312 With other input/control devicess 310, it is connected to Peripheral Interface 303.I/O subsystems 309 may include 3091 He of display controller One or more input controllers 3092 for controlling other input/control devicess 310.Wherein, one or more input controls Device 3092 processed receives electric signal from other input/control devicess 310 or sends electric signal to other input/control devicess 310, Other input/control devicess 310 may include physical button (pressing button, rocker buttons etc.), dial, slide switch, behaviour Vertical pole clicks idler wheel.It is worth noting that input controller 3092 can with it is following any one connect:Keyboard, infrared port, The indicating equipment of USB interface and such as mouse.
Touch screen 312, the touch screen 312 are the input interface and output interface between subscriber terminal equipment and user, Visual output is shown to user, visual output may include figure, text, icon, video etc..
Display controller 3091 in I/O subsystems 309 receives electric signal from touch screen 312 or is sent out to touch screen 312 Electric signals.Touch screen 312 detects the contact on touch screen, and the contact detected is converted to and is shown by display controller 3091 The interaction of user interface object on touch screen 312, that is, realize human-computer interaction, the user interface being shown on touch screen 312 Object can be the icon of running game, be networked to the icon etc. of corresponding network.It is worth noting that equipment can also include light Mouse, light mouse are the extensions for the touch sensitive surface for not showing the touch sensitive surface visually exported, or formed by touch screen.
RF circuits 305 are mainly used for establishing the communication of mobile phone and wireless network (i.e. network side), realize mobile phone and wireless network The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuits 305 receive and send RF letters Number, RF signals are also referred to as electromagnetic signal, and RF circuits 305 convert electrical signals to electromagnetic signal or electromagnetic signal is converted to telecommunications Number, and communicated with communication network and other equipment by the electromagnetic signal.RF circuits 305 may include for executing The known circuit of these functions comprising but it is not limited to antenna system, RF transceivers, one or more amplifiers, tuner, one A or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user identifier mould Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 306 is mainly used for receiving audio data from Peripheral Interface 303, which is converted to telecommunications Number, and the electric signal is sent to loud speaker 311.
Loud speaker 311, the voice signal for receiving mobile phone from wireless network by RF circuits 305, is reduced to sound And play the sound to user.
Power management chip 308, the hardware for being connected by CPU302, I/O subsystem and Peripheral Interface are powered And power management.
Terminal device provided by the embodiments of the present application, can according to the difference of shooting environmental come to terminal device take pictures into Row optimization.
Take pictures optimization device, storage medium and the terminal device provided in above-described embodiment, which can perform the application, arbitrarily to be implemented The optimization method of taking pictures that example is provided has and executes the corresponding function module of this method and advantageous effect.Not in above-described embodiment In detailed description technical detail, reference can be made to the optimization method of taking pictures that the application any embodiment is provided.
Note that above are only preferred embodiment and the institute's application technology principle of the application.It will be appreciated by those skilled in the art that The application is not limited to specific embodiment described here, can carry out for a person skilled in the art it is various it is apparent variation, The protection domain readjusted and substituted without departing from the application.Therefore, although being carried out to the application by above example It is described in further detail, but the application is not limited only to above example, in the case where not departing from the application design, also May include other more equivalent embodiments, and scope of the present application is determined by scope of the appended claims.

Claims (12)

  1. The optimization method 1. one kind is taken pictures, which is characterized in that including:
    When being shot by filming apparatus, the jitter parameter of the filming apparatus is determined;
    Obtain the brightness change information in the coverage of the filming apparatus;
    The shooting exposure parameter of the filming apparatus is determined according to the jitter parameter and the brightness change information.
  2. 2. the method as described in claim 1, which is characterized in that obtain the brightness change in the coverage of the filming apparatus Information includes:
    The time point of preset quantity is determined in preset time section, and is obtained bright in the corresponding coverage of each time point Spend parameter;
    Brightness change information is determined according to the time point of the preset quantity and corresponding luminance parameter.
  3. 3. method as claimed in claim 2, which is characterized in that obtain the brightness ginseng in the corresponding coverage of each time point Number includes:
    For each time point, the luminance parameter in coverage, Huo Zhegen are acquired by the brightness acquisition module of filming apparatus It is formed by image according to the coverage of the filming apparatus and determines luminance parameter.
  4. 4. method as claimed in claim 2, which is characterized in that obtain the brightness ginseng in the corresponding coverage of each time point Number includes:
    For each time point, the luminance parameter of the predeterminated position in corresponding coverage is obtained;
    The luminance parameter at the time point is determined according to the luminance parameter of the predeterminated position.
  5. 5. method as claimed in claim 4, which is characterized in that determine the time according to the luminance parameter of the predeterminated position Point luminance parameter include:
    Basic parameter is determined according to the luminance parameter of the predeterminated position, and is determined as the luminance parameter at the time point;Wherein, The predeterminated position is at least two.
  6. 6. such as claim 2 any one of them method, which is characterized in that the brightness change information includes brightness change trend Information.
  7. 7. method as claimed in claim 6, which is characterized in that the preset quantity is at least three;Correspondingly, according to described The time point of preset quantity and corresponding luminance parameter determine that brightness change information includes:
    Brightness change tendency information is determined according at least three time point corresponding luminance parameter;
    Benchmark brightness parameter is determined according to the brightness change tendency information and at least three time point;
    Correspondingly, the shooting exposure parameter packet of the filming apparatus is determined according to the jitter parameter and the brightness change information It includes:
    The shooting exposure parameter of the filming apparatus is determined according to the jitter parameter and the Benchmark brightness parameter.
  8. 8. the method as described in claim 1 to 7, which is characterized in that according to the jitter parameter and the brightness change information Before the shooting exposure parameter for determining the filming apparatus, further include:
    When object in the coverage focal zone of the filming apparatus relatively moves, the movement of the object is obtained Parameter;Wherein, the focal zone includes at least two objects, described to relatively move the opposite shifting occurred between object It is dynamic;
    Correspondingly, the shooting exposure parameter packet of the filming apparatus is determined according to the jitter parameter and the brightness change information It includes:
    The bat of the filming apparatus is determined according to the jitter parameter, the moving parameter of the object and the brightness change information Take the photograph exposure parameter.
  9. 9. method as claimed in claim 8, which is characterized in that according to the jitter parameter, the object moving parameter and institute The shooting exposure parameter that brightness change information determines the filming apparatus is stated, including:
    The benchmark time for exposure is determined according to the jitter parameter;
    The benchmark time for exposure is adjusted according to the moving parameter of the object and the brightness change information, obtains shooting exposure Parameter.
  10. The optimization device 10. one kind is taken pictures, which is characterized in that including:
    Jitter parameter determining module, the jitter parameter for when being shot by filming apparatus, determining the filming apparatus;
    Brightness change acquisition module, the brightness change information in coverage for obtaining the filming apparatus;
    Expose determining module, the shooting for determining the filming apparatus according to the jitter parameter and the brightness change information Exposure parameter.
  11. 11. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor Optimization method of taking pictures as claimed in any one of claims 1-9 wherein is realized when execution.
  12. 12. a kind of terminal device, which is characterized in that including memory, processor and storage are on a memory and can be in processor The computer program of operation, which is characterized in that the processor realizes that claim 1-9 such as appoints when executing the computer program Optimization method of taking pictures described in one.
CN201810937052.XA 2018-08-16 2018-08-16 It takes pictures optimization method, device, storage medium and terminal device CN108683858A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810937052.XA CN108683858A (en) 2018-08-16 2018-08-16 It takes pictures optimization method, device, storage medium and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810937052.XA CN108683858A (en) 2018-08-16 2018-08-16 It takes pictures optimization method, device, storage medium and terminal device

Publications (1)

Publication Number Publication Date
CN108683858A true CN108683858A (en) 2018-10-19

Family

ID=63815344

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810937052.XA CN108683858A (en) 2018-08-16 2018-08-16 It takes pictures optimization method, device, storage medium and terminal device

Country Status (1)

Country Link
CN (1) CN108683858A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109167931A (en) * 2018-10-23 2019-01-08 Oppo广东移动通信有限公司 Image processing method, device, storage medium and mobile terminal
CN110166697A (en) * 2019-06-28 2019-08-23 Oppo广东移动通信有限公司 Camera anti-fluttering method, device, electronic equipment and computer readable storage medium
CN110519513A (en) * 2019-08-26 2019-11-29 Oppo广东移动通信有限公司 Anti-fluttering method and device, electronic equipment, computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101031033A (en) * 2006-03-03 2007-09-05 奥林巴斯映像株式会社 Imaging apparatus and imaging method
CN102342090A (en) * 2009-03-02 2012-02-01 松下电器产业株式会社 Image capturing device, operator monitoring device, method for measuring distance to face, and program
CN106257917A (en) * 2015-06-18 2016-12-28 奥林巴斯株式会社 Exposure-control device and exposal control method
CN106375676A (en) * 2016-09-20 2017-02-01 广东欧珀移动通信有限公司 Photographing control method and device of terminal equipment, and terminal equipment
CN107277382A (en) * 2016-03-30 2017-10-20 奥林巴斯株式会社 Filming apparatus and image pickup method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101031033A (en) * 2006-03-03 2007-09-05 奥林巴斯映像株式会社 Imaging apparatus and imaging method
CN102342090A (en) * 2009-03-02 2012-02-01 松下电器产业株式会社 Image capturing device, operator monitoring device, method for measuring distance to face, and program
CN106257917A (en) * 2015-06-18 2016-12-28 奥林巴斯株式会社 Exposure-control device and exposal control method
CN107277382A (en) * 2016-03-30 2017-10-20 奥林巴斯株式会社 Filming apparatus and image pickup method
CN106375676A (en) * 2016-09-20 2017-02-01 广东欧珀移动通信有限公司 Photographing control method and device of terminal equipment, and terminal equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109167931A (en) * 2018-10-23 2019-01-08 Oppo广东移动通信有限公司 Image processing method, device, storage medium and mobile terminal
CN110166697A (en) * 2019-06-28 2019-08-23 Oppo广东移动通信有限公司 Camera anti-fluttering method, device, electronic equipment and computer readable storage medium
CN110519513A (en) * 2019-08-26 2019-11-29 Oppo广东移动通信有限公司 Anti-fluttering method and device, electronic equipment, computer readable storage medium

Similar Documents

Publication Publication Date Title
KR101916355B1 (en) Photographing method of dual-lens device, and dual-lens device
CN1909603B (en) Image processing method and imaging apparatus
JP2017516421A (en) Mobile terminal and imaging method thereof
KR20150099302A (en) Electronic device and control method of the same
US9357127B2 (en) System for auto-HDR capture decision making
KR20160021738A (en) Method and apparatus for skin color adjustment
US10353574B2 (en) Photographic apparatus, control method thereof, and non-transitory computer-readable recording medium
EP3134850A2 (en) System and method for controlling a camera based on processing an image captured by other camera
CN107613191B (en) Photographing method, photographing equipment and computer readable storage medium
CN105744175B (en) A kind of screen light compensation method, device and mobile terminal
EP2563010B1 (en) Mobile terminal and method of controlling the same
CN104506772A (en) Method and device for regulating shooting parameters
JP2007518357A (en) Method and apparatus for optimizing capture device settings with depth information
US20200221014A1 (en) Image pickup device and method of tracking subject thereof
CN105141853B (en) Image processing method and electronic equipment
JP6138201B2 (en) Image capturing device and method for controlling image capturing device
CN105049726A (en) Mobile terminal shooting method and mobile terminal
CN104539849A (en) Image pickup apparatus and its control method
KR102085766B1 (en) Method and Apparatus for controlling Auto Focus of an photographing device
CN104902177A (en) Intelligent photographing method and terminal
EP3410391A1 (en) Image blurring method, electronic device and computer readable storage medium
CN109005366B (en) Night scene shooting processing method and device for camera module, electronic equipment and storage medium
CN107707827B (en) High-dynamic image shooting method and mobile terminal
KR102099635B1 (en) Method for providing guide of camera and electronic device
CN108322646B (en) Image processing method, image processing device, storage medium and electronic equipment

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181019