Beyond the Black Box in Computer Vision: A Traceable Architecture for Reproducible Canny Contour Identification

Authors

  • Randy Hadinata Universitas Harapan Medan
  • Khairunnisa Universitas Harapan Medan

DOI:

https://doi.org/10.69916/comtechno.v4i1.412

Keywords:

Canny Framework, Gradient Isotropy, Experimental Reproducibility, Configuration Management, Inferential Statistics

Abstract

While modern edge detection algorithms are pivotal in advanced computer vision pipelines, conventional implementations typically operate as static, transient black-boxes, severely hindering experimental replication and parameter traceability. This study addresses this methodological bottleneck by developing a structured, web-based contour identification system designed to enforce configuration management within the Canny framework. The decoupled architecture fuses a PHP-driven interface with a high-performance Python backend and a persistent relational database layer, allowing for the deterministic tracking of localized hysteresis thresholds, aperture scales, and spatial gradient vectors. Empirical evaluations were executed on a curated dataset comprising high-contrast object morphologies, characterized by distinct structural boundaries and varied illumination backgrounds to rigorously test edge degradation. The transition from linear Manhattan approximations to an isotropic Euclidean space ( gradient norm) yields single-pixel edge localization sharpness and unbroken contour continuity. Quantitatively, this mathematical refinement achieves a peak F-measure boundary accuracy of 0.91 and a Pratt’s Figure of Merit of 0.895, albeit introducing a 16.8% latency overhead. Furthermore, a multi-factor Analysis of Variance (ANOVA) robustly rejects the null hypothesis, confirming that parameter interactions significantly dictate contour fidelity (). The primary contribution of this research is the transformation of a heuristic vision task into a deterministic, database-backed ecosystem. By embedding an explicit audit trail for every processing trace, this framework provides computer vision practitioners with a rigorous instrument for quasi-quantitative comparative analysis, establishing a transparent benchmark for reproducible boundary extraction in downstream visual recognition tasks.

References

N. Torres, “A Real-Time Computer Vision System for Liquid Monitoring in Transparent Containers,” in Proceedings of the 2025 6th Asia Service Sciences and Software Engineering Conference, in ASSE ’25. New York, NY, USA: Association for Computing Machinery, 2026, pp. 21–31. doi: 10.1145/3775030.3775041.

E. Huitrón-Ramírez, L. G. Corona-Ramírez, and D. Jiménez-Badillo, “Linear-Region-Based Contour Tracking for Edge Images,” Appl. Sci., vol. 16, no. 1, 2026, doi: 10.3390/app16010509.

M. Ozkan, “Toward Automated Quality Control: An End-to-End Image Processing and Machine Learning Pipeline for Bullet Case Mouth Defect Detection,” IEEE Access, vol. 13, no. September, pp. 162764–162778, 2025, doi: 10.1109/ACCESS.2025.3610358.

I. W. R. Pinastawa, M. G. Pradana2, and Khoironi, “Edge Detection Model Performance Using Canny , Prewitt and Sobel in Face Detection,” Singkron, vol. 8, no. 2, pp. 623–631, 2024, doi: 10.33395/sinkron.v8i2.13497.

D. Yang, B. Peng, Z. Al-huda, A. Malik, and D. Zhai, “Neurocomputing An overview of edge and object contour detection,” Neurocomputing, vol. 488, pp. 470–493, 2022, doi: 10.1016/j.neucom.2022.02.079.

C. Yang, “Evaluation of edge detection algorithm of frontal image of facial contour in plastic surgery,” Front. Phys., no. January, pp. 1–8, 2023, doi: 10.3389/fphy.2023.1108393.

M. Tandililing and I. Nurtanio, “A Hybrid Deep Learning Model for Spotted Buffalo Image Detection and Segmentation Using YOLO, VGGNet, and Canny Edge Detection,” Eng. Technol. Appl. Sci. Res., vol. 16, no. 3, pp. 36584–36589, 2026, doi: 10.48084/etasr.16396

N. Tao, “Traitement du Signal Enhanced Canny Algorithm for Image Edge Detection in Print Quality Assessment,” Trait. du Signal, vol. 40, no. 3, pp. 1281–1287, 2023, doi: 10.18280/ts.400347

