CN107205117B - Shooting mode switching method and device, terminal equipment and readable storage medium - Google Patents

Shooting mode switching method and device, terminal equipment and readable storage medium Download PDF

Info

Publication number
CN107205117B
CN107205117B CN201710475333.3A CN201710475333A CN107205117B CN 107205117 B CN107205117 B CN 107205117B CN 201710475333 A CN201710475333 A CN 201710475333A CN 107205117 B CN107205117 B CN 107205117B
Authority
CN
China
Prior art keywords
mode
shooting
parameters
custom
sub
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
CN201710475333.3A
Other languages
Chinese (zh)
Other versions
CN107205117A (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.)
Oneplus Technology Shenzhen Co Ltd
Original Assignee
Oneplus Technology Shenzhen Co 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 Oneplus Technology Shenzhen Co Ltd filed Critical Oneplus Technology Shenzhen Co Ltd
Priority to CN201710475333.3A priority Critical patent/CN107205117B/en
Publication of CN107205117A publication Critical patent/CN107205117A/en
Application granted granted Critical
Publication of CN107205117B publication Critical patent/CN107205117B/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/667Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
    • 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

Landscapes

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

Abstract

The invention provides a shooting mode switching method, a shooting mode switching device, terminal equipment and a readable storage medium. The method is applied to the terminal equipment, a camera of the terminal equipment comprises a manual shooting mode, the manual shooting mode comprises at least one user-defined shooting sub-mode, and user-defined parameters of the user-defined shooting sub-mode can be adjusted in the manual shooting mode, and the method comprises the following steps: and responding to the switching operation of the user-defined shooting sub-mode. And acquiring corresponding custom parameters according to the switching operation. And configuring the camera based on the self-defined parameters so as to shoot through the switched self-defined shooting sub-mode. Therefore, when the manual shooting mode is entered again, the user-defined parameters adjusted before the user are directly overloaded, the user operation is facilitated, the time for re-adjusting the parameters is saved, and the switching speed is increased.

Description

