Showing posts with label Remote Sensing. Show all posts
Showing posts with label Remote Sensing. Show all posts

Tuesday, November 10, 2015

Remote Sensing: Module 10 - Supervised Classification

     This week is a continuation of techniques in automated digital image classification. Specifically, supervised classification is covered. Unlike unsupervised methods, this method requires the use of training sites (a priori knowledge) to guide classification. It also uses statistical methods as opposed to Euclidean distance data to assign pixels to information classes. To practice this technique, the lab assignment walks through a supervised classification the process for which is then reproduced to compile the weekly deliverable. The classification was performed in ERDAS Imagine and the map deliverable was made in ArcMap.
     The general method is to import an image, create AOI features surrounding training sites (using the region growing tools and drawing tools), record the signatures from these AOIs in the Signature Editor, perform the supervised classification (via the Raster tab), and then recode this information to represent final class designations. As a result of running the supervised classification, a distance image is also created. This image along with examining comparative class histograms and mean plots (options in the Signature Editor window) examine the accuracy of the classification.
     My map below shows Germantown, Maryland classified via a supervised classification. The Euclidean distance image is included as a reference to the degree of error. (The brighter spots indicate areas that are likely classified incorrectly.) Eight classes are ultimately used to represent the different land uses/land classes. Areas are also included and noted in the legend. The original band combination used is 5, 4, 6 as I felt these bands had the best separability between spectral signatures. As an aside, one of the more difficult things was creating training sites for roads. The borders between roads and everything else for in this image were quite pixelated. As a result, there is a fair amount of error in that class since my training sites may have included the occasional pixel belonging to a different class. When I was growing areas of interest for some of the other classes I also set higher distances between pixels to capture some of the variation in that feature and as a result introduced error into certain classes (particularly the fallow and agriculture classes) and that is validated by the bright spots in the distance image inset.

Map 1 An exercise in automated classification using a supervised classification technique

Tuesday, November 3, 2015

Remote Sensing: Module 9 - Unsupervised Image Classification

     This week we delved into digital image classification. Up first is unsupervised classification, the following module (10) covers supervised classification. Unsupervised classification is an iterative (that is, until a threshold is met) procedure involving the clustering of pixels (with similar spectral reflectance) into classes (a parameter determined by the user). Supervised image classification uses a priori knowledge to guide classification (by way of 'training sites').
     In this lab we took a high resolution aerial photograph of the University of West Florida campus and performed an unsupervised classification (using the ISODATA algorithm) in ERDAS Imagine. The result of which is a thematic raster with a lower spectral resolution than the original photograph. This image was classified into fifty categories. It was our job to reclassify and reduce these categories into one of  five choices: trees, grass, buildings/roads, shadows, and mixed (for pixels that fall into more than one category). This was done by selecting pixels and reassigning them into one of the categories and giving them a designated color. Once all fifty classes were reclassified, the Recode tool was used to reduce the number of classes into the final five. Descriptive data (in the form of areas and percentages) was calculated for each category and for permeable/impermeable surfaces. The map deliverable below displays the classified image and accompanying data.
     ArcGIS was used to make the final map product but it can also run an unsupervised classification by using the Iso Cluster tool and the Maximum Likelihood Classification tool. It is  necessary, however, to possess the Spatial Analyst extension.

Map 1 Unsupervised Digital Image Classification of the University of West Florida Campus

Tuesday, October 27, 2015

Remote Sensing: Module 8 - Thermal Imagery

     In continuing with digital image processing, thermal imagery is introduced. Thermal remote sensing is unlike other forms of remote sensing in that sensors record emitted energy as opposed to reflected energy. A general rule of thumb when examining thermal data is that good absorbers are good emitters of thermal radiation while good reflectors are poor emitters of thermal radiation. Thermal characteristics will also vary by time of day and season which is taken into consideration when planning a study or recording data for a site.
     Thermal imagery has a coarser spatial resolution than other bands because it has a larger instantaneous field of view. This came into play during the lab as there were two choices of imagery for analysis. I initially chose a different image than I ultimately used because I thought it had obvious features (like recently irrigated fields) to identify using the thermal layer (which was the goal of the assignment). The lab, however, wanted the feature highlighted in the map and when I attempted to make the map the irrigated field was too pixelated for useful visual analysis. Thus, the map deliverable below. It shows an image with a better spatial resolution (and I chose a large feature to eliminate scale issues altogether). On the left side of the map is the feature visualized in a band combination (4, 5, 1) that highlights its extent. On the right side of the map is the thermal layer (Landsat ETM+, Band 6) displayed using a red, yellow, and blue gradient. 
     The thermal image shows a distinct spot near the coast that is much warmer than the surrounding water (also note the red areas as evidence of cultural activity/urbanization). When it is visualized in the multispectral image it shows as a bright red swath along the coast. The red is a result of reflected near infrared energy. This could indicate some photosynthetic activity or agricultural runoff. A combination of histrogram analysis/manipulation, viewing the image in greyscale for each band, and the inquire tool (in Imagine) were used to analyze this image.

