added check for dilation==TRUE to ROIv outputs