Shooting mode switching method and device, terminal equipment and readable storage medium
Technical Field
The invention relates to the technical field of electronics, in particular to a shooting mode switching method and device, terminal equipment and a readable storage medium.
Background
With the development of electronic science and technology, terminal devices (such as mobile phones, tablet computers and the like) have a camera shooting function. Compared with the traditional camera equipment, the terminal equipment has the characteristics of convenience in carrying, capability of shooting at any time, capability of timely carrying out image processing, communication sharing and the like, and is better in flexibility and wider in application.
In the prior art, the camera shooting function of the terminal device usually provides a professional shooting mode (Pro-mode), i.e. a Manual shooting mode (Manual mode). In this mode, the terminal device can provide more photographing parameters for the user to select and adjust. A user who often uses the manual shooting mode can set shooting parameters for a specific scene to meet special shooting requirements. However, when a user wants to use a customized parameter to shoot a specific scene, the user needs to re-adjust the parameter of the manual shooting mode after restarting the camera shooting function of the terminal device each time, which is very inconvenient.
Disclosure of Invention
In order to overcome the above-mentioned deficiencies in the prior art, the present invention provides a method, an apparatus, a terminal device and a readable storage medium for switching a shooting mode. The user-defined parameters adjusted before the user can be directly overloaded when the user enters the manual shooting mode again, and the user operation is facilitated.
The first purpose of the present invention is to provide a shooting mode switching method, which is applied to a terminal device, wherein a camera of the terminal device includes a manual shooting mode, the manual shooting mode includes at least one user-defined shooting sub-mode, and a user-defined parameter of the user-defined shooting sub-mode is adjustable in the manual shooting mode, the method includes:
responding to the switching operation of the user-defined shooting sub-mode;
acquiring corresponding custom parameters according to the switching operation;
and configuring the camera based on the self-defined parameters so as to shoot through the switched self-defined shooting sub-mode.
A second object of the present invention is to provide a shooting mode switching apparatus, applied to a terminal device, where a camera of the terminal device includes a manual shooting mode, the manual shooting mode includes at least one custom shooting sub-mode, and in the manual shooting mode, a custom parameter of the custom shooting sub-mode is adjustable, the apparatus includes:
the response module is used for responding the switching operation of the user-defined shooting sub-mode;
the acquisition module is used for acquiring corresponding custom parameters according to the switching operation;
and the configuration module is used for configuring the camera based on the custom parameters so as to shoot through the switched custom shooting sub-mode.
A third object of the present invention is to provide a terminal device, where a camera of the terminal device includes a manual shooting mode, the manual shooting mode includes at least one custom shooting sub-mode, and a custom parameter of the custom shooting sub-mode is adjustable in the manual shooting mode, the terminal device includes:
a memory;
a processor;
and
a shooting mode switching apparatus, the apparatus comprising:
the response module is used for responding the switching operation of the user-defined shooting sub-mode;
the acquisition module is used for acquiring corresponding custom parameters according to the switching operation;
and the configuration module is used for configuring the camera based on the custom parameters so as to shoot through the switched custom shooting sub-mode.
A fourth object of the present invention is to provide a readable storage medium, which includes a computer program, and the computer program controls a terminal device in which the readable storage medium is located to execute the shooting mode switching method described above when running.
Compared with the prior art, the invention has the following beneficial effects:
the invention provides a shooting mode switching method, a shooting mode switching device, terminal equipment and a readable storage medium. The method is applied to the terminal equipment, a camera of the terminal equipment comprises a manual shooting mode, the manual shooting mode comprises at least one user-defined shooting sub-mode, and user-defined parameters of the user-defined shooting sub-mode can be adjusted in the manual shooting mode, and the method comprises the following steps: and responding to the switching operation of the user-defined shooting sub-mode. And acquiring corresponding custom parameters according to the switching operation. And configuring the camera based on the self-defined parameters so as to shoot through the switched self-defined shooting sub-mode. Therefore, when the manual shooting mode is entered again, the user-defined parameters adjusted before the user are directly overloaded, the user operation is facilitated, the time for re-adjusting the parameters is saved, and the switching speed is increased.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed 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 invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a block diagram of a terminal device according to a preferred embodiment of the present invention.
Fig. 2 is a flowchart illustrating steps of a method for switching a shooting mode according to a first embodiment of the present invention.
Fig. 3 is a flowchart illustrating sub-steps of step S140 shown in fig. 2 according to a first embodiment of the present invention.
Fig. 4 is a second flowchart of the steps of the method for switching the shooting mode according to the first embodiment of the present invention.
Fig. 5 is a functional block diagram of a shooting mode switching apparatus according to a second embodiment of the present invention.
Fig. 6 is a block diagram of sub-functional modules of an acquisition module according to a second embodiment of the present invention.
Icon: 100-a terminal device; 110-a memory; 120-a processor; 130-a network module; 140-a camera; 200-shooting mode switching means; 210-a response module; 220-an acquisition module; 221-a detection submodule; 222-an acquisition submodule; 223-adjusting the submodule; 230-configuration module; 240-save module.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Furthermore, the terms "first," "second," and the like are used merely to distinguish one description from another, and are not to be construed as indicating or implying relative importance.
Referring to fig. 1, fig. 1 is a block diagram of a terminal device 100 according to a preferred embodiment of the invention. The terminal device 100 includes a memory 110, a shooting mode switching device 200, a processor 120, a network module 130, and a camera 140.
In this embodiment, the terminal device 100 may be, but is not limited to, a mobile phone, a tablet computer, and the like.
The memory 110, the processor 120 and the network module 130 are electrically connected to each other directly or indirectly to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The memory 110 stores therein a photographing mode switching apparatus 200, the photographing mode switching apparatus 200 includes at least one software function module that can be stored in the memory 110 in the form of software or firmware (firmware), and the processor 120 executes various functional applications and data processing by running software programs and modules stored in the memory 110.
The Memory 110 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. The memory 110 is used for storing a program, and the processor 120 executes the program after receiving an execution instruction. Further, the software programs and modules within the memory 110 may also include an operating system, which may include various software components and/or drivers for managing system tasks (e.g., memory management, storage device control, power management, etc.), and may communicate with various hardware or software components to provide an operating environment for other software components.
The processor 120 may be an integrated circuit chip having signal processing capabilities. The Processor 120 may be a general-purpose Processor including a Central Processing Unit (CPU), a Network Processor (NP), and the like. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The network module 130 is used for establishing communication connection between the terminal device 100 and other external devices through a network.
The camera 140 is used for shooting a scene and an object image.
It is to be understood that the structure depicted in fig. 1 is merely illustrative and that terminal device 100 may include more or fewer components than shown in fig. 1 or may have a different configuration than shown in fig. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
The present invention provides a readable storage medium including a computer program. The computer program controls the terminal device 100 in which the readable storage medium is located to execute the following photographing mode switching method when running.
First embodiment
The invention provides a shooting mode switching method, which is applied to a terminal device 100.
In the present embodiment, the camera of the terminal device 100 includes a manual shooting mode (i.e., a professional shooting mode). In this mode, the terminal device 100 can provide more photographing parameters for the user to select and adjust. The manual shooting mode comprises an initial shooting sub-mode and at least one user-defined shooting sub-mode. In the manual shooting mode, the parameters of the manual shooting sub-mode and the self-defined parameters of the self-defined shooting sub-mode can be adjusted.
In this embodiment, the Custom parameters (Custom settings) can be directly displayed in the interface of the manual shooting mode for the user to select and adjust. The self-defining parameters comprise: ISO, color temperature, shutter speed, focus distance, exposure compensation, storing RAW photos, countdown timer, photo scale, etc. Here, ISO indicates sensitivity, and indicates a light sensing speed of a light sensing device such as a CCD or a CMOS.
In the embodiment, the parameters corresponding to the initial shooting sub-mode (C0, Custom settings 0) are a set of default temporary settings, which reset the ISO, color temperature, shutter speed, focus distance, exposure compensation, etc. parameters when the camera of the terminal device 100 is restarted. When the camera of the terminal device 100 is started and enters the manual shooting mode for the first time, the camera is configured by applying parameters corresponding to the initial shooting sub-mode, and an interface corresponding to the initial shooting sub-mode is displayed.
In this embodiment, the Custom parameter corresponding to the Custom shooting sub-mode (Cn, Custom settings n (n is 1,2, …)) is a parameter set by the user, and if the Custom parameter is stored in advance, the user does not need to perform parameter adjustment again when restarting the camera of the terminal device 100 next time, and the Custom parameter can be directly reloaded, which is convenient for the user to operate and saves time.
In the present embodiment, the camera of the terminal device 100 does not refer to a conventional camera, but includes a camera function of a hardware device such as the camera 140 and a software program module that controls and cooperates with the camera 140 to perform shooting.
Referring to fig. 2, fig. 2 is a flowchart illustrating a method for switching a shooting mode according to a first embodiment of the present invention. The following describes a detailed flow of the shooting mode switching method.
And step S130, responding to the switching operation of the user-defined shooting sub-mode.
In this embodiment, when the user wants to use the custom parameter to perform shooting, the user may trigger the switching button, and when the terminal device 100 senses the switching button triggered by the user, the terminal device performs an operation of switching the custom shooting sub-mode, so as to select the custom shooting sub-mode (Cn) specified by the user.
In the present embodiment, the sub-mode switching by the user may be, but is not limited to, switching from the initial photographing sub-mode (C0) to the custom photographing sub-mode (Cn); switching from one custom imaging sub-mode (Cm) to another custom imaging sub-mode (Cn) may be performed, where (m ≠ 1,2, …, and m ≠ n).
Step S140, obtaining the corresponding self-defined parameters according to the switching operation.
Referring to fig. 3, fig. 3 is a flowchart illustrating sub-steps of step S140 shown in fig. 2 according to a first embodiment of the present invention. The step S140 includes a substep S141, a substep S142, and a substep S143.
And a substep S141, detecting whether the custom parameters corresponding to the custom shooting submodes to be switched are pre-stored according to the switching operation.
In the present embodiment, the parameters corresponding to each sub-mode (the initial photographing sub-mode C0 or the custom photographing sub-mode Cn) are stored using an independent storage unit (e.g., SharedPreferences).
In this embodiment, SharedPreferences is a lightweight storage class on the Android platform, is used to store some common configurations of applications, is a lightweight data storage method, and is the simplest method in the Android data persistence method.
In this embodiment, the terminal device 100 may detect whether a custom parameter corresponding to a custom shooting sub-mode to be switched selected by a user is pre-stored in a storage unit (SharedPreferences) corresponding to the custom shooting sub-mode.
If it is pre-saved, go to step S142.
And a substep S142, obtaining the custom parameters corresponding to the custom shooting submode to be switched.
In this embodiment, if the user-defined parameter corresponding to the to-be-switched user-defined shooting sub-mode selected by the user is pre-stored in the corresponding storage unit (SharedPreferences), the terminal device 100 may directly obtain the user-defined parameter corresponding to the to-be-switched user-defined shooting sub-mode from the storage unit, so as to perform camera configuration according to the user-defined parameter without adjusting the user-defined parameter, thereby saving time.
If not, go to step S143.
And a substep S143 of receiving an adjustment operation on the parameter corresponding to the current shooting mode and taking the adjusted parameter as a custom parameter of the custom shooting sub-mode to be switched.
In an implementation manner of this embodiment, if the user-defined parameter corresponding to the user-defined shooting sub-mode to be switched selected by the user is not pre-stored, the terminal device 100 may display the parameter corresponding to the current shooting mode on the display interface for the user to adjust. The terminal device 100 receives an operation of adjusting a parameter corresponding to a current shooting mode by a user. The terminal device 100 copies the adjusted parameters corresponding to the current shooting mode into the customized parameters corresponding to the customized shooting sub-mode to be switched. Wherein the current shooting mode may include an initial shooting sub-mode or a custom shooting sub-mode of the camera. Therefore, the user can store the current parameters as another group of parameters only by adjusting part of the settings based on the parameters of the current shooting mode, and does not need to start to carry out all parameter adjustments from default values, thereby facilitating the user operation.
In another implementation manner of this embodiment, the terminal device 100 may directly copy the parameters corresponding to the current shooting mode to the customized parameters corresponding to the customized shooting sub-mode to be switched, and store the parameters in the corresponding storage unit. The parameters corresponding to the current shooting mode may include parameters corresponding to an initial shooting sub-mode retained by the camera last time, or parameters corresponding to a user-defined shooting sub-mode, or parameters automatically given by the camera according to an environment.
And S150, configuring the camera based on the self-defined parameters so as to shoot through the switched self-defined shooting sub-mode.
In this embodiment, the terminal device 100 loads the custom parameter stored in the storage unit (SharedPreferences) corresponding to the custom shooting sub-mode. The terminal device 100 then invokes a Settings exchange mechanism in the Camera application framework, so that each control unit in the program can obtain the correct parameters required by each control unit, and thus, the correct parameters are converted into data parameters used by the Camera hardware, and the Camera hardware is configured. Therefore, the user-defined parameters corresponding to the user-defined shooting sub-mode selected by the user can be displayed in the camera interface for the user to preview.
In this embodiment, a removable, global Active settings swap mechanism is invoked. It is possible to let the respective control units not need to know whether the current sub-mode is the initial photographing sub-mode (C0) or the custom photographing sub-mode (Cn), and thus, there is no need to write different program codes specifically for C0 or Cn, reducing the workload of the programmer.
In this embodiment, the control units include a Flash control unit, a focusing control unit, a photometry control unit, a cropping range control unit, and many other control units related to camera shooting, which are not listed here.
Referring to fig. 4, fig. 4 is a second flowchart illustrating a step of a method for switching a shooting mode according to a first embodiment of the invention. The method further comprises the following steps: step S110, step S120, and step S160.
Step S110, in response to an operation to start the camera manual shooting mode.
In this embodiment, when the user triggers the button of the manual shooting mode, the terminal device 100 responds to the user to start the operation of the camera manual shooting mode, and enters the manual shooting mode operation interface.
And step S120, configuring the camera based on the default set parameters so that the camera shoots in the initial shooting sub-mode.
In this embodiment, when initially entering the manual shooting mode, the terminal device 100 configures the camera function according to the default parameters, and displays the parameters corresponding to the initial shooting sub-mode in the camera interface for the user to shoot.
In this embodiment, the specific operation of configuring the camera function according to the default set parameters may refer to the description of configuring the camera according to the custom parameters in step S150.
In this embodiment, in the initial shooting sub-mode, the user may also adjust parameters corresponding to the initial shooting sub-mode, and store the adjusted parameters as customized parameters of a customized shooting sub-mode.
And step S160, responding to the operation of confirming storage, and storing the custom parameters so as to directly call the custom parameters for camera configuration in the next switching.
In this embodiment, when the user completes the adjustment of the customized parameters, the terminal device 100 may display a prompt message for confirming the storage on the interface, and after the user triggers a button for confirming the storage, the terminal device 100 stores the customized parameters that have been adjusted by the user, and stores the customized parameters in the corresponding storage unit (SharedPreferences). So that the user-defined parameters can be directly called for camera configuration in the next switching.
Second embodiment
Referring to fig. 5, fig. 5 is a functional block diagram of a shooting mode switching apparatus 200 according to a second embodiment of the present invention. The device is applied to the terminal equipment 100. The device comprises: a response module 210, an acquisition module 220, and a configuration module 230.
And the response module 210 is used for responding to the switching operation of the user-defined shooting sub-mode.
In this embodiment, the response module 210 is configured to execute step S130 in fig. 2, and the detailed description about the response module 210 may refer to the description about step S130.
An obtaining module 220, configured to obtain a corresponding custom parameter according to the switching operation.
Referring to fig. 6, fig. 6 is a block diagram of sub-functional modules of the obtaining module 220 according to a second embodiment of the present invention. The obtaining module 220 includes a detecting sub-module 221, an obtaining sub-module 222, and an adjusting sub-module 223.
And the detection submodule 221 is configured to detect whether the custom parameters corresponding to the custom shooting submode to be switched are pre-stored according to the switching operation.
In the present embodiment, the detection sub-module 221 is configured to perform step S141 in fig. 3, and the detailed description about the detection sub-module 221 may refer to the description of step S141.
And the obtaining sub-module 222, if pre-stored, is configured to obtain a custom parameter corresponding to the custom shooting sub-mode to be switched.
In this embodiment, the obtaining sub-module 222 is configured to execute step S142 in fig. 3, and the detailed description about the obtaining sub-module 222 may refer to the description of step S142.
And the adjusting submodule 223, if not pre-stored, is configured to receive an adjusting operation on a parameter corresponding to the current shooting mode, and use the adjusted parameter as a custom parameter of the custom shooting sub-mode to be switched.
In this embodiment, the adjusting sub-module 223 is configured to perform step S143 in fig. 3, and the detailed description about the adjusting sub-module 223 may refer to the description of step S143.
And a configuration module 230, configured to configure the camera based on the custom parameter, so as to perform shooting through the switched custom shooting sub-mode.
In this embodiment, the configuration module 230 is configured to execute step S150 in fig. 2, and the detailed description about the configuration module 230 may refer to the description about step S150.
The response module 210 is further configured to respond to an operation of starting the camera manual shooting mode.
In this embodiment, the response module 210 is further configured to execute step S110 in fig. 4, and the detailed description about the response module 210 may refer to the description about step S110.
The configuration module 230 is further configured to configure the camera based on the default parameters, so that the camera performs shooting in the initial shooting sub-mode.
In this embodiment, the configuration module 230 is further configured to execute step S120 in fig. 4, and the detailed description about the configuration module 230 may refer to the description of step S120.
Referring to fig. 5 again, the apparatus further includes: a save module 240.
And the saving module 240 is configured to respond to the operation of confirming the storage, and save the custom parameter, so as to directly call the custom parameter for camera configuration in the next switching.
In this embodiment, the saving module 240 is configured to execute step S160 in fig. 4, and the detailed description about the saving module 240 may refer to the description of step S160.
In summary, the present invention provides a method and an apparatus for switching a shooting mode, a terminal device and a readable storage medium. The method is applied to the terminal equipment, a camera of the terminal equipment comprises a manual shooting mode, the manual shooting mode comprises at least one user-defined shooting sub-mode, and user-defined parameters of the user-defined shooting sub-mode can be adjusted in the manual shooting mode, and the method comprises the following steps: and responding to the switching operation of the user-defined shooting sub-mode. And acquiring corresponding custom parameters according to the switching operation. And configuring the camera based on the self-defined parameters so as to shoot through the switched self-defined shooting sub-mode.
Therefore, when the manual shooting mode is entered again, the user-defined parameters adjusted before the user are directly overloaded, the user operation is facilitated, the time for re-adjusting the parameters is saved, and the switching speed is increased.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A shooting mode switching method is applied to terminal equipment and is characterized in that a camera of the terminal equipment comprises a manual shooting mode, the manual shooting mode comprises an initial shooting sub-mode and at least one user-defined shooting sub-mode, and user-defined parameters of the user-defined shooting sub-mode can be adjusted in the manual shooting mode, and the method comprises the following steps:
responding to the switching operation of the user-defined shooting sub-mode;
obtaining corresponding custom parameters according to the switching operation, including:
detecting whether the custom parameters corresponding to the custom shooting sub-modes to be switched are pre-stored or not according to the switching operation;
if the user-defined shooting sub-mode is pre-stored, obtaining a user-defined parameter corresponding to the user-defined shooting sub-mode to be switched;
if the parameters are not pre-stored, receiving the adjustment operation of the parameters corresponding to the current shooting mode, and copying the adjusted parameters corresponding to the current shooting mode into the custom parameters of the custom shooting sub-mode to be switched;
based on the custom parameters and calling a Settings extraction and replacement mechanism to configure the camera so as to shoot through the switched custom shooting sub-mode; wherein the Settings exchange mechanism is a mechanism in a Camera application architecture of the terminal device for converting the retrieved parameters into data parameters for use by Camera hardware.
2. The method of claim 1, wherein the step of receiving an adjustment operation for a parameter corresponding to the current shooting mode if the parameter is not pre-stored comprises:
displaying parameters corresponding to a current shooting mode, wherein the current shooting mode comprises an initial shooting sub-mode or a user-defined shooting sub-mode of a camera;
and responding to the operation of adjusting the parameters corresponding to the current shooting mode so as to take the adjusted parameters as the custom parameters of the custom shooting sub-mode to be switched.
3. The method according to any one of claims 1-2, further comprising:
and responding to the operation of confirming storage, and storing the custom parameters so as to directly call the custom parameters for camera configuration in the next switching.
4. The method of claim 1, wherein prior to the step of responding to the switching operation of the custom photographing sub-mode, the method further comprises:
responding to an operation of starting a manual shooting mode of a camera, wherein camera parameters can be adjusted in the manual shooting mode;
and configuring the camera based on the default set parameters so that the camera shoots in the initial shooting sub-mode.
5. The utility model provides a shoot mode auto-change over device, is applied to terminal equipment, its characterized in that, terminal equipment's camera includes a manual mode of shooing, manual mode of shooing includes initial shooting submode and at least one self-defined shooting submode, under manual mode of shooing, the self-defined parameter of self-defined shooting submode is adjustable, the device includes:
the response module is used for responding the switching operation of the user-defined shooting sub-mode;
the acquisition module is used for acquiring corresponding custom parameters according to the switching operation;
the acquisition module includes:
the detection submodule is used for detecting whether the custom parameters corresponding to the custom shooting submodes to be switched are pre-stored or not according to the switching operation;
the obtaining submodule is used for obtaining the self-defined parameters corresponding to the self-defined shooting submodel to be switched if the self-defined shooting submodel is pre-stored;
if the parameters are not pre-stored, the adjusting submodule is used for receiving the adjusting operation of the parameters corresponding to the current shooting mode and copying the adjusted parameters corresponding to the current shooting mode into the self-defined parameters of the self-defined shooting sub-mode to be switched;
the configuration module is used for configuring the camera based on the custom parameters and calling a Settings extraction and replacement mechanism so as to shoot through the switched custom shooting sub-mode; wherein the Settings exchange mechanism is a mechanism in a Camera application architecture of the terminal device for converting the retrieved parameters into data parameters for use by Camera hardware.
6. The apparatus according to claim 5, wherein the adjusting sub-module adjusts the parameter corresponding to the current shooting mode by:
displaying parameters corresponding to a current shooting mode, wherein the current shooting mode comprises an initial shooting sub-mode or a user-defined shooting sub-mode of a camera;
and responding to the operation of adjusting the parameters corresponding to the current shooting mode so as to take the adjusted parameters as the custom parameters of the custom shooting sub-mode to be switched.
7. The apparatus of any one of claims 5-6, further comprising:
and the storage module is used for responding to the operation of confirming storage and storing the custom parameters so as to directly call the custom parameters for camera configuration in the next switching process.
8. The apparatus of claim 5, wherein:
the response module is further used for responding to the operation of starting a camera manual shooting mode, wherein camera parameters can be adjusted in the manual shooting mode;
the configuration module is further used for configuring the camera based on the default set parameters so that the camera can shoot in the initial shooting sub-mode.
9. A terminal device, characterized in that a camera of the terminal device comprises a manual shooting mode, the manual shooting mode comprises at least one custom shooting sub-mode, in the manual shooting mode, custom parameters of the custom shooting sub-mode are adjustable, and the terminal device comprises:
a memory;
a processor;
and
a shooting mode switching apparatus, the apparatus comprising:
the response module is used for responding the switching operation of the user-defined shooting sub-mode;
the acquisition module is used for acquiring corresponding custom parameters according to the switching operation;
the acquisition module includes:
the detection submodule is used for detecting whether the custom parameters corresponding to the custom shooting submodes to be switched are pre-stored or not according to the switching operation;
the obtaining submodule is used for obtaining the self-defined parameters corresponding to the self-defined shooting submodel to be switched if the self-defined shooting submodel is pre-stored;
if the parameters are not pre-stored, the adjusting submodule is used for receiving the adjusting operation of the parameters corresponding to the current shooting mode and copying the adjusted parameters corresponding to the current shooting mode into the self-defined parameters of the self-defined shooting sub-mode to be switched;
the configuration module is used for configuring the camera based on the custom parameters and calling a Settings extraction and replacement mechanism so as to shoot through the switched custom shooting sub-mode; wherein the Settings exchange mechanism is a mechanism in a Camera application architecture of the terminal device for converting the retrieved parameters into data parameters for use by Camera hardware.
10. A readable storage medium, the readable storage medium comprising a computer program, characterized in that:
the computer program, when executed by a processor, controls a terminal device in which the readable storage medium is located to perform the photographing mode switching method of any one of claims 1 to 4.
CN201710475333.3A 2017-06-21 2017-06-21 Shooting mode switching method and device, terminal equipment and readable storage medium Active CN107205117B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710475333.3A CN107205117B (en) 2017-06-21 2017-06-21 Shooting mode switching method and device, terminal equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710475333.3A CN107205117B (en) 2017-06-21 2017-06-21 Shooting mode switching method and device, terminal equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN107205117A CN107205117A (en) 2017-09-26
CN107205117B true CN107205117B (en) 2021-03-23

