add an sample to compute image_roi