Hi all,
I need to convert a classification output to a vector file using envi api.
First of all, I am studying the workflow using ENVI:
Select the ClassificationToVector post classification tool
Choose the class layer and the class value to convert into shapefile
Save as myshape.evf
Select the Classic EVF to Shapefile tool
Choose as input tje myshape.evf and save as myshape.shp
The shapefile, created with the workflows above, has the following properties:
n polygons, one for each cluster defined by the classification raster
these fields: Class_Name, Class_Id, Parts, Length, Area
Well, the fields are exactly what i am looking for, but I need only one polygon (with total area inside the Area field).
Any suggestion, also about the respective ENVI API functions?
I am thinking about the ENVI "ClassificationToShapefile" Task.
|