Thursday, September 18, 2014

Lab 2: Acquiring Surface Temperature from Thermal Images


Background and Goal
The main goal of this lab is to learn and understand how to acquire surface temperature information from remotely sensed images in a thermal band. This is necessary because thermal sensors only record radiant heat, and not kinetic heat. Kinetic heat is the true temperature of an object, while radiant heat is merely the heat that radiates from the object. This heat is measured in watts, while kinetic heat is measured in the familiar degrees of Fahrenheit, Celsius, or even Kelvin. In remote sensing software, a thermal image displays the radiant heat of scanned objects, and it is through the following process that these images are converted so that they display kinetic heat, or surface temperature. The final goal of this lab is to create a surface temperature map of the Eau Claire and Chippewa Counties.

Methods
The transfer of thermal data from radiant heat to kinetic heat involves three important equations. The first equation (Figure 1) converts the digital numbers (DN) of the image to at-satellite radiance. This equation results in an image that reveals the spectral radiance of the image (Lλ). Grescale is the rescaled gain of the image, and Brescale is the rescaled bias. Grescale is calculated by using the second equation (Figure 2), where LMAX is the spectral at-sensor radiance that is scaled to Qcalmax and LMIN is the spectral at-sensor radiance that is scaled to Qcalmin. QCALMIN is the minimum quantized calibrated pixel value that corresponds to LMIN and QCALMAX is the maximum quantized calibrated pixel value that corresponds to LMAX. All of this information is found in the image’s metadata. Brescale is equivalent to LMIN. The final equation (Figure 3) converts at-satellite radiance to a surface temperature in Kelvin (TB). Lλ is the radiance image that was created in equation one, while K2 and K1 are calibration constants that are specific to each different satellite.

Figure 1: The first equation in the process, revealing the spectral radiance of the image.
Figure 2: The second equation in the process, used to acquire the grescale (gain) of the image.
Figure 3: The third equation in the process, resulting in the final surface temperature image.

For this exercise, we used data from the Landsat 8 satellite, using an information from band 10 (Thermal Infrared). The raw thermal image can be seen in Figure 4. First, it was required to examine the metadata in order to find the LMAX, LMIN, QCALMAX, and QCALMIN values. For Landsat 8, the calibration constants are in the metadata as well. The values were then put into an excel table in order to complete equation two and get the grescale (Figure 5). From here, the model maker in ERDAS Imagine was used to process the rest of the equations. The model that was used can be seen in Figure 6. The model consists of three raster objects and two functions. The first raster object is the thermal image of the at-satellite radiance values (essentially DN from equation one). This raster is used in the first function (Figure 7) to create the second raster (essentially Lλ from equations one and three). However this is merely a temporary file, only being used to complete the final equation, in the second function of the model (Figure 8). This function creates an output file (the final raster), which is our surface temperature image.

Figure 4: The raw thermal infrared image.
Figure 5: The execution of equation two to acquire the grescale value. The equation
can be seen in the function bar above the excel cells.

Figure 6: The ERDAS Imagine model maker. 

Figure 7: The execution of equation one in
the model maker.
Figure 8: The execution of equation three in
the model maker.
Results
Figure 9 displays the surface temperature image, after it was turned into a completed map in ArcMap. It is very easy to see the temperature differences between water, concrete, and vegetation. Within ArcMap, it is possible to determine the exact kinetic temperature of each individual pixel using the identify tool.



Sources
Landsat image is from Earth Resources Observation and Science Center, United States Geological Survey.

Thursday, September 11, 2014

Lab 1: Removing Data Redundancy

Goal and Background
The goal of this lab is to learn the skills vital for extracting statistical data from satellite images, analyze image correlation models, and interpret the information from the correlation analysis. These skills are necessary to remove data redundancy when preparing data for an image processing project. Redundant data is unfavorable because it doesn't display any new information, and it extends duration of computer processing when running complex models. Because these models often take a long time to run, it is important to remove any unnecessary processing time and thus speed up the process.

Methods
Because not all remotely sensed images have data redundancy, it is important to first create a visual model that quickly reveals any redundancy between bands in the image. This visual model is called a feature space plot. These models depict the brightness values of two bands in a plot diagram. Once the models are completed, it is very easy to see the relationships between bands. If the plot has a broad spread, then the two bands have a low correlation and don’t share redundant data (Figure 1). If the plot has a narrow spread, then the two bands have a higher correlation that may be a source of data redundancy (Figure 2).

Figure 2: A space plot with a narrow spread, signifying
redundant information.
Figure 1: A space plot with a broad spread, signifying
unique information.
To see this process in action, we used ERDAS Imagine to create feature space plot models between all six bands in a remotely sensed image of Eau Claire (Figure 3). The process produced 15 models total, which can all be seen in Figure 4. This process is an easy way to visualize relationships between bands in an image, but it doesn’t reveal any precise information about the correlation of the two bands. To do this, we conducted a correlation analysis. This process calculates the degree of interrelationship between two bands by comparing the sum of each band’s brightness values. The result of the correlation calculation is a coefficient between negative one and positive one, where values further from zero (closer to -1 or 1) indicate high association while values close to zero indicate low association. High association between two bands creates data redundancy, while low association assures unique information from each band. Generally, if two bands have a correlation value above 0.95 it is seen as redundant data, and one of the bands should be removed.


Figure 3: The remote sensed image of the Eau Claire area that we are checking for redundancy.

Figure 4: The space plot results for each relationship between the six different bands in the image.

To practice this, we used ERDAS Imagine to create models that extract matrix information from raster images, using a function that displays correlation data. Figure 5 shows the Model Maker that was used in ERDAS. For this exercise, we used the image of Eau Claire from before (Figure 3), a high resolution image of the Florida Keys (Figure 6), and a high resolution image of the Bengal Province of Bangladesh (Figure 7). In the Model Maker, these raster image files were connected to the raster object. From there a function was assigned to the function object. The function we used was ‘CORRELATION (<raster>, IGNORE 0)’, replacing <raster> with the file of the raster that we were analyzing. This function then exported a matrix of the correlation values between each object.

Figure 5: The model that was created to create a correlation matrix. The top
object is the input file (the image), the middle object is the function, and the
bottom object is the output file (the matrix).

Figure 6: The remotely sensed image of the
Florida Keys.
Figure 7: The remotely sensed image of the
Bengal Province in Bangladesh.


Results
From the feature space plots seen in Figure 4, it is quite clear that there is redundant data (notice the plots with narrow spread). This is made even clearer after completing the correlation analysis of the Eau Claire image, and looking at its correlation matrix (Figure 8). Bands 2 and 3 have a very high correlation value of 0.9427, which is a strong sign of data redundancy. From here, a decision must be made as to which band should be removed. The Florida Keys image and the Bangladesh image both have significant data redundancy as well, as seen in Figures 9 and 10. Each matrix displays a correlation value that is well over 0.95. In each of these images, a band would have to be removed in order to eliminate data redundancy.

Figure 8: The Eau Claire correlation matrix. This displays the correlation values between
each relationship between the bands. Highlighted is the correlation between bands 2 and 3, which
has the highest correlation (redundant data).

Figure 9: The Florida Keys correlation matrix. Highlighted is the highest correlation value,
showing that the data from bands 1 and 2 are very highly correlated.

Figure 10: The Bengal, Bangladesh correlation matrix with the highest correlation value highlighted.

Sources
The Eau Claire image is from Earth Resources Observation and Science Center, USGS.
The Florida Keys and Bangladesh images are from Global Land Cover Facility, at www.landcover.org