A Rate-Distortion-Based Merging Algorithm for Compressed Image Segmentation. (15th October 2012)