Ridges of an Analytic Wavelet Transform
localmaxima = Ridge_AWT(m,par,ABS);
input matrix
parameter, 2*par is how many neighbours to compare
flag, compare by absolute value(1) or not(0)
local maxima of every column, binary matrix same size as m.
see section 4.4.2 of Mallat's book Algorithm Get the local maxima first, then compare with original value