SCALE_RGB Name
SCALE_RGB Purpose
Interactively scale R,G,B image components.
Category
Calling Sequence
scale_rgb, ri,gi,bi,ro,go,bo Inputs
ri,gi,bi = Input Red, Green, Blue image arrays. in
Keyword Parameters
Keywords
ERROR=err Error flag: 0=ok, 1=cancel.
TOP=top Max value for returned scaled images (def=255.
BOT=bot Min value for returned scaled images (def=0).
TOP and/or BOT may be a 3 element array ([r,g,b]).
INSCALE=isc, OUTSCALE=osc 2x3 arrays giving the
input and output image ranges used to scale the R,G,B.
Outputs
ro,go,bo = Ouput Red, Green, Blue image arrays. out
Common Blocks
Notes
Notes: All the image components are assumed to be the
same size (not checked). Intended for scaling image
components to combine into a color result.
Modification History
R. Sterner, 1996 Sep 25
Copyright (C) 1996, 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.