The relevance of invariance to transforms in object recognition