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

SCALEBAR

SCALEBAR

Name


      SCALEBAR

Purpose


      Make an image bar indicating image min/max and scaling.

Category


Calling Sequence


      scalebar

Inputs


Keyword Parameters


Keywords


        DATA=[min,max] 2 element array with data min and max.
          For example, 12 bit data would be data=[0,4095].
        IMAGE=[min,max] 2 element array with image min and max.
          For example, image=[452,3245].
        SCALED=[min,max] 2 element array with scaling min and max.
          For example, scaled=[2234,2778].
        SAVE=png Name of PNG image to save bar in (def=none).
        SIZE=[dx,dy] X and Y size of bar in pixels. Bar
          may be horizontal or vertical format depending on shape.
          Default: size=[100,20].
        ICOLOR=iclr Color for image min/max (def=yellow).
        SCOLOR=sclr Color for scaling min/max (def=orange).
        /SHOW means show the resulting color bar on the screen.

Outputs


Common Blocks


Notes


      Note: The three keywords DATA, IMAGE, SCALED are required.
        Bar is created in it's own window. No values are listed
        with the bar, it is a simple graphical indicator.

Modification History


      R. Sterner, 2002 Apr 23
  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.



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