Opened 10 years ago
Last modified 6 years ago
#2464 new enhancement
g.gui.iclass: show output of signature creation
Reported by: | mlennert | Owned by: | |
---|---|---|---|
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)
follow-up: 2 comment:1 by , 10 years ago
comment:2 by , 10 years ago
Replying to wenzeslaus:
As far as I know,
g.gui.iclass
is not usingi.gensig
. There is a custom mechanism of creating the signature files taken fromi.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 toi.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:5 by , 8 years ago
Milestone: | 7.2.1 → 7.2.2 |
---|
comment:6 by , 7 years ago
Milestone: | 7.2.2 → 7.4.0 |
---|
All enhancement tickets should be assigned to 7.4 milestone.
comment:8 by , 6 years ago
Milestone: | 7.4.1 → 7.4.2 |
---|
comment:9 by , 6 years ago
Milestone: | 7.4.2 → 7.6.0 |
---|
All enhancement tickets should be assigned to 7.6 milestone.
As far as I know,
g.gui.iclass
is not usingi.gensig
. There is a custom mechanism of creating the signature files taken fromi.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 toi.class
. See also wiki:wxGUIDevelopment/wxIClass.There is probably some other way, how to address your issue.