Hi Walid, On Wed, May 21, 2014 at 6:44 PM, Walid Bouceffa <[email protected]>wrote:
> Hi, > > I have an application based on OTB 3.20, now i want to migrate to OTB 4. , > i followed the migration > guidchromee<http://wiki.orfeo-toolbox.org/index.php/Migration_guide_OTBv4> > , > > typedef otb::Statistics::ConcatenateSampleListFilter<DoubleSampleListType> > ConcatenateFilterType; > ConcatenateFilterType::Pointer filter = > ConcatenateFilterType::New();filter->GetOutputSampleList();*replaced > by*filter->GetOutput(); > > > Could you give some more insight into your code other than a snippet from migration guide.? Just creating an instance and calling GetOutput() doesnt make sense at all. Do you have a call to filter->SetInput() somewhere before filter->GetOutput() ? now, my code compile but i got this error when i try to execute: > > 2014 May 21 17:35:47 : Application.logger (FATAL) The following error > occurred during application execution : > /usr/include/ITK-4.5/itkListSample.hxx:56: > itk::ERROR: ListSample(0x990ba18): MeasurementVectorSize: 0 doesn't match > input measurement vector length: 4 > [1] 26513 segmentation fault > /home/walid/OTB-4/install/usr/local/bin/otbApplicationLauncherCommandLine > . > > Could anyone help me please ? > > Best, > Walid > > > > -- > -- > 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. > -- Regards, Rashad -- -- 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.
