% 958, 966, 970
n = 970;
fn = sprintf('DSCN%.4d.JPG',n);


img = imread(fn);

R = img(:,:,1);
GB = img(:,:,2)+img(:,:,3);

R = flipud(R*5);
GB = flipud(GB*5);

fnL = sprintf('%.4d_L.JPG',n);
fnR = sprintf('%.4d_R.JPG',n);

imwrite(R, fnL);
imwrite(GB, fnR);