Welcome to Francis Academic Press

Academic Journal of Computing & Information Science, 2022, 5(7); doi: 10.25236/AJCIS.2022.050706.

Subpixel edge detection algorithm based on improved Gaussian fitting and Canny operator


Jianing Wang1, Jianing Chen2

Corresponding Author:
Jianing Wang

1School of Information Science and Engineering, Central South University, Changsha, 410083, China

2The College of Mechanical and Electrical Engineering, Central South University, Changsha, 410083, China


In image processing, image edge is often used as a basic feature in higher-level image processing. Edge detection technology is the basis of image processing technologies such as image measurement, image segmentation, image compression and pattern recognition. It is one of the important research topics in digital image processing. In this paper, we explore the image edge and pixel data, and propose an optimization model for sub-pixel edge extraction, image distortion correction and image edge segmentation. We preprocess the image with Gaussian filter, median filter and morphological close operation to reduce the impact of lighting environment and noise on the image. After edge detection with Canny operator, we use two-dimensional interpolation to Gaussian fit the edge points in the gradient direction to obtain the sub-pixel edge, and then search the pixel points to obtain the pixel order of the graphic outline and display it with different colors. Finally, we summarize the model, adjust the search range and extend it to the case of low definition of the original image. We can obtain high-precision contour edges of low pixels through technical means.


Canny operator; Gaussian interpolation; Sub pixel; Distortion correction; Edge fitting and segmentation

Cite This Paper

Jianing Wang, Jianing Chen. Subpixel edge detection algorithm based on improved Gaussian fitting and Canny operator. Academic Journal of Computing & Information Science (2022), Vol. 5, Issue 7: 33-39. https://doi.org/10.25236/AJCIS.2022.050706.


[1] Du Huimin, Jiang Yan, Chang Libo, et al. The improvement and parallel implementation of expansion and corrosion algorithms [J]. Journal of Xi'an Post and Telecommunications University, 2017, 22 (01): 88-93.

[2] Yu H, Lu Y, Yu C, et al. Co-Occurrence Morphological Edge Detection[C].//2019 International Conference on Internet of Things (iThings) and IEEE Green Computing and Communications (GreenCom) and IEEE Cyber, Physical and Social Computing (CPSCom) and IEEE Smart Data (SmartData). IEEE, 2019: 395-402.

[3] Zhang Z, Zhang J, Yue M, et al. High-temperature thermal expansion behaviour of C/SiC studied using an in-situ optical visualisation method and numerical simulations in a quartz lamp array heating environment[J]. Ceramics International, 2021, 47(9): 12547-12556.

[4] Wang Z, Huang X. Visual positioning of rectangular lead components based on Harris corners and Zernike moments[J]. Journal of Central South University, 2015, 22(7): 2586-2595.

[5] Ding Dengfeng. Intelligent edge detection technology research and application based on hybrid filtering algorithms [D]. Wuhan Textile University, 2021.

[6] Lu X, Zhang Y. Human body flexibility fitness test based on image edge detection and feature point extraction[J]. Soft Computing, 2020, 24(12): 8673-8683.

[7] Guo Y, Chen G, Zhang J. Measurement of Road Slope based on Computer Vision[C].//Journal of Physics: Conference Series. IOP Publishing, 2021, 1802(3): 032063.

[8] BISWAS R, ROY S, PURKAYASTHA D. An efficient content-based medical image indexing and retrieval using local texture feature descriptors [J]. International Journal of Multimedia Information Retrieval, 2019, 8(4): 217-231.

[9] Yu Songyu, Zhou Yuanhua, Zhang Rui, et al. Digital image processing [M]. Shanghai: Shanghai Jiaotong University Press, 2007.

[10] Li Mu, Yan Jihong, Li Ge, Zhao Jie. Adaptive Canny operator edge detection technology [J]. Journal of Harbin Engineering University, 2007 (09): 1002-1007.

[11] Dong Yu, Gao Yunbo, Liu Xiang. The application of improved genetic algorithms in the selection of Canny Occupation [J]. Lanzhou Jiaotong University Journal, 2014, 33 (6): 1-5.

[12] Han Dong, Li Yuqi, Wu yanhui. Sub pixel edge detection algorithm based on Gaussian fitting [J]. Computer applications and software, 2018,35 (06): 210-213+229.

[13] Shang Yaceng, Chen Jing, Tian Junwei. Gaussian fitted sub-pixel edge detection algorithm [J]. Computer application, 2011,31 (01): 179-181.

[14] Niu Ben. Sub-pixel edge detection and automatic geometric feature recognition [D]. Hefei University of Technology, 2014.

[15] Hu Junping, Song Feifei, Luo Chunlei, et al. A non-quantitative correction method based on adaptive corner detection [J]. Laser and optoelectronic progress, 2021,58 (12): 175-181.

[16] Santana- Cedres D, Gomez L, Aleman-Flores M, et al. Invertibility and estimation of twor parameter polynomial and division lens distortion models [J]. SIAM Journal on Imaging Sciences, 2015, 8 (3): 1574- 1606.

[17] Ahmed M,Farag A. Nonmetric calibration of camera lens distortion: differential methods and robust estimation[J]. IEEE Transactions on Image Processing, 2005,14(8): 1215-1230.

[18] Liu Lianxiong, Hu Changhua, He Chuan, waiting. An improvement of non -quantitative correction method based on linear characteristics [J]. Journal of Optical Studies, 2017, 37 (9): 0915001.

[19] Devernay F, Faugeras O. Straight lines have to be straight[J]. Machine Vision and Applications, 2001, 13(1): 14-24.

[20] MoreJJ. The Levenberg -Marquardt algorithm: implementation and theory[M]. Heidelberg: Numerical Analysis, 1978: 105-116.