X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 16 Nov 2017 12:32 PM by  Ludovic Legros
Spectral Library Resampling issues
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages

Ludovic Legros



New Member


Posts:29
New Member


--
15 Nov 2017 12:26 PM
    Hi,

    I have a WorldView-3 image and I want to resample the USGS library to correspond to my image. Firstly, I don't have the choice "WorldView-3" in the "Pre Defined Filter Fuction" field of the Spectral Resampling Parameters. So I use the User Defined Filter Fuction and then, I select the WorldView-3.sli file from the folder "...ENVI\ENVI52\resource\filterfuncs".

    But when I try to run the Spectral Angle Mapper tool, I got this error message: "Problem: The input spectrum does not contain the same number of bands as the target and no resampling can be done without wavelength".

    Where did I do a mistake ?

    Thank you,

    Ludovic

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    15 Nov 2017 02:20 PM
    The WV-3 filter function was added to Spectral Library resampling in ENVI 5.4 but using the 'user-defined' option should also work.
    How are you opening the WV-3 data? Are you using the .TIL? In the Data Manager, does it show wavelengths associated with the WV-3 data? It should if you are able to open the data using the .TIL. If you are opening the TIFF and no wavelengths are assigned to the bands, you will need to assign them by going to View Metadata->Edit Metadata and add in the wavelengths.

    Ludovic Legros



    New Member


    Posts:29
    New Member


    --
    16 Nov 2017 12:32 PM
    Thanks for the answer.

    I finally added the wavelengths manually in the header. And it worked.

    You are not authorized to post a reply.