CCLabeler: added connectivity option (8 or 4-connected)