Monday, April 30, 2018

Remote Sensing Lab 7: Photogrammetry

Introduction: In this lab, we learned how to utilize certain photogrammetry techniques on aerial images. Specifically, we learned how understand the math behind analyzing features on images (i.e. relief displacement). We also learned the basis behind stereoscopy and orthorectification.

Methods:For the first part of the lab, we calculated statistics like Map Scale, measurement of areas on aerial photographs, and relief displacement, to give us a solid background on the math behind analyzing aerial images. For Map Scale, we were given two points on an aerial image, then given the equation s = (pd/gd), where pd is the distance between the two on the photo, and gd is the real world distance. We also utilized a different equation, where focal length of camera lens and flying height was utilized to calculate the scale. That equation is S = (f/(H-h)), where F is the focal lens length, H is the altitude above sea levele, and h is the elevation of terrain.

In measurement of areas and perimeters, we utilized the 'Measure Perimeters and Areas' digitizing tool in Erdas. And for relief displacement, we used the equation d = ((h*r/H), where h is the height of the object in the real world, r is the radical distance, H is the height of the camera above the datum, we were able to calculate relief displacement.

In the second part of the lab, we worked with producing stereoscopic images. Stereoscopic images is another way to say "3D" images, and we created two different 3D images to analyze. One image contained relief displacement, while the other did not. The two images were then used to create respective anaglyph images. The image with relief displacement used a separate DEM to create the image, while one without relief displacement utilized a DSM.

In the last part of the lab, we learned the process of orthorectifiying images. Orthorectification is the process of removing image perspective (i.e. tilt) and terrain for the purpose of creating a "correct" image. For this part, we took two separate images of the same area, one a reference image and the other an image set for orthorectification, then added control points to each image so they matched up. With the two images, we added 12 total control points. We then got rid of the reference image after all the control points were added to the orthorectification image, then added an overlapping third image so we could further enhance our orthorectification. With the two images set for orthorectification, we ran the model in ERDAS after adding all the control points, and produced an image with a high degree of accuracy in its spatial overlap.

Results:
Part 1

For the first  problems, we calculated Map Scale on an image. The image contained an A and a B point. With our measurements, we obtained:

2.7 inches for distance between point A and B on photo.
8822.7 feet for distance between point A and B in the Real World
2.7in / (8822.7ft*12in) 1:39,212.

Rounding up, the answer is 1:40,000.

With the second image, we were given a problem to calculate Map Scale using focal length and flying height. With our measurments, we obtained:

Focal Length = 152 mm
Altitude = 20,000 ft
Elevation = 796

152 mm/(20,000-796 ft) = 152 mm/19,204 ft = 152 mm / 5,853,379.2 mm. Scale = 1:38,509

Rounding up, the answer is 1:40,000

For calculating the area and perimeter of a given feature, we utilized Erdas 'Measure perimeters and areas' tool, and digitized an area around a lake on an image. With the digitizing, we obtained measurements of:

Area: 93.3549 acres, 37.7794 hectares
Perimeter 4071.37 meters, 2.5298 miles

In calculating relief displacement, we calculated the displacement on a smoke stack, and obtained these measurements:

Height of Object (real world) = 100.28 ft
Radical Distance = .479 ft.
Height of aerial camera = 3980 ft.

100.28 ft.  Radical Distance = .479 ft. (100.28-.479/3980) = .300 inches

Part 2

In part 2, we created two stereoscopic images to analyze. With the first image, we created the Anaglyph image using a DEM of Eau Claire and a section of Eau Claire with relief displacement on the image, Figure 1. 

Figure 1: Anagylph Image of Eau Claire
With the second image, we created a Anaglyph image of Eau Claire using a DSM derived from LiDAR, located in Figure 2. 
Figure 2: Anaglyph Image of Eau Claire using LiDAR 
Although it can't be seen on the blog, in ERDAS when comparting the two images, Figure 2 is a more an accurate 3D representation than Figure 1. Figure 1 contains relief displacement, which create inaccuracies within the image (i.e. there's a valley in Eau Claire with a gradual decline, however in Figure 1 it makes it look like a steep cliff).

