ENVI ROI File Reader
This script reads ROI files from ENVI by Exelis (Formerly ITT) DataVis into Matlab. It outputs a Struct to your Matlab session containing the ROIs by name and associated information according the the ROI file header. For each ROI, the struct includes the ROI name, color, number of points, and the ROI point matrix. The script assumes the ROI file is in ASCII and follows a strict formatting. Please comment as you see fit as this is the first submission and I expect there will need to be updates. This script was written using Matlab version 7.8.0.347 (R2009a)
Cite As
Jared (2024). ENVI ROI File Reader (https://www.mathworks.com/matlabcentral/fileexchange/27492-envi-roi-file-reader), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Mathematics and Optimization > Mapping Toolbox > Data Import and Export >
- Radar > Mapping Toolbox > Data Import and Export >
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > Other Formats >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.2.0.0 | Added capability to account for extra lines included in ROI files when saved using a Windows Operating system. |
||
1.1.0.0 | Updated code to handle ROI files from geo-tagged imagery (Lat and Long of ROI points). Also updated the readability fo the code. |
||
1.0.0.0 |