If you'd like to support our journey and help us provide even better GIS and Remote Sensing insights, consider contributing through 'Buy Me a Coffee'. Your support ensures we can continue creating tutorials, sharing tricks, and making our content as informative and enjoyable as possible. 🙏 Contribute💰💰 Here: www.buymeacoffee.com/jessebuyungo 🙏 Contribute💰💰Here: www.buymeacoffee.com/jessebuyungo
Hello, I have some problem with TrainVectorClassifier. When I choose "joined layer" as Input Vector Data I see a messege: "Unable to load selected layer or table. Dependent field cannot be filled in". How can I solve that? Thanks for your help.
Dear Sir, when I run OBT_Vector Classifier, it does not produce any files. I think it is a problem reading the *.model file. How can I check this? Please can you help me? thank you very much
Thank you very much, clear, new and good tutorials: I have used a 0.15*0.15 high resolution digital orthophotos following your step, I get a good result. Thank you very much again
Hello Jesse, thanks for creating such a valuable tutorial on OBIC. It's been incredibly helpful. I was wondering if you could kindly share the raster image you used.
Hello, Jesse. Thanks for the great video. I encounter the problem, that my segmentation results generate dozens (more than 1000) self-intersecting polygons. With those I was not able to proceed the process, so I tried to just use the "fix geometry"-tool an so far it worked out fine.
@@jorritxl Hey Jorrit, you can find the "fix geometry"-tool in the qgis toolbox. For further explanations, check out the documentation or here: www.qgistutorials.com/en/docs/3/handling_invalid_geometries.html. Greetings
hi sr. It gives me this error when I apply ''segmetaion': '“.raster.out.tif” files are not supported as outputs for this algorithm' why and how should I correct it? you could tell me. I am looking forward to your response. thank you
How to fix this error using trainvectorclassifier ??? (FATAL) TrainVectorClassifier: itk::ERROR: FieldParameter(0000025D49A515F0): Value ['_mean', '_median', '_stdev'] not found in the list of choices: DN, _count, _sum, _mean, _median, _stdev, _min, _max, _range, _minority, _majority, _variety, _variance, id, class_id.
Thanks for Video Jesse. Everything works up until the VectorClassifier part of the video. When I run VectorClassifier I get the following: 2023-03-31 21:22:23 (INFO) VectorClassifier: Default RAM limit for OTB is 256 MB 2023-03-31 21:22:23 (INFO) VectorClassifier: GDAL maximum cache size is 398 MB 2023-03-31 21:22:23 (INFO) VectorClassifier: OTB will use at most 8 threads Could not read file C:\GIS\back Any idea what the issue is?
Idem problem, no .model no .txt 2023-06-25 20:00:53 (INFO) VectorClassifier: Default RAM limit for OTB is 256 MB 2023-06-25 20:00:53 (INFO) VectorClassifier: GDAL maximum cache size is 788 MB 2023-06-25 20:00:53 (INFO) VectorClassifier: OTB will use at most 16 threads Could not read file C:\Users\Usuario\Desktop\Nueva
Hello Jesse, I face a challenge, during segmentation the message "Self-intersection at or near point" appears, and I can not continue the segmentation process. how to fix this problem?
Thanks for your video. I have a problem with the last step ''Vector Classifier''. When I run the process, it doesn't make me the classified_output.shp. Do you know what happen? I need to do a special step?
I had to the same issue. Solved it by making sure that the file path didn't have any spaces in the name. Had 1 and replaced it with an '_'; things work!
Hi@@JorgeAlbertoGutierrezVillagran i have the same problem. When i run 'vector classifier' it doesn't create the classified_output.shp file. I downloaded QGIS version 3.32.1 Lima and OTB version 8.1.2, but the problem is not resolved. What can i do?
I still get the "Could not load selected layer/table. Dependent field could not be populated" error even when I saved joined_layer as shp file, can you please help?
I have a question there are three mean and statistics calculations Does that signify 3 bands of zonal statistics, Which means otb zonal statistics can process multiband zonal statistics calculation is that correct ??
@@JessetheGeographer Hi, I have installed OTB (7.3.0) and QGIS (3.14), Win-10,64Bit. However, the Segmentation menu looks differant than you presented (LargeScaleMeanShift) , is it only a change in OTB UI ?
Hi Jesse, when trying to run the TrainVectorClassifier I get the Error message that directory does not exist... What would be the work around for this?
hey Jesse thanks for the video! I have a question in Train Vector Classifier part, if i have mean_3 and stdev_3 do i also put that? also why do we use mean and stdev in Train Vector Classifier?
Steve, Mean are parameters that are computed during the compute statistics stage, they are related to the mean pixel and the std of the pixel in each segment.......that's y the number (n) depends on the number of bands the image has.
Thank you so much Michael. Well when it comes to the data, you need to download satellite imagery. You could consider downloading freely available sentinel 2 or landsat 8.
@@JessetheGeographer if I have sentinel 2 data, which data should I enter? are all bands or bands stacked? sorry if my english is not polite sir, i use google translate. Thank you sir
hello, I face some struggle during the "VectorClassifier". The shp is missing at the end. I can find it nowhere and even I try to run it on temporary file, it doesn't show up either. Thanks in advance
@@JessetheGeographer hello, so basically the algorithm work perfectly but I can't find the output. Plus there's no error message after running the "vectorclassifier". I just don't understand why it's missing. I choose the file for the results and everything but it's still missing
Professor, how can I create a DEM elevation model file from the surface of the external appearance using the Qgis Orfeo Toolbox plugin? Please answer me, and thank you very much, Doctor.
Well I you like to do accuracy assessment, make sure you pick testing samples and the same way you did for the training data. And supply it to the algorithm during the training. It will give you a confusion matrix which you can analyze ......and generate producer, user, overall accuracy parameters, etc
Dear Sir, thank you so much for this nice video! One question: how do you do accuracy assessment after the classification? Is there some kind of confusion matrix that I can get in QGIS after the classification? Thanks for your help
Yes please, prepare test and train data shapefile differently..... during model training...input the test data tooo.....and a confusion matrix will be output
Dear Karina, I also Face a challenge to perform an accuracy assesment in a train vector calssifier. Have you got a solution to accuracy assessment? please share me!!!
@@JessetheGeographer got it!! in your opinion what model is the most accurate? Im trying em all but it seems that linear and polinomial are the better ones
...I can't say that there is an accurate model, different model will be accurate depending on the given situation, maybe the landscape, the samples, the satellite imagery etc.....
@@JessetheGeographer I undestand, another thing, im trying to do the segmentation with a landsat but it doesnt work, the output is just a big polygon that cover the study area. Do I need to change some settings for landsat? I tried to resample at10 meters but It doesnt work
Hi sir I would like to ask if you have a tutorial on how to segment the tree crown using OTB or anything that will segment tree crown using the UAS data
@@JessetheGeographer I used this approach but it was oversegmented and there was an error "Self-intersection at or near point". And I also used UAV image so it will have a high resolution. Can you recommend how to segment only the tree crown and the parameters to used for this? please
Hi there, am sorry, but I haven't used AutoCAD in this tutorial, Incase you are facing challenges, I can take you through under a private arrangement please
@@JessetheGeographer I once again tried all the steps at the final classification stage to open the output shp file, I cannot find it despite the message specifying that the document has been classified, can you review this on your side maybe there was an error
Thanks for this great video! I am trying your method and so far I have no problem from the start until the part of "vector classifier". It keeps showing this: "2021-08-10 22:20:06 (FATAL) VectorClassifier: itk::ERROR: Failed to open GDALDataset file C:\Users\" and it does not produce the classified output layer. I am using QGIS 3.18 Zurich and OTB (7.3) Windows 64bits with OTB master plugin. I wonder what could be the problem? I would appreciate your help
I am having a hard time with this, my results layer ends up flipped like a mirror above my satmap. I think this is making the rest of this project not work.
Hi, Thank you for your great video. I have to face a problem with the "Train Vector Classifier". I received an error message " TrainVectorClassifier: itk::ERROR: FieldParameter(0000022C97C15A30): Single selection mode is on, but there are 2 selected items ". Please help me.
When I do categorized after the classified output, i get only 1 class; though i have created 5 classes during the training data/sample. What seems to be the problem?
Please open the attribute table of that layer and check first the predicted classes, if you see all the five classes then go on to the symbology and categorize, Alternatively if you see only one class predicted then please you need to recustomize your training parameters and re-run the algorithm.
sir is there any way you could demonstrate sun glint and water column correction and OBIA using planet data in qgis or arcgis for benthic habitat mapping?
Hi, I have the same problem. I am trying to apply classification to images acquired with UAV on the water surface (full motio video) to detect posidonia. Have you had any feedback to your question? can you give me any suggestions please? thanks
Hey, great work. However, I can´t use TrainVectorClassifier, it keeps showing the same error, "Could not load selected layer/table. Dependent field could not be populated", after loading the joined layer. How can I fix it? Thank y
@@JessetheGeographer I have saved it as a .shp file but its still showing the same error when I am trying to carry out the TrainVectorClassifier. How can I resolve this issue?
Hi great tutorial right there. If you don’t mind answering, i would love to ask. Can the analysis be done at urban/regional scale spatial unit? Because from your tutorial, the analysis is done at neighborhood scale
if I have sentinel 2 data, which data should I enter? are all bands or bands stacked? sorry if my english is not polite sir, i use google translate. Thank you sir
i have 6 class_id´s but predicted only classifies everything as the same (i.e. 1 of 6), even those polygons which have been given class ids. potential issues might be that im using sentinel-2 data, which results in 9x mean and stdev fields. additionally, after the join by location, are you using a filtered dataset for the training (ie only those polygons that have been assigned class_ids) or does your training dataset contain all polygons with both class id´s assigned and polygons with class id NA?
Hey great vid, I tried to copy but it resulted in this error: Warning 1: Self-intersection at or near point 145032.5 408201.5, do you know what went wrong?
Hi, very informative video but I have this error saying: "Classified_output" has invalid geometry. Please fix the geometry or change the Processing setting to the "Ignore invalid output features" option. This is occured when I try to compute or Dissolve the Classified Output.
2023-08-25 11:41:41 (WARNING) Segmentation: The input image has no data values but this application does not handle no-data. No-data pixels will be treated as regular pixels. 2023-08-25 11:41:41 (FATAL) Segmentation: itk::ERROR: No OGR driver known to OTB to create and handle a DataSource named . i don't know but my otb doesn't work at all
Thanks for this great video! I am trying your method and so far I have no problem from the start until the part of "vector classifier". It keeps showing this: ectorClassifier: itk::ERROR: ListViewParameter(000002495504F300): Value mean_0 not found in the list of choices: Value, Count, NbPixels, Flat, Round, Elong, Perim, meanB1, meanB2, meanB3, stdB1, stdB2, stdB3, MedB1, MedB2, MedB3, VarB1, VarB2, VarB3, KurtB1, KurtB2, KurtB3, SkewB1, SkewB2, SkewB3, NbPixels_1, Flat_1, Round_1, Elong_1, Perim_1, meanB1_1, meanB2_1, meanB3_1, stdB1_1, stdB2_1, stdB3_1, MedB1_1, MedB2_1, MedB3_1, VarB1_1, VarB2_1, VarB3_1, KurtB1_1, KurtB2_1, KurtB3_1, SkewB1_1, SkewB2_1, SkewB3_1.
Have you computed statistics for the input layer, if Yes make sure the stat layer is joined and the input to the classifier is that joined layer, if you have done this, you can share a snapshot of the error and I see how to help
OTB currently support only gdal and ogr provider. Parameter 'inzone.vector.in' uses 'memory' provider Execution failed after 0.04 seconds so, the second half of a video makes no sence to watch
If you'd like to support our journey and help us provide even better GIS and Remote Sensing insights, consider contributing through 'Buy Me a Coffee'. Your support ensures we can continue creating tutorials, sharing tricks, and making our content as informative and enjoyable as possible.
🙏 Contribute💰💰 Here: www.buymeacoffee.com/jessebuyungo
🙏 Contribute💰💰Here: www.buymeacoffee.com/jessebuyungo
Te amo mi rey. Sos un Genio!!!! Mis aplausos para Usted!!!!
Great. Can you make a separate video for accuracy assessment as it is necessary after classification to prove our results?
Thanks for the help. Signed by the Water Sciences Master's degree from Lyon (France).
Super helpful and clear instructions, can't thank you enough for making this.
mil graciassssss estaba muy perdida me ayudo mucho el video saludos desde Colombia
Thank you so much
Hello! Great video!
Which satellite image is this? Its prett high resolution!
Thank you so much, sir, it was really helpful!
Glad it helped!
Hello, I have some problem with TrainVectorClassifier. When I choose "joined layer" as Input Vector Data I see a messege: "Unable to load selected layer or table. Dependent field cannot be filled in". How can I solve that?
Thanks for your help.
👍👍👍 Am closely following once I try it out will have my reactions
No worries Isaac.
Make sure you have a working installation of the OTB tool box
This is a very good tutorial, thanks for posting.
Very good instructions and it really helped me. Thank you!
This have helped me a lot in my work. Thanks a lot!
Dear Sir, when I run OBT_Vector Classifier, it does not produce any files.
I think it is a problem reading the *.model file. How can I check this?
Please can you help me? thank you very much
Hi, I am having the same problem
I am having the same problem
Hi, I am having the same problem
I am having the same problem
I have the same problem. How can i solve it?
Thank you very much, clear, new and good tutorials: I have used a 0.15*0.15 high resolution digital orthophotos following your step, I get a good result. Thank you very much again
That is a lot of work! Thanks for sharing
Is it possible to have another tutorial on how to use the Segment Anything Model in QGIS?
Super helpful 🎉
Hello Jesse, thanks for creating such a valuable tutorial on OBIC. It's been incredibly helpful. I was wondering if you could kindly share the raster image you used.
Wow, this is a Pléiades satellite image taken in Kampala CBD, Uganda
@@JessetheGeographer Thanks. I could not find it on EarthExplorer. I wonder if you still have that image.
It's a commercial satellite image. So you have to buy it at a cost
Hello, Jesse. Thanks for the great video. I encounter the problem, that my segmentation results generate dozens (more than 1000) self-intersecting polygons. With those I was not able to proceed the process, so I tried to just use the "fix geometry"-tool an so far it worked out fine.
Hey hannes, i had the same error, were can i find the 'fix geometry' thing?
@@jorritxl Hey Jorrit,
you can find the "fix geometry"-tool in the qgis toolbox.
For further explanations, check out the documentation or here: www.qgistutorials.com/en/docs/3/handling_invalid_geometries.html.
Greetings
Super 🥰 ! Thanks... 🤗
hi sr. It gives me this error when I apply ''segmetaion': '“.raster.out.tif” files are not supported as outputs for this algorithm' why and how should I correct it? you could tell me. I am looking forward to your response. thank you
How to fix this error using trainvectorclassifier ???
(FATAL) TrainVectorClassifier: itk::ERROR: FieldParameter(0000025D49A515F0): Value ['_mean', '_median', '_stdev'] not found in the list of choices: DN, _count, _sum, _mean, _median, _stdev, _min, _max, _range, _minority, _majority, _variety, _variance, id, class_id.
Thanks for Video Jesse. Everything works up until the VectorClassifier part of the video. When I run VectorClassifier I get the following:
2023-03-31 21:22:23 (INFO) VectorClassifier: Default RAM limit for OTB is 256 MB
2023-03-31 21:22:23 (INFO) VectorClassifier: GDAL maximum cache size is 398 MB
2023-03-31 21:22:23 (INFO) VectorClassifier: OTB will use at most 8 threads
Could not read file C:\GIS\back
Any idea what the issue is?
Idem problem, no .model no .txt
2023-06-25 20:00:53 (INFO) VectorClassifier: Default RAM limit for OTB is 256 MB
2023-06-25 20:00:53 (INFO) VectorClassifier: GDAL maximum cache size is 788 MB
2023-06-25 20:00:53 (INFO) VectorClassifier: OTB will use at most 16 threads
Could not read file C:\Users\Usuario\Desktop\Nueva
Hello Jesse, I face a challenge, during segmentation the message "Self-intersection at or near point" appears, and I can not continue the segmentation process. how to fix this problem?
Great Explanation! Thanks!
Thanks for your video.
I have a problem with the last step ''Vector Classifier''. When I run the process, it doesn't make me the classified_output.shp.
Do you know what happen? I need to do a special step?
I had to the same issue. Solved it by making sure that the file path didn't have any spaces in the name. Had 1 and replaced it with an '_'; things work!
@@Technologic911 Thanks, it isn't the problem. It was the qgis version because the otb version needs a upgrade qgis and just I download the new qgis
This is happening to me, what version of qgis and otb did you need to get it to work? Thanks
@@aislingoflynn6167 3.20 or upper
Hi@@JorgeAlbertoGutierrezVillagran i have the same problem. When i run 'vector classifier' it doesn't create the classified_output.shp file. I downloaded QGIS version 3.32.1 Lima and OTB version 8.1.2, but the problem is not resolved. What can i do?
Hi, can you help me, I couldn’t find the vector classifier output in the folder even though the process is finished
Hi, i have the same problem. Did you solve it?
Great video.
Thanks
What's the sourse of your satellite image. And how did you get your resolution to be that good?
The OBIA_model.model doesn't want to save on our computer as an output-file during the TrainVectorClassifier-step. Do you know what the problem is?
which version of qgis did u use
I still get the "Could not load selected layer/table. Dependent field could not be populated" error even when I saved joined_layer as shp file, can you please help?
I have the same problem, plus my joined layer has only 1 set of mean and stdev fileds
I have a question there are three mean and statistics calculations Does that signify 3 bands of zonal statistics,
Which means otb zonal statistics can process multiband zonal statistics calculation is that correct ??
I cannot find OTB Zonal statistics tool on my QGIS 3.22
i encountered an error whilist activating the otb
it said there is a typeError in the python so how can i solve that
Thank You, Which Ver. of QGIS is required ?, How do I check that OTB Tool box is installed ?
You're welcome,
For this specific tutorial, I used Qgis Hannover, after installing the OTB, you will begin seeing it's algorithms in the tool box menu
@@JessetheGeographer Hi, I have installed OTB (7.3.0) and QGIS (3.14), Win-10,64Bit. However, the Segmentation menu looks differant than you presented (LargeScaleMeanShift) , is it only a change in OTB UI ?
@@davidbehr7865 Ohh could you please share the snapshot in an email please @jessebuyungo48@gmail.com
Hi Jesse, when trying to run the TrainVectorClassifier I get the Error message that directory does not exist...
What would be the work around for this?
Is it possible to reuse the segmentation on other similar satellite images? So you dont have to set new datapoints on a new image?
yes please, you have to segment the imagery each time
hey Jesse thanks for the video! I have a question in Train Vector Classifier part, if i have mean_3 and stdev_3 do i also put that? also why do we use mean and stdev in Train Vector Classifier?
Steve, Mean are parameters that are computed during the compute statistics stage, they are related to the mean pixel and the std of the pixel in each segment.......that's y the number (n) depends on the number of bands the image has.
What means "More than 1000 errors or warnings have been reported. No more will be reported from now." ? Please help me.
Please help! Vector classification does not have an output for me, maybe its because of the model? Im using 3.32.1 - Lima version
Please share a screenshot error
Please share a screenshot error
Great video. Can you share the tutorial data, please? Can I use Google Earth Imagery for this?
Thank you so much Michael. Well when it comes to the data, you need to download satellite imagery.
You could consider downloading freely available sentinel 2 or landsat 8.
@@JessetheGeographer if I have sentinel 2 data, which data should I enter? are all bands or bands stacked? sorry if my english is not polite sir, i use google translate. Thank you sir
@@einsor7260 stack b2,3,4
my classified output is not appearing. What could be the problem?
sorry , what could be the problem
hello, I face some struggle during the "VectorClassifier". The shp is missing at the end. I can find it nowhere and even I try to run it on temporary file, it doesn't show up either. Thanks in advance
@jessybuyungo I need your help
Hello chief, what does it say after classification?, does it give an error?
@@JessetheGeographer hello, so basically the algorithm work perfectly but I can't find the output. Plus there's no error message after running the "vectorclassifier". I just don't understand why it's missing. I choose the file for the results and everything but it's still missing
I can't understand the problem, maybe we can arrange an online meet and you take me through and I can guide you where you are going wrong
@@JessetheGeographer ohh really, thanks in advance.
Professor, how can I create a DEM elevation model file from the surface of the external appearance using the Qgis Orfeo Toolbox plugin? Please answer me, and thank you very much, Doctor.
Great job @Jesse!! I would like to look at the Accuracy assessment results. How accurately did the algorithm predict the class?
Well I you like to do accuracy assessment, make sure you pick testing samples and the same way you did for the training data.
And supply it to the algorithm during the training.
It will give you a confusion matrix which you can analyze ......and generate producer, user, overall accuracy parameters, etc
Dear Sir, thank you so much for this nice video! One question: how do you do accuracy assessment after the classification? Is there some kind of confusion matrix that I can get in QGIS after the classification?
Thanks for your help
Yes please, prepare test and train data shapefile differently..... during model training...input the test data tooo.....and a confusion matrix will be output
Dear Karina, I also Face a challenge to perform an accuracy assesment in a train vector calssifier. Have you got a solution to accuracy assessment? please share me!!!
@@JessetheGeographer Hello Sir. Can you make a separate video for accuracy assessment as it is necessary after classification to prove our results?
train vector classifier
'Could not load selected layer/table. Dependent field could not be populated'. So no sence to watch AFTER THAT AS WELL
Hello Jesse, thank you for your great tutorial video. I have a question regarding the OTB plugin. I couldn't find the plugin in QGIS 3.16.
Please you need to install otb, watch my tutorial on how to
Does anyone know how to increase the number of iterations for the SVM classification method using the train vector classifier
if I use polygons instead of points for the training sample it the classification goin to be more accurate?
We. Are not using points actually, we are selecting points which we later use to select our polygons
@@JessetheGeographer got it!! in your opinion what model is the most accurate? Im trying em all but it seems that linear and polinomial are the better ones
...I can't say that there is an accurate model, different model will be accurate depending on the given situation, maybe the landscape, the samples, the satellite imagery etc.....
@@JessetheGeographer I undestand, another thing, im trying to do the segmentation with a landsat but it doesnt work, the output is just a big polygon that cover the study area. Do I need to change some settings for landsat? I tried to resample at10 meters but It doesnt work
Can I give you a tutorial for that at a discounted price?
Hi sir I would like to ask if you have a tutorial on how to segment the tree crown using OTB or anything that will segment tree crown using the UAS data
Try using this approach and check the results please, however this requires high resolution imagery
@@JessetheGeographer I used this approach but it was oversegmented and there was an error "Self-intersection at or near point". And I also used UAV image so it will have a high resolution. Can you recommend how to segment only the tree crown and the parameters to used for this? please
can you explain why u use autocad and not shp in the last, i didnt see my file output any help pls ?
Hi there, am sorry, but I haven't used AutoCAD in this tutorial, Incase you are facing challenges, I can take you through under a private arrangement please
@@JessetheGeographer I once again tried all the steps at the final classification stage to open the output shp file, I cannot find it despite the message specifying that the document has been classified, can you review this on your side maybe there was an error
Ohhh sorry chief. Try checking in the directory you saved it
Thanks for this great video! I am trying your method and so far I have no problem from the start until the part of "vector classifier". It keeps showing this: "2021-08-10 22:20:06 (FATAL) VectorClassifier: itk::ERROR: Failed to open GDALDataset file C:\Users\" and it does not produce the classified output layer. I am using QGIS 3.18 Zurich and OTB (7.3) Windows 64bits with OTB master plugin. I wonder what could be the problem? I would appreciate your help
well could you please share a snapshot of your Input parameters plus the error screen snapshot please
@@JessetheGeographer would you mind if I share it in your email instead here? thanks
@@sarahjane4484 kindly contact me using: jessebuyungo48@gmail.com
Whatever file you save, and the folders in which the files are located make sure their names don't have a space, rather use _ instead of spaces.
@@JessetheGeographer I have sent you an email regarding the same problem.
.model file not creating
plz tell me what to do
I have this series QGİS 3.20.3. Is it possible with it?The segmentation tool is not found when searching in the toolbox.Please help me
Please have you installef the OTB plugin already??
Thank you sir for the tutorial. I want to ask you how to extract lineament using obia?
Well, the procedure is the same
I am having a hard time with this, my results layer ends up flipped like a mirror above my satmap. I think this is making the rest of this project not work.
Could you please share a snapshot of the output
I have the same problem, how can I send you a screenshot?
is there a solution for this?
what version are you using?
Hannover
Hi, Thank you for your great video. I have to face a problem with the "Train Vector Classifier". I received an error message " TrainVectorClassifier: itk::ERROR: FieldParameter(0000022C97C15A30): Single selection mode is on, but there are 2 selected items ". Please help me.
Thank you for this video, can we use google street view or image, and use Qgis for image classification without using deep learning?
No please. We have to use Aerial or satellite imagery
why isn't it possible to use an image you took by yourself?
@@JessetheGeographer
Will it work with landsat 7 data also
yes but at a lwoer resolution
When I do categorized after the classified output, i get only 1 class; though i have created 5 classes during the training data/sample. What seems to be the problem?
Please open the attribute table of that layer and check first the predicted classes, if you see all the five classes then go on to the symbology and categorize,
Alternatively if you see only one class predicted then please you need to recustomize your training parameters and re-run the algorithm.
did you resolve the problem? i haver the same issue (only one predicted classs, even for polygons that have been classified as a different class)
sir is there any way you could demonstrate sun glint and water column correction and OBIA using planet data in qgis or arcgis for benthic habitat mapping?
Hi, I have the same problem. I am trying to apply classification to images acquired with UAV on the water surface (full motio video) to detect posidonia.
Have you had any feedback to your question? can you give me any suggestions please? thanks
can i use this methodology for a binary classification?
Not so sure, it may not work, still you can do a multi class classification and visualize it as a binary one...... Quite simple to do
Hey, great work. However, I can´t use TrainVectorClassifier, it keeps showing the same error, "Could not load selected layer/table. Dependent field could not be populated", after loading the joined layer. How can I fix it? Thank y
Save as .shp
@@JessetheGeographer I have saved it as a .shp file but its still showing the same error when I am trying to carry out the TrainVectorClassifier. How can I resolve this issue?
Which Qgis version are you using?
@@JessetheGeographer QGIS DESKTOP 3.16.1
@@bidiptaghosal7411 I don't know now because I use the same version
Hi great tutorial right there. If you don’t mind answering, i would love to ask. Can the analysis be done at urban/regional scale spatial unit? Because from your tutorial, the analysis is done at neighborhood scale
Yes please you can do the analysis at a regional scale
Jesse Buyungo does it require survey or sampling ?
@@hernandbagaskara sampling is fine
if I have sentinel 2 data, which data should I enter? are all bands or bands stacked? sorry if my english is not polite sir, i use google translate. Thank you sir
No worries,. Its fine.
Sentinel 2 stack B,2,3,4 to make RGB color image
I don't have the segmentation option in my toolbox
Really?
Good day Sir, Can I ask the Name of the Plugins used for segmentation? Thank you
orfeo tool box
OTB
@@JessetheGeographer Where do I get this plugin from? I have Orfeo Toolbox provider plugin installed but it's not showing in the panel.
i have 6 class_id´s but predicted only classifies everything as the same (i.e. 1 of 6), even those polygons which have been given class ids. potential issues might be that im using sentinel-2 data, which results in 9x mean and stdev fields. additionally, after the join by location, are you using a filtered dataset for the training (ie only those polygons that have been assigned class_ids) or does your training dataset contain all polygons with both class id´s assigned and polygons with class id NA?
2021-12-01 15:29:08 (INFO) VectorClassifier: Default RAM limit for OTB is 256 MB
2021-12-01 15:29:08 (INFO) VectorClassifier: GDAL maximum cache size is 813 MB
2021-12-01 15:29:08 (INFO) VectorClassifier: OTB will use at most 8 threads
2021-12-01 15:29:08 (INFO) VectorClassifier: Model loaded
2021-12-01 15:29:08 (INFO) VectorClassifier: mean used: [0]
2021-12-01 15:29:08 (INFO) VectorClassifier: standard deviation used: [1]
2021-12-01 15:29:08 (INFO) VectorClassifier: Loading model
log files from vectorClassifier output.
May be you Didn't configure the training very well.
Could you please share a screenshot of the error?
@@JessetheGeographer greeting of peace, I have same problem.
Hii there! the segmentation process shows completed within seconds and there are no results...please help
Could you please share a screenshot of the error/ result screen
Nice video and understandable instructions. please sir, can you share my your presentation slide on this video or pdf.
Can I do it in ArcGIS?
I think you should be able to
you did not mention the source of the imagery
Please feel free to use any high resolution imagery
Hey great vid, I tried to copy but it resulted in this error: Warning 1: Self-intersection at or near point 145032.5 408201.5, do you know what went wrong?
Did it stop there or it proceeded???
Dear jorrit, I also face this challenge? have you get a solution?
Hi, very informative video but I have this error saying: "Classified_output" has invalid geometry. Please fix the geometry or change the Processing setting to the "Ignore invalid output features" option.
This is occured when I try to compute or Dissolve the Classified Output.
Could you share the error snapshot please
heey brother l need your help. Isent you an email concerning this topic
please resend the email I have failed to identify it , I am sorry I haven't replied, yet.
@@JessetheGeographer l managed to figure it out.thank you Jesse
2023-08-25 11:41:41 (WARNING) Segmentation: The input image has no data values but this application does not handle no-data. No-data pixels will be treated as regular pixels.
2023-08-25 11:41:41 (FATAL) Segmentation: itk::ERROR: No OGR driver known to OTB to create and handle a DataSource named .
i don't know but my otb doesn't work at all
Thanks for this great video! I am trying your method and so far I have no problem from the start until the part of "vector classifier". It keeps showing this: ectorClassifier: itk::ERROR: ListViewParameter(000002495504F300): Value mean_0 not found in the list of choices: Value, Count, NbPixels, Flat, Round, Elong, Perim, meanB1, meanB2, meanB3, stdB1, stdB2, stdB3, MedB1, MedB2, MedB3, VarB1, VarB2, VarB3, KurtB1, KurtB2, KurtB3, SkewB1, SkewB2, SkewB3, NbPixels_1, Flat_1, Round_1, Elong_1, Perim_1, meanB1_1, meanB2_1, meanB3_1, stdB1_1, stdB2_1, stdB3_1, MedB1_1, MedB2_1, MedB3_1, VarB1_1, VarB2_1, VarB3_1, KurtB1_1, KurtB2_1, KurtB3_1, SkewB1_1, SkewB2_1, SkewB3_1.
Have you computed statistics for the input layer, if Yes make sure the stat layer is joined and the input to the classifier is that joined layer, if you have done this, you can share a snapshot of the error and I see how to help
You should try input "meanB1 meanB2" etc. for training vector classifier.
OTB currently support only gdal and ogr provider. Parameter 'inzone.vector.in' uses 'memory' provider
Execution failed after 0.04 seconds
so, the second half of a video makes no sence to watch