What definition of correlation is implemented by CORR2 function in Image Processing Toolbox 6.4 (R2009b)?
4 views (last 30 days)
Show older comments
I would need to know what definition of correlation is implemented by CORR2 function in Image Processing Toolbox?
Accepted Answer
MathWorks Support Team
on 18 Dec 2009
The CORR2 function implements the Pearson correlation to 2-D arrays. The Pearson definition of correlation is available on:
K. Pearson, "Mathematical contributions to the theory of evolution. III. Regression, heredity and panmixia" Philos. Trans. Royal Soc. London Ser. A , 187 (1896) pp. 253–318
The CORR2 function applies this definition to bidimensional array introducing a data type conversion to double and applying linear indexing to the array itself. This function is specifically developed to process pixel images often represented by uint8 data type.
0 Comments
More Answers (0)
See Also
Categories
Find more on Feature Detection and Extraction in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!