diff --git a/Modules/Applications/AppHyperspectral/app/otbEndmemberNumberEstimation.cxx b/Modules/Applications/AppHyperspectral/app/otbEndmemberNumberEstimation.cxx index cdb031e3f00ca7cef6875cc5aac6cbc8324c4b9e..22853922cf9c913cfb23953f9023ccb87a802848 100644 --- a/Modules/Applications/AppHyperspectral/app/otbEndmemberNumberEstimation.cxx +++ b/Modules/Applications/AppHyperspectral/app/otbEndmemberNumberEstimation.cxx @@ -133,7 +133,8 @@ private: otbAppLogINFO("Computing statistics on input image..."); auto statisticsFilter = StreamingStatisticsVectorImageFilterType::New(); statisticsFilter->SetInput(inputImage); - + AddProcess(statisticsFilter->GetStreamer(), "Statistic estimation step"); + statisticsFilter->Update(); auto correlationMatrix = statisticsFilter->GetCorrelation().GetVnlMatrix();