By looking at their brain activity through MRI scans, researchers found that pain was amplified when the subjects were looking at unpleasant pictures and lessened by the pleasant images.
The findings are published in the proceedings of The National Academy of Sciences.