CN114845044A - Image processing method, intelligent terminal and storage medium - Google Patents

Image processing method, intelligent terminal and storage medium Download PDF

Info

Publication number
CN114845044A
CN114845044A CN202210295445.1A CN202210295445A CN114845044A CN 114845044 A CN114845044 A CN 114845044A CN 202210295445 A CN202210295445 A CN 202210295445A CN 114845044 A CN114845044 A CN 114845044A
Authority
CN
China
Prior art keywords
image
area
preset
image processing
parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210295445.1A
Other languages
Chinese (zh)
Other versions
CN114845044B (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.)
Shanghai Chuanying Information Technology Co Ltd
Original Assignee
Shanghai Chuanying Information Technology 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 Shanghai Chuanying Information Technology Co Ltd filed Critical Shanghai Chuanying Information Technology Co Ltd
Priority to CN202210295445.1A priority Critical patent/CN114845044B/en
Publication of CN114845044A publication Critical patent/CN114845044A/en
Application granted granted Critical
Publication of CN114845044B publication Critical patent/CN114845044B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/95Computational photography systems, e.g. light-field imaging systems
    • H04N23/951Computational photography systems, e.g. light-field imaging systems by using two or more images to influence resolution, frame rate or aspect ratio
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/71Circuitry for evaluating the brightness variation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/73Circuitry for compensating brightness variation in the scene by influencing the exposure time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/73Colour balance circuits, e.g. white balance circuits or colour temperature control

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Studio Devices (AREA)

Abstract

The application discloses an image processing method, an intelligent terminal and a storage medium. The image processing method comprises the following steps: acquiring a first image after processing an original image; responding to a preset instruction, and acquiring a second image processing parameter; and carrying out image processing on the first image or at least one second area of the first image according to the second image processing parameter to obtain a target image. According to the image processing method, the intelligent terminal and the storage medium, the first image is obtained after the shot image is processed for the first time, if the processing effect of the first image does not achieve the expected effect, the second image processing parameter is obtained, and then the second processing is carried out on the first image or at least one second area of the first image according to the second image processing parameter, so that the finally obtained target image achieves the expected effect, the user requirements are met, and the user experience is improved.

Description

