First time here? Check out the FAQ!
answered 2017-03-22 04:28:14 -0600
The return type should be
double mean_pxl = mean.val[0]; double stddev_pxl = stddev.val[0];
otherwise you can use "auto"
auto mean_pxl = mean.val[0]; auto stddev_pxl = stddev.val[0];