Hi, It seems that your Train samples file does not have 14 features to use for the classifier. This number of features must be equal to the number of features computed in the XML file, though the module generates variance and mean for each feature.
Le jeu. 13 déc. 2018 à 09:01, Friederike Lambrecht <[email protected]> a écrit : > I want to include the geometric features (flat, round, elong, perim) that > I generated with ObjectRadiometricStatistics as features to train the > classifier for an Object based classification. It works when I only use > mean and variance as usual.The xml file was created with > ComputeOGRLayersFeaturesStatistics > also including the geometric features. > > But I get this Error message: > > 2018-12-13 14:29:43 (FATAL): itk::ERROR: > ShiftScaleSampleListFilter(000002DEDDA15100): Inconsistent measurement > vector size : Input Sample List size 12 Scale measurement vector size 14 > Shift measurement vector size 14 > > Does someone know, what could be the problem? > > -- > -- > 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. > -- -- 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.