Image processing method, intelligent terminal and storage medium
Technical Field
The present application relates to the field of image processing technologies, and in particular, to an image processing method, an intelligent terminal, and a storage medium.
Background
With the development of terminal technology, people pay more and more attention to the photographing effect of the terminal equipment when selecting the terminal equipment, and the requirement on the image processing technology of the terminal equipment is higher and higher.
In the course of conceiving and implementing the present application, the inventors found that at least the following problems existed: the current image processing technology cannot completely process according to the color distribution condition of the actual complex scene in the processing process, and/or the processing process is full-automatic, and cannot make corresponding adjustment according to the preference of a user.
The foregoing description is provided for general background information and is not admitted to be prior art.
Disclosure of Invention
In view of the above technical problems, the present application provides an image processing method, an intelligent terminal and a storage medium, which can enable a target image to achieve an expected effect, meet user requirements, and improve user experience.
In order to solve the above technical problem, the present application provides an image processing method, including the steps of:
s11, acquiring a first image after the original image is processed;
s12, responding to a preset instruction, and acquiring a second image processing parameter;
s13, performing image processing on the first image or at least one second area of the first image according to the second image processing parameter to obtain a target image.
Optionally, the step of S11 includes:
acquiring a first image processing parameter aiming at the original image;
and carrying out image processing on the original image according to the first image processing parameter to obtain the first image.
Optionally, the first image processing parameter and/or the second image processing parameter comprises at least one of:
white balance gain parameters, aperture adjustment parameters, shutter adjustment parameters, and sensitivity adjustment parameters.
Optionally, the step of S12 includes:
responding to the preset instruction, determining a first area of the first image, and taking an image parameter of the first area as the second image processing parameter; and/or the presence of a gas in the gas,
and responding to the preset instruction, acquiring a first preset feature of the first image, and taking an image parameter corresponding to the first preset feature as the second image processing parameter.
Optionally, the determining, in response to the preset instruction, the first region of the first image includes at least one of:
determining a first area selected in the first image in response to a first operation instruction;
responding to a second operation instruction to output first preset information, and taking the area determined according to the first preset information as the first area;
and when the second preset characteristic of the first image does not meet the preset condition, outputting a secondary processing prompt, responding to a secondary processing instruction, and determining the first area.
Optionally, the second preset feature of the first image not meeting the preset condition includes at least one of:
the white balance gain parameter of the first image does not reach a corresponding preset threshold value;
the brightness parameter of the first image does not reach a corresponding preset threshold value;
and the gray scale parameter of the first image does not reach the corresponding preset threshold value.
Optionally, the manner of determining the second region of the first image in S13 includes at least one of the following:
responding to a third operation instruction, and determining at least one selected second area in the first image;
responding to a fourth operation instruction to pop up second preset information, wherein the second preset information is used for identifying each area in the first image, and determining the area selected according to the second preset information as the second area;
and identifying a preset object in the first image, and determining a region of the preset object in the first image as the second region.
Optionally, the image processing method further comprises:
displaying an identifier in the first image, wherein the identifier is used for identifying the first area and/or the second area;
determining a manner of the first region and/or the second region, further comprising:
and determining the first area and/or the second area in response to the operation instruction of the identification.
Optionally, after the image processing is performed on at least one second region of the first image according to the second image processing parameter, the method further includes:
determining a coordinate point of the second region in the first image;
acquiring preset image parameters of coordinate points around the coordinate points in a preset image;
and carrying out image processing on the area around the second area according to the preset image parameters.
The application also provides an intelligent terminal, including: the image processing method comprises a memory and a processor, wherein the memory stores an image processing program, and the image processing program realizes the steps of the image processing method according to any one of the above items when being executed by the processor.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the image processing method as set forth in any one of the above.
As described above, the image processing method of the present application performs a first processing on a captured image to obtain a first image, obtains a second image processing parameter if a processing effect of the first image does not achieve an expected effect, and performs a second processing on the first image or at least one second region of the first image according to the second image processing parameter, so that a finally obtained target image achieves the expected effect, meets a user requirement, and improves a user experience.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required to be used in the description of the embodiments will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive step.
Fig. 1 is a schematic diagram of a hardware structure of an intelligent terminal implementing various embodiments of the present application;
fig. 2 is a communication network system architecture diagram according to an embodiment of the present application;
fig. 3 is a schematic flowchart of an image processing method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of step S11 provided in this embodiment of the present application;
fig. 5 is a schematic flowchart of another image processing method according to an embodiment of the present application;
fig. 6 is a schematic diagram of a first terminal interface provided in the embodiment of the present application;
fig. 7 is a schematic diagram of a second terminal interface provided in the embodiment of the present application;
fig. 8 is a schematic diagram of a third terminal interface provided in the embodiment of the present application;
fig. 9 is a schematic diagram of a fourth terminal interface provided in the embodiment of the present application;
fig. 10 is a schematic diagram of a fifth terminal interface provided in the embodiment of the present application;
fig. 11 is a schematic diagram of a sixth terminal interface provided in the embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings. With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. These drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the inventive concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the recitation of an element by the phrase "comprising an … …" does not exclude the presence of additional like elements in the process, method, article, or apparatus that comprises the element, and optionally, identically named components, features, and elements in different embodiments of the present application may have different meanings, as may be determined by their interpretation in the embodiment or by their further context within the embodiment.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope herein. The word "if," as used herein, may be interpreted as "at … …" or "when … …" or "in response to a determination," depending on the context. Also, as used herein, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes" and/or "including," when used in this specification, specify the presence of stated features, steps, operations, elements, components, items, species, and/or groups, but do not preclude the presence, or addition of one or more other features, steps, operations, elements, components, species, and/or groups thereof. The terms "or," "and/or," "including at least one of the following," and the like, as used herein, are to be construed as inclusive or mean any one or any combination. For example, "includes at least one of: A. b, C "means" any of the following: a; b; c; a and B; a and C; b and C; a and B and C ", again for example," A, B or C "or" A, B and/or C "means" any of the following: a; b; c; a and B; a and C; b and C; a and B and C'. An exception to this definition will occur only when a combination of elements, functions, steps or operations are inherently mutually exclusive in some way.
It should be understood that, although the steps in the flowcharts in the embodiments of the present application are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least some of the steps in the figures may be multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed sequentially, but may be performed alternately or at least partially with other steps or sub-steps of other steps.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrase "if determined" or "if detected (a stated condition or event)" may be interpreted as "upon determining" or "in response to determining" or "upon detecting (a stated condition or event)" or "in response to detecting (a stated condition or event)", depending on the context.
It should be noted that step numbers such as S11 and S12 are used herein for the purpose of more clearly and briefly describing the corresponding contents, and do not constitute a substantial limitation on the sequence, and those skilled in the art may perform S12 first and then perform S11 in the specific implementation, which should be within the scope of the present application.
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for the convenience of description of the present application, and have no specific meaning in themselves. Thus, "module", "component" or "unit" may be used mixedly.
The smart terminal may be implemented in various forms. For example, the smart terminal described in the present application may be a smart terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
While the following description will be given by way of example of a smart terminal, those skilled in the art will appreciate that the configuration according to the embodiments of the present application can be applied to a fixed type terminal in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of an intelligent terminal for implementing various embodiments of the present application, the intelligent terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the intelligent terminal architecture shown in fig. 1 does not constitute a limitation of the intelligent terminal, and that the intelligent terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
The following specifically describes each component of the intelligent terminal with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex-Long Term Evolution), TDD-LTE (Time Division duplex-Long Term Evolution, Time Division Long Term Evolution), 5G, and so on.
WiFi belongs to short-distance wireless transmission technology, and the intelligent terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the smart terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the smart terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the smart terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may be a speaker, a buzzer, or the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and can process such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The smart terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Optionally, the light sensor includes an ambient light sensor and a proximity sensor, the ambient light sensor may adjust the brightness of the display panel 1061 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 1061 and/or the backlight when the smart terminal 100 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the intelligent terminal. Alternatively, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Optionally, the touch detection device detects a touch orientation of a user, detects a signal caused by a touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Optionally, the other input devices 1072 may be, but are not limited to, one or more of a physical keyboard, a function key (such as a volume control key, a switch key, etc.), a track ball, a mouse, a joystick, etc., and are not limited to these specific examples.
Alternatively, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the smart terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the smart terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the smart terminal 100. For example, the external device may be a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, or the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the smart terminal 100 or may be used to transmit data between the smart terminal 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a program storage area and a data storage area, and optionally, the program storage area may store an operating system, an application program (such as a sound playing function, an image playing function, and the like) required by at least one function, and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may be a high speed random access memory, but may also be a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the intelligent terminal, connects various parts of the entire intelligent terminal using various interfaces and lines, and performs various functions of the intelligent terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the intelligent terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor, optionally, the application processor mainly handles operating systems, user interfaces, application programs, etc., and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The intelligent terminal 100 may further include a power supply 111 (such as a battery) for supplying power to each component, and preferably, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
Although not shown in fig. 1, the smart terminal 100 may further include a bluetooth module or the like, which is not described herein.
In order to facilitate understanding of the embodiments of the present application, a communication network system on which the intelligent terminal of the present application is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present disclosure, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Optionally, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Alternatively, the eNodeB2021 may be connected with other enodebs 2022 through a backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. Optionally, the MME2031 is a control node that handles signaling between the UE201 and the EPC203, providing bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP service 204 may be the internet, an intranet, an IMS (IP Multimedia Subsystem), or other IP service, etc.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present application is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems (e.g. 5G), and the like.
Based on the above intelligent terminal hardware structure and communication network system, various embodiments of the present application are provided.
For the convenience of understanding, a specific application scenario of the embodiment of the present application is first introduced. With the development of terminal technology, people pay more and more attention to the shooting effect of terminal equipment when selecting the terminal equipment, and the requirement on the image processing technology of the terminal equipment is higher and higher.
Taking the white balance processing technique of an image as an example, if the color temperature of a light source in a shooting scene is at a low/medium color temperature, more red gain compensation is performed, which may cause the shot image to be reddish. If the color temperature of the light source in the shooting scene is at a high color temperature, the blue gain compensation is more, which causes the shot image to be blue. That is, when the camera takes an image, the color temperature of the light source in the scene may be affected, which may cause a certain programmed deviation of the colors of the taken image. In order to make the color of the image shot by the camera consistent with the color of the scene received by human eyes, the white balance processing technology can perform white balance compensation on the image, namely, the deviation of the color of the image is corrected.
However, when the white balance processing technology performs white balance compensation, the white balance gain value is adjusted according to the proportion weight of each light source with different color temperature in the scene, and the processing cannot be completely performed according to the color distribution condition of the actual complex scene in the adjustment process, and the white balance processing process is fully automatic and cannot be adjusted correspondingly according to the preference of the user.
Based on this, an embodiment of the present application provides an image processing method, an intelligent terminal, and a storage medium, where a first image is obtained after a first image processing is performed on a captured image, a second image processing parameter is obtained if a processing effect of the first image does not achieve an expected effect, and then a second image processing is performed on the first image or a second region of the first image according to the second image processing parameter, so that a finally obtained target image achieves the expected effect, a user demand is met, and a user experience is improved.
The technical means shown in the present application will be described in detail below with reference to specific examples. It should be noted that the following embodiments may exist alone or in combination with each other, and description of the same or similar contents is not repeated in different embodiments.
An embodiment of the present application provides an image processing method. Fig. 3 is a schematic flowchart of an image processing method according to an embodiment of the present application. Referring to fig. 3, the image processing method may include:
and S11, acquiring a first image processed by the original image.
The execution main body of the embodiment of the application can be an intelligent terminal, a control device arranged in the intelligent terminal, and a non-mobile terminal. Alternatively, the control means may be implemented by software, or by a combination of software and hardware.
Optionally, the original image may be an image shot by a camera of the intelligent terminal, or an image sent to the intelligent terminal by other terminal devices. After the intelligent terminal shoots or receives the original image, the original image is processed to obtain a first image.
Alternatively, the processing of the original image may be white balance compensation processing, or may be other image processing. Optionally, the adjustment processing may also be performed on a camera of the smart terminal, and optionally, the adjustment processing may be aperture adjustment processing, shutter adjustment processing, sensitivity adjustment processing, or the like. Adjusting the camera is equivalent to processing the captured original image.
Fig. 4 is a schematic flowchart of step S11 provided in this embodiment of the present application. Referring to fig. 4, the step S11 may include:
s111, acquiring a first image processing parameter aiming at an original image;
and S112, carrying out image processing on the original image according to the first image processing parameter to obtain a first image.
Alternatively, taking white balance processing as an example, the process of performing white balance processing on the original image may be: and performing white balance operation on the original image to obtain a white balance gain value (namely a first image processing parameter) of the original image, and performing white balance compensation processing on the original image according to the white balance gain value to obtain a compensated first image.
It should be explained that the purpose of the white balance gain value is mainly to "restore a white object to white regardless of any light source", and compensate for the color cast phenomenon occurring when a picture is taken under a specific light source by enhancing the corresponding complementary color. Therefore, the white balance gain value can be understood as a complementary color parameter required to restore a white object in the photographed original image to white. Alternatively, the white balance compensation process may use an existing white balance compensation algorithm, such as a gray world algorithm, a perfect reflection algorithm, and the like, which is not described herein.
Optionally, as described above, if the camera of the intelligent terminal is adjusted, the first image processing parameter may be at least one of: aperture adjustment parameters, shutter adjustment parameters, and sensitivity adjustment parameters. And adjusting the camera of the intelligent terminal according to at least one parameter of the aperture adjustment parameter, the shutter adjustment parameter and the sensitivity adjustment parameter, and shooting an image by using the adjusted camera to obtain a first image.
And S12, responding to a preset instruction, and acquiring a second image processing parameter.
If the effect of the first image obtained by processing the original image in the step S11 does not achieve the desired effect, the second image processing parameter may be obtained, and the second image processing may be performed on the processed first image, so that the finally obtained target image achieves the desired effect.
Optionally, the second image processing parameter may be at least one of: white balance gain parameters, aperture adjustment parameters, shutter adjustment parameters, and sensitivity adjustment parameters.
Fig. 5 is a flowchart illustrating another image processing method according to an embodiment of the present application. Referring to fig. 5, the S12 step may include:
and responding to a preset instruction, determining a first area of the first image, and acquiring image parameters of the first area as second image processing parameters.
Optionally, the terminal may respond to the preset instruction, determine a first region of the corresponding first image according to the preset instruction, and then perform operation on the first region to obtain an image parameter of the first region, which is used as a second image processing parameter.
Optionally, in response to a preset instruction, determining the first region of the first image may include at least one of the following manners:
(1) and determining the selected first area in the first image in response to the first operation instruction.
Optionally, the first operation instruction may be an instruction formed by a user performing a touch operation on the terminal, or may be an instruction formed by a user performing a voice control on the terminal. The touch operation can be a sliding operation such as an up sliding operation, a down sliding operation, a left sliding operation, a right sliding operation and the like on the terminal display screen, a click operation such as a single click operation and a multi-click operation on the terminal display screen, and a long pressing operation for enabling the touch time of the terminal display screen to meet a preset duration. The touch may be a finger touch or a touch with a touch tool such as a stylus pen. The touch area can be a preset area on a display screen of the terminal, can be a middle area of the display screen, and can also be an edge area of the display screen. And the terminal receives the touch operation through the display screen and analyzes the touch operation to obtain a corresponding instruction. The voice control may be that the user sends a piece of voice, and the terminal receives the voice through the microphone and parses the voice to obtain a corresponding instruction. And the terminal responds to the first operation instruction and determines a first area of the first image.
Optionally, taking white balance processing as an example, after the camera of the terminal captures the image, white balance processing is performed first by using a white balance algorithm to obtain a first image. And if the effect of the first image after the white balance processing does not reach the expected effect, the user can click any position or area on the display screen of the terminal, and the terminal responds to the click operation instruction and determines the area clicked by the user as the first area. Or, the user may swipe the terminal display screen upwards, and the terminal determines a preset area in the first image as the first area in response to the swipe operation instruction, for example, determines a white area or a black area in the first image as the first area. The determined white balance gain value of the first region is then acquired as a second image processing parameter.
Alternatively, in a scene with warm color such as a mall, the face of a person in an original image photographed by the terminal is prone to be reddish (or yellowish). The terminal performs automatic white balance processing on the shot original image once to obtain a first image. If the user still feels that the face in the first image is reddish, the user can click a white area (or a light-colored area) in the first image, and the terminal determines the white area clicked by the user as the first area. The terminal acquires a white balance gain value of the white area as a second image processing parameter.
Optionally, when shooting sunset, the terminal performs an automatic white balance process on the shot original image once to obtain a first image. Fig. 6 is a schematic diagram of a first terminal interface provided in the embodiment of the present application. Referring to fig. 6, the image in the terminal interface is a first image, and if the user wants the image to have a deep sunset artistic effect, the user can click on a dark region (or a black region) in the first image, and the terminal determines the dark region clicked by the user as the first region. And the terminal acquires the white balance gain value of the dark color area as a second image processing parameter.
(2) And responding to the second operation instruction to pop up first preset information, wherein the first preset information is used for identifying each area in the first image, and the area selected according to the first preset information is determined to be used as the first area.
Fig. 7 is a schematic diagram of a second terminal interface provided in the embodiment of the present application. Referring to fig. 7, the terminal interface is a shooting interface. Optionally, the shooting interface may preset a plurality of shooting modes, including but not limited to: an automatic white balance mode, a whitening mode, a face whitening mode, a darkness mode, a background darkness mode, etc. When shooting an image, a user can click the upper right corner of a shooting interface, and the terminal responds to the click operation instruction (namely, the second operation instruction) and pops up first preset information. Alternatively, the first preset information may pop up in a pull-down menu manner. The first preset information is used for identifying each area in the first image, for example, the automatic white balance mode, the whitening mode and the darkness mode may identify the whole area of the first image, the face whitening mode may identify the face area in the first image, and the background darkness mode may identify the background area in the first image. The user can click and select any one of the modes, the terminal determines the area selected by the user according to the mode selected by the user, optionally, the user clicks and selects the face whitening mode, the terminal determines the area selected by the user to be a face area, and the face area in the first image is used as the first area.
Alternatively, in a scene with warm color such as a mall, the face of a person in an original image photographed by the terminal is prone to be reddish (or yellowish). The user can click on the shooting interface to select the whitening mode or the face whitening mode. After a camera of the terminal shoots an image, the shot original image is subjected to automatic white balance processing once to obtain a first image. Since the user selects the whitening mode or the face whitening mode, the terminal automatically selects a white area (or a light area) in the first image as the first area. The terminal acquires a white balance gain value of the white area as a second image processing parameter.
Alternatively, when photographing sunset, if the user desires the image to have a deep sunset art effect, the user may click to select the darkness mode or the background darkness mode in the photographing interface. After a camera of the terminal shoots an image, the shot original image is subjected to automatic white balance processing once to obtain a first image. Since the user selects the dark mode or the background dark mode, the terminal automatically selects a dark region (or a black region) in the first image as the first region. And acquiring a white balance gain value of the dark color area as a second image processing parameter.
(3) And generating a corresponding secondary processing instruction when detecting that the second preset characteristic of the first image does not meet the preset condition, and determining the first area in the first image in response to the secondary processing instruction.
Alternatively, the second preset feature may include a white balance gain parameter, a luminance parameter, a gray scale parameter, and the like.
Optionally, the second preset feature of the first image not satisfying the preset condition may include at least one of:
the white balance gain parameter of the first image does not reach a corresponding preset threshold value;
the brightness parameter of the first image does not reach a corresponding preset threshold value;
the gray scale parameter of the first image does not reach the corresponding preset threshold value.
Alternatively, the failure to reach the corresponding preset threshold may be below the preset threshold or exceeding the preset threshold. And the terminal detects the first image, and generates a corresponding secondary processing instruction for carrying out secondary processing on the first image when detecting that at least one parameter of the first image, such as a white balance gain parameter, a brightness parameter, a gray parameter and the like, does not reach a corresponding preset threshold value. The terminal responds to the secondary processing instruction and determines a first area in the first image.
Alternatively, in a warm-color scene such as a mall, the face of a person in an original image captured by a terminal is prone to be reddish (or yellowish), and it is necessary to reduce the white balance gain value in the red channel of the image (i.e., red reduction processing). The terminal performs automatic white balance processing on the shot original image once to obtain a first image. The terminal detects image parameters of the first image, optionally white balance gain values of the first image. If the white balance gain value in the red channel of the first image is detected to exceed the preset threshold (which indicates that the first image is still reddish), the terminal generates a secondary processing instruction, and the secondary processing instruction is used for reducing the white balance gain value of the red channel of the first image. The terminal responds to the secondary processing instruction, and automatically selects an area with a smaller R value (which can be an area with the R value smaller than a preset threshold value) in the first image as the first area. And the terminal acquires the white balance gain value of the first area as a second image processing parameter.
Optionally, the S12 step may include:
and responding to the preset instruction, acquiring a first preset characteristic of the first image, comparing the first image with the image in the preset material library, and acquiring an image parameter of the image with the first preset characteristic as a second image processing parameter.
Optionally, the first preset feature may include scene information. The terminal can preset a material library, wherein the material library comprises a plurality of images of different scenes, and each image has a fixed white balance gain value. After a camera of the terminal shoots an image, the shot original image is subjected to automatic white balance processing once to obtain a first image. The method comprises the steps of obtaining scene information of a first image, comparing the first image with images in a preset material library, determining one image with the same or similar scene information, such as a landscape image or a face image, and automatically determining image parameters (such as a white balance gain value) of the image as second image processing parameters, so that a user does not need to select an area, and the image processing efficiency is higher.
And S13, performing image processing on the first image or at least one second area of the first image according to the second image processing parameter to obtain a target image.
Optionally, the terminal may process the first image the same as the original image, so as to ensure the effect of the final image to the maximum extent. Optionally, after the terminal shoots or receives the original image, the first image is obtained after the original image is subjected to white balance processing for one time. And acquiring a second image processing parameter, and performing white balance processing on the first image again to obtain a target image. Through the two white balance treatments, the effect of the finally obtained target image on the white balance treatment can be ensured to the maximum extent.
Optionally, after the terminal acquires the second image processing parameter, the terminal may process the entire first image according to the second image processing parameter, or may process only at least one second region of the first image. Fig. 8 is a schematic diagram of a third terminal interface provided in the embodiment of the present application. Referring to fig. 8, after the user clicks and selects the first area, the terminal interface may pop up a selection box, where the selection box includes two options, namely "process the whole image" and "process the selected area".
And when the user selects the option of processing the whole image, the terminal processes the whole image of the first image according to the second image processing parameter.
Alternatively, in a scene with warm color such as a mall, the face of a person in an original image photographed by the terminal is prone to be reddish (or yellowish). The terminal performs automatic white balance processing on the shot original image once to obtain a first image. If the user still feels that the face in the first image is reddish, the user can click a white area (or a light-colored area) in the first image, and the terminal determines the white area clicked by the user as the first area. The terminal acquires a white balance gain value of the white area as a second image processing parameter. When the user selects the option of processing the whole image, the terminal performs secondary white balance processing on the whole first image according to the second image processing parameters, so that the first image and the face in the first image are white, the user requirements are met, and the user experience is improved.
Optionally, when shooting sunset, the terminal performs an automatic white balance process on the shot original image once to obtain a first image. Fig. 9 is a schematic diagram of a fourth terminal interface provided in the embodiment of the present application. Referring to fig. 9, the left image is the first image, and if the user wants the image to have a deep sunset artistic effect, the user can click on a dark region (or black region) in the first image, and the terminal determines the dark region clicked by the user as the first region. And the terminal acquires the white balance gain value of the dark color area as a second image processing parameter. When the user selects the option of 'processing the whole image', the terminal performs secondary white balance processing on the whole image of the first image according to the second image processing parameter to obtain the target image in the right shooting interface, so that the finally obtained target image has a deep sunset artistic effect, the user requirements are met, and the user experience is improved.
Alternatively, the manner of determining the second region of the first image in the step of S13 may include at least one of the following manners:
(1) and determining at least one second area selected in the first image in response to the third operation instruction.
Optionally, fig. 10 is a schematic view of a fifth terminal interface provided in the embodiment of the present application. Referring to fig. 10, the user first clicks on the dark region in the first image to determine the dark region as the first region. The terminal acquires a white balance gain value of the first region. When the user selects the option of 'select area processing', the terminal interface starts to acquire the selection operation of the user. The user can slide on the terminal display screen through a finger or a touch tool, and the terminal responds to a sliding operation instruction (namely a third operation instruction) and determines at least one second area selected by the user in the first image according to a sliding track (shown by a dotted line in the figure). It can be seen that the second region is primarily the background region excluding the region where sunset is located. The user clicks a completion button below the first image, and the terminal only carries out the darkness processing on the background area selected by the user according to the second image processing parameters, so that the background area of the image has a deep sunset artistic effect, the darkness of the sunset area can be avoided, the user requirements are met, and the user experience is improved.
(2) Responding to the fourth operation instruction to pop up second preset information, wherein the second preset information is used for identifying each area in the first image, and determining the area selected according to the second preset information as the second area.
Optionally, as described above, the shooting interface of the terminal may preset a plurality of shooting modes, including but not limited to: an automatic white balance mode, a whitening mode, a face whitening mode, a darkness mode, a background darkness mode, etc. When shooting an image, a user can click the upper right corner of the shooting interface, and the terminal responds to the click operation instruction (namely, a fourth operation instruction) to pop up second preset information. Alternatively, the second preset information may pop up in a pull-down menu manner. The second preset information is used for identifying each area in the first image, for example, the automatic white balance mode, the whitening mode and the darkness mode may identify the whole area of the first image, the face whitening mode may identify the face area in the first image, and the background darkness mode may identify the background area in the first image. The user can click and select any one of the modes, the terminal determines the area selected by the user according to the mode selected by the user, optionally, the user clicks and selects the face whitening mode, the terminal determines that the area selected by the user is a face area, and the face area in the first image is used as the second area. When a plurality of face areas exist in the first image, the plurality of face areas are all determined as the second areas so that the plurality of face areas can be processed for the second time, system consumption is saved, and user operation convenience is improved.
Alternatively, referring to the description of fig. 7, when the user selects the face whitening mode, the terminal automatically selects a white area (or a light area) in the first image as the first area. Optionally, the terminal may simultaneously determine the face region in the first image as the second region, so that manual selection by a user is not required, and the image processing efficiency is improved. The terminal obtains a white balance gain value of the white area as a second image processing parameter, and automatically performs secondary whitening adjustment on the face area according to the second image processing parameter, so that the original color of the background area in the first image can be reserved, the effect of the target image is ensured, the user requirement is met, and the user experience is improved.
Alternatively, referring to the description of fig. 7, when the user selects the background darkness mode, the terminal automatically selects a dark region (or a black region) in the first image as the first region. Optionally, the terminal may determine the second region of the background region (the region other than the face region, the object region, and the like) in the first image at the same time, without manual selection by the user, so as to improve the image processing efficiency. The terminal obtains the white balance gain value of the dark color region as a second image processing parameter, and secondary dark adjustment is automatically carried out on the background region according to the second image processing parameter, so that the target image has a deep sunset artistic effect, the face region and the object region can be prevented from being dark, the user requirements are met, and the user experience is improved.
(3) And identifying a preset object in the first image, and determining a region of the preset object in the first image as a second region.
Alternatively, taking a smart phone as an example, a script or application may be preprogrammed and installed in the operating system of the smart phone. Therefore, options such as 'face whitening' and 'background darkness' can be added in the camera setting of the smart phone, and the option can be opened or closed by sliding the slider, namely the function can be correspondingly opened or closed. After the option is started, the smart phone shoots an original image and processes the original image to obtain a first image, a preset object in the first image can be automatically identified, and an area of the preset object in the first image is determined to be used as a second area. Optionally, after the "face whitening" option is turned on, the face in the first image is automatically recognized, and the region of the face in the first image is determined as the second region.
Optionally, the image processing method may further include:
displaying a logo in the first image, the logo being used to identify the first region and/or the second region.
Referring to fig. 6 to 10, the first area may be marked by a dotted line; referring to fig. 10, the second area may also be marked by a dotted line, so that the user can intuitively know whether to select the first area and/or the second area by mistake. Optionally, the first area and/or the second area may also be identified in other forms, which is not specifically limited in this embodiment.
Optionally, the determining the first area and/or the second area may further include:
and determining the first area and/or the second area in response to the operation instruction for the identification.
Optionally, when the first area and/or the second area are identified by using the dashed line, if the user feels that the first area and/or the second area are/is deviated or the first area and/or the second area are selected incorrectly due to operation errors, the first area and/or the second area may be determined again by operating the dashed line. Alternatively, the user may move the dotted line as a whole, or zoom in or zoom out, to adjust the first area and/or the second area. And the terminal responds to the operation instruction of the dotted line and re-determines the first area and/or the second area so as to further improve the image processing effect.
Fig. 11 is a schematic diagram of a sixth terminal interface according to an embodiment of the present application. Referring to fig. 11, optionally, after the terminal determines the first area, the image parameter of the first area may also be displayed on the terminal interface, so as to prompt the user. Optionally, after the user selects the background dark mode in the shooting interface and the terminal automatically selects the dark region in the first image as the first region, the terminal display interface displays the white balance gain value of the selected dark region as (141, 140, 131), and may display a text prompt "dark processing will be performed on the background region of the image with the value, and the sunset artistic effect is presented" (not shown in the figure), so as to prompt the user that the appropriate white balance gain value can be used for processing. If the user feels that the color corresponding to the white balance gain value is too dark, the user can slide or click the selection bar to select the white balance gain value required by the user, so that the image processing effect is further improved.
Optionally, after the step of S13, the image processing method may further include:
determining a coordinate point of the second area in the first image;
acquiring preset image parameters of coordinate points around the coordinate points in a preset image;
and carrying out image processing on the area around the second area according to the preset image parameters.
After the second area of the first image is subjected to image processing, a coordinate point, or an area range, of the second area in the first image may also be determined. Then, preset image parameters of coordinate points around the same coordinate point in a preset image in the material library are obtained, it needs to be stated that the preset image can be used as a standard image, that is, image parameters of each coordinate point of the preset image can be used as standard image parameters. And then, image processing is carried out on the area around the second area according to the acquired preset image parameters, so that the second area and the area around the second area are mutually fused and more naturally linked. Optionally, after the face is whitened, corresponding image processing may be performed on an area around the face according to preset image parameters, so that the whitened face is not too obtrusive.
The embodiment of the present application further provides an intelligent terminal, where the intelligent terminal includes a memory and a processor, and the memory stores an image processing program, and the image processing program is executed by the processor to implement the steps of the image processing method in any of the above embodiments.
The embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored on the storage medium, and when the computer program is executed by a processor, the steps of the image processing method in any of the above embodiments are implemented.
In the embodiments of the intelligent terminal and the computer storage medium provided in the present application, all technical features of any one of the embodiments of the image processing method may be included, and the expanding and explaining contents of the specification are basically the same as those of the embodiments of the method, and are not described herein again.
Embodiments of the present application also provide a computer program product, which includes computer program code, when the computer program code runs on a computer, the computer is caused to execute the method in the above various possible embodiments.
Embodiments of the present application further provide a chip, which includes a memory and a processor, where the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a device in which the chip is installed executes the method in the above various possible embodiments.
It is to be understood that the foregoing scenarios are only examples, and do not constitute a limitation on application scenarios of the technical solutions provided in the embodiments of the present application, and the technical solutions of the present application may also be applied to other scenarios. For example, as can be known by those skilled in the art, with the evolution of system architecture and the emergence of new service scenarios, the technical solution provided in the embodiments of the present application is also applicable to similar technical problems.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
The steps in the method of the embodiment of the application can be sequentially adjusted, combined and deleted according to actual needs.
The units in the device in the embodiment of the application can be merged, divided and deleted according to actual needs.
In the present application, the same or similar term concepts, technical solutions and/or application scenario descriptions will be generally described only in detail at the first occurrence, and when the description is repeated later, the detailed description will not be repeated in general for brevity, and when understanding the technical solutions and the like of the present application, reference may be made to the related detailed description before the description for the same or similar term concepts, technical solutions and/or application scenario descriptions and the like which are not described in detail later.
In the present application, each embodiment is described with emphasis, and reference may be made to the description of other embodiments for parts that are not described or illustrated in any embodiment.
The technical features of the technical solution of the present application may be arbitrarily combined, and for brevity of description, all possible combinations of the technical features in the embodiments are not described, however, as long as there is no contradiction between the combinations of the technical features, the scope of the present application should be considered as being described in the present application.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, a controlled terminal, or a network device) to execute the method of each embodiment of the present application.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the present application are all or partially generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer storage medium or transmitted from one computer storage medium to another, for example, from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optics, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.). A computer storage medium may be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, memory Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.

