https://codingnote.cc/p/473397/
【图像处理】基于OpenCV实现图像直方图的原理