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

THICKEN

THICKEN

Name


      THICKEN

Purpose


      Thicken graphics in an existing image. Good for viewgraphs.

Category


Calling Sequence


      thicken, img, color

Inputs


      color = color index to thicken. in

Keyword Parameters


Keywords


        BOLD=b Desired thickness (def=2).
          BOLD may also be set to an N x M array which defines
          a brush stroke by non-zero elements. For example:
          BOLD=shift(dist(3),-2,-2) lt 1.2
        SUBSTITUTE=nclr New color to replace color by after
          thickening. Needed for multiple calls. For example,
          to thicken multiple black lines, need a temporary color
          to thicken and then substitute black:
          thicken,img,clr,sub=0 will thicken clr, then make it
          be 0.
        /NOCENTER thicken on positive side of points (default is
            to center thickening.
        MASK=m Optionally returned mask with 1 for pixels
          in thickened areas, else 0. May be useful for more
          complex processing.
        /QUIET means suppress non-serious messages.

Outputs


      img = input image (byte). in, out

Common Blocks


Notes


      Notes: Useful to make existing graphics such as axes,
        text, data curves, and so on thicker in an existing
        image. Makes viewgraphs more readable. May want to
        make original graphics in different colors so thickness
        can be customized: For axes use 0, for text use 1, ...

Modification History


      R. Sterner, 1994 Feb 2.
      R. Sterner, 1994 Apr 4 --- Allowed 2-d brush stroke.
  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