Sunday, November 17, 2013

Lab 5

Goal and Background


The goal of this lab was to introduce myself to some important analytical processes in remote sensing. The lab explored RGB to IHS transformations, image mosaicing, spatial and spectral image enhancement, band ratio, and binary change detection. The end result of the lab was enabling me to apply all the analytical processes introduced in this lab in real life projects.


Methods


This lab was completed mostly using Erdas Imagine, and a little bit of Esri ArcGis.
The first section introduced me to RGB to IHS transformations and reversing them. First, I observed an image of the Eau Claire area, then used the RGB to IHS tool to create a new image. I then compared them, considering color characteristics and their histograms. I continued by transforming this image back to RGB, and comparing it with the original RGB image.

In the next part of the lab, I performed image mosaicing. In Erdas Imagine, I opened two images, and displayed them in virtual mosaic. This allowed me to view them overlapping each other. I then used Mosaic Express to perform an actual mosaic. I chose the order of my images, and left many of the default parameters, and ultimately ran the mosaic. I displayed the output image, and noted that the color transition from one of the input images to the other was not very smooth. I then repeated this process in MosaicPro, which is a more robust mosaic tool. I used a histogram matching color tool, and noted that the output image for this method had a much smoother color transition from one input image to the next. I compared the quality of each of these mosaic images.

In the next section, I performed band ratioing by implementing the normalized difference vegetation index (NDVI) on an image of the eau claire area. I did this using the NDVI tool in Erdas Imagine. Leaving many of the default parameters, I created the NDVI image and brought it into my viewer. I analyzed the various values in the image, noting that it is a great tool for highlighting areas of vegetation.

Next, I performed spatial and spectral image enhancement. I used a low pass filter on a high frequency image of Chicago using the Convolution tool. I chose a low pass kernel type, and noted the differences betweent the resulting image and the original one. I then repeated this process, but used a high pass filter on an image of Sierra Leone (a low frequency image). Next, I performed edge enhancement. I used the same convolution window, but this time selected a kernal type called 3x3 Laplacian Edge Detection. It helped to highlight areas where there were abrupt changes in pixel values. I next applied Spectral enhancement on an image of the Eau Claire area. I used the General Contrast tool in Erdas Imagine to perform a Gaussian minimum maximum contrast stretch on the image. On another image (this time not Gaussian) I performed a piecewise contrast stretch using the piecewise contrast tool. This allowed me to specify the modes in the histogram of the bimodal image that were to be stretched. Next, I used the histogram equalization method to improve contrast on an image of the Eau Claire area. For this I used the Histogram Equalization tool, and accepted all default parameters. The output image's contrast was indeed greatly reduced.

In the final portion of the lab I performed binary change detection (image differencing). This allows an image interpreter to identify areas of change between two images. I used a raster tool called Two Image Functions to access the Two Input Operators interface. I specified the input files and bands to be differenced, and used a subtract method. When I opened the output file, I noted that this method did not allow me to see areas of change. I then viewed the histogram and noted that areas where the pixels changed are usually at the tails of the Gaussian histogram curve. I calculated a threshold for these as mean + 1.5 standard deviations. This is marked and provided below. Next, I mapped changed pixels in differenced image using the Spatial Modeler tool. Here, I created a model that brought two images of the Eau Claire (one in 1991, and one in 2011)area to this equation:
$n1_ec_envs_2011_b4 - $n2_ec_envs_1991_b4 + 127
which subtracts the 1991 image from the 2011 image and adds a constant. I named the output image and ran the model. I viewed the output image's histogram, and calculated the change threshold as mean + (3 x standard deviation). I then created a new model, with a single input, an equation and an output. I used the following equation to show all pixels above my threshold, and mask those that werent.
EITHER IF ( $n1_ec_91> change/no change threshold value) OR 0 OTHERWISE
I ran the model, and took my results to Esri ArcGis. I mapped the areas of change above a background image of my study area. This is provided below.

Results


RGB to IHS Transform
IHS back to RGB Transform
Image Mosaic
Minimum-Maximum Contrast Stretch
Piecewise Contrast Stretch
Histogram Equalized Image
Image Differencing Histogram

No comments:

Post a Comment