<p>Maybe a complex number structure would be good where only the real part is analyzed by pca and the imaginary part is keeping a unique id for each original pixel...</p>
<div class="gmail_quote">On Feb 10, 2013 11:51 AM, "Markus Neteler" <<a href="mailto:neteler@osgeo.org">neteler@osgeo.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Thu, Feb 7, 2013 at 10:21 AM, Rashad M <<a href="mailto:mohammedrashadkm@gmail.com">mohammedrashadkm@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I am trying to develop a tool for grass which is one of the things that<br>
> xgobi[1] does. The idea is from Markus Neteler which is to identify pure<br>
> pixel/end members from a PCA plot.<br>
<br>
Background: it has been shown that pure pixels (endmembers) for spectral<br>
unmixing are in the corners of the PCA feature space.<br>
<br>
Attached an old drawing from my master thesis (1999) about the topic.<br>
<br>
> Since i.pca transforms pixel position is lost.<br>
<br>
This is why I used the coordinates as raster pixel *attributes* in XGOBI<br>
to relate original pixels and PCA transformed pixels to each other.<br>
<br>
The east, north coordinates I stored as attributes, the PCA in XGOBI<br>
supported to keep them alongside the transformed pixel. Solved.<br>
<br>
What's needed in GRASS: That the i.pca modules allows to keep<br>
raster pixel text labels in which the original position could be stored.<br>
Then a little parsing of the category label and the original position<br>
of a PCA transformed pixel could still be retrieved.<br>
<br>
Hope this explains what I did those days in my thesis.<br>
<br>
cheers<br>
Markus<br>
<br>_______________________________________________<br>
grass-dev mailing list<br>
<a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-dev</a><br></blockquote></div>