CN107155067A - Camera control method and device, terminal and storage medium - Google Patents
Camera control method and device, terminal and storage medium Download PDFInfo
- Publication number
- CN107155067A CN107155067A CN201710557751.7A CN201710557751A CN107155067A CN 107155067 A CN107155067 A CN 107155067A CN 201710557751 A CN201710557751 A CN 201710557751A CN 107155067 A CN107155067 A CN 107155067A
- Authority
- CN
- China
- Prior art keywords
- image
- cache
- frame number
- control method
- camera control
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/62—Control of parameters via user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/67—Focus control based on electronic image sensor signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/73—Circuitry for compensating brightness variation in the scene by influencing the exposure time
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Studio Devices (AREA)
Abstract
The present invention provides a kind of camera control method and device, terminal and storage medium.Wherein, the camera control method includes:The cache image of current frame image and default frame number is obtained when receiving photographing instruction;The cache image is included in receive the photographing instruction before the image for meeting preparatory condition that caches;Intelligibility evaluation is carried out to the current frame image and the cache image;Definition highest image is defined as to image of taking pictures to be output.Using the camera control method of the present invention, taken pictures rate in blocks beneficial to raising.
Description
Technical field
The present invention relates to electronic technology field, more particularly to a kind of camera control method and device, terminal and storage medium.
Background technology
This part is it is intended that the embodiments of the present invention stated in claims and embodiment provide background
Or context.Description herein recognizes it is prior art not because not being included in this part.
Existing terminal, such as mobile phone generally all possess camera function, and pressing button of taking pictures in user starts to photo to give birth to
Into this process, often because the hand shake of user causes the photo taken easily to obscure, rate in blocks is undesirable.
The content of the invention
In consideration of it, being necessary that providing one kind is related to a kind of camera control method and device, terminal and storage medium, to improve
Take pictures rate in blocks.
The present invention provides a kind of camera control method, and applied to terminal, methods described includes:
The cache image of current frame image and default frame number is obtained when receiving photographing instruction;The cache image is included in
What is cached before receiving the photographing instruction meets the image of preparatory condition;
Intelligibility evaluation is carried out to the current frame image and the cache image;
Definition highest image is defined as to image of taking pictures to be output.
Further, the preparatory condition includes the photographed scene and/or content of shooting phase with the current frame image
Match somebody with somebody.
Further, the cache image of the default frame number includes caching of the cache-time point apart from the current frame image
The cache image for the default frame number that the duration at time point is not limited.
Further, the acquisition modes of the cache image of the default frame number include:
When the frame number of the candidate image cached before photographing instruction is received is less than or equal to the default frame number, obtain
The candidate image is used as the cache image;
When the frame number of the candidate image cached before photographing instruction is received is more than the default frame number, with interval
The mode of preset duration obtains described default from the candidate image nearest apart from the current frame image of caching time point
The candidate image of frame number is used as the cache image.
Further, before the photographing instruction is received, methods described also includes:
The photographed scene that the terminal is presently in is recognized according to the preview image shown in preview interface of taking pictures;
When the photographed scene is half-light scene, shorten the exposure time that the terminal is taken pictures.
Further, it is described intelligibility evaluation is carried out to the current frame image and the cache image to include:
The predeterminable area of predeterminable area and the cache image to the current frame image carries out intelligibility evaluation;Institute
Stating predeterminable area includes:
The central area of the preview image shown in the preview interface of taking pictures;Or
The focusing area that manual focus instruction according to being received in the preview interface of taking pictures is determined;Or
The characteristic area determined according to the feature of the preview image shown in the preview interface of taking pictures;Or
The depth of field region determined according to the depth of field of the preview image shown in the preview interface of taking pictures.
The present invention also provides a kind of photographing control device, applied to terminal.Described device includes:
Acquisition module, the cache image for obtaining current frame image and default frame number when receiving photographing instruction;Institute
State cache image and be included in the image for meeting preparatory condition cached before receiving the photographing instruction;
Evaluation module, for carrying out intelligibility evaluation to the current frame image and the cache image;
Determining module, for definition highest image to be defined as to image of taking pictures to be output.
Further, the cache image of the default frame number includes caching of the cache-time point apart from the current frame image
The cache image for the default frame number that the duration at time point is not limited.
The present invention also provides a kind of terminal, and the terminal includes memory and processor, the memory be used to storing to
A few instruction, the processor is used to perform at least one described instruction to realize the step in above-mentioned camera control method
Suddenly.
The present invention also provides a kind of non-volatile memory medium, and the non-volatile memory medium is stored with, and at least one refers to
Order, at least one described instruction realizes described camera control method when being executed by processor, and the camera control method includes
Step in above-mentioned camera control method.
Camera control method, device, terminal and storage medium that the present invention is provided, photographing instruction is being received by obtaining
When current frame image and receive the cache image of the default frame number cached before photographing instruction, and to the current frame image
And cache image is estimated, the definition highest image of assessment is defined as bat to be output after assessment result is obtained
According to image, improve the definition for output photo of taking pictures, so as to get image can more meet the expection of taking pictures of user, realize to improve and clap
According to the purpose of rate in blocks.
Further, the present invention is provided camera control method, device, terminal and storage medium, the default frame number
Cache image includes the default frame number that cache-time point is not limited apart from the duration of the cache-time point of the current frame image
Cache image, thus, compared with extracting and pressing the image cached in the fixed time period before button of taking pictures, the present invention is by extracting
The cache image of the fixed number of frames cached before button of taking pictures is pressed, that is, extracts the caching for meeting preparatory condition of fixed number of frames
Image, regardless of whether the cache-time point of those cache images, thus, the rate in blocks of photo can be effectively lifted, can more meet user
Expection.
Brief description of the drawings
In order to illustrate more clearly of the technical scheme of embodiment of the present invention, required in being described below to embodiment
The accompanying drawing used is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, for this
For the those of ordinary skill of field, on the premise of not paying creative work, it can also obtain other according to these accompanying drawings
Accompanying drawing.
Fig. 1 is the flow chart of the camera control method of first embodiment of the invention.
Fig. 2 is the flow chart of the camera control method of second embodiment of the invention.
Fig. 3 is the exemplary functional block diagram of the photographing control device of an embodiment of the present invention.
Fig. 4 is the exemplary structural representation of the terminal of an embodiment of the present invention.
Main element symbol description
Terminal | 1 |
Memory | 10 |
Processor | 20 |
Camera device | 30 |
Photographing control device | 100 |
Acquisition module | 11 |
Evaluation module | 12 |
Determining module | 13 |
Identification module | 14 |
Exposure control module | 15 |
Following embodiment will further illustrate the present invention with reference to above-mentioned accompanying drawing.
Embodiment
It is below in conjunction with the accompanying drawings and specific real in order to be more clearly understood that the above objects, features and advantages of the present invention
Applying mode, the present invention will be described in detail.It should be noted that in the case where not conflicting, presently filed embodiment and reality
Applying the feature in mode can be mutually combined.
Many details are elaborated in the following description to facilitate a thorough understanding of the present invention, described embodiment
Only a part of embodiment of the invention, rather than whole embodiments.Based on the embodiment in the present invention, this area
The every other embodiment that those of ordinary skill is obtained under the premise of creative work is not made, belongs to guarantor of the present invention
The scope of shield.
Unless otherwise defined, all of technologies and scientific terms used here by the article is with belonging to technical field of the invention
The implication that technical staff is generally understood that is identical.Term used in the description of the invention herein is intended merely to description tool
The purpose of the embodiment of body, it is not intended that in the limitation present invention.
Fig. 1 is the flow chart of the camera control method of first embodiment of the invention, and the camera control method is applied to
In terminal.As shown in figure 1, the camera control method may include steps of:
Step 101:When receiving photographing instruction, the cache image of current frame image and default frame number is obtained.Wherein, delay
Deposit image and be included in the image for meeting preparatory condition cached before receiving the photographing instruction.
It is understood that the triggering mode of the photographing instruction may include:Touch-control specifies screen area, touch to know
Not, Pressure identification and physics shoot button etc..
In present embodiment, when the current frame image is included in reception photographing instruction, what the terminal camera was obtained
Realtime graphic.
In present embodiment, the preparatory condition may include interior with the photographed scene of the current frame image and/or shooting
Appearance matches.
In concrete application example, when the preparatory condition is the photographed scene and content of shooting with the current frame image
When matching, undoubtedly, the whole structure such as luminous environment of each two field picture content and reaction in cache image is and current frame image
It is consistent, meet the expected degree of taking pictures of usual property.
In another concrete application example, when the preparatory condition matches for the photographed scene with the current frame image
When, the photographed scene (such as main half-light, main cool colour light and main warm colour light scene) that each two field picture in cache image is reacted with
Current frame image is consistent, meets the expection of taking pictures of concern photographed scene (picture tone) and the user of non-image content
Degree.
In another concrete application example, when the preparatory condition matches for the content of shooting with the current frame image
When, each two field picture content in cache image is consistent with the picture material of current frame image, meets in concern shooting image
Appearance in itself rather than the user of image effect such as picture tone expected degree of taking pictures.
In present embodiment, the cache image of the default frame number includes cache-time point apart from the current frame image
The cache image for the default frame number that the duration of cache-time point is not limited.I other words, when obtaining the cache image of default frame number,
The cache image of acquisition fixed qty can't be removed in a fixed cache-time length.Herein, cache-time point is slow
The single-frame images corresponding time point deposited.
It is understood that in actual applications, due to the limitation of storage speed and memory space, therefore will necessarily set
One caching sart point in time.Therefore, cache-time length is caching sart point in time to the period received before photographing instruction,
And the cache image of default frame number should also be obtained from the cache-time length.
It is understood that being influenceed by exposure time, imaging sensor, caching frame number per second also has certain difference
It is different, thus just necessarily bring the image of the real cache frame number situation not consistent with the frame number of expected cache image.Therefore,
The cache image for obtaining fixed frame number herein more meets highly efficient.
In present embodiment, the acquisition modes of the cache image of the default frame number include:
1) when the frame number of the candidate image, cached before photographing instruction is received is less than or equal to the default frame number,
The candidate image is obtained as the cache image.
2) when the frame number of the candidate image, cached before photographing instruction is received is more than the default frame number, with
It is spaced the mode of preset duration and obtains described from the candidate image nearest apart from the current frame image of caching time point
The candidate image of default frame number is used as the cache image.
Correspondence acquisition modes 1), in concrete application example, when default frame number is 10, delay before photographing instruction is received
When the frame number for the candidate image deposited is 8, directly the candidate image of 8 frames can be regard as cache image.
Correspondence acquisition modes 2), in another concrete application example, when default frame number is 8, before photographing instruction is received
When the frame number of the candidate image of caching is 20, it can preferentially obtain and be waited on a timeline closer to multiframe when receiving photographing instruction
Image is selected, using the cache image as default frame number.Such as, extraction is close from 20 frame candidate images receives the photographing instruction time
Point continuous 8 two field picture as default frame number cache image.Certainly, also (7 frames can be left from the first frame buffer image of acquisition
It is to be obtained) start to be used as cache image to extract 7 two field pictures from 19 frame candidate images in the way of 2 milliseconds of interval.In the second frame
When time interval between candidate image and the first frame candidate image is less than 2 milliseconds, then the second frame candidate image is not extracted,
When time interval between 3rd frame candidate image and the first frame candidate image is less than 2 milliseconds, then the 3rd candidate image is not taken out
Take;By that analogy.
It is understood that when candidate image frame number does not reach the situation of default frame number after extraction for appearance, can extract
Close first frame candidate image and the image not being extracted in a previous step, until reaching default frame number.
It is understood that in the candidate image nearest apart from the current frame image from caching time point herein
The candidate image for obtaining the default frame number is as the purpose of the cache image so that cache image and present frame
The measures of dispersion of image is minimum.
It is understood that in this step, when the preparatory condition be with the photographed scene of the current frame image and
When content of shooting matches, show that user more pays close attention to the content and its scene of image.For the situation, the present invention can also be to slow
Depositing image and carry out locomotion evaluation, when there is part variation between evaluating the cache image of consecutive frame, cache image can be transported
Dynamic compensation deals, to ensure that every frame buffer image can meet the expection of taking pictures of user as best one can, and ensure right in subsequent step
Image carries out the reliability of the assessment result of intelligibility evaluation.
Step 103:Intelligibility evaluation is carried out to the current frame image and the cache image.
In present embodiment, definition includes an image full figure or the thin portion shadow line and its clear journey on border of part
Degree, is to weigh the good and bad important indicator of picture quality, thus often user judges the whether available important consideration point of photo.By
This influence, definition of the rate in blocks height taken pictures also just with image is inseparable.Therefore, the present invention is by current frame image
Sequence is estimated with the cache image of the default frame number of acquisition, to obtain the multiple image sequence being ranked up by image definition
Row.
It is understood that intelligibility evaluation can be realized by the image algorithm of the acutance based on pixel.
It is understood that definition assess can be image full figure intelligibility evaluation, or image local is clear
Clear degree is assessed.
Step 104:Definition highest image is defined as to image of taking pictures to be output.
In present embodiment, using the image for caching of taking pictures, and pass through cache image and the reception to meeting preparatory condition
The current frame image obtained during to photographing instruction enters the assessment of line definition, further according to assessment result will the most clearly image be true
Be set to image of taking pictures to be output, improve the definition for output photo of taking pictures, so as to get image can more meet taking pictures for user
It is expected that, realize the purpose for improving rate in blocks of taking pictures.At the same time, because the camera control method of the present invention passes through program control completely
System can reach the purpose for improving rate in blocks of taking pictures, hard without adding any special camera lens or optical anti-vibration etc. to terminal
Part, thus the problem of manufacturing cost can't be brought to manufacturer.
In present embodiment, the present invention is by setting the default frame number (such as 5 frames) of a fixed qty, with from cache image
It is middle to obtain the image for meeting preparatory condition, the image in any time point of caching, thus each frame buffer figure obtained can be obtained
The time span of picture also can just be differed, as long as each two field picture obtained meets preparatory condition, be taken with prior art
There is difference, and taking pictures using the present invention in the mode that cache image progress intelligibility evaluation is obtained within a continuous time
The photo that control method is obtained can more meet the particular demands of user.
Fig. 2 is the flow chart of the camera control method of second embodiment of the invention.Described second embodiment and the
The main distinction of one embodiment is, the steps such as identification photographed scene are further comprises in second embodiment.Need explanation
It is, in the range of the spirit or essential attributes of the present invention, it is adaptable to which each concrete scheme in first embodiment can also phase
Answer suitable for second embodiment, for the sake of saving space and avoiding repetition, just repeat no more herein.
Step 201:The shooting that the terminal is presently in is recognized according to the preview image shown in preview interface of taking pictures
Scape.
Preview interface of taking pictures can simultaneous display camera obtain image, just can be quickly by image recognition using this point
Draw the photographed scene residing for present terminal.
It is understood that photographed scene (herein, so that photographed scene the is half-light scene as an example) identification of image can herein
Realize in the following way:
1) statistics with histogram, is carried out to the preview image, and the histogram is divided into multiple regions.Wherein, it is many
Individual region includes half-light region.
2) the accounting rate in the multiple region, is calculated.
3), when the accounting rate in half-light region is more than default accounting rate, it is half-light scene to determine the photographed scene.
It is understood that multiple regions may also include highlight regions, general luminance area, its identification can similarly pass through
The mode for calculating accounting rate is obtained, not reinflated narration herein.
It is understood that multiple regions can carry out the division in region with tone, known according to the ratio magnitude that accounts for of tone
Do not go out the changes in temperature of photographed scene light.
Step 202:When the photographed scene is half-light scene, shorten the exposure time that the terminal is taken pictures.
In present embodiment, due to being equipped with 3A functions (auto-focusing, automatic exposure and automatic white flat intelligent terminal instantly more
Weigh function), and automatic exposure function therein can carry out fast velocity modulation according to luminous environment (tending to reflect photographed scene)
It is whole so that the image for output of taking pictures was unlikely to bright or excessively dark.Thus, when luminous environment is half-light, obtained to take pictures
Image be unlikely to secretly, often increase exposure time to increase thang-kng amount.However, now, trickle shake just being capable of band
Carry out the unclear serious problems of image blur.For this problem, under half-light scene, the present invention shortens the terminal bat by controlling
According to exposure time, to reduce possibility of the exposure-processed stage during taking pictures by external environmental interference, so that sharp
In the imaging control taken pictures.
It is understood that for identification photographed scene be general luminous environment when, terminal can not be to exposure of taking pictures at
Reason does any control, and processing is exposed according to the existing time for exposure control algolithm of existing terminal.
Step 203:Receive photographing instruction.
Step 204:Obtain the cache image of current frame image and default frame number;The cache image, which is included in, receives institute
What is cached before stating photographing instruction meets the image of preparatory condition.
Step 205:Intelligibility evaluation is carried out to the current frame image and the cache image.
Step 206:Definition highest image is defined as to image of taking pictures to be output.
In present embodiment, under half-light scene, by the adjustment of exposure time, reduction cache image and current frame image
Image blurring probability.And after photographing instruction is received, the cache image and current frame image of the default frame number of acquisition
It is exposed treated image, thus, the overall definition level of image to be assessed is lifted, so that bat to be output
According to image clearly, and then improve the rate in blocks taken pictures.
In present embodiment, carrying out intelligibility evaluation to the current frame image and the cache image can include:
The predeterminable area of predeterminable area and the cache image to the current frame image carries out intelligibility evaluation.Only to preset areas
Domain carries out intelligibility evaluation, can reduce assessment amount of calculation, and efficiency is assessed in lifting.At the same time, the assessment of image is had more and be directed to
Property, meet the demand of user.
In the concrete application example of present embodiment, above-mentioned predeterminable area can include it is following in one kind:
1), the central area of the preview image shown in the preview interface of taking pictures.
2), the focusing area determined according to the manual focus instruction received in the preview interface of taking pictures.
3) characteristic area that the feature of the preview image shown in preview interface of, being taken pictures according to is determined.
4) depth of field region that the depth of field of the preview image shown in preview interface of, being taken pictures according to is determined.
Wherein, at the central area of the preview image shown during predeterminable area is the preview interface of taking pictures, normally,
After preview interface of taking pictures is entered, in the case of without any instruction input, camera programm is often with the center of preview image
Region is as auto-focusing region or without any focus operation, and auto-focusing region or not carry out any focusing dynamic
The most clear place of the image of work is often positioned in the central area of preview image, whereby, using the central area of preview image as silent
The predeterminable area recognized under state, with the requirement for the quick shooting of finding a view for meeting terminal.
The focusing area that the manual focus instruction received according to predeterminable area in the preview interface of taking pictures is determined
During domain, normally, why user carries out manual focus, often because user is interested in the picture material in some region,
Thus want that the picture material in the focus frame for allowing manual focus to determine can be clearly displayed, it is whereby, manual focus region is true
It is set to predeterminable area, to meet the photographing request that user is directed to some area-of-interest.
It is understood that predeterminable area herein can be less than the focus frame of the focusing area, institute can also be more than
State the focus frame of focusing area.
The characteristic area that the feature of the preview image shown in predeterminable area is preview interface of being taken pictures according to is determined
When, normally, action or feature to photographic subjects are caught to obtain characteristic image (face, gesture image etc.), energy
Enough facilitate user to shoot the image with special characteristic, whereby, using characteristic area as predeterminable area, tool is shot to meet user
There is the photographing request of certain characteristic image.
The depth of field region that the depth of field of the preview image shown in predeterminable area is preview interface of being taken pictures according to is determined,
Normally, for user takes pictures composition, the depth of field of target, which is set, to be tended to build a kind of spatial impression, and can be effectively
The target of prominent particular depth of view.Whereby, using depth of field region as predeterminable area, to meet bat of the user to the target of particular depth of view
Take the photograph requirement.
Fig. 3 is the exemplary functional block diagram for the photographing control device that one embodiment of the invention is provided.As shown in figure 3,
The photographing control device 100 includes acquisition module 11, evaluation module 12 and determining module 13, is being received using acquisition module 11
Corresponding image is obtained during to photographing instruction, then carries out intelligibility evaluation to obtain image by the image of 12 pairs of acquisitions of evaluation module
Definition height arrange, definition highest image is finally defined as to image of taking pictures to be output by determining module 13 again,
So as to reach that raising is taken pictures the purpose of rate in blocks.Include receiving current frame image during photographing instruction due to the image of acquisition again
And meet the cache image of preparatory condition, thus, while satisfaction takes pictures rate in blocks, it can also realize the photograph of user's specific purpose
Piece is shot, and lifts the experience of taking pictures of user.
It is understood that the photographing control device 100 of the present invention may also include other modules, such as identification module, exposure
Control module etc., to realize corresponding function.
It is as follows, terminal provided by the present invention will be described.
Fig. 4 is the schematic diagram for the terminal that one embodiment of the invention is provided.The terminal 1 of the embodiment includes:Memory 10, place
Manage device 20, camera device 30 and be stored in the computer program that can be run in the memory and on the processor, example
Such as take pictures control program.Realized described in the computing device during computer program in each above-mentioned camera control method embodiment
The step of, such as step 101 shown in Fig. 1 to step 103.Or, realized described in the computing device during computer program
The function of each module in above-mentioned each device embodiment, such as acquisition module obtained when receiving photographing instruction current frame image and
The function of the cache image of default frame number.
The terminal can be that the calculating such as mobile phone, desktop PC, notebook, palm PC and cloud server is set
It is standby.The terminal may include, but be not limited only to, processor 20, memory 10.It will be understood by those skilled in the art that described show
The restriction that the present invention is used to realize the example, not structure paired terminal of the terminal of camera control method is merely intended to, can be wrapped
Include than illustrating more or less parts, either combine some parts or different parts, such as described terminal can also be wrapped
Include input-output equipment, network access equipment, bus etc..
Alleged processor 20 can be CPU (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor
Deng the processor is the control centre of the terminal, utilizes various interfaces and the various pieces of the whole terminal of connection.
The memory 10 can be used for storing the computer program and/or module, the processor 20 by operation or
The computer program and/or module being stored in the memory are performed, and calls the data being stored in memory, is realized
The various functions of the terminal.The memory 10 can mainly include storing program area and storage data field, wherein, storage program
Area can be needed for storage program area, at least one function application program (such as sound-playing function, image player function etc.)
Deng;Storage data field can be stored uses created data (such as voice data, phone directory etc.) etc. according to mobile phone.In addition,
Memory can include high-speed random access memory, can also include nonvolatile memory, such as hard disk, internal memory, grafting
Formula hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card
(Flash Card), at least one disk memory, flush memory device or other volatile solid-state parts.
Camera device 30 can be camera.
Exemplary, the computer program can be divided into one or more modules, one or more of moulds
Block is stored in the memory 10, and is performed by the processor 20, to complete the present invention.One or more of modules
Can complete the series of computation machine programmed instruction section of specific function, the instruction segment is used to describe the computer program
Implementation procedure in the terminal 1.For example, the computer program can be divided into acquisition module 11, evaluation module 12,
Determining module 13, identification module 14 and exposure control module 15, each module concrete function are as follows:
Acquisition module 11, available for the caching figure that current frame image and default frame number are obtained when receiving photographing instruction
Picture.Wherein, the cache image is included in receive the photographing instruction before the image for meeting preparatory condition that caches.
Evaluation module 12, intelligibility evaluation is carried out available for the current frame image and the cache image.
Determining module 13, available for definition highest image to be defined as to image of taking pictures to be output.
Identification module 14, recognizes that the terminal is presently in available for according to the preview image shown in preview interface of taking pictures
Photographed scene.
Exposure control module 15, available for when the photographed scene is half-light scene, shortens the exposure that the terminal is taken pictures
Light time is long.
If the integrated module of terminal of the present invention is realized using in the form of SFU software functional unit and is used as independent product
Sale in use, can be stored in a computer read/write memory medium.Understood based on such, in present invention realization
All or part of flow in embodiment method is stated, the hardware of correlation can also be instructed to complete by computer program, institute
The computer program stated can be stored in a computer-readable recording medium, and the computer program, can when being executed by processor
The step of realizing each above-mentioned embodiment of the method.Wherein, the computer program includes computer program code, the computer
Program code can be source code form, object identification code form, executable file or some intermediate forms etc..The computer can
Reading medium can include:Any entity or device of the computer program code can be carried, it is recording medium, USB flash disk, mobile hard
Disk, magnetic disc, CD, computer storage, read-only storage (ROM, Read-Only Memory), random access memory
(RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..Need explanation
It is that the content that the computer-readable medium is included can be fitted according to legislation in jurisdiction and the requirement of patent practice
When increase and decrease, such as in some jurisdictions, according to legislation and patent practice, computer-readable medium does not include electric carrier wave letter
Number and telecommunication signal.
Embodiment of above is merely illustrative of the technical solution of the present invention and unrestricted, although the preferably embodiment party with reference to more than
The present invention is described in detail formula, it will be understood by those within the art that, can be to technical scheme
Modify or equivalent substitution should not all depart from the spirit and scope of technical solution of the present invention.
Claims (10)
1. a kind of camera control method, applied to terminal, it is characterised in that methods described includes:
The cache image of current frame image and default frame number is obtained when receiving photographing instruction;The cache image is included in reception
The image for meeting preparatory condition cached before to the photographing instruction;
Intelligibility evaluation is carried out to the current frame image and the cache image;
Definition highest image is defined as to image of taking pictures to be output.
2. camera control method as claimed in claim 1, it is characterised in that the preparatory condition includes and the present frame figure
The photographed scene and/or content of shooting of picture match.
3. camera control method as claimed in claim 1 or 2, it is characterised in that the cache image of the default frame number includes
The cache image for the default frame number that cache-time point is not limited apart from the duration of the cache-time point of the current frame image.
4. camera control method as claimed in claim 3, it is characterised in that the acquisition side of the cache image of the default frame number
Formula includes:
When the frame number of the candidate image cached before photographing instruction is received is less than or equal to the default frame number, obtain described
Candidate image is used as the cache image;
It is default with interval when the frame number of the candidate image cached before photographing instruction is received is more than the default frame number
The mode of duration obtains the default frame number from the candidate image nearest apart from the current frame image of caching time point
The candidate image be used as the cache image.
5. camera control method as claimed in claim 1, it is characterised in that described before the photographing instruction is received
Method also includes:
The photographed scene that the terminal is presently in is recognized according to the preview image shown in preview interface of taking pictures;
When the photographed scene is half-light scene, shorten the exposure time that the terminal is taken pictures.
6. camera control method as claimed in claim 1 or 2, it is characterised in that described to the current frame image and described
Cache image, which carries out intelligibility evaluation, to be included:
The predeterminable area of predeterminable area and the cache image to the current frame image carries out intelligibility evaluation;It is described pre-
If region includes:
The central area of the preview image shown in the preview interface of taking pictures;Or
The focusing area that manual focus instruction according to being received in the preview interface of taking pictures is determined;Or
The characteristic area determined according to the feature of the preview image shown in the preview interface of taking pictures;Or
The depth of field region determined according to the depth of field of the preview image shown in the preview interface of taking pictures.
7. a kind of photographing control device, applied to terminal, it is characterised in that described device includes:
Acquisition module, the cache image for obtaining current frame image and default frame number when receiving photographing instruction;It is described slow
Deposit image and be included in the image for meeting preparatory condition cached before receiving the photographing instruction;
Evaluation module, for carrying out intelligibility evaluation to the current frame image and the cache image;
Determining module, for definition highest image to be defined as to image of taking pictures to be output.
8. device as claimed in claim 7, it is characterised in that the cache image of the default frame number include cache-time point away from
The cache image for the default frame number not limited from the duration of the cache-time point of the current frame image.
9. a kind of terminal, it is characterised in that the terminal includes memory and processor, the memory is used to store at least one
Individual instruction, the processor is used to perform at least one described instruction to realize taking pictures described in claim 1-6 any one
Step in control method.
10. a kind of non-volatile memory medium, it is characterised in that the non-volatile memory medium is stored with, and at least one refers to
Order, at least one described instruction realizes described camera control method when being executed by processor, and the camera control method includes
The step in camera control method described in claim 1-6 any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710557751.7A CN107155067B (en) | 2017-07-10 | 2017-07-10 | Camera control method and device, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710557751.7A CN107155067B (en) | 2017-07-10 | 2017-07-10 | Camera control method and device, terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107155067A true CN107155067A (en) | 2017-09-12 |
CN107155067B CN107155067B (en) | 2019-03-22 |
Family
ID=59796818
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710557751.7A Active CN107155067B (en) | 2017-07-10 | 2017-07-10 | Camera control method and device, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107155067B (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108052883A (en) * | 2017-11-30 | 2018-05-18 | 广东欧珀移动通信有限公司 | User's photographic method, device and equipment |
CN108449543A (en) * | 2018-03-14 | 2018-08-24 | 广东欧珀移动通信有限公司 | Image synthetic method, device, computer storage media and electronic equipment |
CN108712605A (en) * | 2018-05-04 | 2018-10-26 | 努比亚技术有限公司 | A kind of image pickup method, terminal and computer readable storage medium |
CN108886577A (en) * | 2017-10-30 | 2018-11-23 | 深圳市大疆创新科技有限公司 | Filming control method, capture apparatus and unmanned plane |
CN109480766A (en) * | 2018-11-14 | 2019-03-19 | 深圳盛达同泽科技有限公司 | Retina Atomatic focusing method, device, system and fundus camera |
CN110049247A (en) * | 2019-04-28 | 2019-07-23 | Oppo广东移动通信有限公司 | Image preferred method, device, electronic equipment and readable storage medium storing program for executing |
CN110099212A (en) * | 2019-04-25 | 2019-08-06 | 努比亚技术有限公司 | A kind of photographic method, mobile terminal and computer readable storage medium |
WO2019196240A1 (en) * | 2018-04-10 | 2019-10-17 | 平安科技(深圳)有限公司 | Photographing method, apparatus, computer device, and storage medium |
CN110784649A (en) * | 2019-11-08 | 2020-02-11 | 武汉互创联合科技有限公司 | Embryo imaging focusing method and device |
CN110881104A (en) * | 2019-10-17 | 2020-03-13 | 宇龙计算机通信科技(深圳)有限公司 | Photographing method, photographing device, storage medium and terminal |
CN110971820A (en) * | 2019-11-25 | 2020-04-07 | Oppo广东移动通信有限公司 | Photographing method, photographing device, mobile terminal and computer readable storage medium |
CN111131698A (en) * | 2019-12-23 | 2020-05-08 | RealMe重庆移动通信有限公司 | Image processing method and device, computer readable medium and electronic equipment |
CN111970435A (en) * | 2020-08-03 | 2020-11-20 | 广东小天才科技有限公司 | Method and device for macro photography |
CN113660426A (en) * | 2021-09-08 | 2021-11-16 | 英望科技(山东)有限公司 | Method and system for preventing photographing jitter of user and computer readable storage medium |
CN116389898A (en) * | 2023-02-27 | 2023-07-04 | 荣耀终端有限公司 | Image processing method, device and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105049728A (en) * | 2015-08-17 | 2015-11-11 | 广东欧珀移动通信有限公司 | Method and device for acquiring shot image |
CN105227853A (en) * | 2015-09-02 | 2016-01-06 | 广东欧珀移动通信有限公司 | A kind of image pickup method and terminal |
CN105915792A (en) * | 2016-05-03 | 2016-08-31 | 广东欧珀移动通信有限公司 | Shooting method and device |
-
2017
- 2017-07-10 CN CN201710557751.7A patent/CN107155067B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105049728A (en) * | 2015-08-17 | 2015-11-11 | 广东欧珀移动通信有限公司 | Method and device for acquiring shot image |
CN105227853A (en) * | 2015-09-02 | 2016-01-06 | 广东欧珀移动通信有限公司 | A kind of image pickup method and terminal |
CN105915792A (en) * | 2016-05-03 | 2016-08-31 | 广东欧珀移动通信有限公司 | Shooting method and device |
Cited By (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108886577A (en) * | 2017-10-30 | 2018-11-23 | 深圳市大疆创新科技有限公司 | Filming control method, capture apparatus and unmanned plane |
WO2019084736A1 (en) * | 2017-10-30 | 2019-05-09 | 深圳市大疆创新科技有限公司 | Shooting control method, shooting device, and uav |
CN108052883A (en) * | 2017-11-30 | 2018-05-18 | 广东欧珀移动通信有限公司 | User's photographic method, device and equipment |
CN108449543A (en) * | 2018-03-14 | 2018-08-24 | 广东欧珀移动通信有限公司 | Image synthetic method, device, computer storage media and electronic equipment |
WO2019196240A1 (en) * | 2018-04-10 | 2019-10-17 | 平安科技(深圳)有限公司 | Photographing method, apparatus, computer device, and storage medium |
CN108712605A (en) * | 2018-05-04 | 2018-10-26 | 努比亚技术有限公司 | A kind of image pickup method, terminal and computer readable storage medium |
CN109480766A (en) * | 2018-11-14 | 2019-03-19 | 深圳盛达同泽科技有限公司 | Retina Atomatic focusing method, device, system and fundus camera |
CN110099212A (en) * | 2019-04-25 | 2019-08-06 | 努比亚技术有限公司 | A kind of photographic method, mobile terminal and computer readable storage medium |
CN110049247A (en) * | 2019-04-28 | 2019-07-23 | Oppo广东移动通信有限公司 | Image preferred method, device, electronic equipment and readable storage medium storing program for executing |
CN110881104A (en) * | 2019-10-17 | 2020-03-13 | 宇龙计算机通信科技(深圳)有限公司 | Photographing method, photographing device, storage medium and terminal |
CN110784649A (en) * | 2019-11-08 | 2020-02-11 | 武汉互创联合科技有限公司 | Embryo imaging focusing method and device |
CN110971820A (en) * | 2019-11-25 | 2020-04-07 | Oppo广东移动通信有限公司 | Photographing method, photographing device, mobile terminal and computer readable storage medium |
CN110971820B (en) * | 2019-11-25 | 2021-03-26 | Oppo广东移动通信有限公司 | Photographing method, photographing device, mobile terminal and computer readable storage medium |
CN111131698A (en) * | 2019-12-23 | 2020-05-08 | RealMe重庆移动通信有限公司 | Image processing method and device, computer readable medium and electronic equipment |
WO2021129669A1 (en) * | 2019-12-23 | 2021-07-01 | RealMe重庆移动通信有限公司 | Image processing method and system, electronic device, and computer-readable medium |
CN111131698B (en) * | 2019-12-23 | 2021-08-27 | RealMe重庆移动通信有限公司 | Image processing method and device, computer readable medium and electronic equipment |
CN111970435A (en) * | 2020-08-03 | 2020-11-20 | 广东小天才科技有限公司 | Method and device for macro photography |
CN111970435B (en) * | 2020-08-03 | 2022-03-11 | 广东小天才科技有限公司 | Method and device for macro photography |
CN113660426A (en) * | 2021-09-08 | 2021-11-16 | 英望科技(山东)有限公司 | Method and system for preventing photographing jitter of user and computer readable storage medium |
CN116389898A (en) * | 2023-02-27 | 2023-07-04 | 荣耀终端有限公司 | Image processing method, device and storage medium |
CN116389898B (en) * | 2023-02-27 | 2024-03-19 | 荣耀终端有限公司 | Image processing method, device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107155067B (en) | 2019-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107155067A (en) | Camera control method and device, terminal and storage medium | |
CN108322646B (en) | Image processing method, image processing device, storage medium and electronic equipment | |
WO2019183813A1 (en) | Image capture method and device | |
CN109345485B (en) | Image enhancement method and device, electronic equipment and storage medium | |
CN109862282B (en) | Method and device for processing person image | |
KR102263537B1 (en) | Electronic device and control method of the same | |
CN1926851A (en) | Method and apparatus for optimizing capture device settings through depth information | |
CN108513069B (en) | Image processing method, image processing device, storage medium and electronic equipment | |
CN108040204B (en) | Image shooting method and device based on multiple cameras and storage medium | |
CN110581956A (en) | Image processing method, image processing device, storage medium and electronic equipment | |
CN108551552A (en) | Image processing method, device, storage medium and mobile terminal | |
CN116320771B (en) | Shooting method and electronic equipment | |
CN112634160A (en) | Photographing method and device, terminal and storage medium | |
CN110677557B (en) | Image processing method, image processing device, storage medium and electronic equipment | |
CN112437235B (en) | Night scene picture generation method and device and mobile terminal | |
CN108495038B (en) | Image processing method, image processing device, storage medium and electronic equipment | |
WO2023071933A1 (en) | Camera photographing parameter adjustment method and apparatus and electronic device | |
CN110891145A (en) | Method for obtaining image by photographing and electronic equipment | |
CN105141857B (en) | Image processing method and device | |
CN116866495A (en) | Image acquisition method, device, terminal equipment and storage medium | |
CN111277754B (en) | Mobile terminal shooting method and device | |
CN113808066A (en) | Image selection method and device, storage medium and electronic equipment | |
CN107707819B (en) | Image shooting method, device and storage medium | |
CN112950503A (en) | Training sample generation method and device and truth value image generation method and device | |
CN114338956A (en) | Image processing method, image processing apparatus, and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |