Singularity detection and processing with wavelets | Synapse