Hi Sinead, in the input vector data list you should provide polygons which contains a column in the attribute table which allows to identify the class associated to the polygon. This column should contains integer values (1 for oats, 2 for wheat for instance etc...).
It's not require that polygons contain also the images signatures. Don't forget also to indicate the column name in the Train Image graphical interface with the parameter "Field Name". Hope it helps. Best regards, 2017-05-17 16:39 GMT+02:00 Sinead Bracken <[email protected]>: > > Hi there. > > I am hoping to use the decision tree tool in OTB montevardi to classify an > image containing various crop types (e.g. oats, wheat, barely) in order to > generate crop yield and crop area. > I am familiar with the basics of a decision tree, and have only ever built > one via graph in ENVI. > > To generate a decision tree in OTB:I click 'Train images classifier' > > then fill in the parameters as follows: > > input image list: I input a Sentinel 2 image and then a Landsat 8 image of > the same area. > input vector data list: I input 2 training files containing polygons and > signatures from both the sentinel 2 and Landsat 8 file > input statistics model : I put in a file generated earlier by the second > statistics tool which has calculated the mean and std > ELevation: I don't have to input a file, a default elevation will be used > by the tool > > classifier : decision tree selected > > save OTB to application to XML file: a file name is saved to a location > > > Is the above approach correct? The monteverdi plugin crashes everytime I > try this approach. > > > Thank you in advance, > > Sinead > > -- > -- > Check the OTB FAQ at > http://www.orfeo-toolbox.org/FAQ.html > > You received this message because you are subscribed to the Google > Groups "otb-users" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/otb-users?hl=en > --- > You received this message because you are subscribed to the Google Groups > "otb-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Manuel Grizonnet -- -- Check the OTB FAQ at http://www.orfeo-toolbox.org/FAQ.html You received this message because you are subscribed to the Google Groups "otb-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/otb-users?hl=en --- You received this message because you are subscribed to the Google Groups "otb-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
