<html><body><div>Ahoj Vašku,</div><div><br></div><div>thanks for your helpful advice.</div><div><br></div><div>Stepan</div><div><br></div><p>---------- Původní zpráva ----------<br>Od: Vaclav Petras <wenzeslaus@gmail.com><br>Datum: 21. 12. 2012<br>Předmět: Re: [GRASS-dev] wxGUI: supervised classification tool</p><br><blockquote>Hi Stepan,<br><br>On 21 December 2012 16:53, stepan.turek <stepan.turek@seznam.cz> 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>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><br>Vaclav<br><br>> Stepan<br>><br>> ---------- Původní zpráva ----------<br>> Od: Anna Kratochvílová <kratochanna@gmail.com><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 <neteler@osgeo.org> 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">http://grasswiki.osgeo.org/wiki/WxIClass</a><br>>><br>> Right, wxIClass (perhaps <a href="http://g.gui.iclass">g.gui.iclass</a> 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">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>>> grass-dev@lists.osgeo.org<br>>> <a href="http://lists.osgeo.org/mailman/listinfo/grass-dev">http://lists.osgeo.org/mailman/listinfo/grass-dev</a><br>><br>><br>> _______________________________________________<br>> grass-dev mailing list<br>> grass-dev@lists.osgeo.org<br>> <a href="http://lists.osgeo.org/mailman/listinfo/grass-dev">http://lists.osgeo.org/mailman/listinfo/grass-dev</a></blockquote></body></html>