{"id":3556,"date":"2026-11-23T23:46:40","date_gmt":"2026-11-23T23:46:40","guid":{"rendered":"https:\/\/commons.mtholyoke.edu\/emarcano\/?page_id=3556"},"modified":"2026-11-30T22:10:16","modified_gmt":"2026-11-30T22:10:16","slug":"ex10-supervised-part2","status":"publish","type":"page","link":"https:\/\/commons.mtholyoke.edu\/emarcano\/mhcgis\/geog323\/ex10-supervised-part2\/","title":{"rendered":"Exercise 10 &#8211; Supervised Classification &#8211; part 2"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Preliminary<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In this and upcoming exercises we\u2019ll be following the instructions provided in <a href=\"https:\/\/pressbooks.lib.vt.edu\/remotesensing\/\" target=\"_blank\" rel=\"noopener\">Remote Sensing with ArcGIS Pro (second edition) by Tammy Parece and John McGee<\/a> starting at chapter 11.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Notice that this book is distributed under the license <a href=\"https:\/\/creativecommons.org\/licenses\/by-sa\/4.0\/deed.en\">Creative Commons Attribution NonCommercial ShareAlike<\/a>. These notes have some changes to the original text and format to make it more compatible with our format. It is presented here under the same CC license.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"403\" height=\"64\" src=\"https:\/\/commons.mtholyoke.edu\/emarcano\/wp-content\/uploads\/sites\/965\/2026\/10\/Screenshot-2026-10-24-at-11.38.26-AM.png\" alt=\"Creative commons license\" class=\"wp-image-2854\" style=\"aspect-ratio:6.296875;object-fit:cover;width:260px;height:auto\" srcset=\"https:\/\/commons.mtholyoke.edu\/emarcano\/wp-content\/uploads\/sites\/965\/2026\/10\/Screenshot-2026-10-24-at-11.38.26-AM.png 403w, https:\/\/commons.mtholyoke.edu\/emarcano\/wp-content\/uploads\/sites\/965\/2026\/10\/Screenshot-2026-10-24-at-11.38.26-AM-300x48.png 300w\" sizes=\"auto, (max-width: 403px) 100vw, 403px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">The instructions have been simplified, and adapted, and lots of graphics have been removed to streamline the document. You should be able to follow the sequence of steps without the extra text\/figures. You are welcome to follow the instructions from the book, instead, but I would discourage you to do so. If at some moment you\u2019re not sure about a particular instruction here, you\u2019re still welcome to consult the book.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-default\" \/>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/commons.mtholyoke.edu\/emarcano\/geog323\">Return to Geog 323 page<\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 id=\"part1\" class=\"wp-block-heading\">Part 2 &#8211; <strong>Evaluating Training Samples in Supervised Classification<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">This part is based on Chapter 23 from <a href=\"https:\/\/pressbooks.lib.vt.edu\/remotesensing\/\" target=\"_blank\" rel=\"noopener\">Parece &amp; McGee<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Introduction<\/h3>\n\n\n\n<p class=\"has-background wp-block-paragraph\" style=\"background-color:#8ed1fc\"><strong>NOTE<\/strong>: You must have completed all the steps in Part 1 before trying to complete these tasks.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the previous <a href=\"https:\/\/commons.mtholyoke.edu\/emarcano\/mhcgis\/geog323\/ex9-change-detection\/\" target=\"_blank\" rel=\"noopener\">exercise 9<\/a> and in Exercise 10 <a href=\"#part1\">part 1<\/a>, we introduced various classification methods available within ArcGIS and provided step-by-step instructions on creating training samples for each informational class.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once training samples are created, the effectiveness of the training samples must be evaluated. This evaluation occurs for many reasons. Spectral values for each class should:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Be independent of each other, with no overlap<\/li>\n\n\n\n<li>Represent the full range of spectral values for a specific informational class<\/li>\n\n\n\n<li>Not be over-trained\u2014too many similar training samples will replicate information rather than depict variability within the class<\/li>\n\n\n\n<li>Represent a normal distribution of values, as best as may be feasible<\/li>\n\n\n\n<li>Not have pixels selected at the edges of land cover boundaries\/tracts\u2014to reduce the likelihood of mixed pixels, which can occur with mixed land uses<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Objective<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The objective of this chapter is to use spectral signatures, histograms, scatter plots, and statistics to evaluate normality, separability, and partitioning of training data.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This chapter uses the 6-band composite Landsat 9 image of Roanoke, Virginia, subset to the extent of the map viewer created in <a href=\"https:\/\/commons.mtholyoke.edu\/emarcano\/mhcgis\/geog323\/ex7-manipulatingbands\/#part2\" target=\"_blank\" rel=\"noopener\">Ex 7 Part 2<\/a> \u2013 Task 3 (Chapter 15) and the training sample shapefile created in Chapter 22 (Exercise 10 <a href=\"#part1\">part 1<\/a>). We will also create an additional training sample shapefile and additional subset images for each training sample informational class. We will be using the same informational classes as in previous chapters:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\" style=\"border-width:1px\"><tbody><tr><td>Class Number<\/td><td class=\"has-text-align-center\" data-align=\"center\">Information Class<\/td><td class=\"has-text-align-center\" data-align=\"center\">Color designation<\/td><\/tr><tr><td>1<\/td><td>Urban\/built-up\/transportation<\/td><td>Red<\/td><\/tr><tr><td>2<\/td><td>Mixed agriculture<\/td><td>Yellow<\/td><\/tr><tr><td>3<\/td><td>Forest &amp; Wetland<\/td><td>Green<\/td><\/tr><tr><td>4<\/td><td>Open water<\/td><td>Blue<\/td><\/tr><tr><td>5<\/td><td>Clouds<\/td><td>White<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h3 class=\"wp-block-heading\">Task 0 &#8211; Preliminary tasks<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">You will need to complete several preparation steps before getting started. These steps are discussed below.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1- We recommend that you begin with the project from previous part, Chapter 22, and save the project with a new name (or just continue where you left off).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2- <strong>IMPORTANT<\/strong>: Ensure you have <strong>unchecked <\/strong><em>Display background data.<\/em> This can be done in the menu tab Options &gt; Project tab &gt; Raster and Imagery &gt; appearance, <strong>AND <\/strong>under <em>Symbology &gt; Mask<\/em>. Be sure that <strong>both areas are unchecked<\/strong>. Leaving these checked affects scatter plots and histograms if your image contains NoData areas.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h3 class=\"wp-block-heading\">Task 1 &#8211; Evaluating Training Samples<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">You will need to load your training sample shapefile and schema. Keep in mind that evaluating training samples is a long process. If you need to close your map project and continue it later, you may need to reload your training sample shapefile and the schema into the <em>Image Classification Training Samples Manager<\/em> (the dialog box on the right in Figure 23.24). Follow the steps in the next section to load the schema (for the first time) or reload it later.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Loading the Schema<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">3- Open <em>Classification Tools<\/em> (from the <em>Imagery<\/em> tab on the ribbon) and select <em>Training Samples Manager<\/em>. <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignright size-full is-resized\"><a href=\"https:\/\/commons.mtholyoke.edu\/emarcano\/wp-content\/uploads\/sites\/965\/2026\/11\/Figure23_3.png\"><img loading=\"lazy\" decoding=\"async\" width=\"387\" height=\"246\" src=\"https:\/\/commons.mtholyoke.edu\/emarcano\/wp-content\/uploads\/sites\/965\/2026\/11\/Figure23_3.png\" alt=\"\" class=\"wp-image-3571\" style=\"width:244px;height:auto\" srcset=\"https:\/\/commons.mtholyoke.edu\/emarcano\/wp-content\/uploads\/sites\/965\/2026\/11\/Figure23_3.png 387w, https:\/\/commons.mtholyoke.edu\/emarcano\/wp-content\/uploads\/sites\/965\/2026\/11\/Figure23_3-300x191.png 300w\" sizes=\"auto, (max-width: 387px) 100vw, 387px\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 23.3<\/figcaption><\/figure>\n<\/div>\n\n\n<ol style=\"list-style-type:lower-alpha\" class=\"wp-block-list\">\n<li>If your schema from the last chapter is not showing in the top half of the Training Samples Manager, you must load the <em>Chapter 22 schema<\/em> <em>(.ecs<\/em> <em>file<\/em>; Part 1 <a href=\"#task2\">task 2<\/a> #6) <\/li>\n\n\n\n<li>Use the <em>Classification Schema<\/em> folder at the top of the <em>Image Classification:<\/em> <em>Training Samples Manager<\/em> (Figure 23.3) to locate your saved schema, an <em>.ecs <\/em>file (see part 1 <a href=\"#task2\">task 2 <\/a>#6, when you saved your classes <em>myclasses.ecs<\/em>, you might have chosen a different name).<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Evaluating training samples is a long process. When you close your map project and continue it later, you may need to reload your schema and training sample shapefile into the <em>Image Classification:<\/em> <em>Training Samples Manager<\/em>.<\/p>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h3 class=\"wp-block-heading\">Loading Training Samples<\/h3>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignright is-resized\"><a href=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image7-9.jpeg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image7-9.jpeg\" alt=\"Screenshot of map display showing the symbolization of samples.\" style=\"aspect-ratio:2.2;width:325px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 23.7 Map display showing the symbolization of samples<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">4- Use the <em>Load Training Samples<\/em> folder in the lower half of the pane to load the training samples shapefile (<em>training_samples<\/em>) (Part 1 <a href=\"#task3\">task 3<\/a> #8). Your <em>Image Classification Training Samples Manager<\/em> should have the schema and training samples loaded, as shown in Figure 23. 7.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Again, saving your project and the training samples shapefile frequently is essential.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">5- Next, add the training samples shapefile (<em>training_samples<\/em>) created to the current project in the CP as a map layer. The samples may appear in the map viewer (from the <em>Training Samples Manager<\/em>), but the actual shapefile is needed also in <em>CP<\/em>. Adjust the symbology to match the informational classes of the schema (Figure 23.7). <\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h3 class=\"wp-block-heading\">Task 2 &#8211; Evaluating training samples<\/h3>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignright is-resized\"><a href=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image8-27.jpeg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image8-27.jpeg\" alt=\"Screenshot of the Create Chart tool.\" style=\"aspect-ratio:0.9648711943793911;width:259px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 23.8 The Create Chart tool<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">6- To begin evaluating the training samples, <strong>select the composite image<\/strong> in <em>Contents Pane.<\/em> <\/p>\n\n\n\n<ol style=\"list-style-type:lower-alpha\" class=\"wp-block-list\">\n<li>Then go to the <em>Data<\/em> tab on the ribbon <\/li>\n\n\n\n<li>Select the <em>Create Chart<\/em> drop-down. We see three options\u2014<em>Histogram<\/em>, <em>Scatter Plot,<\/em> and <em>Spectral Profile<\/em> (Figure 23.8)<\/li>\n\n\n\n<li>Select <strong>Spectral Profile<\/strong>.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Spectral Profile graphs the spectral values of the pixels captured in the training samples (on the y-axis) for each band (on the x-axis). Graphing the spectral values provides information on whether multiple training samples for a specific informational class cover the same spectral values or a range of spectral values. If more than one training sample covers the same spectral values, we can eliminate one by deleting it or merging it with another training sample. We will evaluate each informational class separately.<\/p>\n\n\n\n<div style=\"height:2px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">7- The <em>Chart Properties<\/em> pane opens with a spectral profile chart tab at the bottom of the map viewer. A new <em>Charts<\/em> category appears in CP.<\/p>\n\n\n\n<p class=\"has-background wp-block-paragraph\" style=\"background-color:#8ed1fc\"><strong>NOTE<\/strong>: Please pay close attention to the following instructions and the figures below, as you will need to go back and forth between the &#8220;<em>Image Classification:<\/em> <em>Training Samples Manager<\/em>&#8221; pane and the &#8220;<em>Chart Properties<\/em>&#8221; pane (both should be opened on the right side). It will become apparent why the training sample shapefile must be in <em>CP<\/em>. We recommend that both panes be pinned to be visible and easily accessible.<\/p>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignright is-resized\"><a href=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image11-20.jpg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image11-20.jpg\" alt=\"Screenshot of a list of training samples.\" style=\"aspect-ratio:0.7739402052655064;width:251px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 23.11 A list of training samples in the Training Samples Manager <\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">8- We will start by evaluating the <em>Urban<\/em> informational class. In the previous chapter, we created ~10 training samples for the urban class\u2014your number of samples may differ (Figure 23.11).<\/p>\n\n\n\n<div style=\"height:4px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignright is-resized\"><a href=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image12-23.jpeg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image12-23.jpeg\" alt=\"Screenshot of the chart properties dialog box and the feature selector option.\" style=\"aspect-ratio:1.1979522184300342;width:237px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 23.12 The chart properties dialog box and the feature selector option<\/figcaption><\/figure>\n<\/div>\n\n\n<ol style=\"list-style-type:lower-alpha\" class=\"wp-block-list\">\n<li>In <em><strong>Chart Properties<\/strong><\/em>, choose <em>Feature Selector<\/em> (Figure 23.12)<\/li>\n\n\n\n<li>When you point the cursor into the map viewer, it will have a floating selection icon.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">This tool selects pixel values of all bands within the boundaries of a training sample and then graphs them. <strong>Do not select anything yet.<\/strong> We need to be careful that we know which sample is being selected in the <em>Training Samples<\/em> <em>Manager<\/em>. It may be necessary to zoom in to each sample to select it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">9- Select the first Urban sample in the Training Samples Manager; it should be highlighted in the map viewer (Figure 23.14), zoom to this feature. Since your training samples are likely different from these, your first one can be in a different location.<\/p>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">10- Then, with the <em>Feature Selector<\/em> enabled, click the selected <em>Urban<\/em> training sample in the map viewer, and its pixel values will be graphed in the <em>Spectral Profile<\/em> (Figure 23.15).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignright is-resized\"><a href=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image15-16.jpeg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image15-16.jpeg\" alt=\"Screenshot of a spectral profile chart for the selected feature.\" style=\"aspect-ratio:1.7383177570093458;width:257px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 23.15 A spectral profile chart for the selected feature<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">We can see the range of spectral values for each band for this one training sample. We need to add a second <em>Urban<\/em> training sample to conduct a comparison. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">11- In <em>Image Classification:<\/em> <em>Training<\/em> <em>Samples<\/em> <em>Manager<\/em>, select the next training sample in the list\u2014again, it will be highlighted in the map viewer, zoom to it. Ensure the <em>Feature<\/em> <em>Selector<\/em> icon is still enabled in <em>Chart<\/em> <em>Properties<\/em> and select the highlighted sample to add it to the <em>Spectral Profile<\/em> graph.<\/p>\n\n\n\n<div style=\"height:4px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignright is-resized\"><a href=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image17-15.jpeg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image17-15.jpeg\" alt=\"Screenshot of a spectral profile chart for 3 selected features.\" style=\"aspect-ratio:1.6622073578595318;width:273px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 23.17 A spectral profile chart for 3 selected features<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">The profiles for these two training samples are similar, but the second one added might have a more extensive (or limited, depending on your samples) range of values. Now, let\u2019s add a third <em>Urban<\/em> training sample. This one is slightly different from the first two. It may be necessary to expand the width of the graph to see differences (Figure 23.17).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It becomes difficult to see which one is which, so let\u2019s change some colors for the profiles (if necessary). <\/p>\n\n\n\n<div style=\"height:3px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignright is-resized\"><a href=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image18-7.jpg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image18-7.jpg\" alt=\"Screenshot of a colored spectral profile chart.\" style=\"aspect-ratio:1.456140350877193;width:268px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 23.18 A colored spectral profile chart<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">12- Under <em>Chart<\/em> <em>Properties<\/em>, change the <em>Symbol<\/em> color in the <em>Spectral Profiles<\/em> section for each Spectral Profile (<em>Profile_1, Profile_2, Profile_3<\/em>) so they are three different colors (Figure 23.18).<\/p>\n\n\n\n<p class=\"has-background wp-block-paragraph\" style=\"background-color:#8ed1fc\"><strong>Note<\/strong>: I found that it&#8217;s not necessary to change colors (instruction 12) since the program was assigning distinct colors to each profile. If you notice that they&#8217;re too similar, then change the colors, it will make things easier.<\/p>\n\n\n\n<div style=\"height:7px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">13- Continue to add more <em>Urban<\/em> training samples and evaluate each <em>Spectral Profile<\/em>. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">14- Two notes of caution before you proceed: <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignright is-resized\"><a href=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image19-15.jpeg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image19-15.jpeg\" alt=\"Screenshot of a spectral profile chart with 4 selected features.\" style=\"aspect-ratio:1.476878612716763;width:290px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 23.19 A spectral profile chart with 4 selected features<\/figcaption><\/figure>\n<\/div>\n\n\n<ol style=\"list-style-type:lower-alpha\" class=\"wp-block-list\">\n<li>Select each <em>Urban<\/em> training sample and change the spectral profile symbol color before selecting it in the map viewer (If necessary; Figure 23.19). This way, you know which profiles belong to which training sample in the <em>Image Classification:<\/em> <em>Training Samples Manager<\/em> pane (since the spectral profiles and training samples will be in the same sequence). This will become important for the next step. Be sure you have profiled all the <em>Urban<\/em> training samples before proceeding.<\/li>\n\n\n\n<li>If any two profiles are the same (i.e. look very similar), those two profiles should be combined (we&#8217;ll show you how later). Be careful about combining dissimilar values into one sample. When merging training samples, some spectral values could be lost. Merging creates a new median, so values at the extreme may be lost.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">In Figure 23.20, we have added all 16 samples for urban. We added them in the order listed in the <em>Image Classification:<\/em> <em>Training Samples Manager<\/em>, so the profile number in the graph will correspond to that order.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><a href=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image20-10.jpeg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image20-10.jpeg\" alt=\"Screenshot of a spectral profile chart with all urban training samples.\" style=\"aspect-ratio:1.0508474576271187;width:350px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 23.20 A spectral profile chart with all urban training samples<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"has-background wp-block-paragraph\" style=\"background-color:#8ed1fc\"><strong>A note of caution<\/strong>: When evaluating spectral values of the samples, do not look at the shape of the line; look at the range of values (Y-axis) for the individual bands (x-axis). Keep in mind that each band is useful for evaluating different features. In many instances, the values in a specific band may not be useful for urban environments, so they may have a small range.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Let\u2019s examine the graph a bit closer (Figure 23.21).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><a href=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image21-11.jpeg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image21-11.jpeg\" alt=\"Screenshot of the urban spectral profile chart (enlarged).\" style=\"aspect-ratio:1.4871794871794872;width:542px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 23.21 The urban spectral profile chart (enlarged)<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Profile 2 has the highest peak of all the training samples (for Bands 4, 5, and 6). It is similar to Profiles 1\u20133, but we will leave this training sample as is because of its high numbers in bands 4\u20136. Review the next three profiles that peak under Band 4; following their profile lines, they are very close together across all bands. If you are unsure which profile on the graph is which profile number, you can change the colors to verify which ones you see. We are looking at Profiles 4, 6, and 16. In Figure 23.22, we change all three to black.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><a href=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image22-4.jpeg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image22-4.jpeg\" alt=\"Screenshot of an urban spectral profiles, with some colors displayed as black.\" style=\"aspect-ratio:2.022292993630573;width:635px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 23.22 Urban spectral profiles, with some colors displayed as black<\/figcaption><\/figure>\n<\/div>\n\n\n<div style=\"height:7px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignright is-resized\"><a href=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image23-4.png\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image23-4.png\" alt=\"Screenshot of merging (collapsing) training samples.\" style=\"width:231px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 23.23 Merging (collapsing) training samples<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">These three training samples should be merged. Note that, depending on which areas you trained, the graph may have a different look, and you may need to make different decisions.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To complete the merge, highlight the three training samples in the <strong><em>Image Classification:<\/em> <em>Training Samples Manager<\/em><\/strong><em>.<\/em> To select multiple rows, hold the <em>ctrl<\/em> button on the keyboard when you select them. The <strong><em>Collapse<\/em> <\/strong>button enables once you select two or more rows (Figure 23.23).<\/p>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignright is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image24-12.jpg\" alt=\"Screenshot of training sample manager showing 3 collapsed samples.\" style=\"aspect-ratio:0.6072186836518046;width:286px;height:auto\" \/><figcaption class=\"wp-element-caption\">Figure 23.24 Training sample manager showing 3 collapsed samples<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">15- Click <em>Collapse,<\/em> and those three training samples have been merged into one (Figure 23.24).<\/p>\n\n\n\n<div style=\"height:11px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignright is-resized\"><a href=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image25-1.png\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image25-1.png\" alt=\"Screenshot of deleting a sample.\" style=\"aspect-ratio:1.1779661016949152;width:278px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 23.25&nbsp; Deleting a sample<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">16- You should now remove those three profiles from <em>Chart Properties<\/em> by selecting the row and clicking on <em>Delete<\/em> <em>the selected row<\/em> (Figure 23.25). If you are wary of deleting them, uncheck them instead.<\/p>\n\n\n\n<p class=\"has-background wp-block-paragraph\" style=\"background-color:#8ed1fc\"><strong>A note of caution<\/strong>: Do not delete the training samples you are not merging! Once you have completed your analysis, you must add those back into the profile to re-evaluate the spectral profiles. If, when deleting or unchecking, your graph does not update, check and uncheck one of the rows. Remember, check the range of values for each band.<\/p>\n\n\n\n<div style=\"height:7px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">17- Once you have accomplished this task for the urban training samples, remove all the profiles from the <em>Chart Properties<\/em> and re-create them with your newly merged training samples (Figure 23.26). How did you do? Do you need to merge any others? This evaluation process takes time and must be continually evaluated.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><a href=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image26-14.jpeg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image26-14.jpeg\" alt=\"Screenshot of urban spectral profiles after the evaluation process.\" style=\"aspect-ratio:1.98371335504886;width:609px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 23.26 Urban spectral profiles after the evaluation process<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">18- In <em>Contents Pane<\/em>, change the name of your chart to <em>Spectral Profile Urban<\/em> (Figure 23.27), then close the tab. Do not delete the graph from <em>CP<\/em>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><a href=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image27-8.jpg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image27-8.jpg\" alt=\"Screenshot of changing the name of the urban spectral profile.\" style=\"aspect-ratio:5.142857142857143;width:504px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 23.27 Changing the name of the urban spectral profile<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">19- The new training sample must now be saved. Be sure to save this merged sample as a <strong>new file<\/strong> with a <strong>new name<\/strong> (Save as). We recommend that the original training sample shapefile be maintained as a separate file.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You will continue the same process, evaluating water, agriculture, and forest training samples. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">20- Create and name a new spectral profile graph for the informational class each time (select the composite in CP then Data&gt;Create Chart&gt;Spectral Profile).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">21- Obtain the spectral profiles for the different water (or whatever class you&#8217;re doing now).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The spectral profile in the graph for water is very different from the urban spectral profiles (Figure 23.28).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><a href=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image28-11.jpeg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image28-11.jpeg\" alt=\"Screenshot of charting spectral\u00a0 profiles of the water training samples.\" style=\"aspect-ratio:1.8597785977859778;width:504px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 23.28 Charting spectral&nbsp; profiles of the water training samples<\/figcaption><\/figure>\n<\/div>\n\n\n<div style=\"height:4px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignright is-resized\"><a href=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image29-7.jpg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image29-7.jpg\" alt=\"Screenshot of merged water training samples.\" style=\"aspect-ratio:0.7;width:287px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 23.29 Merged water training samples<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">This is expected! Recall from prior chapters that spectral signatures should vary for different features\u2014reference the Landsat 9 band sensitivities table at the end of this chapter. The water profiles are all within a few hundred values in most of the bands. We will merge them into one sample to increase processing efficiency (Figure 23.29).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">22- Again, save the training sample shapefile with a new name. It is important to save it multiple times when completing other training sample evaluation methods\u2014you don\u2019t have to recreate the entire process. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">23- Also, save your map project!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">24- Now, continue evaluating training samples for the <em>Forest<\/em> and <em>Agriculture<\/em> classes. We will not go step by step; refer to the above instructions.<\/p>\n\n\n\n<div style=\"height:13px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignright is-resized\"><a href=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image30.png\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image30.png\" alt=\"Screenshot of charting forest spectral profiles.\" style=\"aspect-ratio:1.3638392857142858;width:255px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 23.30 Charting forest spectral profiles<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">All <em>Forest<\/em> spectral values are graphed in Figure 23.30.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Why is there a wider range of spectral values for forest in Band 4? In ArcGIS, Band 4 is the Landsat 9 near-infrared band, and, recalling previous chapters, vegetation has a greater range of spectral signatures in the near-infrared. Which of these training samples should be merged? Please note that although we do not show the process, we merged some samples. Be sure you are not merging them all into one. Zoom in and out on the spectral profile graph to see how wide the range of values is between each training sample.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Don\u2019t forget to save frequently!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Figure 23.31 is our <em>Spectral Profile Forest<\/em> after merging samples. We have zoomed in so you can see that the profiles have varied values. Save your training samples and project!<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><a href=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image31.png\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image31.png\" alt=\"Screenshot of forest spectral profiles after merging.\" style=\"aspect-ratio:1.5580246913580247;width:515px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 23.31 Forest spectral profiles after merging<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Now evaluate the training samples for <em>Agriculture<\/em>\u2014complete each sample, graphing them individually. Figure 23.32 is the profile of all agriculture training samples. These show the most variation of all the spectral profiles. Agriculture spectral values vary much more over many difference bands relative to the samples from other informational classes. Can you speculate some reasons for this? For your reference, we have included the Landsat 9 band sensitivities table at the end of this chapter. When evaluating the spectral values of the samples, evaluate all bands and all spectral values.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><a href=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image32-4.jpg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image32-4.jpg\" alt=\"Screenshot of charting agriculture spectral profiles.\" style=\"aspect-ratio:1.5334928229665072;width:481px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 23.32 Charting agriculture spectral profiles<\/figcaption><\/figure>\n<\/div>\n\n\n<div style=\"height:9px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignright is-resized\"><a href=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image33-4.jpg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image33-4.jpg\" alt=\"Screenshot of agriculture spectral profiles after merging samples.\" style=\"aspect-ratio:1.648578811369509;width:276px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 23.33 Agriculture spectral profiles after merging samples<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.33 shows the agriculture spectral profiles after merging various training samples. We went from 25 training samples to 12. Some additional merging should occur but remember, for agriculture, the spectral profiles vary across many different bands, so when values are similar in one band, those profiles have a much broader variation in another. SAVE!<\/p>\n\n\n\n<div style=\"height:9px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignright is-resized\"><a href=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image34-8.png\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image34-8.png\" alt=\"Screenshot of the Expand tool.\" style=\"width:162px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 23.34 The Expand tool<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">ArcGIS maintains a history of your steps and processes, so starting over is unnecessary if you accidentally merge training samples that you ultimately decide should not be merged. If you do not save, you can expand previously collapsed samples. If needed, highlight the merged sample in the list, which enables the <em>Expand<\/em> tool. This tool is only enabled if you have highlighted a merged sample. We will not demonstrate this capability; we show this as an option (Figure 23.34).<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<p class=\"wp-block-paragraph\">At this juncture, we have demonstrated how to evaluate the training samples to eliminate any significant overlap in spectral values. <strong>Leaving overlap within a class will not affect the results. <\/strong>However, it does slow down the classification process. As an analyst becomes more knowledgeable and expert in classification, the number of training samples with overlapping spectral values will decrease.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">25- Close the <em>Spectral Profile<\/em> <em>Chart<\/em> and <em>Chart Properties<\/em> pane. You are not deleting the charts\u2014they are still in <em>Contents<\/em> Pane and can be opened from there.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">26- Now add the new training sample shapefile to <em>Contents<\/em> and symbolize with <em>Unique Values<\/em>. If you compare the shapefile of the initial training samples to the final one, you will see that the number of features has decreased. The individual samples remain, but the new shapefile has multi-part polygons.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h3 class=\"wp-block-heading\">Task 3 &#8211; Extracting Training Data Brightness Values<\/h3>\n\n\n\n<p class=\"has-background wp-block-paragraph\" style=\"background-color:#8ed1fc\">You must have completed all the steps in Part 1 and Part 2 tasks 1 &amp; 2 before trying to complete this task.<br><br>You can complete this section by following the section &#8220;Extracting Training Data Brightness Values&#8221; in <a href=\"https:\/\/pressbooks.lib.vt.edu\/remotesensing\/chapter\/chapter-23-evaluating-training-samples-in-supervised-classification-of-a-landsat-9-image\/\" target=\"_blank\" rel=\"noopener\">Chapter 23 <\/a>of Parece &amp; McGee textbook (page 428 from the book, or right around Figure 23-35 in the web version). Or you can follow the instructions here. Notice that the following instructions have not been checked and have been copied directly for the web version, so you&#8217;ll notice a slightly different format.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<p class=\"wp-block-paragraph\">This task expands the evaluation of the training samples to produce a better classification by studying the histograms of the pixels located within the training areas for each band. You&#8217;ll also make some scatter plots to evaluate if there&#8217;s overlap between the training data of the different classes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Before we proceed into the next two sections, Scatter plots and Histograms, we will extract the brightness values for each pixel of the training data into a point feature class.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Under the <em>Analysis<\/em> tab, choose <em>Tools<\/em>, and search for <em>Extract by Mask<\/em>.<\/p>\n\n\n\n<ol style=\"list-style-type:lower-alpha\" class=\"wp-block-list\">\n<li>The <em>Input raster<\/em> is your subsetted composite image, <\/li>\n\n\n\n<li>the <em>feature mask data<\/em> is the final training samples shapefile. For <em>Extraction Area<\/em>, be sure it says <em>Inside<\/em>\u2014we want the pixels inside the features of the shapefile. Click <em>Run<\/em>.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">The results are in Figure 23.37. If you cannot see the image, turn off the original subsetted composite image and the training sample shapefile. If you zoom in, you will see that these portions of the image are within your training data shapefile features.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><a href=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image37-11.jpg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image37-11.jpg\" alt=\"Screenshot of extracted data.\" style=\"aspect-ratio:1.8551236749116609;width:525px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 23.37 Extracted data<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Go back to the <em>Geoprocessing<\/em> pane and search for <em>Raster to Point<\/em>. The <em>Input Raster<\/em> is the new raster created in the last step. <em>Field<\/em> is <em>Value<\/em> and name the <em>Output<\/em> <em>p<\/em><em>oint<\/em> <em>f<\/em><em>eatures<\/em> so you understand what this feature class represents (Figure 23.38). Click <em>Run<\/em>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image38-4.jpg\" alt=\"Screenshot of the Raster to Point tool.\" style=\"aspect-ratio:1.7468879668049793;width:421px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.38 The Raster to Point tool<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Figure 23.39 is the result, zoomed in to one of the training samples. A new file has been created with a point representing the center of each pixel of your training sample data. For our training data there are 80,868 points\u2014yours will be different because you selected different training samples.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image39-6.jpg\" alt=\"Screenshot of pixel values extracted into a point shapefile.\" style=\"aspect-ratio:1.1818181818181819;width:598px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.39 Pixel values extracted into a point shapefile<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For each point, we need to identify if the point represents water, urban, agriculture, or forest\u2014our informational classes and each training sample location. We must first add the informational category as a field to the new shapefile. Open the <em>A<\/em><em>ttribute<\/em> <em>T<\/em><em>able<\/em>, and select <em>F<\/em><em>ields<\/em> <em>V<\/em><em>iew<\/em> (Figure 23.40).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image40.png\" alt=\"Screenshot of adding a new field to an attribute table.\" style=\"aspect-ratio:5.064516129032258;width:628px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.40 Adding a new field to an attribute table<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">At the bottom of the table, select <em>C<\/em><em>lick here to add a new field<\/em> (Figure 23.41).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image41-8.jpg\" alt=\"Screenshot of adding a new field.\" style=\"aspect-ratio:4.077464788732394;width:579px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.41 Adding a new field<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Add a new <em>InfoClass<\/em> field, as shown in Figure 23.42. The length of the field should be 15.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image42-3.jpg\" alt=\"Screenshot of adding the length and data type.\" style=\"aspect-ratio:4.817460317460317;width:607px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.42 Adding the length and data type<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Then click <em>Save<\/em> in the <em>Changes<\/em> group on the ribbon (Figure 23.43).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image43-1.jpg\" alt=\"Screenshot of saving changes.\" style=\"aspect-ratio:1.3140096618357489;width:272px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.43 Saving changes<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Close <em>Fields<\/em> <em>View<\/em>. The new field is in the <em>Attribute Table<\/em> filled with <em>&lt;Null&gt;<\/em> values (Figure 23.44).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image44.jpg\" alt=\"Screenshot of null values in the attribute table.\" style=\"aspect-ratio:1.505703422053232;width:396px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.44. Null values in the attribute table<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now, we must populate the new field. Please follow these instructions step by step. We will use <em>Select by Attributes<\/em> to select all the points for the first informational class. As shown in Figure 23.45, that is Agriculture.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image45.jpg\" alt=\"Screenshot of selecting by attribute.\" style=\"aspect-ratio:0.7142857142857143;width:250px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.45 Selecting by attribute<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Open <em>Select by Location<\/em> (Figure 23.46). <em>Input Features<\/em> is the newly created point shapefile. <em>Relationship<\/em> is <em>W<\/em><em>ithin<\/em> because you want the points within each of the Agriculture training sample polygons. Then click <em>OK.<\/em><\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image46.jpg\" alt=\"Screenshot of selecting by Location.\" style=\"aspect-ratio:0.7196467991169978;width:326px;height:auto\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Figure 23.46 Selecting by Location<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You have selected all the points within the agriculture training sample polygons (Figure 23.47). In the <em>Attribute Table<\/em>, right-click the <em>InfoClass<\/em> field and choose <em>Calculate Field<\/em>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image47.png\" alt=\"Screenshot of calculating a field.\" style=\"aspect-ratio:1.6065162907268171;width:641px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.47 Calculating a field<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the <em>Calculate Field<\/em> dialog box at the bottom, type \u201cAgriculture\u201d (Figure 23.48).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image48.jpg\" alt=\"Screenshot of calculating a field.\" style=\"aspect-ratio:0.7168141592920354;width:405px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.48 Calculating a field<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Points located within agriculture training sample polygons are now labeled as such in the <em>InfoClass<\/em> field of the <em>Attribute Table<\/em> (Figure 23.49).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image49.jpg\" alt=\"Screenshot of population a field with text.\" style=\"aspect-ratio:1;width:388px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.49 Population a field with text<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Clear your selection (Figure 23.50).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image50.png\" alt=\"Screenshot of clearing selected features.\" style=\"aspect-ratio:1.3004484304932735;width:290px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.50 Clearing selected features<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now complete the same process for the other three informational classes\u2014water, urban, and forest. Ensure you type the correct informational class name. Clear your selections each time and after the last one.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once you have completed all four informational classes, we must ensure you have not missed any pixels. Open <em>Select by Attributes<\/em> again and populate it as shown in Figure 23.51.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image51.jpg\" alt=\"Screenshot of searching for missed values.\" style=\"aspect-ratio:0.723404255319149;width:408px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.51 Searching for missed values<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If this <em>S<\/em><em>elect by<\/em> <em>A<\/em><em>ttributes<\/em> returns any null values found in the <em>I<\/em><em>nfo<\/em><em>Class<\/em> field, you must select these points and assign them to an informational class. Depending on the number of pixels found, you can either redo your selection by location using the term <em>within a distance of 30 meters<\/em> or manually select each point.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once all informational classes have been filled in and no null values are present, we must assign the brightness values for each pixel in each band. Before proceeding be sure that you have cleared any selections!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Return to the toolbox and search for \u201cExtract Multi Values to Points\u201d (Figure 23.52). Open the tool (Figure 23.53).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image52.jpg\" alt=\"Screenshot of the extract multi values to points tool.\" style=\"aspect-ratio:2.6455696202531644;width:418px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.52 The extract multi values to points tool<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image53.jpg\" alt=\"Screenshot of the extract multi values to points tool.\" style=\"aspect-ratio:1.6746031746031746;width:422px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.53 The extract multi values to points tool<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This tool will extract the brightness values for each band of the composite image and place them into a separate column for each point. Please pay close attention to Figure 23.54 and what goes into the blanks! <em>Input point features<\/em> is the point feature class, and the <em>Input Raster<\/em> is the subsetted composite image. <em>Output field<\/em> <em>name<\/em> is, as shown, <em>AP_Band<\/em>. AP stands for ArcGIS<sup><em>\u00ae<\/em><\/sup>Pro. Remember, the Landsat spectral bands were renumbered when you subsetted the image using only Landsat 9 Bands 2 through 7!<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image54.jpg\" alt=\"Screenshot of the extract multi values to points tool.\" style=\"aspect-ratio:1.3283132530120483;width:441px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.54 The extract multi values to points tool<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Review the new columns in the attribute table. Your information class and the brightness values of each pixel for each band in the training sample are present (Figure 23.55). We will use this feature class for the following two sections\u2014<strong>Evaluating Separability using Scatterplots<\/strong> and <strong>Evaluating Normality using Histograms<\/strong>. Be sure to save your project! You can close the <em>Geoprocessing<\/em> pane and the attribute table.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image55.jpg\" alt=\"Screenshot of results of extracting multi values to points.\" style=\"aspect-ratio:2.144628099173554;width:519px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.55 Results of extracting multi values to points<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Evaluating Separability<\/em><\/strong> <strong><em>Using<\/em><\/strong> <strong><em>Scatterplots<\/em><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Scatterplots plot the pixel values of the training data for two bands. One band is chosen for the x-axis and another for the y-axis. When selecting the bands to evaluate, consideration must be given to which bands are best for identifying a specific feature\u2014reference Landsat 9 band sensitivities at the end of this chapter. When viewing pixel values as scatterplots, points should not overlap if the spectral values of each class\u2019s training samples are separate. If any overlapping exists, misclassification could occur.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Change the symbology in the points shapefile to display the informational classes in unique values (Figure 23.56). Adjust the symbology to match our informational class schema.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image56.jpg\" alt=\"Screenshot of points symbolized by informational class.\" style=\"aspect-ratio:1.0174216027874565;width:292px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.56 Points symbolized by informational class<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To create scatterplots, right-click the point shapefile and choose <em>Create Chart<\/em> &gt;<em>Scatter Plot<\/em> <em>Matrix<\/em> (Figure 23.57)<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image57.png\" alt=\"Screenshot of creating a scatter plot.\" style=\"aspect-ratio:1.3361702127659574;width:628px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.57 Create a scatterplot<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The <em>Chart Properties<\/em> dialog box opens (Figure 23.58).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image58.jpg\" alt=\"Screenshot of chart properties for scatterplot.\" style=\"aspect-ratio:0.7241379310344828;width:420px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.58 Chart properties for scatterplot<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Again, please follow and complete the inputs as follows. Click on <strong><em>+<\/em><\/strong> <strong><em>Select<\/em><\/strong> to get a dropdown list that includes all the band numbers (Figure 23.59). Check the box for each band; as you do, a scatterplot for each band will be drawn in the window below the map document viewer.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image59.jpg\" alt=\"Screenshot of selections in chart properties.\" style=\"aspect-ratio:0.7554585152838428;width:346px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.59 Selections in chart properties<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Charts for all bands can be compared if all bands are checked (Figure 23.60). The scatter plot with the bold black outline around it also appears as a larger chart in the upper right-hand corner of the window. In Figure 23.60, Band 1 is compared to Band 6.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image60.jpeg\" alt=\"Screenshot of band 6 compared to band 1.\" style=\"aspect-ratio:1.3498622589531681;width:490px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.60 Band 6 compared to band 1<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In Figure 23.61, the comparison is Band 6 to Band 4.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image61.jpg\" alt=\"Screenshot of comparison of band 6 to band 4.\" style=\"aspect-ratio:1.4319526627218935;width:484px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.61 Comparison of band 6 to band 4<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Review the different informational classes for all band comparisons. Are any points intermingling or overlapping between informational classes?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the Band 6 to Band 4 comparison of Figure 23.62, the forest class (green) is separate and appears across the bottom of the graph. The water class (blue) is separate and in the lower left corner.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The urban class (yellow) is scattered across the entire vertical and horizontal range in all graphs. Why? Remember, urban areas are very diverse, with many different types of features and spectral reflectances.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But Figure 23.62 shows quite a bit of overlap between urban and agriculture. Does this same issue occur across all band comparisons? If so, the training samples must be re-evaluated, thus the reason for saving your original training samples. You can check each training sample separately to ensure you trained your data appropriately.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image62.jpg\" alt=\"Screenshot of areas of intermingling.\" style=\"aspect-ratio:1.449468085106383;width:545px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.62 Areas of intermingling<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If overlapping\/intermingling pixels are located, training samples must be reviewed to determine the class where they belong. This means returning to the original training samples in the <em>Training Samples<\/em> Manager and adding training samples to one class while eliminating them from another. For example, many urban areas have parks with extensive tree canopy or parks that mimic agricultural areas; mountain shadows may have spectral properties similar to water, etc. These variables must be kept in mind when creating and evaluating training samples.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To identify which pixels in your point shapefile belong to the overlapping samples, you can click within the graph to select a point (Figure 23.63), which highlights the row within the attribute table (Figure 23.64) and selects it in the map viewer (Figure 23.65). You can then turn on the original training sample shapefile to determine where those points are and if they are trained appropriately.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image63.jpeg\" alt=\"Screenshot of selecting a point within the scatterplot.\" style=\"aspect-ratio:1.5183246073298429;width:290px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.63 Selecting a point within the scatterplot<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image64.jpeg\" alt=\"Screenshot of the attribute table shows the selection.\" style=\"aspect-ratio:3.3333333333333335;width:520px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.64 The attribute table shows the selection<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image65.jpeg\" alt=\"Screenshot of the section is shown in the map viewer.\" style=\"aspect-ratio:1.404;width:351px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.65 The section is shown in the map viewer<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once you have completed your separability analysis with scatterplots and retrained any data necessary, save your project. Close <em>Chart Properties<\/em> and the chart itself. The chart is still in <em>Contents<\/em> and can be opened from there (Figure 23.66).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image66.png\" alt=\"Screenshot of opening the chart from contents.\" style=\"aspect-ratio:4.017857142857143;width:450px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.66 Opening the chart from contents<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Evaluating Normality with<\/em><\/strong> <strong><em>Histograms<\/em><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Recall from <em>C<\/em><em>hapter<\/em> <em>17<\/em><em>:<\/em> <em>Radiometric Enhanc<\/em><em>e<\/em><em>ment<\/em> <em>of Landsat<\/em> <em>9<\/em> <em>Imagery<\/em> that a histogram depicts the distribution of the numbers of pixels with respect to pixel values. We now need to evaluate training data pixel values to assess their degree of normality. Suppose pixel values within any one of the classes are not normally distributed; for example, they display a bimodal histogram. In that case, it is likely that a specific class has not been sufficiently trained. If this is the case, additional training samples are needed to cover missing spectral values. We can use the same point feature class created to evaluate separability.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We will evaluate each informational class separately, so we must separate the extracted pixel values from the point feature class used for scatterplots. Use <em>S<\/em><em>elect by<\/em> <em>A<\/em><em>ttributes<\/em> to select the agriculture informational class. If you need assistance, refer to Figure 23.45.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Next, right-click that point feature class, point to <em>Data<\/em><em>,<\/em> and select <em>Export Features<\/em> (Figure 23.67).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image67.png\" alt=\"Screenshot of exporting features to a new file.\" style=\"aspect-ratio:0.8641425389755011;width:388px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.67 Exporting features to a new file<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Name the <em>Output Feature Class<\/em> for water pixels\u2014don\u2019t use the default naming convention shown in Figure 23.68. Click <em>OK<\/em>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image68.jpg\" alt=\"Screenshot of exporting features.\" style=\"aspect-ratio:0.7094474153297683;width:398px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.68 Exporting features<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A new point feature class containing the points for water, the informational class, and band information will be in the <em>Contents<\/em>. Please do this for all four informational classes so each has its own feature class (Figure 23.69).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image69.jpg\" alt=\"Screenshot of training classes are shown in Contents.\" style=\"aspect-ratio:0.6430155210643016;width:290px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.69 Training classes are shown in Contents<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now you are ready to create histograms. Right-click on the water training layer and choose <em>Create Chart<\/em> &gt; <em>Histogram<\/em> (Figure 23.70).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image70.png\" alt=\"Screenshot showing how to create a histogram.\" style=\"aspect-ratio:1.271880819366853;width:683px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.70 Creating a Histogram<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In <em>Chart Properties<\/em>, under <em>Variable<\/em>, choose a band (Figure 23.71). Then check all the boxes for <em>Mean<\/em>, <em>Median<\/em>, <em>Standard Deviation<\/em><em>,<\/em> and <em>Show Normal distribution<\/em>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image71.png\" alt=\"Screenshot of histogram chart properties.\" style=\"aspect-ratio:0.6458966565349544;width:425px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.71 Histogram chart properties<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Figure 23.72 shows the histogram generated for the water informational class with Band 5 training data. Remember, Band 5 is the first SWIR band for this Landsat 9 composite image. In a full 11-band Landsat image, the SWIR Band is Band 6.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image72.jpeg\" alt=\"Screenshot of histogram for water: SWIR.\" style=\"aspect-ratio:1.8892307692307693;width:614px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.72 Histogram for water: SWIR<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This distribution shows that our Water Training Sample pixel values have a normal distribution in Band 5, albeit a long tail. Figure 23.73 shows water for band 1 (blue visible). Why is it multi-modal? Well, remember, water is better depicted in the infrared bands instead of the blue; if water on the surface has any sediment, algae, or other features that would cause many varied reflectances.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image73.jpeg\" alt=\"Screenshot of Histogram for water: blue visible.\" style=\"aspect-ratio:2.897196261682243;width:620px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.73 Histogram for water: blue visible<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Do the same thing for each Band that is significant for the specific feature (forest, agriculture, urban). If you need clarification about the sensitivities, see the table at the end of this chapter.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We will not repeat the process step-by-step but follow it for each class. Here are examples for the other three classes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For Forest, we checked Band 2 (Green Visible) and Band 4 (NIR)\u2014Figures 23.74 and 23.75. Figures 23.76 through 23.79 show histograms for Urban and Agriculture.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image74.jpeg\" alt=\"Screenshot of forest histogram: green visible.\" style=\"aspect-ratio:2.1176470588235294;width:612px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.74 Forest histogram: green visible<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image75.jpeg\" alt=\"Screenshot of forest histogram: NIR.\" style=\"aspect-ratio:2.726457399103139;width:608px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.75 Forest histogram: NIR<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image76.jpeg\" alt=\"Screenshot of urban histogram: NIR.\" style=\"aspect-ratio:2.596638655462185;width:618px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.76 Urban histogram: NIR<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image77.jpeg\" alt=\"Screenshot of Urban histogram: SWIR.\" style=\"aspect-ratio:2.752173913043478;width:633px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.77 Urban histogram: SWIR<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image78.jpg\" alt=\"Screenshot of Agriculture histogram: NIR.\" style=\"aspect-ratio:2.726086956521739;width:627px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.78 Agriculture histogram: NIR<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image79.jpg\" alt=\"Screenshot of agriculture histogram: green visible.\" style=\"aspect-ratio:2.7389380530973453;width:619px;height:auto\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Figure 23.79 Agriculture histogram: green visible<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Again, examine each of the classes for normality in each of the significant bands. We state significant because, for our seven-band Landsat 9 image, Band 1 and Bands 10 and 11 are likely insignificant for our analysis. Do you need to add any training data to any of the classes? Training data for each class may not cover the entire range of brightness values, as demonstrated for water.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now that we have finished evaluating our training samples, eliminated samples, merged samples, and created new samples, we are ready to proceed with classification.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Band Sensitivities for Landsat 8<\/strong> <strong>and 9<\/strong><strong>.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Refer to the following link for Landsat 8\/9 spectral and spatial resolutions. <a href=\"https:\/\/www.usgs.gov\/faqs\/what-are-band-designations-landsat-satellites\">https:\/\/www.usgs.gov\/faqs\/what-are-band-designations-landsat-satellites<\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"#top\">Return to top of page<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/commons.mtholyoke.edu\/emarcano\/geog323\">Return to Geog 323 page<\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Preliminary In this and upcoming exercises we\u2019ll be following the instructions provided in Remote Sensing with ArcGIS Pro (second edition) by Tammy Parece and John McGee starting at chapter 11. Notice that this book is distributed under the license Creative Commons Attribution NonCommercial ShareAlike. These notes have some changes to [&hellip;]<\/p>\n","protected":false},"author":793,"featured_media":0,"parent":2130,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_monsterinsights_skip_tracking":false,"footnotes":""},"class_list":["post-3556","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/commons.mtholyoke.edu\/emarcano\/wp-json\/wp\/v2\/pages\/3556","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/commons.mtholyoke.edu\/emarcano\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/commons.mtholyoke.edu\/emarcano\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/commons.mtholyoke.edu\/emarcano\/wp-json\/wp\/v2\/users\/793"}],"replies":[{"embeddable":true,"href":"https:\/\/commons.mtholyoke.edu\/emarcano\/wp-json\/wp\/v2\/comments?post=3556"}],"version-history":[{"count":10,"href":"https:\/\/commons.mtholyoke.edu\/emarcano\/wp-json\/wp\/v2\/pages\/3556\/revisions"}],"predecessor-version":[{"id":3646,"href":"https:\/\/commons.mtholyoke.edu\/emarcano\/wp-json\/wp\/v2\/pages\/3556\/revisions\/3646"}],"up":[{"embeddable":true,"href":"https:\/\/commons.mtholyoke.edu\/emarcano\/wp-json\/wp\/v2\/pages\/2130"}],"wp:attachment":[{"href":"https:\/\/commons.mtholyoke.edu\/emarcano\/wp-json\/wp\/v2\/media?parent=3556"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}