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

请问可以给一下在不同前景比例下,计算MSE和fMSE的代码吗? #9

Closed
YCHang686 opened this issue Aug 14, 2021 · 1 comment

Comments

@YCHang686
Copy link

No description provided.

@YCHang686 YCHang686 changed the title 请问可以给一下计算不同前景比例下,计算MSE和fMSE的代码吗? 请问可以给一下在不同前景比例下,计算MSE和fMSE的代码吗? Aug 14, 2021
@junleen
Copy link
Owner

junleen commented Sep 22, 2021

您好,这个不难。您可以在计算global mse和psnr的时候,顺便保存或者计算一下foreground_mask的掩码面积占图像分辨率的百分比,这就是foreground ratio。最后分区间统计即可。

@junleen junleen closed this as completed Sep 22, 2021
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