There is no ENVI routine to perform Reconcile ROIs via Map but you could use other routines in ENVI to do the same thing. You would need to open the ROI on the first image, then use ENVI_GET_ROI to get all the ROI addresses from the first image. Then use ENVI_CONVERT_FILE_COORDINATES to convert the pixel addresses to map coordinates. Once you have the map coordinates of the ROIs, then you can work on the second image by again using ENVI_CONVERT_FILE_COORDINATES on the second image with the map coordinates to convert them to pixel coordinates. Once you have the pixel coordinates of the ROI on the new image, you can generate a new ROI using ENVI_CREATE_ROI, ENVI_DEFINE_ROI and ENVI_SAVE_ROIS.
|