Searched refs:grayVar (Results 1 – 2 of 2) sorted by relevance
231 long long int grayVar = 0; in CalcGrayMsd() local237 … grayVar += pow(static_cast<long long int>(Rgb2Gray(colorVal[i])) - grayAve, 2); // 2 is square in CalcGrayMsd()239 grayVar /= colorValLen_; in CalcGrayMsd()240 return static_cast<uint32_t>(grayVar); in CalcGrayMsd()
202 unsigned long long int grayVar = 0; in CalcGrayMsd() local208 …grayVar += pow(static_cast<unsigned long long int>(Rgb2Gray(colorVal[i])) - grayAve, 2); // 2 is s… in CalcGrayMsd()210 grayVar /= colorValLen_; in CalcGrayMsd()211 return static_cast<uint32_t>(grayVar); in CalcGrayMsd()