CN107451959B - Picture processing method and system - Google Patents

Picture processing method and system Download PDF

Info

Publication number
CN107451959B
CN107451959B CN201610373198.7A CN201610373198A CN107451959B CN 107451959 B CN107451959 B CN 107451959B CN 201610373198 A CN201610373198 A CN 201610373198A CN 107451959 B CN107451959 B CN 107451959B
Authority
CN
China
Prior art keywords
picture
processed
degree
processing
sub
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610373198.7A
Other languages
Chinese (zh)
Other versions
CN107451959A (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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201610373198.7A priority Critical patent/CN107451959B/en
Publication of CN107451959A publication Critical patent/CN107451959A/en
Application granted granted Critical
Publication of CN107451959B publication Critical patent/CN107451959B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • G06T5/73

Abstract

A picture processing method and system, the method comprising: acquiring a picture to be processed; dividing the picture to be processed into a plurality of sub-regions, calculating the contrast of each sub-region, and determining the fuzzy degree of the picture to be processed according to the contrast of each sub-region; and processing the picture to be processed according to the fuzzy degree of the picture to be processed. The invention can improve the definition of the blurred image and prompt a user to clean the lens in time, thereby avoiding the problem of blurred imaging of the camera equipment caused by oil stains and ensuring that a clear image is obtained.

Description

Picture processing method and system
Technical Field
The invention relates to the technical field of digital image processing, in particular to a picture processing method and a picture processing system.
Background
Because the lens of the mobile phone camera is easy to be stained with oil stains on the fingers of a person, the pictures taken by the mobile phone camera are easy to be blurred. The current solution to this problem is to plate a metal film on the lens to reduce contamination by oil. Although the metal film layer can reduce the contamination of oil stains and has the characteristic of easy oil stain removal, the problem of camera imaging blurring caused by the oil stains cannot be completely solved.
Disclosure of Invention
In view of the above, it is desirable to provide a method and a system for processing an image, which can improve the definition of a blurred image and prompt a user to clean a lens in time, so as to avoid the problem of blurred image of an image capturing device caused by oil contamination and ensure that a clear image is obtained.
A picture processing method is applied to electronic equipment and comprises the following steps:
acquiring a picture to be processed;
dividing the picture to be processed into a plurality of sub-regions, calculating the contrast of each sub-region, and determining the fuzzy degree of the picture to be processed according to the contrast of each sub-region; and
and processing the picture to be processed according to the fuzzy degree of the picture to be processed.
According to a preferred embodiment of the present invention, the blur degree of the picture to be processed includes slight, moderate and severe.
According to a preferred embodiment of the present invention, the determining the blur degree of the to-be-processed picture according to the contrast of each sub-region includes:
when the contrast of each sub-region in the picture to be processed is not smaller than a first preset value, determining that the blurring degree of the picture to be processed is slight; or
When the contrast of at least one sub-region in the picture to be processed is smaller than a first preset value and larger than a second preset value, determining the blurring degree of the picture to be processed to be moderate, wherein the first preset value is larger than the second preset value; or
And when the contrast of the sub-regions with the preset number in the picture to be processed is not greater than a second preset value, determining that the blurring degree of the picture to be processed is severe.
According to a preferred embodiment of the present invention, processing the to-be-processed picture according to the blur degree of the to-be-processed picture includes:
setting at least two picture processing modes, including a first preset mode and a second preset mode; and
when the blurring degree of the picture to be processed is slight, processing the picture to be processed according to a picture processing method corresponding to the first preset mode, wherein the picture processing method corresponding to the first preset mode comprises any one or more of the following processing: adjusting the signal-to-noise ratio of the image and adjusting the color saturation; or
When the blurring degree of the picture to be processed is moderate, processing the picture to be processed according to a picture processing method corresponding to the second preset mode, wherein the picture processing method corresponding to the second preset mode comprises one or more of the following processing: image filtering, image sharpening, image signal-to-noise ratio adjustment and color saturation adjustment.
According to a preferred embodiment of the present invention, when the blur degree of the picture to be processed is severe, the user is prompted that the picture to be processed cannot be corrected, and the user is prompted to clean a lens of the image capturing device.
A picture processing system applied to an electronic device, the system comprising:
the acquisition module is used for acquiring a picture to be processed;
the determining module is used for dividing the picture to be processed into a plurality of sub-regions, calculating the contrast of each sub-region and determining the fuzzy degree of the picture to be processed according to the contrast of each sub-region; and
and the processing module is used for processing the picture to be processed according to the fuzzy degree of the picture to be processed.
According to a preferred embodiment of the present invention, the blur degree of the picture to be processed includes slight, moderate and severe.
According to a preferred embodiment of the present invention, the determining the blur degree of the to-be-processed picture according to the contrast of each sub-region includes:
when the contrast of each sub-region in the picture to be processed is not smaller than a first preset value, determining that the blurring degree of the picture to be processed is slight; or
When the contrast of at least one sub-region in the picture to be processed is smaller than a first preset value and larger than a second preset value, determining the blurring degree of the picture to be processed to be moderate, wherein the first preset value is larger than the second preset value; or
And when the contrast of the sub-regions with the preset number in the picture to be processed is not greater than a second preset value, determining that the blurring degree of the picture to be processed is severe.
According to a preferred embodiment of the present invention, the processing the to-be-processed picture according to the blur degree of the to-be-processed picture includes:
setting at least two picture processing modes, including a first preset mode and a second preset mode; and
when the blurring degree of the picture to be processed is slight, processing the picture to be processed according to a picture processing method corresponding to the first preset mode, wherein the picture processing method corresponding to the first preset mode comprises any one or more of the following processing: adjusting the signal-to-noise ratio of the image and adjusting the color saturation; or
When the blurring degree of the picture to be processed is moderate, processing the picture to be processed according to a picture processing method corresponding to the second preset mode, wherein the picture processing method corresponding to the second preset mode comprises one or more of the following processing: image filtering, image sharpening, image signal-to-noise ratio adjustment and color saturation adjustment.
According to a preferred embodiment of the present invention, the processing module is further configured to prompt a user that the picture to be processed cannot be corrected and prompt the user to clean a lens of the image capturing device when the degree of blur of the picture to be processed is severe.
According to the technical scheme, the picture to be processed is processed according to the blurring degree of the picture to be processed, so that the definition of a blurred image is improved, and when the blurring degree of the picture is severe, a user can be prompted to clean a lens, so that the problem of imaging blurring of the camera equipment caused by oil stains is avoided, the clear image is ensured to be obtained, and the experience of the user when the camera equipment is used is further improved.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device to which a picture processing method is applied according to a preferred embodiment of the present invention.
FIG. 2 is a flowchart illustrating a method for processing pictures according to a preferred embodiment of the present invention.
FIG. 3 is a functional block diagram of a preferred embodiment of a graphics processing system according to the invention.
Description of the main elements
Electronic device 1
Picture processing system 10
Storage device 20
Processing apparatus 30
Image pickup apparatus 40
Acquisition module 100
Determining module 101
Processing module 102
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
Fig. 1 is a schematic structural diagram of an electronic device implementing the image processing method according to a preferred embodiment. As shown in the schematic configuration diagram, an electronic apparatus 1 includes a picture processing system 10. The electronic apparatus 1 further includes a storage apparatus 20, a processing apparatus 30, and an image pickup apparatus 40. In other embodiments, the image capturing device 40 may be connected to the electronic device 1 in an external manner.
Preferably, the picture processing system 10 is included in a picture processing plug-in. The image processing plug-in can be loaded into various programs which can run independently, such as an operating system, software, an Application (APP) and the like, so that the loaded programs can execute corresponding processing according to the invention.
More preferably, the picture processing plug-in may be constructed by combining an existing plug-in with the picture processing system 10, for example, including the picture processing system 10 in an existing camera plug-in to obtain the picture processing plug-in, and the like.
Preferably, the picture processing method of the present invention is implemented by the picture processing system 10 in the electronic device 1. The electronic device 1 is a device capable of automatically performing numerical calculation and/or information processing according to a preset or stored instruction, and its hardware includes, but is not limited to, a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), an embedded device, and the like. The terminal 1 may also comprise network equipment and/or user equipment. Wherein the network device includes, but is not limited to, a single network server, a server group consisting of a plurality of network servers, or a Cloud Computing (Cloud Computing) based Cloud consisting of a large number of hosts or network servers, wherein Cloud Computing is one of distributed Computing, a super virtual computer consisting of a collection of loosely coupled computers. The user equipment includes, but is not limited to, any electronic product that can interact with a user through a keyboard, a mouse, a remote controller, a touch panel, or a voice control device, for example, a Personal computer, a tablet computer, a smart phone, a Personal Digital Assistant (PDA), a game machine, an Internet Protocol Television (IPTV), a smart wearable device, and the like. The Network where the user equipment and the Network equipment are located includes, but is not limited to, the internet, a wide area Network, a metropolitan area Network, a local area Network, a Virtual Private Network (VPN), and the like.
The picture processing system 10 is used for processing the picture to be processed according to the blurring degree of the picture to be processed, so that the definition of a blurred image is improved, and a user can be prompted to clean a lens when the blurring degree of the picture is severe, so that the problem of blurred imaging of the camera equipment caused by oil stains is avoided, a clear image is obtained, and the experience of the user when the camera equipment is used is improved.
The storage device 20 is used for storing program codes of various program segments in the picture processing system 10. The storage device 20 may be a smart media card (smart media card), a secure digital card (secure digital card), a flash memory card (flash card), or other storage devices.
The processing device 30 may be one or more microprocessors, digital processors. The image pickup apparatus 40 includes, but is not limited to, an image pickup apparatus having an image pickup function, such as a camera, a video camera, and the like.
Fig. 2 is a flowchart illustrating a picture processing method according to a preferred embodiment of the present invention. The order of the steps in the flow chart may be changed and some steps may be omitted according to different needs.
S10, the picture processing system 10 obtains a picture to be processed.
In the present embodiment, when a user takes a picture with the image pickup apparatus 40, the picture processing system 10 acquires the picture taken by the image pickup apparatus 40, and takes the acquired picture as a picture to be processed.
In other embodiments, the image processing system 10 may further receive images sent by other users, and use the received images as the images to be processed, or directly read the images to be processed from the storage device 20.
S11, the image processing system 10 divides the image to be processed into a plurality of sub-regions, calculates the contrast of each sub-region, and determines the blur degree of the image to be processed according to the contrast of each sub-region.
In this embodiment, the image processing system 10 divides the image to be processed into a plurality of sub-regions, calculates the contrast of each sub-region, and determines the blur degree of the image to be processed according to the contrast of each sub-region. In this embodiment, the blur degree of the picture to be processed may include, but is not limited to: mild, moderate, and severe.
Further, when the contrast of each sub-region in the picture to be processed is not less than the first preset value, the picture processing system 10 determines that the blur degree of the picture to be processed is slight, and the picture processing system 10 determines that the picture to be processed is a clear picture or a slightly blurred picture.
When the contrast of at least one sub-region in the to-be-processed picture is smaller than the first preset value and larger than the second preset value, the picture processing system 10 determines that the degree of blur of the to-be-processed picture is moderate.
When the contrast of the sub-regions with the preset number in the picture to be processed is not greater than a second preset value, the picture processing system 10 determines that the degree of blur of the picture to be processed is severe. The preset quantity is a preset value and can be set in a user-defined mode according to actual requirements.
The first preset value is larger than the second preset value, and values of the first preset value, the second preset value and the preset number are set in a user-defined mode according to actual requirements.
And S12, processing the picture to be processed according to the fuzzy degree of the picture to be processed.
In this embodiment, the picture processing system 10 sets at least two picture processing modes: a first preset mode and a second preset mode. The first preset mode is used for processing the picture to be processed with slight blurring degree. The second preset mode is used for processing the picture to be processed with moderate fuzzy degree.
And when the image processing system 10 determines that the blur degree of the image to be processed is slight, processing the image to be processed according to the image processing method corresponding to the first preset mode.
When the blur degree of a picture is slight, in order to improve the picture processing efficiency, in this embodiment, it may not be necessary to perform filtering processing and image sharpening on the picture, and therefore, the picture processing method corresponding to the first preset mode may include one or more of the following processing: adjusting image signal-to-noise ratio, adjusting color saturation, and the like. In other embodiments, to provide a high quality clear picture, more processing may be performed on the picture with slight blurring, such as adjusting the degree of curve, adjusting the softness, adjusting the exposure, and so on.
And when the image processing system 10 determines that the blur degree of the image to be processed is moderate, processing the image to be processed according to the image processing method corresponding to the second preset mode.
The picture processing method corresponding to the second preset mode comprises one or more of the following processing: image filtering, image sharpening, image signal-to-noise ratio adjustment, color saturation adjustment and the like.
Further, the filtering of the picture to be processed by using the image filtering method may be implemented by at least one of the following manners:
(1) and converting the picture to be processed into a two-dimensional signal by adopting a frequency domain method, performing signal enhancement of two-dimensional Fourier transform on the two-dimensional signal, and removing noise in the picture to be processed by adopting a low-pass wave band method (such as wiener filtering).
(2) And filtering the picture to be processed by using a high-pass band (such as median filtering) by adopting a spatial domain method, namely a method for selecting a middle pixel value in a local domain, enhancing a high-frequency signal at the edge of the picture to be processed, and removing noise in the picture to be processed to ensure that a fuzzy part in the picture to be processed becomes clear.
Further, sharpening the to-be-processed picture by using an image sharpening method can be realized by one of the following modes: and extracting the edge of the picture to be processed by utilizing an edge extraction technology, then compensating the outline of the picture to be processed according to the extracted edge, and increasing the edge of the picture to be processed.
When the image processing system 10 determines that the blur degree of the to-be-processed image is severe, the user is prompted that the to-be-processed image cannot be corrected because the image cannot be corrected, and is prompted that the user cleans the lens of the image capturing device 40.
In other embodiments, after calculating the contrast of each sub-region in the to-be-processed picture, the picture processing system 10 obtains the lowest contrast corresponding to the to-be-processed picture according to the calculated contrast of each sub-region, and stores the lowest contrast corresponding to the to-be-processed picture in the storage device 20 when the lowest contrast corresponding to the to-be-processed picture is smaller than a third preset value. When other pictures are processed, and also when the lowest contrast corresponding to the other pictures is smaller than the third preset value, the lowest contrast corresponding to the other pictures is stored in the storage device 20. And prompting a user to clean the lens of the image pickup device 40 when the number of the lowest contrasts stored in the storage device 20 is larger than a preset number within a preset time period. The third preset value and the preset number are empirical values.
Therefore, the picture to be processed is processed according to the blurring degree of the picture to be processed, so that the sharpness of a blurred image is improved, and when the blurring degree of the picture is severe, a user can be prompted to clean the lens, so that the problem of imaging blurring of the camera equipment caused by oil stains is avoided, the user can obtain the sharp picture, and the experience of the user in using the camera equipment is improved.
As shown in fig. 3, the image processing system 10 includes an obtaining module 100, a determining module 101, and a processing module 102. The module referred to in the present invention refers to a series of computer program segments capable of being executed by the processing device 30 and performing a fixed function, which are stored in the storage device 20. In the present embodiment, the functions of the modules will be described in detail in the following embodiments.
The acquiring module 100 is configured to acquire a to-be-processed picture.
In this embodiment, when a user takes a picture by using the image capturing apparatus 40, the acquiring module 100 acquires the picture taken by the image capturing apparatus 40, and takes the acquired picture as a picture to be processed.
In other embodiments, the obtaining module 100 may further receive pictures sent by other users, and use the received pictures as the pictures to be processed, or directly read the pictures to be processed from the storage device 20.
The determining module 101 is configured to divide the to-be-processed picture into a plurality of sub-regions, calculate a contrast of each sub-region, and determine a blur degree of the to-be-processed picture according to the contrast of each sub-region.
In this embodiment, the determining module 101 divides the to-be-processed picture into a plurality of sub-regions, calculates a contrast of each sub-region, and determines a blur degree of the to-be-processed picture according to the contrast of each sub-region. In this embodiment, the blur degree of the picture to be processed may include, but is not limited to: mild, moderate, and severe.
Further, when the contrast of each sub-region in the picture to be processed is not less than the first preset value, the determining module 101 determines that the blur degree of the picture to be processed is slight, and the determining module 101 determines that the picture to be processed is a clear picture or a slightly blurred picture.
When the contrast of at least one sub-region in the picture to be processed is smaller than a first preset value and larger than a second preset value, the determining module 101 determines that the degree of blur of the picture to be processed is moderate.
When the contrast of a preset number of sub-regions in the picture to be processed is not greater than a second preset value, the determining module 101 determines that the blur degree of the picture to be processed is severe. The preset quantity is a preset value and can be set in a user-defined mode according to actual requirements.
The first preset value is larger than the second preset value, and values of the first preset value, the second preset value and the preset number are set in a user-defined mode according to actual requirements.
The processing module 102 is configured to process the picture to be processed according to the blur degree of the picture to be processed.
In this embodiment, the processing module 102 sets at least two picture processing modes: a first preset mode and a second preset mode. The first preset mode is used for processing the picture to be processed with slight blurring degree. The second preset mode is used for processing the picture to be processed with moderate fuzzy degree.
And when the blurring degree of the picture to be processed is slight, processing the picture to be processed according to a picture processing method corresponding to the first preset mode.
When the blur degree of a picture is slight, in order to improve the picture processing efficiency, in this embodiment, it may not be necessary to perform filtering processing and image sharpening on the picture, and therefore, the picture processing method corresponding to the first preset mode may include one or more of the following processing: adjusting image signal-to-noise ratio, adjusting color saturation, and the like. In other embodiments, to provide a high quality clear picture, more processing may be performed on the picture with slight blurring, such as adjusting the degree of curve, adjusting the softness, adjusting the exposure, and so on.
And when the blurring degree of the picture to be processed is moderate, processing the picture to be processed according to a picture processing method corresponding to the second preset mode.
The picture processing method corresponding to the second preset mode comprises one or more of the following processing: image filtering, image sharpening, image signal-to-noise ratio adjustment, color saturation adjustment and the like.
Further, the processing module 102 may filter the picture to be processed by using an image filtering method by at least one of the following methods:
(1) and converting the picture to be processed into a two-dimensional signal by adopting a frequency domain method, performing signal enhancement of two-dimensional Fourier transform on the two-dimensional signal, and removing noise in the picture to be processed by adopting a low-pass wave band method (such as wiener filtering).
(2) And filtering the picture to be processed by using a high-pass band (such as median filtering) by adopting a spatial domain method, namely a method for selecting a middle pixel value in a local domain, enhancing a high-frequency signal at the edge of the picture to be processed, and removing noise in the picture to be processed to ensure that a fuzzy part in the picture to be processed becomes clear.
Further, the processing module 102 may sharpen the to-be-processed picture by using an image sharpening method by one of the following manners: and extracting the edge of the picture to be processed by utilizing an edge extraction technology, then compensating the outline of the picture to be processed according to the extracted edge, and increasing the edge of the picture to be processed.
When the blur degree of the picture to be processed is severe, the user is prompted that the picture to be processed cannot be corrected and is prompted to clean the lens of the image pickup device 40 because the image cannot be corrected.
Therefore, the picture to be processed is processed according to the blurring degree of the picture to be processed, so that the sharpness of a blurred image is improved, and when the blurring degree of the picture is severe, a user can be prompted to clean the lens, so that the problem of imaging blurring of the camera equipment caused by oil stains is avoided, the user can obtain the sharp picture, and the experience of the user in using the camera equipment is improved.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional module.
The integrated unit implemented in the form of a software functional module may be stored in a computer-readable storage medium. The software functional module is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the system claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims (2)

