Open Access iconOpen Access

ARTICLE

PIDINet-MC: Real-Time Multi-Class Edge Detection with PiDiNet

Mingming Huang1, Yunfan Ye1,*, Zhiping Cai2

1 School of Design, Hunan University, Changsha, 410082, China
2 College of Computer, National University of Defense Technology, Changsha, 410082, China

* Corresponding Author: Yunfan Ye. Email: email

Computers, Materials & Continua 2026, 86(2), 1-17. https://doi.org/10.32604/cmc.2025.072399

Abstract

As a fundamental component in computer vision, edges can be categorized into four types based on discontinuities in reflectance, illumination, surface normal, or depth. While deep CNNs have significantly advanced generic edge detection, real-time multi-class semantic edge detection under resource constraints remains challenging. To address this, we propose a lightweight framework based on PiDiNet that enables fine-grained semantic edge detection. Our model simultaneously predicts background and four edge categories from full-resolution inputs, balancing accuracy and efficiency. Key contributions include: a multi-channel output structure expanding binary edge prediction to five classes, supported by a deep supervision mechanism; a dynamic class-balancing strategy combining adaptive weighting with physical priors to handle extreme class imbalance; and maintained architectural efficiency enabling real-time inference. Extensive evaluations on BSDS-RIND show our approach achieves accuracy competitive with state-of-the-art methods while operating in real time.

Keywords

Multi-class edge detection; real-time; lightweight; deep supervision

Cite This Article

APA Style
Huang, M., Ye, Y., Cai, Z. (2026). PIDINet-MC: Real-Time Multi-Class Edge Detection with PiDiNet. Computers, Materials & Continua, 86(2), 1–17. https://doi.org/10.32604/cmc.2025.072399
Vancouver Style
Huang M, Ye Y, Cai Z. PIDINet-MC: Real-Time Multi-Class Edge Detection with PiDiNet. Comput Mater Contin. 2026;86(2):1–17. https://doi.org/10.32604/cmc.2025.072399
IEEE Style
M. Huang, Y. Ye, and Z. Cai, “PIDINet-MC: Real-Time Multi-Class Edge Detection with PiDiNet,” Comput. Mater. Contin., vol. 86, no. 2, pp. 1–17, 2026. https://doi.org/10.32604/cmc.2025.072399



cc Copyright © 2026 The Author(s). Published by Tech Science Press.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 288

    View

  • 45

    Download

  • 0

    Like

Share Link