You are here : matlabImage Processingcorr2

corr2() - Image Processing

r = corr2(A,B) returns the
correlation coefficient r between A and B,
where A and B are matrices or
vectors of the same size. r is a scalar double.r = corr2(gpuarrayA,gpuarrayB) performs
the operation on a GPU. The input images are 2-D gpuArrays of the
same size. r is a scalar double gpuArray.
This syntax requires the Parallel Computing Toolbox™.


Syntax

r = corr2(A,B)r = corr2(gpuarrayA,gpuarrayB)


Example

You can give an example if you know one.


Output / Return Value


Limitations


Alternatives / See Also


Reference