CN109981990B - Image processing method, device and terminal - Google Patents

Image processing method, device and terminal Download PDF

Info

Publication number
CN109981990B
CN109981990B CN201910292999.4A CN201910292999A CN109981990B CN 109981990 B CN109981990 B CN 109981990B CN 201910292999 A CN201910292999 A CN 201910292999A CN 109981990 B CN109981990 B CN 109981990B
Authority
CN
China
Prior art keywords
terminal
shooting scene
target
shooting
preview image
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
CN201910292999.4A
Other languages
Chinese (zh)
Other versions
CN109981990A (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.)
Shenzhen Transsion Communication Co Ltd
Original Assignee
Shenzhen Transsion Communication 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 Shenzhen Transsion Communication Co Ltd filed Critical Shenzhen Transsion Communication Co Ltd
Priority to CN201910292999.4A priority Critical patent/CN109981990B/en
Publication of CN109981990A publication Critical patent/CN109981990A/en
Priority to PCT/CN2019/104890 priority patent/WO2020206925A1/en
Application granted granted Critical
Publication of CN109981990B publication Critical patent/CN109981990B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • 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/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/80Camera processing pipelines; Components thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • Studio Devices (AREA)
  • Facsimiles In General (AREA)

Abstract

The embodiment of the invention provides an image processing method, an image processing device and a terminal, wherein the method comprises the steps of acquiring attribute information of a preview image in a preview interface of the terminal; determining a shooting scene of the terminal according to the attribute information of the preview image; acquiring a target example picture matched with a shooting scene of the terminal; and outputting the target example picture in a preview interface of the terminal. The invention can provide richer image processing functions to guide the shooting of the user, so that the shot picture is more beautiful.

Description

