Underwater image restoration method using deep low-rank non-negative matrix factorization, system for executing the underwater image restoration method, and storage medium storing a program for executing the underwater image restoration method

The underwater image restoration method using depth low-rank non-negative matrix factorization addresses color shift and distortion in underwater images by enhancing image quality through logarithmic transformation and matrix decomposition, improving clarity and contrast for real-time processing in marine environments.

JP7565616B2Active Publication Date: 2024-10-11SHANDONG UNIV OF SCI & TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2022160688
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2022-04-24
Filing Date
2022-10-05
Publication Date
2024-10-11
Estimated Expiration
2042-10-05

AI Technical Summary

Technical Problem

Existing underwater imaging technologies suffer from color shift and distortion due to light attenuation and scattering, leading to blurry images that hinder effective underwater exploration and research.

Method used

An underwater image restoration method using depth low-rank non-negative matrix factorization, involving logarithmic transformation, RGB channel sorting, and depth low-rank non-negative matrix factorization to decompose and enhance the image, removing noise and improving contrast.

Benefits of technology

The method effectively enhances underwater image quality by reducing color distortion and noise, improving peak signal-to-noise ratio and mean square error, making it suitable for real-time processing in marine applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007565616000023
    Figure 0007565616000023
  • Figure 0007565616000024
    Figure 0007565616000024
  • Figure 0007565616000025
    Figure 0007565616000025
Patent Text Reader

Abstract

SOLUTION: To provide an underwater image restoration method using a depth low-rank non-negative value matrix factorization that sorts acquired underwater images based on three channels of RGB to form matrices, and further performs a depth low-rank non-negative value matrix factorization on the matrices to control and decompose the three matrices, uses the final matrix after decomposition as a light irradiation component to act on the original image to obtain a restored image.EFFECT: While constraining scattered components of an underwater image to have low-rank properties and ensuring that a direct light irradiation component in the image contains useful information in the underwater image, the present invention enhances a contrast of the image, removes noise in the image, and enhances color information of the underwater image after processing, its peak signal-to noise ratio (PSNR)is larger than that of histogram equalization and medium filter, the mean square error (MSE) is smaller than that of the histogram equalization and medium filter, a quality of the underwater image is improved, and there is a certain practical value in improving the quality of the underwater image.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to the technical field of image processing, and in particular to an underwater image restoration method using deep low-rank non-negative matrix factorization, a system for executing the underwater image restoration method, and a storage medium storing a program for executing the underwater image restoration method. [Background technology]

[0002] Up to now, in underwater color images, different wavelengths of light have different degrees of attenuation when transmitted through water, resulting in color shift and distortion of objects, while the light scattering effect caused by water molecules and suspended particles in water causes blurring of underwater images. Although current underwater imaging technology has improved the quality of underwater images to some extent, these problems in underwater images cannot meet the needs of actual applications and hinder underwater exploration and research. Therefore, it is necessary to use image restoration technology to improve the quality of underwater images.

[0003] Image restoration is a method of improving image quality by performing related processing on specific image features and existing problems. The main methods are as follows: (1) image restoration methods based on airspace such as histogram equalization and average value filters and median filters; (2) underwater image restoration methods based on the degradation mechanism and optical characteristics of underwater images, such as underwater image restoration methods based on atmospheric turbulence models and underwater imaging models; (3) underwater image restoration methods based on the retinal cortex, such as the multi-scale Retinex algorithm; and (4) underwater image restoration methods using wavelet transform.

[0004] Here, histogram equalization is a common image restoration method, which changes the grayscale of each pixel in an image by changing the histogram of the image, and is mainly used to enhance the contrast of images with a small dynamic range. The grayscale distribution of the original image may be concentrated in a narrow range, which makes the image unclear. For example, the grayscale of an overexposed image will be concentrated in a high-luminance range, while the grayscale of an underexposed image will be concentrated in a low-luminance range. When histogram equalization is adopted, the histogram of the original image can be converted into a uniform distribution (balanced) form, which increases the dynamic range of the grayscale value difference between each pixel, further increasing the contrast and making the image clearer, thereby achieving the purpose of image restoration. The histogram of a one-dimensional image is expressed by the following function:

