  We give an algorithm allowing to construct bases of local unitary invariants
of pure k-qubit states from the knowledge of polynomial covariants of the group
of invertible local filtering operations. The simplest invariants obtained in
this way are explicited and compared to various known entanglement measures.
Complete sets of generators are obtained for up to four qubits, and the
structure of the invariant algebras is discussed in detail.