Family

ID=59908309

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710475333.3A Active CN107205117B (en) 2017-06-21 2017-06-21 Shooting mode switching method and device, terminal equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN107205117B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020042174A1 (en) * 2018-08-31 2020-03-05 深圳市大疆创新科技有限公司 Camera control method and camera

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103472971A (en) * 2013-09-03 2013-12-25 小米科技有限责任公司 Method, device and terminal equipment for setting photographing parameters
CN104683697A (en) * 2015-03-17 2015-06-03 努比亚技术有限公司 Shooting parameter adjusting method and device
CN105681675A (en) * 2016-03-22 2016-06-15 珠海格力电器股份有限公司 Mobile terminal and photographing mode setting method and device thereof
CN106412438A (en) * 2016-10-21 2017-02-15 上海与德信息技术有限公司 Photographing parameter adjustment method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141569B (en) * 2006-09-04 2010-11-17 佛山普立华科技有限公司 Method of performing pick-up image through fast switching combination of different pick-up parameters
JP5213585B2 (en) * 2008-08-22 2013-06-19 キヤノン株式会社 Image processing apparatus and control method thereof
US10136061B2 (en) * 2015-01-30 2018-11-20 Microsoft Technology Licensing, Llc Automatic processing of automatic image capture parameter adjustment
CN105872350A (en) * 2015-12-08 2016-08-17 乐视移动智能信息技术(北京)有限公司 Adjusting method and device for photographing parameter of camera

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103472971A (en) * 2013-09-03 2013-12-25 小米科技有限责任公司 Method, device and terminal equipment for setting photographing parameters
CN104683697A (en) * 2015-03-17 2015-06-03 努比亚技术有限公司 Shooting parameter adjusting method and device
CN105681675A (en) * 2016-03-22 2016-06-15 珠海格力电器股份有限公司 Mobile terminal and photographing mode setting method and device thereof
CN106412438A (en) * 2016-10-21 2017-02-15 上海与德信息技术有限公司 Photographing parameter adjustment method and device

