Compute topological signatures of registers.