Opened 9 years ago

Last modified 5 years ago

#2464 new enhancement

g.gui.iclass: show output of signature creation

Reported by: mlennert Owned by: grass-dev@…
Priority: normal Milestone: 7.6.2
Component: wxGUI Version: svn-releasebranch70
Keywords: g.gui.iclass signature Cc:
CPU: Unspecified Platform: Unspecified

Description

Sometimes, when training areas are not good enough, trying to create a maxlik signature file provokes messages such as "Signature X not invertible". Then trying to run i.maxlik on that signature file, you get the message "Unable to read signature file" (why that has to be so is a different question). So when you see the "not invertible" message, you know that you have to improve the training areas (or use a different image group).

However when you use g.gui.iclass, you never see the output of i.gensig and so you just go on and then get the i.maxlik message without understanging why. g.gui.iclass should allow the user to see the i.gensig output.

Moritz

Change History (11)

comment:1 by wenzeslaus, 9 years ago

As far as I know, g.gui.iclass is not using i.gensig. There is a custom mechanism of creating the signature files taken from i.class.

g.gui.iclass access this functionality using ctypes. The functionality was moved the the library. It is not really good but it was the fastest way to implement it without need of a new module, format or change in functionality comparing to i.class. See also wiki:wxGUIDevelopment/wxIClass.

There is probably some other way, how to address your issue.

in reply to:  1 comment:2 by mlennert, 9 years ago

Replying to wenzeslaus:

As far as I know, g.gui.iclass is not using i.gensig. There is a custom mechanism of creating the signature files taken from i.class.

g.gui.iclass access this functionality using ctypes. The functionality was moved the the library. It is not really good but it was the fastest way to implement it without need of a new module, format or change in functionality comparing to i.class. See also wiki:wxGUIDevelopment/wxIClass.

There is probably some other way, how to address your issue.

I don't have the time to dive into the code, now, but is there no message/error handling in the i.class code concerning the signature creation (and notably the "Signature X not invertible" message) ?

Moritz

comment:3 by neteler, 8 years ago

Milestone: 7.1.07.2.0

Milestone renamed

comment:4 by neteler, 7 years ago

Milestone: 7.2.07.2.1

Ticket retargeted after milestone closed

comment:5 by martinl, 7 years ago

Milestone: 7.2.17.2.2

comment:6 by martinl, 7 years ago

Milestone: 7.2.27.4.0

All enhancement tickets should be assigned to 7.4 milestone.

comment:7 by neteler, 6 years ago

Milestone: 7.4.07.4.1

Ticket retargeted after milestone closed

comment:8 by neteler, 6 years ago

Milestone: 7.4.17.4.2

comment:9 by martinl, 6 years ago

Milestone: 7.4.27.6.0

All enhancement tickets should be assigned to 7.6 milestone.

comment:10 by martinl, 5 years ago

Milestone: 7.6.07.6.1

Ticket retargeted after milestone closed

comment:11 by martinl, 5 years ago

Milestone: 7.6.17.6.2

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.