xeucn

PURPOSE ^

n-dimensional euclidean distance between each window in A and template T.

SYNOPSIS ^

function C = xeucn( A, T, shape )

DESCRIPTION ^

 n-dimensional euclidean distance between each window in A and template T.

 Similar to normxcorrn, except at each point (i,j) calculates the euclidean distance
 between the T and the window in A surrounding the point, storing the result in C(i,j).

 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. Also,
 note that normxcorrn gives a similarity matrix, whereas xeucn gives a dissimilarity
 (distance) matrix. 

 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 NORMXCORRN, XEUCN, XCORRN

CROSS-REFERENCE INFORMATION ^

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