collect data from segmented objects