CHOCHO
July 16, 2018, 4:13pm
#1
Hi,
I am using Qgis software to apply random forest classification Algorithms, as in the following picture:
I am using Orfeo Toolbox to classify, in the first step “compute Image statistics”, I got this message as an error:
could you help me with this problem, Please?
Many thanks,
regards,
mamy
July 17, 2018, 7:44am
#2
Hi,
I presume OTB doesn’t like special characters in the full path,
Replace année by annee
Regards
1 Like
CHOCHO
July 17, 2018, 10:48am
#3
Hello,
Many thanks for your answer. It’s working!
kind regards,
CHOCHO
July 18, 2018, 3:29pm
#4
Hi,
I am trying now to create the image classification, but I don’t know what to put in “Input Model File”:
I tried with the output model I created in the previous step 2-Train Random Forest Image Classifier" , but I found nothing!!
How can I solve it, please?
kind regards,
ABraun
July 19, 2018, 11:14am
#5
you have to run step 2-train classifier, the output is a txt file which can be used in step 3.
CHOCHO
July 19, 2018, 11:37am
#6
Hello,
after running step 2, I got this:
there is no txt file?!!
Many thanks.
Aicha
ABraun
July 19, 2018, 4:49pm
#7
It doesn’t need to be a txt file, but you need to write the output of the training to a file. If you select it in the classification module, you will get your image classified. I just tested it and it works fine:
Image with training polygons (they have attributes between 1 and 4, written in attribute ‘id’)
Training (It is important to load the image, the vector AND the name of the attribute that contains the classes, ‘id’ in my case. I selected model.txt as an output file)
Classification (Here, load the image and the model.txt)
Result
1 Like
marpet
July 20, 2018, 6:21am
#8
I think this is answered now.
@CHOCHO Please use the support options QGIS (https://qgis.org/en/site/forusers/support.html ) provides if you have QGIS question. Questions regarding SNAP, the toolboxes or the sensors are welcome.
1 Like