You are on page 1of 2

More Digital Image Processing with ENVI

ENVI tutorials will be a valuable resource to help you determine which image
processing technique is best for your applications. ENVI tutorials are available
from the ITTVIS website: http://www.ittvis.com. On the top menu go to training >
tutorials. Then select the ENVI tutorials, and download the PDF on classification.


Open ENVI

Load data: Open your subset data stack
(1) Main Menu File >Open Image File >open your subset Corpus L7 data stack
(2) Load an RGB image of your choice from your data stack

Perform Unsupervised Classification
(1) In Main Menu Window, select Classification > Unsupervised > ISODATA
(2) Select your Corpus data stack, click okay
(3) In the ISODATA Window, change iterations to 3, and min # classes to 15, max # of
classes to 20 **Note when you an unsupervised classification, its better to start out with
lots of classes, and then you can combine these as needed later**
(4) Enter output file name, click okay
(5) Display ISODATA classification in Display #2
(6) Link classification with an RGB band comparison and compare

Post Classification
From ENVI tutorial: Clump and Sieve are used to generalize classification images. Sieve is
usually run first to remove the isolated pixels based on a size (number of pixels) threshold, then
clump is run to add spatial coherency to existing classes by combining adjacent similar classified
areas.

(1) In Main Menu Window, select Classification > Post Classification > Sieve classes
(2) In the Sieve Parameters Window, select your Corpus subset data stack, leave the
parameters as listed, enter a new filename and select okay
(3) The new sieved image appears in the Available Bands List
(4) Open the new classification in a new Display Window.
(5) Link to your original classification. Compare visually.
(6) In the Main Menu Window, select Classification > Post Classification > Clump
classes
(7) In Classification Input File Window, select your new sieved Corpus subset data
stack, leave parameters as listed, enter a new filename, click okay
(8) The new sieved image appears in the Available Bands List
(9) Open the new classification in a new Display Window.
(10) Visit ENVI help, search for Post Classification to find out more
a. Main Menu Window, select Help >Start ENVI Help
b. Search for Post Classification, Sieve, etc.
(11) Load new clumped classification image, compare to the first sieved classification image


Name Categories
(1) In the Display Window, select Tools > Color Mapping > Class Color Mapping
(2) In the Class Color Mapping Window, click on the categories under Selected
Class, compare the color of that class to the actual ground imagery
(3) In the Display Window, select Tools > Cursor Location Value *this will help you tell
which color class is which
(4) Based on your visual observation, under Class name: rename the class (water, urban,
agriculture, null, etc) and change the color to be a color you associate with that land cover
(5) After you name all of the classes, if any of the classes are the same (with 20 classes you
should have many of thse), go to Main Menu Window > Classification > Post
Classification > Combine Classes
(6) Select your classification image, select okay
(7) Select your input class (e.g. water1) and your output class (e.g. water2), select Add
combination
(8) In Combine Classes Output Window, under Remote Empty Classes, select
Yes
(9) Name your new file, select okay, load your new classification file

Transform classification to a vector file
(1) In the Main Menu Window, select Classification > Post Classification > Classification
to Vector
(2) In the Raster to Vector Window, select your new land cover classification, click
okay
(3) Select classes to vectorize (I left out Unknown and Null)
(4) Under Enter Output Filename choose a file name, select okay
(5) Overlay your new .evf file over the Corpus subset image

Save ENVI vector file to shapefile
(1) In Vector Parameter Window, select File > Export Active Layer to Shapefile
(2) Name your shapefile, select okay
(3) Open this shapefile in ArcGIS and investigate


Where to get Landat Data
USGS Glovis: http://glovis.usgs.gov/
UMCP Global Land Cover Facility (GLCF): http://glcf.umiacs.umd.edu/index
LEDAPS: http://ledaps.nascom.nasa.gov/ledaps/ledaps_NorthAmerica.html

You might also like