tests on CV_16UC3 images fail without such a change, unfortunately.