Added a few functions that perform ROI on input image to get the data

Added a few functions that perform ROI on input image to get the data.
Things that need to be done in ROI is to apply poly2mask to get areas of
interest. Or coordinates of those areas of interest.