Thanks to visit codestin.com
Credit goes to github.com

Skip to content

PSNRHVSM width and height check #7

@Ilya87

Description

@Ilya87

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions