SUBIMG_LOC
Name
SUBIMG_LOC
Purpose
Locate a subimage within an image.
Category
Calling Sequence
subimg_loc, sub
Inputs
sub = Subimage to locate. in
Keyword Parameters
Keywords
IMAGE=img Full image to search. If not given then
the last given image is used.
IX=ix, IY=iy Subimage best match offset into full image.
CMAX=cmax Returned correlation max value.
CORR_ARRAY=c Returned correlation array.
INSIDE=[ixc,iyc] Only look inside subimage area for the
best match, where (ixc,iyc) is the cnter of the given
subimage in pixels.
/NOSAD Do not do extra step of Sum of Absolute Differences.
Outputs
Common Blocks
subimg_loc_com
Notes
Notes: For single band images only.
Reference
http://werner.yellowcouch.org/Papers/subimg/index.html
Modification History
R. Sterner, 2008 Mar 31
R. Sterner, 2012 Apr --- Cleaned up.
R. Sterner, 2012 Apr 27 --- Added INSIDE=[ixc,iyc]
Copyright (C) 2008, 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.