OTB does not support the new ITK statistic framework
Mantis Issue 170, reported by echristophe, assigned to msavinaud, created: 2010-06-08
Using the new ITK statistic framework does not work with OTB. (ITK_USE_REVIEW_STATISTICS to ON).
That causes problems as the ListSample is not a DataObject in the old stat framework and can't be used naturally in filters. (this is fixed in the new framework).
I ran in this issue here: http://hg.orfeo-toolbox.org/OTB/file/23226ac2750c/Code/Learning/otbListSampleGenerator.h#l90 And Jordi as well: http://hg.orfeo-toolbox.org/OTB/rev/4253d00fbd6a
Following the instruction at, http://www.itk.org/Wiki/Proposals:Refactoring_Statistics_Framework_2007_Migration_Users_Guide I managed to migrate a part of the OTB classes (committed in a separate local branch for now). I gave up on the SEM/SOM that would require more modifications (might be better to simplify these filters first and reuse method instead of reimplementing).
Note that the doxygen is getting confused for now by classes that have the same name in
- Utilities/ITK/Code/Numerics/Statistics/
- Utilities/ITK/Code/Review/Statistics/ (I'll exclude the Review/Statistics from the doxygen path later).
1401182224 - mickaeldone with the migration to support ITK4.x with OTB 4.0
1429262637 - julienClosing resolved bugs.