D. Sundani, S. Widiyanto, Y. Karyanti, and D. T. Wardani, “Identification of Image Edge Using Quantum Canny Edge Detection Algorithm,” J. ICT Res. Appl., vol. 13, no. 2, pp. 133–144, 2019, doi: 10.5614/itbj.ict.res.appl.2019.13.2.4.

R. Bausys, G. Kazakeviciute-januskeviciene, and F. Cavallaro, “Algorithm Selection for Edge Detection in Satellite Images by Neutrosophic WASPAS Method,” Sustainability, vol. 12, no. 548, 2020, doi: 10.3390/su12020548.

G. Hu, “A Mathematical Survey of Image Deep Edge Detection Algorithms : From Convolution to Attention,” Mathematics, vol. 13, no. 2462, 2025, doi: 10.3390/math13152464.

Q. Huang and J. Huang, “Comprehensive review of edge and contour detection: from traditional methods to recent advances,” Neural Comput. Appl., vol. 37, no. 4, pp. 2175–2209, 2025, doi: 10.1007/s00521-024-10936-2.

M. Arabboev, S. Begmatov, M. Rikhsivoev, K. Nosirov, and S. Saydiakbarov, “A comprehensive review of image super-resolution metrics: classical and AI-based approaches,” Mod. Innov. Syst. Technol., vol. 13, no. 1, pp. 157–175, 2024, doi: 10.21014/ACTAIMEKO.V13I1.1679.

R. Sun et al., “Survey of Image Edge Detection,” Front. Signal Process., vol. Volume 2-, 2022, doi: 10.3389/frsip.2022.826967.

J. Jing, S. Liu, G. Wang, W. Zhang, and C. Sun, “Recent advances on image edge detection: A comprehensive review,” Neurocomputing, vol. 503, pp. 259–271, 2022, doi: 10.1016/j.neucom.2022.06.083.

G. Sun, H. Yu, X. Jiang, and M. Feng, “Adaptive Feature Pyramid Network to Predict Crisp Boundaries via NMS Layer and ODS F-Measure Loss Function,” Information, vol. 13, no. 1, 2022, doi: 10.3390/info13010032.

M. Mubashar et al., “M2GF: Multi-Scale and Multi-Directional Gabor Filters for Image Edge Detection,” Appl. Sci., vol. 13, no. 16, pp. 70541–70552, 2023, doi: 10.3390/app13169409.

M. Mubashar, N. Khan, A. R. Sajid, M. H. Javed, and N. U. Hassan, “Have We Solved Edge Detection? A Review of State-of-the-Art Datasets and DNN Based Techniques,” IEEE Access, vol. 10, pp. 70541–70552, 2022, doi: 10.1109/ACCESS.2022.3187838.

I. Mary Mathew, D. Akhilaraj, and J. Zacharias, “A Survey on Image Denoising Techniques,” in 2023 International Conference on Control, Communication and Computing (ICCC), 2023, pp. 1–6. doi: 10.1109/ICCC57789.2023.10165442.

S. T. Wanjala, “A framework for implementing micro frontend architecture,” Int. J. Web Eng. Technol., vol. 17, no. 4, pp. 337–352, Jan. 2022, doi: 10.1504/ijwet.2022.129251.

N. A. Rehman and F. Haroon, “Adaptive Gaussian and Double Thresholding for Contour Detection and Character Recognition of Two-Dimensional Area Using Computer Vision,” Eng. Proc., vol. 32, no. 1, 2023, doi: 10.3390/engproc2023032023.

C. Huang, G. Wu, Z. Wang, and S. Song, “Research on Image Edge Analysis and Application Based on Canny Algorithm,” in 2023 IEEE International Conference on Image Processing and Computer Applications (ICIPCA), 2023, pp. 1548–1557. doi: 10.1109/ICIPCA59209.2023.10257832.

Downloads

Published

2026-07-23

PlumX Metrics

Scite Metrics

Altmetric

How to Cite

Randy Hadinata, & Khairunnisa. (2026). Beyond the Black Box in Computer Vision: A Traceable Architecture for Reproducible Canny Contour Identification. Journal Computer and Technology, 4(1), 92–106. https://doi.org/10.69916/comtechno.v4i1.412

Issue

Section

Articles