Nonmaximal suppression of values outside of a given window. Suppresses all location in subs that do not fall in given range (defined by start_locs and end_locs). For example, if subs are 3D coordinates of maxes over an array of size siz, "nonmaxsupr_window( subs, vals, [1,1,1]+10, siz-10 )" suppreses all locations within 10 pixels of the border of I. INPUTS subs - subscripts of point locations (m x d) vals - values at point locations (m x 1) start_locs - locations at which to start cropping along each dim end_locs - locations at which to end cropping along each dim thresh - [optional] minimum value below which not to look fo maxn - [optional] return at most maxn of the largest vals OUTPUTS subs - subscripts of non-suppressed point locations (n x d) vals - values at non-suppressed point locations (n x 1) keeplocs - indicies of kept locations from subs (n x 1) DATESTAMP 29-Sep-2005 2:00pm See also IMSUBS2ARRAY, NONMAXSUPR, NONMAXSUPR_LIST