Skip to content

Enhance StreamingStatisticsMapFromLabelImageFilter

Rémi Cresson requested to merge enhance_mapfromlabelstats into develop

Summary

Improves the otbStreamingStatisticsMapFromLabelImageFilter with the following enhancements:

  • Compute count, mean, standard deviation, min, max
  • Multithreaded

Rationale

A class named StatisticsAccumulator handles the update of statistics. I feel that in a near future refactoring we could create such container(s) for statistics. This way, we could reuse this in many otb image statistics components (StreamingImageStatistics and co.). Moreover, we could enrich the persistent filter base classes to enable the (optional) native support of MPI. (But of courses this deserve a complete new RFC)

Implementation Details

Classes and files

Give an overview of the implementation: main changes made to classes, files and modules. Do not paste complete diff, as it is available in the merge request already.

Applications

Describe any changes made to existing applications, or new applications that have been added.

Tests

Describe the testing strategy for new features.

Documentation

List or link documentation modifications that were made (doxygen, example, Software Guide, application documentation, CookBook).

Additional notes

List remaining open issues if any, and additional notes.

Copyright

The copyright owner is IRSTEA and has signed the ORFEO ToolBox Contributor License Agreement

Edited by Rémi Cresson

Merge request reports