>  Docs Center  >  Libraries  >  Salvaggio  >  SPATIAL_FILTER
Libraries

SPATIAL_FILTER

SPATIAL_FILTER

Name


    SPATIAL_FILTER

Purpose


    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.

Category


    Image Processing.

Calling Sequence


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

Inputs


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

Keyword Parametrs


    ROTATE
      An optional parameter that if set will cause the filter to be
      rotated before performing the filtering operation.
    VERBOSE
      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


    None

Requires


    None

Modification History


    Written by: Carl Salvaggio
    April, 2012 Original code
   

Disclaimer


    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.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us