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

AUTOCOLOR

AUTOCOLOR

Name


      AUTOCOLOR

Purpose


      Print text on an image using automatic colors.

Category


Calling Sequence


      autocolor, x, y, text

Inputs


      x,y = coordinates for text. in
      text = text to print. in

Keyword Parameters


Keywords


        NX=nx, NY=ny: region of image from lower left corner
          to use to determine print colors. Def: nx=500, ny=300.
        BOLD=b Thickness of text. A background 2 pixels wider
          will be plotted in a darker color.
        TH=th Contrast difference desired (def=0.33).
        /ANTIALIASED does antialiased text (slow).
        Most XYOUTB keywords may be given.

Outputs


Common Blocks


Notes


      Notes: The intention is to use colors from the image for
        the text. No attempt is made to see how common an image
        color is so unexpected colors may show up.

Modification History


      R. Sterner, 2005 Mar 23
      R. Sterner, 2010 Apr 30 --- Converted arrays from () to [].
  Copyright (C) 2005, 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