Claims (10)

1. An image processing method, characterized by comprising the steps of:
s11, acquiring a first image after the original image is processed;
s12, responding to a preset instruction, and acquiring a second image processing parameter;
s13, performing image processing on the first image or at least one second area of the first image according to the second image processing parameter to obtain a target image.
2. The method of claim 1, wherein the step of S11 includes:
acquiring a first image processing parameter aiming at the original image;
and carrying out image processing on the original image according to the first image processing parameter to obtain the first image.
3. The method of claim 1, wherein the step of S12 includes:
responding to the preset instruction, determining a first area of the first image, and taking an image parameter of the first area as the second image processing parameter; and/or the presence of a gas in the gas,
and responding to the preset instruction, acquiring a first preset feature of the first image, and taking an image parameter corresponding to the first preset feature as the second image processing parameter.
4. The method of claim 3, wherein determining the first region of the first image in response to the preset instruction comprises at least one of:
determining a first area selected in the first image in response to a first operation instruction;
responding to a second operation instruction to output first preset information, and taking the area determined according to the first preset information as the first area;
and when the second preset characteristic of the first image does not meet the preset condition, outputting a secondary processing prompt, responding to a secondary processing instruction, and determining the first area.
5. The method according to claim 4, wherein the second preset feature of the first image not satisfying the preset condition comprises at least one of:
the white balance gain parameter of the first image does not reach a corresponding preset threshold value;
the brightness parameter of the first image does not reach a corresponding preset threshold value;
the gray scale parameter of the first image does not reach the corresponding preset threshold value.
6. The method according to any one of claims 3 to 5, wherein the determining of the second region of the first image in the step of S13 includes at least one of:
responding to a third operation instruction, and determining at least one selected second area in the first image;
responding to a fourth operation instruction to pop up second preset information, wherein the second preset information is used for identifying each area in the first image, and determining the area selected according to the second preset information as the second area;
and identifying a preset object in the first image, and determining a region of the preset object in the first image as the second region.
7. The method of claim 6, further comprising:
displaying an identifier in the first image, wherein the identifier is used for identifying the first area and/or the second area;
determining a manner of the first region and/or the second region, further comprising:
and determining the first area and/or the second area in response to the identified operation instruction.
8. The method according to any of claims 1 to 5, wherein after image processing at least a second region of the first image according to the second image processing parameter, the method further comprises:
determining a coordinate point of the second region in the first image;
acquiring preset image parameters of coordinate points around the coordinate points in a preset image;
and carrying out image processing on the area around the second area according to the preset image parameters.
9. An intelligent terminal, characterized in that, intelligent terminal includes: memory, a processor, wherein the memory has stored thereon an image processing program which, when executed by the processor, implements the steps of the image processing method according to any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that the storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the image processing method according to any one of claims 1 to 8.
CN202210295445.1A 2022-03-23 2022-03-23 Image processing method, intelligent terminal and storage medium Active CN114845044B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210295445.1A CN114845044B (en) 2022-03-23 2022-03-23 Image processing method, intelligent terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210295445.1A CN114845044B (en) 2022-03-23 2022-03-23 Image processing method, intelligent terminal and storage medium

