CN108683859A - 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
CN108683859A
CN108683859A CN201810937053.4A CN201810937053A CN108683859A CN 108683859 A CN108683859 A CN 108683859A CN 201810937053 A CN201810937053 A CN 201810937053A CN 108683859 A CN108683859 A CN 108683859A
Authority
CN
China
Prior art keywords
parameter
filming apparatus
ambient brightness
coverage
jitter
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
CN201810937053.4A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810937053.4A priority Critical patent/CN108683859A/en
Publication of CN108683859A publication Critical patent/CN108683859A/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/70Circuitry for compensating brightness variation in the scene
    • H04N23/71Circuitry for evaluating the brightness variation
    • 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/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
    • H04N23/681Motion detection
    • H04N23/6812Motion detection based on additional sensors, e.g. acceleration sensors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/73Circuitry for compensating brightness variation in the scene by influencing the exposure time

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

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 ambient brightness information of the predeterminated position in the coverage of the filming apparatus;Wherein, the predeterminated position includes at least two preset coordinates;The shooting exposure parameter of the filming apparatus is determined according to the jitter parameter and the ambient brightness information.By using above-mentioned technical proposal, the shooting exposure parameter of filming apparatus can be determined according to jitter parameter and ambient brightness 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 ambient brightness information of the predeterminated position in the coverage of the filming apparatus;Wherein, the default position It sets including at least two preset coordinates;
The shooting exposure parameter of the filming apparatus is determined according to the jitter parameter and the ambient brightness 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;
Ambient brightness acquisition module, the ambient brightness of the predeterminated position in coverage for obtaining the filming apparatus Information;Wherein, the predeterminated position includes at least two preset coordinates;
Determining module is exposed, for determining the filming apparatus according to the jitter parameter and the ambient brightness 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 ambient brightness letter of the predeterminated position in the coverage of the filming apparatus Breath;Wherein, the predeterminated position includes at least two preset coordinates;It is true according to the jitter parameter and the ambient brightness information The shooting exposure parameter of the fixed filming apparatus.It, can be according to jitter parameter and ambient brightness by using above-mentioned technical proposal Information determines the shooting exposure parameter of filming apparatus, so that filming apparatus can take more preferably according to shooting exposure parameter Photo.
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 schematic diagram of a scenario 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 flow diagram 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 a kind of structure diagram of optimization device of taking pictures provided by the embodiments of the present application;
Fig. 9 is a kind of structural schematic diagram of terminal device provided by the embodiments of the present application;
Figure 10 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 smart mobile phone, tablet computer, intelligent camera or other ends with corresponding operating system End equipment may hold the case where shakiness causes filming apparatus to be shaken when user is shot by hand-held filming apparatus, into And 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 can be caused to have too noisy.The embodiment of the present application can be according to the difference of shooting environmental come to terminal Taking pictures for equipment optimizes.
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, the ambient brightness information for obtaining predeterminated position in the coverage of the filming apparatus;Wherein, described pre- If position includes at least two preset coordinates.
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.
Wherein, the predeterminated position in the coverage is the position that can be used for weighing brightness case in coverage, Predeterminated position can be:Preset coordinate in the corresponding digital picture that the coverage of filming apparatus shooting generates.
The ambient brightness information is the information for the globality brightness case for embodying the coverage;The ambient brightness Information can be according to determined by the corresponding luminance parameter of at least two preset coordinates.The predeterminated position can be that system is pre- If being configured according to the user's choice.Illustratively, if the predeterminated position includes two preset coordinates, two Preset coordinate is located at the top and bottom of the digital picture, and if the corresponding brightness ginseng of the preset coordinate of the upper end Number is 80, and the luminance parameter of lower end is 60, then can determine that the light source in the coverage is located at upper end, the shooting model It includes upper bright lower dark to enclose middle brightness case, and ambient brightness information includes upper bright lower dark brightness case.
The integrated environment luminance information in coverage is can see according at least two preset coordinates, and then can basis Integrated environment luminance information determines that more accurately shoots a time for exposure.
Optionally, the coverage is evenly dividing as at least two regions, and at least two preset coordinate is put down respectively It is located at least two region.
Wherein, the coverage is evenly dividing as at least two regions, and corresponding is exactly to be clapped in the filming apparatus It is divided evenly in the corresponding digital picture that the coverage taken the photograph generates and is preset at least two regions, corresponding at least two Coordinate is respectively seated at least two regions;Namely when the quantity of preset coordinate is not less than the quantity in region, Mei Gequ There is at least one preset coordinate in domain.So it can determine coverage according to the luminance parameter of at least two preset coordinates Whole ambient brightness information.
Illustratively, include 9 areas in total as shown in figure 3, the coverage 11 is evenly dividing the region for 3*3 Domain, accordingly, the filming apparatus shooting coverage generate corresponding digital picture 14 on be also divided evenly for 9 regions;The predeterminated position includes 9 preset coordinates 15 simultaneously, this 9 preset coordinates are separately positioned on digital picture 14 In 9 regions in.The whole environment of digital picture 14 can be accurately determined by the luminance parameter of 9 preset coordinates Luminance information.Wherein, the divided quantity of the coverage can be according to systemic presupposition or the pattern selected according to user It is determined, is not limited thereto.
S112, the shooting exposure ginseng that the filming apparatus is determined according to the jitter parameter and the ambient brightness 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 if luminance parameter and jitter parameter according only to the single coordinate directly acquired are joined to determine that the shooting of filming apparatus exposes Number, the luminance parameter of single coordinate can not accurately determine the brightness case of photographed scene, may lead to identified shooting exposure Parameter is not accurate enough, can take unclear photo.
So according to ambient brightness 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 ambient brightness 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, ambient brightness information and Shoot the mapping relations of exposure parameter;So corresponding shooting exposure ginseng can be determined according to jitter parameter and ambient brightness 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 ambient brightness information Ambient brightness classification.
Different ambient brightness classifications is corresponded in each jitter level, each ambient brightness classification corresponds at least one bat Exposure parameter is taken the photograph, and then can determine corresponding shooting exposure parameter according to ambient brightness 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 ambient brightness information in the coverage of the filming apparatus;According to described Jitter parameter and the ambient brightness 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 ambient brightness 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-described embodiment institute On the basis of the technical solution of offer, optionally, as shown in figure 4, this method includes:
S120, 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.
S121, the corresponding luminance parameter of at least two preset coordinates is obtained respectively.
Wherein it is possible to be formed by image according to the coverage of the filming apparatus, each preset coordinate is determined respectively Corresponding luminance parameter.
The coverage according to the filming apparatus is formed by digital picture:The filming apparatus shooting Coverage and generation corresponding digital picture, the digital picture can be in the corresponding display device of filming apparatus The preview image temporarily shown can also be the storage image being stored in after generation in the memory module of filming apparatus.
The digital picture generated includes multiple pixels, and the corresponding brightness value of each pixel, corresponding picture At least one of element value and corresponding rgb value.It can determine the corresponding pixel of preset coordinate, and the pixel is corresponded to Brightness value be determined as the luminance parameter of preset coordinate;Described in can also being determined according to the pixel value or rgb value of the pixel The luminance parameter of preset coordinate.
S122, Benchmark brightness parameter is determined according at least two preset coordinate and corresponding luminance parameter, and really It is set to ambient brightness information.
Wherein, according at least two preset coordinates and its corresponding confirmable coverage light of luminance parameter Brightness trend, the Benchmark brightness parameter can be according to median determined by the brightness trend.
Illustratively, if the luminance parameter corresponding at least two preset coordinate includes that brightness value is higher and brightness It is worth lower preset coordinate, then it represents that the ambient brightness information of the coverage, that is, non-such as high luminance values are so high, nor It is such as so low compared with low brightness values, then can high luminance values and compared with taken between low brightness values median as Benchmark brightness join Number, and Benchmark brightness parameter is determined into ambient brightness information.The median is for high luminance values and compared between low brightness values At least one brightness value can determine Benchmark brightness parameter according to preset weights, high luminance values and compared with low brightness values, as Ambient brightness information.The preset weights can determine that different brightness trend corresponds to different power according to the brightness trend Value, can obtain accurate ambient brightness information.
S123, the shooting exposure ginseng that the filming apparatus is determined according to the jitter parameter and the ambient brightness information Number.
Specific implementation mode can refer to associated description above, and details are not described herein.
The embodiment of the present application according at least two preset coordinate and corresponding luminance parameter by determining that benchmark is bright Parameter is spent, and is determined as ambient brightness information, more accurate ambient brightness information can be obtained.
Fig. 5 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 figure 5, 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.
If the coverage of S131, the filming apparatus include facial image, according to the position of the facial image Set determining predeterminated position.
Wherein it is possible to by judging to shoot whether including facial image in the digital picture that the coverage generates, it can To determine in the digital picture whether include facial image according to face recognition technology.
If the digital picture includes facial image, the photo of that user shooting is portrait photographs, and predeterminated position It is the position for weighing the brightness case in coverage, so when the photo of user's shooting is portrait photographs, face position The brightness case set can be larger to the ambient brightness informational influence of entire photo, it is possible to according to the position of the facial image Determine predeterminated position.
Optionally, at least one preset coordinate of the predeterminated position is located in the region of the facial image, other are pre- If coordinate is located at outside the region of the facial image.
Wherein, if the coverage of the filming apparatus includes facial image, i.e., user's shooting is that figure map is shone When piece, coverage includes two region divisions of face location and background positions, it is possible to by least one preset coordinate It is arranged in the corresponding region of facial image, and other preset coordinates are arranged outside the region of facial image, it can be to face area The brightness case of domain and background area is determined, and then can accurately learn the ambient brightness information of entire coverage.
Illustratively, if it is true according to the coordinate in facial image region and the coordinate outside facial image region Brightness of the brightness less than the region outside facial image for determining the region of facial image, then can correspond to the raising shooting time for exposure, So as to improve the brightness in the facial image region in the digital picture formed after shooting.
S132, the ambient brightness information for obtaining predeterminated position in the coverage of the filming apparatus;Wherein, described pre- If position includes at least two preset coordinates.
S133, the shooting exposure ginseng that the filming apparatus is determined according to the jitter parameter and the ambient brightness information Number.
The specific implementation mode of aforesaid operations can refer to associated description above, and details are not described herein.
Whether include facial image in coverage of the embodiment of the present application by judging the filming apparatus, and according to people The location determination predeterminated position of face image can further increase the accuracy of ambient brightness information, and be believed according to ambient brightness Shooting exposure parameter determined by breath can optimize the photo of shooting.
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:
S140, when being shot by filming apparatus, determine the jitter parameter of the filming apparatus.
S141, the ambient brightness information for obtaining predeterminated position in the coverage of the filming apparatus;Wherein, described pre- If position includes at least two preset coordinates.
The specific implementation mode of aforesaid operations can refer to associated description above, and details are not described herein.
When S142, 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.
S143, the shooting exposure ginseng that the filming apparatus is determined according to the jitter parameter and the ambient brightness information Number.
Table, the jitter parameter, the moving parameter of the object and the ring can be determined according to preset exposure parameter Border luminance 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, ambient brightness information and the mapping relations for shooting exposure parameter;So can be joined according to shake Number, the moving parameter of object and ambient brightness 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 S142 is not limited to shown in attached drawing, operation S12 only needs operating It is executed before S143.
Optionally, the shooting of filming apparatus exposes as described in being determined according to the jitter parameter and the ambient brightness information such as figure Optical parameter can be implemented by following manner:
S1431, the benchmark time for exposure is determined according to the jitter parameter;
S1432, the benchmark time for exposure is adjusted according to the moving parameter of the object and the ambient brightness 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 ambient brightness 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 ambient brightness 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. 8 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 8, the device includes:
Jitter parameter determining module 210, for when being shot by filming apparatus, determining trembling for the filming apparatus Dynamic parameter;
Ambient brightness acquisition module 211, the environment of the predeterminated position in coverage for obtaining the filming apparatus Luminance information;Wherein, the predeterminated position includes at least two preset coordinates;
Determining module 212 is exposed, for determining that the shooting fills according to the jitter parameter and the ambient brightness 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 ambient brightness letter of the predeterminated position in the coverage of the filming apparatus Breath;Wherein, the predeterminated position includes at least two preset coordinates;It is true according to the jitter parameter and the ambient brightness information The shooting exposure parameter of the fixed filming apparatus.It, can be according to jitter parameter and ambient brightness by using above-mentioned technical proposal Information determines the shooting exposure parameter of filming apparatus, so that filming apparatus can take more preferably according to shooting exposure parameter Photo.
Optionally, ambient brightness acquisition module specifically includes:
Coordinate luminance acquisition module, for obtaining the corresponding luminance parameter of at least two preset coordinates respectively;
Ambient brightness determining module, for determining base according at least two preset coordinate and corresponding luminance parameter Quasi- luminance parameter, and it is determined as ambient brightness information.
Optionally, coordinate luminance acquisition module is specifically used for:
It is formed by image according to the coverage of the filming apparatus, determines the corresponding brightness of each preset coordinate respectively Parameter.
Optionally, further include:
Facial image module, the ambient brightness letter for the predeterminated position in the coverage for obtaining the filming apparatus Before breath, if the coverage of the filming apparatus includes facial image, according to the location determination of the facial image Predeterminated position.
Optionally, at least one preset coordinate of the predeterminated position is located in the region of the facial image, other are pre- If coordinate is located at outside the region of the facial image.
Optionally, the coverage is evenly dividing as at least two regions, and at least two preset coordinate is put down respectively It is located at least two region.
Optionally, further include:
Opposed moving mold, for determining the filming apparatus according to the jitter parameter and the ambient brightness 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 ambient brightness 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 ambient brightness 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 ambient brightness information of the predeterminated position in the coverage of the filming apparatus;Wherein, the default position It sets including at least two preset coordinates;
The shooting exposure parameter of the filming apparatus is determined according to the jitter parameter and the ambient brightness 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.
Fig. 9 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 10 is a kind of structural schematic diagram of terminal device provided by the embodiments of the present application.As shown in Figure 10, 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 ambient brightness information of the predeterminated position in the coverage of the filming apparatus;Wherein, the default position It sets including at least two preset coordinates;
The shooting exposure parameter of the filming apparatus is determined according to the jitter parameter and the ambient brightness 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 (11)

  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 ambient brightness information of the predeterminated position in the coverage of the filming apparatus;Wherein, the predeterminated position packet Include at least two preset coordinates;
    The shooting exposure parameter of the filming apparatus is determined according to the jitter parameter and the ambient brightness information.
  2. 2. the method as described in claim 1, which is characterized in that obtain the predeterminated position in the coverage of the filming apparatus Ambient brightness information include:
    The corresponding luminance parameter of at least two preset coordinates is obtained respectively;
    Benchmark brightness parameter is determined according at least two preset coordinate and corresponding luminance parameter, and it is bright to be determined as environment Spend information.
  3. 3. method as claimed in claim 2, which is characterized in that obtain the corresponding brightness of at least two preset coordinate respectively Parameter includes:
    It is formed by image according to the coverage of the filming apparatus, determines the corresponding brightness ginseng of each preset coordinate respectively Number.
  4. 4. the method as described in claim 1, which is characterized in that obtain the predeterminated position in the coverage of the filming apparatus Ambient brightness information before, further include:
    It is default according to the location determination of the facial image if the coverage of the filming apparatus includes facial image Position.
  5. 5. method as claimed in claim 4, which is characterized in that according to the location determination predeterminated position packet of the facial image It includes:
    At least one preset coordinate of the predeterminated position is located in the region of the facial image, other preset coordinates are located at institute It states outside the region of facial image.
  6. 6. the method as described in claim 1, which is characterized in that the coverage is evenly dividing as at least two regions, institute At least two preset coordinates are stated respectively fifty-fifty to be located at least two region.
  7. 7. such as method described in any one of claim 1 to 5, which is characterized in that bright according to the jitter parameter and the environment Before degree information determines the shooting exposure parameter of 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 ambient brightness information It includes:
    The bat of the filming apparatus is determined according to the jitter parameter, the moving parameter of the object and the ambient brightness information Take the photograph exposure parameter.
  8. 8. the method for claim 7, which is characterized in that according to the jitter parameter, the object moving parameter and institute The shooting exposure parameter that ambient brightness 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 ambient brightness information, obtains shooting exposure Parameter.
  9. The optimization device 9. 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;
    Ambient brightness acquisition module, the ambient brightness letter of the predeterminated position in coverage for obtaining the filming apparatus Breath;Wherein, the predeterminated position includes at least two preset coordinates;
    Expose determining module, the shooting for determining the filming apparatus according to the jitter parameter and the ambient brightness information Exposure parameter.
  10. 10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The optimization method of taking pictures as described in any one of claim 1-8 is realized when execution.
  11. 11. 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-8 such as appoints when executing the computer program Optimization method of taking pictures described in one.
