CN108833781B - Image preview method, device, terminal and computer readable storage medium - Google Patents

Image preview method, device, terminal and computer readable storage medium Download PDF

Info

Publication number
CN108833781B
CN108833781B CN201810628173.6A CN201810628173A CN108833781B CN 108833781 B CN108833781 B CN 108833781B CN 201810628173 A CN201810628173 A CN 201810628173A CN 108833781 B CN108833781 B CN 108833781B
Authority
CN
China
Prior art keywords
shooting parameters
preview
frame image
shooting
acquisition request
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.)
Active
Application number
CN201810628173.6A
Other languages
Chinese (zh)
Other versions
CN108833781A (en
Inventor
嵇晓声
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810628173.6A priority Critical patent/CN108833781B/en
Publication of CN108833781A publication Critical patent/CN108833781A/en
Application granted granted Critical
Publication of CN108833781B publication Critical patent/CN108833781B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/64Computer-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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control 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 the technical field of photographing, and particularly relates to an image preview method, an image preview device, a terminal and a computer readable storage medium, wherein the method comprises the following steps: acquiring a plurality of groups of shooting parameters; sequentially utilizing one group of shooting parameters in the multiple groups of shooting parameters to update the shooting parameters stored in the preview parameter list according to a preset time interval; and generating a frame image acquisition request according to the shooting parameters stored in the preview parameter list, and acquiring and displaying the frame image corresponding to the frame image acquisition request according to the frame image acquisition request, so that the shooting parameters corresponding to the frame image do not need to be manually changed, but are automatically updated at preset time intervals, and the adjustment efficiency of the shooting parameters is improved.

Description

Image preview method, device, terminal and computer readable storage medium
Technical Field
The present application belongs to the field of photographing technologies, and in particular, to an image preview method, an image preview device, a terminal, and a computer-readable storage medium.
Background
When the user uses the photographing function of the mobile terminal, the user first sees a preview image. And the preview image is obtained by acquiring a frame image acquired by a camera according to a certain frame rate by the mobile terminal and displaying the frame image.
When a user needs to change shooting parameters of a preview image, the user can only manually adjust the parameters one by one, and the shooting parameter adjustment efficiency is low.
Disclosure of Invention
The embodiment of the application provides an image preview method, an image preview device, a terminal and a computer readable storage medium, which can solve the technical problem that the rapid adjustment of shooting parameters of a camera cannot be realized.
A first aspect of an embodiment of the present application provides an image preview method, including:
acquiring a plurality of groups of shooting parameters;
sequentially utilizing one group of shooting parameters in the multiple groups of shooting parameters to update the shooting parameters stored in the preview parameter list according to a preset time interval;
and generating a frame image acquisition request according to the shooting parameters stored in the preview parameter list, and acquiring and displaying a frame image corresponding to the frame image acquisition request according to the frame image acquisition request.
A second aspect of the embodiments of the present application provides an image preview apparatus, including:
the acquisition unit is used for acquiring a plurality of groups of shooting parameters;
the parameter updating unit is used for sequentially updating the shooting parameters stored in the preview parameter list by using one group of shooting parameters in the multiple groups of shooting parameters according to a preset time interval;
and the preview unit is used for generating a frame image acquisition request according to the shooting parameters stored in the preview parameter list, and acquiring and displaying a frame image corresponding to the frame image acquisition request according to the frame image acquisition request.
A third aspect of the embodiments of the present application provides a terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method when executing the computer program.
A fourth aspect of the embodiments of the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the above method.
In the embodiment of the application, by acquiring a plurality of groups of shooting parameters and sequentially utilizing one group of shooting parameters in the plurality of groups of shooting parameters to update the shooting parameters stored in the preview parameter list at preset time intervals, the shooting parameters stored in the preview parameter list can be automatically updated at preset time intervals, so that a frame image acquisition request generated according to the shooting parameters stored in the preview parameter list can be automatically updated at preset time intervals, the shooting parameters corresponding to a frame image (preview image) acquired and displayed according to the frame image acquisition request do not need to be manually changed, but are automatically updated at preset time intervals, the adjustment efficiency of the shooting parameters is improved, the gradually-changed image preview effect is achieved, meanwhile, each group of shooting parameters can contain a plurality of shooting parameters, and the simultaneous change of the plurality of shooting parameters is realized, the adjustment efficiency of the shooting parameters is further improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic flowchart of a first implementation of an image preview method provided in an embodiment of the present application;
fig. 2 is a schematic flowchart of a second implementation of an image preview method according to an embodiment of the present application;
FIG. 3 is a diagram illustrating a frame image gradient effect provided by an embodiment of the present application;
fig. 4 is a schematic flowchart illustrating a specific implementation of step 102 of an image preview method according to an embodiment of the present application;
FIG. 5 is a schematic structural diagram of an image preview device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
In addition, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not intended to indicate or imply relative importance.
In order to explain the technical solution of the present application, the following description will be given by way of specific examples.
Before android 5.0, manual control of camera shooting parameters can be realized only by changing a system, and an application program interface API (application program interface) Camera1.0 of a camera is not friendly, is similar to a black box with an advanced control function, and is not concerned about shooting parameters of each frame of image shot by the camera. Starting from android 5.0, a new application program interface API Camera2.0 capable of completely controlling the android device camera is introduced, so that the shooting parameters of each frame of image shot by the camera are controlled, and the camera has stronger flexibility.
However, in the shooting process, when performing image preview, the control operation on the shooting parameters of the camera is usually manually performed by the user, for example, sensitivity setting, focal length setting, light metering region selection, aperture size adjustment, shutter speed and saturation, and the like, all need to be manually set by the user one by one, and artificial trial and error is needed to obtain a preview image meeting the conditions, which has the problem of low shooting parameter adjustment efficiency.
In the embodiment of the application, by acquiring a plurality of groups of shooting parameters and sequentially utilizing one group of shooting parameters in the plurality of groups of shooting parameters to update the shooting parameters stored in the preview parameter list at preset time intervals, the shooting parameters stored in the preview parameter list can be automatically updated at preset time intervals, so that a frame image acquisition request generated according to the shooting parameters stored in the preview parameter list can also be automatically updated at preset time intervals, the shooting parameters corresponding to a frame image (preview image) acquired and displayed according to the frame image acquisition request do not need to be manually changed, but are automatically updated at preset time intervals, the adjustment efficiency of the shooting parameters is improved, the gradually-changed image preview effect is achieved, meanwhile, each group of shooting parameters can contain a plurality of shooting parameters, and the simultaneous change of the plurality of shooting parameters is realized, the adjustment efficiency of the shooting parameters is further improved.
Fig. 1 shows a schematic implementation flow diagram of an image preview method provided in an embodiment of the present application, where the method is applied to a terminal, and can be executed by an image preview device configured on the terminal, and is suitable for a situation where it is necessary to improve adjustment efficiency of shooting parameters of a camera, and includes steps 101 to 104.
The terminal comprises terminal equipment which is provided with a shooting preview function, such as a smart phone, a tablet personal computer and a learning machine. The terminal device can be provided with applications such as a photographing application, a browser and a WeChat.
In step 101, a plurality of sets of shooting parameters are obtained.
In the embodiment of the application, the shooting parameters refer to parameters used by the camera during shooting, and each group of shooting parameters may include parameter values such as sensitivity, focal length, light metering area, aperture size, shutter speed and saturation, and are used for the camera to collect external optical signals according to the parameter values. It should be noted that, this is only an example and is not meant to limit the scope of the present application, and in some embodiments of the present application, each set of shooting parameters may include more or less parameters.
The acquiring of the plurality of groups of shooting parameters comprises acquiring a plurality of groups of shooting parameters pre-stored by the terminal; the plurality of groups of shooting parameters pre-stored by the terminal can be shooting parameters collected in the user history shooting process.
For example, after a user takes a satisfactory picture at a certain time in the past, a set of shooting parameters can be obtained by storing the shooting parameters of the picture.
Optionally, in some embodiments of the application, the acquiring multiple sets of shooting parameters further includes: acquiring a plurality of photos selected by a user, and acquiring shooting parameters corresponding to each photo; and generating a plurality of groups of shooting parameters according to the shooting parameters.
The plurality of photos can be photos obtained from the network and selected by the user. For example, the multiple photos may be photos that are obtained from a network according to the geographical location of the current environment of the user and are selected by the user, or photos that are obtained through third-party applications such as WeChat and QQ, so that the multiple sets of shooting parameters are obtained according to the shooting parameters of the photos selected by the user.
In step 102, one of the plurality of sets of shooting parameters is sequentially used to update the shooting parameters stored in the preview parameter list at preset time intervals.
Since the frame images acquired by the camera are acquired according to the frame image acquisition request, that is, each frame image corresponds to one frame image acquisition request, and the frame image acquisition request is generated according to the shooting parameters stored in the preview parameter list, in the embodiment of the present application, after multiple groups of shooting parameters are acquired, each group of shooting parameters in the multiple groups of shooting parameters needs to be sequentially updated according to a preset time interval and covers the shooting parameters in the preview parameter list, so that when the frame image acquisition request is generated according to the shooting parameters stored in the preview parameter list, the frame image acquisition request is the frame image acquisition request corresponding to the multiple groups of shooting parameters.
Moreover, the shooting parameters stored in the preview parameter list are automatically updated at preset time intervals, so that the frame image acquisition request generated according to the shooting parameters stored in the preview parameter list can also be automatically updated at preset time intervals, and finally, the same shooting parameters corresponding to the frame images acquired and displayed according to the frame image acquisition request are automatically updated at preset time intervals, the shooting parameter adjustment efficiency is improved, and the gradual image preview effect is achieved.
It should be noted that, in the image preview process, in order to enable the user to accurately view the frame image corresponding to each group of shooting parameters and to enable the user to have sufficient time to view the frame image corresponding to each group of shooting parameters, the preset time interval needs to be appropriately extended on the basis that the time is longer than the visual retention time of the human eye, and meanwhile, in order to enable the gradual change effect between the frame images corresponding to two adjacent groups of shooting parameters to be in a more ideal state, the preset time interval cannot be set too long. Therefore, in practical applications, the setting of the preset time interval needs to ensure that the user can accurately view the frame image corresponding to each group of shooting parameters and ensure that the gradual change effect between the frame images corresponding to two adjacent groups of shooting parameters is in a relatively ideal state. For example, the preset time interval is set to 3 seconds to 5 seconds, or parameter setting of the preset time interval by a user is received.
In step 103, a frame image acquisition request is generated according to the shooting parameters stored in the preview parameter list, and a frame image corresponding to the frame image acquisition request is acquired and displayed according to the frame image acquisition request.
In this embodiment of the application, when multiple sets of shooting parameters are acquired and one set of shooting parameters in the multiple sets of shooting parameters is sequentially used at preset time intervals to update the shooting parameters stored in the preview parameter list, the terminal needs to generate a frame image acquisition request according to the shooting parameters stored in the preview parameter list, and acquire and display a frame image corresponding to the frame image acquisition request according to the frame image acquisition request, so as to implement image preview.
For example, the terminal generates a frame image acquisition request according to the shooting parameters stored in the preview parameter list, controls the camera to acquire an external optical signal according to the frame image acquisition request to obtain a frame image, and displays the frame image to implement image preview.
In the embodiment of the application, by acquiring a plurality of groups of shooting parameters and sequentially utilizing one group of shooting parameters in the plurality of groups of shooting parameters to update the shooting parameters stored in the preview parameter list at preset time intervals, the shooting parameters stored in the preview parameter list can be automatically updated at preset time intervals, so that a frame image acquisition request generated according to the shooting parameters stored in the preview parameter list can also be automatically updated at preset time intervals, the shooting parameters corresponding to a frame image (preview image) acquired and displayed according to the frame image acquisition request do not need to be manually changed, but are automatically updated at preset time intervals, the adjustment efficiency of the shooting parameters is improved, the gradually-changed image preview effect is achieved, meanwhile, each group of shooting parameters can contain a plurality of shooting parameters, and the simultaneous change of the plurality of shooting parameters is realized, the adjustment efficiency of the shooting parameters is further improved.
In some embodiments of the present application, after acquiring and displaying a frame image corresponding to the frame image acquisition request according to the frame image acquisition request, the method includes: shooting a picture according to a received picture shooting instruction triggered by a user on an image preview interface; or, according to a received video shooting instruction triggered by the user on the image preview interface, video shooting is carried out.
That is, during the image preview process for the fade effect, the user can still normally perform photo shooting or video shooting.
For example, in the process of previewing the image with the gradual change effect, when the user sees a favorite frame image, a photo shooting instruction can be triggered on the image preview interface to shoot the photo, so that the photo with the best shooting effect can be captured in time; or the video shooting instruction is triggered to carry out video shooting so as to shoot the video with the gradual change effect.
It should be noted that the triggering manner of the photo shooting instruction and the video shooting instruction may be triggered by using an existing triggering manner, for example, by clicking a photo shooting selection control or a video shooting selection control in an image preview interface, or by pressing a volume key, which is not described herein again.
Optionally, in some embodiments of the application, as shown in fig. 2, after acquiring and displaying the frame image corresponding to the frame image acquisition request according to the frame image acquisition request, the method may further include: and 104.
In step 104, according to a received frame image selection instruction triggered by the user on the image preview interface, stopping updating the shooting parameters stored in the preview parameter list, generating a frame image acquisition request according to the shooting parameters currently stored in the preview parameter list, and acquiring and displaying a frame image corresponding to the frame image acquisition request according to the frame image acquisition request.
For example, in the process of image preview with a gradient effect, when a user sees a favorite frame image, a frame image selection instruction may be triggered on an image preview interface, so that the terminal stops updating the shooting parameters stored in the preview parameter list, and meanwhile, the terminal can generate a subsequent frame image according to the shooting parameters of the frame image corresponding to the frame image selection instruction.
For another example, as shown in fig. 3, in the process of previewing the image with the gradual change effect, the frame image is converted from the frame image a to the frame image b, at this time, the user triggers a frame image selection instruction corresponding to the frame image b by clicking the preview image in the image preview interface, the terminal stops previewing the image with the gradual change effect, and controls the camera to collect the external optical signal according to the shooting parameter of the frame image b, so as to obtain the frame image with the shooting parameter the same as that of the frame image b.
In some embodiments of the application, after the terminal stops updating the shooting parameters stored in the preview parameter list according to a received frame image selection instruction triggered by a user on an image preview interface, the terminal may shoot a picture according to a received picture shooting instruction triggered by the user on the image preview interface; or, according to a received video shooting instruction triggered by the user on the image preview interface, carrying out video shooting; or, monitoring whether the gradual change preview function is started again, if the gradual change preview function is monitored to be started, initializing the preview parameter list, and sequentially updating the shooting parameters stored in the preview parameter list by using one group of shooting parameters in the multiple groups of shooting parameters according to a preset time interval.
For example, a user can perform normal photo shooting or video shooting after stopping image preview of a gradient effect by clicking a preview image in an image preview interface to trigger a frame image selection instruction corresponding to a frame image b; or, the gradual change preview function of the photographing application is restarted, and image preview of the gradual change effect is carried out.
In the embodiments described in fig. 1 to fig. 3, the image preview of the fade effect may be an image preview of a fade effect performed once when it is monitored that the fade preview function is turned on, that is, each of the multiple sets of shooting parameters is updated only once in the preview parameter list.
For example, before the step 102 sequentially updates the shooting parameters stored in the preview parameter list by using one of the multiple sets of shooting parameters at preset time intervals, the method includes: monitoring whether a gradual change preview function is started; correspondingly, the step of sequentially updating the shooting parameters stored in the preview parameter list by using one group of shooting parameters in the plurality of groups of shooting parameters according to the preset time interval includes: if the starting of the gradual change preview function is monitored, initializing the preview parameter list, and sequentially updating the shooting parameters stored in the preview parameter list by using one group of shooting parameters in the multiple groups of shooting parameters according to a preset time interval.
That is, when it is monitored that the gradual change preview function is started, the shooting parameters currently stored in the preview parameter list are cleared, and the shooting parameters stored in the preview parameter list are sequentially updated by using one of the multiple groups of shooting parameters according to a preset time interval. For example, the image preview of the gradation effect is performed again.
Optionally, the monitoring whether the preview function is turned on further includes: and if the gradual change preview function is not started, generating a frame image acquisition request according to preset shooting parameters, and acquiring and displaying a frame image corresponding to the frame image acquisition request according to the frame image acquisition request. The preset shooting parameters refer to the default shooting parameters of the shooting application.
In some embodiments of the present application, as shown in fig. 4, the execution of step 102 may further include steps 401 to 403.
In step 401, sequentially using one of the multiple sets of shooting parameters to update the shooting parameters stored in the preview parameter list according to a preset time interval;
in step 402, it is determined whether the last group of shooting parameters in the plurality of groups of shooting parameters is used to update the shooting parameters stored in the preview parameter list;
in step 403, after determining that the shooting parameters stored in the preview parameter list are updated by using the last shooting parameter of the multiple sets of shooting parameters, the shooting parameters stored in the preview parameter list are updated by sequentially using one set of shooting parameters of the multiple sets of shooting parameters again according to a preset time interval.
That is to say, the image preview of the gradual change effect may be an image preview of a gradual change effect executed in a cycle when it is monitored that the gradual change preview function is started, that is, each group of shooting parameters in the multiple groups of shooting parameters may be updated into the preview parameter list in each cycle period, so as to achieve the effect of the cyclic gradual change preview, and it is not necessary to start the gradual change preview function again after the image preview of the gradual change effect is completed, so as to perform the image preview of the next gradual change effect, but to directly perform the image preview of the next gradual change effect, thereby further improving the adjustment efficiency of the frame image shooting parameters in the image preview process.
It should be noted that, for simplicity of description, the foregoing method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, and that some steps may occur in other orders or concurrently in the embodiments herein. For example, the step 103 is a step continuously executed after the camera application is turned on, that is, the step 103 is performed simultaneously with the steps 101 and 102.
Fig. 5 shows a schematic structural diagram of an image preview apparatus 500 provided in an embodiment of the present application, and includes an obtaining unit 501, a parameter updating unit 502, and a preview unit 503.
An obtaining unit 501, configured to obtain multiple groups of shooting parameters;
a parameter updating unit 502, configured to update the shooting parameters stored in the preview parameter list with one of the multiple sets of shooting parameters in sequence at preset time intervals;
a preview unit 503, configured to generate a frame image acquisition request according to the shooting parameters stored in the preview parameter list, and acquire and display a frame image corresponding to the frame image acquisition request according to the frame image acquisition request.
In some embodiments of the present application, the image preview apparatus 500 further includes a stop update unit, configured to stop updating the shooting parameters stored in the preview parameter list according to a received frame image selection instruction triggered by a user on an image preview interface, generate a frame image acquisition request according to the shooting parameters currently stored in the preview parameter list, and acquire and display a frame image corresponding to the frame image acquisition request according to the frame image acquisition request.
In some embodiments of the present application, the parameter updating unit 502 is further specifically configured to, after updating the shooting parameters stored in the preview parameter list with the last shooting parameter of the multiple sets of shooting parameters, update the shooting parameters stored in the preview parameter list with one set of shooting parameters of the multiple sets of shooting parameters again at preset time intervals.
In some embodiments of the present application, the image preview apparatus 500 further includes a shooting unit, configured to, after the frame image corresponding to the frame image obtaining request is obtained and displayed according to the frame image obtaining request, shoot a photo according to a received photo shooting instruction triggered by a user on an image preview interface; or, according to a received video shooting instruction triggered by the user on the image preview interface, video shooting is carried out.
In some embodiments of the present application, the image preview apparatus 500 further includes a monitoring unit, configured to monitor whether a gradual preview function is turned on before updating the shooting parameters stored in the preview parameter list with one of the multiple sets of shooting parameters in sequence according to a preset time interval; correspondingly, the step of sequentially updating the shooting parameters stored in the preview parameter list by using one group of shooting parameters in the plurality of groups of shooting parameters according to the preset time interval includes: if the starting of the gradual change preview function is monitored, initializing the preview parameter list, and sequentially updating the shooting parameters stored in the preview parameter list by using one group of shooting parameters in the multiple groups of shooting parameters according to a preset time interval.
In some embodiments of the application, the monitoring unit is further configured to generate a frame image acquisition request according to a preset shooting parameter if it is monitored that the gradual change preview function is not started, and acquire and display a frame image corresponding to the frame image acquisition request according to the frame image acquisition request.
In some embodiments of the present application, the obtaining unit is further specifically configured to obtain a plurality of photos selected by a user, and obtain a shooting parameter corresponding to each photo; and generating a plurality of groups of shooting parameters according to the shooting parameters.
It should be noted that, for convenience and brevity of description, the specific working process of the image previewing apparatus 500 described above may refer to the corresponding process of the method described in fig. 1 to fig. 4, and is not described again here.
As shown in fig. 6, the present application provides a terminal for implementing the image preview method, where the terminal may be a mobile terminal, and the mobile terminal may be a terminal such as a smart phone, a tablet computer, a Personal Computer (PC), a learning machine, and the terminal includes: one or more input devices 63 (only one shown in fig. 6) and one or more output devices 64 (only one shown in fig. 6). The processor 61, memory 62, input device 63, output device 64, and camera 65 are connected by a bus 66. The camera is used for acquiring an external optical signal according to the frame image acquisition request and generating a frame image.
It should be understood that in the embodiment of the present Application, the Processor 61 may be a Central Processing Unit (CPU), and the Processor may also be other general processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input device 63 may include a virtual keyboard, a touch pad, a fingerprint sensor (for collecting fingerprint information of a user and direction information of the fingerprint), a microphone, etc., and the output device 64 may include a display, a speaker, etc.
The memory 62 may include a read-only memory and a random access memory, and provides instructions and data to the processor 61. Some or all of the memory 62 may also include non-volatile random access memory. For example, the memory 62 may also store device type information.
The memory 62 stores a computer program that can be executed by the processor 61, and the computer program is, for example, a program of an image preview method. The processor 61 implements the steps in the image preview method embodiment, such as the steps 101 to 103 shown in fig. 1, when executing the computer program. Alternatively, the processor 61 may implement the functions of the modules/units in the device embodiments, such as the functions of the units 501 to 503 shown in fig. 5, when executing the computer program.
The computer program may be divided into one or more modules/units, which are stored in the memory 62 and executed by the processor 61 to complete the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used for describing the execution process of the computer program in the terminal for image preview. For example, the computer program may be divided into an acquisition unit, a parameter updating unit, and a preview unit, and each unit specifically functions as follows: the acquisition unit is used for acquiring a plurality of groups of shooting parameters; a parameter updating unit, configured to update the shooting parameters stored in the preview parameter list with one of the multiple sets of shooting parameters in sequence at preset time intervals; and the preview unit is used for generating a frame image acquisition request according to the shooting parameters stored in the preview parameter list, and acquiring and displaying a frame image corresponding to the frame image acquisition request according to the frame image acquisition request.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned functions may be distributed as different functional units and modules according to needs, that is, the internal structure of the apparatus may be divided into different functional units or modules to implement all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal are merely illustrative, and for example, the division of the above-described modules or units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units described above, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above may be implemented by a computer program, which may be stored in a computer readable storage medium and used by a processor to implement the steps of the embodiments of the methods described above. The computer program includes computer program code, and the computer program code may be in a source code form, an object code form, an executable file or some intermediate form. The computer readable medium may include: any entity or device capable of carrying the above-described computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signal, telecommunication signal, software distribution medium, etc. It should be noted that the computer readable medium described above may include content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media that does not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. An image preview method, comprising:
acquiring a plurality of groups of shooting parameters, and acquiring an external light signal by a camera according to the plurality of groups of shooting parameters;
sequentially utilizing one group of shooting parameters in the multiple groups of shooting parameters to update the shooting parameters stored in the preview parameter list according to a preset time interval;
generating a frame image acquisition request according to the shooting parameters stored in the preview parameter list, and acquiring and displaying a frame image corresponding to the frame image acquisition request according to the frame image acquisition request;
wherein, the acquiring of the plurality of groups of shooting parameters comprises: acquiring a plurality of groups of prestored shooting parameters collected in the historical shooting process of a user; or acquiring a plurality of photos selected by the user, acquiring shooting parameters corresponding to each photo, and generating a plurality of groups of shooting parameters according to the shooting parameters.
2. The image preview method according to claim 1, comprising, after said acquiring and displaying a frame image corresponding to said frame image acquisition request according to said frame image acquisition request:
according to a received frame image selection instruction triggered by a user on an image preview interface, stopping updating the shooting parameters stored in the preview parameter list, generating a frame image acquisition request according to the currently stored shooting parameters in the preview parameter list, and acquiring and displaying a frame image corresponding to the frame image acquisition request according to the frame image acquisition request.
3. The image preview method according to claim 1 or 2, wherein said updating the shooting parameters stored in the preview parameter list with one of the plurality of sets of shooting parameters in sequence at preset time intervals comprises:
and after the shooting parameters stored in the preview parameter list are updated by using the last group of shooting parameters in the multiple groups of shooting parameters, sequentially updating the shooting parameters stored in the preview parameter list by using one group of shooting parameters in the multiple groups of shooting parameters again according to a preset time interval.
4. The image preview method according to claim 1, comprising, after said acquiring and displaying a frame image corresponding to said frame image acquisition request according to said frame image acquisition request:
shooting a picture according to a received picture shooting instruction triggered by a user on an image preview interface; alternatively, the first and second electrodes may be,
and shooting the video according to the received video shooting instruction triggered by the user on the image preview interface.
5. The image preview method of claim 1, wherein before sequentially updating the capturing parameters stored in the preview parameter list with one of the plurality of sets of capturing parameters at a preset time interval, the method comprises:
monitoring whether a gradual change preview function is started;
correspondingly, the step of sequentially utilizing one group of shooting parameters in the plurality of groups of shooting parameters to update the shooting parameters stored in the preview parameter list according to the preset time interval includes:
if the gradual change preview function is monitored to be started, initializing the preview parameter list, and sequentially utilizing one group of shooting parameters in the multiple groups of shooting parameters to update the shooting parameters stored in the preview parameter list according to a preset time interval.
6. The image preview method of claim 5, wherein said listening for whether a gradual preview function is enabled comprises:
and if the gradual change preview function is not started, generating a frame image acquisition request according to preset shooting parameters, and acquiring and displaying a frame image corresponding to the frame image acquisition request according to the frame image acquisition request.
7. The image preview method of claim 1, wherein said obtaining a plurality of sets of capture parameters comprises:
acquiring a plurality of photos selected by a user, and acquiring shooting parameters corresponding to each photo;
and generating a plurality of groups of shooting parameters according to the shooting parameters.
8. An image preview apparatus characterized by comprising:
the camera acquires external light signals according to the multiple groups of shooting parameters; wherein, the acquiring of the plurality of groups of shooting parameters comprises: acquiring a plurality of groups of prestored shooting parameters collected in the historical shooting process of a user; or acquiring a plurality of photos selected by a user, acquiring shooting parameters corresponding to each photo, and generating a plurality of groups of shooting parameters according to the shooting parameters;
the parameter updating unit is used for sequentially updating the shooting parameters stored in the preview parameter list by using one group of shooting parameters in the multiple groups of shooting parameters according to a preset time interval;
and the preview unit is used for generating a frame image acquisition request according to the shooting parameters stored in the preview parameter list, and acquiring and displaying a frame image corresponding to the frame image acquisition request according to the frame image acquisition request.
9. A terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN201810628173.6A 2018-06-15 2018-06-15 Image preview method, device, terminal and computer readable storage medium Active CN108833781B (en)

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 CN108833781A (en) 2018-11-16
CN108833781B true 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)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111277858B (en) * 2018-12-05 2022-06-17 西安诺瓦星云科技股份有限公司 Video processing method and device, video processor and storage medium
CN109547678B (en) * 2018-12-11 2021-09-14 联想(北京)有限公司 Processing method, device, equipment and readable storage medium
CN109743498B (en) * 2018-12-24 2021-01-08 维沃移动通信有限公司 Shooting parameter adjusting method and terminal equipment
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
CN113489909B (en) * 2021-07-30 2024-01-19 维沃移动通信有限公司 Shooting parameter determining method and device and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
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
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
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102092330B1 (en) * 2013-06-20 2020-03-23 삼성전자주식회사 Method for controling for shooting and an electronic device thereof
CN105208360B (en) * 2015-09-23 2017-07-25 青岛海信移动通信技术股份有限公司 Image preview method, device and the terminal of a kind of intelligent terminal