number

[0005] In the above formula, n k is the number of pixels with grayscale k, and N is the total number of pixels in the image. The Retinex algorithm determines the color of an object not by the absolute value of the reflected light intensity of the object, but by the object's ability to reflect long-wave (red), mid-wave (green), and short-wave (blue) light, so that the color of the object is not affected by the non-uniformity of the light illumination and has consistency. In other words, the Retinex algorithm is based on color constancy. Assuming that the original image S is the product of the light illumination image L and the reflectance image R, the Retinex algorithm is expressed by the following formula:

number

[0006] During processing, the image is transformed into the logarithmic domain and then the product relations are transformed into sum relations.

number

[0007] The core of the Retinex algorithm is to predict the illuminance L, estimate the L component from the image S, and then remove the L component to obtain the original reflectance component R, i.e.

number

[0008] Image restoration is mainly about estimating the original image from a noisy image. The higher the estimation accuracy, the better the image restoration effect. Common image restoration effectiveness evaluation criteria are Mean Squared Error (MSE) and Peak Signal to Noise Ratio (PSNR), which are expressed by the following formula:

number

[0009]

number

[0010] In the above formula, M and N are the number of pixels in the image in the X and Y directions, respectively, and f(i,j) and g(i,j) are the values ​​of the original image and the restored image at position (i,j). The two evaluation criteria, mean square error and peak signal-to-noise ratio, are objective criteria and cannot reflect the sensitivity of the human visual system to image quality. The smaller the mean square error (MSE), the larger the peak signal-to-noise ratio (PSNR), and the clearer the restored image, the better the restoration effect.

[0011] From the above analysis, the problems and deficiencies existing in the prior art are color distortion and noise influence existing in the underwater images in the prior art.

[0012] The difficulties in solving the above problems and deficiencies are as follows: To address the above problems, various image analysis methods have been proposed, but due to the special imaging mechanism and complex environment in the water, the practical application of these algorithms is limited. Special hardware devices are sometimes used to improve the effect of underwater image processing, but the hardware devices are relatively expensive, the operation is complicated, and it is difficult to obtain multiple underwater images of the same scene, which brings great difficulties to underwater exploration and research. Summary of the Invention [Problem to be solved by the invention]

[0013] The significance of solving the above problems and deficiencies is as follows: With the development and progress of science and technology, the process of mankind's ocean cognition is constantly accelerating. Underwater robots, sonar, laser, radar and other equipment have been put into underwater research, and data in different display formats have been obtained. However, images are the most intuitive representation. To handle various contingencies encountered on the seabed, a simple and fast algorithm is required to process the acquired image data in real time. The present invention has the characteristics of simplicity and efficiency, and can effectively improve the quality of underwater image processing. This is of great significance to marine environmental protection, development and utilization of marine resources, and marine military applications, etc. [Means for solving the problem]

[0014] In response to problems associated with the prior art, the present invention provides an underwater image restoration method using deep low-rank non-negative matrix factorization, a system for performing the underwater image restoration method, and a storage medium having a program for performing the underwater image restoration method stored thereon.

[0015] The present invention is thus realized, and provides an underwater image restoration method using deep low-rank non-negative matrix factorization, the underwater image restoration method using deep low-rank non-negative matrix factorization comprising: Step 1: Logarithmic transformation is performed on the acquired underwater images to normalize the data to the [0,1] interval; Step 2: sorting the converted image data based on the three channels of RGB to form a matrix, and then performing deep low-rank non-negative matrix factorization on the matrix to control and decompose the three matrices; and step 3, in which the final matrix after decomposition is taken as the light illumination component and multiplied by the original image to obtain a restored image.

[0016] Furthermore, in step 1, specifically, a logarithmic transformation is performed on the acquired underwater image f(x, y) to obtain z(x, y).

[0017] Furthermore, by performing a logarithmic transformation on f(x,y), z(x,y) can be obtained by the following formula:

number

