故事:
在Android屏幕上,我显示一个带有标尺的图片。我在标尺里面按了一下,像这样充满了它:
1Imgproc.floodFill(image0, mask, seed, new Scalar(20,40,60));
不幸的是结果很糟糕,因为标尺的轮廓没有关闭,图片几乎完全填满 从我的桌面电脑上的floodfill.cpp示例返回更好的结果,我尝试在Android上执行类似的操作:
2Imgproc.floodFill(image0, mask, seed, new Scalar(50,70,90), rect, new Scalar(20,20,20), new Scalar(20,20,20), Imgproc.FLOODFILL_FIXED_RANGE);
这里我得到了UnsatisfiedLinkError。
这怎么可能? Improc.floodfill(...
提供四种不同的填充变化(具有不同的参数),只有第一种(数字1)有效。所有其他:UnsatisfiedLinkError
问题:
这是否意味着提供了其他变体但尚未实施?