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

IMG_SPREAD

IMG_SPREAD

Name


      IMG_SPREAD

Purpose


      Spread image values over total range of image data type.

Category


Calling Sequence


      out = img_spread(in)

Inputs


      in = Input color image. May be Byte Int, Uint. in

Keyword Parameters


Keywords


      MISSING=miss Values to ignore for processing. Restore
        when done.
      WMISS=wmiss 1-d indices into each color component
        where data missing (-1 if no missing data).
      WGOOD=wgood 1-d indices into each color component
        where data is good.
      HIST=[lo,hi] Use histogram scaling. Must give a two
        element array with percentages to cut off the low and
        high end of the histogram. To cut off the low and high
        1% give HIST=[1,1]. Give HIST=[0,0] to scale from image
        min to max. Histogram scaling operates channel by channel.

Outputs


      out = Returned image of same type. out

Common Blocks


Notes


Modification History


      R. Sterner, 2002 Jun 13
      R. Sterner, 2002 Jun 21 --- Added histogram scaling, HIST=hst.
      R. Sterner, 2010 May 12 --- Converted arrays from () to [].
  Copyright (C) 2002, 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.



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us