Publications (2)

Publication Number Publication Date
CN114845044A true CN114845044A (en) 2022-08-02
CN114845044B CN114845044B (en) 2024-03-22

Family

ID=82561724

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210295445.1A Active CN114845044B (en) 2022-03-23 2022-03-23 Image processing method, intelligent terminal and storage medium

Country Status (1)

Country Link
CN (1) CN114845044B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024055333A1 (en) * 2022-09-16 2024-03-21 深圳传音控股股份有限公司 Image processing method, smart device, and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841650A (en) * 2009-03-11 2010-09-22 卡西欧计算机株式会社 The camera head that is suitable for personage's photography
US20110032373A1 (en) * 2009-08-07 2011-02-10 Qualcomm Incorporated Apparatus and method of processing images
CN106973278A (en) * 2014-11-11 2017-07-21 怀效宁 A kind of AWB device and method with reference to face color character
CN107690065A (en) * 2017-07-31 2018-02-13 努比亚技术有限公司 A kind of white balance correcting, device and computer-readable recording medium
CN107959840A (en) * 2017-12-07 2018-04-24 广东欧珀移动通信有限公司 Image processing method, device, computer-readable recording medium and computer equipment
CN113177886A (en) * 2021-04-14 2021-07-27 RealMe重庆移动通信有限公司 Image processing method, image processing device, computer equipment and readable storage medium
CN114066724A (en) * 2021-11-24 2022-02-18 深圳传音控股股份有限公司 Image processing method, intelligent terminal and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841650A (en) * 2009-03-11 2010-09-22 卡西欧计算机株式会社 The camera head that is suitable for personage's photography
US20110032373A1 (en) * 2009-08-07 2011-02-10 Qualcomm Incorporated Apparatus and method of processing images
CN106973278A (en) * 2014-11-11 2017-07-21 怀效宁 A kind of AWB device and method with reference to face color character
CN107690065A (en) * 2017-07-31 2018-02-13 努比亚技术有限公司 A kind of white balance correcting, device and computer-readable recording medium
CN107959840A (en) * 2017-12-07 2018-04-24 广东欧珀移动通信有限公司 Image processing method, device, computer-readable recording medium and computer equipment
CN113177886A (en) * 2021-04-14 2021-07-27 RealMe重庆移动通信有限公司 Image processing method, image processing device, computer equipment and readable storage medium
CN114066724A (en) * 2021-11-24 2022-02-18 深圳传音控股股份有限公司 Image processing method, intelligent terminal and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024055333A1 (en) * 2022-09-16 2024-03-21 深圳传音控股股份有限公司 Image processing method, smart device, and storage medium

