code: public int[] getValues() {
          int[] graylevel = new int[size];
          int[] values1D = convertToArray();
          for( int i = 0; i < size; i++ ) {
              graylevel[i] = values1D[i] & 0x000000ff;
          }
          return graylevel;
      }
docs: Returns the int [] values of the Binary Fast image
  @return int[] the greylevel array of the image