mexLocalMaxima - returns statistics over local maxima (mex file). [lm_avg,lm_num,lm_sum] = mexLocalMaxima(data,thresh) Returns the average value (lm_avg), the number (lm_num), and the sum (lm_sum) of local maxima in data that exceed thresh. See also maxNormalizeStd.
0001 % mexLocalMaxima - returns statistics over local maxima (mex file). 0002 % 0003 % [lm_avg,lm_num,lm_sum] = mexLocalMaxima(data,thresh) 0004 % Returns the average value (lm_avg), the number (lm_num), 0005 % and the sum (lm_sum) of local maxima in data that exceed thresh. 0006 % 0007 % See also maxNormalizeStd. 0008 0009 % This file is part of the SaliencyToolbox - Copyright (C) 2006-2008 0010 % by Dirk B. Walther and the California Institute of Technology. 0011 % See the enclosed LICENSE.TXT document for the license agreement. 0012 % More information about this project is available at: 0013 % http://www.saliencytoolbox.net 0014 0015 function [lm_avg,lm_num,lm_sum] = mexLocalMaxima(data,thresh) 0016 0017 mexFileLost;