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

PSNRHVSM width and height check #7

Open
Ilya87 opened this issue Jan 5, 2018 · 0 comments
Open

PSNRHVSM width and height check #7

Ilya87 opened this issue Jan 5, 2018 · 0 comments
Labels

Comments

@Ilya87
Copy link

Ilya87 commented Jan 5, 2018

My test video has resolution 2580x1080. If I run PSNRHVSM (or PSNRHVS) metric computation vqmt crashes

OpenCV Error: Assertion failed (0 <= _colRange.start && _colRange.start <= _colRange.end && _colRange.end <= m.cols) in Mat, file /build/opencv/src/opencv-3.4.0/modules/core/src/matrix.cpp, line 501
terminate called after throwing an instance of 'cv::Exception'
  what():  /build/opencv/src/opencv-3.4.0/modules/core/src/matrix.cpp:501: error: (-215) 0 <= _colRange.start && _colRange.start <= _colRange.end && _colRange.end <= m.cols in function Mat

After I convert sample to 2584x1080 (dimensions dividable by 8) the computation goes well. So, dimensions of video should be dividable by 8. In daala tool dump_psnrhvs has no such restriction.

@rolinh rolinh added the bug label Jan 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants