Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

standard deviation calculation

I was searching for standard deviation calculation using opencv that I found this:

http://answers.opencv.org/question/6501/problem-with-meanstddev/

I can not underestand what do these two lines mean:

uchar       mean_pxl = mean.val[0];
uchar       stddev_pxl = stddev.val[0];

what is the output of mean.val[0] and stddev.val[0] ?

Thanks in advance..

standard deviation calculation

I was searching for standard deviation calculation using opencv that I found this:

http://answers.opencv.org/question/6501/problem-with-meanstddev/

I can not underestand what do these two lines mean:

uchar       mean_pxl = mean.val[0];
uchar       stddev_pxl = stddev.val[0];

what is would be the output of mean.val[0] and stddev.val[0] ?

Thanks in advance..