Sobel Edge Detection Based on Weighted Nuclear Norm Minimization Image Denoising
<p>Detection results of the Cameraman image by the tested algorithms at different noise levels. (<b>a</b>) Experimental image, and Gaussian noises with standard deviations of 0, 30, 40 and 80 are added, respectively; (<b>b</b>) detection result of the traditional Sobel operator; (<b>c</b>) detection result of the algorithm proposed in Reference [<a href="#B3-electronics-10-00655" class="html-bibr">3</a>]; (<b>d</b>) detection result of the algorithm in this paper.</p> "> Figure 2
<p>MSE line chart of the three algorithms for the Cameraman image.</p> "> Figure 3
<p>PSNR line chart of the three algorithms for the Cameraman image.</p> "> Figure 4
<p>SSIM line chart of the three algorithms for the Cameraman image.</p> "> Figure 5
<p>Detection results of the Monarch image by the tested algorithms at different noise levels. (<b>a</b>) Experimental image, and Gaussian noises with standard deviations of 0, 30, 40 and 80 are added, respectively; (<b>b</b>) detection result of the traditional Sobel operator; (<b>c</b>) detection result of the algorithm proposed in Reference [<a href="#B3-electronics-10-00655" class="html-bibr">3</a>]; (<b>d</b>) detection result of the algorithm in this paper.</p> "> Figure 6
<p>MSE line chart of the three algorithms for the Monarch image.</p> "> Figure 7
<p>PSNR line chart of the three algorithms for the Monarch image.</p> "> Figure 8
<p>SSIM line chart of the three algorithms for the Monarch image.</p> "> Figure 9
<p>Detection results of the MIT image by the tested algorithms at different noise levels. (<b>a</b>) Experimental image, and Gaussian noises with standard deviations of 0, 30, 40 and 80 are added, respectively; (<b>b</b>) detection result of the traditional Sobel operator; (<b>c</b>) detection result of the algorithm proposed in Reference [<a href="#B3-electronics-10-00655" class="html-bibr">3</a>]; (<b>d</b>) detection result of the algorithm in this paper.</p> "> Figure 10
<p>MSE line chart of the three algorithms for the MIT image.</p> "> Figure 11
<p>PSNR line chart of the three algorithms for the MIT image.</p> "> Figure 12
<p>SSIM line chart of the three algorithms for the MIT image.</p> ">
Abstract
:1. Introduction
2. Sobel Edge Detection Operator
2.1. Image Gradient
2.2. Sobel Operator
3. Sobel Edge Detection Based on Weighted Nuclear Norm Minimization (WNNM) Image Denoising
3.1. WNNM Image Denoising Algorithm
3.2. Improved Sobel Edge Detection Operator
- Dividing the noisy image into blocks. In order to eliminate the problem of seams when reconstructing an image, there needs to be some overlap between adjacent blocks. After block segmentation, similar image blocks are gathered according to the nonlocal similarity to form a low-rank matrix. The common criterion for judging whether blocks are similar is the Euclidean distance; that is, for blocks and , there is:
- Mathematical modeling and solving the objective function. Using the low-rank characteristic of the matrix obtained in the previous step to perform WNNM mathematical modeling of the image denoising problem, and using the singular value threshold method to solve the objective function to obtain the denoised block groups.
- Reconstructing the image. In the process of reconstructing the image, due to the different selection of the center block of the block group, the same block may belong to multiple block groups at the same time, so it is necessary to average all the denoising results containing this block to get the final denoising result. Similarly, the averaging method is also used for the overlapping part between adjacent blocks to obtain a denoised complete image.
- Obtaining the edge pixels of the image. After WNNM denoising, the interference factors of edge detection are greatly reduced. At this time, the Sobel operator is used to calculate the grayscale difference approximation of the horizontal and vertical directions of each pixel in the image, and then the estimated gradient value is obtained. Finally, these gradient values are compared with the preset threshold, and the edge pixels of the image are those that exceed the threshold.
4. Experimental Results and Analysis
5. Conclusions
Author Contributions
Funding
Acknowledgments
Conflicts of Interest
References
- Liu, Y.; Xie, Z.; Liu, H. An Adaptive and Robust Edge Detection Method Based on Edge Proportion Statistics. IEEE Trans. Image Process. 2020, 29, 5206–5215. [Google Scholar] [CrossRef]
- Zhang, Y.; Han, X.; Zhang, H.; Zhao, L. Edge detection algorithm of image fusion based on improved Sobel operator. In Proceedings of the 2017 IEEE 3rd Information Technology and Mechatronics Engineering Conference (ITOEC), Chongqing, China, 3–5 October 2017; pp. 457–461. [Google Scholar] [CrossRef]
- Topno, P.; Murmu, G. An Improved Edge Detection Method based on Median Filter. In Proceedings of the 2019 Devices for Integrated Circuit (DevIC), Kalyani, West Bengal, India, 23–24 March 2019; pp. 378–381. [Google Scholar] [CrossRef]
- Yoon, J.; Lee, C. Edge Detection Using the Bhattacharyya Distance with Adjustable Block Space. Electron. Imaging 2020, 10, 349–362. [Google Scholar] [CrossRef]
- Chetia, R.; Boruah, S.M.B.; Sahu, P.P. Quantum image edge detection using improved Sobel mask based on NEQR. Quantum Inf. Process. 2020, 1, 21–39. [Google Scholar] [CrossRef]
- Sung, T.L.; Lee, H.J. Depth edge detection using edge-preserving filter and morphological operations. Int. J. Syst. Assur. Eng. Manag. 2020, 11, 812–817. [Google Scholar] [CrossRef]
- Xie, X. An improved industrial sub-pixel edge detection algorithm based on coarse and precise location. J. Ambient Intell Humaniz. Comput. 2020, 11, 2061–2070. [Google Scholar] [CrossRef]
- Raheja, S.; Kumar, A. Edge detection based on type-1 fuzzy logic and guided smoothening. Evol. Syst. 2019, 23, 349–360. [Google Scholar] [CrossRef]
- Shui, P.; Wang, F. Anti-Impulse-Noise Edge Detection via Anisotropic Morphological Directional Derivatives. IEEE Trans. Image Process. 2017, 26, 4962–4977. [Google Scholar] [CrossRef] [PubMed]
- Zheng, Z.; Zha, B.; Yuan, H.; Xuchen, Y.; Gao, Y.; Zhang, H. Adaptive Edge Detection Algorithm Based on Improved Grey Prediction Model. IEEE Access 2020, 8, 102165–102176. [Google Scholar] [CrossRef]
- Li, K.; Tian, Y.; Wang, B.; Qi, Z.; Wang, Q. Bi-Directional Pyramid Network for Edge Detection. Electronics 2021, 10, 329. [Google Scholar] [CrossRef]
- Mittal, M.; Verma, A.; Kaur, I.; Kaur, B.; Sharma, M.; Goyal, L.M.; Roy, S.; Kim, T.H. An Efficient Edge Detection Approach to Provide Better Edge Connectivity for Image Analysis. IEEE Access 2019, 7, 33240–33255. [Google Scholar] [CrossRef]
- Hou, L.; Qin, Y.; Zheng, H.; Pan, Z.; Mei, J.; Hu, Y. Hybrid High-Order and Fractional-Order Total Variation with Nonlocal Regularization for Compressive Sensing Image Reconstruction. Electronics 2021, 10, 150. [Google Scholar] [CrossRef]
- Oh, T.; Matsushita, Y.; Tai, Y.; Kweon, I.S. Fast Randomized Singular Value Thresholding for Low-Rank Optimization. IEEE Trans. Pattern Anal. Mach. Intell. 2018, 40, 376–391. [Google Scholar] [CrossRef] [Green Version]
- Candès, E.; Recht, B. Exact matrix completion via convex optimization. Commun. ACM 2012, 55, 111–119. [Google Scholar] [CrossRef] [Green Version]
- Yang, H.; Park, Y.; Yoon, J.; Jeong, B. An Improved Weighted Nuclear Norm Minimization Method for Image Denoising. IEEE Access 2019, 7, 97919–97927. [Google Scholar] [CrossRef]
- Gu, S.; Xie, Q.; Meng, D.; Zuo, W.; Feng, X.; Zhang, L. Weighted Nuclear Norm Minimization and Its Applications to Low Level Vision. Int. J. Comput. Vis. 2017, 121, 183–208. [Google Scholar] [CrossRef]
- Gu, S.; Zhang, L.; Zuo, W.; Feng, X. Weighted Nuclear Norm Minimization with Application to Image Denoising. In Proceedings of the 2014 IEEE Conference on Computer Vision and Pattern Recognition, Columbus, OH, USA, 23–28 June 2014; pp. 2862–2869. [Google Scholar] [CrossRef] [Green Version]
- Tang, J.; Wang, Y.; Huang, C.; Liu, H.; Al-Nabhan, N. Image edge detection based on singular value feature vector and gradient operator. Math. Biosci. Eng. 2020, 17, 3721–3735. [Google Scholar] [CrossRef]
Sigma | Original Algorithm | Reference [3] | Ours |
---|---|---|---|
10 | 0.0131 | 0.0296 | 0.0117 |
20 | 0.0317 | 0.0366 | 0.0175 |
30 | 0.0381 | 0.0428 | 0.0271 |
40 | 0.0529 | 0.0470 | 0.0275 |
50 | 0.0688 | 0.0563 | 0.0381 |
60 | 0.0855 | 0.0624 | 0.0401 |
70 | 0.0951 | 0.0665 | 0.0467 |
80 | 0.1015 | 0.0714 | 0.0483 |
Sigma | Original Algorithm | Reference [3] | Ours |
---|---|---|---|
10 | 18.8249 | 15.2867 | 19.3339 |
20 | 14.9842 | 14.3599 | 17.5616 |
30 | 14.1598 | 13.6870 | 15.6777 |
40 | 12.7665 | 13.2746 | 15.6097 |
50 | 11.6211 | 12.4980 | 14.1871 |
60 | 10.5320 | 12.0490 | 13.9669 |
70 | 10.2185 | 11.7732 | 13.3104 |
80 | 9.9340 | 11.4642 | 13.1583 |
Sigma | Original Algorithm | Reference [3] | Ours |
---|---|---|---|
10 | 0.9204 | 0.8142 | 0.9434 |
20 | 0.8702 | 0.7874 | 0.9128 |
30 | 0.7988 | 0.7209 | 0.8771 |
40 | 0.6341 | 0.5984 | 0.8695 |
50 | 0.5233 | 0.5181 | 0.8457 |
60 | 0.3961 | 0.3275 | 0.8407 |
70 | 0.3586 | 0.2517 | 0.8350 |
80 | 0.3115 | 0.2382 | 0.8144 |
Sigma | Original Algorithm | Reference [3] | Ours |
---|---|---|---|
10 | 0.0220 | 0.0418 | 0.0157 |
20 | 0.0430 | 0.0489 | 0.0292 |
30 | 0.0659 | 0.0611 | 0.0353 |
40 | 0.0806 | 0.0740 | 0.0401 |
50 | 0.1018 | 0.0812 | 0.0507 |
60 | 0.1145 | 0.0850 | 0.0520 |
70 | 0.1376 | 0.0957 | 0.0588 |
80 | 0.1401 | 0.1020 | 0.0601 |
Sigma | Original Algorithm | Reference [3] | Ours |
---|---|---|---|
10 | 16.5764 | 13.7827 | 18.0344 |
20 | 13.6733 | 13.1056 | 15.3530 |
30 | 11.8100 | 12.1381 | 14.5241 |
40 | 10.9396 | 11.3100 | 13.9721 |
50 | 9.9215 | 10.8973 | 12.9486 |
60 | 9.4053 | 10.7149 | 12.8442 |
70 | 8.6224 | 10.1948 | 12.3023 |
80 | 8.5313 | 9.9184 | 12.2118 |
Sigma | Original Algorithm | Reference [3] | Ours |
---|---|---|---|
10 | 0.8640 | 0.7217 | 0.8927 |
20 | 0.7551 | 0.6728 | 0.8204 |
30 | 0.6380 | 0.6032 | 0.7964 |
40 | 0.5044 | 0.5162 | 0.7778 |
50 | 0.3493 | 0.4008 | 0.7334 |
60 | 0.3071 | 0.2709 | 0.7313 |
70 | 0.1879 | 0.2341 | 0.7069 |
80 | 0.1752 | 0.1931 | 0.7014 |
Sigma | Original Algorithm | Reference [3] | Ours |
---|---|---|---|
10 | 0.0320 | 0.0482 | 0.0182 |
20 | 0.0578 | 0.0562 | 0.0260 |
30 | 0.0777 | 0.0718 | 0.0385 |
40 | 0.0885 | 0.0825 | 0.0512 |
50 | 0.1115 | 0.0865 | 0.0533 |
60 | 0.1174 | 0.0986 | 0.0554 |
70 | 0.1264 | 0.1027 | 0.0719 |
80 | 0.1388 | 0.1184 | 0.0755 |
Sigma | Original Algorithm | Reference [3] | Ours |
---|---|---|---|
10 | 14.9430 | 13.1743 | 17.3878 |
20 | 12.3753 | 12.5084 | 15.8518 |
30 | 11.0995 | 11.4353 | 14.1465 |
40 | 10.5268 | 10.8405 | 12.9068 |
50 | 9.5331 | 10.6306 | 12.7321 |
60 | 9.2964 | 10.0640 | 12.5612 |
70 | 8.9804 | 9.8771 | 11.4329 |
80 | 8.5826 | 9.2709 | 11.2189 |
Sigma | Original Algorithm | Reference [3] | Ours |
---|---|---|---|
10 | 0.8208 | 0.6921 | 0.8871 |
20 | 0.7136 | 0.6458 | 0.8511 |
30 | 0.6345 | 0.5833 | 0.7908 |
40 | 0.5555 | 0.5360 | 0.7322 |
50 | 0.4939 | 0.4426 | 0.7275 |
60 | 0.3790 | 0.3851 | 0.7142 |
70 | 0.2997 | 0.3320 | 0.6592 |
80 | 0.2510 | 0.2623 | 0.6419 |
Images | Original Algorithm | Reference [3] | Ours |
---|---|---|---|
Cameraman | 2.1110 s | 3.4935 s | 80.5785 s |
Monarch | 2.1198 s | 3.6207 s | 80.8722 s |
MIT | 2.2736 s | 3.7955 s | 79.2278 s |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Share and Cite
Tian, R.; Sun, G.; Liu, X.; Zheng, B. Sobel Edge Detection Based on Weighted Nuclear Norm Minimization Image Denoising. Electronics 2021, 10, 655. https://doi.org/10.3390/electronics10060655
Tian R, Sun G, Liu X, Zheng B. Sobel Edge Detection Based on Weighted Nuclear Norm Minimization Image Denoising. Electronics. 2021; 10(6):655. https://doi.org/10.3390/electronics10060655
Chicago/Turabian StyleTian, Run, Guiling Sun, Xiaochao Liu, and Bowen Zheng. 2021. "Sobel Edge Detection Based on Weighted Nuclear Norm Minimization Image Denoising" Electronics 10, no. 6: 655. https://doi.org/10.3390/electronics10060655
APA StyleTian, R., Sun, G., Liu, X., & Zheng, B. (2021). Sobel Edge Detection Based on Weighted Nuclear Norm Minimization Image Denoising. Electronics, 10(6), 655. https://doi.org/10.3390/electronics10060655