VR-Vantage 3.0 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
seGainLevel.h
Go to the documentation of this file.
1 
2 // Copyright JRM Enterprises, Inc. 2004
3 // All rights reserved.
4 //
5 // This code is the intellectual property of JRM Enterprises, Inc.
6 // It may not be used or released as source or compiled binary form
7 // without the prior written consent of JRM Enterprises, Inc.
8 //
9 // Original Author: Ken George Date: Oct 2004
11 #ifndef _seGainLevel_
12 #define _seGainLevel_
13 
14 #include "sedllexport.h"
15 #include "seDetector.h"
16 #include "seOptics.h"
17 #include "seElectronics.h"
18 
19 //#define HistogramEqualization 1 // uncomment for prototype histogram equalization technique - enable colormapping in order to use it.
20 
28 {
29 public:
30 
31 
33  // seGainLevel
40  seGainLevel(seDetector *detector, seOptics *optics, seElectronics *electronics);
41 
43  //seGainLevel
47  ~seGainLevel();
48 
50  //getRadianceGain
55  double getRadianceGain();
56 
58  //getRadianceLevel
63  double getRadianceLevel();
64 
66  //getLutGain
71  double getLutGain();
72 
74  //getLutLevel
79  double getLutLevel();
80 
82  //addGainLevel
89  void addGainLevel(float *inputImage, long width, long height);
90 
92  //getGainLevel
98  void getGainLevel(double &gain, double &level);
99 
101  //getFinalGainLevel
107  void getFinalGainLevel(double &gain, double &level);
108 
110  //computeHistogram
119  void computeHistogram(float *image, long width, long height);
120 
122  // getHistogramEqualizationMap
126  float * getHistogramEqualizationMap(int &size, bool HPtype = true);
127 
129  //computeMaxAGC
134  void computeMaxAGC();
135 
137  //computeClippedAGC
141  void computeClippedAGC();
142 
144  // getApertureGainAdjustment
150  double getApertureGainAdjustment();
151 
153  // StandardLuminousEfficacy
159  double StandardLuminousEfficacy(void);
160 
162  // MCPGain
164 
174  double MCPGain(double InputRadiance, double ThreshRadiance, double g0, double g1, double E);
175 
177  // MCPAGCSaturationRadiance
186  double MCPAGCSaturationRadiance(double ElementDimension_mm);
187 
188 
189 private:
190 
197 
202 
204  double m_gain;
206  double m_level;
208  double m_average;
210  double m_stdev;
212  double m_maxValue;
214  double m_minValue;
227 
228 
229 };
230 
231 #endif /* _seGainLevel_ */


Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)