function [ coloredImage ] = readpgm( fileName )
% Hassan Nahas
%This function reads pgm datafiles.
    imdata = imread(fileName);
    coloredImage = cat(3, imdata, imdata, imdata);
     %coloredImage=imread(fileName);
end