Map 1: An Exercise in Thermal Image Interpretation

Tuesday, October 20, 2015

Remote Sensing: Module 7 - Image Preprocessing Part 2

     This assignment continues examining image processing techniques by way of multispectral analyses. Different band combinations can be used to tease out information that may be missed when viewing an image in true color. In other instances, true color is the best option for viewing a given feature. What band combination is best is ultimately determined by what feature is under examination.
     Three features were described in our lab assignment and we were tasked with identifying them based on the given criteria. Histogram spikes and trends helped indicate whether a feature has dark or bright pixel values. From there, examining greyscale versions of each band in conjunction with multispectral versions of the image aid in visually assessing trends and confirming patterns in the histogram. In ERDAS Imagine, the Inquire Cursor is invaluable. It provides information about a pixel for each band including its frequency and LUT value. The Inquire Cursor helped confirm the features described.
    Below are the map deliverables for this assignment. Each map shows one identified feature displayed in a band combination that highlights that aspect. An inset map is included in true color to provide a true-to-life context. Without giving away too much detail, the first feature is a water body as the pixel characteristics matched the histogram characteristics provided for a certain layer. The second and third features are snow atop a mountain peak and sediment in water, respectively. The pixel values also fit the given description. Band combinations are noted on each map with a brief note on why that combination is used. t

Feature 1

Map 1 Feature Identification Exercise Using Multispectral Analysis -- Water Bodies 
Feature 2
Map 2 Feature Identification Exercise Using Multispectral Analysis -- Snow
Feature 3
Map 3 Feature Identification Exercise Using Multispectral Analysis -- Variation in Water

Tuesday, October 13, 2015

Remote Sensing: Module 6 - Image Preprocessing Part 1

     This modules covers spatial enhancements and image preprocessing. The exercise introduces the USGS Global Visualization Viewer where satellite and aerial data can be browsed and downloaded. These satellite images can then be imported into ERDAS Imagine for analysis. Some of the Landsat imagery exhibits striping due to a sensor malfunction and in this lab we attempted to correct for this phenomenon with spatial enhancements. These can be performed in either ArcMap or Imagine. Edge detection, Fourier transformations, and other techniques help in getting the most out of remotely sensed data.
     Two maps below show my attempts at image enhancement. The first one is the map deliverable for the exercise. I used the Focal Analysis tool in Imagine iteratively. That is, I performed a focal analysis calculating the mean of a 3x3 kernel (excluding 0 values from the calculations) and applying those values to pixels with a value of 0. Performing this analysis to each end product of the previous analysis (using the same exact settings) results in gap closure. The image, however, is not perfect and there is a disconnect between the gap filled areas and the original data. causing it too look like an improper join. This image is a composite between the original banded image and the modified image. Other methods attempt to fill missing data by using Fourier transformations in conjunction with other filters (low pass, high pass, range/edge detect, sharpening).
Map 1: Image Enhancement Exercise Using Landsat Satellite Imagery
     The second map I created shows some of the end products of combinations of filter effects and enhancements including focal statistics, histogram adjustments, and altering raster display settings. The top left image is the original, unaltered image with gaps. The top right is the image I used in my final map above. The bottom left and bottom right images are composites using the banded image. The bottom left image uses a Fourier transformed, sharpened image. The bottom right image was made by using focal statistics (maximum) and a Fourier transformation. 

Map 2: Various Attempts at Image Enhancement Using Different Methods

     While you can perform these enhancements in ArcGIS, I predominately used ERDAS Imagine. Both programs are great but I like that I could open four views in Imagine and compare them simultaneously. Imagine also lets you preview the alterations which I found helpful. 


Tuesday, September 29, 2015

