Towards Real-Time MPEG-4 Segmentation: A Fast Implementation of Region-Merging