One aspect of the present disclosure relates a method for determining effective stimulation parameters to apply to a patient in order to improve the patient's medical condition. The method can employ functional and/or structural imaging to determine the effective stimulation parameters. As such, the method includes programming a stimulation device with an initial stimulation parameter. An image can be received of at least a portion of the patient that is affected by a stimulation by the stimulation device. Based on the image, the efficacy of the stimulation with the at least one initial stimulation parameter can be assessed. The at least one initial stimulation parameter can be updated based on the assessed efficacy.