CN115082361B - Turbid water body image enhancement method based on image processing - Google Patents
Turbid water body image enhancement method based on image processing Download PDFInfo
- Publication number
- CN115082361B CN115082361B CN202211009346.9A CN202211009346A CN115082361B CN 115082361 B CN115082361 B CN 115082361B CN 202211009346 A CN202211009346 A CN 202211009346A CN 115082361 B CN115082361 B CN 115082361B
- Authority
- CN
- China
- Prior art keywords
- water body
- pixel
- turbid water
- cluster
- image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 title claims abstract description 109
- 238000000034 method Methods 0.000 title claims abstract description 27
- 238000002834 transmittance Methods 0.000 claims description 42
- 230000002708 enhancing effect Effects 0.000 claims description 5
- 230000002146 bilateral effect Effects 0.000 claims description 4
- 238000001914 filtration Methods 0.000 claims description 3
- 238000004422 calculation algorithm Methods 0.000 description 9
- 230000000694 effects Effects 0.000 description 8
- 230000000903 blocking effect Effects 0.000 description 4
- 238000003384 imaging method Methods 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 150000001875 compounds Chemical class 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000007689 inspection Methods 0.000 description 2
- 241000287196 Asthenes Species 0.000 description 1
- 238000000889 atomisation Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000007621 cluster analysis Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/70—Denoising; Smoothing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/762—Arrangements for image or video recognition or understanding using pattern recognition or machine learning using clustering, e.g. of similar faces in social networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10004—Still image; Photographic image
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Evolutionary Computation (AREA)
- Databases & Information Systems (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Software Systems (AREA)
- Computing Systems (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Artificial Intelligence (AREA)
- Multimedia (AREA)
- Image Processing (AREA)
Abstract
The invention relates to the technical field of image enhancement, in particular to a turbid water body image enhancement method based on image processing, which comprises the following steps: the method comprises the steps of obtaining a turbid water body image, obtaining the fuzzy degree of each pixel point in the image, clustering the pixel points according to the fuzzy degree to obtain a plurality of cluster areas, obtaining the characteristic point of each cluster area, calculating the atmospheric light intensity value of the characteristic point, obtaining the transmissivity of the characteristic point, calculating the transmissivity of each pixel point in each cluster area corresponding to the characteristic point according to the transmissivity of the characteristic point, obtaining the reflected light intensity value of each pixel point in each cluster area according to the atmospheric light intensity value of each cluster area and the transmissivity of each pixel point in each cluster area, and obtaining the enhanced image of the turbid water body image according to the reflected light intensity values of all the pixel points and the atmospheric light intensity value of the turbid water body image.
Description
Technical Field
The invention relates to the technical field of image enhancement, in particular to a turbid water body image enhancement method based on image processing.
Background
When underwater resource detection or target identification is carried out, the transmissivity of light in a water body image is influenced due to the complex underwater environment and the activities of floating objects and underwater organisms in the water body, so that the image is blurred or shielded, and the image quality is poor due to image blurring.
When an image of a turbid water body is enhanced, in the prior art, image enhancement is mainly performed by using a dark channel prior defogging algorithm, wherein the dark channel prior defogging algorithm is to calculate a reflected light intensity value in the image according to the transmittance of the whole image and then obtain an image-enhanced pixel value according to the reflected light intensity value and an atmospheric light intensity value of the image.
However, when local regions with different degrees of turbidity exist in the turbid water image, dark channels corresponding to the local regions with different degrees of turbidity are different, that is, reflected light intensity values of objects in the local regions with different degrees of turbidity are different, and the reflected light intensity values in the turbid water image are influenced by the transmittance, so that the reflected light intensity values of the objects in the local regions with different degrees of turbidity can not be accurately reflected by using the transmittance of the whole image, and the enhanced image obtained by using the transmittance of the whole image has a poor enhancement effect of the local region therein.
Therefore, it is desirable to provide an image enhancement method for a turbid water body based on image processing to solve the above problems.
Disclosure of Invention
The invention provides an image enhancement method for a turbid water body based on image processing, which aims to solve the existing problems.
The invention relates to a turbid water body image enhancement method based on image processing, which adopts the following technical scheme: the method comprises the following steps:
obtaining a turbid water body image;
acquiring a pixel difference value of each pixel point and a neighborhood pixel point in the turbid water body image, and taking the maximum pixel difference value as the fuzzy degree of the corresponding pixel point;
clustering the pixel points according to the fuzzy degree difference of each pixel point and the neighborhood pixel points to obtain a plurality of cluster areas;
taking a pixel point corresponding to the maximum fuzzy degree in the fuzzy degrees corresponding to all pixel points in each cluster region as a characteristic point of the corresponding cluster region;
acquiring a local dark channel map corresponding to each cluster area, acquiring an atmospheric light intensity value corresponding to each cluster area according to the local dark channel map, and taking the atmospheric light intensity value as an atmospheric light intensity value of a characteristic point of the cluster area;
obtaining the transmissivity corresponding to the characteristic points according to the atmospheric light intensity values of the characteristic points, and calculating the transmissivity of each pixel point in the corresponding cluster area according to the transmissivity corresponding to the characteristic points of each cluster area and the fuzzy degree of each pixel point;
and obtaining a reflected light intensity value of each pixel point of each clustering region in the turbid water body image according to the atmospheric light intensity value of each clustering region and the transmissivity of each pixel point in the clustering region, and obtaining an enhanced image of the turbid water body image according to the reflected light intensity values of all the pixel points and the atmospheric light intensity value of the turbid water body image.
Preferably, the turbid water body image is an image obtained by denoising the turbid water body image by using bilateral filtering.
Preferably, the step of clustering the pixel points according to the fuzzy degree difference of each pixel point and the neighboring pixel points thereof to obtain a plurality of clustering areas comprises:
setting a fuzzy degree difference threshold value;
and clustering the pixels of which the fuzzy degree difference value between each pixel and each neighborhood pixel is smaller than the fuzzy degree difference threshold value and the neighborhood pixels to obtain a plurality of cluster regions.
Preferably, the method further comprises the following steps:
setting an area threshold of a cluster region;
acquiring a target clustering region with the area smaller than an area threshold;
acquiring the mean value of first fuzzy degree difference values of all pixel points of a target cluster region and the mean value of second fuzzy degree difference values of all pixel points of each cluster region in the neighborhood of the target cluster region;
the mean value of the first fuzzy degree difference value and the mean value of each second fuzzy degree difference value are differentiated to obtain a mean value difference value;
dividing the target clustering area into clustering areas corresponding to the minimum mean difference value to obtain a final clustering area;
and taking the final cluster area as a cluster area.
Preferably, the step of acquiring the local dark channel map corresponding to each cluster region includes:
setting a window in a cluster area corresponding to each characteristic point by taking each characteristic point as a center;
acquiring the minimum value of all pixel points in the window in an RGB three channel;
and acquiring a local dark channel image corresponding to each window, and taking the local dark channel image as a local dark channel image corresponding to the cluster area.
Preferably, the step of obtaining the atmospheric light intensity value corresponding to each cluster region according to the local dark channel map includes:
taking pixel points which are less than 0.1% of the brightest value in the local dark channel image as target pixel points;
and taking the maximum brightness value of the target pixel point in the turbid water body image as the atmospheric luminous intensity value of the cluster region.
Preferably, the step of calculating the transmittance of each pixel point in the corresponding cluster region according to the transmittance corresponding to the feature point of each cluster region and the blurring degree of each pixel point comprises:
calculating the ratio of the fuzzy degree of the characteristic points of the cluster region to the fuzzy degree of the pixel points in the cluster region;
and taking the product of the ratio of the fuzzy degree of the characteristic points of the cluster region to the fuzzy degree of the pixel points in the cluster region and the transmissivity corresponding to the characteristic points as the transmissivity of the pixel points.
Preferably, the step of obtaining the enhanced image of the turbid water body image according to the reflected light intensity values of all the pixel points and the atmospheric light intensity value of the turbid water body image includes:
taking the sum of the reflected light intensity value of each pixel point and the atmospheric light intensity value of the turbid water body image as the pixel value of the pixel point after enhancement;
and obtaining an enhanced image of the turbid water body image according to the enhanced pixel values of all the pixel points.
The invention has the beneficial effects that: the invention relates to a turbid water body image enhancement method based on image processing, which is characterized in that pixel points are clustered through the fuzziness of the pixel points to obtain a plurality of clustering areas, the local areas with different turbidity degrees of a turbid water body image are divided, then characteristic points representing the turbidity degree of each clustering area are obtained, the transmissivity of each pixel point in each clustering area is obtained according to the transmissivity of the characteristic points, then the reflected light intensity value of the corresponding pixel point in the turbid water body image is calculated according to the transmissivity and the fuzziness degree of each pixel point, the enhanced image of the turbid water body image is obtained according to the reflected light intensity value and the atmospheric light intensity value, the transmissivity of each pixel point in each local area is calculated, the reflected light intensity value of the corresponding pixel point is calculated according to the transmissivity of the pixel point in each local area, then the enhanced pixel value of each pixel point is calculated according to the turbid light intensity value and the atmospheric light intensity of the turbid water body image, so that the local areas with different degrees are accurately enhanced, and the enhancement effect of the local areas is further improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of the general steps of an embodiment of an image enhancement method for a turbid water body based on image processing.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In an embodiment of the method for enhancing an image of a turbid water body based on image processing, an application scenario of the embodiment is that local areas with different turbidity degrees may exist in the turbid water body image, and when a dark channel preoperative algorithm is used for enhancing, the image is integrally enhanced by using the same enhancement scale, and the local areas with different turbidity degrees cannot be adaptively enhanced, so that an enhancement effect is affected, so as shown in fig. 1, the method for enhancing the turbid water body based on image processing provided by the embodiment includes:
s1, obtaining a turbid water body image; specifically, an underwater detection device is used for collecting images of turbid water bodies.
Specifically, because the muddy condition of water can influence the imaging effect, so need strengthen it, all can have the noise when utilizing the underwater camera to form images to the water, in order to avoid the influence of noise to follow-up image processing, consequently, need carry out the noise reduction processing to the image before carrying out image enhancement, because, bilateral filter is the nonlinear filter, it can be when falling the noise and protect marginal characteristic, so this embodiment adopts bilateral filtering to fall the noise to muddy water image, will fall the image after making an uproar as muddy water image.
S2, obtaining pixel difference values of each pixel point and neighborhood pixel points in the turbid water body image, taking the maximum pixel difference value as the fuzzy degree of the corresponding pixel point, and clustering the pixel points according to the fuzzy degree difference values of each pixel point and the neighborhood pixel points to obtain a plurality of clustering areas.
Specifically, for a turbid water body, the transmittance of atmospheric light in a water body image is influenced mainly by the existence of a large number of floating objects in the water body, so that the image is blurred or shielded by the floating objects, and the quality of the image is poor.
The image enhancement by the dark channel prior defogging algorithm is the prior art and is mainly judged based on the imaging principle of a camera, and the imaging of the camera is mainly used for receiving the reflection of an object, such as for pixel points in the imageWhich reflects light ofAt this time, in the process of reflected light propagation, the floating object in the water body may block part of the reflected light, so as to attenuate the reflected light of the object, and at this time, the blocking degree of the floating object to the reflected light is the ratio of the reflected light reaching the camera to the reflected light of the object, that is, the transmittance isTransmittance ofThe larger the ratio of the reflected light, that is, the smaller the degree of shielding the reflected light in the turbid water image, the lower the turbidity of the turbid water.
Specifically, the pixel difference value of each pixel point and its neighborhood pixel point in the turbid water body image is obtained, and the maximum pixel difference value is used as the fuzzy degree of the corresponding pixel point.
Specifically, the step of clustering the pixel points according to the fuzzy degree difference of each pixel point and the neighborhood pixel points to obtain a plurality of cluster areas comprises: for existence ofThe turbid water body images of the local areas with different turbidity degrees need to be subjected to different-scale enhancement on the corresponding local areas according to different turbidity degrees of different local areas, so that the distribution of the turbidity degrees in the turbid water body images needs to be determined at first, namely, a fuzzy degree difference threshold value is set; clustering the pixels with the fuzzy degree difference value between each pixel and each neighborhood pixel smaller than the fuzzy degree difference value threshold value and the neighborhood pixels to obtain a plurality of cluster regions, namely clustering the pixelsDegree of blur is noted asThen pixel pointTo (1) aThe fuzzy degree of each neighborhood pixel point is recorded asPixel pointAnd its adjacent pixel pointCorresponding difference in blur degree ofIn this embodiment, the difference of the blur degrees is determined according to an empirical valueWhen the value of (2) is 5, the pixel point isAnd its adjacent pixel pointCorresponding difference in degree of blurDifference in degree of blurThen the pixel point is setAnd its adjacent pixel pointAnd clustering into a cluster, and by analogy, clustering all pixel points in the turbid water body image to obtain a corresponding cluster.
In order to reduce the calculation amount, and because the fuzzy degree of the small-area cluster region has little influence on the fuzzy degree of the large-area cluster region, the area threshold of the cluster region is set first, the empirical value of the area threshold is 4, and the empirical value can be modified according to the actual condition; acquiring a target clustering region with the area smaller than an area threshold; acquiring the mean value of first fuzzy degree difference values of all pixel points of a target cluster region and the mean value of second fuzzy degree difference values of all pixel points of each cluster region in the neighborhood of the target cluster region; the mean value of the first fuzzy degree difference value and the mean value of each second fuzzy degree difference value are differentiated to obtain a mean value difference value; dividing the target clustering area into clustering areas corresponding to the minimum mean difference value to obtain a final clustering area; and taking the final cluster region as a cluster region, wherein the purpose of the step is to divide local regions with different turbidity degrees of the turbid water body image.
And S3, taking the pixel point corresponding to the maximum fuzzy degree in the fuzzy degrees corresponding to all the pixel points in each cluster region as the characteristic point of the corresponding cluster region.
In particular toObtaining a plurality of clustered regions from step S3A cluster area is represented in the form of a cluster,whereinIs shown asThe cluster region reflects the turbidity degree of the turbid water body image according to the blur degree of the turbid water body image according to the influence of floating objects in the water body on the image in the turbid water body image in the same way as the atomization effect of the image, and in order to reflect the turbidity degree of the turbid water body image, namely the turbidity degree of each cluster region, the cluster region is formed according to the blur degree of the turbid water body imageThe bigger the turbid water body image is, the more turbid the turbid water body image is reflected, so that the pixel point corresponding to the maximum fuzzy degree in the fuzzy degrees corresponding to all the pixel points in each cluster region is used as the turbid degree characteristic point corresponding to the cluster region, the difference of the turbid degrees among different cluster regions is reflected by the fuzzy degree corresponding to the turbid degree characteristic point of the cluster region, and the characteristic point of each cluster region is obtained based on the difference.
And S4, obtaining a local dark channel map corresponding to each cluster area, obtaining an atmospheric light intensity value corresponding to each cluster area according to the local dark channel map, and taking the atmospheric light intensity value as an atmospheric light intensity value of the characteristic point of the cluster area.
Specifically, the step of obtaining the local dark channel map corresponding to each cluster region includes: setting a size of a cluster area corresponding to each characteristic point by taking each characteristic point as a centerThe window of (1); acquiring the minimum value of all pixel points in the window in R, G, B three channels; and acquiring a local dark channel map corresponding to each window, and using the local dark channel map as a local dark channel map corresponding to the cluster area.
Specifically, the step of obtaining the atmospheric light intensity value corresponding to each cluster region according to the local dark channel map includes: taking pixel points which are less than 0.1% of the brightest value in the local dark channel image as target pixel points; and taking the corresponding maximum brightness value of the target pixel point in the turbid water body image as the atmospheric light intensity value of the cluster region.
S5, obtaining the transmissivity corresponding to the characteristic points according to the atmospheric light intensity values of the characteristic points, and calculating the transmissivity of each pixel point in the corresponding cluster area according to the transmissivity corresponding to the characteristic points of each cluster area and the fuzzy degree of each pixel point;
specifically, the transmittance in the image enhancement technology by using the dark channel prior defogging algorithm in the prior art reflects the turbidity degree, that is, the smaller the transmittance is, it indicates that suspended matter exists in the turbid water body image, and more other matters block light, so that the turbid water body of the turbid water body image is reflected, and for the situation that local areas with different turbidity degrees exist, the local areas should have different transmittances, so in this embodiment, the transmittance corresponding to the feature point is obtained according to the atmospheric light intensity value of the feature point, and the method for calculating the transmittance is a method for calculating the transmittance in the image enhancement technology by using the dark channel prior defogging algorithm, so this embodiment is not repeated.
When the reflected light intensity value of each cluster region is corrected by using the transmittance corresponding to the feature point, the enhanced cluster region obtained by calculating the reflected light intensity value of each cluster region can enhance the blocking phenomenon of the turbid water body image, that is, the reflected light intensity values of different cluster regions are different, so that the corresponding enhancement degrees are different, and further, the difference between the cluster region and the cluster region can be formed.
In order to avoid the occurrence of an obvious blocking phenomenon, specifically, the embodiment calculates the transmittance of each pixel point in the corresponding cluster region by using the transmittance corresponding to the feature point of each cluster region and the blur degree of each pixel point, and then calculates the ratio of the blur degree of the feature point of the cluster region to the blur degree of the pixel point in the cluster region; taking the product of the ratio of the fuzzy degree of the characteristic points of the cluster region to the fuzzy degree of the pixel points in the cluster region and the transmissivity corresponding to the characteristic points as the transmissivity of the pixel points, wherein the formula for calculating the transmissivity of each pixel point in the cluster region is as follows:
in the formula (I), the compound is shown in the specification,denotes the first(ii) first of the clustered regionsThe transmittance of each pixel point;
when needing to be explained, according to the steps 1 to 5, firstly, the corresponding fuzzy degrees of all the pixel points are calculatedThe method comprises the steps of carrying out cluster analysis on pixel points, then obtaining characteristic points with local representativeness in each cluster region, representing the turbidity degree of the corresponding cluster region by the fuzzy degree (turbidity degree) of each characteristic point, and accurately representing the turbidity degree of an image according to the transmittance in a dark channel pre-inspection algorithm, so that after the characteristic points of each cluster region of the turbid water body image are obtained, the transmittance of the characteristic points is calculated according to a dark channel prior algorithm, then the transmittance of each pixel point is obtained by utilizing the transmittance of the characteristic points and the fuzzy degree of each pixel point in the cluster region corresponding to the characteristic points, namely, the step firstly determines the transmittance relation between the pixel points and the characteristic points according to the fuzzy degree relation between the pixel points and the characteristic points in each cluster region, so as to obtain the transmittance of each pixel point, and then calculates the reflected light intensity value in the cluster region according to the transmittance of each pixel point in the cluster region, and avoids the blocking phenomenon of the turbid water body image.
S6, obtaining the reflected light intensity value of each pixel point of each clustering area in the turbid water body image according to the atmospheric light intensity value of each clustering area and the transmissivity of each pixel point in the clustering area, and obtaining the enhanced image of the turbid water body image according to the reflected light intensity values of all the pixel points and the atmospheric light intensity value of the turbid water body image.
Specifically, based on an image enhancement formula in the dark channel prior-inspection algorithm, a formula for obtaining an enhanced image of the turbid water body image according to the transmittance and the blur degree of each pixel point in local regions (cluster regions) with different turbidity degrees is obtained in the embodiment:
in the formula (I), the compound is shown in the specification,the second of the turbid water body imageIn a cluster areaThe enhanced pixel values of the pixel points;
representing an image of a turbid body of waterAtmospheric light intensity values for the respective cluster regions;
and taking the sum of the reflected light intensity value of each pixel point and the atmospheric light intensity value of the turbid water body image as the pixel value of the pixel point after enhancement, and obtaining the enhanced image of the turbid water body image according to the pixel values of all the pixel points after enhancement.
It should be noted that, in the following description,is shown as(ii) first of the clustered regionsThe transmittance of the individual pixels is determined,representing images of turbid waterIn a cluster areaDetermining the transmittance relation between the pixel points and the characteristic points according to the fuzzy degree relation between the pixel points and the characteristic points in each cluster region to obtain the transmittance of each pixel point, and determining the transmittance of each pixel point according to the pixel point in each cluster regionThe transmittance of the points is used for obtaining the enhanced image of the turbid water body image according to the reflected light intensity value of the corresponding pixel point of the cluster region and the atmospheric light intensity value of the turbid water body image, so that the turbid water body image is accurately enhanced, and the enhancement effect is further improved.
In summary, the present invention provides an image processing-based turbid water body image enhancement method, which is implemented by clustering pixel points through the blur degree of the pixel points to obtain a plurality of clustering regions, and is intended to divide local regions of turbid water body images with different turbidity degrees, then obtain characteristic points representing the turbidity degree of each clustering region, obtain the transmittance of each pixel point in each clustering region according to the transmittance of the characteristic points, then calculate the reflected light intensity value of the corresponding pixel point in the turbid water body image according to the transmittance and the blur degree of each pixel point, obtain an enhanced image of the turbid water body image according to the reflected light intensity value and the atmospheric light intensity value, implement calculation of the transmittance of each pixel point in each local region, and calculate the reflected light intensity value of the corresponding pixel point according to the transmittance of the pixel point in each local region, then calculate the enhanced pixel value of each pixel point according to each reflected light intensity value and the atmospheric light intensity value of the turbid water body image, thereby implement accurate enhancement of each local region with different turbidity degrees, and further enhance the enhancement effect of the local regions.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and should not be taken as limiting the scope of the present invention, which is intended to cover any modifications, equivalents, improvements, etc. within the spirit and scope of the present invention.
Claims (8)
1. A turbid water body image enhancement method based on image processing is characterized by comprising the following steps:
obtaining a turbid water body image;
acquiring a pixel difference value of each pixel point and a neighborhood pixel point in the turbid water body image, and taking the maximum pixel difference value as the fuzzy degree of the corresponding pixel point; clustering the pixel points according to the fuzzy degree difference of each pixel point and the neighborhood pixel points to obtain a plurality of cluster areas;
taking a pixel point corresponding to the maximum fuzzy degree in the fuzzy degrees corresponding to all pixel points in each cluster region as a characteristic point of the corresponding cluster region;
acquiring a local dark channel map corresponding to each cluster area, acquiring an atmospheric light intensity value corresponding to each cluster area according to the local dark channel map, and taking the atmospheric light intensity value as an atmospheric light intensity value of a characteristic point of the cluster area;
obtaining the transmissivity corresponding to the characteristic points according to the atmospheric light intensity values of the characteristic points, and calculating the transmissivity of each pixel point in the corresponding cluster area according to the transmissivity corresponding to the characteristic points of each cluster area and the fuzzy degree of each pixel point;
and obtaining a reflected light intensity value of each pixel point of each corresponding cluster region in the turbid water body image according to the atmospheric light intensity value of each cluster region and the transmittance of each pixel point in the cluster region, and obtaining an enhanced image of the turbid water body image according to the reflected light intensity values of all the pixel points and the atmospheric light intensity value of the turbid water body image.
2. The method for enhancing the turbid water body image based on the image processing as claimed in claim 1, wherein the turbid water body image is an image obtained by denoising the turbid water body image by bilateral filtering.
3. The turbid water body image enhancement method based on image processing according to claim 1, wherein the step of clustering pixel points according to the fuzzy degree difference of each pixel point and its neighborhood pixel points to obtain a plurality of clustered regions comprises:
setting a fuzzy degree difference threshold;
and clustering the pixels of which the fuzzy degree difference value between each pixel and each neighborhood pixel is smaller than the fuzzy degree difference threshold value and the neighborhood pixels to obtain a plurality of cluster regions.
4. The method for enhancing the turbid water body image based on the image processing as claimed in claim 2, further comprising:
setting an area threshold of a cluster region;
acquiring a target clustering region with the area smaller than an area threshold;
acquiring the mean value of first fuzzy degree difference values of all pixel points of a target cluster region and the mean value of second fuzzy degree difference values of all pixel points of each cluster region in the neighborhood of the target cluster region;
the mean value of the first fuzzy degree difference value and the mean value of each second fuzzy degree difference value are differentiated to obtain a mean value difference value;
dividing the target clustering area into clustering areas corresponding to the minimum mean difference value to obtain a final clustering area;
and taking the final cluster area as a cluster area.
5. The turbid water body image enhancement method based on image processing according to claim 1, wherein the step of obtaining the local dark channel map corresponding to each cluster region comprises:
setting a window in a cluster area corresponding to each characteristic point by taking each characteristic point as a center;
acquiring the minimum value of all pixel points in the window in an RGB three channel;
and acquiring a local dark channel image corresponding to each window, and taking the local dark channel image as a local dark channel image corresponding to the cluster area.
6. The turbid water body image enhancement method based on image processing as claimed in claim 1, wherein the step of obtaining the atmospheric light intensity value corresponding to each cluster region according to the local dark channel map comprises:
taking pixel points which are less than 0.1% of the brightest value in the local dark channel image as target pixel points;
and taking the corresponding maximum brightness value of the target pixel point in the turbid water body image as the atmospheric light intensity value of the cluster region.
7. The turbid water body image enhancement method based on image processing according to claim 1, wherein the step of calculating the transmittance of each pixel point in the corresponding cluster region according to the transmittance corresponding to the feature point of each cluster region and the blurring degree of each pixel point comprises:
calculating the ratio of the fuzzy degree of the characteristic points of the cluster region to the fuzzy degree of the pixel points in the cluster region;
and taking the product of the ratio of the fuzzy degree of the characteristic points of the cluster region to the fuzzy degree of the pixel points in the cluster region and the transmissivity corresponding to the characteristic points as the transmissivity of the pixel points.
8. The turbid water body image enhancement method based on image processing according to claim 1, wherein the step of obtaining the enhanced image of the turbid water body image according to the reflected light intensity values of all the pixel points and the atmospheric light intensity value of the turbid water body image comprises:
taking the sum of the reflected light intensity value of each pixel point and the atmospheric light intensity value of the turbid water body image as the pixel value of the pixel point after enhancement;
and obtaining an enhanced image of the turbid water body image according to the enhanced pixel values of all the pixel points.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211009346.9A CN115082361B (en) | 2022-08-23 | 2022-08-23 | Turbid water body image enhancement method based on image processing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211009346.9A CN115082361B (en) | 2022-08-23 | 2022-08-23 | Turbid water body image enhancement method based on image processing |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115082361A CN115082361A (en) | 2022-09-20 |
CN115082361B true CN115082361B (en) | 2022-10-28 |
Family
ID=83245159
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211009346.9A Active CN115082361B (en) | 2022-08-23 | 2022-08-23 | Turbid water body image enhancement method based on image processing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115082361B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115311288B (en) * | 2022-10-12 | 2023-03-24 | 江苏魔视智能科技有限公司 | Method for detecting damage of automobile film |
CN115797225B (en) * | 2023-01-06 | 2023-04-21 | 山东环宇地理信息工程有限公司 | Unmanned ship acquired image enhancement method for underwater topography measurement |
CN116109933B (en) * | 2023-04-13 | 2023-06-23 | 山东省土地发展集团有限公司 | Dynamic identification method for ecological restoration of abandoned mine |
CN117423126B (en) * | 2023-12-18 | 2024-03-08 | 广州市省信软件有限公司 | Bill image-text recognition method and system based on data analysis |
CN117576692B (en) * | 2024-01-17 | 2024-03-29 | 大连云智信科技发展有限公司 | Method for detecting water source pollution of animal husbandry based on image recognition |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105761227A (en) * | 2016-03-04 | 2016-07-13 | 天津大学 | Underwater image enhancement method based on dark channel prior algorithm and white balance |
CN106056559A (en) * | 2016-06-30 | 2016-10-26 | 河海大学常州校区 | Dark-channel-prior-method-based non-uniform-light-field underwater target detection image enhancement method |
CN106780380A (en) * | 2016-12-09 | 2017-05-31 | 电子科技大学 | A kind of image defogging method and system |
CN107316278A (en) * | 2017-05-13 | 2017-11-03 | 天津大学 | A kind of underwater picture clearness processing method |
CN108765342A (en) * | 2018-05-30 | 2018-11-06 | 河海大学常州校区 | A kind of underwater image restoration method based on improvement dark |
CN110930319A (en) * | 2019-11-05 | 2020-03-27 | 天津大学 | Underwater image sharpening method based on self-adaptive transmissivity estimation |
CN114463211A (en) * | 2022-01-28 | 2022-05-10 | 华中科技大学 | Underwater image enhancement method based on turbidity classification |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108986049A (en) * | 2018-07-20 | 2018-12-11 | 百度在线网络技术(北京)有限公司 | Method and apparatus for handling image |
-
2022
- 2022-08-23 CN CN202211009346.9A patent/CN115082361B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105761227A (en) * | 2016-03-04 | 2016-07-13 | 天津大学 | Underwater image enhancement method based on dark channel prior algorithm and white balance |
CN106056559A (en) * | 2016-06-30 | 2016-10-26 | 河海大学常州校区 | Dark-channel-prior-method-based non-uniform-light-field underwater target detection image enhancement method |
CN106780380A (en) * | 2016-12-09 | 2017-05-31 | 电子科技大学 | A kind of image defogging method and system |
CN107316278A (en) * | 2017-05-13 | 2017-11-03 | 天津大学 | A kind of underwater picture clearness processing method |
CN108765342A (en) * | 2018-05-30 | 2018-11-06 | 河海大学常州校区 | A kind of underwater image restoration method based on improvement dark |
CN110930319A (en) * | 2019-11-05 | 2020-03-27 | 天津大学 | Underwater image sharpening method based on self-adaptive transmissivity estimation |
CN114463211A (en) * | 2022-01-28 | 2022-05-10 | 华中科技大学 | Underwater image enhancement method based on turbidity classification |
Non-Patent Citations (6)
Title |
---|
An Underwater Image Enhancement Algorithm for Environment Recognition and Robot Navigation;Kun Xie et al.;《robotics》;20180313;第1-13页 * |
Intelligent Defogging Method Based on Clustering and Dark Channel Prior;Ma Xiao et al.;《2018 3rd IEEE International Conference on Image, Vision and Computing》;20181231;第149-156页 * |
Underwater mage quality improvement approach based on an adapted Gabor multi-channels filtering;K. OuldAmer et al.;《SPIE》;20190521;第1-12页 * |
基于改进DCP算法的水下机器人视觉增强;汤忠强 等;《机器人》;20180331;第40卷(第2期);第222-230页 * |
基于暗通道先验与水体浑浊度识别的水下图像增强算法;谢坤;《中国优秀硕士学位论文全文数据库 信息科技辑》;20191215;I138-316 * |
水下图像增强和修复算法综述;魏郭依哲 等;《计算机应用研究》;20210930;第38卷(第9期);第2561-2569页,第2589页 * |
Also Published As
Publication number | Publication date |
---|---|
CN115082361A (en) | 2022-09-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN115082361B (en) | Turbid water body image enhancement method based on image processing | |
CN106780392B (en) | Image fusion method and device | |
CN107767354B (en) | Image defogging algorithm based on dark channel prior | |
Chung et al. | A non-parametric blur measure based on edge analysis for image processing applications | |
CN109191387B (en) | Infrared image denoising method based on Butterworth filter | |
CN111882504B (en) | Method and system for processing color noise in image, electronic device and storage medium | |
US20220210350A1 (en) | Image dehazing method and image dehazing apparatus using the same | |
CN111986120A (en) | Low-illumination image enhancement optimization method based on frame accumulation and multi-scale Retinex | |
CN111292257B (en) | Retinex-based image enhancement method in scotopic vision environment | |
CN110047055B (en) | Infrared image detail enhancement and denoising method | |
CN110428389B (en) | Low-light-level image enhancement method based on MSR theory and exposure fusion | |
CN112561804A (en) | Low-illumination underwater image enhancement method based on multi-scale detail enhancement | |
CN109272461A (en) | Infrared image enhancing method based on median filtering and color histogram | |
CN112837233A (en) | Polarization image defogging method for acquiring transmissivity based on differential polarization | |
JP2010193199A (en) | Image processor and image processing method | |
CN109934781B (en) | Image processing method, image processing device, terminal equipment and computer readable storage medium | |
CN114331873A (en) | Non-uniform illumination color image correction method based on region division | |
CN110648330A (en) | Defect detection method for camera glass | |
CN113344810A (en) | Image enhancement method based on dynamic data distribution | |
CN115393216A (en) | Image defogging method and device based on polarization characteristics and atmospheric transmission model | |
CN112053302A (en) | Denoising method and device for hyperspectral image and storage medium | |
US20140160323A1 (en) | Image Processing Method and Apparatus for Correcting an Image | |
CN113658067B (en) | Water body image enhancement method and system in air tightness detection based on artificial intelligence | |
CN111598811A (en) | Single full-color remote sensing haze image sharpening method | |
CN113781367B (en) | Noise reduction method after low-illumination image histogram equalization |
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 |