1. A picture processing method is applied to electronic equipment, and is characterized by comprising the following steps:
acquiring a picture to be processed;
dividing the picture to be processed into a plurality of sub-regions, calculating the contrast of each sub-region, and determining the fuzzy degree of the picture to be processed according to the contrast of each sub-region, wherein the fuzzy degree of the picture to be processed comprises slight degree, moderate degree and severe degree;
processing the picture to be processed according to the fuzzy degree of the picture to be processed;
the determining the blurring degree of the picture to be processed according to the contrast of each sub-region comprises:
when the contrast of each sub-region in the picture to be processed is not smaller than a first preset value, determining that the blurring degree of the picture to be processed is slight; or
When the contrast of at least one sub-region in the picture to be processed is smaller than a first preset value and larger than a second preset value, determining the blurring degree of the picture to be processed to be moderate, wherein the first preset value is larger than the second preset value; or
When the contrast of a preset number of sub-areas in the picture to be processed is not greater than a second preset value, determining that the blurring degree of the picture to be processed is severe;
the processing the picture to be processed according to the fuzzy degree of the picture to be processed comprises the following steps:
setting at least two picture processing modes, including a first preset mode and a second preset mode;
when the blurring degree of the picture to be processed is slight, processing the picture to be processed according to a picture processing method corresponding to the first preset mode, wherein the picture processing method corresponding to the first preset mode comprises any one or more of the following processing: adjusting the signal-to-noise ratio of the image and adjusting the color saturation; or
When the blurring degree of the picture to be processed is moderate, processing the picture to be processed according to a picture processing method corresponding to the second preset mode, wherein the picture processing method corresponding to the second preset mode comprises one or more of the following processing: filtering an image, sharpening the image, adjusting the signal-to-noise ratio of the image and adjusting the color saturation; or
And when the blurring degree of the picture to be processed is severe, prompting a user that the picture to be processed cannot be corrected and prompting the user to clean a lens of the camera equipment.
2. A picture processing system applied to an electronic device, the system comprising:
the acquisition module is used for acquiring a picture to be processed;
the determining module is used for dividing the picture to be processed into a plurality of sub-regions, calculating the contrast of each sub-region, and determining the fuzzy degree of the picture to be processed according to the contrast of each sub-region, wherein the fuzzy degree of the picture to be processed comprises slight degree, moderate degree and severe degree;
the processing module is used for processing the picture to be processed according to the fuzzy degree of the picture to be processed;
the determining the blurring degree of the picture to be processed according to the contrast of each sub-region comprises:
when the contrast of each sub-region in the picture to be processed is not smaller than a first preset value, determining that the blurring degree of the picture to be processed is slight; or
When the contrast of at least one sub-region in the picture to be processed is smaller than a first preset value and larger than a second preset value, determining the blurring degree of the picture to be processed to be moderate, wherein the first preset value is larger than the second preset value; or
When the contrast of a preset number of sub-areas in the picture to be processed is not greater than a second preset value, determining that the blurring degree of the picture to be processed is severe;
the processing the picture to be processed according to the fuzzy degree of the picture to be processed comprises the following steps:
setting at least two picture processing modes, including a first preset mode and a second preset mode;
when the blurring degree of the picture to be processed is slight, processing the picture to be processed according to a picture processing method corresponding to the first preset mode, wherein the picture processing method corresponding to the first preset mode comprises any one or more of the following processing: adjusting the signal-to-noise ratio of the image and adjusting the color saturation; or
When the blurring degree of the picture to be processed is moderate, processing the picture to be processed according to a picture processing method corresponding to the second preset mode, wherein the picture processing method corresponding to the second preset mode comprises one or more of the following processing: filtering an image, sharpening the image, adjusting the signal-to-noise ratio of the image and adjusting the color saturation; or
And when the blurring degree of the picture to be processed is severe, prompting a user that the picture to be processed cannot be corrected and prompting the user to clean a lens of the camera equipment.
CN201610373198.7A 2016-05-31 2016-05-31 Picture processing method and system Active CN107451959B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610373198.7A CN107451959B (en) 2016-05-31 2016-05-31 Picture processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610373198.7A CN107451959B (en) 2016-05-31 2016-05-31 Picture processing method and system

Publications (2)

Publication Number Publication Date
CN107451959A CN107451959A (en) 2017-12-08
CN107451959B true CN107451959B (en) 2020-10-16

Family

ID=60484969

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610373198.7A Active CN107451959B (en) 2016-05-31 2016-05-31 Picture processing method and system

Country Status (1)

Country Link
CN (1) CN107451959B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111985273B (en) * 2019-05-23 2024-03-15 九阳股份有限公司 Image processing method of intelligent household appliance and intelligent household appliance
CN110879050B (en) * 2019-10-19 2021-04-23 深圳市贝优全盛有限公司 Big data analysis system of rule degree

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4318874B2 (en) * 2001-08-31 2009-08-26 株式会社リコー Blurred image correction apparatus, image reading apparatus, image forming apparatus, and program

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1177298C (en) * 2002-09-19 2004-11-24 上海交通大学 Multiple focussing image fusion method based on block dividing
CN100487522C (en) * 2005-01-13 2009-05-13 奥林巴斯映像株式会社 Blurring correction method and imaging device
JP2010521272A (en) * 2007-03-16 2010-06-24 エスティーアイ・メディカル・システムズ・エルエルシー A method for providing automatic quality feedback to an imaging device to achieve standardized imaging data
JP4453734B2 (en) * 2007-09-21 2010-04-21 ソニー株式会社 Image processing apparatus, image processing method, image processing program, and imaging apparatus
CN105389780A (en) * 2015-10-28 2016-03-09 维沃移动通信有限公司 Image processing method and mobile terminal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4318874B2 (en) * 2001-08-31 2009-08-26 株式会社リコー Blurred image correction apparatus, image reading apparatus, image forming apparatus, and program

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Image quality assessment based on geometrical structural orientation;Xuan Fei et al.;《 2010 International Conference on Computer, Mechatronics, Control and Electronic Engineering》;20101025;第43-46页 *
无参考图像模糊度评价方法研究;张涛;《中国博士学位论文全文数据库 信息科技辑》;20160115;第2016年卷(第1期);第I138-79页 *

Also Published As

Publication number Publication date
CN107451959A (en) 2017-12-08

Similar Documents

Publication Publication Date Title
KR102172234B1 (en) Image processing method and apparatus, and electronic device
Park et al. Low-light image enhancement using variational optimization-based retinex model
CN108230333B (en) Image processing method, image processing apparatus, computer program, storage medium, and electronic device
WO2014169579A1 (en) Color enhancement method and device
CN109064504B (en) Image processing method, apparatus and computer storage medium
CN110166684B (en) Image processing method, image processing device, computer readable medium and electronic equipment
JP2015225665A (en) Image noise removal method and image noise removal device
WO2015095529A1 (en) Image adjustment using texture mask
CN107563974B (en) Image denoising method and device, electronic equipment and storage medium
JP2011028588A (en) Information processing apparatus, line noise reduction processing method, and program
TWI777098B (en) Method, apparatus and electronic device for image processing and storage medium thereof
CN113344821B (en) Image noise reduction method, device, terminal and storage medium
CN109785264B (en) Image enhancement method and device and electronic equipment
Kotera et al. Motion estimation and deblurring of fast moving objects
Sakai et al. Hybrid method for multi-exposure image fusion based on weighted mean and sparse representation
CN110942427A (en) Image noise reduction method and device, equipment and storage medium
CN106713762B (en) Image processing method and device
CN110784644A (en) Image processing method and device
CN107451959B (en) Picture processing method and system
CN109729231B (en) File scanning method, device and equipment
KR101528244B1 (en) Processing of image data comprising effects of turbulence in a liquid medium
JP5652272B2 (en) Image processing apparatus, image processing program, and image processing method
CN110689486A (en) Image processing method, device, equipment and computer storage medium
CN109981903B (en) Image processing method and electronic equipment
WO2014165159A1 (en) System and method for blind image deconvolution

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