从bgr 转换到 ycrcb,跟 opencv 中内置的 cv2.cvtColor(, cv2.COLOR_BGR2YCR_CB) 相比 ycbcr compared to cv2.cvtColor : 102.0371172214906 全部代码 importcv2importnumpydefshow(image,name='yhl'):cv2.imshow(name,image)cv2.waitKey(0)cv2.destroyAllWindows()defsmall(image,t=8):m,n=image.shape[:2]...