mss-saliency icon indicating copy to clipboard operation
mss-saliency copied to clipboard

aborts with 'empty' images

Open timesselens opened this issue 10 years ago • 1 comments

convert -size 80x60 xc:none /tmp/test.jpg
./SaliencyDetector /tmp/test.jpg
SaliencyDetector: ../src/SymmetricSurroundSaliency.h:129: void SymmetricSurroundSaliency::Normalize(std::vector<double>&, const int&, const int&): Assertion `range > 0' failed.
Aborted (core dumped)

could this be handled more gracefully?

timesselens avatar Dec 01 '14 18:12 timesselens

Thanks for reporting this! I've put it on my todo list & will close this issue once I commited a fix.

technopagan avatar Jan 11 '15 09:01 technopagan