comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Tasselated Cap in IDL?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Tasselated Cap in IDL? [message #81191] Mon, 20 August 2012 09:59 Go to next message
DavidF[1] is currently offline  DavidF[1]
Messages: 94
Registered: April 2012
Member
Folks,

Has anyone implemented a Tasselated Cap algorithm for LandSat data in IDL? I realize this exists in ENVI, but I am looking for an IDL-only solution.

Thanks,

David
Re: Tasselated Cap in IDL? [message #81219 is a reply to message #81191] Wed, 29 August 2012 05:45 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Yngvar Larsen writes:

> Sorry for late answer, but since nobody answered yet...
> (Though likely you already resolved this by yourself,
> since Google knows the answer.)

Yes, but like most things, the answer is a little bit
more complicated than you think it is going to be. :-)

Anyway, I've written a cgTasseledCap function that goes
along with a cgTasseledCapCoeffs function that can
return a number (eight, if I remember correctly) of tasseled
cap matrices with coefficients for performing the
operation, depending upon what kind of data you have.

Most of the coefficients apply to various types of LandSat data,
but there are some Quickbird coefficients there as well.

I haven't officially released the code yet, as I am still
testing it. But, I'm reasonably sure it is working correctly.
Look for it by the end of the week.

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Tasselated Cap in IDL? [message #81222 is a reply to message #81191] Tue, 28 August 2012 23:09 Go to previous message
Yngvar Larsen is currently offline  Yngvar Larsen
Messages: 134
Registered: January 2010
Senior Member
On Monday, 20 August 2012 18:59:19 UTC+2, Coyote wrote:
> Folks,
> Has anyone implemented a Tasselated Cap algorithm for LandSat data in IDL? I realize this exists in ENVI, but I am looking for an IDL-only solution.

Sorry for late answer, but since nobody answered yet... (Though likely you already resolved this by yourself, since Google knows the answer.)

Not sure what your actual problem is? The Tasseled Cap transformation is just a linear combination of (a selection of) the bands of a multispectral imager. So the actual IDL code would be something you literally implement in 2 minutes. So I guess you are looking for the weights to use? That of course depends on which Landsat data you have.

For Landsat TM and the older Landsat MSS, there is a useful summary here: http://www.sjsu.edu/faculty/watkins/tassel.htm

For Landsat 7 ETM+, you can try Table 2 in the following document:
http://landcover.usgs.gov/pdf/tasseled.pdf

--
Yngvar
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Inheriting Properties (or something similar) in IDLDOC
Next Topic: Re: A simple DLM question

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:39:42 PDT 2025

Total time taken to generate the page: 0.00699 seconds