function [ outline ] = decompLine2( inline, c )

    s=sum(inline~=0);
    tab=zeros(1,c);
    for i=1:c
        tab(1,i)=round((s*i)/c);
    end
    outline=zeros(1, 100);
    cpt=1;
    j=1;
    for i=1:100
        if inline(1,i)~=0;
            if cpt>tab(1, j)
                j=j+1;
            end
            cpt=cpt+1;
            outline(1,i)=j;
        end
    end

end