{"id":3165,"date":"2026-11-06T18:23:38","date_gmt":"2026-11-06T18:23:38","guid":{"rendered":"https:\/\/commons.mtholyoke.edu\/emarcano\/?page_id=3165"},"modified":"2026-11-18T15:18:54","modified_gmt":"2026-11-18T15:18:54","slug":"ex9-change-detection","status":"publish","type":"page","link":"https:\/\/commons.mtholyoke.edu\/emarcano\/mhcgis\/geog323\/ex9-change-detection\/","title":{"rendered":"Exercise 9 &#8211; Change Detection &amp; Unsupervised Classification"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\" id=\"top\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Contents<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><a href=\"#part1\">Part 1: Change Detection using Landsat 9 Imagery<\/a><\/strong>\n<ul class=\"wp-block-list\">\n<li><strong>Objective<\/strong>: To use remote sensing images to detect changes between two dates<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong><a href=\"#part2\">Part 2: <strong>Unsupervised Classification<\/strong><\/a><\/strong>\n<ul class=\"wp-block-list\">\n<li><strong>Objective<\/strong>: To perform an unsupervised classification of a Landsat 9 image and to determine the land use\/land cover category associated with each spectral class.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong><a href=\"https:\/\/commons.mtholyoke.edu\/emarcano\/mhcgis\/geog323\/ex9-part3\/\">Part 3 &#8211; Classify land cover to measure shrinking lakes<\/a><\/strong>\n<ul class=\"wp-block-list\">\n<li><strong>Objective<\/strong>: Compare imagery to calculate area change in Lake Poyang, China.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\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 is-style-default\" \/>\n\n\n\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\" \/>\n\n\n\n<h2 id=\"part1\" class=\"wp-block-heading\">Part 1: <a href=\"#part1\"><\/a><strong>Change Detection using Landsat 9 Imagery<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">This part is based on Chapter 20 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=\"wp-block-paragraph\">Remotely sensed imagery is useful in detecting changes in features on the surface of the Earth. To detect changes in land use and land cover, imagery is required, usually from the same sensor and from two different dates. Change detection aims to identify changes in the spectral properties of specific features (pixels) associated with these two dates. The interval between dates can be as short as a few days, for example, to detect impacts of natural disasters, a few months to assess growth in large agricultural fields, or a few to several years to monitor changes in forest extent. Such analyses are called <strong>Change Detection<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Changing spectral properties of surface features provides information on effects such as land use changes (conversion from forest to urban), expanding urban areas (urban to urban comparison), effects of natural disasters (such as hurricanes and wildland fires), or impacts of insect infestations on forest cover. Change detection applies algorithms specifically designed to detect meaningful changes, in contrast to image differences originating in ephemeral (or superficial) features that do not signify meaningful differences over time.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A critical first step in a change detection analysis is identifying and selecting suitable pairs of images acquired over the same region. First, the two images must register either to each other or to the surface of the Earth\u2014the region they cover must match exactly when superimposed. Second, the images must be acquired during the same season to track long-term changes, such as deforestation. Finally, it is vital that no significant atmospheric effects have impacted an image. The two images must be compatible in almost every respect, including but not limited to scale, geometry, and resolution. Otherwise, the change detection algorithm interprets incidental differences in image characteristics as genuine landscape changes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Many alternative change detection algorithms exist and have been evaluated. Two main change detection approaches are pre-classification and post-classification. Image classification is discussed in Chapters 21 \u2013 24. Pre-classification change detection examines differences in two images before any classification process. Post-classification change detection defines changes by comparing pixels in a pair of classified images in which pixels have already been assigned to classes. Post-classification change detection typically reports changes as a summary, a difference in digital numbers, of the from-to changes of categories between two dates.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This chapter introduces a simple procedure of pre-classification change detection using one band from each date and calculating differences in pixel values between these two dates to evaluate changes. More complex approaches, such as those involving PCA analysis or changes, are available when comparing two images processed with spectral indices such as NDVI. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Task 0 &#8211; Getting Prepared<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">During our discussion of change detection analysis, two images acquired over southwestern Colorado will be used to evaluate landscape changes from drought and wildland fire.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">On June 1, 2018, a fire started in the San Juan National Forest of southwest Colorado. The cause of the fire remains unknown. This fire was named the \u201c416 Fire\u201d. As of June 21, 2018, the fire had destroyed over 34,000 acres of forest and was only 35% contained.&nbsp; The extensive nature of the fire, and the inability to contain it, was directly related to recent drought conditions in Colorado. NOAA had deemed this region to be in an exceptional drought. A typical annual snowfall for this region is approximately 71 inches. However, in the 2017\/2018 winter season, snowfall was 65% less than average. Local snowpack, typically present in June, was gone by June 2018.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Download (<a href=\"https:\/\/earthexplorer.usgs.gov\/\" target=\"_blank\" rel=\"noopener\">Earth Explorer<\/a>) two Landsat images (Landsat 8) for this region before proceeding. The images are <em>Path<\/em> <em>35<\/em>, and <em>Row<\/em> <em>34,<\/em> with <strong>June 15, 2017<\/strong>, and <strong>June 18, 2018<\/strong> dates. The two images needed are identified in Figure 20.1. The lack of snow cover is evident in the June 18, 2018, image compared to the June 15, 2017, image (white circle).\n<ol style=\"list-style-type:lower-alpha\" class=\"wp-block-list\">\n<li>Since Earth Explorer provides the option to select which bands to download, <strong>only download Band 5 <\/strong>for each date.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n\n\n\n<p class=\"has-background wp-block-paragraph\" style=\"background-color:#8ed1fc\"><strong>NOTE<\/strong>: You can practice downloading the data yourself (you should, it&#8217;s really very easy, other than having to create an account with USGS), otherwise use the dataset provided in \\ex9 in the class folder.<\/p>\n\n\n\n<p class=\"has-background wp-block-paragraph\" style=\"background-color:#8ed1fc\"><strong>NOTE<\/strong>: In this exercise, we are working with Landsat 8 images, but the process is exactly the same using Landsat 9.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image1-13.jpg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image1-13.jpg\" alt=\"\" style=\"aspect-ratio:1.655770511027203;width:524px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 20.1 Note the difference in snowpack between the June 15, 2017 image (left) and the June 18, 2017 image (right) as captured by Landsat 8 as viewed in the <a href=\"https:\/\/earthexplorer.usgs.gov\/\" target=\"_blank\" rel=\"noopener\">USGS\u2019s Earth Explorer<\/a><\/figcaption><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">The Change Detection Process<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">As with processes demonstrated in Chapters 15 (<a href=\"https:\/\/commons.mtholyoke.edu\/emarcano\/mhcgis\/geog323\/ex7-manipulatingbands\/\">Ex7 <\/a>part 2), 18, and 19 (<a href=\"https:\/\/commons.mtholyoke.edu\/emarcano\/mhcgis\/geog323\/ex8-enhancement\/\">Ex8 <\/a>parts 2 &amp; 3), ArcGIS provides multiple methods to conduct change detection. This section of this chapter will show a step-by-step change detection method. Then, we will give the change detection results produced using two other methods\u2014<em>Raster Functions<\/em> and <em>Raster Calculator<\/em>. Students must refer to the prior chapters if a refresher is needed to locate those methods.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Change detection means applying image differencing, subtracting corresponding pixel values at each pixel, and then displaying the differences as colors, so the areas that differ in brightness (DN) can be easily identified. To generate useful results, the analyst must understand the region represented in the image and the subject of the analysis. Here, we will not use the composite image to calculate the differences, so it is essential that you know which Landsat bands are best suited for distinguishing which features. So why did we choose Band 5? Recall the discussion of bands that are useful for each analysis , in previous exercises, or visit <a href=\"https:\/\/www.usgs.gov\/faqs\/what-are-band-designations-landsat-satellites\" target=\"_blank\" rel=\"noopener\">https:\/\/www.usgs.gov\/faqs\/what-are-band-designations-landsat-satellites<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A fire will significantly lower biomass. We will use Band 5 because, as indicated in the website  above, Band 5, in the near infrared, emphasizes biomass content and supports the identification of shorelines. Shorelines discriminate between land and water, drought changes water body size, thus changing shorelines, and snow is just frozen water\u2014all pertinent to our study. In addition, Band 5, as an infrared band, will experience little atmospheric scattering.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Task 1 &#8211; Change Detection Approach #1: Using the Change Detection Wizard<\/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\/image6-14.jpg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image6-14.jpg\" alt=\"Screenshot of selecting the Change Detection option.\" style=\"width:368px;height:auto\" \/><\/a><\/figure>\n<\/div>\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li>Open a new map project. Set the environments and workspaces. <\/li>\n\n\n\n<li>Add Band 5 for each date to your map project. Be sure that June 18, 2018 is the topmost layer in the <em>Contents<\/em> pane.<\/li>\n\n\n\n<li>Under the <em>Imagery<\/em> tab, locate <em>Change Detection<\/em>.\n<ol style=\"list-style-type:lower-alpha\" class=\"wp-block-list\">\n<li>Click the button to open the <strong>Change Detection Wizard <\/strong>pane <\/li>\n\n\n\n<li>Under Change detection Method there are several options. We are using <strong>Pixel Value Change<\/strong> which should be the default setting. <\/li>\n<\/ol>\n<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Categorical change would be used if you were completing a post-classification change detection operation (or comparing two raster datasets). <em>Time Series Change<\/em> would be used, for example, if you calculate the change in NDVI over a growing season. Both of these are very useful for GIS operations.<\/p>\n\n\n\n<ol start=\"3\" style=\"list-style-type:lower-alpha\" class=\"wp-block-list\">\n<li>The <em>From Raster<\/em> and <em>To Raster<\/em> can be in any order. You are calculating the difference between the two bands. We are using the earlier image (2017) as <em>From Raster<\/em> and the more recent image (2018) as the <em>To Raster<\/em> <strong>(keep this order to answer question 1, below)<\/strong><\/li>\n\n\n\n<li>Keep the default values in the other fields and click <em>Next<\/em> at the bottom of the window, and page 2 of the wizard displays<\/li>\n\n\n\n<li>There are additional settings that you can change. We want <strong>Absolute<\/strong> for the <em>Difference Type<\/em>. <\/li>\n\n\n\n<li>Our analysis uses single bands, so the following two settings show <strong>1- Band_1<\/strong> (which is fine for this case). If we had a multiple-band image, we would want to choose, from a drop-down list, which bands we are using to calculate the difference. <\/li>\n\n\n\n<li>We are using the <strong>defaults<\/strong> for <em>Cell Size Type<\/em> and <em>Extent Type<\/em> as we want the difference between the entire images. <\/li>\n\n\n\n<li>At the bottom of the window are three buttons: <em>Preview, Previous,<\/em> and <em>Next<\/em>. The <em>Preview<\/em> button processes the change detection but creates a temporary image\u2014a preview of what new image will be created. <em>Previous<\/em> goes back to the prior pane. Click <em>Next<\/em>. <\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><\/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\/Change-detection-wizard.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"413\" height=\"428\" src=\"https:\/\/commons.mtholyoke.edu\/emarcano\/wp-content\/uploads\/sites\/965\/2026\/11\/Change-detection-wizard.jpg\" alt=\"\" class=\"wp-image-3302\" style=\"aspect-ratio:0.9649750242297365;width:227px;height:auto\" srcset=\"https:\/\/commons.mtholyoke.edu\/emarcano\/wp-content\/uploads\/sites\/965\/2026\/11\/Change-detection-wizard.jpg 413w, https:\/\/commons.mtholyoke.edu\/emarcano\/wp-content\/uploads\/sites\/965\/2026\/11\/Change-detection-wizard-289x300.jpg 289w\" sizes=\"auto, (max-width: 413px) 100vw, 413px\" \/><\/a><\/figure>\n<\/div>\n\n\n<ol start=\"9\" style=\"list-style-type:lower-alpha\" class=\"wp-block-list\">\n<li>In the next pane, we want to <em>Compute Statistics<\/em> <em>&amp;<\/em> <em>Histogram<\/em> for the new image created. Click on that button on the upper right (see figure).<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">You should now see a new image and the statistics and histogram for this new image.<\/p>\n\n\n\n<ol start=\"5\" class=\"wp-block-list\">\n<li>Don\u2019t forget to SAVE your project!<\/li>\n<\/ol>\n\n\n\n<p class=\"has-background wp-block-paragraph\" style=\"background-color:#7bdcb5\"><em>Question 1. What is the highest difference observed between these two images?<\/em><br><br><strong>HINT<\/strong>: Make sure 2017 is the FROM image and 2018 is the TO image (just so we get the same numbers)<\/p>\n\n\n\n<div style=\"height:9px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">What does this new image and the values in the CP mean? The default symbology represents an increase in a pixel\u2019s digital number. Red is an increase; Green means a decrease, and yellow means little or no change.<\/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\/image13-5.jpg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image13-5.jpg\" alt=\"Screenshot of using the Swipe tool.\" style=\"aspect-ratio:1.3883792048929664;width:301px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 20.13. Using the Swipe tool<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">The June 18, 2018, image has clouds, and the June 15, 2017, image was cloud-free. The clouds are shown as red, one of the extremes in the change. When performing change detection, we recommend eliminating clouds. Change detection is used to monitor changes in the surface of the Earth. Clouds interfere with that process. For this exercise, the presence versus absence of clouds provides an excellent example of the change detection process.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">What is the second most noticeable change? Snow cover. Snow was present in the mountains on June 15, 2017, but no snow was present in the June 18, 2018 image. Use the <em>Swipe<\/em> tool to compare the images (Figure 20.13).<\/p>\n\n\n\n<div style=\"height:17px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Let\u2019s look at the image for other changes (Figure 20.14).<\/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\/20.14.jpg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/20.14.jpg\" alt=\"\" style=\"aspect-ratio:1.4550898203592815;width:972px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 20.14. Comparing images<\/figcaption><\/figure>\n<\/div>\n\n\n<div style=\"height:15px\" 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\/image20-4.jpg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image20-4.jpg\" alt=\"Screenshot of exploring the impact of wildfire on local lakes.\" style=\"aspect-ratio:1.8439716312056738;width:520px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 20.15. Exploring the impact of wildfire on local lakes<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">The lack of snow cover from the drought, and the lack of vegetation from the fire, both show a huge change in spectral values. Turn off the image created from the change detection, and let\u2019s look at one more area of change; just to the east of the 416 Wildfire are two lakes (Figure 20.15).<\/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\/image21-5.jpeg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image21-5.jpeg\" alt=\"Screenshot exploring the impact of wildfire on local lakes.\" style=\"aspect-ratio:0.75;width:262px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 20.16. Exploring the impact of wildfire on local lakes<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">First, examine the two lakes, comparing June 15, 2017, image with the June 18, 2018 image (Figure 20.16).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The changes in the black and white images in Figure 20.16, the original bands, are challenging to see. We are looking at the edges of the two lakes.<\/p>\n\n\n\n<div style=\"height:8px\" 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\/image22-9.jpg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image22-9.jpg\" alt=\"Screenshot of change detection image of the two lakes.\" style=\"aspect-ratio:1.143835616438356;width:286px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 20.17. Change detection image of the two lakes.<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Now turn the change detection image back on. In Figure 20.17, look at the edges of the two lakes. The changes are noted in red, again, one of the extremes for the change in spectral values.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The lakes in the June 18, 2018, image are smaller than the earlier June 15, 2017, image. Further, the shallow water in 2018 exposed sediment deposits concealed below the surface in 2017, as indicated by the green areas within the lakes. Also, remember that Band 5 is often used to discern shorelines.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once a change detection process has been completed within ArcGIS, it may be necessary to complete an image enhancement technique to discern the changes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Suppose you are unsure what the original features represent when looking at a change detection image. In that case, it may be necessary to add a natural color or false-color composite image to the map project (reference <em>Chapter 14:<\/em> <em>Creating a Composite Image<\/em> <em>using<\/em> <em>Landsat<\/em> <em>9<\/em>; <a href=\"https:\/\/commons.mtholyoke.edu\/emarcano\/mhcgis\/geog323\/ex7-manipulatingbands\/\">Ex7<\/a> part 1).<\/p>\n\n\n\n<ol start=\"7\" class=\"wp-block-list\">\n<li>Finally, prepare a full layout with your 2 original images and the change image (3 images). You might want to zoom in around the burn area, the lakes, and some mountains. Annotate the change image for significant changes. Export to PDF and upload to Canvas. Remember to add your name inside the layout and in the file name.<\/li>\n<\/ol>\n\n\n\n<p class=\"has-background wp-block-paragraph\" style=\"background-color:#7bdcb5\"><em>Question 2.<\/em> Upload your layout to canvas in PDF format.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<p class=\"wp-block-paragraph\">Thus far, we have completed a change detection analysis using the <em>Imagery &gt;<\/em> <em>Change Detection Wizard<\/em>. ArcGIS provides other tools to find changes.You could use the Geoprocessing tool called <strong>Minus<\/strong> under <strong>Image Analyst Tools<\/strong>.  We won&#8217;t be doing it  now but you&#8217;re welcome to give it a try, it&#8217;s very simple.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The band(s) selected for the change detection process will depend on the project\u2019s goal and the exact features preferred for evaluating the change. This chapter addressed change detection only. These images of southwestern Colorado will not be used in any other chapter.  <\/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<h2 id=\"part2\" class=\"wp-block-heading\">Part 2: Unsupervised Classification <\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">This part is based on Chapter 21 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=\"wp-block-paragraph\">Image classification is a process that sorts individual pixels based on their spectral values into informational classes or categories. A pixel is assigned to a class corresponding to a specific set of criteria. Two methods to classify individual pixels are:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Unsupervised Classification (this chapter)<\/li>\n\n\n\n<li>Supervised Classification (Chapters 22 \u2013 24)<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">With unsupervised classification, the pixels are clustered together based on spectral homogeneity and spectral distance. Spectral homogeneity is evaluated by the software program. Spectral distance is measured using various techniques chosen by the analyst. Unsupervised classification produces classes of homogeneous spectral identities that may not exactly correspond to informational classes. While spectral classes denote pixels grouped by uniform brightness values, informational classes refer to groups that convey useful information with designations such as land use, soil classes, or agricultural productivity. When using unsupervised classification, the informational class may contain a variety of spectral identities. Therefore, a spectral class identified by unsupervised classification seldom matches exactly to an informational class.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">ArcGIS accomplishes unsupervised classification using ISO Cluster. ISO is an algorithm in which a mean is derived from the spectral values for the input bands. Variance and co-variance are also calculated. The algorithm automatically recalculates the statistical values as pixels are added to each spectral class. <\/p>\n\n\n\n<p class=\"has-background wp-block-paragraph\" style=\"background-color:#8ed1fc\"><strong>NOTE<\/strong>:  Learn how the ISO algorithm works by reading the first part of the document <a href=\"https:\/\/doc.esri.com\/en\/arcgis-pro\/latest\/tool-reference\/spatial-analyst\/how-iso-cluster-works.html\" target=\"_blank\" rel=\"noopener\">&#8220;How Iso Cluster works&#8221;<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Objectives for this Chapter<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The objectives for this chapter include:<\/p>\n\n\n\n<ol style=\"list-style-type:lower-roman\" class=\"wp-block-list\">\n<li>Complete an unsupervised classification on a Landsat 9 image.<\/li>\n\n\n\n<li>Determine the land use\/landcover category associated with each spectral class.<\/li>\n\n\n\n<li>Create color-coded informational classes according to the scheme shown below.<\/li>\n\n\n\n<li>Calculate the percentage of the total area for each informational class.<\/li>\n<\/ol>\n\n\n\n<figure id=\"table\" class=\"wp-block-table is-style-regular\"><table class=\"has-fixed-layout\" style=\"border-width:1px\"><tbody><tr><td><strong>Class Number<\/strong><\/td><td class=\"has-text-align-center\" data-align=\"center\"><strong>Information Class<\/strong><\/td><td class=\"has-text-align-center\" data-align=\"center\"><strong>Color designation<\/strong><\/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><\/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 1 &#8211; Conducting Unsupervised Classification<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Create a new project, name it, save it, and add the 6-band composite image created in Chapter 15 \u2014 the image that was clipped to the extent of the display (<a href=\"https:\/\/commons.mtholyoke.edu\/emarcano\/mhcgis\/geog323\/ex7-manipulatingbands\/\">Ex7<\/a> Part 2 task 3). Set your workspaces and eliminate background values. To help discern features, set it to a natural color band combination (Figure 21.1).<\/li>\n<\/ol>\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\/image1-6.jpeg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image1-6.jpeg\" alt=\"Screenshot of true color Landsat 9 image.\" style=\"aspect-ratio:1.8781362007168458;width:428px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 21.1. True color Landsat 9 image<\/figcaption><\/figure>\n<\/div>\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\/image2-7.jpeg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image2-7.jpeg\" alt=\"Screenshot of the classification wizard.\" style=\"width:325px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 21.2. The classification wizard<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">As with all other processes, there are multiple ways to complete the unsupervised classifications. One method is to use the <em>Classification Wizard<\/em> from the <em>Imagery<\/em> tab on the ribbon (Figure 21.2). However, as with many other shortcut functions, this creates an image only usable in the current map document.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The method demonstrated in this chapter will create a permanent image usable in other analyses, and we will use this image in the final chapter\u2014<em>Chapter 25: Accuracy Assessment<\/em> (we won&#8217;t be doing chapter 25 in this course. but you&#8217;re encouraged to do it by yourself following the textbook instructions).<\/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\/image7-14.jpg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image7-14.jpg\" alt=\"Screenshot of ISO Cluster Unsupervised Classification.\" style=\"aspect-ratio:1.2619808306709266;width:315px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 21.7. ISO Cluster Unsupervised Classification<\/figcaption><\/figure>\n<\/div>\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li>Go to the <em>Analysis<\/em> tab, <em>Tools,<\/em> and in the <em>Geoprocessing<\/em> pane, search for <em>Iso Cluster<\/em>.<\/li>\n\n\n\n<li>Select <strong><em>ISO Cluster<\/em> <em>Unsupervised Classification<\/em><\/strong>. Look for it carefully.\n<ol style=\"list-style-type:lower-alpha\" class=\"wp-block-list\">\n<li>For Input raster bands, choose the 6-band subsetted composite image. This tool is set up so if you do not have a composited image and only individual bands, you can choose the bands you want to use in the classification process. Since you are following the procedures demonstrated in this book, you will use a multi-band image created in prior chapters.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">To determine the number of classes: Remember from the <a href=\"#table\">table shown above<\/a>, for our final output, we want four different <strong>informational classes<\/strong>. But the number of classes in the <em>ISO Cluster Unsupervised Classification<\/em> dialog box refers to the number of <strong>spectral classes<\/strong>. <\/p>\n\n\n\n<ol start=\"2\" style=\"list-style-type:lower-alpha\" class=\"wp-block-list\">\n<li>Set the number of classes to <strong>25.<\/strong> <\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Why? The image has over 65,000 different pixel values. Each category of features or informational classes\u2014water, agriculture, urban, forest\u2014may consist of a range of spectral values. Unsupervised classification generates groups of pixels that form homogeneous spectral identities. The number of spectral classes used will depend on the number of informational classes, the complexity of the area of interest, employer or government requirements, and the goals of the analysis. Determining the appropriate number of spectral classes may require running the <em>ISO<\/em> <em>Cluster Unsupervised Classification<\/em> tool multiple times using different numbers of spectral classes. Other parameters may also be necessary, but let\u2019s leave these parameters at their default settings for our demonstration.<\/p>\n\n\n\n<ol start=\"3\" style=\"list-style-type:lower-alpha\" class=\"wp-block-list\">\n<li>Leave all other parameters as default (Figure 21.7). The <em>Minimum class size<\/em> refers to the smallest number of pixels the software should place in one spectral class. <\/li>\n\n\n\n<li>Name the <strong><em>Output classified raster<\/em> <\/strong>something recognizable for the process and ensure it will be stored in the GeoDB for the project. <\/li>\n\n\n\n<li>Don&#8217;t save Output signature file. <\/li>\n\n\n\n<li>Then <em>Run<\/em> the tool.<\/li>\n<\/ol>\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\/image9-10.jpeg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image9-10.jpeg\" alt=\"Screenshot of classes with randomly assigned colors.\" style=\"aspect-ratio:1.6376404494382022;width:261px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 21.9. Classes with randomly assigned colors<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">The classification process takes a few minutes. But when it is complete, a green message appears at the bottom of the tool, and a new layer appears in <em>Contents,<\/em> with its image in the map viewer (Figure 21.9). Because the number of classes was set to 25 clusters of spectral values, there are 25 unique values in the symbology. Colors have been randomly assigned to the new image of homogeneous spectral classes (not informational classes). <strong>Your colors might look different.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We must determine which spectral class(es) should be assigned to each informational class. All 25 spectral classes will ultimately be assigned to one of our four designated informational classes. Don\u2019t forget to save your project regularly!<\/p>\n\n\n\n<div style=\"height:6px\" 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-12.jpeg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image11-12.jpeg\" alt=\"Screenshot of greyscale stretched symbology.\" style=\"aspect-ratio:1.8401253918495297;width:373px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 21.11. Greyscale stretched symbology<\/figcaption><\/figure>\n<\/div>\n\n\n<ol start=\"4\" class=\"wp-block-list\">\n<li>But before we do this, rerun the classification method to see what happens when the number of classes changes. Set the number of classes to 50, name the Output classified raster using a suitable name, and <em>Run<\/em> the tool.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">As before, a new layer appears in <em>Contents<\/em> and a new image in the map viewer (Figure 21.11). This time, 50 unique values and colors are assigned to the new image of homogenous spectral classes (not informational classes). If your image is symbolized as shown in Figure 21.11, that is ArcGIS using a stretch symbology for ease of display.<\/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\/image12-13.jpeg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image12-13.jpeg\" alt=\"Screenshot of classes assigned to unique values.\" style=\"aspect-ratio:1.8593272171253823;width:324px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 21.12. Classes assigned to unique values<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">In Figure 21.12 we changed the symbology to <em>Unique Values<\/em>. <strong>Your colors might look different.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">As previously noted, the number of spectral classes chosen depends on many factors. For this image and its variation in land use, 50 classes are likely more appropriate than 25, but the number of classes is often contingent on the specific application.<\/p>\n\n\n\n<div style=\"height:2px\" 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\">Task 2 &#8211; Classifying the Unsupervised Clusters<\/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\/image13-6.jpg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image13-6.jpg\" alt=\"Screenshot of base map options.\" style=\"aspect-ratio:1.2800925925925926;width:345px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 21.13. Base map options<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Now we need to decide which informational class contains each spectral class. Which classified image will we use? From here on, we will use the image with<strong> 25 spectral classes<\/strong> strictly for simplicity and instruction. For real applications, 50 spectral classes should, probably be used, if not more.<\/p>\n\n\n\n<ol start=\"5\" class=\"wp-block-list\">\n<li>Add a new base map layer, <em>Imagery<\/em>, to help decide which spectral classes belong to a particular information class. (Figure 21.13)<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">This base map looks similar to our natural color composite. <\/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\/image14-9.jpeg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image14-9.jpeg\" alt=\"Screenshot of classified image superimposed over the imagery base map.\" style=\"aspect-ratio:1.6721311475409837;width:408px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 21.14. Classified image superimposed over the imagery base map<\/figcaption><\/figure>\n<\/div>\n\n\n<ol start=\"6\" class=\"wp-block-list\">\n<li>Drag the image with 25 spectral classes to the top of the <em>Contents<\/em> (we will call this image Unsupervised 25 from here forward) \n<ol style=\"list-style-type:lower-alpha\" class=\"wp-block-list\">\n<li>and turn off (or remove) the image with 50 spectral classes. <\/li>\n\n\n\n<li>Also, turn off the original composite image (Figure 21.14). You can also use&nbsp; the <em>Swipe<\/em>&nbsp; tool to compare the classified image with the <em>Imagery<\/em> base map.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">The base map image appears also to be a satellite image. As you zoom in, it changes to higher-resolution aerial imagery, which will be needed to help determine the specific informational class for each pixel in the image.<\/p>\n\n\n\n<ol start=\"7\" class=\"wp-block-list\">\n<li>For your first step, please change the color for any spectral class that has any of our final informational color classes (red, yellow, green, blue) to <strong>any <\/strong>other color. This would eliminate confusion if any of the spectral classes were assigned by default (by ArcGIS) to a class color in our scheme. Alternatively, you could begin by setting them to all the same color and then proceed.<\/li>\n<\/ol>\n\n\n\n<div style=\"height:14px\" 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\/image16-8.jpeg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image16-8.jpeg\" alt=\"Screenshot of exploring pixel values.\" style=\"aspect-ratio:0.8666471824359813;width:233px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 21.16. Exploring pixel values<\/figcaption><\/figure>\n<\/div>\n\n\n<ol start=\"7\" class=\"wp-block-list\">\n<li>To change the spectral class color, start with water. Water is symbolized as blue, so zoom in to Smith Mountain Lake, southeast of the Roanoke (or any body of water that you can find in the area of your image) to determine the pixel value and color (again, ensure the blue you use is not a color showing as a symbol used in CP). Click on a pixel to check the pixel value (Figure 21.16). As a reminder, since this is a classified image, pixel values are not associated with brightness values but have been assigned a classification value. The pixel value of your unsupervised classification (25 classes) will therefore range from 1 to 25. This shows its Pixel Value is 1.<\/li>\n<\/ol>\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\/image17-5.jpeg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image17-5.jpeg\" alt=\"Screenshot of assigning blue to water clusters.\" style=\"aspect-ratio:1.673854447439353;width:375px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 21.17. Assigning blue to water clusters<\/figcaption><\/figure>\n<\/div>\n\n\n<ol start=\"9\" class=\"wp-block-list\">\n<li>In CP, find that value under the layer name, right-click on the symbol, and change it to blue. In Figure 21.17, we chose Lapis Lazuli.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">All water pixels\u2019 spectral values will be assigned to blue. In this case, class one is associated with water, so we are changing all the pixels with a value of one to blue for the water information class. Once the color is chosen, it changes the color in the map viewer.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Notice in our image that some of Smith Mountain Lake is also other colors. Use the <em>Swipe<\/em> tool to verify that those colors are also water within the lake (Figure 21.19). If yes, then change that specific pixel value also to Lapis Lazuli.<\/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\/image19-7.jpeg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image19-7.jpeg\" alt=\"Screenshot of using the swipe tool.\" style=\"aspect-ratio:1.816618911174785;width:432px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 21.19. Using the swipe tool<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Zoom to the rivers in the Roanoke and Radford areas and change their colors to the same blue if they still need to be changed. To find the river in Roanoke, follow the blue water northwest out of Smith Mountain Lake. But be careful since we only have 25 spectral classes\u2014mountain shadows and cloud shadows can mimic water.<\/p>\n\n\n\n<ol start=\"10\" class=\"wp-block-list\">\n<li>Continue with the other spectral classes \u2013 all 25 classes must be evaluated and assigned to the appropriate color class.<\/li>\n<\/ol>\n\n\n\n<p class=\"has-background wp-block-paragraph\" style=\"background-color:#8ed1fc\"><strong>NOTE:<\/strong> Be patient and consistent in the choice of colors (i.e. all blue colors must be the same). This is a somewhat tedious process (imagine if you had 50 classes or more!). Be methodical, careful, and, again, patient.<\/p>\n\n\n\n<p class=\"has-background wp-block-paragraph\" style=\"background-color:#8ed1fc\"><strong>Another Note<\/strong>: Since we might have some clouds in our image, let&#8217;s consider a 5th class for these (see table below)<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\" style=\"border-width:1px\"><tbody><tr><td><strong>Class Number<\/strong><\/td><td><strong>Information Class<\/strong><\/td><td><strong>Color designation<\/strong><\/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<ol style=\"list-style-type:lower-alpha\" class=\"wp-block-list\">\n<li>Associate agriculture fields with yellow (Figure 21.20). (See my note below)<\/li>\n<\/ol>\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-3.jpeg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image20-3.jpeg\" alt=\"Screenshot of associating agricultural fields with yellow.\" style=\"aspect-ratio:1.4166666666666667;width:471px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 21.20. Associating agricultural fields with yellow<\/figcaption><\/figure>\n<\/div>\n\n\n<ol start=\"2\" style=\"list-style-type:lower-alpha\" class=\"wp-block-list\">\n<li>Associate forests with green (Figure 21.21).<\/li>\n<\/ol>\n\n\n\n<p class=\"has-background wp-block-paragraph\" style=\"background-color:#8ed1fc\"><strong>Eugenio&#8217;s note: <\/strong>I get better results turning off and on the classified image with the natural color composite and only using the basemap to verify.  The basemap image seems to have been taken in Spring when deciduous forests had no leaves, so they can be confused with agricultural fields.<\/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-2.png\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image21-2.png\" alt=\"Screenshot of associating forests with green.\" style=\"aspect-ratio:1.3577134881143456;width:458px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 21.21. Associating forests with green<\/figcaption><\/figure>\n<\/div>\n\n\n<ol start=\"3\" style=\"list-style-type:lower-alpha\" class=\"wp-block-list\">\n<li>Urban areas should be red (Figure 21.22).<\/li>\n<\/ol>\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-2.jpeg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image22-2.jpeg\" alt=\"Screenshot of associating urban areas with red.\" style=\"aspect-ratio:1.849726775956284;width:485px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 21.22. Associating urban areas with red<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"has-background wp-block-paragraph\" style=\"background-color:#8ed1fc\"><strong>NOTE:<\/strong> As you explore around you&#8217;ll notice that some areas that are obviously &#8220;something&#8221; (e.g. forest) get classified into a different class, sometimes due to little clouds or shadows, or just spectral confusion. This is a common error and that&#8217;s why might use a larger number of classes (50 vs 25) in order to separate those little differences. In chapter 25 (we won&#8217;t be doing this) the classified image goes through a process of verification and error\/accuracy check.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Some questions<\/strong>\u2014should golf courses be classified as agriculture or urban, or should you create a new category? The same decisions must be made for all classes, including the extensive tree canopy coverage in an urban area\u2014should that be classified as urban or forest? We have only four informational classes to choose from.<\/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\/image23-2.png\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image23-2.png\" alt=\"Screenshot of golf course classified into multiple categories.\" style=\"aspect-ratio:1.382636655948553;width:430px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 21.23 Golf course classified into multiple categories<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Since we only used the 25 classed image, the golf course spectral cluster fell into multiple spectral clusters\u2014agriculture, forest, and urban\u2014except for a water hazard (Figure 21.23). We are only using the 25 spectral classes; this image should have at least 50 to classify it more accurately.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Using unsupervised classification with this image, was it easy to identify clouds? For purposes of this exercise, clouds were placed into their own class. How about cloud shadows? What were cloud shadows classified? (they usually got confused as water).  Again, increasing the number of spectral clusters would have enabled us to provide more definitive land cover class assignments.<\/p>\n\n\n\n<div style=\"height:8px\" 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\/image24-3.jpeg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image24-3.jpeg\" alt=\"Screenshot of spectral clusters assigned to four colors.\" style=\"aspect-ratio:1.8837920489296636;width:378px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 21.24. Spectral clusters assigned to four colors<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">After assigning all 25 spectral classes, look at the overall image (Figure 21.24). Are the informational classes generally correct? Do you have any blue areas within the mountains that are not water? Urban classes, that are in the water? For our image, the answer is YES to all of these questions, which again tells us that 25 spectral clusters were insufficient to separate all of the spectral clusters so we could categorize them into information classes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We are not yet finished because, in CP, the symbology lists 25 spectral values but only four colors that pertain to our informational classes (five colors counting clouds).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Continue to spot-check the results. Doing a complete accuracy assessment of all categories at this juncture is unnecessary. An accuracy assessment, the final step required in any image classification scheme, will be covered in the last chapter of this book\u2014<em>Chapter 2<\/em><em>5<\/em><em>:<\/em> <em>Accuracy Assessment<\/em>. We will now demonstrate how to assign spectral classes to informational classes.<\/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; Reclassifying Spectral Classes into Informational Classes<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The 25 spectral classes have been assigned the colors of the four informational classes. <\/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\/image26-6.jpeg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image26-6.jpeg\" alt=\"Screenshot of the reclassification table.\" style=\"aspect-ratio:0.8477564102564102;width:253px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 21.26. The reclassification table<\/figcaption><\/figure>\n<\/div>\n\n\n<ol start=\"11\" class=\"wp-block-list\">\n<li>To change this to four (5, counting clouds) informational classes, do a Reclassification <em>(Spatial Analyst Tools<\/em>).\n<ol style=\"list-style-type:lower-alpha\" class=\"wp-block-list\">\n<li>The <em>Input<\/em> <em>raster<\/em> is the Unsupervised 25 layer we have been working with. Once that layer is selected, the <em>Reclassification<\/em> table expands and lists all 25 values under the <em>Value<\/em> and <em>New<\/em> columns. Use the symbology of the Unsupervised 25 layer (Figure 21.26) and the table above as a guide.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>All values coded as Red are Urban\/built up\/transportation; change to 1 in the New column<\/li>\n\n\n\n<li>All values coded as Yellow are Mixed Agriculture; change to 2 in the New column<\/li>\n\n\n\n<li>All values coded as Green are Forest &amp; Wetland; change to 3 in the New column<\/li>\n\n\n\n<li>All values coded as Blue are Open water; change to 4 in the New column<\/li>\n\n\n\n<li>Don&#8217;t forget the clouds!<\/li>\n<\/ul>\n\n\n\n<ol start=\"2\" style=\"list-style-type:lower-alpha\" class=\"wp-block-list\">\n<li>Click in the row under <em>New<\/em> and make the change. Do this line by line for all 25 <em>Value<\/em>s. Don\u2019t miss any! Be sure you name the <em>Output raster<\/em> something you will understand.<\/li>\n\n\n\n<li>Click <em>Run<\/em>.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Once finished, the new layer will appear in <em>Contents<\/em><em>,<\/em> with the new image in the map viewer. The resulting colors are randomly assigned, so change them back to the correct colors.<\/p>\n\n\n\n<ol start=\"12\" class=\"wp-block-list\">\n<li>Go to <em>symbology<\/em> and change the color scheme. Under the <em>Label<\/em> column, type the informational class name on the row associated with its designated color (Figure 21.29).<\/li>\n<\/ol>\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\/image29-3.jpg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image29-3.jpg\" alt=\"Screenshot of reassigning colors to the new image.\" style=\"aspect-ratio:1.5753846153846154;width:330px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 21.29. Reassigning colors to the new image<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">The two images, the spectral class image with the 25 values and the informational class image with four values, should look the same if the <em>R<\/em><em>eclass<\/em> process was completed correctly and you assigned the same colors.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h3 class=\"wp-block-heading\">Task 4 &#8211; Calculating the Percent of Total Area for Each Informational Class<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Once the pixels have been reclassified into four classes, the percentage of the total area for each class can be easily calculated (this should be an easy procedure for you). <\/p>\n\n\n\n<ol start=\"13\" class=\"wp-block-list\">\n<li>To do this, open the <em>Attribute Table<\/em> of the reclassified image. This table provides the number of cells, <em>Count<\/em>, in each informational class.<\/li>\n\n\n\n<li>Make a note of how many pixels each class has and calculate the corresponding area.  You could also add a new numerical columns and do the calculations inside the table (you know how to do this).<\/li>\n<\/ol>\n\n\n\n<p class=\"has-background wp-block-paragraph\" style=\"background-color:#8ed1fc\"><strong>NOTE: <\/strong>Pay attention that ArcGIS, stupidly, might add the prefix &#8220;Raster.Count&#8221; when adding the Count column to the formula, if it did, just remove the &#8220;Raster.&#8221; part but leave the exclamation marks !<\/p>\n\n\n\n<ol start=\"15\" class=\"wp-block-list\">\n<li>Calculate the areas in <strong>hectares<\/strong>.<\/li>\n\n\n\n<li>You need to know pixel size, 30m  in our case.<\/li>\n\n\n\n<li>Also calculate the percentage of the total area that each class occupies.<\/li>\n<\/ol>\n\n\n\n<p class=\"has-background wp-block-paragraph\" style=\"background-color:#8ed1fc\"><strong>HINT<\/strong>: To calculate areas we first need to know how many pixels are in the entire image to calculate the percentage for each informational class. Since we only have four categories (actually five categories including clouds), add them together (answer with my classified image = 6,473,250). Is this correct? Check the number of rows and columns under <em>Properties<\/em> (again, with my image, 2250 x 2877= 6,473,250). <strong>Please note that your total may differ as you may not have the same subset displayed here.<\/strong> Also, if there were NoData pixels in your image, this verification wouldn&#8217;t apply.<\/p>\n\n\n\n<ol start=\"18\" class=\"wp-block-list\">\n<li>Prepare a full layout with only your classified image, showing the final categories. <strong>Insert in the layout a table<\/strong> with the areas in <strong>hectares<\/strong> and their corresponding <strong>percentage<\/strong> of the total area of your image.<\/li>\n<\/ol>\n\n\n\n<p class=\"has-background wp-block-paragraph\" style=\"background-color:#7bdcb5\"><em>Question 3. Upload a PDF with your layout to Canvas.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<p class=\"wp-block-paragraph\">Before we finish up, let\u2019s discuss one option under the <em>ISO<\/em> <em>Cluster Unsupervised<\/em> <em>Classification<\/em> Geoprocessing tool that we did not use\u2014Output signature file (Figure 21.39).<\/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\/image39-2.jpeg\"><img decoding=\"async\" src=\"https:\/\/pressbooks.lib.vt.edu\/app\/uploads\/sites\/119\/2023\/08\/image39-2.jpeg\" alt=\"Screenshot of saving the signature file.\" style=\"width:364px;height:auto\" \/><\/a><figcaption class=\"wp-element-caption\">Figure 21.39. Saving the signature file<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">We did not create this during our geoprocessing operation. Entering a name here and saving a signature file generates multivariate statistics for each cluster. The signature file can be read using any text editor, you should take a look at one of them and try to understand it. The statistics generated are related to the spectral values, not the informational categories. They can be used to evaluate <a href=\"https:\/\/support.esri.com\/en-us\/gis-dictionary\/covariance\" target=\"_blank\" rel=\"noopener\">co-variance<\/a> between any of the bands within your multi-spectral image. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">How accurate was the <em>ISO<\/em> <em>Cluster Unsupervised Classification<\/em> method and 25 classes? That is assessed in the last chapter of this book\u2014<em>Chapter 25:<\/em> <em>Accuracy Assessment<\/em> <em>(We won&#8217;t be doing that in this course)<\/em>. You may proceed directly to that chapter. But we recommend you complete Chapters 22 \u2013 24, covering the supervised classification process before doing so.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<p class=\"wp-block-paragraph\">Continue to <strong><a href=\"https:\/\/commons.mtholyoke.edu\/emarcano\/mhcgis\/geog323\/ex9-part3\/\">Part 3 \u2013 Classify land cover to measure shrinking lakes<\/a><\/strong><\/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<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Contents Return to Geog 323 page 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. [&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-3165","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/commons.mtholyoke.edu\/emarcano\/wp-json\/wp\/v2\/pages\/3165","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=3165"}],"version-history":[{"count":62,"href":"https:\/\/commons.mtholyoke.edu\/emarcano\/wp-json\/wp\/v2\/pages\/3165\/revisions"}],"predecessor-version":[{"id":3450,"href":"https:\/\/commons.mtholyoke.edu\/emarcano\/wp-json\/wp\/v2\/pages\/3165\/revisions\/3450"}],"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=3165"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}