Detection of edges in analytical images using wavelet maxima