Skip to content

Tag Archives: Cross

Cross correlation calculation code

26-Mar-09

Here is the code that I write to calculate the value of the Cross Correlation value to know how similar every window is with the windows in the second Picture.
double valorCorrelacionCruzada=0;

for(int i=0;i<VentanasEnImagen1.size();i++){
valorCorrelacionCruzada = 0;
 for(int j=0;j<VentanasEnImagen2.size();j++){
for(int pto=0;pto<VentanasEnImagen1.get(i).ValoresGris.size();pto++){
valorCorrelacionCruzada [...]

You are here

17-Dec-08