RuntimeWarning: overflow encountered in ubyte_scalars

描述:像素加减运算溢出异常。

解决方法:转换为整型进行计算

原文地址:https://www.cnblogs.com/w33-blog/p/9956272.html