A method for alleviating centralized pain in human subjects includes assessing the brain of a subject suffering from pain, diagnosing abnormal brain function associated with centralized pain, locating at least one area of abnormal brain function associated with the centralized pain, and alleviating the abnormal brain function by applying a cortical stimulation signal to tissues corresponding to the at least one area of abnormal brain function.