python--
python-- copied to clipboard
在求sobel或者laplacian梯度的时候,为什么把图像resize到(800, 900)的尺度上?
reImg = cv2.resize(img, (800, 900), interpolation=cv2.INTER_CUBIC) #
800x900 这个是存粹人为设定的,也可以根据需要自己设置