Searched refs:denom (Results 1 – 3 of 3) sorted by relevance
41 def float_to_rational(f, denom=128): argument53 return [{"numerator":math.floor(val*denom+0.5), "denominator":denom}56 return {"numerator":math.floor(f*denom+0.5), "denominator":denom}
61 float denom = ((meanIdeal * meanIdeal) + (meanGiven * meanGiven) + C1)63 SSIM /= denom;
123 double denom = ((muX * muX) + (muY * muY) + CONSTANT_C1) in SSIM() local125 SSIM /= denom; in SSIM()