figure;

if F == 1;
%% Fun with reflections
% Reflect a few column vectors
n = 10; % number of col vectors to reflect
k = floor(c*rand(1,n));
B(:,k,:) = A(:,k(end:-1:1),:);
imshow(B);

elseif F == 2;
% Reflect one sheet, but not the others
n = 10; % number of col vectors to reflect
k = floor(c*rand(1,n));
B = A;
%B(:,:,2)=zeros(r,c);
B(:,:,1)=uint8(double(A(:,:,1))*J);
imshow(B);
end
