This code is an attempt at reproducing results of Fig. 4 in < Moss, F., Ward, L. M., & Sannita, W. G. (2004). Stochastic resonance and sensory information processing: a tutorial and review of application. Clinical neurophysiology, 115(2), 267-281 >
GallVp (2020). Stochastic Resonance in Images (https://www.mathworks.com/matlabcentral/fileexchange/70070-stochastic-resonance-in-images), MATLAB Central File Exchange. Retrieved .
Added live script