Can't compare images smaller than 160px.
bash -c "vqmt tmp.y4m 58.convert.y4m 144 144 1 3 tmp PSNR SSIM MSSSIM VIFP PSNRHVS PSNRHVSM"
OpenCV Error: Assertion failed (s >= 0) in setSize, file /home/svasilev/opencv/opencv-3.3.0/modules/core/src/matrix.cpp, line 310
terminate called after throwing an instance of 'cv::Exception'
what(): /home/svasilev/opencv/opencv-3.3.0/modules/core/src/matrix.cpp:310: error: (-215) s >= 0 in function setSize
files.zip
Got this files with following commands
convert 110086_x.png -resize 144x144 tmp.png
convert tmp.png -quality 58 -sampling-factor 1x1 58.convert.jpg
convert 58.convert.jpg 58.convert.png
ffmpeg -y -loglevel panic -i tmp.png -pix_fmt yuv444p tmp.y4m
ffmpeg -y -loglevel panic -i 58.convert.png -pix_fmt yuv444p 58.convert.y4m
160 and bigger goes well.
Can't compare images smaller than
160px.files.zip
Got this files with following commands
160and bigger goes well.