Image processing method, device and terminal
Technical Field
The present invention relates to the field of image processing technologies, and in particular, to an image processing method, an image processing device, and a terminal.
Background
The existing mobile terminals such as mobile phones and the like have photographing and shooting functions, so that the mobile terminals basically have no rich image processing functions at present, and the effects and quality of photos shot by using cameras of the mobile terminals are difficult to reach the professional level. For users who are not good at photographing, there is no rich image processing function to assist them in taking perfect pictures, reducing the photographing experience of the users.
Disclosure of Invention
The embodiment of the invention provides an image processing method, an image processing device and a terminal, which enable a shot photo to be more attractive by providing richer image processing functions.
In one aspect, an embodiment of the present invention provides an image processing method, including:
acquiring attribute information of a preview image in a preview interface of a terminal;
determining a shooting scene of the terminal according to the attribute information of the preview image;
acquiring a target example picture matched with a shooting scene of the terminal;
and outputting the target example picture in a preview interface of the terminal.
In another aspect, an embodiment of the present invention provides an image processing apparatus, including:
the first acquisition unit is used for acquiring attribute information of a preview image in a preview interface of the terminal;
a determining unit, configured to determine a shooting scene of the terminal according to attribute information of the preview image;
the second acquisition unit is used for acquiring a target example picture matched with a shooting scene of the terminal;
and the output unit is used for outputting the target example picture in a preview interface of the terminal.
In still another aspect, an embodiment of the present invention provides a terminal, including:
a processor adapted to implement one or more instructions; and
a memory space storing one or more instructions adapted to be loaded by the processor and to perform an image processing method comprising:
acquiring attribute information of a preview image in a preview interface of a terminal;
determining a shooting scene of the terminal according to the attribute information of the preview image;
acquiring a target example picture matched with a shooting scene of the terminal;
and outputting the target example picture in a preview interface of the terminal.
In the embodiment of the invention, the attribute information of the preview image in the preview interface of the terminal is acquired; determining a shooting scene of the terminal according to the attribute information of the preview image; acquiring a target example picture matched with a shooting scene of the terminal; outputting the target example picture in a preview interface of the terminal; therefore, by implementing the embodiment of the invention, the example pictures in different picture modes can be provided before the user shoots so as to guide the user to shoot more beautiful pictures, and the shooting auxiliary function of the terminal is enhanced.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Wherein:
fig. 1 is a schematic flow chart of an embodiment of an image processing method according to an embodiment of the present invention;
FIG. 2 is a flowchart of another embodiment of an image processing method according to an embodiment of the present invention;
FIGS. 3a-3c are application scenario diagrams of an image processing method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an image processing apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The embodiment of the invention provides an image processing method, referring to fig. 1, which specifically comprises the following steps:
s101, acquiring attribute information of a preview image in a preview interface of the terminal.
When a user opens a camera APP (Application) of the terminal, a camera of the terminal acquires an image within a view range of the camera and displays the acquired preview image on a preview interface of the terminal; the terminal may include, but is not limited to, a mobile phone, a tablet computer, and the like. In order to analyze a shooting scene of a preview image, attribute information of the preview image needs to be acquired. The attribute information of the preview image can include, but is not limited to, color value, brightness value, depth of field and the like, wherein each attribute information is represented in a numerical form and is contained in a certain value range; for example, the color values are represented in numerical form, and the range of values is 0 to 255.
And s102, determining the shooting scene of the terminal according to the attribute information of the preview image.
Configuration information of a shooting scene can be acquired according to attribute information of the preview image, so that the shooting scene of the terminal is determined. The shooting scene of the terminal is the current shooting scene of the terminal. For example, if the terminal is currently in a natural environment, the current shooting scene of the terminal may be a landscape shooting scene. The configuration information of the shooting scenes is stored in a scene database, the scene database comprises at least one identification of the shooting scenes and configuration information of each shooting scene, and the configuration information of each shooting scene can comprise but is not limited to a color range, a brightness range, a depth range and the like. For example, the scene database stores a part of the content as shown in table 1:
table 1: scene database
It can be appreciated that the scene database is pre-stored in the storage space of the terminal, or in the storage space of the cloud. According to the contents of table 1, the attribute information of the preview image is compared with the configuration information of each shooting scene, so that it can be determined which shooting scene the attribute information of the preview image belongs to, and the current shooting scene of the terminal can be determined.
And s103, acquiring a target example picture matched with the shooting scene of the terminal.
After determining the shooting scene of the terminal, acquiring a target example picture matched with the shooting scene of the terminal, wherein the target example picture can be used as a reference picture for shooting composition. Wherein the photographing composition may refer to various composition modes, such as a balanced composition mode, a vertical composition mode, a golden ratio composition mode, etc. One or more example pictures may be included in different composition modes, wherein the target example picture is a target example picture in a target composition mode. The composition patterns, the identification of the shooting scene for which each composition pattern is adapted, and the example pictures under each composition pattern are stored in a composition database. For example, the composition database stores a portion of the content as shown in table 2:
table 2: composition database
It will be appreciated that the composition database is pre-stored in the storage space of the terminal, or in the storage space of the cloud. It will be appreciated that the target composition pattern may be one or more composition patterns, and the target example picture is any one of the example pictures in the target composition pattern. According to the identification of the shooting scene of the terminal, a corresponding target composition mode and a target example picture under the target composition mode can be queried in a composition database.
And s104, outputting the target example picture in a preview interface of the terminal.
After determining the target example picture, displaying the target example picture in a preview interface of the terminal to guide a user to more attractive shooting composition. In a specific implementation, since the preview interface of the terminal needs to display both the image within the view-finding range of the camera and the target example composition, the preview interface can be divided. And dividing an area for composition prompt in the preview interface, and displaying a target example picture in the prompt area for reference of a user.
In the embodiment of the invention, the attribute information of the preview image in the preview interface of the terminal is acquired; determining a shooting scene of the terminal according to the attribute information of the preview image; acquiring a target example picture matched with a shooting scene of the terminal; outputting the target example picture in a preview interface of the terminal; therefore, by implementing the embodiment of the invention, the example pictures in different picture modes can be provided before the user shoots so as to guide the user to shoot more beautiful pictures, and the shooting auxiliary function of the terminal is enhanced.
The embodiment of the invention provides another image processing method, please refer to fig. 2, which specifically includes the following steps:
s201, acquiring attribute information of a preview image in a preview interface of the terminal. Step s201 of the present embodiment may refer to step s101 shown in fig. 1, which is not described herein.
And s202, determining the shooting scene of the terminal according to the attribute information of the preview image.
The attribute information of the preview image may include, but is not limited to, a color value, a brightness value, and a depth of field, and the configuration information of each photographed scene may include, but is not limited to, a color range, a brightness range, and a depth of field range. In a possible embodiment, s202 may comprise the following steps a1-a4:
a1, judging whether the color value is contained in a color range of a shooting scene according to the color value of the preview image;
a2, if so, judging whether the brightness value is included in the brightness range of a shooting scene according to the brightness value of the preview image;
a3, if so, judging whether the depth of field value is included in the depth of field range of a shooting scene according to the depth of field value of the preview image;
and a4, if so, determining the shooting scene as the shooting scene of the terminal.
In the steps a1 to a4, the attribute information of the preview image is compared with the configuration information of each shooting scene in the scene database, so as to determine the shooting scene of the terminal; for example: the attribute information of the preview image includes: color value 150, brightness value 100, depth of field 50; as can be seen from table 1, the color value, brightness value and depth of field of the preview image are all within the range defined by the configuration information of the scene, so the terminal is currently shooting a scene.
And s203, acquiring a target example picture matched with the shooting scene of the terminal.
In a specific implementation, step s203 includes the following steps b1-b3:
b1, acquiring a composition database, wherein the composition database comprises at least one composition mode, an identification of a shooting scene adapted to each composition mode and at least one example picture under each composition mode;
b2, searching a target composition mode matched with the shooting scene of the terminal from a composition database according to the identification of the shooting scene of the terminal;
b3, obtaining the target example picture from the composition database.
In the steps b1-b3, according to the identification of the shooting scene of the terminal, a target composition mode and a target example picture which are matched with the shooting scene identification of the terminal can be obtained from a composition database; for example, the shooting scene of the terminal is identified as a landscape shooting scene, the target composition mode matched with the shooting scene of the terminal is obtained from the composition database, the target composition mode comprises a balanced composition mode and a vertical composition mode, and the obtained target example picture comprises fig. 1 and 2.
And s204, outputting the target example picture in a preview interface of the terminal. Step s204 of the present embodiment may refer to step s104 shown in fig. 1, which is not described herein.
And s205, if a shooting event is detected, storing the preview image currently displayed on the preview interface according to the target composition mode.
After the preview interface displays the target example picture, the terminal detects whether the user shoots or not. The target example picture is used for providing an intuitive composition mode display for a user, and setting of a target composition mode is needed during actual shooting. In a possible implementation manner, before detecting whether a user shoots, whether a terminal loads a target composition mode needs to be judged, so that the target composition mode is called to shoot the composition; and if not, loading the target composition mode at the terminal. In specific implementation, judging whether a composition database stored in a terminal comprises the target composition mode, and if not, downloading the target composition mode from the composition database stored in a cloud.
When the target composition mode comprises two or more composition modes, storing the preview image currently displayed on the preview interface according to the target composition mode, wherein the method specifically comprises the following two cases: the terminal randomly selects one of the composition modes as a target composition mode, or the user selects one of the composition modes as a target composition mode. Corresponding to the first case described above, step s205 specifically includes the following steps c1-c2:
c1, if a shooting event is detected, randomly selecting a composition mode from the target composition modes;
and c2, storing the preview image currently displayed on the preview interface according to the composition mode selected randomly.
Corresponding to the second case described above, step s205 specifically includes the following steps d1-d2:
d1, if a shooting event is detected, receiving an instruction of selecting one composition mode from the target composition modes by a user;
and d2, storing the preview image currently displayed on the preview interface according to the composition mode selected by the user.
In the embodiment of the invention, the attribute information of the preview image in the preview interface of the terminal is acquired; determining a shooting scene of the terminal according to the attribute information of the preview image; acquiring a target example picture matched with a shooting scene of the terminal; outputting the target example picture in a preview interface of the terminal; if a shooting event is detected, storing a preview image currently displayed on the preview interface according to the target composition mode; therefore, by implementing the embodiment of the invention, the example pictures in different picture modes can be provided before the user shoots so as to guide the user to shoot more beautiful pictures, and the shooting auxiliary function of the terminal is enhanced.
Based on the above image processing method, an embodiment of the present invention provides an application scenario of the image processing method, please refer to fig. 3a-3c, taking a photo as an example, and the image processing method is set in a mobile phone, and a photo flow based on the image processing method is as follows: (1) opening a camera APP (Application) of the mobile phone, entering a preview interface, and acquiring an image of the preview interface, as shown in FIG. 3 a; (2) acquiring attribute information of a preview image in a preview interface, wherein the attribute information comprises a color value, a brightness value and a depth of field; (3) determining a shooting scene of the terminal according to the attribute information of the preview image; (4) acquiring a target example picture matched with a shooting scene of the terminal; (5) displaying the target example pictures in a prompt area of a preview interface, wherein if a plurality of target example pictures exist, a user can slide and view the target example pictures, as shown in fig. 3 b; (6) if the user clicks to photograph, storing the preview image currently displayed on the preview interface according to the composition mode selected by the user, as shown in fig. 3 c.
In the embodiment of the invention, the attribute information of the preview image in the preview interface of the terminal is acquired; determining a shooting scene of the terminal according to the attribute information of the preview image; acquiring a target example picture matched with a shooting scene of the terminal; outputting the target example picture in a preview interface of the terminal; if a shooting event is detected, storing a preview image currently displayed on the preview interface according to the target composition mode; therefore, by implementing the embodiment of the invention, the example pictures in different picture modes can be provided before the user shoots so as to guide the user to shoot more beautiful pictures, and the shooting auxiliary function of the terminal is enhanced.
Based on the description of the embodiments of the image processing method described above, the embodiments of the present invention provide an image processing apparatus, which may be a computer program running in a terminal, which may be applied to the image processing method described above and shown in fig. 1-2, for executing the corresponding steps in the image processing method. Referring to fig. 4, the apparatus may include:
a first obtaining unit 401, configured to obtain attribute information of a preview image in a preview interface of a terminal;
a determining unit 402, configured to determine a shooting scene of the terminal according to attribute information of the preview image;
a second obtaining unit 403, configured to obtain a target example picture adapted to a shooting scene of the terminal;
and an output unit 404, configured to output the target example picture in a preview interface of the terminal.
In one embodiment, the apparatus further comprises:
and the storage unit 405 is configured to store, when a shooting event is detected, a preview image currently displayed on the preview interface according to the target composition mode.
In another embodiment, the determining unit 402 is specifically configured to:
acquiring a scene database, wherein the scene database comprises at least one shooting scene identifier and configuration information of each shooting scene; the configuration information includes at least one of: color range, brightness range, and depth range;
and determining the shooting scene of the terminal according to the attribute information of the preview image and the configuration information of each shooting scene in the scene database.
In yet another embodiment, the second obtaining unit 403 is specifically configured to:
acquiring a composition database, wherein the composition database comprises at least one composition mode, an identification of a shooting scene adapted to each composition mode and at least one example picture under each composition mode;
searching a target composition mode matched with the shooting scene of the terminal from the composition database according to the identification of the shooting scene of the terminal; the target composition pattern is one or more composition patterns in the composition database;
acquiring the target example picture from the composition database; the target example picture is any one example picture in the target composition mode.
In yet another embodiment, the output unit 404 is specifically configured to:
positioning a prompting area in a preview interface of the terminal, wherein the prompting area is an area for composition prompting divided in the preview interface of the terminal;
and displaying the target example picture in the prompt area.
In yet another embodiment, the storage unit 405 is further configured to:
if a shooting event is detected, randomly selecting a composition mode from the target composition modes;
and storing the preview image currently displayed by the preview interface according to the composition mode selected randomly.
In yet another embodiment, the storage unit 405 is further configured to:
if a shooting event is detected, receiving an instruction of selecting one composition mode from the target composition modes by a user;
and storing the preview image currently displayed by the preview interface according to the composition mode selected by the user.
In the embodiment of the invention, the attribute information of the preview image in the preview interface of the terminal is acquired; determining a shooting scene of the terminal according to the attribute information of the preview image; acquiring a target example picture matched with a shooting scene of the terminal; outputting the target example picture in a preview interface of the terminal; if a shooting event is detected, storing a preview image currently displayed on the preview interface according to the target composition mode; therefore, by implementing the embodiment of the invention, the example pictures in different picture modes can be provided before the user shoots so as to guide the user to shoot more beautiful pictures, and the shooting auxiliary function of the terminal is enhanced.
Based on the description of the embodiments of the image processing method, the application scenario and the apparatus, the embodiment of the present invention further provides a terminal, which may be applied to the image processing method shown in fig. 1-2 and the application scenario shown in fig. 3, to execute corresponding steps in the image processing method. Referring to fig. 5, the internal structure of the terminal may include a processor, a network interface, and a memory space. The processors, communication interfaces, and storage space in the terminal may be connected by a bus or other means, and in fig. 5, which is shown in the embodiment of the present invention, the connection is exemplified by a bus.
The communication interface is a medium for realizing interaction and information exchange between the terminal and the external device. A processor (or CPU (Central Processing Unit, central processing unit)) is a computing core and a control core of the terminal, which are adapted to implement one or more instructions, in particular to load and execute one or more instructions to implement a corresponding method flow or a corresponding function; a Memory space (Memory) is a Memory device in the terminal for storing programs and data. It will be appreciated that the storage space herein may include both the built-in storage medium of the terminal and the extended storage medium supported by the terminal. In which one or more instructions, which may be one or more computer programs (including program code), are stored that are adapted to be loaded and executed by a processor.
In one embodiment, the storage space stores one or more instructions, and the processor loads and executes the one or more instructions stored in the storage space to implement the corresponding steps in the method flow shown in fig. 1 or fig. 2; in particular implementations, one or more instructions in a memory space are loaded by a processor and perform the steps of:
acquiring attribute information of a preview image in a preview interface of a terminal;
determining a shooting scene of the terminal according to the attribute information of the preview image;
acquiring a target example picture matched with a shooting scene of the terminal;
and outputting the target example picture in a preview interface of the terminal.
In another embodiment, one or more instructions in the storage space are loaded and executed by the processor, and in the step of determining the shooting scene of the terminal according to the attribute information of the preview image, the following steps are specifically executed:
acquiring a scene database, wherein the scene database comprises at least one shooting scene identifier and configuration information of each shooting scene; the configuration information includes at least one of: color range, brightness range, and depth range;
and determining the shooting scene of the terminal according to the attribute information of the preview image and the configuration information of each shooting scene in the scene database.
In yet another embodiment, in the step of loading and executing the one or more instructions in the storage space by the processor to obtain the target example picture adapted to the shooting scene of the terminal, the following steps are specifically executed:
acquiring a composition database, wherein the composition database comprises at least one composition mode, an identification of a shooting scene adapted to each composition mode and at least one example picture under each composition mode;
searching a target composition mode matched with the shooting scene of the terminal from the composition database according to the identification of the shooting scene of the terminal; the target composition pattern is one or more composition patterns in the composition database;
acquiring the target example picture from the composition database; the target example picture is any one example picture in the target composition mode.
In yet another embodiment, the step of outputting the target example picture in the preview interface of the terminal is carried out by loading and executing one or more instructions in the storage space by the processor, and specifically includes the following steps:
positioning a prompting area in a preview interface of the terminal, wherein the prompting area is an area for composition prompting divided in the preview interface of the terminal;
and displaying the target example picture in the prompt area.
In yet another embodiment, the one or more instructions in the storage space are loaded and executed by the processor, and in the step after the target example picture is output in the preview interface of the terminal, the following steps are specifically executed:
and if a shooting event is detected, storing the preview image currently displayed on the preview interface according to the target composition mode.
In still another embodiment, the one or more instructions in the storage space are loaded and executed by the processor, and if a shooting event is detected, the following steps are specifically executed in the previous step of storing the preview image currently displayed by the preview interface according to the target composition mode:
judging whether the terminal loads the target composition mode or not;
and if not, loading the target composition mode in the terminal.
In still another embodiment, the step of storing the preview image currently displayed on the preview interface according to the target composition mode if the shooting event is detected is performed by loading one or more instructions in the storage space by the processor, and specifically includes the steps of:
if a shooting event is detected, randomly selecting a composition mode from the target composition modes;
and storing the preview image currently displayed by the preview interface according to the composition mode selected randomly.
In still another embodiment, the step of storing the preview image currently displayed on the preview interface according to the target composition mode if the shooting event is detected is performed by loading one or more instructions in the storage space by the processor, and specifically includes the steps of:
if a shooting event is detected, receiving an instruction of selecting one composition mode from the target composition modes by a user;
and storing the preview image currently displayed by the preview interface according to the composition mode selected by the user.
In the embodiment of the invention, the attribute information of the preview image in the preview interface of the terminal is acquired; determining a shooting scene of the terminal according to the attribute information of the preview image; acquiring a target example picture matched with a shooting scene of the terminal; outputting the target example picture in a preview interface of the terminal; if a shooting event is detected, storing a preview image currently displayed on the preview interface according to the target composition mode; therefore, by implementing the embodiment of the invention, the example pictures in different picture modes can be provided before the user shoots so as to guide the user to shoot more beautiful pictures, and the shooting auxiliary function of the terminal is enhanced.
The foregoing disclosure is illustrative of the present invention and is not to be construed as limiting the scope of the invention, which is defined by the appended claims.

