X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 17 Jan 2020 12:30 PM by  MariM
Matrix from pixels of hyperspectral images
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

Wladimir Acevedo



New Member


Posts:
New Member


--
17 Jan 2020 09:59 AM
    Hi community,

    I need to know if there's an automatized method or code for creating a matrix with the information about the reflectance intensity per hyperspectral image band for a determined block of pixels using ENVI 5.3.

    I visualize a first column with the pixel spatial information (lat,lon) followed by a column with the reflectance signal from the first band until the last column with the reflectance of the last band of the image.

    Any ideas will be very helpful.

    Thanks,

    Wladimir


    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    17 Jan 2020 12:30 PM
    Could you use something like the ROI tool to select an area of interest. Then use File->Export->Export to csv. The resulting file has the format of (example using 4 band image):

    ; File X File Y Map X Map Y Lat Lon B1 B2 B3 B4
    ;
    787 423 482459.6 4427799.6 40.00019968 -105.2054886 199 270 121 75
    788 423 482462.4 4427799.6 40.00019974 -105.2054558 202 277 119 76
    789 423 482465.2 4427799.6 40.0001998 -105.205423 200 271 115 73
    You are not authorized to post a reply.