-
Notifications
You must be signed in to change notification settings - Fork 41
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
I can not get the same value with matlab's #4
Comments
Me too. The latest update results in different result when the target size is larger than the original. |
Dears spnova12, sliu729, thanks for your interest in my code. Unfortunately, this code was implemented more than a year ago and can (and in the future definitely will) be not very correct due to the behavior of the new versions of Numpy as well as the new versions on MatLab (e.g. different ways of rounding, image processing etc). But for this issue I will try to investigate if I have time (maybe the problem is indeed in the upscaling behavior only). |
Dear fatheral, Thanks for your reply.
|
Dear fatheral, It would be appreciated if you could make this code more accurate. |
conversion from RGB to YCbCr may contribute to the difference as well. |
I am using your code.
But i can not get the same psnr with matlab's.
This is my code (https://github.com/spnova12/get_set5_psnr)
If you do not mind, please check my code.
I also put the matlab code I used on github together.
The text was updated successfully, but these errors were encountered: