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

[Enhance] Align NIQE to MATLAB results #631

Merged
merged 4 commits into from
Dec 1, 2021
Merged

Conversation

ckkelvinchan
Copy link
Member

@ckkelvinchan ckkelvinchan commented Nov 25, 2021

Motivation

Existing NIQE in MMEditing has a difference to the MATLAB results (https://github.com/roimehrez/PIRM2018) due to the following two reasons

  1. cv2 downsampling is used instead of MATLAB downsampling
  2. rounding operation is omitted.

Modifications

This PR improves NIQE by

  1. using MATLABLikeResize for downsampling,
  2. adding a rounding operation

@nbei nbei merged commit 9ea4bd3 into open-mmlab:master Dec 1, 2021
Yshuo-Li pushed a commit to Yshuo-Li/mmediting that referenced this pull request Jul 15, 2022
* update NIQE

* update unittest

* update unittest

* update unittest
Yshuo-Li pushed a commit to Yshuo-Li/mmediting that referenced this pull request Jul 15, 2022
* update NIQE

* update unittest

* update unittest

* update unittest
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