Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Weber default algo #264

Closed
wants to merge 22 commits into from
Closed

Conversation

omnisip
Copy link
Contributor

@omnisip omnisip commented Aug 14, 2020

Since this is a breaking change I broke it into a separate pull request.

…eber'

BREAKING CHANGE: If users depend on {ssim: 'fast'} as the default, their test cases with this
library will fail
@omnisip omnisip force-pushed the weber-default-algo branch from 5dc0a99 to bb073bc Compare August 14, 2020 03:01
omnisip and others added 16 commits August 15, 2020 01:28
…ize mean and variance

Fixed a few calculation issues.  Still have an outstanding issue with respect to
isabe.  For some reason this particular image iskewing the SSIM results.
…per rounding of the input

Current input luminance input is not rounded prior to the ssim function.  This means that we can't
use an integer implementation and expect the results to work properly until the numbers are
normalized.  As such, I've implemented a Uint8Array wrapper that rounds all of the luminance values
passed in.
…egers

Uses Uint32Array instead of Uint8Array for rounding during the SSIM calculation
Removed unnecessary debugger line.  Added comment to show how variance tolerances were calculated.
… src/weberSsim.ts

Fixed LICENSE to be more accurate of contributors
… src/weberSsim.ts

Fixed LICENSE to be more accurate of contributors
Separated the main project license file from the license files for the contributions
@CLAassistant
Copy link

CLAassistant commented Aug 19, 2020

CLA assistant check
All committers have signed the CLA.

@obartra
Copy link
Owner

obartra commented Sep 2, 2020

Weber is now the default 🎉 as part of #273

@obartra obartra closed this Sep 2, 2020
@omnisip
Copy link
Contributor Author

omnisip commented Sep 2, 2020 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants