1. 首页
  2. 数据库
  3. 其它
  4. White Balance and Maximum Color Method

White Balance and Maximum Color Method

上传者: 2020-12-22 11:03:51上传 PDF文件 19.08KB 热度 22次
理论知识请移步这里 import cv2 as cv import numpy as np import sys assert 'linux' in sys.platform img = cv.imread('/home/image/Pictures/lena512color.jpg', 1) height = img.shape[0] width = img.shape[1] def maximumColorMethod(img): (B,G,R)=cv.split(img) Bmax=np.max(R) Gmax=np.max(G) Rmax=np.max
用户评论