Pattern recognition with moment invariants: A comparative study and new results