Part 3
For this part, we orthorectified images to create a planimetrically correct image, as exhibited in Figure 3. 

Figure 3: Orthorectified Images
In analyzing the spatial overlap, the rivers and the road boundaries match up really well on all the boundaries I’ve seen. There are some discrepancies on the southeastern portion of the boundaries, where the roads and rivers don’t quite match up. However, on the western portion of the boundary, the roads and rivers match up quite well.

Conclusion: Photogrammetry and their techniques are important in the realm of remote sensing, because they help correct images into their planimetrically correct form. 

Sources: 
National Agriculture Imagery Program (NAIP) images are from United States Department of Agriculture, 2005.  
Digital Elevation Model (DEM) for Eau Claire, WI is from United States Department of Agriculture Natural Resources Conservation Service, 2010. 
Lidar-derived surface model (DSM) for sections of Eau Claire and Chippewa are from Eau Claire County and Chippewa County governments respectively.
Spot satellite images are from Erdas Imagine, 2009. 
Digital elevation model (DEM) for Palm Spring, CA is from Erdas Imagine, 2009. 
National Aerial Photography Program (NAPP) 2 meter images are from Erdas Imagine, 2009. 






















Monday, April 23, 2018

Remote Sensing Lab 6: Geometric Correction

Introduction: The goal of this lab is to learn how to correct distorted images geometrically in ERDAS, so they retain the accuracy of the data it displays.

Methods: For this lab, we corrected two images. To geometrically correct distorted images, there has to be a reference image to serve as a base for correcting the distorted image. For the first image we corrected, a map reference was used to rectify the first distorted image. For the second image, a geometrically correct image was used to rectify the second distorted image.

Once the images were placed side-by-side in a viewer, geometric control points (GCPs) were added to both the reference map/reference image, and the distorted images. Depending on the images, a different number of GCPs were placed on the the images. For the first image, because it was only moderately distorted, we used first order polynomial geometric correction, which means only a minimum of 3 GCPs are needed to correct the image. However, the second image was heavily distorted, so we used third order polynomial geometric correction, which there need to be a minimum of 10 GCPs.

Once the GCPs were added, they needed to be moved around so the root mean square error (RMS error) was low. A low RMS error consists of anything below 1 (like .2 would be an accurate correction). Once the GCPs were moved accordingly for a low RMS error, we were able to then geometrically correct the distorted image.

Results: For the first image, we corrected a distorted image of Chicago then match it with a reference map. In adding the control points, the product before the correction is found in Figure 1.
Figure 1: Distorted Image of Chicago (left) and Reference Map (right)
As stated in the methods section, the image was only moderately distorted, so only 3 GCPs were needed to correct the image (we added a fourth to ensure accuracy). In the bottom right corner of Figure 1, although hard to see, there is an RMS error of .2040, a low enough error rate to ensure a high rate of accuracy in the corrected image. Once the error rate was low enough, we ran the model.

For the second image we corrected, we used an image of Sierra Leone. This image was heavily distorted, and because of that we had to add at least 10 GCPs to ensure its accuracy, (we added 12 to be sure), which is found in Figure 3. 

Figure 3: Distorted Image of Sierra Leone (left) and its Reference Image (right)
Compared to the first image we corrected, this one we relied on a reference image instead of a reference map to correct the distorted image. In the bottom right corner of Figure 3, it shows an RMS error of .25, a low enough error rate to ensure a high rate of accuracy in the corrected image. Once the error rate was low enough, we ran the model.

Conclusion: Geometrically correcting images is important for ensuring the accuracy of the distorted image. Knowing the number of GCPs needed, and knowing the appropriate RMS error rate promotes the accuracy of correcting the distorted image.

