I noticed that ippiQualityIndex may return a NaN for parameter pQualityIndex, even with comparing images that don't contain a NaN themselves. The result code is ippStsNoErr. I guess the cause is division by zero.
I suggest to return 0.0 rather than NaN in concerning cases.
Regards,
Adriaan van Os
TCE Level:
TCE Open Date:
Saturday, March 14, 2020 - 02:12