Skip to content

Re-design psnr.py code and change image names #592

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 5, 2018

Conversation

rafagarciac
Copy link
Member

I preserved the old algorithm which I don't know if is working as expected or not because, both methods return a different values.
But according the Wikipedia Example: https://en.wikipedia.org/wiki/Peak_signal-to-noise_ratio
The first one method will be the correct one. 👍



if __name__ == '__main__':
main()
Copy link
Member

@harshildarji harshildarji Nov 3, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @rafagarciac,
I would be happy to merge this PR, but I want you to remove one of the PSNR methods and keep the only one which works better! Also, Do not forget to modify your code with respect to changes that will happen after removing the method!
Thank you.

Copy link
Member Author

@rafagarciac rafagarciac Nov 5, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Solved ! Also I reformat some code from arithmetic_analysis 👍 💯
057291f

@rafagarciac
Copy link
Member Author

@harshildarji Done, take a look to the latest commit :) 057291f

@harshildarji harshildarji merged commit beafe36 into TheAlgorithms:master Nov 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants