Click here to Skip to main content
15,936,709 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi I have two list<int> (StoreCb,StoreCr) in which i am storing Cb and Cr value of each pixel in an image. No i want to compute the covariance between them i dont have even have a clue how to go about it the best i can explain in terms of coding is that in Matlab perhaps i would have done it like this. Now obvioulse i have to use c# as mandatory.

cov(StoreCb,StoreCr).

Any helps is more than welcome

Thanks anyways
Regards
Posted
Updated 9-Jan-14 19:41pm
v2
Comments
Sergey Alexandrovich Kryukov 10-Jan-14 2:02am    
The term "covariance" has several very different meanings. Could you indicate exactly which one do you mean? Is it about covariance in tensors? Something else? Any reference? Anyway, if you "don't even have a clue", it's not a good time to ask a question. First, read at least some introductory material on the relevant fields (of mathematics, computer science..., whatever applies), to make yourself at least minimally qualified to ask questions...
—SA
loraloper_22 10-Jan-14 2:15am    
Every body is minimally qualified to ask question.just don't bother commenting if you dont feel like.
Maxim Kartavenkov 10-Jan-14 4:44am    
http://en.wikipedia.org/wiki/Covariance
Isn't complexy of implementation in C#.
loraloper_22 10-Jan-14 7:08am    
Thanks a lot

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900