I want to classify Sentinel 2 images with the SVM in orfeo toolbox in QGIS. I have made a ROI (2 classes) and use TrainImages classifer (libsvm). I have made a SVM model,but when I use ImageClassification as a results I get a gray images. Can you help me about this problem. I try evrithing but always I get a gray images.It is a images with a shades of gray. I thinkg that OTB do classification but I dont know why images is gray


The output of the ImageClassification app is an image of labels (integer values), which will appear as shades of gray in most image viewers by default. To get a color image, you need to 'color map', i.e. give a unique RGB color to each class label. You can use the ColorMapping app from OTB.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.