Luiza  v03-01
BackgroundImage.h
1 // -*- mode: c++; mode: auto-fill; mode: flyspell-prog; -*-
2 
3 #ifndef BackgroundImage_h
4 #define BackgroundImage_h 1
5 
6 #include "luiza/Processor.h"
7 
8 using namespace gloria;
9 
10 namespace luiza {
11 
12 
14 
59  class BackgroundImage : public Processor {
60 
61  public:
62 
63  virtual Processor* newProcessor() { return new BackgroundImage ; }
64 
65 
66  BackgroundImage() ;
67 
71  virtual void init() ;
72 
75  virtual void processData( GloriaDataContainer* data ) ;
76 
77 
78  virtual void check( GloriaDataContainer* data ) ;
79 
80 
83  virtual void end() ;
84 
85 
86  protected:
87 
89  void printEndMessage() const ;
90 
93 
96 
99 
102 
104 
108 
110 
114 
117 
118  int sizeX;
119  int sizeY;
120  long sizeXY;
121 
123 
128 
129  int _nLoops ;
130  int _nInputImages ;
131  int _nOutputImages ;
132 
133  } ;
134 
135 } // end namespace luiza
136 #endif
137 
138 
139 
bool _permanentCollection
Flag the output collections to be permanent.
Definition: BackgroundImage.h:101
namespace for data storing and exchange formats
Definition: GloriaAstrometry.h:15
int _backgroundSampling
Background sampling factor.
Definition: BackgroundImage.h:107
int _interpolationOrder
Polinomial order used to interpolate background map.
Definition: BackgroundImage.h:116
int _frameDivision
Frame division for background calculation.
Definition: BackgroundImage.h:113
virtual Processor * newProcessor()
Return a new instance of the processor.
Definition: BackgroundImage.h:63
Processor to generate background/noise map from CCD frame.
Definition: BackgroundImage.h:59
Class for storing all data processed in Luiza.
Definition: GloriaDataContainer.h:82
Base class for Luiza processors.
Definition: Processor.h:55
string _noiseCollectionName
Name of the output noise image collection.
Definition: BackgroundImage.h:98
string _inputCollectionName
Name of the image collection containing images to be added.
Definition: BackgroundImage.h:92
Namespace for Luiza framework.
Definition: CCCollection.h:6
bool _useTelescopeParameters
Use network configuration file to update processor parameters.
Definition: BackgroundImage.h:127
string _backgroundCollectionName
Name of the output background image collection.
Definition: BackgroundImage.h:95