Parametrized the function of locals minima/maxima
Interest point extractor returns 2 tables: local minima and local maxima