kt6

From DavinciWiki
Jump to: navigation, search

Description

Generates the "Tasseled Cap" KT6 derived imagery from a given set of LandSat Thematic Mapper imagery.

Arguments and Return Values

Arguments: 6 Thematic Mapper bands (1-5 and 7), and optionally a mode parameter

Return Value: A float greyscale image

Usage

Syntax: kt6(tm1, tm2, tm3, tm4, tm5, tm7 [, mode = INT])

This function (and the related functions kt1, kt2, kt3, kt4, and kt5) generate imagery derived from LandSat Thematic Mapper data using the "Tasseled Cap" method (similar to pca, but with a fixed matrix of coefficients).

The optional mode parameter specifies the format of the input data: 0 = LandSat 4 reflectance data, 2 = LandSat 7 reflectance data, 3 = LandSat 4 DN ("digital number") data, 4 = LandSat 5 DN ("digital number") data. If this parameter is not specified, then it defaults to 0.

The coefficients for this function are based on the tables in the Arizona Remote Sensing Center, Office of Arid Lands Studies' documentation.


Examples

dv> tm1
2000x1000x1 array of float, bsq format [8,000,000 bytes]

dv> tm2
2000x1000x1 array of float, bsq format [8,000,000 bytes]

dv> tm3
2000x1000x1 array of float, bsq format [8,000,000 bytes]

dv> tm4
2000x1000x1 array of float, bsq format [8,000,000 bytes]

dv> tm5
2000x1000x1 array of float, bsq format [8,000,000 bytes]

dv> tm7
2000x1000x1 array of float, bsq format [8,000,000 bytes]

dv> result = kt6(tm1, tm2, tm3, tm4, tm5, tm7)
Generating a KT6 (Sixth Component) image.
2000x1000x1 array of float, bsq format [8,000,000 bytes]

dv> max(result)
1.665782452

dv> min(result)
-0.0004188235616

Images

Input bands:

NYC-Band Comparison.PNG

Result of KT6 processing:

NYC-KT6.PNG

False colour image where red = KT4, green = KT5, and blue = KT6:

NYC-KT4-KT5-KT6.PNG

False colour image where red = KT4, green = KT2, and blue = KT6:

NYC-KT4-KT2-KT6.PNG

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left

Recent Library Changes

Created On: 07-16-2012
Modified On: 05-02-2013

Personal tools