<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def loadImage(t, filename="cajal.jpg"):
 """ Load the given gray scale image. Threshold it to black and white and crop it to be the dimensions of the FF input for the thalamus. Return a binary numpy matrix where 1 corresponds to black, and 0 corresponds to white. """

  image = Image.open("cajal.jpg").convert("1")
  image.load()
  box = (0, 0, t.inputWidth, t.inputHeight)
  image = image.crop(box)

  # Here a will be a binary numpy array where True is white. Convert to floating
  # point numpy array where white is 0.0
  a = np.asarray(image)
  im = np.ones((t.inputWidth, t.inputHeight))
  im[a] = 0

  return im