[0018] Here, f(x,y) represents the original image, and z(x,y) represents the image after logarithmic transformation.

[0019] Furthermore, in step 2, the formed matrix is ​​represented by the following formula:

number

[0020] Here, R(x,y), G(x,y), and B(x,y) represent the pixel values ​​of the RGB channels after logarithmic transformation, respectively.

[0021] In addition, in step 2, a deep low-rank non-negative matrix factorization is performed on the matrix to control and decompose the two matrices;

number

[0022] is obtained.

[0023] Furthermore, to perform deep low-rank non-negative matrix factorization on the matrix, the formula for deep low-rank non-negative matrix factorization is as follows:

number

[0024] Here, E represents the error after the decomposition, and the smaller the error, the closer the decomposed matrix WH is to the original matrix M.

[0025] Furthermore, the low-rank constraint is expressed by the following formula:

number

[0026] Furthermore, in step 3, specifically, the result of H2 is multiplied with the original image to obtain the decomposed image e(x, y).

[0027] The present invention further provides an underwater image restoration system using deep low-rank non-negative matrix factorization, the underwater image restoration system using deep low-rank non-negative matrix factorization comprising: a logarithmic transformation module for performing a logarithmic transformation on the acquired underwater image; A matrix extension decomposition module for rearranging the converted image data based on the three channels of RGB to form a matrix, and then performing deep low-rank non-negative matrix factorization on the matrix to control and decompose the three matrices; and an image processing module for multiplying the final decomposition matrix by the original image to obtain a restored image.

[0028] The present invention further provides a storage medium for receiving a user input program, and the step of causing an electronic device to execute the underwater image restoration method using deep low-rank non-negative matrix factorization through the stored computer program includes: Step 1 performs a logarithmic transformation on the acquired underwater image; Step 2: sorting the converted image data based on the three channels of RGB to form a matrix, and then performing deep low-rank non-negative matrix factorization on the matrix to control and decompose the three matrices; and step 3, multiplying the final decomposed matrix by the original image to obtain a restored image.

[0029] The present invention further provides a computer program product stored on a computer readable medium, comprising a readable program, which when executed on an electronic device is used to provide a user input interface for performing the underwater image restoration method using said deep low-rank non-negative matrix factorization method. Effect of the Invention

[0030] Combining all the above technical solutions, the advantages and positive effects of the present invention are as follows: The non-negative matrix factorization method in the present invention is widely used in the field of image processing. Due to the absorption of light of different wavelengths by the medium and the influence of impurities in the water, the underwater image will have the effects of color shift and mist. In addition to the depth non-negative matrix factorization, a low-rank constraint is added to restore the underwater image and decompose the light illumination component of the underwater image. The present invention constrains the scattering component of the underwater image to have a low rank property, ensuring that the direct light illumination component in the image contains useful information in the underwater image. At the same time, the present invention enhances the contrast of the image, removes image noise, and enhances the color information of the underwater image after processing, whose peak signal-to-noise ratio (PSNR) is larger than that of histogram equalization and median filter, and whose mean square error (MSE) is smaller than that of histogram equalization and median filter, improving the quality of the underwater image, which has a certain practical value in improving the quality of the underwater image. [Brief description of the drawings]

[0031] [Figure 1] 1 is a flowchart of an underwater image restoration method using deep low-rank non-negative matrix factorization provided in an embodiment of the present invention. [Diagram 2]1 is a flowchart for restoring an underwater image using deep low-rank non-negative matrix factorization provided in an embodiment of the present invention. [Diagram 3] FIG. 2 is an underwater image effect diagram before processing provided in an embodiment of the present invention. [Figure 4] FIG. 4 is a diagram showing the effect of the histogram equalization method provided in the embodiment of the present invention after processing. [Diagram 5] FIG. 11 is a diagram showing the effect of processing by the Retinex algorithm provided in an embodiment of the present invention. [Figure 6] FIG. 2 is a diagram illustrating the effect of the underwater image restoration method using deep low-rank non-negative matrix factorization provided in the implementation of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0032] In order to clarify the objectives, claims and advantages of the present invention, the present invention will be described in more detail below in combination with the accompanying drawings and implementations. It should be understood that the specific implementations described in this specification are only for the purpose of illustrating the present invention, and are not intended to limit the present invention.

