OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimHistogramThreshholdFilter.h
Go to the documentation of this file.
1 //*******************************************************************
2 // Copyright (C) 2000 ImageLinks Inc.
3 //
4 // License: MIT
5 //
6 // See LICENSE.txt file in the top level directory for more details.
7 //
8 // Author: Garrett Potts
9 //
10 //*************************************************************************
11 // $Id: ossimHistogramThreshholdFilter.h 15766 2009-10-20 12:37:09Z gpotts $
12 #ifndef ossimHistogramThreshholdFilter_HEADER
13 #define ossimHistogramThreshholdFilter_HEADER
15 
17 {
18 public:
20  ossimHistogramThreshholdFilter(double minValuePercent,
21  double maxValuePercent,
22  ossimImageSource* inputSource,
23  ossimMultiResLevelHistogram* histogram);
24  virtual ossimRefPtr<ossimImageData> getTile(const ossimIrect& tileRect,
25  ossim_uint32 resLevel=0);
26 
27  virtual void setMinValuePercent(double minValue);
28  virtual void setMaxValuePercent(double maxValue);
29 
30  virtual double getMinValuePercent()const;
31  virtual double getMaxValuePercent()const;
32 
33  virtual void initialize();
34  virtual bool loadState(const ossimKeywordlist& kwl,
35  const char* prefix=0);
36  virtual bool saveState(ossimKeywordlist& kwl,
37  const char* prefix=0)const;
38 
39 protected:
41 
44  template <class T>
46  T dummyVariable,
48 
50 };
51 #endif
Represents serializable keyword/value map.
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=0)
Method to the load (recreate) the state of an object from a keyword list.
ossimRefPtr< ossimImageData > runThreshholdStretchAlgorithm(T dummyVariable, ossimRefPtr< ossimImageData > &tile)
virtual void setMinValuePercent(double minValue)
virtual ossimRefPtr< ossimImageData > getTile(const ossimIrect &tileRect, ossim_uint32 resLevel=0)
#define TYPE_DATA
Definition: ossimRtti.h:339
unsigned int ossim_uint32
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=0) const
Method to save the state of an object to a keyword list.
virtual void setMaxValuePercent(double maxValue)