>  Docs Center  >  Libraries  >  Salvaggio  >  SPATIAL_FILTER






    This function will return a response from the spatial filtering of a one-, two-,
    or three-dimensional array with the provided one- or two-dimensional filter.
    If specified, this routine will properly rotate the filter before performing the
    filtering operation to perform pure mathematical convolution.


    Image Processing.

Calling Sequence

    Result = SPATIAL_FILTER( array, filter [, /ROTATE] [, /VERBOSE] )


      A one-, two-, or three-dimensional array containing the data on which to
      perform the spatial filtering.
      A one- or two-dimensional array containing the weights for the filter.

Keyword Parametrs

      An optional parameter that if set will cause the filter to be
      rotated before performing the filtering operation.
      An optional parameter that if set will cause performance timing
      information to be reported to the console.

Return Value

    Result is a double-precision array, the same size as the original array
    that contains the response of the spatial filtering. The response will be
    normalized by the weight of the filter.

Side Effects




Modification History

    Written by: Carl Salvaggio
    April, 2012 Original code


    This source code is provided "as is" and without warranties as to performance
    or merchantability. The author and/or distributors of this source code may
    have made statements about this source code. Any such statements do not
    constitute warranties and shall not be relied on by the user in deciding
    whether to use this source code.
    This source code is provided without any express or implied warranties
    whatsoever. Because of the diversity of conditions and hardware under which
    this source code may be used, no warranty of fitness for a particular purpose
    is offered. The user is advised to test the source code thoroughly before
    relying on it. The user must assume the entire risk of using the source code.

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