text: import cv2
  
  img = cv2.imread('ChessBoardGrad.png')
  grayImg = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
  cv2.imshow('Gray Image', grayImg)
  cv2.waitKey(0)
  filtersize = 513
  gaussianImg = cv2.GaussianBlur(grayImg, (filtersize, filtersize), 128)
  cv2.imshow('Converted Image', gaussianImg)
  cv2.waitKey(0)
  newImg = (grayImg-gaussianImg)
  cv2.imshow('New Image', newImg)
  cv2.imwrite('Converted.png', newImg)
  cv2.waitKey(0)
  cv2.destroyAllWindows()