Re: Principle Componets Analysis [message #55519 is a reply to message #55516] |
Thu, 23 August 2007 12:32   |
Jeff N.
Messages: 120 Registered: April 2005
|
Senior Member |
|
|
On Aug 23, 2:27 pm, David Fanning <da...@dfanning.com> wrote:
> Folks,
>
> Is it just me, or is this turning into an ENVI forum...
>
> I have three bands of a Landsat image. They come in
> three separate files (GEOTIFF). I have opened all three
> in ENVI. I wish to perform a principle components analysis
> of these three images, and capture the first principle
> component for further analysis.
>
> ENVI seems to want to have these three images in the
> same file or something. In any case, I can't work out
> how to get these three images into the PC apparatus.
> Perhaps if I could make a new ENVI image of these three
> bands? What if I wanted to do the analysis with four image
> bands?
>
> Any help appreciated.
>
> Thanks,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
David,
You can easily combine different images into a single cube in ENVI.
Just go to File -> Save File As -> Envi Standard. Note that this
"File" menu is in the main ENVI menu, not the file menu for a display
window. You can do it for any number of bands, even different
combinations of bands in different images, and once you combine them
the PCA should work just fine.
Jeff
|
|
|