Remote Sensing: Module 5, Part One - Introduction to Electromagnetic Radiation & ERDAS Imagine

     This week's module broadly examines EMR and its significance in Remote Sensing (how reflection, refraction, scattering, absorption, etc. impact remote sensing technologies). This week's lab is separated into three exercises aimed at examining the properties of electromagnetic radiation and introducing ERDAS Imagine (an analytical tool used in remote sensing in conjunction with other GIS products). (Here is a brief overview by the Office of Surface Mining of Imagine with links to PDF directions). The first exercise concentrates solely on calculations of wavelength, frequency, and photon energy (C = λν and Q = hν) to look at the particle and wave theories of light. The second exercise focuses on understanding the graphic use interface of Imagine as well as manipulating parameters and exploring various types of raster data. The final exercise prepares data in Imagine and exports it for map making in ArcGIS.
      This third exercise produces the sole cartographic output of the module. To complete this portion I used a classified raster image of Washington State and randomly chose a section (using the Inquire Box tool) to analyze. I also added an Area column to the attribute table. This area data was then incorporated into the legend made in ArcGIS. Imagine has some tricky aspects to it but the layout somewhat resembles that of the GUI of ArcMap. Thus, some tasks seemed intuitive (like right clicking a layer in the Contents panel and editing the attribute table). The Help for this program is also similar to ArcGIS and easy to navigate.
     I included my map below showing the random subset of forest land I selected. The legend shows the seven raster classifications with their concomitant areas in hectares.  
Map 1: A Map Exercise Using a Classified Forest Land Raster of Washington State.

Tuesday, September 22, 2015

Remote Sensing: Module 4 - Ground Truthing and Accuracy Assessment

     I recently attended a workshop on non-destructive means of archaeological survey. We discussed photogrammetry, magnetometry, photogrammetry, and LIDAR, among other things (like soil resistance). In all of these methodology discussions, the researchers drove home the point of ground truthing. This can be a challenge if the area in question is truly remote. Or, as a distance learning student for instance, I cannot actually visit the sites we use in our lab exercises. For situations like this it is necessary to use high resolution (at least higher than the original imagery) imagery to assess the accuracy of land use and land cover classifications. For this course, we use Google Maps to examine the accuracy of the classification exercise performed the previous week.
     There are several ways to design a ground truthing/accuracy assessment survey. The method chosen is a function of available resources (time, man power, budget). I chose a stratified random sampling method wherein which I chose a random point location in the various classification groups. I tried to create a representative sample with at least a single random observation in each category. The random points were checked against Google Maps street views or for areas where there is no street view zooming in as close as possible.
     Typically an error matrix is generating to examine overall accuracy, user accuracy (commission error), and producer's accuracy (omission error). For this assignment we were only asked to calculate the overall accuracy (percentage of correct classifications). Below is the map deliverable showing the overall accuracy percentage and the points used for accuracy assessment. I had the highest success in identifying residential areas and the lowest success at classifying vegetation (time for more hikes!). I also experienced some confusion between commercial and industrial. This exercise was incredibly helpful and addicting. It was hard for me to not spend too much time on every part of the map. The best feeling for me was starting to familiarize myself with Pascagoula. I was getting to the point where I could orient myself by "landmark" shapes of roofs, water towers, and schools.


Map 1: Land Use/Land Classification Ground Truthing and Accuracy Exercise 
If I ever find myself in Mississippi, I may have to make my way to Pascagoula just to ground truth my virtual ground truthing.

Monday, September 14, 2015

Remote Sensing: Module 3 - Land Use Land Cover Classification

Introduction to land use versus land cover

     The focus of the project this week is to identify and classify different land uses and land cover types. This exercise builds upon last week's work with recognition elements. It provides an introduction to another use of aerial photography: assessing natural and urban resources. There are several different classification systems and their usefulness depends upon the scale of the research question or goal of the project. This exercise referenced the USGS Standard Land Use/Land Cover Classification System up to Level II (and for a few instances, Level III).
     Tasks for this lab included deciding upon a scale to use,  generating a visual standard using recognition elements (to ensure uniformity and consistency), and digitizing features by use or cover type up to Level II classifications. [A more practiced eye will no doubt find error in my classifications but bear in mind that we were only asked to spend up to 4 hours as we will be revisiting this map in a later exercise.]
     The map deliverable is shown below. This area (Pascagoula, MS) is largely dominated by urban/built up land and to a lesser extent water with forest land. I was able to identify commercial areas, industrial areas, main roads, and public/private service areas (like schools, cemeteries). I used the same ArcGIS tools as last week to digitize these features and modify their attributes in the attribute table. It was easy to get lost in this assignment. Once you start to really recognize features it became hard not to classify every minute change in land use/land cover.
