>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  SHADE_IMG
Libraries

SHADE_IMG

SHADE_IMG

Name


      SHADE_IMG

Purpose


      Shade a given image based on a shading array.

Category


Calling Sequence


      shade_img, shd, c, r, g, b

Inputs


      shd = shade at each image point (0.0 to 1.0). in

Keyword Parameters


Keywords


        IMAGE=img Input image (def=current image).
        RIN=ri, GIN=gi, BIN=bi = input color table (def=current).

Outputs


      c = resulting color image. out
      r,g,b = corresponding color table. out

Common Blocks


Notes


      Notes: The current color table is used to split the
        current image into r,g,b components. These components
        are modified based on the given shading array and then
        recombined to form a new color image and color table.

Modification History


      R. Sterner, 1994 Sep 27
  Copyright (C) 1994, 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.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us