CN108833781A - Image preview method, apparatus, terminal and computer readable storage medium - Google Patents
Image preview method, apparatus, terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN108833781A CN108833781A CN201810628173.6A CN201810628173A CN108833781A CN 108833781 A CN108833781 A CN 108833781A CN 201810628173 A CN201810628173 A CN 201810628173A CN 108833781 A CN108833781 A CN 108833781A
- Authority
- CN
- China
- Prior art keywords
- acquisition parameters
- preview
- frame image
- acquisition
- multiple groups
- 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/64—Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
-
- 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/63—Control of cameras or camera modules by using electronic viewfinders
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Studio Devices (AREA)
Abstract
The application belongs to field of photographing technology more particularly to a kind of image preview method, apparatus, terminal and computer readable storage medium, wherein the method includes:Obtain multiple groups acquisition parameters;It is spaced at preset timed intervals and successively updates the acquisition parameters stored in preview parameter list using one group of acquisition parameters in the multiple groups acquisition parameters;According to the acquisition parameters delta frame image acquisition request stored in the preview parameter list, and it is obtained according to the frame image acquisition request and shows frame image corresponding with the frame image acquisition request, the corresponding acquisition parameters of frame image are realized not need to manually change, but the regulated efficiency for once improving acquisition parameters is automatically updated every prefixed time interval.
Description
Technical field
The application belongs to field of photographing technology more particularly to a kind of image preview method, apparatus, terminal and computer-readable
Storage medium.
Background technique
When user uses the camera function of mobile terminal, first it is seen that preview image.The preview image is by described
Acquisition for mobile terminal camera presses the frame image of certain frame per second acquisition, and the frame image is shown to obtain.
When user needs to convert the acquisition parameters of preview image, it is typically only capable to that manually parameter is adjusted one by one by user
It is whole, there is a problem of that acquisition parameters regulated efficiency is low.
Summary of the invention
The embodiment of the present application provides a kind of image preview method, apparatus, terminal and computer readable storage medium, can solve
It certainly cannot achieve the quick-adjustsing technical problem of camera acquisition parameters.
The embodiment of the present application first aspect provides a kind of image preview method, including:
Obtain multiple groups acquisition parameters;
It is spaced at preset timed intervals and successively updates preview parameter column using one group of acquisition parameters in the multiple groups acquisition parameters
The acquisition parameters stored in table;
According to the acquisition parameters delta frame image acquisition request stored in the preview parameter list, and according to the frame figure
As acquisition request obtains and shows frame image corresponding with the frame image acquisition request.
The embodiment of the present application second aspect provides a kind of image preview device, including:
Acquiring unit, for obtaining multiple groups acquisition parameters;
Parameter updating unit is successively joined using one group of shooting in the multiple groups acquisition parameters for being spaced at preset timed intervals
Number updates the acquisition parameters stored in preview parameter list;
Preview unit, for according to the acquisition parameters delta frame image acquisition request stored in the preview parameter list,
And it is obtained according to the frame image acquisition request and shows frame image corresponding with the frame image acquisition request.
The embodiment of the present application third aspect provides a kind of terminal, including memory, processor and storage are in memory
And the computer program that can be run on a processor, when processor executes computer program the step of the realization above method.
The embodiment of the present application fourth aspect provides a kind of computer readable storage medium, computer-readable recording medium storage
The step of having computer program, the above method is realized when computer program is executed by processor.
In the embodiment of the present application, by obtaining multiple groups acquisition parameters, and it is spaced successively utilizes the multiple groups at preset timed intervals
One group of acquisition parameters in acquisition parameters update the acquisition parameters stored in preview parameter list, realize and deposit in preview parameter list
The acquisition parameters of storage can automatically update once every prefixed time interval, so that according to storing in the preview parameter list
The frame image acquisition request that acquisition parameters generate can also automatically update once every prefixed time interval, realize according to
Frame image acquisition request obtains and the corresponding acquisition parameters of frame image (preview image) shown do not need to manually change, but every
The regulated efficiency for once improving acquisition parameters is automatically updated every prefixed time interval, and has reached the image preview effect of gradual change
Fruit, meanwhile, every group of acquisition parameters may include multiple acquisition parameters, change while realizing multiple acquisition parameters, further
Ground improves the regulated efficiency of acquisition parameters.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only some embodiments of the application, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 is a kind of first implementation flow schematic diagram of image preview method provided by the embodiments of the present application;
Fig. 2 is a kind of the second implementation process schematic diagram of image preview method provided by the embodiments of the present application;
Fig. 3 is the schematic diagram of frame image morphing effect provided by the embodiments of the present application;
Fig. 4 is a kind of specific implementation flow schematic diagram of image preview method and step 102 provided by the embodiments of the present application;
Fig. 5 is the structural schematic diagram of image preview device provided by the embodiments of the present application;
Fig. 6 is the structural schematic diagram of terminal provided by the embodiments of the present application.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, and
It is not used in restriction the application.Meanwhile in the description of the present application, term " first ", " second " etc. are only used for distinguishing description, without
It can be interpreted as indication or suggestion relative importance.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " instruction is described special
Sign, entirety, step, operation, the presence of element and/or component, but be not precluded one or more of the other feature, entirety, step,
Operation, the presence or addition of element, component and/or its set.
It is also understood that mesh of the term used in this present specification merely for the sake of description specific embodiment
And be not intended to limit the application.As present specification and it is used in the attached claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in present specification and the appended claims is
Refer to any combination and all possible combinations of one or more of associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determination " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true
It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In addition, term " first ", " second " etc. are only used for distinguishing description, and should not be understood as in the description of the present application
Indication or suggestion relative importance.
In order to illustrate the above-mentioned technical solution of the application, the following is a description of specific embodiments.
Before Android 5.0, the manually controlling of camera acquisition parameters needs to change system and is just able to achieve, and camera
Application programming interfaces API Camera1.0 is also and unfriendly, and the flight data recorder of a similar senior control function claps camera
The acquisition parameters for each frame image taken the photograph are not relevant for.Since Android 5.0, newly answering for Android device camera can be fully controlled
Be introduced into routine interface API Camera2.0, realize to camera shooting each frame image acquisition parameters into
Row control, so that camera has stronger flexibility.
However, when carrying out image preview, the control operation to camera acquisition parameters is usually by user in shooting process
It is manually implemented, for example, sensitivity setting, focal length setting, the selection of photometry region, the adjustment of aperture size, shutter speed and full
It is required to user with degree etc. and is arranged one by one manually, and need artificial repetition test, can just obtain qualified preview
Image has that acquisition parameters regulated efficiency is low.
In the embodiment of the present application, by obtaining multiple groups acquisition parameters, and it is spaced successively utilizes above-mentioned multiple groups at preset timed intervals
One group of acquisition parameters in acquisition parameters update the acquisition parameters stored in preview parameter list, realize and deposit in preview parameter list
The acquisition parameters of storage can automatically update once every prefixed time interval, so that according to storing in above-mentioned preview parameter list
The frame image acquisition request that acquisition parameters generate can also automatically update once every prefixed time interval, realize according to above-mentioned
Frame image acquisition request obtains and the corresponding acquisition parameters of frame image (preview image) shown do not need to manually change, but every
The regulated efficiency for once improving acquisition parameters is automatically updated every prefixed time interval, and has reached the image preview effect of gradual change
Fruit, meanwhile, every group of acquisition parameters may include multiple acquisition parameters, change while realizing multiple acquisition parameters, further
Ground improves the regulated efficiency of acquisition parameters.
A kind of implementation process schematic diagram of image preview method provided by the embodiments of the present application as shown in figure 1, this method
Applied to terminal, it can be executed by the image preview device configured in terminal, be applicable to improve camera acquisition parameters
The situation of regulated efficiency, including step 101 is to step 104.
Wherein, above-mentioned terminal includes that smart phone, tablet computer, learning machine etc. are set configured with the terminal of shooting preview function
It is standby.The application such as application of taking pictures, browser, wechat can be installed on above-mentioned terminal device.
In step 101, multiple groups acquisition parameters are obtained.
In the embodiment of the present application, using the parameter arrived when acquisition parameters refer to camera shooting, every group of acquisition parameters can be with
Including parameter values such as sensitivity, focal length, photometry region, aperture size, shutter speed and saturation degrees, for camera according to the ginseng
Numerical value acquires external optical signals.It should be noted that be merely illustrative herein, it is not expressed as to the application protection scope
Limitation, in some embodiments of the application, every group of acquisition parameters may include more or fewer parameters.
Above-mentioned acquisition multiple groups acquisition parameters include obtaining the above-mentioned pre-stored multiple groups acquisition parameters of terminal;Wherein, above-mentioned
The pre-stored multiple groups acquisition parameters of terminal can be the acquisition parameters collected in user's history shooting process.
For example, user it is past some when take one and be filled after the photo of meaning, to the acquisition parameters of the photo into
Row saves, and one group of acquisition parameters can be obtained.
Optionally, in some embodiments of the application, above-mentioned acquisition multiple groups acquisition parameters further include:Obtain user's choosing
In multiple pictures, and obtain the corresponding acquisition parameters of every photo;Multiple groups acquisition parameters are generated according to above-mentioned acquisition parameters.
Wherein, above-mentioned multiple pictures can be photo that is obtaining in network and selecting through user.For example, multiple above-mentioned photographs
Piece can according to the geographical location of user's current environment obtained from network and through user select photo, Huo Zhewei
The photo obtained by third-party applications such as wechat, QQ, to realize that the acquisition parameters for the photo chosen according to user obtain
State multiple groups acquisition parameters.
In step 102, it is spaced is successively updated using one group of acquisition parameters in above-mentioned multiple groups acquisition parameters at preset timed intervals
The acquisition parameters stored in preview parameter list.
It is all to be acquired according to frame image acquisition request, that is, each frame frame figure due to the frame image of camera acquisition
As a corresponding frame image acquisition request, and the frame image acquisition request is stored according in above-mentioned preview parameter list again
What acquisition parameters generated, therefore, in the embodiment of the present application, after obtaining multiple groups acquisition parameters, need to clap above-mentioned multiple groups
The every group of acquisition parameters taken the photograph in parameter are spaced the acquisition parameters for sequentially updating and covering in preview parameter list at preset timed intervals, with
When just according to the frame image acquisition request of the acquisition parameters generation stored in above-mentioned preview parameter list, the frame image acquisition request
For frame image acquisition request corresponding with above-mentioned multiple groups acquisition parameters.
It is real also, by automatically updating the acquisition parameters stored in a preview parameter list every prefixed time interval
Having showed also can be every preset time according to the frame image acquisition request that the acquisition parameters stored in the preview parameter list generate
Interval automatically updates once, and finally realizes according to the corresponding shooting ginseng of frame image that the frame image acquisition request obtains and shows
Number similarly automatically updates every prefixed time interval and once improves the regulated efficiencies of acquisition parameters, and has reached gradual change
Image preview effect.
It should be noted that during image preview, in order to which user can accurately view each group of acquisition parameters pair
The frame image answered, further, it is possible to there is the more sufficient time to observe the corresponding frame image of each group of acquisition parameters, above-mentioned preset time
Interval needs to be appropriately extended on the basis of being greater than the human eye vision residence time, meanwhile, in order to which two adjacent groups acquisition parameters are corresponding
Frame image between fade effect be in comparatively ideal state, above-mentioned prefixed time interval can not be arranged too long.Therefore,
In practical applications, the setting of above-mentioned prefixed time interval needs to guarantee that user can accurately view each group of acquisition parameters
Guarantee that the fade effect between the corresponding frame image of two adjacent groups acquisition parameters is in comparatively ideal while corresponding frame image
State.For example, setting above-mentioned prefixed time interval to 3 seconds~5 seconds, or user is received to the ginseng of above-mentioned prefixed time interval
Number setting.
In step 103, according to the acquisition parameters delta frame image acquisition request stored in above-mentioned preview parameter list, and root
It is obtained according to the frame image acquisition request and shows frame image corresponding with the frame image acquisition request.
In the embodiment of the present application, multiple groups acquisition parameters are being obtained, and are being spaced at preset timed intervals successively using above-mentioned more
While one group of acquisition parameters in group acquisition parameters update the acquisition parameters stored in preview parameter list, above-mentioned terminal needs
According to the acquisition parameters delta frame image acquisition request stored in above-mentioned preview parameter list, and according to the frame image acquisition request
It obtains and shows frame image corresponding with above-mentioned frame image acquisition request, to realize image preview.
For example, above-mentioned terminal is according to the acquisition parameters delta frame image acquisition request stored in above-mentioned preview parameter list,
And control camera and external optical signals are acquired according to the frame image acquisition request, frame image is obtained, and the frame image is shown
Show, realizes image preview.
In the embodiment of the present application, by obtaining multiple groups acquisition parameters, and it is spaced successively utilizes above-mentioned multiple groups at preset timed intervals
One group of acquisition parameters in acquisition parameters update the acquisition parameters stored in preview parameter list, realize and deposit in preview parameter list
The acquisition parameters of storage can automatically update once every prefixed time interval, so that according to storing in above-mentioned preview parameter list
The frame image acquisition request that acquisition parameters generate can also automatically update once every prefixed time interval, realize according to above-mentioned
Frame image acquisition request obtains and the corresponding acquisition parameters of frame image (preview image) shown do not need to manually change, but every
The regulated efficiency for once improving acquisition parameters is automatically updated every prefixed time interval, and has reached the image preview effect of gradual change
Fruit, meanwhile, every group of acquisition parameters may include multiple acquisition parameters, change while realizing multiple acquisition parameters, further
Ground improves the regulated efficiency of acquisition parameters.
In some embodiments of the application, it is above-mentioned obtained according to above-mentioned frame image acquisition request and show with it is above-mentioned
After the corresponding frame image of frame image acquisition request, including:The photo triggered according to the user received at image preview interface
Shooting instruction carries out photograph taking;Alternatively, instructed according to the user received in the video capture that image preview interface is triggered,
Carry out video capture.
That is, user still can normally carry out photograph taking during carrying out the image preview of fade effect
Or carry out video capture.
For example, during carrying out the image preview of fade effect, it, then can be with when user sees the frame image preferred
In image preview interface triggering photograph taking instruction, photograph taking is carried out, to capture the optimal photo of shooting effect in time;
Or by triggering video capture instruction, video capture is carried out, to shoot the video with fade effect.
It should be noted that the triggering mode of above-mentioned photograph taking instruction and video capture instruction can use existing touching
Originating party formula is triggered, for example, selecting control or video capture selection control by the photograph taking clicked in image preview interface
Part triggering, or by pressing volume key triggering, details are not described herein again.
Optionally, in some embodiments of the application, as shown in Fig. 2, being asked above-mentioned according to the acquisition of above-mentioned frame image
After asking acquisition and showing frame image corresponding with above-mentioned frame image acquisition request, can also include:Step 104.
In step 104, instruction is chosen in the frame image that image preview interface is triggered according to the user received, stops updating
The acquisition parameters stored in above-mentioned preview parameter list, and it is raw according to acquisition parameters currently stored in above-mentioned preview parameter list
Framing image acquisition request obtains according to the frame image acquisition request and shows frame figure corresponding with the frame image acquisition request
Picture.
For example, during carrying out the image preview of fade effect, it, then can be with when user sees the frame image preferred
At image preview interface, trigger frame image chooses instruction, so that above-mentioned terminal stops updating the shooting stored in preview parameter list
Parameter, while it is subsequent to enable above-mentioned terminal that the acquisition parameters for instructing corresponding frame image is chosen to generate according to above-mentioned frame image
Frame image.
In another example as shown in figure 3, frame image is transformed to by frame image a during carrying out the image preview of fade effect
Frame image b, user chooses finger by clicking the corresponding frame image of preview image trigger frame image b in image preview interface at this time
It enables, terminal stops the image preview of fade effect, and controls camera acquisition ambient light letter according to the acquisition parameters of frame image b
Number, obtain acquisition parameters frame image identical with the acquisition parameters of frame image b.
In some embodiments of the application, above-mentioned terminal is triggered according to the user received at image preview interface
Frame image chooses instruction, stop after updating the acquisition parameters stored in above-mentioned preview parameter list, can be according to receiving
The photograph taking instruction that user triggers at image preview interface, carries out photograph taking;Alternatively, according to the user received in image
The video capture instruction of preview interface triggering, carries out video capture;Or monitor whether gradual change preview function is opened again,
If listening to above-mentioned gradual change preview function to open, above-mentioned preview parameter list is initialized, and is spaced at preset timed intervals successively sharp
The acquisition parameters stored in preview parameter list are updated with one group of acquisition parameters in above-mentioned multiple groups acquisition parameters.
For example, user is chosen by clicking the corresponding frame image of preview image trigger frame image b in image preview interface
It instructs, after the image preview for stopping fade effect, normal photograph taking or video capture can be carried out;Alternatively, opening again
The gradual change preview function for opening application of taking pictures, carries out the image preview of fade effect.
In the embodiment that above-mentioned Fig. 1 to Fig. 3 is described, the image preview of fade effect, which can be, is listening to gradual change preview
When function is opened, the image preview of a fade effect is executed, that is, every group of acquisition parameters in above-mentioned multiple groups acquisition parameters are pre-
Look in parameter list only have updated it is primary.
For example, being spaced successively utilize one group of acquisition parameters in multiple groups acquisition parameters at preset timed intervals in above-mentioned steps 102
Before updating the acquisition parameters stored in preview parameter list, including:Monitor whether gradual change preview function is opened;On correspondingly,
It states to be spaced successively to update in preview parameter list using one group of acquisition parameters in above-mentioned multiple groups acquisition parameters at preset timed intervals and deposit
The acquisition parameters of storage, including:If listening to above-mentioned gradual change preview function to open, above-mentioned preview parameter list is initialized, and press
Prefixed time interval, which is successively updated in preview parameter list using one group of acquisition parameters in above-mentioned multiple groups acquisition parameters, to be stored
Acquisition parameters.
That is, being emptied currently stored in preview parameter list when listening to the unlatching of above-mentioned gradual change preview function
Acquisition parameters, and be spaced successively update preview parameter using one group of acquisition parameters in above-mentioned multiple groups acquisition parameters at preset timed intervals
The acquisition parameters stored in list.For example, re-executing the image preview of a fade effect.
Optionally, whether above-mentioned monitoring gradual change preview function is opened, and further includes:If listening to above-mentioned gradual change preview function not
It opens, then presses preset acquisition parameters delta frame image acquisition request, and obtain simultaneously according to above-mentioned frame image acquisition request
Show frame image corresponding with above-mentioned frame image acquisition request.Wherein, preset acquisition parameters refer to above-mentioned application of taking pictures
The acquisition parameters of default.
In some embodiments of the application, as shown in figure 4, the execution of above-mentioned steps 102 can also include step 401
To step 403.
In step 401, it is spaced is successively updated using one group of acquisition parameters in above-mentioned multiple groups acquisition parameters at preset timed intervals
The acquisition parameters stored in preview parameter list;
In step 402, judge whether to be above-mentioned using last group of acquisition parameters update in above-mentioned multiple groups acquisition parameters
The acquisition parameters stored in preview parameter list;
It is above-mentioned pre- using last group of acquisition parameters update in above-mentioned multiple groups acquisition parameters being judged as in step 403
It lookes in parameter list after the acquisition parameters stored, is spaced at preset timed intervals again successively using in above-mentioned multiple groups acquisition parameters
One group of acquisition parameters updates the acquisition parameters stored in above-mentioned preview parameter list.
That is, the image preview of above-mentioned fade effect can be when listening to the unlatching of gradual change preview function, circulation
Execute the image preview of fade effect, that is, every group of acquisition parameters in above-mentioned multiple groups acquisition parameters can be in each cycle period
It is updated in preview parameter list, to achieve the effect that recycle gradual change preview, without the figure in a fade effect
After the completion of picture preview, it is then turned on a gradual change preview function, just can be carried out the image preview of fade effect next time, but directly
The image preview of fade effect next time is carried out, thus during further improving image preview, frame image taking ginseng
Several regulated efficiencies.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of
Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence, this
Apply in embodiment, some steps may be performed in other sequences or simultaneously.For example, above-mentioned steps 103 are to open phase
The step of being continuously carried out after machine application, that is to say, that step 103 and step 101 and step 102 carry out simultaneously.
Fig. 5 shows a kind of structural schematic diagram of image preview device 500 provided by the embodiments of the present application, including obtains single
Member 501, parameter updating unit 502 and preview unit 503.
Acquiring unit 501, for obtaining multiple groups acquisition parameters;
Parameter updating unit 502 successively utilizes one group of bat in above-mentioned multiple groups acquisition parameters for being spaced at preset timed intervals
It takes the photograph parameter and updates the acquisition parameters stored in preview parameter list;
Preview unit 503, for being asked according to the acquisition parameters delta frame image acquisition stored in above-mentioned preview parameter list
It asks, and is obtained according to the frame image acquisition request and show frame image corresponding with the frame image acquisition request.
In some embodiments of the application, above-mentioned image preview device 500 further includes stopping updating unit for root
Instruction is chosen in the frame image that image preview interface is triggered according to the user received, stops updating and be deposited in above-mentioned preview parameter list
The acquisition parameters of storage, and according to acquisition parameters delta frame image acquisition request currently stored in above-mentioned preview parameter list, root
It is obtained according to above-mentioned frame image acquisition request and shows frame image corresponding with above-mentioned frame image acquisition request.
In some embodiments of the application, above-mentioned parameter updating unit 502 is also particularly useful in the above-mentioned multiple groups of utilization
After last group of acquisition parameters in acquisition parameters update the acquisition parameters stored in above-mentioned preview parameter list, again by pre-
It is stored if time interval is successively updated in above-mentioned preview parameter list using one group of acquisition parameters in above-mentioned multiple groups acquisition parameters
Acquisition parameters.
In some embodiments of the application, above-mentioned image preview device 500 further includes shooting unit, for above-mentioned
After obtaining according to above-mentioned frame image acquisition request and show frame image corresponding with above-mentioned frame image acquisition request, according to reception
The photograph taking instruction that the user arrived triggers at image preview interface, carries out photograph taking;Alternatively, being existed according to the user received
The video capture instruction of image preview interface triggering, carries out video capture.
In some embodiments of the application, above-mentioned image preview device 500 further includes monitoring unit, for by default
Time interval successively updates the shooting stored in preview parameter list using one group of acquisition parameters in above-mentioned multiple groups acquisition parameters
Before parameter, monitor whether gradual change preview function is opened;Correspondingly, above-mentioned be spaced at preset timed intervals is successively clapped using above-mentioned multiple groups
It takes the photograph one in parameter group of acquisition parameters and updates the acquisition parameters stored in preview parameter list, including:If listening to above-mentioned gradual change
Preview function is opened, then initializes above-mentioned preview parameter list, and is spaced successively utilizes above-mentioned multiple groups shooting ginseng at preset timed intervals
One group of acquisition parameters in number update the acquisition parameters stored in preview parameter list.
In some embodiments of the application, above-mentioned monitoring unit, if being also used to listen to above-mentioned gradual change preview function
It does not open, then presses preset acquisition parameters delta frame image acquisition request, and obtain according to above-mentioned frame image acquisition request
And show frame image corresponding with above-mentioned frame image acquisition request.
In some embodiments of the application, above-mentioned acquiring unit is also particularly useful for multiple photographs that acquisition user chooses
Piece, and obtain the corresponding acquisition parameters of every photo;Multiple groups acquisition parameters are generated according to above-mentioned acquisition parameters.
It should be noted that for convenience and simplicity of description, the specific works mistake of the image preview device 500 of foregoing description
Journey, can be with reference to the corresponding process of method described in above-mentioned Fig. 1 to Fig. 4, and details are not described herein.
As shown in fig. 6, the application provides a kind of terminal for realizing above-mentioned image preview method, which can be shifting
Dynamic terminal, the mobile terminal can be the terminals such as smart phone, tablet computer, PC (PC), learning machine, including:One
Or multiple input equipments 63 (one is only shown in Fig. 6) and one or more output equipment 64 (one is only shown in Fig. 6).Processing
Device 61, memory 62, input equipment 63, output equipment 64 and camera 65 are connected by bus 66.The camera is used for basis
Above-mentioned frame image acquisition request acquires external optical signals, delta frame image.
It should be appreciated that in the embodiment of the present application, alleged processor 61 can be central processing unit (Central
Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit,
ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic
Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at
Reason device is also possible to any conventional processor etc..
Input equipment 63 may include that dummy keyboard, Trackpad, fingerprint adopt sensor (for acquiring the finger print information of user
With the directional information of fingerprint), microphone etc., output equipment 64 may include display, loudspeaker etc..
Memory 62 may include read-only memory and random access memory, and provide instruction sum number to processor 61
According to.Part or all of memory 62 can also include nonvolatile RAM.For example, memory 62 can be with
The information of storage device type.
Above-mentioned memory 62 is stored with computer program, and above-mentioned computer program can be run on above-mentioned processor 61, example
Such as, above-mentioned computer program is the program of image preview method.Above-mentioned processor 61 is realized when executing above-mentioned computer program
State the step in image preview embodiment of the method, such as step 101 shown in FIG. 1 is to step 103.Alternatively, above-mentioned processor 61
The function of each module/unit in above-mentioned each Installation practice, such as unit shown in Fig. 5 are realized when executing above-mentioned computer program
501 to 503 function.
Above-mentioned computer program can be divided into one or more module/units, and said one or multiple modules/mono-
Member is stored in above-mentioned memory 62, and is executed by above-mentioned processor 61, to complete the application.Said one or multiple moulds
Block/unit can be the series of computation machine program instruction section that can complete specific function, the instruction segment by describe it is above-mentioned based on
Implementation procedure of the calculation machine program in the terminal of above-mentioned carry out image preview.For example, above-mentioned computer program can be divided into
Acquiring unit, parameter updating unit and preview unit, each unit concrete function are as follows:Acquiring unit, for obtaining multiple groups shooting
Parameter;Parameter updating unit successively utilizes one group of acquisition parameters in above-mentioned multiple groups acquisition parameters for being spaced at preset timed intervals
Update the acquisition parameters stored in preview parameter list;Preview unit, for according to the bat stored in above-mentioned preview parameter list
Parameter delta frame image acquisition request is taken the photograph, and is obtained and is shown according to above-mentioned frame image acquisition request and asked with the acquisition of above-mentioned frame image
Seek corresponding frame image.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function
Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of above-mentioned apparatus is divided into different functional unit or module, more than completing
The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also
To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated
Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list
Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system
The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
Scope of the present application.
In embodiment provided herein, it should be understood that disclosed device/terminal and method can pass through
Other modes are realized.For example, device/terminal embodiment described above is only schematical, for example, above-mentioned module or
The division of unit, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units
Or component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, institute
Display or the mutual coupling or direct-coupling or communication connection discussed can be through some interfaces, device or unit
INDIRECT COUPLING or communication connection can be electrical property, mechanical or other forms.
Above-mentioned unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If above-mentioned integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or
In use, can store in a computer readable storage medium.Based on this understanding, the application realizes above-mentioned implementation
All or part of the process in example method, can also instruct relevant hardware to complete, above-mentioned meter by computer program
Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on
The step of stating each embodiment of the method.Wherein, above-mentioned computer program includes computer program code, above-mentioned computer program generation
Code can be source code form, object identification code form, executable file or certain intermediate forms etc..Above-mentioned computer-readable medium
May include:Any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic of above-mentioned computer program code can be carried
Dish, CD, computer storage, read-only memory (Read-Only Memory, ROM), random access memory (Random
Access Memory, RAM), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that above-mentioned meter
The content that calculation machine readable medium includes can carry out increase and decrease appropriate according to the requirement made laws in jurisdiction with patent practice,
It such as does not include electric carrier signal and telecommunications according to legislation and patent practice, computer-readable medium in certain jurisdictions
Signal.
Above above-described embodiment is only to illustrate the technical solution of the application, rather than its limitations;Although referring to aforementioned reality
Example is applied the application is described in detail, those skilled in the art should understand that:It still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution should all
Comprising within the scope of protection of this application.
Claims (10)
1. a kind of image preview method, which is characterized in that including:
Obtain multiple groups acquisition parameters;
It is spaced and is successively updated in preview parameter list using one group of acquisition parameters in the multiple groups acquisition parameters at preset timed intervals
The acquisition parameters of storage;
According to the acquisition parameters delta frame image acquisition request stored in the preview parameter list, and obtained according to the frame image
It takes request and shows frame image corresponding with the frame image acquisition request.
2. image preview method as described in claim 1, which is characterized in that obtained described according to the frame image acquisition request
After taking and showing frame image corresponding with the frame image acquisition request, including:
Instruction is chosen in the frame image that image preview interface is triggered according to the user received, stops updating the preview parameter column
The acquisition parameters stored in table, and asked according to acquisition parameters delta frame image acquisition currently stored in the preview parameter list
It asks, obtained according to the frame image acquisition request and shows frame image corresponding with the frame image acquisition request.
3. image preview method as claimed in claim 1 or 2, which is characterized in that described be spaced at preset timed intervals successively utilizes
One group of acquisition parameters in the multiple groups acquisition parameters update the acquisition parameters stored in preview parameter list, including:
The bat stored in the preview parameter list is being updated using last group of acquisition parameters in the multiple groups acquisition parameters
It takes the photograph after parameter, is spaced at preset timed intervals again successively using described in one group of acquisition parameters update in the multiple groups acquisition parameters
The acquisition parameters stored in preview parameter list.
4. image preview method as described in claim 1, which is characterized in that obtained described according to the frame image acquisition request
After taking and showing frame image corresponding with the frame image acquisition request, including:
According to the photograph taking instruction that the user received triggers at image preview interface, photograph taking is carried out;Alternatively,
According to the video capture instruction that the user received triggers at image preview interface, video capture is carried out.
5. image preview method as described in claim 1, which is characterized in that described to be spaced at preset timed intervals successively using described
Before one group of acquisition parameters in multiple groups acquisition parameters update the acquisition parameters stored in preview parameter list, including:
Monitor whether gradual change preview function is opened;
Correspondingly, described be spaced at preset timed intervals successively updates preview using one group of acquisition parameters in the multiple groups acquisition parameters
The acquisition parameters stored in parameter list, including:
If listening to the gradual change preview function to open, initialize the preview parameter list, and be spaced at preset timed intervals according to
Secondary one group of acquisition parameters using in the multiple groups acquisition parameters update the acquisition parameters stored in preview parameter list.
6. image preview method as claimed in claim 5, which is characterized in that whether the monitoring gradual change preview function is opened,
Including:
If listening to the gradual change preview function not open, by preset acquisition parameters delta frame image acquisition request,
And it is obtained according to the frame image acquisition request and shows frame image corresponding with the frame image acquisition request.
7. image preview method as described in claim 1, which is characterized in that the acquisition multiple groups acquisition parameters, including:
The multiple pictures that user chooses are obtained, and obtain the corresponding acquisition parameters of every photo;
Multiple groups acquisition parameters are generated according to the acquisition parameters.
8. a kind of image preview device, which is characterized in that including:
Acquiring unit, for obtaining multiple groups acquisition parameters;
Parameter updating unit, for be spaced at preset timed intervals successively using one group of acquisition parameters in the multiple groups acquisition parameters more
The acquisition parameters stored in new preview parameter list;
Preview unit, for according to the acquisition parameters delta frame image acquisition request stored in the preview parameter list, and root
It is obtained according to the frame image acquisition request and shows frame image corresponding with the frame image acquisition request.
9. a kind of terminal, including memory, processor and storage can be run in the memory and on the processor
Computer program, which is characterized in that the processor is realized when executing the computer program as claim 1 to 7 is any
The step of one the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In realization is such as the step of claim 1 to 7 any one the method when the computer program is executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810628173.6A CN108833781B (en) | 2018-06-15 | 2018-06-15 | Image preview method, device, terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810628173.6A CN108833781B (en) | 2018-06-15 | 2018-06-15 | Image preview method, device, terminal and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108833781A true CN108833781A (en) | 2018-11-16 |
CN108833781B CN108833781B (en) | 2021-03-26 |
Family
ID=64141401
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810628173.6A Active CN108833781B (en) | 2018-06-15 | 2018-06-15 | Image preview method, device, terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108833781B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109547678A (en) * | 2018-12-11 | 2019-03-29 | 联想(北京)有限公司 | A kind of processing method, device, equipment and readable storage medium storing program for executing |
CN109743498A (en) * | 2018-12-24 | 2019-05-10 | 维沃移动通信有限公司 | A kind of shooting parameter adjustment method and terminal device |
CN111277858A (en) * | 2018-12-05 | 2020-06-12 | 西安诺瓦星云科技股份有限公司 | Video processing method and device, video processor and storage medium |
CN113568688A (en) * | 2020-04-29 | 2021-10-29 | RealMe重庆移动通信有限公司 | View switching method and device, electronic equipment and storage medium |
CN115379039A (en) * | 2021-05-20 | 2022-11-22 | 华为技术有限公司 | Video shooting method and device and electronic equipment |
WO2023006009A1 (en) * | 2021-07-30 | 2023-02-02 | 维沃移动通信有限公司 | Photographing parameter determination method and apparatus, and electronic device |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008048215A (en) * | 2006-08-17 | 2008-02-28 | Olympus Imaging Corp | Camera |
CN101841651A (en) * | 2009-03-17 | 2010-09-22 | 奥林巴斯映像株式会社 | Image processing apparatus, camera head and image processing method |
CN103533216A (en) * | 2012-07-06 | 2014-01-22 | 奥林巴斯映像株式会社 | Shooting device and image processing method |
US20140375862A1 (en) * | 2013-06-20 | 2014-12-25 | Samsung Electronics Co., Ltd. | Method for photographing control and electronic device thereof |
CN104735338A (en) * | 2013-12-23 | 2015-06-24 | 厦门美图移动科技有限公司 | Shooting terminal and method for switching filters through volume keys |
CN104854859A (en) * | 2012-12-21 | 2015-08-19 | 谷歌公司 | Recommending transformations for photography |
CN105323456A (en) * | 2014-12-16 | 2016-02-10 | 维沃移动通信有限公司 | Image previewing method for photographing device and image photographing device |
CN105357451A (en) * | 2015-12-04 | 2016-02-24 | Tcl集团股份有限公司 | Image processing method and apparatus based on filter special efficacies |
US20170085800A1 (en) * | 2015-09-23 | 2017-03-23 | Hisense Mobile Communications Technology Co., Ltd. | Terminal, and apparatus and method for previewing an image |
WO2018017625A1 (en) * | 2016-07-18 | 2018-01-25 | mPerpetuo, Inc. | User interface for smart digital camera |
CN107995429A (en) * | 2017-12-22 | 2018-05-04 | 维沃移动通信有限公司 | A kind of image pickup method and mobile terminal |
-
2018
- 2018-06-15 CN CN201810628173.6A patent/CN108833781B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008048215A (en) * | 2006-08-17 | 2008-02-28 | Olympus Imaging Corp | Camera |
CN101841651A (en) * | 2009-03-17 | 2010-09-22 | 奥林巴斯映像株式会社 | Image processing apparatus, camera head and image processing method |
CN103533216A (en) * | 2012-07-06 | 2014-01-22 | 奥林巴斯映像株式会社 | Shooting device and image processing method |
CN104854859A (en) * | 2012-12-21 | 2015-08-19 | 谷歌公司 | Recommending transformations for photography |
US20140375862A1 (en) * | 2013-06-20 | 2014-12-25 | Samsung Electronics Co., Ltd. | Method for photographing control and electronic device thereof |
CN104735338A (en) * | 2013-12-23 | 2015-06-24 | 厦门美图移动科技有限公司 | Shooting terminal and method for switching filters through volume keys |
CN105323456A (en) * | 2014-12-16 | 2016-02-10 | 维沃移动通信有限公司 | Image previewing method for photographing device and image photographing device |
US20170085800A1 (en) * | 2015-09-23 | 2017-03-23 | Hisense Mobile Communications Technology Co., Ltd. | Terminal, and apparatus and method for previewing an image |
CN105357451A (en) * | 2015-12-04 | 2016-02-24 | Tcl集团股份有限公司 | Image processing method and apparatus based on filter special efficacies |
WO2018017625A1 (en) * | 2016-07-18 | 2018-01-25 | mPerpetuo, Inc. | User interface for smart digital camera |
CN107995429A (en) * | 2017-12-22 | 2018-05-04 | 维沃移动通信有限公司 | A kind of image pickup method and mobile terminal |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111277858A (en) * | 2018-12-05 | 2020-06-12 | 西安诺瓦星云科技股份有限公司 | Video processing method and device, video processor and storage medium |
CN111277858B (en) * | 2018-12-05 | 2022-06-17 | 西安诺瓦星云科技股份有限公司 | Video processing method and device, video processor and storage medium |
CN109547678A (en) * | 2018-12-11 | 2019-03-29 | 联想(北京)有限公司 | A kind of processing method, device, equipment and readable storage medium storing program for executing |
CN109743498A (en) * | 2018-12-24 | 2019-05-10 | 维沃移动通信有限公司 | A kind of shooting parameter adjustment method and terminal device |
CN109743498B (en) * | 2018-12-24 | 2021-01-08 | 维沃移动通信有限公司 | Shooting parameter adjusting method and terminal equipment |
CN113568688A (en) * | 2020-04-29 | 2021-10-29 | RealMe重庆移动通信有限公司 | View switching method and device, electronic equipment and storage medium |
CN113568688B (en) * | 2020-04-29 | 2023-06-06 | RealMe重庆移动通信有限公司 | View switching method and device, electronic equipment and storage medium |
CN115379039A (en) * | 2021-05-20 | 2022-11-22 | 华为技术有限公司 | Video shooting method and device and electronic equipment |
WO2023006009A1 (en) * | 2021-07-30 | 2023-02-02 | 维沃移动通信有限公司 | Photographing parameter determination method and apparatus, and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN108833781B (en) | 2021-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108833781A (en) | Image preview method, apparatus, terminal and computer readable storage medium | |
CN104869320B (en) | Electronic equipment and controlling electronic devices operating method | |
CN106331510B (en) | A kind of backlight photographic method and mobile terminal | |
CN108322670B (en) | A kind of control method of multi-camera system, mobile terminal and storage medium | |
CN108777767A (en) | Photographic method, device, terminal and computer readable storage medium | |
CN109496425A (en) | Photographic method, camera arrangement and mobile terminal | |
CN108696680A (en) | Electronic equipment and method for focal point control | |
CN111050076B (en) | Shooting processing method and electronic equipment | |
US10367978B2 (en) | Camera switching method and electronic device supporting the same | |
EP3352449B1 (en) | Electronic device and photographing method | |
WO2019120016A1 (en) | Image processing method and apparatus, storage medium, and electronic device | |
JP6924901B2 (en) | Photography method and electronic equipment | |
KR20210065180A (en) | Image processing method and apparatus, electronic device and storage medium | |
CN109101931A (en) | A kind of scene recognition method, scene Recognition device and terminal device | |
CN109040603A (en) | High-dynamic-range image acquisition method, device and mobile terminal | |
CN108200351A (en) | Image pickup method, terminal and computer-readable medium | |
CN109166156A (en) | A kind of generation method, mobile terminal and the storage medium of camera calibration image | |
CN109120862A (en) | High-dynamic-range image acquisition method, device and mobile terminal | |
CN108924440A (en) | Paster display methods, device, terminal and computer readable storage medium | |
CN104834382B (en) | Application program for mobile terminal response system and method | |
CN110214375A (en) | Imaging sensor and electronic equipment including it | |
CN106031157A (en) | Electronic device and method for processing image | |
CN108924430A (en) | photo storage method, device, terminal and computer readable storage medium | |
CN110462617A (en) | For authenticating the electronic device and method of biological data by multiple cameras | |
CN109286758A (en) | A kind of generation method of high dynamic range images, mobile terminal 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 |