Hi,
I use the image classifier (otbcli_ImageClassifier). Pixel classification works well but I wonder if there is a way to export the class membership of each pixel?
Many thanks,
Sylvain
Hi,
I use the image classifier (otbcli_ImageClassifier). Pixel classification works well but I wonder if there is a way to export the class membership of each pixel?
Many thanks,
Sylvain
Hello,
sorry but I don’t understand what you mean by “exporting the class membership of each pixel”, can you explain what you are trying to do ?
Cédric
Hello,
Sorry for the unclear explanation.
During classification, each pixel is classified into a category with a certain degree of confidence for each category. I would like to extract these confidence percentages for each pixel.
Thanks,
Sylvain
Hello,
You can output “confidence values” using the -confmap
parameter, how this confidence is defined depends of the machine learning algorithm used, for example for K nearest neighbors it is the number of neighbors with the same label ; see the associated documentation.
Cédric
Hello,
Thank you very much for the answer, I hadn’t noticed this feature yet.
Sylvain