CN201810937053.4A 2018-08-16 2018-08-16 It takes pictures optimization method, device, storage medium and terminal device Pending CN108683859A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810937053.4A CN108683859A (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
CN201810937053.4A CN108683859A (en) 2018-08-16 2018-08-16 It takes pictures optimization method, device, storage medium and terminal device

Publications (1)

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

Family

ID=63816297

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810937053.4A Pending CN108683859A (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) CN108683859A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020103503A1 (en) * 2018-11-22 2020-05-28 Oppo广东移动通信有限公司 Night scene image processing method and apparatus, electronic device, and storage medium
CN112640421A (en) * 2020-03-18 2021-04-09 深圳市大疆创新科技有限公司 Exposure method, exposure device, shooting equipment, movable platform and storage medium
CN113343859A (en) * 2021-06-10 2021-09-03 浙江大华技术股份有限公司 Smoking behavior detection method and device, storage medium and electronic device
CN114520881A (en) * 2020-11-18 2022-05-20 成都极米科技股份有限公司 Exposure parameter adjusting method and device, computer equipment and readable storage medium

Citations (9)

* 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
CN103384309A (en) * 2012-05-02 2013-11-06 佳能株式会社 Image capturing apparatus and control method
CN105049726A (en) * 2015-08-05 2015-11-11 广东欧珀移动通信有限公司 Mobile terminal shooting method and mobile terminal
CN106375676A (en) * 2016-09-20 2017-02-01 广东欧珀移动通信有限公司 Photographing control method and device of terminal equipment, and terminal equipment
CN106791451A (en) * 2017-02-28 2017-05-31 上海传英信息技术有限公司 A kind of photographic method of intelligent terminal
CN106791472A (en) * 2016-12-29 2017-05-31 努比亚技术有限公司 A kind of exposure method and terminal
CN107241559A (en) * 2017-06-16 2017-10-10 广东欧珀移动通信有限公司 Portrait photographic method, device and picture pick-up device
CN107404618A (en) * 2017-08-01 2017-11-28 努比亚技术有限公司 A kind of image pickup method and terminal

Patent Citations (9)

* 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
CN103384309A (en) * 2012-05-02 2013-11-06 佳能株式会社 Image capturing apparatus and control method
CN105049726A (en) * 2015-08-05 2015-11-11 广东欧珀移动通信有限公司 Mobile terminal shooting method and mobile terminal
CN106375676A (en) * 2016-09-20 2017-02-01 广东欧珀移动通信有限公司 Photographing control method and device of terminal equipment, and terminal equipment
CN106791472A (en) * 2016-12-29 2017-05-31 努比亚技术有限公司 A kind of exposure method and terminal
CN106791451A (en) * 2017-02-28 2017-05-31 上海传英信息技术有限公司 A kind of photographic method of intelligent terminal
CN107241559A (en) * 2017-06-16 2017-10-10 广东欧珀移动通信有限公司 Portrait photographic method, device and picture pick-up device
CN107404618A (en) * 2017-08-01 2017-11-28 努比亚技术有限公司 A kind of image pickup method and terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020103503A1 (en) * 2018-11-22 2020-05-28 Oppo广东移动通信有限公司 Night scene image processing method and apparatus, electronic device, and storage medium
CN112640421A (en) * 2020-03-18 2021-04-09 深圳市大疆创新科技有限公司 Exposure method, exposure device, shooting equipment, movable platform and storage medium
CN114520881A (en) * 2020-11-18 2022-05-20 成都极米科技股份有限公司 Exposure parameter adjusting method and device, computer equipment and readable storage medium
CN114520881B (en) * 2020-11-18 2023-08-18 成都极米科技股份有限公司 Exposure parameter adjustment method, device, computer equipment and readable storage medium
CN113343859A (en) * 2021-06-10 2021-09-03 浙江大华技术股份有限公司 Smoking behavior detection method and device, storage medium and electronic device

Similar Documents

Publication Publication Date Title
CN109547701B (en) Image shooting method and device, storage medium and electronic equipment
US10924677B2 (en) Electronic device and method for providing notification related to image displayed through display and image stored in memory based on image analysis
US11138434B2 (en) Electronic device for providing shooting mode based on virtual character and operation method thereof
KR102381713B1 (en) Photographic method, photographic apparatus, and mobile terminal
US11558553B2 (en) Electronic device for stabilizing image and method for operating same
CN109167931B (en) Image processing method, device, storage medium and mobile terminal
US11189071B2 (en) Electronic device for providing avatar animation and method thereof
CN110581948A (en) electronic device for providing quality customized image, control method thereof and server
CN108683859A (en) It takes pictures optimization method, device, storage medium and terminal device
CN112840634B (en) Electronic device and method for obtaining image
CN108683858A (en) It takes pictures optimization method, device, storage medium and terminal device
CN109040523B (en) Artifact eliminating method and device, storage medium and terminal
CN107623818B (en) Image exposure method and mobile terminal
EP4254938A1 (en) Electronic device and operation method therefor
CN109040589A (en) Image processing method, device, storage medium and electronic equipment
CN108665510B (en) Rendering method and device of continuous shooting image, storage medium and terminal
US20220377228A1 (en) Electronic device and hdr image generation method therefor
US11467673B2 (en) Method for controlling camera and electronic device therefor
CN108683857A (en) It takes pictures optimization method, device, storage medium and terminal device
CN115150542A (en) Video anti-shake method and related equipment
US20220385814A1 (en) Method for generating plurality of content items and electronic device therefor
US11032462B2 (en) Method for adjusting focus based on spread-level of display object and electronic device supporting the same
CN115516494A (en) Method for generating image and electronic device thereof
KR20220005283A (en) Electronic device for image improvement and camera operation method of the electronic device
KR20200092762A (en) Electronic device and method for recognizing occlusion of camera thereof

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