Claims (9)

1. An image processing method, comprising:
acquiring attribute information of a preview image in a preview interface of a terminal, wherein the attribute information of the preview image comprises: color value, brightness value and depth of field;
determining a shooting scene of the terminal according to the attribute information of the preview image, including: obtaining a scene database, wherein the scene database comprises at least one shooting scene identifier and configuration information of each shooting scene, and the configuration information comprises: determining shooting scenes of the terminal according to attribute information of the preview image and configuration information of each shooting scene in the scene database;
acquiring a target example picture matched with a shooting scene of the terminal;
outputting the target example picture in a preview interface of the terminal;
the determining the shooting scene of the terminal according to the attribute information of the preview image and the configuration information of each shooting scene in the scene database comprises the following steps:
judging whether the color value is contained in the color range of the first shooting scene according to the color value of the preview image;
if yes, judging whether the brightness value is contained in the brightness range of the first shooting scene according to the brightness value of the preview image;
if yes, judging whether the depth of field value is contained in the depth of field range of the first shooting scene according to the depth of field value of the preview image;
if yes, determining the first shooting scene as the shooting scene of the terminal.
2. The method according to claim 1, wherein the obtaining a target example picture adapted to a shooting scene of the terminal comprises;
acquiring a composition database, wherein the composition database comprises at least one composition mode, an identification of a shooting scene adapted to each composition mode and at least one example picture under each composition mode;
searching a target composition mode matched with the shooting scene of the terminal from the composition database according to the identification of the shooting scene of the terminal; the target composition pattern is one or more composition patterns in the composition database;
acquiring a target example picture in the target composition mode from the composition database; the target example picture is any one example picture in the target composition mode.
3. The method according to claim 1 or 2, wherein the outputting the target example picture in the preview interface of the terminal comprises:
positioning a prompting area in a preview interface of the terminal, wherein the prompting area is an area for composition prompting divided in the preview interface of the terminal;
and displaying the target example picture in the prompt area.
4. The method according to claim 2, wherein after outputting the target example picture in a preview interface of the terminal, further comprising:
and if a shooting event is detected, storing the preview image currently displayed on the preview interface according to the target composition mode.
5. The method of claim 4, wherein if a shooting event is detected, before storing the preview image currently displayed by the preview interface in the target composition mode, further comprising:
judging whether the terminal loads the target composition mode or not;
and if not, loading the target composition mode in the terminal.
6. The method of claim 5, wherein the target patterning pattern comprises two or more patterning patterns;
and if the shooting event is detected, storing the preview image currently displayed on the preview interface according to the target composition mode, wherein the storing comprises the following steps:
if a shooting event is detected, randomly selecting a composition mode from the target composition modes;
and storing the preview image currently displayed by the preview interface according to the composition mode selected randomly.
7. The method of claim 5, wherein the target patterning pattern comprises two or more patterning patterns;
and if the shooting event is detected, storing the preview image currently displayed on the preview interface according to the target composition mode, wherein the storing comprises the following steps:
if a shooting event is detected, receiving an instruction of selecting one composition mode from the target composition modes by a user;
and storing the preview image currently displayed by the preview interface according to the composition mode selected by the user.
8. An image processing apparatus, comprising:
a first obtaining unit, configured to obtain attribute information of a preview image in a preview interface of a terminal, where the attribute information of the preview image includes: color value, brightness value and depth of field;
a determining unit, configured to determine a shooting scene of the terminal according to attribute information of the preview image;
the second acquisition unit is used for acquiring a target example picture matched with a shooting scene of the terminal;
the output unit is used for outputting the target example picture in a preview interface of the terminal;
the determining unit is specifically configured to obtain a scene database, where the scene database includes at least one identifier of a shooting scene and configuration information of each shooting scene, and the configuration information includes: determining shooting scenes of the terminal according to attribute information of the preview image and configuration information of each shooting scene in the scene database;
in the aspect of determining the shooting scene of the terminal according to the attribute information of the preview image and the configuration information of each shooting scene in the scene database, the determining unit is specifically configured to:
judging whether the color value is contained in the color range of the first shooting scene according to the color value of the preview image;
if yes, judging whether the brightness value is contained in the brightness range of the first shooting scene according to the brightness value of the preview image;
if yes, judging whether the depth of field value is contained in the depth of field range of the first shooting scene according to the depth of field value of the preview image;
if yes, determining the first shooting scene as the shooting scene of the terminal.
9. A terminal, comprising:
a processor adapted to implement one or more instructions; and
a memory space storing one or more instructions adapted to be loaded by the processor and to perform the image processing method of any one of claims 1-7.
CN201910292999.4A 2019-04-10 2019-04-10 Image processing method, device and terminal Active CN109981990B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910292999.4A CN109981990B (en) 2019-04-10 2019-04-10 Image processing method, device and terminal
PCT/CN2019/104890 WO2020206925A1 (en) 2019-04-10 2019-09-09 Image processing method and device, and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910292999.4A CN109981990B (en) 2019-04-10 2019-04-10 Image processing method, device and terminal

