complete setROI and releaseROI api. closes #4