图像点乘:
bbb:
1.像是直方图均衡化的感觉,
2.整体值调的偏低了,黑的更黑,白的变缓慢了。
ccc像图像进行了轮廓加强,
时间:10ms
import time
import cv2
import numpy as np
if __name__ == '__main__':
path="D:/7_Cheering_Cheering_7_426.png"
img=cv2.imread(path)
cv2.imshow("aaa",img)
start=time.time()
img=img/255
img=img*img
print("dian cheng",time.time()-start)
# img= np.dot(img, img)
cv2.imshow("bbb", img)
img=img*255
img=img.astype(np.int8)
cv2.imshow("ccc",img)
cv2.waitKey()