Recognition of stimulus orientation