An Approach for Spectrum Extraction Based on Canny Operator-Enabled Adaptive Edge Extraction and Centroid Localization | Synapse