I have an image as a 2D numpy array that i wish to calculate gradient of
gx = np.zeros((frame.shape[0]-2, frame.shape[1]-2), dtype=\'int8\') gy = np.zeros