close

import numpy as np

import cv2

img = cv2.imread('test.jpg')

result = np.uint8(np.clip((1.5 * img + 100), 0, 255))

cv2.imwrite('result.jpg', result)

 

 

※查詢其他OpenCV用法如下※

openCV應用總整理: 點擊我

arrow
arrow

    楓綺 發表在 痞客邦 留言(0) 人氣()