X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 12 Jan 2015 02:51 AM by  anon
problem in Roi thresholf and false color
 3 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
12 Jan 2015 02:51 AM
    hello! in hyperspectral image i Create ROIs from Band Thresholds (choosing a band of0.854) but when i tried to see the statistics of the roi that created there isan error message: "Array dimensions must be greater than 0". So as i cannot do anything elsewith that ROI Secondly, how can i shee a false color image in envi 5.2 because through data manager creating multiple files is not supported.

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    12 Jan 2015 10:01 AM
    In the ROI tool in ENVI (are you using 5.2?), there is an 'Area' tab. If you open this, you should see how many pixels are in your ROI. Do you see that there are selected pixels in your threshold? If there were no selected pixels in your threshold, you could get an error like this. If you are trying to generate an RGB display using bands from separate files, you will first need to Layer Stack them into a single file. This will ensure that the images have the same dimensions and pixel size so that the display will be correct.

    Deleted User



    New Member


    Posts:
    New Member


    --
    13 Jan 2015 12:07 AM
    thank you very much for your answer. Yes, i use envi 5.2 and you have right about the 0 pixels in the threshold, why that's happening and what can i do ? My purpose is to built a mask for the sea and then apply that to the main image. thanks in advance

    Deleted User



    Basic Member


    Posts:228
    Basic Member


    --
    22 Jan 2015 12:47 PM
    You are going to want to explore your data and find out what a more reasonable threshold pixel value would be, that would include all pixels of the sea, but not much of anything else. You might want to try the Cursor Value tool, which allows you to move the cursor around in the image, and see the pixel value of the current pixel under the cursor. That might give you a better sense for what a good thershold value might be. Peg Exelis VIS
    You are not authorized to post a reply.