X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 16 Sep 2013 03:44 PM by  anon
Is it possible to save RTV_DOIT output to disk as an evf file?
 4 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
16 Sep 2013 03:44 PM
    Hi, I'm trying to figure out a way to run SVM programmatically and for that I need to generate ROIs from a raster image. First, I create 2D arrays of the same size as the image to be classified, which value 0 and 255, where value 255 indicates a training pixel. Then I use the RTV_DOIT procedure to vectorize these data. However, it only outputs the results to memory. How can I programmatically access generated vector files? In other words, can I save these files to disk or get their file ids somehow? Would you suggest a faster way to perform an SVM classification, without creating vector files? It would be great if the SVM routine was included in the CLASS_DOIT procedure! Thank you in advance, Ilia

    Deleted User



    New Member


    Posts:
    New Member


    --
    16 Sep 2013 04:01 PM
    I figured out how to save the evf files to disk -- I just need to set IN_MERORY = 0 !! Not so intuitive.. The second question is still standing: > Would you suggest a faster way to perform an SVM classification, without creating vector files?

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    17 Sep 2013 05:49 AM
    Why not create ROIs directly using ROI_THRESH_DOIT? I assume your RTV_DOIT is using a range of data which could be used directly to make ROIs.

    Deleted User



    New Member


    Posts:
    New Member


    --
    17 Sep 2013 01:22 PM
    o_O How could I have overlooked this procedure?? I could have saved myself so my time!! Thank you very much! IDL is the best!!

    Deleted User



    New Member


    Posts:
    New Member


    --
    18 Sep 2013 10:04 AM
    I am assuming that ENVI_SVM_DOIT is somewhere in the program.
    You are not authorized to post a reply.