X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 30 Oct 2007 10:59 AM by  anon
"0" Data to "No Data"?
 3 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
30 Oct 2007 10:59 AM
    How do you convert the perimeter of an image to "no data" rather then "0"??? Have tried applying a mast and changing "mask value" to "NaN" but the result is still "0". Thanks!

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    01 Nov 2007 10:43 AM
    ENVI doesn't really use the 'No data' concept but you can set your mask background to 'NaN' if your data is floating point. So, you might need to convert your data to float, then apply the mask where you can set the background value to NaN.

    Deleted User



    New Member


    Posts:
    New Member


    --
    06 Mar 2012 07:35 PM
    Hi, Are you suggesting there is another/better way to deal with 0 values around the edges of imagery? I am wondering how best to deal with it because they are influencing my classification. Do you have another recommendation, or is masking the best way? Seems like there should be a more automated way to deal with it, especially when working with multiple image tiles and having to create a new mask for each one. thanks

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    07 Mar 2012 07:21 AM
    Currently, the only way to exlude data from a process in ENVI is to use a mask. I believe there is work towards using a Data ignore value in some processes in the next version of ENVI.
    You are not authorized to post a reply.