X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 01 Jul 2015 07:09 AM by  anon
Analyse pixel of a ROI
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
01 Jul 2015 07:09 AM
    Could somebody tell me how to collect the active pixels of a ROI?

    Deleted User



    New Member


    Posts:81
    New Member


    --
    01 Jul 2015 05:47 PM
    Perhaps chapter 6 of the following document can help: http://www.exelisvis.com/docs/pdf/ima... Note that this document hasn't been updated since 2010. However, the concepts and approaches discussed are still valid. Note also the example code provided on page 100 of the document has some errors and should actually appear as follows: ; Select the file, read the data and load the image’s color table. imgFile = FILEPATH('earth.jpg', $ SUBDIRECTORY = ['examples', 'demo', 'demodata']) image = READ_IMAGE(imgFile, /ORDER) ; Display the image using XROI. Specify a variable for REGIONS_OUT ; to save the ROI information. XROI, image, REGIONS_OUT = oROIAfrica, /BLOCK I hope this will help.
    You are not authorized to post a reply.