function y = gen_img(mu,sigma,x)

y = mu(x);
[m,n] = size(y);
y = mu(x) + sigma(x).*random('Normal',0,1,m,n);
y = reshape(y,size(x));



