video-quality icon indicating copy to clipboard operation
video-quality copied to clipboard

Why is NIQE commented out?

Open choosehappy opened this issue 8 years ago • 4 comments

This is a long shot, but I was searching around the web for a python implementation of NIQE and found yours.

I noticed in the jpg_demo.py that its commented out, but there is no mention as to why.

I was wondering if its "safe" to use, or if it was commented out because it wasn't producing the correct result?

Thanks :)

choosehappy avatar Oct 02 '17 17:10 choosehappy

I use NIQE algorithm , but find it have no difference in judge whether the image is blur or not。 I don't know the reason

sunbinbin1991 avatar Mar 20 '18 07:03 sunbinbin1991

@choosehappy It's been a while so I don't remember exactly. I think it was producing outputs that did not match those in the original NIQE paper, although they did correlate well with the other quality metrics. The code in niqe() looks good to me, you may want to check some of the functions it depends on eg estimate_aggd_params().

Now that MathWorks has NIQE, perhaps someone who has access to that can make a basic test suite with a few example images and their NIQE values.

aizvorski avatar Apr 29 '18 23:04 aizvorski

@sunbinbin1991 Could you post a code+images example? I think slight degrees of blur only correspond to slight changes in NIQE. You need to blur a lot to see a big change. Try size 10 or 20 gaussian blur.

aizvorski avatar Apr 30 '18 00:04 aizvorski

Hi, I just test the NIQE algorithm, using RGB images. However, the results seem totally different from those in Matlab version. Is there anything wrong? (I convert BGR to YUV and compute NIQE in Y channel, same as Matlab version)

IceClear avatar Jul 11 '19 14:07 IceClear