CN110223239B - Image processing method, terminal and computer readable storage medium - Google Patents

Image processing method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN110223239B
CN110223239B CN201910364458.8A CN201910364458A CN110223239B CN 110223239 B CN110223239 B CN 110223239B CN 201910364458 A CN201910364458 A CN 201910364458A CN 110223239 B CN110223239 B CN 110223239B
Authority
CN
China
Prior art keywords
image
processed
terminal
blur
length
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
CN201910364458.8A
Other languages
Chinese (zh)
Other versions
CN110223239A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201910364458.8A priority Critical patent/CN110223239B/en
Publication of CN110223239A publication Critical patent/CN110223239A/en
Application granted granted Critical
Publication of CN110223239B publication Critical patent/CN110223239B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/73Deblurring; Sharpening
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20172Image enhancement details
    • G06T2207/20201Motion blur correction

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

The invention discloses an image processing method, a terminal and a computer readable storage medium, wherein the method obtains a blur length and a blur direction of motion blur of an image to be processed by obtaining the image to be processed, and recovers the image to be processed according to the blur length and the blur direction to obtain a target image, so that the problems of poor quality and low user experience satisfaction of the shot image due to motion blur are solved.

Description

Image processing method, terminal and computer readable storage medium
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to an image processing method, a terminal, and a computer-readable storage medium.
Background
With the development of terminal technology, intelligent terminals such as mobile phones and tablets have become indispensable things for people to work and live. In the prior art, a user often shoots an image through a terminal, and the pixels of a camera arranged on the terminal are higher and higher, so that the image shot through the terminal is higher in definition and better in quality. However, in some cases, due to the relative motion between the photographed object and the terminal, motion blur may exist in the photographed image, which may result in poor quality of the photographed image and low user experience satisfaction. For example, when a user takes a landscape outside a window of a vehicle traveling at a high speed such as a high-speed rail or a subway, since there is relative movement between the taken landscape and the terminal and the exposure speed of the camera of the terminal cannot catch up with the traveling speed of the vehicle, the taken image is often blurred, resulting in a problem of low user satisfaction.
Disclosure of Invention
The technical problems to be solved by the invention are that the existing shot image has the problems of motion blur, poor quality and low user experience satisfaction degree, and aiming at the technical problems, the invention provides an image processing method, a terminal and a computer readable storage medium.
In order to solve the above technical problem, the present invention provides an image processing method, including:
acquiring an image to be processed;
acquiring the blurring length and the blurring direction of the motion blur of the image to be processed;
and restoring the image to be processed according to the fuzzy length and the fuzzy direction to obtain a target image.
Optionally, the obtaining the blur length of the image to be processed includes:
acquiring a gray scale image of the image to be processed;
and acquiring the fuzzy length of the image to be processed according to the gray-scale image.
Optionally, the obtaining the blur length of the image to be processed according to the grayscale map includes:
carrying out Fourier transform on the gray-scale image to obtain a spectrogram;
and determining the fuzzy length of the image to be processed according to the spectrogram.
Optionally, before obtaining the blur length of the image to be processed according to the gray-scale map, the method further includes:
and carrying out noise reduction processing on the gray-scale image.
Optionally, the obtaining the blur direction of the image to be processed includes:
acquiring a gray scale image of the image to be processed; acquiring the blurring direction of the image to be processed according to the gray-scale image;
or the like, or a combination thereof,
and acquiring the blurring direction of the image to be processed, wherein the blurring direction is the horizontal direction.
Optionally, the obtaining the blur direction of the image to be processed according to the grayscale map includes:
carrying out Fourier transform on the gray-scale image to obtain a spectrogram;
and determining the blurring direction of the image to be processed according to the spectrogram.
Optionally, the acquiring the image to be processed includes:
acquiring an image shot when the terminal is in a moving state as an image to be processed;
or the like, or a combination thereof,
detecting whether the image is a motion blurred image; and if so, taking the image as an image to be processed.
Optionally, before acquiring the image captured when the terminal is in the moving state as the image to be processed, the method further includes:
judging whether the current moving speed of the terminal is greater than a preset speed threshold value or not;
and if so, judging that the terminal is in a moving state.
Furthermore, the invention also provides a terminal, which comprises a processor, a memory and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute one or more programs stored in the memory to implement the steps of any of the image processing methods described above.
Further, the present invention also provides a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the steps of the image processing method of any one of the above.
Advantageous effects
The invention provides an image processing method, a terminal and a computer readable storage medium, aiming at the defects of poor quality and low user experience satisfaction of the existing shot image, the method comprises the steps of obtaining an image to be processed, obtaining the blurring length and the blurring direction of the motion blur of the image to be processed, and recovering the image to be processed according to the blurring length and the blurring direction to obtain a target image, namely recovering the image with the motion blur by obtaining the blurring length and the blurring direction of the motion blur, so that the quality of the image is improved, and the user experience satisfaction is improved.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
fig. 1 is a schematic diagram of a hardware structure of an optional mobile terminal for implementing various embodiments of the present invention.
FIG. 2 is a diagram of a wireless communication system for the mobile terminal shown in FIG. 1;
FIG. 3 is a basic flowchart of an image processing method according to a first embodiment of the present invention;
FIG. 4 is a flowchart of obtaining the blur length according to the first embodiment of the present invention;
FIG. 5 is a flowchart for obtaining fuzzy direction according to the first embodiment of the present invention;
FIG. 6 is a flowchart illustrating a detailed image processing method according to a second embodiment of the present invention;
FIG. 7 is a flowchart illustrating a detailed image processing method according to a third embodiment of the present invention;
fig. 8 is a schematic structural diagram of a terminal according to a fourth embodiment of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include mobile terminals 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 fixed terminals such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention 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 a mobile terminal for implementing various embodiments of the present invention, the mobile 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 mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following specifically describes the components of the mobile 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 multiplexing-Long Term Evolution), and TDD-LTE (Time Division multiplexing-Long Term Evolution), etc.
WiFi belongs to a short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send emails, 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 mobile 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 mobile 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 mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and 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 the 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 mobile terminal 100 also includes at least one sensor 105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing gestures of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometers and taps), 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 mobile terminal. Specifically, 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. The touch detection device detects the touch direction of a user, detects a signal brought by 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. The user input unit 107 may include other input devices 1072 in addition to the touch panel 1071. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, without limitation.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation on or near the touch panel, the touch panel is transmitted 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 mobile 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 mobile 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 mobile terminal 100. For example, the external device may include 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, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), 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, etc. Further, memory 109 may include high speed random access memory, and may also include 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 mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile 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 mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention 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 invention, 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.
Specifically, 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. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 with 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. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides 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 services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention 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, and the like.
Based on the above mobile terminal hardware structure and communication network system, the present invention provides various embodiments of the method.
First embodiment
In the prior art, when an image is shot through a terminal, because relative motion exists between a shot object and a terminal camera, motion blur exists in the shot image, and the user experience satisfaction degree is low. In order to solve the above problem, the present embodiment provides an image processing method, which is applied to a terminal, and it should be noted that the terminal described in the present embodiment may be a terminal as shown in fig. 1, and of course, may also be another terminal. Specifically, the image processing method provided by this embodiment may be as shown in fig. 3, where fig. 3 is a basic flowchart of the image processing method provided by this embodiment, and the image processing method includes:
s301, acquiring an image to be processed.
In this embodiment, the image to be processed may be any image to be processed on the terminal.
The image to be processed may be set by a user, for example, the user may set an image with motion blur as the image to be processed, and at this time, acquiring the image to be processed may be: and receiving an image setting instruction to be processed, and taking the image indicated by the image setting instruction to be processed as an image to be processed.
In this embodiment, because the image with motion blur is to be restored, acquiring the image to be processed may be: and acquiring the image with motion blur as an image to be processed. The image to be processed can be determined by detecting whether a motion blurred image exists in the image, that is, whether the image is a motion blurred image is detected, and if yes, the image is taken as the image to be processed. It should be noted that the detected image may be acquired according to an instruction issued by the user, or an image captured by the terminal, or any image stored in the terminal. In this embodiment, since there is a motion-blurred image, there may be stripes with equal intervals in a spectrogram obtained by fourier transforming a grayscale image of the image, it may be determined whether the image is a motion-blurred image by determining whether there are stripes with equal intervals in the spectrogram obtained by fourier transforming the grayscale image of the image, and if there are stripes with equal intervals in the spectrogram, it is determined that the image is a motion-blurred image; and if the equal-interval stripes do not exist in the spectrogram, judging that the image is not a motion blurred image. Of course, in this embodiment, whether an image is a motion-blurred image may also be detected in other ways.
In this embodiment, if the terminal is in a moving state, there is a relative motion between the object to be photographed and the terminal camera, and at this time, there is a motion blur in the photographed image at a maximum probability, and therefore, obtaining the image with the motion blur as the image to be processed may also be: and acquiring an image shot when the terminal is in a moving state as an image to be processed. It should be noted that, the terminal being in a moving state includes, but is not limited to, the terminal being in a moving state when the user moves with the terminal, rides a vehicle, and the like. Since it is necessary to determine whether the terminal is in a moving state, it is also necessary to determine whether the terminal is in the moving state before acquiring an image captured when the terminal is in the moving state as a to-be-processed image, wherein, since the terminal typically captures an image when the terminal starts a camera, it is possible to determine whether the terminal is in the moving state when the terminal starts a camera function. If the moving speed of the terminal is low, the speed of the relative motion between the terminal and the shooting object is low, and the probability of motion blur of the shot image is low, so that in order to avoid resource waste and the like, when judging whether the terminal is in a moving state, whether the current moving speed of the terminal is greater than a preset speed threshold value or not can be judged, and if yes, the terminal is judged to be in the moving state; if not, the terminal is judged not to be in the moving state. Or, it may also be determined whether the terminal is in the moving state according to the moving speed of the terminal and the time at the moving speed, for example, whether the duration that the moving speed of the terminal is greater than the preset speed threshold exceeds the preset time threshold, and if the time that the moving speed of the terminal is greater than the preset speed threshold exceeds the preset time threshold, it is determined that the terminal is in the moving state; and if the terminal moving speed is less than the preset speed threshold, or the terminal moving speed is greater than the preset speed threshold but the duration time of the terminal moving speed is less than the preset time threshold, judging that the terminal is not in a moving state. The preset time threshold and the preset speed threshold can be flexibly set by a user and/or a terminal developer according to actual needs, for example, the speed threshold can be set to be 5 meters per second, 3 meters per second, and the like; the time threshold may be set to 10 seconds, 5 seconds, etc.
S302, acquiring the blurring length and the blurring direction of the motion blur of the image to be processed.
In this embodiment, after the to-be-processed image is obtained, the blur length and the blur direction of the motion blur of the to-be-processed image need to be obtained, so that the to-be-processed image is restored according to the blur length and the blur direction in the following process.
In this embodiment, when acquiring the blur length of the motion blur of the image to be processed, the method includes, but is not limited to, acquiring in the following manner, specifically, as shown in fig. 4:
s401, obtaining a gray scale image of the image to be processed.
In this embodiment, an image to be processed is processed to obtain a yuv image, and then y-value information is extracted to obtain a gray-scale image of the image to be processed.
S402, acquiring the fuzzy length of the image to be processed according to the gray-scale image.
In this embodiment, when the blur length of the image to be processed is obtained according to the gray-scale image of the image to be processed, fourier transform is performed on the gray-scale image of the image to be processed to obtain a spectrogram of the image to be processed. Since the spectrogram of a motion blurred image usually has equally spaced black stripes, the distance between equally spaced black stripes (i.e., the stripe interval, the distance between adjacent black stripes) is obtained, and the blur length can be obtained by the width of the image to be processed and the stripe interval, where the blur length is proportional to the width of the image to be processed and inversely proportional to the stripe interval, and assuming that the blur length is m, the width of the image to be processed is W, and the stripe interval is a, the blur length m can be obtained according to the following formula: m = W/a.
In the present embodiment, when acquiring the blur direction of the motion blur of the image to be processed, since the direction of the motion blur is generally the horizontal direction in an image captured on a vehicle (e.g., a high-speed rail, a subway, a light rail, or the like) traveling at a high speed, it can be directly determined that the blur direction of the motion blur of the image to be processed is the horizontal direction, that is, the included angle between the blur direction and the horizontal direction is 0 degree. Alternatively, referring to fig. 5 below, the blur direction of the motion blur of the image to be processed may also be obtained by:
and S501, acquiring a gray scale image of the image to be processed.
In this embodiment, an image to be processed is processed to obtain a yuv image, and then y-value information is extracted to obtain a gray-scale image of the image to be processed.
And S502, acquiring the blurring direction of the image to be processed according to the gray-scale image.
In this embodiment, when the blur direction of the image to be processed is obtained according to the gray-scale image of the image to be processed, fourier transform is performed on the gray-scale image of the image to be processed to obtain a spectrogram of the image to be processed. Because the spectrogram of the motion blurred image usually has black stripes at equal intervals, and the black stripes form an included angle with the horizontal direction, in this embodiment, the blur direction of the image to be processed may be determined according to the included angle between the black stripes and the horizontal direction, the width of the image to be processed, and the height of the image to be processed. Assuming that the blurring direction is α, the included angle between the black stripe and the horizontal direction is ∈, the width of the image to be processed is W, and the height of the image to be processed is H, the blurring direction is α can be obtained according to the following formula: tan α = W/H | tan (e-90) |.
In this embodiment, after the obtaining of the grayscale map of the image to be processed, before the obtaining of the blur direction and/or the blur length of the image to be processed according to the grayscale map, the grayscale map of the image to be processed may be subjected to noise reduction processing to remove an influence of noise, for example, the grayscale map of the image to be processed may be subjected to bilateral filtering to remove noise.
And S303, restoring the image to be processed according to the fuzzy length and the fuzzy direction to obtain a target image.
In the embodiment, after the blur length and the blur direction are obtained, the image to be processed is restored to obtain a clear target image, so that the quality of the image is improved, and the user experience satisfaction is improved.
When the blurring direction is obtained, the blurring direction can be directly determined to be the horizontal direction, or the blurring direction can be obtained according to the gray-scale image of the image to be processed. Therefore, when the blur direction is the horizontal direction, and the target image is obtained by restoring the image to be processed according to the blur length and the blur direction, the target image can be obtained by the following formula:
Figure BDA0002047761990000111
wherein h (x, y) is a target image, f (x, y) is an image to be processed, and m is a blurring length.
In the blur direction α, when the image to be processed is restored according to the blur length and the blur direction to obtain the target image, the image to be processed may be rotated according to the blur direction α, and the rotated image is regarded as an image blurred in the horizontal direction, where the image rotation formula is: p (x 1, y 1) = f (x, y), where p (x 1, y 1) is an image after rotation, f (x, y) is an image to be processed, x1= xcos α -ysin α, y1= xsin α + ycos α, and α is a blur direction. After rotating the image to be processed, the target image can be obtained by the following formula:
Figure BDA0002047761990000121
where h (x 1, y 1) is the target image and m is the blur length.
In this embodiment, after the target image is obtained, the target image is saved and displayed, where the image to be processed and the target image may be simultaneously displayed on a display screen for the user to view, that is, the image before restoration and the image after restoration are simultaneously displayed on the display screen for the user to view.
The embodiment provides an image processing method, and aims at the defects that an existing shot image has motion blur, poor quality and low user experience satisfaction degree, a target image is obtained by obtaining an image to be processed, obtaining a blur length and a blur direction of the motion blur of the image to be processed, and restoring the image to be processed according to the blur length and the blur direction, that is, for the image with motion blur, the image can be restored by obtaining the blur length and the blur direction of the motion blur, so that the quality of the image is improved, and the user experience satisfaction degree is improved.
Second embodiment
For better understanding of the present invention, this embodiment is described with reference to a more specific example, and referring to fig. 6, fig. 6 is a detailed flowchart of an image processing method according to a second embodiment of the present invention, where the image processing method includes:
s601, receiving a camera starting command.
In this embodiment, in the terminal operation process, a camera start instruction issued by a user is received, and a terminal camera is started to view a view.
S602, judging whether the terminal is in a moving state at present.
If yes, turning to S603; if not, ending.
In this embodiment, when a camera start instruction is received, whether the terminal is in a moving state is determined, and if the terminal is currently in the moving state, the operation goes to S603; and if the terminal is not in the moving state at present, ending and normally shooting. In this embodiment, whether the terminal is currently in a moving state is determined by determining whether the current moving speed of the terminal is greater than a preset speed threshold, if the current moving speed of the terminal is greater than the preset speed threshold, the terminal is currently in the moving state, and if the current moving speed of the terminal is less than the preset speed threshold, the terminal is not currently in the moving state. The preset speed threshold value can be flexibly set by a terminal developer according to actual needs. When the current moving speed of the terminal is obtained, the moving speed can be determined according to the moving distance of the terminal in the preset time, wherein the moving distance in the preset time can be determined according to the current position information and the position information after the preset time. Of course, in other embodiments, the current moving speed of the terminal may also be obtained according to other manners.
And S603, receiving a photographing instruction to photograph to obtain an image to be processed.
In this embodiment, when the terminal is in a moving state, there is a relative motion between the object to be photographed and the terminal, and therefore, after receiving the photographing instruction, there is a motion blur in the photographed image, and therefore, the photographed image is used as the image to be processed to perform the recovery processing on the image.
S604, determining the blurring direction of the motion blur of the image to be processed to be the horizontal direction.
In this embodiment, since the terminal normally moves horizontally when the terminal is in a moving state, the blurring direction of the image to be processed is directly determined to be the horizontal direction.
And S605, acquiring a gray scale image of the image to be processed.
In this embodiment, an image to be processed is processed to obtain a yuv image, and then y-value information is extracted to obtain a gray-scale image of the image to be processed.
And S606, performing noise reduction on the gray-scale image of the image to be processed.
In this embodiment, bilateral filtering processing is performed on the grayscale image of the image to be processed to reduce noise of the image to be processed, so as to remove the influence of noise.
S607, carrying out Fourier transform on the gray-scale image of the image to be processed after the noise reduction processing to obtain a frequency spectrogram.
In this embodiment, after the noise reduction processing is performed on the grayscale, fourier transform is performed on the grayscale to obtain a spectrogram of the grayscale.
And S608, obtaining the fuzzy length according to the spectrogram.
In this embodiment, since the spectrogram of the motion-blurred image usually has equally spaced black stripes, the distance between equally spaced black stripes (i.e., the stripe interval, the distance between adjacent black stripes) and the width of the image to be processed are obtained, and then the blur length is determined by the following formula: m = W/a, where m is the blur length, W is the width of the image to be processed, and a is the fringe spacing.
And S609, restoring the image to be processed according to the fuzzy length to obtain a target image.
In this embodiment, assuming that the target image is h (x, y) and the image to be processed is f (x, y), the image to be processed can be obtained by the following formula.
Figure BDA0002047761990000131
And S610, saving and displaying the target image.
In this embodiment, after the target image is obtained, the target image is saved and displayed. Of course, in other embodiments, the image to be processed and the target image may be displayed simultaneously, so that the user can see the difference.
The embodiment provides an image processing method, which includes acquiring an image to be processed, acquiring a blur length and a blur direction of a motion blur of the image to be processed, and recovering the image to be processed according to the blur length and the blur direction to obtain a target image, that is, for an image with motion blur, the embodiment may recover the image by acquiring the blur length and the blur direction of the motion blur, so as to improve the quality of the image and improve the satisfaction degree of user experience.
Third embodiment
For better understanding of the present invention, this embodiment is described with reference to a more specific example, and referring to fig. 7, fig. 7 is a flowchart illustrating a refinement of an image processing method according to a third embodiment of the present invention, where the image processing method includes:
and S701, acquiring an image to be processed.
In this embodiment, after receiving a to-be-processed image setting instruction issued by a user, an image indicated by the to-be-processed image setting instruction may be acquired as the to-be-processed image.
And S702, acquiring a gray scale image of the image to be processed.
In this embodiment, an image to be processed is processed to obtain a yuv image, and then y-value information is extracted to obtain a gray-scale image of the image to be processed.
And S703, performing noise reduction on the gray-scale image of the image to be processed.
In this embodiment, bilateral filtering processing is performed on the grayscale map of the image to be processed to reduce noise in the image to be processed, so as to remove the influence of noise.
S704, carrying out Fourier transform on the gray-scale image of the image to be processed after the noise reduction processing to obtain a spectrogram.
In this embodiment, after the noise reduction processing is performed on the grayscale, fourier transform is performed on the grayscale to obtain a spectrogram of the grayscale.
S705, acquiring fuzzy length according to the spectrogram.
In this embodiment, since the spectrogram of the motion-blurred image usually has equally spaced black stripes, the distance between equally spaced black stripes (i.e., the stripe interval, the distance between adjacent black stripes) and the width of the image to be processed are obtained, and then the blur length is determined by the following formula: m = W/a, where m is the blur length, W is the width of the image to be processed, and a is the fringe spacing.
And S706, acquiring the fuzzy direction according to the spectrogram.
Assuming that the blurring direction is α, the included angle between the black stripe and the horizontal direction is ∈, the width of the image to be processed is W, and the height of the image to be processed is H, the blurring direction α can be obtained according to the following formula: tan α = W/H | tan (e-90) |.
In this embodiment, the fuzzy length is obtained according to the spectrogram first, and then the fuzzy direction is obtained according to the spectrogram, in other embodiments, the fuzzy length may be obtained according to the spectrogram first, or simultaneously.
And S707, restoring the image to be processed according to the fuzzy length and the fuzzy direction to obtain a target image.
In this embodiment, the image to be processed is first rotated according to the blur direction, and the rotation formula is: p (x 1, y 1) = f (x, y), where p (x 1, y 1) is an image after rotation, f (x, y) is an image to be processed, x1= xcos α -ysin α, y1= xsin α + ycos α, and α is a blur direction.
After rotating the image to be processed, the target image can be obtained by the following formula:
Figure BDA0002047761990000151
where h (x 1, y 1) is the target image and m is the blur length.
The embodiment provides an image processing method, which includes acquiring an image to be processed, acquiring a blur length and a blur direction of a motion blur of the image to be processed, and recovering the image to be processed according to the blur length and the blur direction to obtain a target image, that is, for an image with motion blur, the embodiment may recover the image by acquiring the blur length and the blur direction of the motion blur, so as to improve the quality of the image and improve the satisfaction degree of user experience.
Fourth embodiment
Referring to fig. 8, the terminal provided in this embodiment includes a processor 801, a memory 802 and a communication bus 803.
The communication bus 803 in this embodiment is used for implementing connection communication between the processor 801 and the memory 802;
the processor 801 is then configured to execute one or more programs stored in the memory 802 to implement the following steps:
acquiring an image to be processed;
acquiring the fuzzy length and the fuzzy direction of the motion blur of the image to be processed;
and restoring the image to be processed according to the fuzzy length and the fuzzy direction to obtain a target image.
In this embodiment, the image to be processed may be any image to be processed on the terminal. The image to be processed may be set by a user, for example, receiving a setting instruction of the image to be processed, and taking the image indicated by the setting instruction of the image to be processed as the image to be processed. Specifically, reference may be made to the first embodiment, which is not described herein again.
In this embodiment, because the image with motion blur is to be restored, acquiring the image to be processed may be: and acquiring the image with motion blur as an image to be processed. The image to be processed can be determined by detecting whether a motion blurred image exists in the image, that is, whether the image is a motion blurred image is detected, and if yes, the image is taken as the image to be processed. It should be noted that the detected image may be acquired according to an instruction issued by a user, or an image captured by the terminal, or any image stored in the terminal. In this embodiment, because an image with motion blur exists, there may be stripes with equal intervals in a spectrogram obtained by performing fourier transform on a gray scale of the image, it may be determined whether the image is a motion blur image by determining whether there are stripes with equal intervals in the spectrogram obtained by performing fourier transform on the gray scale of the image, and if there are stripes with equal intervals in the spectrogram, it is determined that the image is a motion blur image; and if the equal-interval stripes do not exist in the spectrogram, judging that the image is not a motion blurred image. Of course, in this embodiment, whether an image is a motion-blurred image may also be detected in other ways.
In this embodiment, if the terminal is in a moving state, there is a relative motion between the object to be photographed and the terminal camera, and at this time, there is a motion blur in the photographed image at a maximum probability, and therefore, obtaining the image with the motion blur as the image to be processed may also be: and acquiring an image shot when the terminal is in a moving state as an image to be processed. It should be noted that the terminal being in a moving state includes, but is not limited to, the terminal being in a moving state in a scene where a user carries the terminal in motion, rides a vehicle, and the like. Since it is necessary to determine whether the terminal is in a moving state, it is necessary to determine whether the terminal is in the moving state before acquiring an image captured when the terminal is in the moving state as a to-be-processed image, where it is possible to determine whether the terminal is in the moving state when the terminal starts a camera function because an image is typically captured when the terminal starts a camera. If the moving speed of the terminal is low, the speed of the relative motion between the terminal and the shooting object is low, and the probability of motion blur of the shot image is low, so that in order to avoid resource waste and the like, when judging whether the terminal is in a moving state, whether the current moving speed of the terminal is greater than a preset speed threshold value or not can be judged, and if yes, the terminal is judged to be in the moving state; if not, the terminal is judged not to be in the moving state. Or, it may also be determined whether the terminal is in the moving state according to the moving speed of the terminal and the time at the moving speed, for example, whether the duration that the moving speed of the terminal is greater than the preset speed threshold exceeds the preset time threshold, and if the time that the moving speed of the terminal is greater than the preset speed threshold exceeds the preset time threshold, it is determined that the terminal is in the moving state; and if the terminal moving speed is less than the preset speed threshold value, or the terminal moving speed is greater than the preset speed threshold value but the duration time of the terminal moving speed is less than the preset time threshold value, judging that the terminal is not in a moving state. Wherein, the preset time threshold and the preset speed threshold can be flexibly set by users and/or terminal developers according to actual needs,
in this embodiment, when acquiring the blur length of the motion blur of the image to be processed, the processor 801 may be further configured to execute one or more programs stored in the memory 802 to implement the following steps: and acquiring a gray scale image of the image to be processed, and acquiring the fuzzy length of the image to be processed according to the gray scale image. In this embodiment, when the blur length of the image to be processed is obtained according to the grayscale map of the image to be processed, fourier transform is performed on the grayscale map of the image to be processed to obtain the spectrogram of the image to be processed, because the spectrogram of the motion blurred image usually has black stripes at equal intervals, the distance between the black stripes at equal intervals (i.e., the stripe interval) is obtained, and assuming that the blur length is m, the width of the image to be processed is W, and the stripe interval is a, the blur length m can be obtained according to the following formula: m = W/a.
In this embodiment, when the blur direction of the motion blur of the image to be processed is obtained, it may be directly determined that the blur direction of the motion blur of the image to be processed is the horizontal direction, that is, an included angle between the blur direction and the horizontal direction is 0 degree. Or acquiring a gray scale image of the image to be processed, and acquiring the blurring direction of the image to be processed according to the gray scale image. And when the fuzzy direction of the image to be processed is obtained according to the gray-scale image of the image to be processed, carrying out Fourier transform on the gray-scale image of the image to be processed to obtain a spectrogram of the image to be processed. Because the spectrogram of the motion blurred image usually has black stripes at equal intervals, the black stripes have included angles with the horizontal direction, and if the blurring direction is α, the included angle between the black stripes and the horizontal direction is epsilon, the width of the image to be processed is W, and the height of the image to be processed is H, the blurring direction α can be obtained according to the following formula: tan α = W/H | tan (e-90) |.
In this embodiment, after acquiring the grayscale map of the image to be processed, and before acquiring the blur direction and/or the blur length of the image to be processed according to the grayscale map, the processor 801 is configured to execute one or more programs stored in the memory 802, so as to implement the following steps: the gray map of the image to be processed is subjected to noise reduction processing to remove the influence of noise, and for example, bilateral filtering may be performed on the gray map of the image to be processed to remove noise.
When the blurring direction is the horizontal direction, and the target image is obtained by restoring the image to be processed according to the blurring length and the blurring direction, the target image can be obtained by the following formula:
Figure BDA0002047761990000171
wherein h (x, y) is a target image, f (x, y) is an image to be processed, and m is a blurring length.
In the blur direction α, when the image to be processed is restored according to the blur length and the blur direction to obtain the target image, the image to be processed may be rotated according to the blur direction α, and the rotated image is regarded as an image blurred in the horizontal direction, where the image rotation formula is: p (x 1, y 1) = f (x, y), where p (x 1, y 1) is an image after rotation, f (x, y) is an image to be processed, x1= xcos α -ysin α, y1= xsin α + ycos α, and α is a blur direction. After rotating the image to be processed, the target image can be obtained by the following formula:
Figure BDA0002047761990000181
where h (x 1, y 1) is the target image and m is the blur length.
In this embodiment, after the target image is obtained, the target image is saved and displayed, wherein the image to be processed and the target image may be simultaneously displayed on the display screen.
It is to be noted that, in order to avoid redundant description, all examples of the first embodiment, the second embodiment, and the third embodiment are not fully described in the present embodiment, and it should be clear that all examples of the first embodiment, the second embodiment, and the third embodiment are applicable to the present embodiment.
The present embodiment also provides a computer-readable storage medium, such as a floppy disk, an optical disk, a hard disk, a flash memory, a U disk, a CF card, an SD card, an MMC card, etc., in which one or more programs implementing the above steps are stored, and the one or more programs can be executed by one or more processors to implement the steps of the image processing method according to at least one of the first embodiment, the second embodiment, and the third embodiment.
The embodiment provides a terminal and a computer-readable storage medium, and the terminal acquires a to-be-processed image, acquires a blur length and a blur direction of a motion blur of the to-be-processed image, and restores the to-be-processed image according to the blur length and the blur direction to obtain a target image, that is, for an image with motion blur, the terminal and the computer-readable storage medium can restore the image by acquiring the blur length and the blur direction of the motion blur, so that the quality of the image is improved, and the user experience satisfaction is improved.
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, an element defined by the phrases "comprising a component of' 8230; \8230;" does not exclude the presence of another like element in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (6)

