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

Can you provide IE evaluation code? #16

Closed
mrchizx opened this issue Aug 22, 2019 · 1 comment
Closed

Can you provide IE evaluation code? #16

mrchizx opened this issue Aug 22, 2019 · 1 comment

Comments

@mrchizx
Copy link

mrchizx commented Aug 22, 2019

Can you provide a sample code for calculating IE for color images? I cannot get the same number for Middlebury other dataset.

@baowenbo
Copy link
Owner

baowenbo commented Aug 23, 2019

rec_rgb = imread(arguments_strOut)
gt_rgb = imread(gt_path)
diff_rgb = 0.0+rec_rgb - gt_rgb
interp_error = np.mean(np.abs(diff_rgb))

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