/usr/include/ossim/imaging/ossimImageStatisticsSource.h is in libossim-dev 1.8.16-3+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | #ifndef ossimImageStatistics_HEADER
#define ossimImageStatistics_HEADER
#include <ossim/base/ossimSource.h>
class OSSIMDLLEXPORT ossimImageStatisticsSource : public ossimSource
{
public:
ossimImageStatisticsSource();
virtual void computeStatistics();
virtual bool canConnectMyInputTo(ossim_int32 inputIndex,
const ossimConnectableObject* object)const;
const std::vector<ossim_float64>& getMean()const;
const std::vector<ossim_float64>& getMin()const;
const std::vector<ossim_float64>& getMax()const;
protected:
virtual ~ossimImageStatisticsSource();
void clearStatistics();
template <class T>
void computeStatisticsTemplate(T dummyVariable);
void setStatsSize(ossim_uint32 size);
std::vector<ossim_float64> theMean;
std::vector<ossim_float64> theMin;
std::vector<ossim_float64> theMax;
};
#endif
|