1. An image processing method, characterized in that the image processing method comprises:
acquiring an image to be processed;
acquiring the blurring length and the blurring direction of the motion blur of the image to be processed;
restoring the image to be processed according to the fuzzy length and the fuzzy direction to obtain a target image;
the acquiring the blurring length and the blurring direction of the image to be processed comprises: acquiring a gray scale image of the image to be processed, performing Fourier transform on the gray scale image to obtain a spectrogram, and determining a fuzzy length by the following formula: m = W/a, where m is a blur length, W is a width of an image to be processed, a is a distance between equally spaced black stripes in a spectrogram, and a blur direction is determined by the following formula: tan alpha = W/H | tan (epsilon-90) |, wherein alpha is a blurring direction, W is the width of an image to be processed, H is the height of the image to be processed, and epsilon is an included angle between a black stripe and the horizontal direction in a spectrogram;
the restoring the image to be processed according to the blur length and the blur direction to obtain a target image comprises:
rotating the image to be processed according to the fuzzy direction, wherein the rotation formula is as follows: p (x 1, y 1) = f (x, y), where p (x 1, y 1) is the rotated image, f (x, y) is the image to be processed, x1= xcos α -ysin α, y1= xsin α + ycos α, α is the blur direction, and after rotating the image to be processed, the target image is obtained by the following formula:
Figure FDA0004024951770000011
where h (x 1, y 1) is the target image and m is the blur length.
2. The image processing method according to claim 1, wherein before acquiring the blur length of the image to be processed according to the gray-scale map, the method further comprises:
and carrying out noise reduction processing on the gray-scale image.
3. The image processing method according to claim 1 or 2, wherein the acquiring the image to be processed includes:
acquiring an image shot when the terminal is in a moving state as an image to be processed;
or the like, or, alternatively,
detecting whether the image is a motion blurred image; and if so, taking the image as an image to be processed.
4. The image processing method according to claim 3, wherein before acquiring the image taken while the terminal is in the moving state as the image to be processed, further comprising:
judging whether the current moving speed of the terminal is greater than a preset speed threshold value or not;
and if so, judging that the terminal is in a moving state.
5. A terminal, characterized in that the terminal comprises a processor, a memory and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute one or more programs stored in the memory to implement the steps of the image processing method according to any one of claims 1 to 4.
6. A computer-readable storage medium, characterized in that the computer-readable storage medium stores one or more programs which are executable by one or more processors to implement the steps of the image processing method according to any one of claims 1 to 4.
CN201910364458.8A 2019-04-30 2019-04-30 Image processing method, terminal and computer readable storage medium Active CN110223239B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910364458.8A CN110223239B (en) 2019-04-30 2019-04-30 Image processing method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910364458.8A CN110223239B (en) 2019-04-30 2019-04-30 Image processing method, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110223239A CN110223239A (en) 2019-09-10
CN110223239B true CN110223239B (en) 2023-04-14

