Supervised classification doesn't had training samples
Mantis Issue 72, reported by echristophe, assigned to jmichel, created: 2009-01-13
One of the latest modification on the application causes it to fail. It is probably linked to modification to correct bug #45 (closed).
- Open image
- add class
- draw polygon
- add other class
- draw polygon
- press learning
=> "Class 1 had no traning sample, cannot do SVM estimation."
=> Nothing appears in the ROI list (need to switch Sets to training, then back to validation). This part was working fine before.
1231835167 - ingladaIf you select the random option for the training/validation sets before selecting ROIS, it works.
1231868377 - julienYour intuition was right, bug fix #45 (closed) induced this problem. A new viewer is created each time an image is loaded, but the new viewer was not sufficiently set up. To see the bug fix: http://hg.orfeo-toolbox.org/OTB-Applications/rev/5f10bb01e967
1231947543 - julienFixed.