A.cv2.Canny(img,50,150)B.cv2.Sobel(img,cv2.CV_64F,1,0,ksize=3)C.cv2.Laplacian(img,cv2.CV_64F)D.cv2.cornerHarris(img,2,3,0.04)
A.cv2.resize(img,(200,200))B.cv2.resize(img,None,fx=0.5,fy=0.5)C.cv2.pyrUp(img)D.cv2.pyrDown(img)
A.cv2.imread(’image.jpg’,cv2.IMREAD_GRAYSCALE)B.img =cv2.imread(’image.jpg’,0)C.img =cv2.imread(’image.jpg’,cv2.COLOR_BGR2GRAY)D.img =cv2.imread(’image.jpg’,cv2.IMREAD_COLOR)