Family

ID=67820542

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910364458.8A Active CN110223239B (en) 2019-04-30 2019-04-30 Image processing method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110223239B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110706176A (en) * 2019-09-29 2020-01-17 Tcl移动通信科技(宁波)有限公司 Static processing method and device for video and computer readable storage medium
CN112019723B (en) * 2020-09-07 2021-12-07 龙腾数科科技(成都)有限公司 Big data target monitoring method and system of block chain

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102474572A (en) * 2010-04-13 2012-05-23 松下电器产业株式会社 Blur correction device and blur correction method
CN106373106A (en) * 2016-09-21 2017-02-01 哈尔滨工业大学 Cepstrum linear potential energy function-based industrial image motion blur suppression method
CN107124531A (en) * 2017-05-26 2017-09-01 努比亚技术有限公司 A kind of image processing method and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10542217B2 (en) * 2015-11-26 2020-01-21 Sony Semiconductor Solutions Corporation Shooting device and shooting method to suppress blur in an image

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102474572A (en) * 2010-04-13 2012-05-23 松下电器产业株式会社 Blur correction device and blur correction method
CN106373106A (en) * 2016-09-21 2017-02-01 哈尔滨工业大学 Cepstrum linear potential energy function-based industrial image motion blur suppression method
CN107124531A (en) * 2017-05-26 2017-09-01 努比亚技术有限公司 A kind of image processing method and mobile terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于峰值信噪比评价的运动模糊方向与长度识别;陈从平等;《三峡大学学报(自然科学版)》;20121231;第93-97,102页 *

