Degeneracy indices and chern classes