Sobel Edge Detection Algorithm Using Verilog for 64 X 64 Grayscale Image

Authors

N V Sravan Kumar.

Undergraduate Student Department of Electronics and Communication Engineering, Mahatma Gandhi Institute of Technology Telangana (India)

Nikhil S Kallakuri.

Undergraduate Student Department of Electronics and Communication Engineering, Mahatma Gandhi Institute of Technology Telangana (India)

Parupally Chandana.

Undergraduate Student Department of Electronics and Communication Engineering, Mahatma Gandhi Institute of Technology Telangana (India)

Ch. Raja

Associate Professor Department of Electronics and Communicationl, Engineering Mahatma Gandhi Institute of Technology Telangana (India)

Article Information

DOI: 10.51244/IJRSI.2025.120800384

Subject Category: Engineering & Technology

Volume/Issue: 12/9 | Page No: 4247-4255

Publication Timeline

Submitted: 2025-09-09

Accepted: 2025-09-15

Published: 2025-10-16

Abstract

This paper presents the design and simulation of a Sobel edge detection module for 64×64 grayscale images using Verilog HDL. The architecture employs line buffers and a 3×3 convolution window to compute horizontal and vertical intensity gradients in a pipelined manner. Post-processing in Python is used to generate binary edge maps, intensity plots, and histograms for validation and visualization. The hardware pipeline achieves a throughput of one pixel per clock cycle after pipeline fill, requiring 4,096 cycles per frame. At a nominal 100 MHz clock, the design completes a frame in approximately 41 µs, corresponding to over 24,000 frames per second. Compared with a Python/OpenCV baseline, the Verilog implementation demonstrates an estimated 20–25× improvement in per-frame cycle efficiency. Although validated through simulation only, the design is synthesizable and provides a hardware-friendly framework for rapid prototyping of digital image processing algorithms.

Keywords

Sobel operator, edge detection, Verilog HDL, FPGA simulation, image processing, Python visualization

Downloads

References

1. B. Saha Tchinda, D. T.-D. (2021). Parallel Processing of Sobel Edge Detection on FPGA (MDPI). Informatics in Medicine Unlocked, Volume 23. [Google Scholar] [Crossref]

2. Chapel, G., & Daruwala, R. (2014). Real-Time Image Processing using FPGA. 2014 International Conference on Communication and Signal Processing. IEEE. [Google Scholar] [Crossref]

3. Halder, S. B. (2012). A Fast FPGA Based Architecture for Sobel Edge Detection. Progress in VLSI Design and Test. Springer. [Google Scholar] [Crossref]

4. OpenCV Documentation. (n.d.). Retrieved from docs.opencv.org: https://docs.opencv.org/ master/d4/d86/groupimgprocfilter.html#gacea54f142e81b6758cb6f375ce782c8d [Google Scholar] [Crossref]

5. Palnitkar, S. (2003). Verilog HDL. Prentice Hall. [Google Scholar] [Crossref]

6. Waskom, M. (n.d.). Seaborn: Statistical Data Visualisation. Retrieved from https://seaborn.pydata.org/ [Google Scholar] [Crossref]

7. Reddy, B. S., & Chatterji, B. N. (1996). An FFT-based technique for translation, rotation, and scale-invariant image registration. IEEE Transactions on Image Processing, 5(8), 1266–1271. [Google Scholar] [Crossref]

8. Gonzalez, R. C., & Woods, R. E. (2018). Digital Image Processing (4th ed.). Pearson. [Google Scholar] [Crossref]

9. Oppenheim, A. V., & Schafer, R. W. (2010). Discrete- Time Signal Processing (3rd ed.). Prentice Hall. [Google Scholar] [Crossref]

10. Xilinx Inc. (2023). Vivado Design Suite User Guide. Retrieved from https://www.xilinx.com/support/documentation/sw_manua ls/xilinx2023/vivado.html [Google Scholar] [Crossref]

Metrics

Views & Downloads

Similar Articles