Abstract
The Pixel Difference Network (PiDiNet) is well-known for its success in edge detection. Combining traditional operators with deep learning, PiDiNet achieves competitive results with fewer parameters. However, the complex and inefficient choice of traditional edge detection operators hinders PiDiNet’s further development. Therefore, we propose a novel lightweight edge detector called PiDiNeXt, which combines traditional edge detection operators with deep learning-based model in parallel to solve the operators choice problem and further enrich features. The results of experiments on BSDS500 and BIPED datasets demonstrate that PiDiNeXt outperforms PiDiNet in terms of accuracy. Moreover, we employ the reparameterization technique to prevent the extra computational cost caused by the multi-branch construction. This enables PiDiNeXt to achieve an inference speed of 80 FPS, comparable to that of PiDiNet. Furthermore, the lightweight version of PiDiNeXt can achieve an inference speed of over 200 FPS, meeting the needs of most real-time applications. The source code is available at https://github.com/Li-yachuan/PiDiNeXt.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Arbelaez, P., Maire, M., Fowlkes, C., Malik, J.: Contour detection and hierarchical image segmentation. IEEE Trans. Pattern Anal. Mach. Intell. 33(5), 898–916 (2010)
Bertasius, G., Shi, J., Torresani, L.: High-for-low and low-for-high: efficient boundary detection from deep object features and its applications to high-level vision. In: 2015 IEEE International Conference on Computer Vision, ICCV 2015, Santiago, Chile, 7–13 December 2015, pp. 504–512. IEEE Computer Society (2015)
Canny, J.: A computational approach to edge detection. IEEE Trans. Pattern Anal. Mach. Intell. 8(6), 679–698 (1986)
Davis, L.S.: A survey of edge detection techniques. Comput. Graph. Image Process. 4(3), 248–270 (1975)
Deng, R., Liu, S.: Deep structural contour detection. In: Proceedings of the 28th ACM International Conference on Multimedia, pp. 304–312 (2020)
Deng, R., Shen, C., Liu, S., Wang, H., Liu, X.: Learning to predict crisp boundaries. In: Ferrari, V., Hebert, M., Sminchisescu, C., Weiss, Y. (eds.) ECCV 2018. LNCS, vol. 11210, pp. 570–586. Springer, Cham (2018). https://doi.org/10.1007/978-3-030-01231-1_35
Ding, X., Zhang, X., Ma, N., Han, J., Ding, G., Sun, J.: RepVGG: making VGG-style ConvNets great again. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 13733–13742 (2021)
Dollár, P., Zitnick, C.L.: Fast edge detection using structured forests. IEEE Trans. Pattern Anal. Mach. Intell. 37(8), 1558–1570 (2014)
Dollár, P., Zitnick, C.: Fast edge detection using structured forests. arXiv Computer Vision and Pattern Recognition, June 2014
Hallman, S., Fowlkes, C.C.: Oriented edge forests for boundary detection. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 1732–1740 (2015)
Hallman, S., Fowlkes, C.: Oriented edge forests for boundary detection. Cornell University - arXiv, December 2014
He, J., Zhang, S., Yang, M., Shan, Y., Huang, T.: BDCN: bi-directional cascade network for perceptual edge detection. IEEE Trans. Pattern Anal. Mach. Intell. 44(1), 100–113 (2022)
Liu, L., Zhao, L., Long, Y., Kuang, G., Fieguth, P.: Extended local binary patterns for texture classification. Image Vis. Comput. 30(2), 86–99 (2012)
Liu, Y., et al.: Richer convolutional features for edge detection. IEEE Trans. Pattern Anal. Mach. Intell. 41(08), 1939–1946 (2019)
Martin, D.R., Fowlkes, C.C., Malik, J.: Learning to detect natural image boundaries using local brightness, color, and texture cues. IEEE Trans. Pattern Anal. Mach. Intell. 26(5), 530–549 (2004)
Martin, D., Fowlkes, C., Malik, J.: Learning to detect natural image boundaries using brightness and texture. In: Neural Information Processing Systems, January 2002
Martin, D., Fowlkes, C., Malik, J.: Learning to detect natural image boundaries using local brightness, color, and texture cues. IEEE Trans. Pattern Anal. Mach. Intell. 26, 530–549 (2004)
Poma, X.S., Riba, E., Sappa, A.: Dense extreme inception network: towards a robust CNN model for edge detection. In: Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, pp. 1923–1932 (2020)
Prewitt, J.M., et al.: Object enhancement and extraction. Picture Process. Psychopictorics 10(1), 15–19 (1970)
Pu, M., Huang, Y., Liu, Y., Guan, Q., Ling, H.: EDTER: edge detection with transformer. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 1402–1412 (2022)
Ren, X., Bo, L.: Discriminatively trained sparse code gradients for contour detection. In: Proceedings of the 25th International Conference on Neural Information Processing Systems, vol. 1, pp. 584–592 (2012)
Sharifi, M., Fathy, M., Mahmoudi, M.T.: A classified and comparative study of edge detection algorithms. In: Proceedings of the International Conference on Information Technology: Coding and Computing, pp. 117–120. IEEE (2002)
Shengjie, Z., Garrick, B., Xiaoming, L.: The edge of depth: explicit constraints between segmentation and depth. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 13116–13125 (2020)
Sobel, I., Feldman, G., et al.: A 3 \(\times \) 3 isotropic gradient operator for image processing. Presented at the Stanford Artificial Intelligence Project (SAIL), pp. 271–272 (1968)
Soria, X., Sappa, A., Humanante, P., Akbarinia, A.: Dense extreme inception network for edge detection. Pattern Recogn. 139, 109461 (2023)
Su, Z., et al.: Pixel difference networks for efficient edge detection. In: Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 5117–5127 (2021)
Wang, Y., Zhao, X., Huang, K.: Deep crisp boundaries. In: 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), July 2017
Wibisono, J.K., Hang, H.M.: Traditional method inspired deep neural network for edge detection. In: 2020 IEEE International Conference on Image Processing (ICIP), pp. 678–682. IEEE (2020)
Wibisono, J.K., Hang, H.M.: FINED: fast inference network for edge detection. In: 2021 IEEE International Conference on Multimedia and Expo (ICME), pp. 1–6. IEEE Computer Society (2021)
XiaoFeng, R., Bo, L.: Discriminatively trained sparse code gradients for contour detection. In: Neural Information Processing Systems, December 2012
Xie, S., Tu, Z.: Holistically-nested edge detection. Int. J. Comput. Vis. 125(1), 3–18 (2017)
Xu, J., Xiong, Z., Bhattacharyya, S.P.: PIDNet: a real-time semantic segmentation network inspired from PID controller. arXiv preprint arXiv:2206.02066 (2022)
Xuan, W., Huang, S., Liu, J., Du, B.: FCL-Net: towards accurate edge detection via fine-scale corrective learning. Neural Netw. 145, 248–259 (2022)
Yang, J., Price, B., Cohen, S., Lee, H., Yang, M.H.: Object contour detection with a fully convolutional encoder-decoder network. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 193–202 (2016)
Zhao, J.X., Liu, J.J., Fan, D.P., Cao, Y., Yang, J., Cheng, M.M.: EGNet: edge guidance network for salient object detection. In: Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 8779–8788 (2019)
Zhou, C., Huang, Y., Pu, M., Guan, Q., Huang, L., Ling, H.: The treasure beneath multiple annotations: an uncertainty-aware edge detector. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 15507–15517 (2023)
Acknowledgements
This work is partly supported by National key r &d program (Grant no. 2019YFF0301800), National Natural Science Foundation of China (Grant no. 61379106), the Shandong Provincial Natural Science Foundation (Grant nos. ZR2013FM036, ZR2015FM011).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Li, Y. et al. (2024). PiDiNeXt: An Efficient Edge Detector Based on Parallel Pixel Difference Networks. In: Liu, Q., et al. Pattern Recognition and Computer Vision. PRCV 2023. Lecture Notes in Computer Science, vol 14434. Springer, Singapore. https://doi.org/10.1007/978-981-99-8549-4_22
Download citation
DOI: https://doi.org/10.1007/978-981-99-8549-4_22
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-99-8548-7
Online ISBN: 978-981-99-8549-4
eBook Packages: Computer ScienceComputer Science (R0)