Hi,
I tried to use it, but....

   GRASS 6.4.0RC6 (Spearfish):~ > ./wx.class.py
   ./wx.class.py: line 19: !
   @package wx.class.py

   @brief Interface implementation of i.class module without Xterm.
   Many thanks to Markus Neteler for his help which allowed me to
   know about i.class and its usage.
   Classes:
   - IClass
   - BufferedWindow2
   - IClassApp


   (C) 2006-2010 by the GRASS Development Team
   This program is free software under the GNU General Public
   License (>=v2). Read the file COPYING that comes with GRASS
   for details.

   @author Mohammed Rashad K.M <rashadkm [at] gmail [dot] com>
   : command not found
   import: unable to grab mouse `': Resource temporarily unavailable @
   xwindow.c/XSelectWindow/8993.
   import: unable to grab mouse `': Resource temporarily unavailable @
   xwindow.c/XSelectWindow/8993.
   import: unable to grab mouse `': Resource temporarily unavailable @
   xwindow.c/XSelectWindow/8993.
   import: unable to grab mouse `': Resource temporarily unavailable @
   xwindow.c/XSelectWindow/8993.
   ./wx.class.py: line 28: syntax error near unexpected token `('
   ./wx.class.py: line 28: `gbase = os.getenv("GISBASE") '

any idea?
Leonardo A. Hardtke

On 09/08/2010 06:34 PM, Mohammed Rashad wrote:

Hi all,

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.

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.

Currently development is in beta stage. wx.class is tested and works only for NC dataset available from grassbook.org <http://grassbook.org> site. 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.

I dont want to add a new dependency to grass as other developers but I am forced to do :(

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.

Now I am hosting to GRASS-Addons repo because the code needs testing...(although needs some cleanup)

A README is included with source which shows how to use the module. But wx.class is made to be user-friendly.


Any comments or suggestions are really welcomed :)


--
Rashad


_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to