VR-Vantage 3.1 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 
27 {
28 public:
29 
30 
32  // seGainLevel
39  seGainLevel(seDetector *detector, seOptics *optics, seElectronics *electronics);
40 
42  //seGainLevel
46  ~seGainLevel();
47 
49  //getRadianceGain
54  double getRadianceGain();
55 
57  //getRadianceLevel
62  double getRadianceLevel();
63 
65  //getLutGain
70  double getLutGain();
71 
73  //getLutLevel
78  double getLutLevel();
79 
81  //addGainLevel
88  void addGainLevel(float *inputImage, long width, long height);
89 
91  //getGainLevel
97  void getGainLevel(double &gain, double &level);
98 
100  //getFinalGainLevel
106  void getFinalGainLevel(double &gain, double &level);
107 
109  //computeHistogram
118  void computeHistogram(float *image, long width, long height);
119 
121  // getHistogramEqualizationMap
125  float * getHistogramEqualizationMap(int &size, bool HPtype = true);
126 
128  //computeMaxAGC
133  void computeMaxAGC();
134 
136  //computeClippedAGC
140  void computeClippedAGC();
141 
143  // getApertureGainAdjustment
149  double getApertureGainAdjustment();
150 
152  // StandardLuminousEfficacy
158  double StandardLuminousEfficacy(void);
159 
161  // MCPGain
163 
173  double MCPGain(double InputRadiance, double ThreshRadiance, double g0, double g1, double E);
174 
176  // MCPAGCSaturationRadiance
185  double MCPAGCSaturationRadiance(double ElementDimension_mm);
186 
187 
188 private:
189 
196 
201 
203  double m_gain;
205  double m_level;
207  double m_average;
209  double m_stdev;
211  double m_maxValue;
213  double m_minValue;
226 
229 };
230 
231 #endif /* _seGainLevel_ */


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