[0033] In response to the problems associated with the prior art, the present invention provides an underwater image restoration method using deep low-rank non-negative matrix factorization, a system for performing the underwater image restoration method, and a storage medium storing a program for performing the underwater image restoration method. The present invention will now be described in detail with reference to the accompanying drawings.

[0034] For the underwater image restoration method provided in the present invention, those skilled in the art can also implement it using other steps, and the underwater image restoration method provided in the present invention shown in FIG. 1 is merely a specific implementation form.

[0035] As shown in FIG. 1, an embodiment of the present invention provides an underwater image restoration method using deep low-rank non-negative matrix factorization, S101 performing a logarithmic transformation on the acquired underwater image; S102: rearrange the converted image data based on the three channels of RGB to form a matrix, and then perform non-negative matrix factorization on the matrix to control and decompose the two matrices; and step S103 of performing an exponential operation on the decomposed matrix to obtain a decomposed image, and rearranging pixel values ​​in the image to obtain a restored image.

[0036] Specifically, step S101 provided in the embodiment of the present invention performs a logarithmic transformation on the acquired underwater image f(x, y) to obtain z(x, y), The following formula shows that z(x,y) can be obtained by performing a logarithmic transformation on f(x,y):

number

[0037] Here, f(x,y) represents the original image, and z(x,y) represents the image after logarithmic transformation.

[0038] In the embodiment of the present invention, the formed matrix is ​​represented by the following formula:

number

[0039] Here, R(x,y), G(x,y), and B(x,y) represent the pixel values ​​of the RGB channels after logarithmic transformation, respectively.

[0040] In the embodiment of the present invention, S102 performs non-negative matrix factorization on a matrix, and decomposes two matrices in a controlled manner;

number

[0041] is obtained.

[0042] Here, non-negative matrix factorization is performed on the matrix. The formula for non-negative matrix factorization is as follows:

number

[0043] Here, E represents the error after the decomposition, and the smaller the error, the closer the decomposed matrix WH is to the original matrix M.

[0044] In the process of matrix decomposition, a low-rank constraint is added to control the effects of scattering and noise. The low-rank constraint is expressed by the following formula:

number

[0045] In the embodiment of the present invention, S103 multiplies the result of H2 by the original image to obtain a decomposed image e(x, y).

[0046] In one embodiment of the present invention, an underwater image restoration system using deep low-rank non-negative matrix factorization is provided, a logarithmic transformation module for performing a logarithmic transformation on the acquired underwater image; A matrix extension decomposition module for rearranging the converted image data based on the three channels of RGB to form a matrix, and then performing deep low-rank non-negative matrix factorization on the matrix to control and decompose the three matrices; and an image processing module for multiplying the final decomposition matrix by the original image to obtain a restored image.

[0047] The technical effects of the present invention will be described in detail in combination with simulation experiments.

[0048] The peak signal-to-noise ratio (PSNR) and mean squared error (MSE) employed in the histogram equalization, Retinex algorithm, and the present invention are shown in Table 1.

[0049] Comparison of evaluation indices of underwater images after image restoration processing

[0050] [Table 1]

[0051] By analyzing the features of underwater images, the light illumination color distortion, image blur and other features of underwater images are processed using a deep low-rank non-negative matrix factorization algorithm.

[0052] Comparing the data in the above table with Figures 3, 4, 5 and 6, we can see that the algorithm introduces less distortion and noise. It can also effectively balance the hue, saturation and contrast of the processed image. The surface rendering method has better robustness and effectiveness, so the method of the present invention has certain practical value in restoring underwater images.

