c++ - How to extract value from a *CvScalar Output Array? -


consider me newbie @ programming. tried search answer question before posting no luck.

i using cvavgsdv function calculate std deviation , mean of roi of image. reference is:

 cvavgsdv(leftroi, leftmean, leftstddev); 

leftmean & leftstddev output arrays in form of *cvscalar how display them/access output value? need standard deviation value calculating pixel variance in image. squaring standard deviation should give me this.

regards, sheraz


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -