Text this: A novel approach to tumor quantification and graphical model for image guided surgery