function [ outline ] = decompLine( inline, l, c )

[u,v,w]=size(inline);
s=sum(inline~=0);
tab=zeros(1,c);
for i=1:c
tab(1,i)=round((s*i)/c);
end
outline=zeros(1, v);
cpt=1;
j=1;
for i=1:v
if inline(1,i)~=0;
if cpt>tab(1, j)
j=j+1;
end
cpt=cpt+1;
outline(1,i)=j+((l-1)*c);
end
end

end