Sources: Satellite images are from Earth Resources Observation and Science Center, United States Geological Survey
Digital raster graphic (DRG) is from Illinois Geospatial Data Clearing House































Tuesday, April 17, 2018

Remote Sensing Lab 5: LiDAR Remote Sensing

Introduction: The goal of this lab is to understand LiDAR data and it's applications within remote sensing. Using a dataset depicting the city of Eau Claire, Wisconsin, we were able to learn about some of the characteristics of LiDAR data in ArcMap, and how to create DTM and DSM products from the point clouds.

Methods:  In order to work with LiDAR data, we first had to learn some of the characteristics associated with it. LiDAR stands for Light Detection and Ranging. It is a specific kind of remote sensing that illuminates point information (or point clouds) back to the sensor, usually at a resolution of two square meters per point. In order to understand characteristics of LiDAR, we browsed through the metadata to see the coordinate systems, the datum, and how certain features are represented. With LiDAR, the point cloud feature obtains information like elevation (although not the most accurate, because it also obtains elevation for buildings), as well as classification codes for features (i.e. a classification code of "2" means the point is a ground, whereas a code of "6" means it is a building).

Using our knowledge of LiDAR data, we then created DTM and DSM images for analysis. Using the "LAS Dataset to Raster" and the "Hillshade" tool in ArcMap, we derived images like Hillshade of Eau Claire, and a localized spectral band of the Eau Claire area.

Results: With the LiDAR data, the first thing we did was configure the LiDAR data into raster form so we could create a DSM of our study area. Using elevation data from the point cloud, Figure 1 was created using the maximum values of elevation.
Figure 1: Elevation Data from the LiDAR Point Cloud Configured into Raster Format using the Maximum Values
Figure 1 depicts a smoothed out version of elevation minus the features. With Figure 1, we then analyzed the Hillshade of Eau Claire. Using the image, we used the Hillshade tool to create Figure 2

Figure 2: DSM of the Hillshade in Eau Claire
Figure 2 depicts the hillshade of Figure 1, but also includes features like trees, buildings, roads, and bodies of water. The texture seems rough at points, which is why we created a DTM of the Eau Claire area exhibited in Figure 3 for the minimum values of the elvation, which produced similar results to Figure 1.

Figure 3: Elevation Data from the LiDAR Point Cloud Configured into Raster Format using the Minimum Values

The only difference between Figure 1 and Figure 3 is one utilized the maximum elevation values of the point cloud, while the other utilizes the minimum values. Using Figure 3, we followed the same process as Figure 1 to Figure 2 to create a hillshade image, highlighted in Figure 4.
Figure 4: DTM of the Hillshade in Eau Claire
Comparing Figure 2 to Figure 4, Figure 4 represents the bare terrain of the elevation, which gives the image a better viewing experience when trying to discern hillshade, versus Figure 2 where the image is clouded up with various features.

Transitioning away from Hillshade, we then utilized the LiDAR data to create an intensity image. Using the "LAS Dataset to Raster" tool, Figure 5 was created.
Figure 5: Intensity Image of Eau Claire
Comparing the intensity image to a spectral band image, this image exhibits a higher spectral channel (1.064 micrometers, which is in the near-infrared), versus the near-infrared band in Landsat 8 (Band 5, which is between .85-.88 micrometers). The resolution of this image is also higher comparatively. Figure 5 has an image resolution of 2 meters, whereas Band 5 has a resolution of 30 meters.

Conclusion: Ultimately, learning about LiDAR data is important because it provides more geospatial data, which can be utilized for a multitude of endeavors.

Sources: LiDAR point cloud and Tile Index are from Eau Claire County, 2013.
Eau Claire County Shapefile is from Mastering ArcGIS 7th Edition Data by Margaret Price, 2016.
















Lab 8: Spectral Signature Analysis and Resource Monitoring

Introduction: In this lab, we learned how to produce spectral signatures for different kinds of surfaces in ERDAS. We also learned how resou...