Computing Luminance and Contrast in Prosthetically Driven Retina