X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 02 Feb 2017 07:38 AM by  anon
Thematic Change workflow into ENVI API
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
02 Feb 2017 07:38 AM
    Hi all, i am trying to built an ENVI API workflow to reproduce the Thematic Change workflow available in the ENVI's Change Detection toolbox. Using the Thematic Change toolbox i can set a kernel filter and an Aggregation parameter (how well explained in the tutorial at this link http://www.harrisgeospati...hangeTutorial.html). I can also save a statistics.txt file, an image file and a vector file. I am trying to reproduce the same workflow using ENVI API functions and methods, like the EnviThematicChangeTask (http://www.harrisgeospati...ticChangeTask.html). In the example linked before, i do not see any properties or input parameter setting the kernel filter and the aggregation, and do not see any possibility to save the stat.txt, the image and the vector. Concerning the vector, i can produce it in two step: 1) using the ENVIThematicChangeTask to produce a ThematicChange classification layer and 2) saving it like a vector file .evf and finally 3) converting the evf into ESRI Shape format. Hoever, how can i set the kernel and aggregation parameters and the statistics and image output files? There is an example that explains how to achieve a ENVI API processing chain formally equal to the ENVI Thematic Change toolbox? Thank you.

    Deleted User



    New Member


    Posts:
    New Member


    --
    02 Feb 2017 10:38 AM
    I solved with the following workflow: Perform ThematicChangeTask Perform ClassificationSmoothingTask Perform ClassificationAggregationTask Which is the correct sequence between 1,2,3 and 1,3,2, or is it the same?

    Deleted User



    New Member


    Posts:59
    New Member


    --
    07 Feb 2017 10:36 AM
    Hello, The sequence you suggested will work fine (smoothing, followed by aggregation). Also, consider using ENVIClassificationToShapefileTask to create the shapefile instead of saving the results to EVF, then to shapefile. Please see http://www.harrisgeospati...ToShapefileTask.html for an example. -Jason
    You are not authorized to post a reply.