comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » RTV_DOIT to EVF
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
RTV_DOIT to EVF [message #85838] Thu, 12 September 2013 15:24 Go to previous message
ilya85parshakov is currently offline  ilya85parshakov
Messages: 2
Registered: September 2013
Junior Member
I'm trying to automatically create training areas for the SVM classifier in ENVI.
I have a raster image that shows where training areas should be - something like a mask.

Then I use ENVI_DOIT to create a vector file from this file:
ENVI_DOIT, 'RTV_DOIT', DIMS=dims, FID=fid, /IN_MEMORY, OUT_NAME=out_name, L_NAME=l_name, POS=0, VALUES=0

This gives me a vector file that is not in the EVF format, so I cannot open it in IDL. And it doesn't generate a file ID for the created file (no r_fid functionality).

My next step would be to use envi_evf_define_init and envi_evf_define_add_record to add the vector data. After that I need to convert the evf file into ROIs somehow....

Question 1: How do you read whatever ENVI_DOIT produces?

Question 2: Is there an easier way to do SVM classification, maybe without generating vector files?
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Problem running functions
Next Topic: chisq value

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:28:17 PDT 2025

Total time taken to generate the page: 0.00459 seconds