Re-design psnr.py code and change image names by rafagarciac · Pull Request #592 · TheAlgorithms/Python · GitHub
Skip to content

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

Merged
harshildarji merged 2 commits into
TheAlgorithms:masterfrom
rafagarciac:master
Nov 5, 2018
Merged

harshildarji merged 2 commits into
TheAlgorithms:masterfrom
rafagarciac:master

Conversation

@rafagarciac

Copy link
Copy Markdown
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. 👍

@harshildarji harshildarji Nov 3, 2018

Copy link
Copy Markdown
Member

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.

@rafagarciac rafagarciac Nov 5, 2018

Copy link
Copy Markdown
Member Author

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
Copy Markdown
Member Author

@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