<div dir="ltr">Hi All,<div><br></div><div style>As I discussed with markus Netler he pointed out the idea of having a pure pixel identification module for GRASS GIS. This will be very helful for spectral unmixing because pure pixels are found  in the corners of PCA space and since PCA transformed its spatial position is lost. see my other post "reg i.pca module" where I had discussion with Nikos, Markus and others.</div>

<div style><br></div><div style>So the point is it needs an interactive plot. I had gathered all other inputs for the module and planning to start coding next week. Since its gui and interactive scatter plot comes as a part it. I would like to know if there is anybody working on it. If not I can make it happen as a part of this new module</div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Dec 21, 2012 at 11:18 PM, Vaclav Petras <span dir="ltr"><<a href="mailto:wenzeslaus@gmail.com" target="_blank">wenzeslaus@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Stepan,<br>
<div class="im"><br>
On 21 December 2012 16:53, stepan.turek <<a href="mailto:stepan.turek@seznam.cz">stepan.turek@seznam.cz</a>> wrote:<br>
> Hi,<br>
><br>
> yesterday I discussed some ideas on improvement of supervised classification<br>
> capabilities in GRASS with Martin and a remote sensing researcher, who is<br>
> working with proprietary software.<br>
><br>
> We came up with suggestion that useful feature for GRASS would be<br>
> interactive scatter plot tool which would allow to highlight pixels<br>
> according to chosen areas in scatter plot and also in reverse way it would<br>
> allow to highlight corresponding points in scatter plot for chosen areas in<br>
> map window.<br>
> Also it would plot class ellipses for training areas.<br>
><br>
> Useful and unique feature among GIS and Imaginary software would be scatter<br>
> plot 3D mode which would allow comparison of 3 bands.<br>
><br>
</div>If starting from scratch, Matplotlib seems to be the right option. It<br>
allows to interactively select data and also draw 3D plots. Data for<br>
scatterplot can be obtained by r.stats -g input=map1,map2. The result<br>
needs to be stored and used for searching coordinates and values (i.e.<br>
coordinates in scatterplot). Highlighting in plot according to click<br>
in the map is probably possible. The other way should be also<br>
possible, there are some click handler sin matplotlib. Highlighting in<br>
map - that's probably something for your (Stepan's) new graphical<br>
object API.<br>
<br>
However, there is also Bivariate Scatterplot Tool available from Map<br>
Display. It's able to display plots for pairs of maps. The plot is<br>
wxplot which is not so powerful as matplotlib. I am not sure if it<br>
could be used more interactively.<br>
<span class="HOEnZb"><font color="#888888"><br>
Vaclav<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
> Stepan<br>
><br>
> ---------- Původní zpráva ----------<br>
> Od: Anna Kratochvílová <<a href="mailto:kratochanna@gmail.com">kratochanna@gmail.com</a>><br>
> Datum: 20. 12. 2012<br>
> Předmět: Re: [GRASS-dev] wxGUI: supervised classification tool<br>
><br>
><br>
> Hi,<br>
><br>
> On Thu, Dec 20, 2012 at 9:52 AM, Markus Neteler <<a href="mailto:neteler@osgeo.org">neteler@osgeo.org</a>> wrote:<br>
>> Hi,<br>
>><br>
>> while searching for the new i.class tool I have discovered<br>
>> the "supervised classification tool"<br>
>> in Imagery -> Classify Image -> Interactive input for supervised<br>
>> classification<br>
>><br>
>> Nice! /edit: I now see that it *is* the<br>
>> <a href="http://grasswiki.osgeo.org/wiki/WxIClass" target="_blank">http://grasswiki.osgeo.org/wiki/WxIClass</a><br>
>><br>
> Right, wxIClass (perhaps g.gui.iclass in the future), available as<br>
> "Interactive input for supervised classification" from the menu, is<br>
> intended to be an i.class replacement.<br>
><br>
>> I tried it with NC data and loaded the Landsat2002 group.<br>
>> Now I would expect that I can select channels for display from<br>
>> the group. Perhaps something with [x] checkboxes would be<br>
>> good. The existing "free" choice of maps should remain of course.<br>
><br>
> That's reasonable, other suggestions are here:<br>
> <a href="http://trac.osgeo.org/grass/wiki/wxGUIDevelopment/wxIClass" target="_blank">http://trac.osgeo.org/grass/wiki/wxGUIDevelopment/wxIClass</a><br>
><br>
>><br>
>> When I then digitize, it nicely opens the class dialog, ok. Then,<br>
>> when running, it segfaults (entire wxGUI disappears, no error msg<br>
>> visible).<br>
><br>
> There have been some changes three days ago which should fix this<br>
> crash. If you used the latest version, we have a problem.<br>
><br>
>><br>
>> Suggestion: It may also become the tool for i.smap, just a method<br>
>> dialog would be needed<br>
>><br>
>>> Run Analysis<br>
>> - MaxLik: i.maxlik<br>
>> - SMAP: i.gensigset, i.smap<br>
>><br>
><br>
> yes, something like this is planned, Stepan is collecting these ideas now.<br>
><br>
> We haven't touched this tool for some time, however Martin tried to<br>
> use it in class with students this week and he promised to report<br>
> bugs.<br>
><br>
> Anna and Vaclav<br>
><br>
>> to make it universal. However, great to have such a tool now.<br>
>><br>
>> Markus<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>
><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>
_______________________________________________<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></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><font face="arial, helvetica, sans-serif">Regards,<br>

   Rashad</font></div>
</div>