thank you Jordi!!
your answer is really helpful. there is conflict between the image and the
shp file.

2016-07-27 9:29 GMT+03:00 Jordi Inglada <[email protected]>:

> Hi Theodosia,
>
> When no samples are found, usually this is due to one of these issues :
>
> - the image and the reference data files do not have the same projection
> - the reference data has to be made of polygons (not points, not
> poly-lines)
> - the attribute of the vector data containing the class label (integer)
> has to have the same name as the one you specify with the -sample.vfn
> option in the application
>
> If you do not manage to solve your problem with these hints, you may want
> to make available a small data set showing the problem so we can
> investigate.
>
> Good luck,
>
> Jordi
>
> Theodosia Vardoulaki <[email protected]> wrote:
> >
> > Hello,
> >
> > although the example of otb application for train images SVM classifier
> is successfully executed with the out of the box installation OTB 5.4.0.
> Now with my data which are a google maps image with georeference, a
> shapefile is made with the same way like the
> > example and statistics of the image are computed with otbcli, the
> application is displayed in logs the following error :
> >
> > 367: itk::ERROR: No training sample found inside image.
> >
> > Do you have any idea which is the problem now and what could i do?
> >
> > PS : i tried to make the shp with different ways but i didn't manage to
> have a result.
> >
> > thank you
> >
> > 2016-07-25 14:21 GMT+03:00 Theodosia Vardoulaki <[email protected]>:
> >
> >
> >  With OTB 5.4.0, i can get result for classification with svm classifier.
> >
> >  thanks
> >
> >  2016-07-12 9:41 GMT+03:00 Theodosia Vardoulaki <[email protected]>:
> >
> >
> >  thank you Julien I'll try it.
> >
> >  Τη Δευτέρα, 11 Ιουλίου 2016 - 9:50:32 π.μ. UTC+3, ο χρήστης Julien
> Michel έγραψε:
> >
> >
> >  It might be that Ubuntu package is built with libsvm support. If so, it
> >  should.
> >
> >  Anway, you can try our standalone package which will work "out of the
> box" :
> >
> >  https://www.orfeo-toolbox.org/packages/OTB-5.4.0-Linux64.run
> >
> >  Julien
> >
> >  Le 08/07/2016 à 18:45, Theodosia Vardoulaki a écrit :
> >  > Hello,
> >  >
> >  > I would like to ask about otbcli and SVM classifier. I tried to do the
> >  > example of supervised classification from OTB applications with SVM
> >  > classifier. I followed exactly the instructions of cookbook and from
> >  > here
> >  > (
> https://www.orfeo-toolbox.org//Applications/TrainImagesClassifier.html)
> >  > and it is displayed the following error :
> >  >
> >  > ERROR: option -classifier.libsvm.k does not exist in the application.
> >  > This is the TrainImagesClassifier application, version 5.2.0
> >  > Train a classifier from multiple pairs of images and training vector
> data.
> >  >
> >  > I have the version 5.2.1 and i use Ubuntu 14.04. Do you have any idea
> >  > which is the problem and what could i do?
> >  >
> >  > Thank you
> >  >
> >  >
> >  > --
> >  > --
> >  > 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]
> >  > <mailto:[email protected]>.
> >  > For more options, visit https://groups.google.com/d/optout.
> >
> >  --
> >  Julien MICHEL
> >  CNES - DCT/SI/AP - BPI 1219
> >  18, avenue Edouard Belin
> >  31401 Toulouse Cedex 09 - France
> >  Tel: +33 561 282 894 - Fax: +33 561 283 109
> >
> >  --
> >  --
> >  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 a topic in the
> Google Groups "otb-users" group.
> >  To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/otb-users/Qhh4L3vB8xM/unsubscribe.
> >  To unsubscribe from this group and all its topics, send an email to
> [email protected].
> >  For more options, visit https://groups.google.com/d/optout.
> >
> >
> > --
>
> --
> --
> 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 a topic in the
> Google Groups "otb-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/otb-users/Qhh4L3vB8xM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
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