IMG_WCLR Name
IMG_WCLR Purpose
Find where a color is in a 24-bit image.
Category
Calling Sequence
w = img_wclr(img) Inputs
img = 24-bit image. in
Keyword Parameters
Keywords
COLOR=clr Target color. 24-bit color value or
may also be a 3 element array: [R,G,B].
TOL=tol Tolerance, Euclidian distance in RGB space. Def=0.
COUNT=c Number of pixels found.
ERROR=err Error flag: 0=ok.
Outputs
Common Blocks
Notes
Modification History
R. Sterner, 2001 Sep 26
R. Sterner, 2004 May 16 --- Fixed to work for 24-color target color.
R. Sterner, 2010 May 12 --- Converted arrays from () to [].
Copyright (C) 2001, 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.