CN109831629B - Terminal photographing mode adjusting method and device, terminal and storage medium - Google Patents

Terminal photographing mode adjusting method and device, terminal and storage medium Download PDF

Info

Publication number
CN109831629B
CN109831629B CN201910194128.9A CN201910194128A CN109831629B CN 109831629 B CN109831629 B CN 109831629B CN 201910194128 A CN201910194128 A CN 201910194128A CN 109831629 B CN109831629 B CN 109831629B
Authority
CN
China
Prior art keywords
scene
terminal
characteristic
target
adjusting
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
CN201910194128.9A
Other languages
Chinese (zh)
Other versions
CN109831629A (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 CN201910194128.9A priority Critical patent/CN109831629B/en
Publication of CN109831629A publication Critical patent/CN109831629A/en
Application granted granted Critical
Publication of CN109831629B publication Critical patent/CN109831629B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The application provides a method and a device for adjusting a terminal photographing mode, a terminal and a storage medium, wherein the method for adjusting the terminal photographing mode comprises the steps of identifying target characteristics of scenes in a preview picture of the terminal when the terminal is in the photographing mode; determining a target type of the scene according to the characteristics, and determining a target adjustment value corresponding to the target type; and adjusting the parameter value of the photographing mode corresponding to the scene in the preview picture according to the target adjustment value. By the method and the device, fine-grained adjustment of the photographing mode displayed in the preview picture can be realized from the aspect of the characteristics of the scene, the recognition accuracy of the night scene mode is effectively improved, and the presenting effect is improved.

Description

Terminal photographing mode adjusting method and device, terminal and storage medium
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a method and an apparatus for adjusting a photographing mode of a terminal, and a storage medium.
Background
With the continuous progress of the mobile terminal technology, the requirement of the user on the effect of taking a picture of the mobile terminal is higher and higher, especially the requirement on the effect of a night scene is higher and higher, and even under the night scene with large variation of brightness distribution, clear imaging needs to be obtained. When a user shoots a daily night scene, the user often faces a complex scene, and may face pure black, starry and wild, countryside, city and neon lights, and all night scene scenes cannot be covered by the pure picture content-dependent characteristics.
At present, in a night scene shooting mode, a large classification is often adopted, and the night scene shooting mode is relatively general, but in practical application, different user groups have different living places, spaces, habits and the like, and may face different night scenes such as pure black, field, countryside, cities, neon lights and the like, and a single night scene mode in related technologies often cannot fully cover various night scenes encountered by users, so that the recognition accuracy of the night scene mode in the actual shooting experience is not high, the presentation effect is not good, and the shooting quality is possibly influenced.
Disclosure of Invention
The present application is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, an object of the present application is to provide a method, an apparatus, a terminal and a storage medium for adjusting a shooting mode of a terminal, which can implement fine-grained adjustment of a shooting mode presented in a preview picture from the perspective of characteristics of a scene, effectively improve the recognition accuracy of a night scene mode, and improve the presentation effect.
In order to achieve the above object, an embodiment of the present application provides a method for adjusting a terminal shooting mode, including: when the terminal is in a photographing mode, identifying target characteristics of a scene in a preview picture of the terminal; determining a target type of the scene according to the characteristics, and determining a target adjustment value corresponding to the target type; and adjusting the parameter value of the photographing mode corresponding to the scene in the preview picture according to the target adjustment value.
According to the method for adjusting the photographing mode of the terminal, provided by the embodiment of the first aspect of the application, when the terminal is in the photographing mode, the target feature of a scene in a preview picture of the terminal is identified, the target type of the scene is determined according to the feature, the target adjustment value corresponding to the target type is determined, and the parameter value of the photographing mode corresponding to the scene in the preview picture is adjusted according to the target adjustment value.
In order to achieve the above object, an embodiment of a second aspect of the present application provides an apparatus for adjusting a photographing mode of a terminal, including: the terminal comprises an identification module, a display module and a display module, wherein the identification module is used for identifying the target characteristics of a scene in a preview picture of the terminal when the terminal is in a photographing mode; the first determining module is used for determining the target type of the scene according to the characteristics and determining a target adjusting value corresponding to the target type; and the adjusting module is used for adjusting the parameter value of the shooting mode corresponding to the scene in the preview picture according to the target adjusting value.
According to the adjusting device for the shooting mode of the terminal provided by the embodiment of the second aspect of the application, when the terminal is in the shooting mode, the target characteristics of the scene in the preview picture of the terminal are identified, the target type of the scene is determined according to the characteristics, the target adjusting value corresponding to the target type is determined, and the parameter value of the shooting mode corresponding to the scene in the preview picture is adjusted according to the target adjusting value.
In order to achieve the above object, a third aspect of the present application further provides a terminal, which includes a housing, a processor, a memory, a circuit board, and a power circuit, wherein the circuit board is disposed inside a space enclosed by the housing, and the processor and the memory are disposed on the circuit board; the power supply circuit is used for supplying power to each circuit or device of the terminal; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for performing: when the terminal is in a photographing mode, identifying target characteristics of a scene in a preview picture of the terminal; determining a target type of the scene according to the characteristics, and determining a target adjustment value corresponding to the target type; and adjusting the parameter value of the photographing mode corresponding to the scene in the preview picture according to the target adjustment value.
According to the terminal provided by the embodiment of the third aspect of the application, when the terminal is in the shooting mode, the target feature of the scene in the preview picture of the terminal is identified, the target type of the scene is determined according to the feature, the target adjustment value corresponding to the target type is determined, and the parameter value of the shooting mode corresponding to the scene in the preview picture is adjusted according to the target adjustment value.
In order to achieve the above object, a fourth aspect of the present application provides a non-transitory computer-readable storage medium, where instructions of the storage medium, when executed by a processor of a terminal, enable the terminal to perform a method for adjusting a photographing mode of the terminal, the method including: when the terminal is in a photographing mode, identifying target characteristics of a scene in a preview picture of the terminal; determining a target type of the scene according to the characteristics, and determining a target adjustment value corresponding to the target type; and adjusting the parameter value of the photographing mode corresponding to the scene in the preview picture according to the target adjustment value.
According to the non-transitory computer-readable storage medium provided by the embodiment of the fourth aspect of the application, when the terminal is in the shooting mode, the target feature of the scene in the preview picture of the terminal is identified, the target type of the scene is determined according to the feature, the target adjustment value corresponding to the target type is determined, and the parameter value of the shooting mode corresponding to the scene in the preview picture is adjusted according to the target adjustment value.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flowchart illustrating a method for adjusting a photographing mode of a terminal according to an embodiment of the present application;
fig. 2 is a flowchart illustrating a method for adjusting a photographing mode of a terminal according to another embodiment of the present application;
fig. 3 is a schematic structural diagram of an adjusting apparatus for a terminal photographing mode according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an adjusting apparatus for a terminal photographing mode according to another embodiment of the present application;
fig. 5 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application. On the contrary, the embodiments of the application include all changes, modifications and equivalents coming within the spirit and terms of the claims appended hereto.
Fig. 1 is a flowchart illustrating a method for adjusting a terminal photographing mode according to an embodiment of the present application.
The present embodiment is exemplified in a case where the adjustment method of the terminal photographing mode is configured as the adjustment apparatus of the terminal photographing mode.
The method for adjusting the terminal photographing mode in this embodiment may be configured in the device for adjusting the terminal photographing mode, and the device for adjusting the terminal photographing mode may be set in the server, or may also be set in the electronic device, which is not limited in this embodiment.
The present embodiment takes the example that the adjusting method of the terminal photographing mode is configured in the electronic device.
It should be noted that the execution main body in the embodiment of the present application may be, for example, a Central Processing Unit (CPU) in a server or an electronic device in terms of hardware, and may be, for example, a related background service in the server or the electronic device in terms of software, which is not limited to this.
With the continuous progress of the mobile terminal technology, the requirement of the user on the effect of taking a picture of the mobile terminal is higher and higher, especially the requirement on the effect of a night scene is higher and higher, and even under the night scene with large variation of brightness distribution, clear imaging needs to be obtained. When a user shoots a daily night scene, the user often faces a complex scene, and may face pure black, starry and wild, countryside, city and neon lights, and all night scene scenes cannot be covered by the pure picture content-dependent characteristics.
At present, in a night scene shooting mode, a large classification is often adopted, and the night scene shooting mode is relatively general, but in practical application, different user groups have different living places, spaces, habits and the like, and may face different night scenes such as pure black, field, countryside, cities, neon lights and the like, and a single night scene mode in related technologies often cannot fully cover various night scenes encountered by users, so that the recognition accuracy of the night scene mode in the actual shooting experience is not high, the presentation effect is not good, and the shooting quality is possibly influenced.
In order to solve the above technical problem, an embodiment of the present application provides a method for adjusting a shooting mode of a terminal, where when the terminal is in the shooting mode, a target feature of a scene in a preview picture of the terminal is identified, a target type of the scene is determined according to the feature, a target adjustment value corresponding to the target type is determined, and a parameter value of the shooting mode corresponding to the scene in the preview picture is adjusted according to the target adjustment value.
Referring to fig. 1, the method includes:
s101: when the terminal is in a photographing mode, target features of a scene in a preview picture of the terminal are identified.
The photographing mode is a mode in which the terminal is located after the camera application of the terminal is started.
The scene in the preview picture, that is, the scene in which the terminal is currently located in the preview picture in the photographing mode, may be specifically a night scene, or a daytime scene, and the like, which is not limited herein.
In the embodiment of the application, a scene in a preview screen of a terminal is taken as a night scene for example.
Optionally, the target features include: the method comprises the following steps of light ratio characteristic, histogram morphological characteristic, image environment color temperature characteristic, shutter characteristic of preview image, light sensitivity characteristic and light source color cast characteristic.
It can be understood that, in practical applications, in a night scene, when a user holds a terminal to take a picture, different user groups may face different types of night scenes such as pure black, a star field, a country, a city, a neon light and the like due to different living places, spaces, habits and the like of different user groups, and therefore, the terminal may present different night scenes with different night effects, and therefore, in the embodiment of the present application, when the terminal is in a picture taking mode, a feature of a scene in a preview picture of the terminal may be first identified, and the feature may be referred to as a target feature, for example, when the terminal starts a camera application to take a picture, an image feature identification module built in the terminal may be simultaneously started to identify features of the scene in the preview picture of the terminal based on the image feature identification module.
S102: and determining the target type of the scene according to the characteristics, and determining a target adjustment value corresponding to the target type.
Alternatively, the target type may be, for example, a pure black type, a star field type, a country type, a city type, a neon type.
In the specific implementation process of the embodiment of the application, in order to accurately identify a night scene, confidence coefficients of the scene based on various different types can be determined according to a light ratio characteristic, a histogram morphological characteristic, an image environment color temperature characteristic, a shutter characteristic, a light sensitivity characteristic of a preview image and a light source color cast characteristic; and taking the type of the scene with the confidence coefficient meeting the preset condition as the target type of the scene.
As an example, whether the light ratio indicated by the light ratio feature is high or low may be used to determine whether a light source exists in a night scene, whether the night scene is a pure dark night scene or a high-contrast night scene; whether the whole scene in the preview picture is dark, moderate or bright can be judged according to the morphological characteristics of the histogram; the current night scene or day can be accurately judged according to the color temperature characteristics of the image environment; by means of the shutter characteristic and the sensitivity characteristic of the preview image, for example, the slower the shutter characteristic and the higher the sensitivity characteristic of the preview image are, the darker the night scene is, and vice versa; in addition, the light bit and the image environment color temperature characteristics can be combined to judge whether the current night scene has a color cast light source, such as a neon lamp, in the embodiment of the application, the confidence coefficient of the scene based on various different types can be determined according to the characteristics; and taking the type of the scene with the confidence coefficient meeting the preset condition as the target type of the scene.
Optionally, in some embodiments, referring to fig. 2, before identifying the target feature of the scene in the preview screen of the terminal, the method further includes:
s201: adjustment values corresponding to the types of the respective scenes are determined.
S202: and generating a corresponding relation between the type of the scene and the corresponding adjustment value, and taking the corresponding relation as a first corresponding relation.
In the specific execution process of the embodiment of the application, data sets can be respectively constructed for a pure black type night scene, a star field type night scene, a country type night scene, a city type night scene and a neon lamp type night scene, and the respectively constructed data sets are adopted to be trained on the basis of a classification model in the related technology so as to determine the adjustment values corresponding to the types.
In a specific implementation process of the embodiment of the present application, determining a target adjustment value corresponding to a target type according to the first corresponding relationship determined in the embodiment shown in fig. 2 includes: according to the first corresponding relation, an adjustment value corresponding to the target type is determined and serves as a target adjustment value, and the target adjustment value is determined directly according to the first corresponding relation, so that the execution accuracy and efficiency of the method are effectively improved.
S103: and adjusting the parameter value of the photographing mode corresponding to the scene in the preview picture according to the target adjustment value.
Optionally, the actual value of the parameter of at least one of the following is adjusted based on the adjustment value: a dynamic range parameter, a scene brightness parameter, and an exposure parameter.
In the embodiment, when the terminal is in the shooting mode, the target characteristics of the scene in the preview picture of the terminal are identified, the target type of the scene is determined according to the characteristics, the target adjustment value corresponding to the target type is determined, and the parameter value of the shooting mode corresponding to the scene in the preview picture is adjusted according to the target adjustment value.
Fig. 3 is a schematic structural diagram of an adjusting apparatus for a terminal photographing mode according to an embodiment of the present application.
Referring to fig. 3, the apparatus 300 includes:
the identification module 301 is configured to identify a target feature of a scene in a preview screen of the terminal when the terminal is in a photographing mode;
a first determining module 302, configured to determine a target type of the scene according to the features, and determine a target adjustment value corresponding to the target type;
and the adjusting module 303 is configured to adjust a parameter value of a shooting mode corresponding to the scene in the preview picture according to the target adjustment value.
Optionally, in some embodiments, the target features include: the first determining module 302 is specifically configured to:
determining confidence coefficients of the scene based on various types according to the light ratio characteristic, the histogram morphological characteristic, the image environment color temperature characteristic, the shutter characteristic and the light sensitivity characteristic of the preview image and the light source color cast characteristic;
and taking the type of the scene with the confidence coefficient meeting the preset condition as the target type of the scene.
Optionally, in some embodiments, referring to fig. 4, further comprising:
a second determining module 304, configured to determine an adjustment value corresponding to the type of each scene;
a generating module 305, configured to generate a corresponding relationship between the type of the scene and the corresponding adjustment value, and use the corresponding relationship as a first corresponding relationship.
Optionally, in some embodiments, the first determining module 302 is specifically configured to:
and determining an adjustment value corresponding to the target type according to the first corresponding relation and taking the adjustment value as a target adjustment value.
Optionally, in some embodiments, the actual value of the parameter of at least one of the following is adjusted based on the adjustment value: a dynamic range parameter, a scene brightness parameter, and an exposure parameter.
It should be noted that the explanation of the embodiment of the adjusting method for the terminal photographing mode in the foregoing fig. 1-2 is also applicable to the adjusting apparatus 300 for the terminal photographing mode in this embodiment, and the implementation principle is similar, and is not repeated here.
In the embodiment, when the terminal is in the shooting mode, the target characteristics of the scene in the preview picture of the terminal are identified, the target type of the scene is determined according to the characteristics, the target adjustment value corresponding to the target type is determined, and the parameter value of the shooting mode corresponding to the scene in the preview picture is adjusted according to the target adjustment value.
Fig. 5 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Referring to fig. 5, the terminal 50 of the present embodiment includes: the electronic device comprises a shell 501, a processor 502, a memory 503, a circuit board 504 and a power supply circuit 505, wherein the circuit board 504 is arranged inside a space enclosed by the shell 501, and the processor 502 and the memory 503 are arranged on the circuit board 504; a power supply circuit 505 for supplying power to each circuit or device of the terminal 50; the memory 503 is used to store executable program code; the processor 502 runs a program corresponding to the executable program code by reading the executable program code stored in the memory 503, so as to execute:
when the terminal is in a photographing mode, identifying target characteristics of a scene in a preview picture of the terminal;
determining a target type of the scene according to the characteristics, and determining a target adjustment value corresponding to the target type;
and adjusting the parameter value of the photographing mode corresponding to the scene in the preview picture according to the target adjustment value.
It should be noted that the explanation of the embodiment of the adjusting method for the terminal photographing mode in the foregoing embodiments of fig. 1-2 is also applicable to the terminal 50 in this embodiment, and the implementation principle is similar, and is not repeated here.
In the embodiment, when the terminal is in the shooting mode, the target characteristics of the scene in the preview picture of the terminal are identified, the target type of the scene is determined according to the characteristics, the target adjustment value corresponding to the target type is determined, and the parameter value of the shooting mode corresponding to the scene in the preview picture is adjusted according to the target adjustment value.
In order to implement the foregoing embodiments, the present application also proposes a non-transitory computer-readable storage medium, which when instructions in the storage medium are executed by a processor of a terminal, enables the terminal to execute a method for adjusting a photographing mode of the terminal, the method including:
when the terminal is in a photographing mode, identifying target characteristics of a scene in a preview picture of the terminal;
determining a target type of the scene according to the characteristics, and determining a target adjustment value corresponding to the target type;
and adjusting the parameter value of the photographing mode corresponding to the scene in the preview picture according to the target adjustment value.
In the non-transitory computer-readable storage medium in this embodiment, when the terminal is in the shooting mode, the target feature of the scene in the preview picture of the terminal is identified, the target type of the scene is determined according to the feature, the target adjustment value corresponding to the target type is determined, and the parameter value of the shooting mode corresponding to the scene in the preview picture is adjusted according to the target adjustment value.
In order to implement the foregoing embodiments, the present application further provides a computer program product, wherein when instructions in the computer program product are executed by a processor, the method for adjusting a terminal photographing mode is performed, and the method includes:
when the terminal is in a photographing mode, identifying target characteristics of a scene in a preview picture of the terminal;
determining a target type of the scene according to the characteristics, and determining a target adjustment value corresponding to the target type;
and adjusting the parameter value of the photographing mode corresponding to the scene in the preview picture according to the target adjustment value.
In the computer program product in this embodiment, when the terminal is in the shooting mode, the target feature of the scene in the preview picture of the terminal is identified, the target type of the scene is determined according to the feature, the target adjustment value corresponding to the target type is determined, and the parameter value of the shooting mode corresponding to the scene in the preview picture is adjusted according to the target adjustment value.
It should be noted that, in the description of the present application, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In addition, in the description of the present application, "a plurality" means two or more unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (10)

1. A method for adjusting a terminal photographing mode is characterized by comprising the following steps:
when the terminal is in a night scene mode, identifying target features of a scene in a preview picture of the terminal, wherein the target features comprise: the method comprises the following steps of (1) carrying out light ratio characteristic, histogram morphological characteristic, image environment color temperature characteristic, shutter characteristic, light sensitivity characteristic and light source color cast characteristic on a preview image;
determining confidence coefficients of the scene based on various different types according to the light ratio characteristic, the histogram morphological characteristic, the image environment color temperature characteristic, the shutter characteristic and the light sensitivity characteristic of the preview image and the light source color cast characteristic;
taking the type of the confidence coefficient meeting the preset condition as a target type of the scene, and determining a target adjustment value corresponding to the target type;
and adjusting the parameter value of the night scene mode corresponding to the scene in the preview picture according to the target adjustment value.
2. The method for adjusting photographing mode of a terminal as claimed in claim 1, wherein before the identifying the target feature of the scene in the preview screen of the terminal, further comprising:
determining an adjustment value corresponding to the type of each scene;
and generating a corresponding relation between the type of the scene and the corresponding adjustment value, and taking the corresponding relation as a first corresponding relation.
3. The method for adjusting the terminal photographing mode as claimed in claim 2, wherein the determining the target adjustment value corresponding to the target type comprises:
and determining an adjusting value corresponding to the target type according to the first corresponding relation and taking the adjusting value as the target adjusting value.
4. The method for adjusting the photographing mode of the terminal according to any one of claims 1 to 3, wherein the actual value of the parameter of at least one of the following is adjusted based on the adjustment value: a dynamic range parameter, a scene brightness parameter, and an exposure parameter.
5. The utility model provides an adjusting device of terminal mode of shooing which characterized in that includes:
the identification module is used for identifying target characteristics of a scene in a preview picture of the terminal when the terminal is in a night scene mode, wherein the target characteristics comprise: the method comprises the following steps of (1) carrying out light ratio characteristic, histogram morphological characteristic, image environment color temperature characteristic, shutter characteristic, light sensitivity characteristic and light source color cast characteristic on a preview image;
the first determining module is used for determining confidence degrees of the scene based on various different types according to the light ratio characteristic, the histogram morphological characteristic, the image environment color temperature characteristic, the shutter characteristic and the light sensitivity characteristic of the preview image and the light source color cast characteristic; the type of the scene with the confidence coefficient meeting the preset condition is used as a target type of the scene, and a target adjustment value corresponding to the target type is determined;
and the adjusting module is used for adjusting the parameter value of the night scene mode corresponding to the scene in the preview picture according to the target adjusting value.
6. The apparatus for adjusting photographing mode of a terminal as claimed in claim 5, further comprising:
a second determining module, configured to determine an adjustment value corresponding to a type of each of the scenes;
and the generating module is used for generating the corresponding relation between the type of the scene and the corresponding adjusting value and taking the corresponding relation as a first corresponding relation.
7. The apparatus for adjusting a photographing mode of a terminal according to claim 6, wherein the first determining module is specifically configured to:
and determining an adjusting value corresponding to the target type according to the first corresponding relation and taking the adjusting value as the target adjusting value.
8. The apparatus for adjusting photographing mode of a terminal according to any one of claims 5 to 7, wherein the actual value of the parameter of at least one of the following is adjusted based on the adjustment value: a dynamic range parameter, a scene brightness parameter, and an exposure parameter.
9. A terminal comprising a housing, a processor, a memory, a circuit board, and a power circuit, wherein the circuit board is disposed inside a space enclosed by the housing, the processor and the memory being disposed on the circuit board; the power supply circuit is used for supplying power to each circuit or device of the terminal; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for performing:
when the terminal is in a night scene mode, identifying target features of a scene in a preview picture of the terminal, wherein the target features comprise: the method comprises the following steps of (1) carrying out light ratio characteristic, histogram morphological characteristic, image environment color temperature characteristic, shutter characteristic, light sensitivity characteristic and light source color cast characteristic on a preview image;
determining confidence coefficients of the scene based on various different types according to the light ratio characteristic, the histogram morphological characteristic, the image environment color temperature characteristic, the shutter characteristic and the light sensitivity characteristic of the preview image and the light source color cast characteristic;
taking the type of the confidence coefficient meeting the preset condition as a target type of the scene, and determining a target adjustment value corresponding to the target type;
and adjusting the parameter value of the night scene mode corresponding to the scene in the preview picture according to the target adjustment value.
10. A non-transitory computer-readable storage medium having stored thereon a computer program, wherein the program, when executed by a processor, implements the method for adjusting the photographing mode of a terminal according to any one of claims 1 to 4.
CN201910194128.9A 2019-03-14 2019-03-14 Terminal photographing mode adjusting method and device, terminal and storage medium Active CN109831629B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910194128.9A CN109831629B (en) 2019-03-14 2019-03-14 Terminal photographing mode adjusting method and device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910194128.9A CN109831629B (en) 2019-03-14 2019-03-14 Terminal photographing mode adjusting method and device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN109831629A CN109831629A (en) 2019-05-31
CN109831629B true CN109831629B (en) 2021-07-02

Family

ID=66869310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910194128.9A Active CN109831629B (en) 2019-03-14 2019-03-14 Terminal photographing mode adjusting method and device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN109831629B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110969196B (en) * 2019-11-22 2023-08-18 Oppo广东移动通信有限公司 Scene prediction method, terminal and storage medium
CN110991368B (en) * 2019-12-09 2023-06-02 上海瑾盛通信科技有限公司 Camera scene recognition method and related device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106341595A (en) * 2016-08-26 2017-01-18 刘华英 Mobile terminal intelligent shooting method and device
CN106454104A (en) * 2016-10-28 2017-02-22 维沃移动通信有限公司 Photographing method and mobile terminal
CN106954051A (en) * 2017-03-16 2017-07-14 广东欧珀移动通信有限公司 A kind of image processing method and mobile terminal
CN107820020A (en) * 2017-12-06 2018-03-20 广东欧珀移动通信有限公司 Method of adjustment, device, storage medium and the mobile terminal of acquisition parameters
CN108337433A (en) * 2018-03-19 2018-07-27 广东欧珀移动通信有限公司 A kind of photographic method, mobile terminal and computer readable storage medium
CN108764208A (en) * 2018-06-08 2018-11-06 Oppo广东移动通信有限公司 Image processing method and device, storage medium, electronic equipment
CN108810418A (en) * 2018-07-16 2018-11-13 Oppo广东移动通信有限公司 Image processing method, device, mobile terminal and computer readable storage medium
CN109068067A (en) * 2018-08-22 2018-12-21 Oppo广东移动通信有限公司 Exposal control method, device and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873776A (en) * 2014-03-26 2014-06-18 惠州Tcl移动通信有限公司 Method and system for making camera of mobile terminal adapt to scene automatically

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106341595A (en) * 2016-08-26 2017-01-18 刘华英 Mobile terminal intelligent shooting method and device
CN106454104A (en) * 2016-10-28 2017-02-22 维沃移动通信有限公司 Photographing method and mobile terminal
CN106954051A (en) * 2017-03-16 2017-07-14 广东欧珀移动通信有限公司 A kind of image processing method and mobile terminal
CN107820020A (en) * 2017-12-06 2018-03-20 广东欧珀移动通信有限公司 Method of adjustment, device, storage medium and the mobile terminal of acquisition parameters
CN108337433A (en) * 2018-03-19 2018-07-27 广东欧珀移动通信有限公司 A kind of photographic method, mobile terminal and computer readable storage medium
CN108764208A (en) * 2018-06-08 2018-11-06 Oppo广东移动通信有限公司 Image processing method and device, storage medium, electronic equipment
CN108810418A (en) * 2018-07-16 2018-11-13 Oppo广东移动通信有限公司 Image processing method, device, mobile terminal and computer readable storage medium
CN109068067A (en) * 2018-08-22 2018-12-21 Oppo广东移动通信有限公司 Exposal control method, device and electronic equipment

Also Published As

Publication number Publication date
CN109831629A (en) 2019-05-31

Similar Documents

Publication Publication Date Title
CN109218628B (en) Image processing method, image processing device, electronic equipment and storage medium
CN109348089B (en) Night scene image processing method and device, electronic equipment and storage medium
CN109218627B (en) Image processing method, image processing device, electronic equipment and storage medium
CN108335279B (en) Image fusion and HDR imaging
US20180109711A1 (en) Method and device for overexposed photography
CN105227857B (en) A kind of method and apparatus of automatic exposure
US8994845B2 (en) System and method of adjusting a camera based on image data
CN108737738B (en) Panoramic camera and exposure method and device thereof
CN105450932B (en) Backlight photographic method and device
CN104349033A (en) Self-timer light supplement method, self-timer light supplement device and electronic equipment
CN109361853B (en) Image processing method, image processing device, electronic equipment and storage medium
CN106060491A (en) Projected image color correction method and apparatus
CN110246101B (en) Image processing method and device
CN105611185A (en) Image generation method and device and terminal device
CN109618102B (en) Focusing processing method and device, electronic equipment and storage medium
CN109831629B (en) Terminal photographing mode adjusting method and device, terminal and storage medium
CN111294575A (en) Image processing method, image processing device, electronic equipment and storage medium
CN106506973B (en) Focusing control method and device, electronic equipment and terminal equipment
EP3836532A1 (en) Control method and apparatus, electronic device, and computer readable storage medium
CN107948542A (en) Multi-cam exposure control method and device
CN112004077B (en) Calibration method and device for off-screen camera, storage medium and electronic equipment
CN105959593A (en) Exposure method for camera device and camera device
CN109729275A (en) Imaging method, device, terminal and storage medium
CN108540636A (en) A kind of photographic method and device based on dual camera
CN105049704A (en) Shooting method and equipment

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