finalized the segmentation procedure to only store the region/object of interest from each recording