摘要:
1 #!/bin/python3 2 3 import cv2 as cv 4 import numpy as np 5 6 7 #双线模糊 8 def b1_demo(image): 9 dst = cv.bilateralFilter(image,0,100,15) 10 cv.imshow(" 阅读全文
摘要:
1 #!/bin/python3 2 3 import cv2 as cv 4 import numpy as np 5 6 7 def clamp(pv): 8 if pv > 255: 9 return 255 10 if pv < 0: 11 return 0 12 else: 13 retu 阅读全文
摘要:
1 #!/bin/python3 2 2 3 3 import cv2 as cv 4 4 import numpy as np 5 5 6 6 7 7 #均值模糊 8 8 def blur_demo(image): 9 9 dst = cv.blur(image,(5,3)) 10 10 cv.i 阅读全文