kt4
Contents: Description, Arguments, Usage, Examples, Images, Related Functions, Source Supported Under Version: > 1.00
Description Generates the "Tasseled Cap" KT4 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: kt4(tm1, tm2, tm3, tm4, tm5, tm7 [, mode = INT]) This function (and the related functions kt1, kt2, kt3, 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 = kt4(tm1, tm2, tm3, tm4, tm5, tm7) Generating a KT4 (Tasseled Cap - Fourth Component) image. 2000x1000x1 array of float, bsq format [8,000,000 bytes] dv> max(result) 0.1139493585 dv> min(result) -0.2797231674
|
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Recent Library Changes Created On: 07-16-2012 |