converts a pixmapGrey object to a numeric vector. The pixel matrix is casted to a vector by appending successive columns.
转换一个数值向量的一个pixmapGrey对象。通过附加连续列的像素矩阵被浇铸到一个向量。
# use with path to actual train-... file[使用路径,以实际列车...文件]
#temp <- readPixmapFile("data/train-images-idx3-ubyte")[温度< - readPixmapFile(“data/train-images-idx3-ubyte”)]
#temp2 <- pixmapToVector(temp[[3]])[TEMP2 < - pixmapToVector(临时[[3]])]