kt3

From DavinciWiki
Jump to: navigation, search

Description

Generates the "Tasseled Cap" KT3 ("Wetness") 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: kt1(tm1, tm2, tm3, tm4, tm5, tm7 [, mode = INT])

This function (and the related functions kt1, kt2, kt4, kt5, and kt6) 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 = kt3(tm1, tm2, tm3, tm4, tm5, tm7)
Generating a KT3 (Tasseled Cap - Wetness) image.
2000x1000x1 array of float, bsq format [8,000,000 bytes]

dv> max(result)
0.2168529630

dv> min(result)
-0.7516289949

Images

Input bands:

NYC-Band Comparison.PNG

Result of KT3 processing:

NYC-KT3.PNG

False colour image where red = KT1, green = KT2, and blue = KT3:

NYC-KT1-KT2-KT3.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