Searched refs:sum_squared (Results 1 – 6 of 6) sorted by relevance
23 static int variance(int sum, int sum_squared, int size) { in variance() argument24 return sum_squared / size - (sum / size) * (sum / size); in variance()
63 double sum_squared = 0; in DitherSilence() local65 sum_squared += frame->data_[n] * frame->data_[n]; in DitherSilence()66 if (sum_squared <= sum_squared_silence) { in DitherSilence()
38 sum_squared, member
2125 channel_statistics[channel].sum_squared+=(double) p[i]*p[i]; in GetImageStatistics()2147 channel_statistics[i].sum_squared*=area; in GetImageStatistics()2151 channel_statistics[i].variance=channel_statistics[i].sum_squared; in GetImageStatistics()2182 channel_statistics[CompositePixelChannel].sum_squared+= in GetImageStatistics()2183 channel_statistics[i].sum_squared; in GetImageStatistics()2202 channel_statistics[CompositePixelChannel].sum_squared/=channels; in GetImageStatistics()2222 channel_statistics[i].mean*channel_statistics[i].sum_squared+2.0* in GetImageStatistics()2229 channel_statistics[i].sum_squared-3.0*channel_statistics[i].mean* in GetImageStatistics()2879 sum_squared; in GetStandardDeviationPixelList() local2897 sum_squared=0.0; in GetStandardDeviationPixelList()[all …]
1110 double sum_squared = 0; in CheckBgn() local1112 sum_squared += output[k] * output[k]; in CheckBgn()1113 TestCondition(sum_squared, n > kFadingThreshold); in CheckBgn()
417 _sumSquared(channelStatistics_->sum_squared), in ChannelStatistics()