add gray image loading & parsing to double[][] table