Searched refs:_ssim (Results 1 – 3 of 3) sorted by relevance
436 static double convert_ssim_db(double _ssim, double _weight) { in convert_ssim_db() argument437 assert(_weight >= _ssim); in convert_ssim_db()438 if ((_weight - _ssim) < 1e-10) return MAX_SSIM_DB; in convert_ssim_db()439 return 10 * (log10(_weight) - log10(_weight - _ssim)); in convert_ssim_db()
442 static double convert_ssim_db(double _ssim, double _weight) { in convert_ssim_db() argument443 assert(_weight >= _ssim); in convert_ssim_db()444 if ((_weight - _ssim) < 1e-10) return MAX_SSIM_DB; in convert_ssim_db()445 return 10 * (log10(_weight) - log10(_weight - _ssim)); in convert_ssim_db()
4613 _ssim = np.asarray([[1.000000, 0.230880, 0.231153], variable in SSIMTest4637 expected = self._ssim[np.triu_indices(3)]4648 expected = self._ssim[np.triu_indices(3, k=1)]4661 expected = self._ssim[:2, :2]