Text this: Discretization of integrated moment invariants for writer identification