For a class at the university I need to classify an image with OBIA. But I ran into the problem, that the TrainVectorClassifier ignores completly two of my training classes. I use the OTB v7.0.0 in Qgis.
There are a lot of NULL values for the traintyp_d feature in your input vector. If I’m correct, they will be trated as 0 by the application. Is that what you want ?
Also, maybe the bayes classifer is not adapted to this problem ? I ran a few test with your data (I removed all features with NULL traintyp_d).
Ok, this mean I have to remove all features, which are no trainingsdata from the file and use this for the TrainVectorClassifier and in the VectorClassifier I use the complete set?
Hello ! @Cedric , could you please explain how to do it (ogr2ogr) ? I don’t understand how it works. I think I have the same problem as @nikiosna because when I use VectorClassifier, I have only one class in the classification instead of 2.