From: arvind on
clear all
%study gamma effect
img=imread('hello2.jpg');
gamma=0.1;

OutImg=imadjust(img,[],[],gamma);

%study noise effect
NoiseCanvas=ones(size(img));
V=0.1*NoiseCanvas;

OutimgwNoise=imnoise(img,'gaussian');

subplot(1,1,1),imshow(OutimgwNoise);

ive derived over here, but it seems to have only the noise but not the low gamma value...