function [C] = histro(img)

C = zeros(1,256);
K = 0;

[m,n] = size(img);

for i = 1:m
    for j= 1:n
        C(img(i,j)+1) = C(img(i,j)+1)+1;
        K = K+1;
    end
end

    plot(C);
    title('Gray Image Histrogram');
end