function I=aminci(I, f90, f45)
    am=amincissement(I, f90, f45);
    cpt=1;
    old=I-am;
    while(old~=0)
    %while(cpt>15)
        I=soustraction(I,am);
        am=amincissement(I, f90, f45);
        cpt=cpt+1;
        old=old-am;
        disp(cpt);
    end
end