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

MULTIBAND

MULTIBAND

Name


      MULTIBAND

Purpose


      Convert a multiband image to a 24-bit color image.

Category


Calling Sequence


      img = multiband(in)

Inputs


      in = Multiband input image array. in
          Stack of images in 3-D array: nx x ny x N
          = N images each nx by ny pixels.

Keyword Parameters


Keywords


        HUE=h Array of hues for each image band.
          Def is an array of N hues from 0 to 300.
        /REVERSE means reverse colors.
        WT=wt Array of weights for each band (def all 1).

Outputs


Common Blocks


Notes


      Note: Each band in the multiband input image is split into
      R,G,B components and all summed to give the final image
      R,G,B. Returned image will not be scaled. To display try
        tv,true=3,img

Modification History


      R. Sterner, 2004 May 16
      R. Sterner, 2005 Apr 20 --- Added /REVERSE.
  Copyright (C) 2004, 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