Invariants for Pattern Recognition and C door Marcos A. Rodrigues