collect data of segmented objects