Functional characterization of mismatch negativity to a visual stimulus