Differential effects of stimulus context in sensory processing