Attached is a MATLAB script which adds shot noise (Poisson noise) and read noise (Gaussian noise) to an image. You can change the SNR by changing the simulated quantum well depth of the sensor or the standard deviation of the read noise. I hope this helps.