Re: [GRASS-user] Inverse PCA in GRASS

2008-01-25 Thread Moritz Lennert
On 25/01/08 02:18, Hamish wrote: Markus: The question is if we want to introduce Fortran code again in the main repository. are the results of f2c human-readable? Or for conversion to C would it need a rewrite by hand? I've never found f2c results very useful to create "real" C code. If you

Re: [GRASS-user] Inverse PCA in GRASS

2008-01-24 Thread Andreas Philipp
Am Donnerstag, den 24.01.2008, 17:23 -0800 schrieb Dylan Beaudette: > On Thursday 24 January 2008, Brad Douglas wrote: > > On Thu, 2008-01-24 at 14:58 -0800, Dylan Beaudette wrote: > > > On Thursday 24 January 2008, Markus Neteler wrote: > > > > On Jan 24, 2008 7:25 PM, Dylan Beaudette <[EMAIL PRO

Re: [GRASS-user] Inverse PCA in GRASS

2008-01-24 Thread Dylan Beaudette
On Thursday 24 January 2008, Brad Douglas wrote: > On Thu, 2008-01-24 at 14:58 -0800, Dylan Beaudette wrote: > > On Thursday 24 January 2008, Markus Neteler wrote: > > > On Jan 24, 2008 7:25 PM, Dylan Beaudette <[EMAIL PROTECTED]> wrote: > > > > On Thursday 24 January 2008, Markus Neteler wrote: >

Re: [GRASS-user] Inverse PCA in GRASS

2008-01-24 Thread Hamish
Markus: > The question is if we want to introduce Fortran code again in the > main repository. are the results of f2c human-readable? Or for conversion to C would it need a rewrite by hand? Hamish Be a

Re: [GRASS-user] Inverse PCA in GRASS

2008-01-24 Thread Brad Douglas
On Thu, 2008-01-24 at 14:58 -0800, Dylan Beaudette wrote: > On Thursday 24 January 2008, Markus Neteler wrote: > > On Jan 24, 2008 7:25 PM, Dylan Beaudette <[EMAIL PROTECTED]> wrote: > > > On Thursday 24 January 2008, Markus Neteler wrote: > > > > I have added m.eigensystem to GRASS Addons SVN with

Re: [GRASS-user] Inverse PCA in GRASS

2008-01-24 Thread Dylan Beaudette
On Thursday 24 January 2008, Markus Neteler wrote: > On Jan 24, 2008 7:25 PM, Dylan Beaudette <[EMAIL PROTECTED]> wrote: > > On Thursday 24 January 2008, Markus Neteler wrote: > > > I have added m.eigensystem to GRASS Addons SVN with a slightly > > > updated Makefile. Grab here: > > > http://trac.o

Re: [GRASS-user] Inverse PCA in GRASS

2008-01-24 Thread Markus Neteler
On Jan 24, 2008 7:25 PM, Dylan Beaudette <[EMAIL PROTECTED]> wrote: > On Thursday 24 January 2008, Markus Neteler wrote: > > I have added m.eigensystem to GRASS Addons SVN with a slightly > > updated Makefile. Grab here: > > http://trac.osgeo.org/grass/browser/grass-addons/m.eigensystem > > > > or

Re: [GRASS-user] Inverse PCA in GRASS

2008-01-24 Thread Dylan Beaudette
On Thursday 24 January 2008, Markus Neteler wrote: > HamishB wrote: > > Michael Perdue wrote: > >> I think what your asking is if anyone knows how to apply the > >> transformation matrix that was used to derive you pca components in > >> reverse to get back to the original coordinate system. Someth

Re: [GRASS-user] Inverse PCA in GRASS

2008-01-24 Thread Markus Neteler
HamishB wrote: > > Michael Perdue wrote: >> I think what your asking is if anyone knows how to apply the >> transformation matrix that was used to derive you pca components in >> reverse to get back to the original coordinate system. Something like >> what is done in a decorrelation stretc

Re: [GRASS-user] Inverse PCA in GRASS

2007-12-11 Thread Hamish
Michael Perdue wrote: > I think what your asking is if anyone knows how to apply the > transformation matrix that was used to derive you pca components in > reverse to get back to the original coordinate system. Something like > what is done in a decorrelation stretch? > Hopefully someone mor

Re: [GRASS-user] Inverse PCA in GRASS

2007-12-09 Thread Brad Douglas
On Thu, 2007-12-06 at 15:47 -0700, Michael Perdue wrote: > if the i.pca is capable of divulging the eigenvectors, you can use > r.mapcalc to apply them in reverse. else; FYI, I modified i.pca awhile back to write eigenvectors to all output histories and properly handle null cells. -- 73, de B

Re: [GRASS-user] Inverse PCA in GRASS

2007-12-06 Thread Venkatesh Raghavan
Michael and Dylan, Thanks for the response. The image fusion method that we are trying to implement on GRASS is briefly described in the paper below and also quite a few others that I have skimmed through. Multisensor image fusion in remote sensing: concepts, methods and applications by POHL an

Re: [GRASS-user] Inverse PCA in GRASS

2007-12-06 Thread Michael Perdue
Venka, I think what your asking is if anyone knows how to apply the transformation matrix that was used to derive you pca components in reverse to get back to the original coordinate system. Something like what is done in a decorrelation stretch? Hopefully someone more knowledgeable than I c

Re: [GRASS-user] Inverse PCA in GRASS

2007-12-06 Thread Dylan Beaudette
On Thursday 06 December 2007 08:05:28 am Venkatesh Raghavan wrote: > Dear All, > > Commonly described method for image fusion in > in several publications involves inverse PCA transform > to get the new R,G,B bands of multispectral image from > the principle components. > > Does any of you know a s

[GRASS-user] Inverse PCA in GRASS

2007-12-06 Thread Venkatesh Raghavan
Dear All, Commonly described method for image fusion in in several publications involves inverse PCA transform to get the new R,G,B bands of multispectral image from the principle components. Does any of you know a script or an algorithm to implement inverse PCA in GRASS? Thanks in advance. Ve