Also Published As

Publication number Publication date
CN110223239A (en) 2019-09-10

Similar Documents

Publication Publication Date Title
CN109471571B (en) Display method of suspension control, mobile terminal and computer readable storage medium
CN108198150B (en) Method for eliminating image dead pixel, terminal and storage medium
CN110086993B (en) Image processing method, image processing device, mobile terminal and computer readable storage medium
CN109816619B (en) Image fusion method, device, terminal and computer readable storage medium
CN107450796B (en) A kind of image processing method, mobile terminal and computer readable storage medium
CN109710159B (en) Flexible screen response method and device and computer readable storage medium
CN108038834A (en) A kind of method, terminal and computer-readable recording medium for reducing noise
CN107241504B (en) Image processing method, mobile terminal and computer readable storage medium
CN110223239B (en) Image processing method, terminal and computer readable storage medium
CN107395971B (en) Image acquisition method, image acquisition equipment and computer-readable storage medium
CN107340958B (en) Horizontal and vertical screen switching method and mobile terminal
CN113222850A (en) Image processing method, device and computer readable storage medium
CN113393398A (en) Image noise reduction processing method and device and computer readable storage medium
CN112135045A (en) Video processing method, mobile terminal and computer storage medium
CN112423102A (en) Small window screen projection control method and device and computer readable storage medium
CN112153305A (en) Camera starting method, mobile terminal and computer storage medium
CN110187934B (en) Application control method, terminal and computer readable storage medium
CN108364595B (en) Electrostatic discharge detection method, mobile terminal and computer readable storage medium
CN107205130B (en) Video recording method based on double cameras, terminal and computer readable medium
CN112532838B (en) Image processing method, mobile terminal and computer storage medium
CN114581504A (en) Depth image confidence calculation method and device and computer readable storage medium
CN110070569B (en) Registration method and device of terminal image, mobile terminal and storage medium
CN109495683B (en) Interval shooting method and device and computer readable storage medium
CN110084764B (en) Image noise reduction processing method, mobile terminal, device and computer storage medium
CN109215004B (en) Image synthesis method, mobile terminal and computer 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