Added new function to find mean value in each ROI