Abstract
Edge detection of an image reduces significantly the amount of data and filters out information that may be regarded as less irrelevant. Edge detection is efficient in medical imaging. Pulse mode neural networks are becoming an attractive solution for function approximation based on frequency modulation. Early pulse mode implementation suffers from some network constraints due to weight range limitations. To provide the best edge detection, the basic algorithm is modified to have pulse mode operations for effective hardware implementation. In this project a new pulse mode network architecture using floating point operations is used in the activation function. By using floating point number system for synapse weight value representation, any function can be approximated by the network. The proposed pulse mode MNN is used to detect the edges in images forming a heterogeneous data base. It shows good learning capability. In addition, four edge detection techniques have been compared. The coding is written in verilog and the final result have been simulated using Xilinx ISE simulator.
Introduction
Edge detection is a fundamental step in image processing, used to reduce data complexity while preserving structural information. While algorithms like the Canny operator are highly effective, they are computationally demanding for real-time hardware implementation. Artificial Neural Networks (ANNs) offer a promising alternative due to their function-approximation capabilities. However, traditional "pulse mode" neural networks—which mimic biological neurons by using signal frequency to represent data—often suffer from limited weight ranges. This "weight saturation" makes it difficult for the network to learn complex patterns or handle high-resolution inputs. This paper presents a pulse-mode architecture that maintains high precision without ballooning hardware costs by integrating floating-point operations.
Methods
The proposed specialized Multilayer Neural Network (MNN) architecture is designed for VLSI (Very Large Scale Integration) implementation.
Pulse Mode Operation
Instead of processing continuous voltage levels, the network uses the frequency of pulse signals to represent input and output levels, mimicking biological neural communication. The hardware performs "multiplication" through simple pulse gating, which is significantly more efficient than traditional digital multipliers.
Floating-Point Synaptic Weights
To overcome weight range limitations, the system employs a floating-point representation for synaptic weights, split into mantissa and exponent. This allows the network to represent a much wider range of values, increasing learning precision and enabling the approximation of complex functions like the Canny operator.
Implementation and Training
The network approximates the first derivative of a Gaussian function (the core of the Canny edge detector) using the Back Propagation (BPN) algorithm and the Generalized Delta Rule. The system was designed in Verilog and targeted for a Virtex II FPGA platform using a "32 Canny Block" structure. Testing was conducted on a heterogeneous database including biometric hand images, medical mammography images for breast cancer classification, and standard reference images like "Lena".
Results and Discussion
The proposed Canny-based PMNN was compared against Sobel, Prewitt, and Robert techniques.
Performance Comparison
The PMNN achieved superior noise performance and the lowest edge thickness (sharpest lines) among the tested methods.
| Technique | Noise Performance | Edge Thickness |
|---|---|---|
| Sobel | Poor | High |
| Prewitt | Stable | High |
| Robert | Stable | Medium |
| Proposed Canny PMNN | Best | Low (Sharp) |
Hardware Efficiency
The system achieved a maximum frequency of 30.895 MHz with a maximum combinational path delay of 13.837 ns. This delay is significantly lower than that of the Robert technique (30.729 ns). The design utilized approximately 95% of the available slices on the Virtex II FPGA (2,936 out of 3,072).
Conclusion
Integrating floating-point math into a pulse-mode system allows for high dynamic range processing without sacrificing the efficiency of pulse-based communication. While the current design is resource-intensive, utilizing nearly all available FPGA slices, it demonstrates a successful full-stack approach from mathematical modeling to hardware implementation. Future work will explore scaling the architecture for higher resolutions and applying it to broader image enhancement tasks.
Summary updated