Optimized learning scheme for grayscale image recognition in a RRAM based analog neuromorphic system | IEEE Conference Publication | IEEE Xplore