Commit 43a93438 authored by Cedric's avatar Cedric
Browse files

ENH: added progress reporting to the statistic estimation step

No related merge requests found
Showing with 2 additions and 1 deletion
+2 -1
......@@ -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();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment