use first column of index file for grayscale lookup