Commit b1568797 authored by Lozac'h Loic's avatar Lozac'h Loic
Browse files

ADD gestion pente stats filter3

parent 1f6e3b21
......@@ -11,8 +11,8 @@
* Created on January 14, 2021, 12:54 AM
*/
#ifndef OTBSTREAMINGSTATISTICSMAPFROMLABELIMAGEFILTER3_H
#define OTBSTREAMINGSTATISTICSMAPFROMLABELIMAGEFILTER3_H
#ifndef otbStreamingStatisticsMapFromLabelImageFilter3_h
#define otbStreamingStatisticsMapFromLabelImageFilter3_h
#include "otbPersistentImageFilter.h"
#include "itkNumericTraits.h"
......@@ -98,7 +98,7 @@ public:
}
// Function update (self)
void Update(const StatisticsAccumulator& other)
void Update(const StatisticsAccumulator3& other)
{
m_Count += other.m_Count;
const unsigned int nBands = other.m_Sum.GetSize();
......@@ -457,7 +457,9 @@ private:
void operator=(const Self&) = delete;
};
} // end namespace otb#ifndef OTB_MANUAL_INSTANTIATION
} // end namespace otb
#ifndef OTB_MANUAL_INSTANTIATION
#include "otbStreamingStatisticsMapFromLabelImageFilter3.hxx"
#endif
......
......@@ -5,14 +5,14 @@
*/
/*
* File: otbStreamingStatisticsMapFromLabelImageFilter2.hxx
* File: otbStreamingStatisticsMapFromLabelImageFilter3.hxx
* Author: otbuser
*
* Created on January 14, 2021, 12:54 AM
*/
#ifndef OTBSTREAMINGSTATISTICSMAPFROMLABELIMAGEFILTER3_HXX
#define OTBSTREAMINGSTATISTICSMAPFROMLABELIMAGEFILTER3_HXX
#ifndef otbStreamingStatisticsMapFromLabelImageFilter3_hxx
#define otbStreamingStatisticsMapFromLabelImageFilter3_hxx
#include "otbStreamingStatisticsMapFromLabelImageFilter3.h"
#include "itkInputDataObjectIterator.h"
......
Markdown is supported
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