Publications (2)

Publication Number Publication Date
CN109981990A CN109981990A (en) 2019-07-05
CN109981990B true CN109981990B (en) 2023-07-28

Family

ID=67084255

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910292999.4A Active CN109981990B (en) 2019-04-10 2019-04-10 Image processing method, device and terminal

Country Status (2)

Country Link
CN (1) CN109981990B (en)
WO (1) WO2020206925A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109981990B (en) * 2019-04-10 2023-07-28 深圳传音通讯有限公司 Image processing method, device and terminal

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297697A (en) * 2013-05-30 2013-09-11 北京小米科技有限责任公司 Method and device for displaying template pictures during photographing
CN103945129A (en) * 2014-04-30 2014-07-23 深圳市中兴移动通信有限公司 Photographing-preview picture composition instruction method and system based on mobile terminal
CN104935810A (en) * 2015-05-29 2015-09-23 努比亚技术有限公司 Photographing guiding method and device
CN106101536A (en) * 2016-06-22 2016-11-09 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN107509032A (en) * 2017-09-08 2017-12-22 维沃移动通信有限公司 One kind is taken pictures reminding method and mobile terminal
CN107580184A (en) * 2017-10-31 2018-01-12 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN108347559A (en) * 2018-01-05 2018-07-31 深圳市金立通信设备有限公司 A kind of image pickup method, terminal and computer readable storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009212802A (en) * 2008-03-04 2009-09-17 Fujifilm Corp Imaging apparatus with composition assisting function, and composition assisting method of the same imaging apparatus
CN104301613B (en) * 2014-10-16 2016-03-02 深圳市中兴移动通信有限公司 Mobile terminal and image pickup method thereof
CN105827936B (en) * 2015-08-28 2019-06-07 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN106101547A (en) * 2016-07-06 2016-11-09 北京奇虎科技有限公司 The processing method of a kind of view data, device and mobile terminal
US10847073B2 (en) * 2016-10-17 2020-11-24 Huawei Technologies Co., Ltd. Image display optimization method and apparatus
CN108513066A (en) * 2018-03-28 2018-09-07 努比亚技术有限公司 It takes pictures composition guidance method, mobile terminal and storage medium
CN109547694A (en) * 2018-11-29 2019-03-29 维沃移动通信有限公司 A kind of image display method and terminal device
CN109981990B (en) * 2019-04-10 2023-07-28 深圳传音通讯有限公司 Image processing method, device and terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297697A (en) * 2013-05-30 2013-09-11 北京小米科技有限责任公司 Method and device for displaying template pictures during photographing
CN103945129A (en) * 2014-04-30 2014-07-23 深圳市中兴移动通信有限公司 Photographing-preview picture composition instruction method and system based on mobile terminal
CN104935810A (en) * 2015-05-29 2015-09-23 努比亚技术有限公司 Photographing guiding method and device
CN106101536A (en) * 2016-06-22 2016-11-09 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN107509032A (en) * 2017-09-08 2017-12-22 维沃移动通信有限公司 One kind is taken pictures reminding method and mobile terminal
CN107580184A (en) * 2017-10-31 2018-01-12 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN108347559A (en) * 2018-01-05 2018-07-31 深圳市金立通信设备有限公司 A kind of image pickup method, terminal and computer readable storage medium

