<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hi, <br>
I tried to use it, but....<br>
<blockquote><small>GRASS 6.4.0RC6 (Spearfish):~ > ./wx.class.py <br>
./wx.class.py: line 19: !<br>
@package wx.class.py<br>
<br>
@brief Interface implementation of i.class module without Xterm.<br>
Many thanks to Markus Neteler for his help which allowed me to<br>
know about i.class and its usage.<br>
Classes:<br>
- IClass<br>
- BufferedWindow2<br>
- IClassApp<br>
<br>
<br>
(C) 2006-2010 by the GRASS Development Team<br>
This program is free software under the GNU General Public<br>
License (>=v2). Read the file COPYING that comes with GRASS<br>
for details.<br>
<br>
@author Mohammed Rashad K.M <rashadkm [at] gmail [dot] com><br>
: command not found<br>
import: unable to grab mouse `': Resource temporarily unavailable @
xwindow.c/XSelectWindow/8993.<br>
import: unable to grab mouse `': Resource temporarily unavailable @
xwindow.c/XSelectWindow/8993.<br>
import: unable to grab mouse `': Resource temporarily unavailable @
xwindow.c/XSelectWindow/8993.<br>
import: unable to grab mouse `': Resource temporarily unavailable @
xwindow.c/XSelectWindow/8993.<br>
./wx.class.py: line 28: syntax error near unexpected token `('<br>
./wx.class.py: line 28: `gbase = os.getenv("GISBASE") '<br>
</small></blockquote>
any idea?<br>
Leonardo A. Hardtke<br>
<br>
On 09/08/2010 06:34 PM, Mohammed Rashad wrote:
<blockquote
cite="mid:AANLkTimvj=bX1ZC0vw4TOH70NtsVHvP-pwJH5Q9PuNJP@mail.gmail.com"
type="cite"><br clear="all">
Hi all,
<div><br>
</div>
<div> I had just created a wx version of i.class module which
generates spectral signatures for an image by allowing the user to
outline regions of interest. The resulting signature file can be used
as input for i.maxlik or as a seed signature file for i.cluster.</div>
<div><br>
</div>
<div>Actual i.class module requires Xterm and work only in systems
having Xserver installed. I created python version of i.class which
works on all platform. Now windows users can use i.class module. </div>
<div><br>
</div>
<div>Currently development is in beta stage. wx.class is tested and
works only for NC dataset available from <a moz-do-not-send="true"
href="http://grassbook.org" target="_blank">grassbook.org</a> site.</div>
<div>It uses wxpython paintDC to draw histograms which must be
changed to use python-matplotlib for drawing smooth histograms as the
output needed to be. </div>
<div><br>
</div>
<div>I dont want to add a new dependency to grass as other developers
but I am forced to do :(</div>
<div><br>
</div>
<div>current wx.class doesn't need any other dependencies. The needs
some cleanup but as I am busy with some other works related to GRASS I
don't have much time to spend on cleaning up the code. But within a
month or to you can have the fully functional wx.class.</div>
<div><br>
</div>
<div>Now I am hosting to GRASS-Addons repo because the code needs
testing...(although needs some cleanup)<br>
</div>
<div><br>
</div>
<div>A README is included with source which shows how to use the
module. But wx.class is made to be user-friendly.</div>
<div><br>
</div>
<div><br>
</div>
<div>Any comments or suggestions are really welcomed :)</div>
<div><br>
</div>
<div><br>
</div>
<div>-- <br>
Rashad<br>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
grass-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/grass-user">http://lists.osgeo.org/mailman/listinfo/grass-user</a>
</pre>
</blockquote>
<br>
</body>
</html>