X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 05 Jun 2018 10:30 AM by  MariM
MNF and Hyperion
 5 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
23 Dec 2010 10:11 AM
    Greetings, I am trying to perform a Forward MNF Rotation using noise statstics from a Hyperion scene, and am consistently receiving the same error regardless of how many bands or spatial extent that I have run through the MNF. When I run the MNF, I receive the following error: "The numer of pixels in the shift difference spatial subset should be greater than the number of input bands. Please enlarge the spatial subset for noise statistics." I have tried this in both ENVI 4.7 SP2 and 4.8 with the same results. Any ideas as to what I am doing wrong here?

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    27 Dec 2010 09:10 AM
    I believe you can get this error if you have bad bands in your dataset and they have not been specified as bad in the ENVI header. Look at your image stats to see if you have bands that are empty (min/max of 0) or bands that might be dupicates of other bands (with identical min/max/std). Then set up the bad bands in the ENVI header and see if you can get a result from MNF.

    Deleted User



    New Member


    Posts:
    New Member


    --
    31 Dec 2010 12:51 PM
    That was it- thanks for your help!

    Vicente Jeria



    New Member


    Posts:9
    New Member


    --
    05 Jun 2018 09:29 AM
    Hi Guy and Mari, could you help me please?. I have the same problem and I want to know, what is the modification that I have to do in the header file. Please, I am new in this and I am learning throught internet.

    Many thanks!

    Vicente Jeria



    New Member


    Posts:9
    New Member


    --
    05 Jun 2018 09:36 AM
    Hello Guy, could you please tell me what is the modification that you made?

    Many thanks.

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    05 Jun 2018 10:30 AM
    What version of ENVI are you using? In the latest versions, you will go to View Metadata->Edit Metadata. Here you will need to set the bad bands to 'bad' in the dialog. This requires you first determine which bands are bad by looking at the image spectra, statistics, etc. For example, if you see two bands that have the same mean and standard deviation, then it is likely it is a duplicate band. Or more commonly, if one of the bands is all 0 due to a bad sensor which is common in many hyperspectral sensors in the blue bands. You may need to set these bands to 'bad' in the header. Once you set the bad bands in the header, save it and try the process again.
    You are not authorized to post a reply.