toGrayscale 113 samples/cpp/pca.cpp reconstruction = toGrayscale(reconstruction); toGrayscale 159 samples/cpp/pca.cpp reconstruction = toGrayscale(reconstruction); // re-scale for displaying purposes