LOCMAX Name
LOCMAX Purpose
Find local maxima in an image. Category
Calling Sequence
locmax, img Inputs
img = image to process. in
Keyword Parameters
Keywords
MASK=m returns a mask image with 1 at all
local maxima and 0 elsewhere.
WHERE=w returns 1-d indices of all local maxima.
-1 if no local maxima.
VALUES=v returns values of img at all local maxima.
VALUE_IMAGE=vimg use vimg to determine values.
Instead of img.
IX=ix returns x index of all local maxima.
IY=iy returns y index of all local maxima.
/SORT sorts local maxima by descending image values.
/NOEDGE ingores any maxima at image edges.
Outputs
Common Blocks
Notes
Notes: All output is through keywords.
Ignores plateaus. May not work for
all edge points. Modification History
R. Sterner, 17 Aug, 1990
R. Sterner, 27 Aug, 1990 --- added value_image.
Copyright (C) 1990, Johns Hopkins University/Applied Physics Laboratory
This software may be used, copied, or redistributed as long as it is not
sold and this copyright notice is reproduced on each copy made. This
routine is provided as is without any express or implied warranties
whatsoever. Other limitations apply as described in the file disclaimer.txt.