X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 27 Aug 2010 07:34 AM by  anon
Change pixel DN in image to unique values
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
27 Aug 2010 07:34 AM
    I have an image where each DN is 0. I want to change the DN values to unique numbers that increase by a unit of 1 according to the pixel location in the array. For example if I have an image where there are 2 rows, 2 colums, I want to go from 0000 1234 0000 to 5678. Only this image is much larger. Is there an easy way to do this in ENVI or IDL (before I write the code myself)? Thanks.

    Deleted User



    New Member


    Posts:
    New Member


    --
    27 Aug 2010 09:04 AM
    Ah ha! lindgen(). :)
    You are not authorized to post a reply.