Creates signed distance fields from greyscale images