Tree Classifier

Page 1 of 8

Decision Tree Classifier A decision tree is a multi stage classifier that is composed of a series of binary decisions that are used to predict the class for each pixel. Decision trees are similar to binary keys that you typically use in taxonomy. Download and unzip the file ENVI_decision_tree .exe winzipped file from the data folder: In this lab, you will classify an area of Minto Flats using rasters derived from a Landsat ETM+ July scene using the following decisions: Cold Temperature? Yes, Cloud Pixels No, Non Cloud Pixel High NDVI? Yes, Vegetated Pixels No, Non-vegetated pixels Low Band5? Yes, Water Pixels No, Non-water pixels

Then determine an appropriate temperature to separate cloud pixels from non-cloud pixels.Tree Classifier Page 2 of 8 You will first determine these threshold values and fill in the following table: Decision No Threshold Yes Value Cold Temperature? Cloud Non-Cloud High NDVI? Low Band5 Reflectance? Veg Water Non-Veg Soil/Rock First display the bands543 in RGB and link that display with a gray scaled display of your thermal band (degrees C).edu/~dverbyla/nrm641 . From the Basic Tools menu.salrm. Notice that the pixel size of the thermal band is larger than the reflective bands… So resample your thermal_C to match your reflective bands. select Resize Data Display your 30-meter Thermal raster (degrees C) and link that display with your RGB display.uaf. http://nrm.

uaf.salrm.Tree Classifier Page 3 of 8 Next display your NDVI raster as a grayscale and determine an appropriate threshold to separate vegetated versus non vegetated pixels. .

uaf. Finally. After you have decided on your appropriate thresholds. determine a band5 threshold to separate low NDVI pixels into water and non-water pixels.Tree Classifier Page 4 of 8 Try applying a density slice once you decide on a threshold NDVI value.salrm. you can build your Decision Tree model using these . You should have all the rasters you need for your decision tree in your Available Bands list: http://nrm. this case I use the variable b6 because Landsat ETM+ band 6 is the source band for the raster we will use. and you then can enter the expression for this decision: for example if we decided the cloud temperature threshold was 15 degrees C…. b3 GE .Tree Classifier Page 5 of 8 In building your decision tree. select Classification … Decision Tree …Build New Decision Tree Click on your first tree node. From the ENVI main menu bar. b2 LT ____.salrm. etc and map each b variable to the appropriate raster from your list above. Next assign the raster to your b6 variable… And rename the elements and color assignment after your decision to Cloud. you will enter expressions in the form of b1 GT ___. Non-Cloud http://nrm.

salrm.uaf.Tree Classifier Page 6 of 8 Next we want a question for all the non-cloud pixels. http://nrm. NonVegetated and add your NDVI question. So right mouse click on that element and add a child question…. Rename the elements as .

no-vegetated pixels.Tree Classifier Page 7 of 8 Finally. http://nrm.uaf. for the . Save your Decision Tree model… And then use your Decision Tree model to classify every pixel in the study area. add a question using the band5 reflectance to classify water versus nowater pixels.salrm.

and you might go back to modify the sequence of your questions or add more rules in refining your model.Tree Classifier Page 8 of 8 Compare your rgb image with your classification…. In this example. the classification was pretty good. The process is iterative. except the Tanana River was misclassified as cloud since turbid water was cold.salrm. .

Sign up to vote on this title
UsefulNot useful