Opened 5 years ago

Last modified 8 months 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 Changed 5 years ago by 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.

comment:2 in reply to:  1 Changed 5 years ago by mlennert

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 Changed 4 years ago by neteler

Milestone: 7.1.07.2.0

Milestone renamed

comment:4 Changed 3 years ago by neteler

Milestone: 7.2.07.2.1

Ticket retargeted after milestone closed

comment:5 Changed 3 years ago by martinl

Milestone: 7.2.17.2.2

comment:6 Changed 2 years ago by martinl

Milestone: 7.2.27.4.0

All enhancement tickets should be assigned to 7.4 milestone.

comment:7 Changed 22 months ago by neteler

Milestone: 7.4.07.4.1

Ticket retargeted after milestone closed

comment:8 Changed 17 months ago by neteler

Milestone: 7.4.17.4.2

comment:9 Changed 14 months ago by martinl

Milestone: 7.4.27.6.0

All enhancement tickets should be assigned to 7.6 milestone.

comment:10 Changed 10 months ago by martinl

Milestone: 7.6.07.6.1

Ticket retargeted after milestone closed

comment:11 Changed 8 months ago by martinl

Milestone: 7.6.17.6.2

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.