Luiza  v03-01
ImageNormalizationProcessor.h
1 // -*- mode: c++; mode: auto-fill; mode: flyspell-prog; -*-
2 
3 #ifndef ImageNormalizationProcessor_h
4 #define ImageNormalizationProcessor_h 1
5 
6 #include "luiza/Processor.h"
7 
8 using namespace gloria;
9 
10 namespace luiza {
11 
12 
14 
93 
94  public:
95 
97 
98 
100 
104  virtual void init() ;
105 
108  virtual void processData( GloriaDataContainer* data ) ;
109 
110 
111  virtual void check( GloriaDataContainer* data ) ;
112 
113 
116  virtual void end() ;
117 
118 
119  protected:
120 
122  void printEndMessage() const ;
123 
126 
129 
132 
135 
138 
141 
144 
147 
149  double _imageScale;
150 
152  double _darkScale;
153 
155  double _flatScale;
156 
158  double _biasScale;
159 
161  std::vector<std::string> _matchKeywords;
162 
164  std::vector<std::string> _matchValues;
165 
168 
169  int _nLoops ;
170  int _nInputImages ;
171  int _nOutputImages ;
172  int _nCorrected;
173 
174  int _nKey;
175  std::string _initKeyVal;
176 
177  } ;
178 
179 } // end namespace luiza
180 #endif
181 
182 
183 
double _imageScale
Factor used to scale input image.
Definition: ImageNormalizationProcessor.h:149
double _flatScale
Factor used to scale flat frame.
Definition: ImageNormalizationProcessor.h:155
std::vector< std::string > _matchKeywords
Keywords which should match for selected dark/bias/flat frame.
Definition: ImageNormalizationProcessor.h:161
string _flatCollectionName
Name of the image collection containing flat images.
Definition: ImageNormalizationProcessor.h:131
virtual Processor * newProcessor()
Return a new instance of the processor.
Definition: ImageNormalizationProcessor.h:96
namespace for data storing and exchange formats
Definition: GloriaAstrometry.h:15
bool _AutoNormalization
Flag for automatic calculation of correction factors.
Definition: ImageNormalizationProcessor.h:143
bool _matchExpTime
Flag for using dark frame selection based on exposure time.
Definition: ImageNormalizationProcessor.h:167
std::vector< std::string > _matchValues
Values of keywords being matched for considered image.
Definition: ImageNormalizationProcessor.h:164
bool _FlatNormalization
Flag for subtracting dark/bias from flat frame.
Definition: ImageNormalizationProcessor.h:146
Class for storing all data processed in Luiza.
Definition: GloriaDataContainer.h:82
Base class for Luiza processors.
Definition: Processor.h:55
string _biasCollectionName
Name of the image collection containing bias images.
Definition: ImageNormalizationProcessor.h:134
string _outputCollectionName
Name of the output image collection.
Definition: ImageNormalizationProcessor.h:137
string _darkCollectionName
Name of the image collection containing dark images.
Definition: ImageNormalizationProcessor.h:128
string _inputCollectionName
Name of the image collection containing images to be corrected.
Definition: ImageNormalizationProcessor.h:125
bool _permanentCollection
Flag the output collection to be permanent.
Definition: ImageNormalizationProcessor.h:140
Simple processor to apply dark subtraction and flat correction.
Definition: ImageNormalizationProcessor.h:92
Namespace for Luiza framework.
Definition: CCCollection.h:6
double _darkScale
Factor used to scale dark image.
Definition: ImageNormalizationProcessor.h:152
double _biasScale
Factor used to scale bias image.
Definition: ImageNormalizationProcessor.h:158