updated assembleRegion() in region_growing_rgb.h to speed up empty segment deletion