>  Docs Center  >  Libraries  >  Motley  >  MGH_BAND_EDGE

MGH_BAND_EDGE

MGH_BAND_EDGE

Name


  MGH_BAND_EDGE

Purpose


  Given a 2D array as input, return a copy in which there is a band
  adjacent to the edge with zero gradient normal to the edge

Positional Parameters


  data (input, 2D array)
    The input array, can be any data type

Keyword Parameters


  WIDTH (input, integer scalar)
    The width of the band in which values are changed. Default is 1.
    If WIDTH is less than 1, the result is just a copy of the input.

Return Value


  The function returns an array of the same type and dimensions as
  the input.

Procedure


  Copy interior values into the band. Note that the band width is
  the same on all boundaries: given this, there is no need for
  special handling at corners.

Modification History


  Mark Hadfield, 2006-03:
    Written to replace mgh_moma_top_smoothedge and similar.



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