Also Published As

Publication number Publication date
WO2020206925A1 (en) 2020-10-15
CN109981990A (en) 2019-07-05

Similar Documents

Publication Publication Date Title
CN103152489B (en) A kind of exhibiting method of image of autodyning and device
US11503205B2 (en) Photographing method and device, and related electronic apparatus
CN105320695B (en) Picture processing method and device
CN107071272B (en) Method and device for controlling brightness of camera fill-in light and terminal
US20170163878A1 (en) Method and electronic device for adjusting shooting parameters of camera
US10298899B2 (en) Image processing device, imaging device, image processing method, and program
CN104539844A (en) Terminal
KR101949832B1 (en) Picture displaying method, apparatus and terminal device
US11825040B2 (en) Image shooting method and device, terminal, and storage medium
CN104834382B (en) Application program for mobile terminal response system and method
CN109218609B (en) Image composition method and device
CN105681675A (en) Mobile terminal, and shooting mode setting method and device
CN104580891A (en) Method for terminal to take images
CN105005599A (en) Photograph sharing method and mobile terminal
US9641768B2 (en) Filter realization method and apparatus of camera application
WO2015184896A1 (en) Image classification method, device, and smart terminal
CN109981990B (en) Image processing method, device and terminal
US20190349535A1 (en) Intelligent photographing method and apparatus, and intelligent terminal
CN111567034A (en) Exposure compensation method, device and computer readable storage medium
WO2016079609A1 (en) Generation apparatus and method for evaluation information, electronic device and server
CN112991157B (en) Image processing method, image processing device, electronic equipment and storage medium
WO2019061050A1 (en) Filter effect display method and device, and mobile terminal
CN116134828A (en) Photographing method, related equipment and computer readable storage medium
CN113989387A (en) Camera shooting parameter adjusting method and device and electronic equipment
KR20190026636A (en) Apparatus and Method of Image Support Technology Using OpenCV

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