X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 19 Feb 2009 08:32 AM by  anon
ENVI_GET_???
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
19 Feb 2009 08:32 AM
    hi all,   is it possible to read pixel values column by column...like ENVI_GET_SLICE. if i understand the command description correct, ENVI_GET_SLICE only reads data line by line and no columns is there a comparable command for this? thanks in advance,christine

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    23 Feb 2009 08:44 AM
    There is no equivalent to ENVI_GET_SLICE for columns but you should only need to rearrange the data request a little to get a column.  For example, if you use ENVI_GET_DATA, you could set the DIMS to get a single sample but all lines, which would return a column.  If you use ENVI_GET_SLICE, you could use the XE and XS keywords to specify a specific column.  For example, xe=2, xs=2 would only get data from the 3rd element of each line thus returning the 3rd column.
    You are not authorized to post a reply.