Also Published As

Publication number Publication date
CN107205117A (en) 2017-09-26

Similar Documents

Publication Publication Date Title
US11368615B2 (en) Modifying image parameters using wearable device input
BR112020019324A2 (en) MOBILE PHOTOGRAPHY TERMINAL
JP2019054536A (en) Electronic apparatus
CN113556477B (en) Ambient brightness determination method and device, medium and camera
JP2013214959A (en) Communication device
JP2010016826A (en) System and method for efficiently performing image processing operations
US20160105613A1 (en) Lens unit, method for controlling lens unit, imaging apparatus, and method for controlling imaging apparatus
JP6195065B2 (en) Image capturing apparatus, operation control terminal apparatus, operation control program, and operation control system
CN108932701B (en) Information processing apparatus, information processing method, and non-transitory storage medium
CN107205117B (en) Shooting mode switching method and device, terminal equipment and readable storage medium
US8964051B2 (en) Imaging apparatus, method for controlling the same, and storage medium
JP5196178B2 (en) Image correction system, image correction server, image correction method, and image correction program
JPS58126521A (en) Electronically controlled camera
CN106961549B (en) Shooting method and device based on double cameras
US20180152626A1 (en) Imaging device
CN111567034A (en) Exposure compensation method, device and computer readable storage medium
JP2017041778A (en) Imaging apparatus, moving picture formation method and program
US8049792B2 (en) Image capture apparatus
CN110798607A (en) Shooting state adjusting method and device
CN111371998B (en) Camera starting control method and related device
CN114928700A (en) Exposure convergence method, device, electronic equipment and computer readable storage medium
CN107682625B (en) Method for controlling any frame rate during photographing preview, mobile terminal and storage medium
US10212357B2 (en) Imaging apparatus and control method to realize accurate exposure
WO2019183900A1 (en) Photographing control method, photographing control apparatus, photographing system, and storage medium
CN110995985A (en) Photographing processing method, 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