A group of Vanderbilt University researchers have developed a solution that will correct for the mis-registration of image data in image-guided surgery. The solution uses software to correct for any mis-registration that is caused by the presence of intraoperative deformations. This invention helps to improve the performance and capabilities of image-guided surgery.