X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 28 Feb 2007 01:34 PM by  anon
selection of pixel values when roi is defined by a vector that cuts partial pixels
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
28 Feb 2007 01:34 PM
    I can't find any information on how pixels are selected as being a part of an ROI if the ROI was created using a vector layer which contains partial pixels. I'm trying to export my roi to ascii and am cross checking to see which pixels are actually exported. I thought it might be if the ROI just touches a pixel it would be included, but that doesn't seem to be the case. Then i thought it was the centroid of the pixel, but that isn't it either. what is the selection criteria? and is there an ability to change it? for example if i wanted to include all pixels that the ROI touches, no matter how much of the pixel it covers. I'm working on ENVI 4.0 on windows thanks Dillon

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    28 Feb 2007 01:34 PM
    Hi DIllon, ENVI's ROI pixel selection is based on IDL's polyfillv routine. There is a tech tip which discusses how pixels are selected using this routine here: http://www.ittvis.com/ser...echtip.asp?ttid=3539
    You are not authorized to post a reply.