Also Published As

Publication number Publication date
CN114845044B (en) 2024-03-22

Similar Documents

Publication Publication Date Title
CN108900790B (en) Video image processing method, mobile terminal and computer readable storage medium
CN107302663B (en) Image brightness adjusting method, terminal and computer readable storage medium
CN108200421B (en) White balance processing method, terminal and computer readable storage medium
CN108184105B (en) Method and device for adjusting brightness and computer readable storage medium
CN108376239B (en) Face recognition method, mobile terminal and storage medium
CN113179369A (en) Shot picture display method, mobile terminal and storage medium
CN111885307A (en) Depth-of-field shooting method and device and computer readable storage medium
CN107241504B (en) Image processing method, mobile terminal and computer readable storage medium
CN108282608B (en) Multi-region focusing method, mobile terminal and computer readable storage medium
CN112449112B (en) Camera white balance adjusting method, mobile terminal and computer readable storage medium
CN114845044B (en) Image processing method, intelligent terminal and storage medium
CN113347372A (en) Shooting light supplement method, mobile terminal and readable storage medium
CN108848298B (en) Picture shooting method, flexible terminal and computer readable storage medium
CN115665551A (en) Processing method, intelligent terminal and storage medium
CN112532838B (en) Image processing method, mobile terminal and computer storage medium
CN114900613A (en) Control method, intelligent terminal and storage medium
CN114333001A (en) Image processing method, intelligent terminal and storage medium
CN114092366A (en) Image processing method, mobile terminal and storage medium
CN113194227A (en) Processing method, mobile terminal and storage medium
CN109215004B (en) Image synthesis method, mobile terminal and computer readable storage medium
CN113286106A (en) Video recording method, mobile terminal and storage medium
CN116615913A (en) Shooting method, terminal and computer storage medium
CN108335301B (en) Photographing method and mobile terminal
CN107566745B (en) Shooting method, terminal and computer readable storage medium
CN113840062B (en) Camera control method, mobile terminal and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant