iPynb for extracting data from ROIs