function [rotated, vflipped, hflipped]  = exc2( orig_img_path, targ_img_path)
I = imread(orig_img_path);
ROT = imrotate(I,45);
HOR = fliplr(I);
VER = flipud(I);
if exist(targ_img_path,'dir') == 7
    [path, name, ext] = fileparts(orig_img_path);
    imwrite(ROT, strcat(targ_img_path, name,' rot45', ext));
    imwrite(HOR, strcat(targ_img_path, name,' fliplr', ext));
    imwrite(VER, strcat(targ_img_path, name,' flipud', ext));
end

rotated = ROT;
vflipped = VER;
hflipped = HOR;

end
