Searched refs:pixel_n (Results 1 – 1 of 1) sorted by relevance
448 int pixel_n = bitmap.width() * bitmap.height(); in ComputeColorCovariance() local450 (static_cast<double>(rr_sum) / pixel_n - in ComputeColorCovariance()451 static_cast<double>(r_sum * r_sum) / pixel_n / pixel_n), in ComputeColorCovariance()452 (static_cast<double>(rg_sum) / pixel_n - in ComputeColorCovariance()453 static_cast<double>(r_sum * g_sum) / pixel_n / pixel_n), in ComputeColorCovariance()454 (static_cast<double>(rb_sum) / pixel_n - in ComputeColorCovariance()455 static_cast<double>(r_sum * b_sum) / pixel_n / pixel_n), in ComputeColorCovariance()456 (static_cast<double>(rg_sum) / pixel_n - in ComputeColorCovariance()457 static_cast<double>(r_sum * g_sum) / pixel_n / pixel_n), in ComputeColorCovariance()458 (static_cast<double>(gg_sum) / pixel_n - in ComputeColorCovariance()[all …]