// mean values
for (int i = 0; i < NUM_GRAY_VALUES; i++) {
mu_x += i * p_x[i];
mu_y += i * p_y[i];
}
that doesn't compute the mean - and subsequently the variance is wrong as well
Original issue reported on code.google.com by franz.graf on 13 May 2012 at 9:00
Original issue reported on code.google.com by
franz.graf
on 13 May 2012 at 9:00