Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Lozac'h Loic
AgriSoilMoisture
Commits
b1568797
Commit
b1568797
authored
Jan 14, 2021
by
Lozac'h Loic
Browse files
ADD gestion pente stats filter3
parent
1f6e3b21
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/otbStreamingStatisticsMapFromLabelImageFilter3.h
View file @
b1568797
...
...
@@ -11,8 +11,8 @@
* Created on January 14, 2021, 12:54 AM
*/
#ifndef
OTBSTREAMINGSTATISTICSMAPFROMLABELIMAGEFILTER
3_
H
#define
OTBSTREAMINGSTATISTICSMAPFROMLABELIMAGEFILTER
3_
H
#ifndef
otbStreamingStatisticsMapFromLabelImageFilter
3_
h
#define
otbStreamingStatisticsMapFromLabelImageFilter
3_
h
#include "otbPersistentImageFilter.h"
#include "itkNumericTraits.h"
...
...
@@ -98,7 +98,7 @@ public:
}
// Function update (self)
void
Update
(
const
StatisticsAccumulator
&
other
)
void
Update
(
const
StatisticsAccumulator
3
&
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
...
...
include/otbStreamingStatisticsMapFromLabelImageFilter3.hxx
View file @
b1568797
...
...
@@ -5,14 +5,14 @@
*/
/*
* File: otbStreamingStatisticsMapFromLabelImageFilter
2
.hxx
* File: otbStreamingStatisticsMapFromLabelImageFilter
3
.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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment