Object recognition by quasi-invariant filters