Effects of spatial configuration on contrast detection