Segmentation of Laparoscopic Images: Integrating Graph-Based Segmentation and Multistage Region Merging