code: def loadImage(t, filename="cajal.jpg"):
    
    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
docs: 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.