Map 1: Land Use/Land Cover Classification Exercise  
As a personal aside, I flew back from Washington earlier this week and was able to get live practice at identifying land use and land cover. I played a sort of I Spy and saw agricultural areas, pastoral land, small towns, the airport (obviously), and mountain ranges to name a few things. At any rate, I had a GIS/carto nerd moment.  

Tuesday, September 8, 2015

Remote Sensing: Module 2 - Interpreting Aerial Photography

     This module introduces aerial imagery interpretation. There are several elements of interpretation that help in determining what features are in aerial imagery. Tone, texture, size, and shape are among the basic elements while pattern, shadow, and association are more complex methods of interpretation. Independently and in concert these elements help in the analysis of an image.
     Three exercises in this lab aimed at practicing aerial image interpretation. The first exercise deals with the basic elements of interpretation. The second involves slightly more advanced elements such as pattern and association. The third exercise has no map output but involved examining the color of features in true color imagery (colors we can see) versus false color (other wavelengths). What follows is a more detailed discussion of each exercise and the maps created as a result. 

­Exercise 1
     Tone and texture in this exercise are identified and classified based upon increasing tonal values (very light to very dark) and a range of textures (from very fine to very coarse). Identifying tone is intuitive as the lightest and darkest portions of the image are easily identified (see the screenshot below). To aid in assessing the tone differences I used a grey scale. Texture, however, is not as straightforward. While I felt that I appropriately classified texture, another image analyst may feel what I designated as mottled is actually coarse. It seems more subjective than identifying tone. Below is the map I generated showing areas classified within a range of textures and tones. Five areas for each category are included. For tones, the classes are very light, light, medium, dark, very dark. For texture, the classes are very fine, fine, mottled, coarse, and very coarse.   

Exercise Map Product - Tone and Texture
This map shows various regions highlighted and classified by tone and texture.
Tone classifications range from very light to very dark while texture ranges from very fine to very coarse.
Exercise 2
     In this exercise the elements shape, size, shadow, pattern, and association are used to identify various features in this image. Three features are identified in each one of these categories with association being the exception with only two features. In the shape category, I identified a body of water, a road, and a swimming pool (difficult to see in this scaled down map). Each of these features have a distinct shape and size that allowed me to identify them. The swimming pool, for instance, is uniquely shaped and relatively small when compared to the other water features in the image (and also by association, near a residential area). Using their shadows I was able to identify a sign post, pier, and water tower (also a unique shape). Pattern is one of the higher order visual elements and I used different scales to determine the patterns of various features. When the image is at full extent, the coastal vegetation and residential areas are readily apparent but the parking lot looks like an indistinct, grey rectangle-like area. When that area is magnified the white, ordered outlines of the individual parking spots become visible and therefore easier to analyze. The last identification category is association. These features are identified by their context. For instance, I identified what looks like a motel based upon its shape and surrounding features (like signage, a small swimming pool between two mirrored buildings). The beach is also obvious based on its association and proximity with the ocean, pier, coastal vegetation, and strip of buildings lining it.
     The final output is seen in the screenshot below. Each feature is marked by a colored symbol that is representative of the identification element used.   
 
Exercise Map Product - Interpretive Elements
This map displays features identified by shape/size, shadow, pattern, and association
(combining multiple factors to come to an interpretive conclusion). 
Exercise 3
     For this portion of the lab, I looked at a true color image and compared features identified in that image against those same features in a false color version of the image. The goal is to become acquainted with viewing the world in alternative wavelengths/colors. As an example, the true color of vegetation is green but in a false color infrared image (where red light is green, green light is blue, and near infrared is red) those same plants will display in red. This is a function of the type of light that plants reflect (near infrared and green) and absorb (red). It is fun to view the world in alternative color schemes and also incredibly informative. In the plant example above, the redder the vegetation typically the healthier it is. There is much information to be gathered by examining alternative spatial resolutions.  

Map Composition
     I used the Draw tools to create polygons and point locations in their respective exercises. The Editor tool was used to modify the attribute tables of the layers created by using the Draw tool (converting drawings to graphics and saving as .shp files).