Hi, Actually I found my problem: I had NaN pixels in my image. After I replaced them with no data values (using the ManageNoData application) the KMeans classification worked fine.
Is it still relevant to file a bug report? Regards, Thibaut On Tuesday, May 15, 2018 at 5:32:37 PM UTC+2, Julien Michel wrote: > > Hi, > > > > Can you file a bug report ? > > > > https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/issues > > > > Thanks a lot, > > > > Regards, > > > > Julien > > > > *De :* otb-...@googlegroups.com <javascript:> [mailto: > otb-...@googlegroups.com <javascript:>] *De la part de* Thibaut Voirand > *Envoyé :* mardi 15 mai 2018 16:35 > *À :* otb-users <otb-...@googlegroups.com <javascript:>> > *Objet :* [otb-users] Re: Fail computing KMeans Classification on > ASTER/Sentinel2/Landsat-Strip images > > > > Hello Lucas, > > I'm having the same problem on a Landsat 8 image. > Did you find a solution? > > Thanks > Thibaut > > On Monday, February 12, 2018 at 1:58:46 PM UTC+1, DAVAZE Lucas wrote: > > Hi, > > > > I'm currently trying to process an unsupervised classification on ASTER, > Sentinel2 and Stripped Landsat images that receive preliminary corrections > (cloud filtering, topographic correction, band ratio etc...). However, the > classification fails and I get the following message when using OTB from > the commandline (I get the same from the GUI version). > > > > *Error when loading model > S2A_OPER_MSI_L1C_TL_SGS__20160823T173537_A006111_T31TGL_RATIO2_TopCor_Res_30_clip_clean_KMEAN.tif_model.txt* > > > > It seems that this .txt is the problem but I don't understand why. The > classif works on non-stripped landsat images that receive exactly the same > processing chain that the ASTER, S2A and stripped Landsat. > > > > Do you know how I can make it work ? > > > > I attached the files for which the classif is not working. > > > > Thanks in advance, > > > > Lucas. > > > > -- > -- > 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 otb-...@googlegroups.com > <javascript:> > To unsubscribe from this group, send email to > otb-users+...@googlegroups.com <javascript:> > 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 otb-users+...@googlegroups.com <javascript:>. > 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 otb-users@googlegroups.com To unsubscribe from this group, send email to otb-users+unsubscr...@googlegroups.com 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 otb-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.