Hi Jordi,

Thanks for your input. I cannot find ComputeImagesStatistic in OTB. 
Instead, I find Compute Images Second order Statistic.
I tried it but it only accepted raster file, not a shapefile. While the one 
i need to compute is a vector file. I will try to convert it into raster 
and see what happened.

Is there any further input how to calculate statistic of a vector file?

Thank you.

Best regards.
Monika

<https://lh3.googleusercontent.com/-tqvaSz93Di4/V10Ue5OLIpI/AAAAAAAABBw/SzwTQbu8SlMEJTw39ZsAWipxFVRp4sK8QCLcB/s1600/org3.PNG>


Le samedi 11 juin 2016 20:32:48 UTC+2, Jordi Inglada a écrit :
>
>
> Hi, 
>
> I don't use QGis nor the ComputeOGRLayersFeaturesStatistics, but maybe you 
> have to use the ComputeImagesStatistics application to generate this xml 
> file? 
>
> Jordi 
>
> > * 
> > 
> > I put segmentation results as "Input shapefile" and create XML file of 
> each feature (class) using SCP (Semi-Automatic Classification Plugin) and 
> input it as XML file. I was running and closed, but there is no 
> > output anywhere. 
> > 
> > 
> > * 
> > 
> > That is why I am confused because this application should give output on 
> .xml. I am sorry because I do not really understand how to running this app 
> via phyton, that is why I rely on QGIS gui. 
> > 
> > Any help is appreciated, thank you. 
> > 
> > Kind regards, 
> > Monika 
> > 
> > Le vendredi 10 juin 2016 18:20:49 UTC+2, Grizonnet Manuel a écrit : 
> > 
> >  Hi Monika, 
> > 
> >  if I understand the tutorial I think that the XML is created using the 
> ComputeOGRLayersFeaturesStatistics application. 
> > 
> >  You can find the documentation of it in the otb cookbook: 
> > 
> >  
> https://www.orfeo-toolbox.org/CookBook/CookBooksu125.html#x157-9360004.9.1 
> > 
> >  Regards, 
> > 
> >  Manuel 
> > 
> >  Le 06/06/2016 18:04, Monika Ruwaimana a écrit : 
> > 
> > 
> >  Hello OTB Team, 
> > 
> >  Sorry for a stupid question, I am really new with this software, and 
> using OTB toolbox in QGIS. 
> > 
> >  I am trying to do automatic segments classification, following 
> http://wiki.awf.forst.uni-goettingen.de/wiki/index.php/Object-based_classification_(Tutorial)
>  
> > 
> >  * 
> > 
> >  I managed to create the training shapefile (first red arrow). However, 
> the next step is requiring "XML file containing mean and variance of each 
> feature", but I cannot find the shapefile. I tried to create 
> >  the xml. signature file using SCP classification module, but it is not 
> working. 
> > 
> >  My questions are: 
> > 
> >  1. When created vector file using "Join Attributes by Location", is a 
> companion .xml file automatically created? 
> >  2. If not, how to created that "XML file containing mean and variance 
> of each feature"? 
> > 
> >  Thank you, hope you can help. 
> > 
> >  [1]: 
> http://wiki.awf.forst.uni-goettingen.de/wiki/index.php/Object-based_classification_(Tutorial)
>  
> >  [2]: http://i.stack.imgur.com/9wDBq.png 
> >  -- 
> >  -- 
> >  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.

Reply via email to