[0053] It should be noted that the implementation of the present invention can be realized by hardware, software, or a combination of software and hardware. The hardware part can be realized by using special logic, and the software part can be stored in a memory executed by a suitable instruction execution system, such as a microprocessor or dedicated hardware. Those skilled in the art will understand that the above-mentioned device and method can be implemented using computer executable instructions and / or processor control code contained in a carrier medium, such as a magnetic disk, CD or DVD-ROM, a programmable memory, such as a read-only memory (firmware), or a data carrier, such as an optical or electronic signal carrier. The device and its modules of the present invention can be realized by hardware circuits of semiconductors, such as very large scale integrated circuits or gate arrays, logic chips, transistors, or programmable hardware devices, such as field programmable gate arrays, programmable logic devices, or by software executed by various types of processors, or by a combination of the above-mentioned hardware circuits and software, such as firmware.

[0054] The above is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention within the disclosed technical scope of the present invention should be included in the scope of protection of the present invention.

Claims

1. The acquired underwater image data is rearranged based on the three channels of RGB to form a matrix, and then a deep low-rank non-negative matrix factorization is performed on the matrix to control the non-negativity of the matrix and decompose it; applying the final matrix obtained after the decomposition to the original image to obtain a restored image.

2. The method for restoring underwater images using deep low-rank non-negative matrix factorization according to claim 1, characterized in that the logarithmic transformation is performed on the acquired underwater image f(x, y) to obtain z(x, y).

3. The logarithmic transformation of f(x, y) to obtain z(x, y) is expressed by the following formula: ##EQU00017## Here, f(x, y) represents the original image, and z(x, y) represents the image after logarithmic transformation. The method for underwater image restoration using deep low-rank non-negative matrix factorization according to claim 2,

4. The matrix formed by rearranging the converted image data based on the three RGB channels is expressed by the following formula: [0018] The method of claim 1, wherein R(x,y), G(x,y), and B(x,y) respectively represent pixel values ​​of RGB channels after logarithmic transformation.

5. After transformation, we perform deep low-rank non-negative matrix factorization. The controlled factorization process is divided into two steps: [0019] The method for underwater image restoration using depth low-rank non-negative matrix factorization according to claim 1, characterized in that:

6. To perform deep low-rank non-negative matrix factorization on the matrix, the formula for deep low-rank non-negative matrix factorization is as follows: [0020] Here, E represents the error after the decomposition, and the smaller the error, the closer the decomposition matrix W is to the original matrix M. The underwater image restoration method using deep low-rank non-negative matrix factorization according to claim 5,

7. The low-rank constraint is expressed by the following formula: ##EQU00021## The underwater image restoration method using depth low-rank non-negative matrix factorization according to claim 6, characterized in that the matrix is ​​subjected to low-rank decomposition as described above to obtain a decomposed matrix, and the final matrix is ​​applied to the original image as a light irradiation component to obtain a restored image e(x, y).

8. A system for implementing the underwater image restoration method using deep low-rank non-negative matrix factorization includes: a logarithmic transformation module for performing a logarithmic transformation on the acquired underwater image; a matrix extension decomposition module for rearranging the transformed image data based on the three channels of RGB to form a matrix, and then performing a deep low-rank non-negative matrix factorization on the matrix to control and decompose the three matrices; and an image processing module for applying the final matrix after the decomposition to the original image as a light illumination component to obtain a restored image. A system for performing the underwater image restoration method using deep low-rank non-negative matrix factorization according to any one of claims 1 to 7.

9. A storage medium having a program stored therein for causing an electronic device to execute the underwater image restoration method using the deep low-rank nonnegative matrix factorization according to any one of claims 1 to 7, the program including the following steps. Step 1: performing a logarithmic transformation on the acquired underwater image; Step 2: rearrange the transformed image data based on the three channels of RGB to form a matrix, and then perform a depth low-rank non-negative matrix factorization on the matrix to control and decompose the three matrices; Step 3: The final decomposition matrix is ​​applied to the original image as a light illumination component to obtain a restored image.

10. A computer program product stored on a computer readable medium, comprising a readable program, which when executed on an electronic device is used to provide a user input interface for performing the underwater image restoration method using the deep low-rank non-negative matrix factorization method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Underwater image enhancement and detail recovery method

    CN112837232A

  • Underwater image enhancement method based on multi-interval sub-histogram equalization

    CN114240793A