set of functions for ROI creation/analysis