Patent Citations (9)

* Cited by examiner, † Cited by third party
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
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
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

Also Published As

Publication number Publication date
CN108833781A (en) 2018-11-16

Similar Documents

Publication Publication Date Title
CN108833781B (en) Image preview method, device, terminal and computer readable storage medium
CN106060406B (en) Photographing method and mobile terminal
KR102277178B1 (en) Electronic Device Including The Camera Module And Method For Processing Image Of the Same
KR102302197B1 (en) Photographing apparatus, method for controlling the same, and computer-readable recording medium
CN109951627B (en) Image processing method, image processing device, storage medium and electronic equipment
US9571752B2 (en) Display control apparatus and display control method
US11659277B2 (en) Imaging apparatus and imaging method
KR20210065180A (en) Image processing method and apparatus, electronic device and storage medium
EP4055812B1 (en) A system for performing ambient light image correction
CN105874776A (en) Image processing apparatus and method
CN109040596B (en) Method for adjusting camera, mobile terminal and storage medium
CN107743191A (en) Terminal and its stabilization photographic method, storage device
CN105959574B (en) A kind of photographic method and mobile terminal
CN107909569B (en) Screen-patterned detection method, screen-patterned detection device and electronic equipment
CN104349047A (en) Image photographing apparatus and photographing method thereof
CN113411498A (en) Image shooting method, mobile terminal and storage medium
CN112312035A (en) Image sensor, exposure parameter adjustment method, and electronic apparatus
CN107180417B (en) Photo processing method and device, computer readable storage medium and electronic equipment
JP6270578B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND PROGRAM
CN112702508A (en) Camera position indication method and device, mobile terminal and storage medium
EP3304551B1 (en) Adjusting length of living images
CN112087569B (en) Camera and camera starting method and device
CN108833780B (en) Image parameter adjusting method, image parameter adjusting device and mobile terminal
CN104994282B (en) A kind of big visual angle camera control method and user terminal
CN111587399B (en) Filter effect display method and device and mobile terminal

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