finding regions of interest