xcorrn

PURPOSE ^

n-dimensional cross-correlation. Generalized version of xcorr2.

SYNOPSIS ^

function C = xcorrn( A, T, shape )

DESCRIPTION ^

 n-dimensional cross-correlation.  Generalized version of xcorr2.

 For 2 dimensional inputs this function is exactly the same as xcorr2, but also works in
 higher dimensions.   It can also be more efficient because it performs convolution in
 either the spatial or frequency domain.   

 The order of parameters is reversed from normxcorrn.  This is to be compatible with the
 matlab functions normxcorr2 anc xcorr2 which take parameters in different orders.

 For more information see help on xcorr2.m.
 For example usage see normxcorrn.  

 INPUTS
   A           - first d-dimensional matrix 
   T           - second d-dimensional matrix 
   shape       - [optional] 'valid', 'full', or 'same', see convn_fast help

 OUTPUTS
   C           - correlation matrix

 DATESTAMP
   29-Sep-2005  2:00pm
 
 See also XCORR2, NORMXCORRN, XEUCN

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Wed 03-May-2006 23:48:50 by m2html © 2003