Skip to content
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

discussion and query #1

Open
ynma-hanvo opened this issue Apr 14, 2023 · 2 comments
Open

discussion and query #1

ynma-hanvo opened this issue Apr 14, 2023 · 2 comments

Comments

@ynma-hanvo
Copy link

in ssim function, i found the avg_o and avg_r is from Range(k, k + block_size) instead of Range(m, m + block_size). is this a bug?

by the way, what ssim value is best used for.
i want to detect if a image is taken from by placing the camera very close to scene, (like wall or floor), is ssim value able to judge;

@ruofeidu
Copy link
Owner

Hi ynma,

I haven't used this code for looooong loooong time, since Python has standard function for these now and opencv has them: https://docs.opencv.org/3.4/dd/d3d/tutorial_gpu_basics_similarity.html

Let me know if the results does not match with OpenCV then I'll debug it...

Cheers,
Ruofei

@ynma-hanvo
Copy link
Author

thanks for reply with some extra infomation. but the opencv version evaluate ssim without blocks,

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

No branches or pull requests

2 participants