11 Mar 2010 09:34 AM |
|
Hi, I'm a newbe of Envi.
I have to export a ROI complete dataset of Meris L2 images in Matlab.
I have create the ROI after georeferencing many images, I applayed the Roi to all images, and it works. I have the same ROI on all images.
Now I have to export the ROI data of each band (and mask) to a format Matlab-compatible.
Can someone help me? Thanks
|
|
|
|
MariM Veteran Member
Posts:2396  
11 Mar 2010 11:24 AM |
|
One option would be to export the ROI as an ASCII text file from the ROI dialog.
|
|
|
|
Deleted User New Member
Posts:  
12 Mar 2010 05:20 AM |
|
Another option would be subsetting the ROI and saving as a normal ENVI file. Then to use Multibandread function in Matlab to read the ENVI file.
Hope this helps.
|
|
|
|
Deleted User New Member
Posts:  
20 Mar 2010 07:22 AM |
|
Thanks, it works!
Export in Ascii format is very simple and with a copy&paste you get data in matlab.
Multibandread works too, but I need to know in advance the number of rows... and I don't know how!!!
|
|
|
|
Deleted User New Member
Posts:  
23 Mar 2010 05:14 AM |
|
You will find all the parameters in ENVI header files!
|
|
|
|