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

IMG_SHARPEN

IMG_SHARPEN

Name


      IMG_SHARPEN

Purpose


      Sharpen a 2-D or 3-D image array.

Category


Calling Sequence


      out = img_sharpen(in)

Inputs


      in = Input image. in

Keyword Parameters


Keywords


        SMOOTH=sm Smoothing window size (def=3).
            Use odd values to avoid image shift: 3,5,7,...
        WEIGHT=wt Weight for smoothed image (def=0.6).
          Keep between 0 and 1.
        ERROR=err error flag: 0=ok, 1=not 2-D or 3-D,
          2=wrong number of color channels for 3-D array.

Outputs


      out = sharpened image. out

Common Blocks


Notes


      Note: deals with 2-D or 3-D image arrays.

Modification History


      R. Sterner, 2002 Jun 03
  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