improved ImagePainter: color indices for values >= 1, grayscale otherwise
improved ImagePainter: color indices for values >= 1, grayscale otherwise

juliabuhmann/imageprocessing,funkey/imageprocessing,funkey/imageprocessing,juliabuhmann/imageprocessing