OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ProcessingParameters.h
Go to the documentation of this file.
1 //----------------------------------------------------------------------------
2 //
3 // "Copyright Centre National d'Etudes Spatiales"
4 //
5 // License: LGPL
6 //
7 // See LICENSE.txt file in the top level directory for more details.
8 //
9 //----------------------------------------------------------------------------
10 // $Id$
11 
12 #ifndef ProcessingParameters_h
13 #define ProcessingParameters_h
14 
15 #include <iostream>
18 
19 #include "BeamInformationRecord.h"
21 #include "BeamPixelCountRecord.h"
24 
25 namespace ossimplugins
26 {
32 {
33 public:
38 
43 
48 
56  friend std::ostream& operator<<(std::ostream& os, const ProcessingParameters& data);
57 
62 
67  {
68  return new ProcessingParameters();
69  };
70 
75  {
76  return new ProcessingParameters(*this);
77  };
78 
82  void Read(std::istream& is)
83  {
84  is>>*this;
85  };
86 
90  void Write(std::ostream& os)
91  {
92  os<<*this;
93  };
94 
99  {
100  return _rec_seq;
101  };
102 
106  std::string get_inp_media()
107  {
108  return _inp_media;
109  };
114  {
115  return _n_tape_id;
116  };
120  std::string* get_tape_id()
121  {
122  return _tape_id;
123  };
127  std::string get_exp_ing_start()
128  {
129  return _exp_ing_start;
130  };
134  std::string get_exp_ing_stop()
135  {
136  return _exp_ing_stop;
137  };
141  std::string get_act_ing_start()
142  {
143  return _act_ing_start;
144  };
148  std::string get_act_ing_stop()
149  {
150  return _act_ing_stop;
151  };
155  std::string get_proc_start()
156  {
157  return _proc_start;
158  };
162  std::string get_proc_stop()
163  {
164  return _proc_stop;
165  };
169  double* get_mn_sig_lev()
170  {
171  return _mn_sig_lev;
172  };
177  {
178  return _scr_data_ind;
179  };
184  {
185  return _miss_ln;
186  };
191  {
192  return _rej_ln;
193  };
198  {
199  return _large_gap;
200  };
205  {
206  return _bit_err_rate;
207  };
211  double get_fm_crc_err()
212  {
213  return _fm_crc_err;
214  };
219  {
220  return _date_incons;
221  };
226  {
227  return _prf_changes;
228  };
233  {
234  return _delay_changes;
235  };
240  {
241  return _skipd_frams;
242  };
247  {
248  return _rej_bf_start;
249  };
254  {
255  return _rej_few_fram;
256  };
261  {
262  return _rej_many_fram;
263  };
268  {
269  return _rej_mchn_err;
270  };
275  {
276  return _rej_vchn_err;
277  };
282  {
283  return _rej_rec_type;
284  };
288  std::string get_sens_config()
289  {
290  return _sens_config;
291  };
295  std::string get_sens_orient()
296  {
297  return _sens_orient;
298  };
302  std::string get_sych_marker()
303  {
304  return _sych_marker;
305  };
309  std::string get_rng_ref_src()
310  {
311  return _rng_ref_src;
312  };
317  {
318  return _rng_amp_coef;
319  };
324  {
325  return _rng_phas_coef;
326  };
331  {
332  return _err_amp_coef;
333  };
338  {
339  return _err_phas_coef;
340  };
345  {
346  return _pulse_bandw;
347  };
351  std::string get_adc_samp_rate()
352  {
353  return _adc_samp_rate;
354  };
359  {
360  return _rep_agc_attn;
361  };
366  {
367  return _gn_corctn_fctr;
368  };
373  {
374  return _rep_energy_gn;
375  };
379  std::string get_orb_data_src()
380  {
381  return _orb_data_src;
382  };
387  {
388  return _pulse_cnt_1;
389  };
394  {
395  return _pulse_cnt_2;
396  };
400  std::string get_beam_edge_rqd()
401  {
402  return _beam_edge_rqd;
403  };
408  {
409  return _beam_edge_conf;
410  };
415  {
416  return _pix_overlap;
417  };
422  {
423  return _n_beams;
424  };
429  {
430  return _beam_info;
431  };
436  {
437  return _n_pix_updates;
438  };
443  {
444  return _pix_count;
445  };
449  double get_pwin_start()
450  {
451  return _pwin_start;
452  };
456  double get_pwin_end()
457  {
458  return _pwin_end;
459  };
463  std::string get_recd_type()
464  {
465  return _recd_type;
466  };
471  {
472  return _temp_set_inc;
473  };
478  {
479  return _n_temp_set;
480  };
485  {
486  return _temp;
487  };
492  {
493  return _n_image_pix;
494  };
499  {
500  return _prc_zero_pix;
501  };
506  {
507  return _prc_satur_pix;
508  };
513  {
514  return _img_hist_mean;
515  };
520  {
521  return _img_cumu_dist;
522  };
526  double get_pre_img_gn()
527  {
528  return _pre_img_gn;
529  };
534  {
535  return _post_img_gn;
536  };
540  double get_dopcen_inc()
541  {
542  return _dopcen_inc;
543  };
548  {
549  return _n_dopcen;
550  };
555  {
556  return _dopcen_est;
557  };
562  {
563  return _dop_amb_err;
564  };
569  {
570  return _dopamb_conf;
571  };
576  {
577  return _eph_orb_data;
578  };
582  std::string get_appl_type()
583  {
584  return _appl_type;
585  };
591  {
592  return _slow_time_coef;
593  };
598  {
599  return _n_srgr;
600  };
605  {
606  return _srgr_coefset;
607  };
612  {
613  return _pixel_spacing;
614  };
618  std::string get_gics_reqd()
619  {
620  return _gics_reqd;
621  };
625  std::string get_wo_number()
626  {
627  return _wo_number;
628  };
632  std::string get_wo_date()
633  {
634  return _wo_date;
635  };
639  std::string get_satellite_id()
640  {
641  return _satellite_id;
642  };
646  std::string get_user_id()
647  {
648  return _user_id;
649  };
653  std::string get_complete_msg()
654  {
655  return _complete_msg;
656  };
660  std::string get_scene_id()
661  {
662  return _scene_id;
663  };
667  std::string get_density_in()
668  {
669  return _density_in;
670  };
674  std::string get_media_id()
675  {
676  return _media_id;
677  };
682  {
683  return _angle_first;
684  };
688  double get_angle_last()
689  {
690  return _angle_last;
691  };
695  std::string get_prod_type()
696  {
697  return _prod_type;
698  };
702  std::string get_map_system()
703  {
704  return _map_system;
705  };
709  double get_centre_lat()
710  {
711  return _centre_lat;
712  };
717  {
718  return _centre_long;
719  };
723  double get_span_x()
724  {
725  return _span_x;
726  };
730  double get_span_y()
731  {
732  return _span_y;
733  };
737  std::string get_apply_dtm()
738  {
739  return _apply_dtm;
740  };
744  std::string get_density_out()
745  {
746  return _density_out;
747  };
751  std::string get_state_time()
752  {
753  return _state_time;
754  };
759  {
760  return _num_state_vectors;
761  };
766  {
767  return _state_time_inc;
768  };
769 
770 protected:
774  int _rec_seq;
775 
779  std::string _inp_media;
787  std::string _tape_id[10];
791  std::string _exp_ing_start;
795  std::string _exp_ing_stop;
799  std::string _act_ing_start;
803  std::string _act_ing_stop;
807  std::string _proc_start;
811  std::string _proc_stop;
815  double _mn_sig_lev[10];
823  int _miss_ln;
827  int _rej_ln;
839  double _fm_crc_err;
883  std::string _sens_config;
887  std::string _sens_orient;
891  std::string _sych_marker;
895  std::string _rng_ref_src;
899  double _rng_amp_coef[4];
903  double _rng_phas_coef[4];
907  double _err_amp_coef[16];
911  double _err_phas_coef[4];
919  std::string _adc_samp_rate;
935  std::string _orb_data_src;
947  std::string _beam_edge_rqd;
959  int _n_beams;
975  double _pwin_start;
979  double _pwin_end;
983  std::string _recd_type;
1015  double _img_cumu_dist[3];
1019  double _pre_img_gn;
1027  double _dopcen_inc;
1047  double _eph_orb_data[7];
1051  std::string _appl_type;
1056  double _slow_time_coef[5];
1060  int _n_srgr;
1072  std::string _gics_reqd;
1076  std::string _wo_number;
1080  std::string _wo_date;
1084  std::string _satellite_id;
1088  std::string _user_id;
1092  std::string _complete_msg;
1096  std::string _scene_id;
1100  std::string _density_in;
1104  std::string _media_id;
1112  double _angle_last;
1116  std::string _prod_type;
1120  std::string _map_system;
1124  double _centre_lat;
1132  double _span_x;
1136  double _span_y;
1140  std::string _apply_dtm;
1144  std::string _density_out;
1148  std::string _state_time;
1157 
1158 private:
1159 };
1160 }
1161 #endif
double _mn_sig_lev[10]
Mean signal levels across range
std::string _state_time
Time of the first state vector
std::string _scene_id
SGF product scene identifier
double * get_img_cumu_dist()
Image cumulative distribution
int _rec_seq
Record sequence number.
double _pre_img_gn
Pre-image calibration gain factor
int _n_image_pix
Number of image pixels
std::string get_sych_marker()
Frame synch marker
int get_n_tape_id()
Number of tape input ids
int _skipd_frams
Number of skipped frames
std::string _exp_ing_start
Expected ingest start time
std::string _sych_marker
Frame synch marker
double * get_mn_sig_lev()
Mean signal levels across range
friend std::istream & operator>>(std::istream &is, ProcessingParameters &data)
This function reads a ProcessingParameters from a stream.
BeamPixelCountRecord _pix_count[20]
Beam pixel counts.
double get_angle_first()
Incidence angle of first pixel in SGF product line
This class is able to read a SRGR coefficients set record.
std::string get_recd_type()
Recording type
int get_n_pix_updates()
Number of pixel count updates
double _span_x
GICS output product size - map eastings (km)
std::string _rng_ref_src
Range reference function source
double _rep_agc_attn
Replica AGC attenuation
RadarSatRecord * Clone()
This function is able to create a new instance of the class initialised with the data of the calling ...
friend std::ostream & operator<<(std::ostream &os, const ProcessingParameters &data)
This function writes the ProcessingParameters in a stream.
double _gn_corctn_fctr
Gain correction factor (dB)
std::string * get_tape_id()
Tape identifiers
double _angle_last
Incidence angle of last pixel in SGF product line
double * get_rng_amp_coef()
Range reference amplitude coefficients
double get_angle_last()
Incidence angle of last pixel in SGF product line
std::string get_scene_id()
SGF product scene identifier
int get_n_temp_set()
Number of temperature settings
std::string get_wo_number()
Work order identifier
std::string _wo_date
Work order entry date
int get_large_gap()
Number of time inconsistencies (large gaps)
BeamInformationRecord * get_beam_info()
Beam info
std::string get_map_system()
Map system identifier
std::string _density_out
GICS output product density
std::string get_state_time()
Time of the first state vector
double get_dopamb_conf()
Doppler ambiguity confidence measure
int _rej_rec_type
Frames rejected due to incorrect recording type
std::string get_media_id()
SGF product identifier
double _centre_long
GICS output product scene centre longitude
BeamInformationRecord _beam_info[4]
Beam info
std::string get_appl_type()
Application type
int _date_incons
Number of date inconsistencies
std::string get_rng_ref_src()
Range reference function source
double get_span_y()
GICS output product size - map northings (km)
double _img_cumu_dist[3]
Image cumulative distribution
int _pulse_bandw
Pulse bandwidth code
std::string _adc_samp_rate
ADC sampling rate
int get_miss_ln()
Number of missing lines
std::string get_sens_orient()
Sensor orientation
int _rej_bf_start
Range lines rejected before start time
double _pwin_start
Processing window start time (sec)
int _large_gap
Number of time inconsistencies (large gaps)
double _rep_energy_gn
Replica energy gain correction
int _pix_overlap
Number of pixels in beam overlap
std::string get_beam_edge_rqd()
Beam edge detection requested
double get_post_img_gn()
Post-image calibration gain factor
double * get_err_phas_coef()
Error function phase coefficients
std::string _map_system
Map system identifier
int _n_tape_id
Number of tape input ids
DopplerCentroidEstimateRecord * get_dopcen_est()
Doppler centroid estimates.
double get_pwin_start()
Processing window start time (sec)
int _rej_vchn_err
Frames rejected due to virtual channel error
std::string _apply_dtm
DTM correction to be applied flag
double get_pre_img_gn()
Pre-image calibration gain factor
double _dopamb_conf
Doppler ambiguity confidence measure
double _slow_time_coef[5]
Slow time coefficients
int get_rej_mchn_err()
Frames rejected due to master channel error
std::string _beam_edge_rqd
Beam edge detection requested
int get_rec_seq()
Record sequence number.
This class is the base class of all the record classes.
This class is able to read a Beam information record.
double get_temp_set_inc()
Time increment between temperature settings (sec)
std::string get_proc_stop()
Processing stop time
double get_pwin_end()
Processing window end time (sec)
int get_n_srgr()
Number of SRGR coefficient sets
int _scr_data_ind
Source data quality indicator
std::string get_apply_dtm()
DTM correction to be applied flag
std::string _satellite_id
Satellite identifier
std::string get_complete_msg()
Completion message required flag
TemperatureSettingsRecord * get_temp()
Temperature settings.
double _temp_set_inc
Time increment between temperature settings (sec)
double get_prc_zero_pix()
Percent zero pixels
SRGRCoefficientSetRecord * get_srgr_coefset()
SRGR coefficient sets.
std::string _complete_msg
Completion message required flag
double _rng_phas_coef[4]
Range reference phase coefficients
double get_centre_lat()
GICS output product scene centre latitude
std::string get_gics_reqd()
GICS product required
double _err_amp_coef[16]
Error function amplitude coefficients
double * get_slow_time_coef()
Slow time coefficients
std::string get_proc_start()
Processing start time
int _n_pix_updates
Number of pixel count updates
int get_delay_changes()
Number of delay changes
This class is able to read a Temperature Settings record.
int get_rej_bf_start()
Range lines rejected before start time
double get_img_hist_mean()
Image histogram mean intensity
std::string get_act_ing_stop()
Actual ingest stop time
double _prc_zero_pix
Percent zero pixels
std::string get_density_in()
Density of SGF product media
int get_rej_few_fram()
Range lines rejected due to too few frames
int _prf_changes
Number of unexpected PRF changes
double get_prc_satur_pix()
Percent saturated pixels
std::string _proc_start
Processing start time
int _rej_few_fram
Range lines rejected due to too few frames
ProcessingParameters & operator=(const ProcessingParameters &rhs)
Copy operator.
int get_pix_overlap()
Number of pixels in beam overlap
int get_scr_data_ind()
Source data quality indicator
SRGRCoefficientSetRecord _srgr_coefset[20]
SRGR coefficient sets.
int get_pulse_bandw()
Pulse bandwidth code
std::string _proc_stop
Processing stop time
double * get_err_amp_coef()
Error function amplitude coefficients
int _n_srgr
Number of SRGR coefficient sets
std::string _sens_orient
Sensor orientation
double _eph_orb_data[7]
Ephemeris orbit data
std::string get_wo_date()
Work order entry date
int _num_state_vectors
Number of state vectors
double _angle_first
Incidence angle of first pixel in SGF product line
std::string _tape_id[10]
Tape identifiers
double _bit_err_rate
Measured bit error rate
std::string get_act_ing_start()
Actual ingest start time
std::string get_satellite_id()
Satellite identifier
int get_num_state_vectors()
Number of state vectors
double * get_rng_phas_coef()
Range reference phase coefficients
This class is able to read a Detailed processing parameters record.
std::string get_exp_ing_start()
Expected ingest start time
std::basic_istream< char > istream
Base class for char input streams.
Definition: ossimIosFwd.h:20
double get_beam_edge_conf()
Beam edge confidence measure
double _centre_lat
GICS output product scene centre latitude
std::string get_inp_media()
Input media
double _img_hist_mean
Image histogram mean intensity
double get_gn_corctn_fctr()
Gain correction factor (dB)
int get_skipd_frams()
Number of skipped frames
std::string _orb_data_src
Orbit data source
double _post_img_gn
Post-image calibration gain factor
double _beam_edge_conf
Beam edge confidence measure
void Read(std::istream &is)
Reads the class data from a stream.
int get_n_dopcen()
Number of Doppler centroid estimates
double get_state_time_inc()
Time increment between state vectors
std::string get_exp_ing_stop()
Expected ingest stop time
double _pixel_spacing
SGF product pixel spacing
double _err_phas_coef[4]
Error function phase coefficients
int get_rej_rec_type()
Frames rejected due to incorrect recording type
std::string _wo_number
Work order identifier
double get_rep_agc_attn()
Replica AGC attenuation
std::string _sens_config
Sensor configuration
std::string _prod_type
GICS output product type
double _dopcen_inc
Time increment between Dopcen estimates (sec)
double get_span_x()
GICS output product size - map eastings (km)
void Write(std::ostream &os)
Writes the class to a stream.
double get_bit_err_rate()
Measured bit error rate
This class is able to read a Beam pixel count record.
std::string get_orb_data_src()
Orbit data source
double get_fm_crc_err()
Percent of frames with CRC errors
int _delay_changes
Number of delay changes
double get_rep_energy_gn()
Replica energy gain correction
std::string _act_ing_start
Actual ingest start time
int _dop_amb_err
Doppler ambiguity error
int get_rej_vchn_err()
Frames rejected due to virtual channel error
double get_dopcen_inc()
Time increment between Dopcen estimates (sec)
int get_rej_many_fram()
Range lines rejected due to too many frames
double * get_eph_orb_data()
Ephemeris orbit data
int _n_temp_set
Number of temperature settings
int _rej_ln
Number of rejected lines
std::string _media_id
SGF product identifier
double get_pixel_spacing()
SGF product pixel spacing
std::string get_sens_config()
Sensor configuration
std::string get_prod_type()
GICS output product type
This class is able to read a Doppler centroid estimates record.
double _pwin_end
Processing window end time (sec)
std::string _density_in
Density of SGF product media
int _rej_many_fram
Range lines rejected due to too many frames
std::string get_adc_samp_rate()
ADC sampling rate
int get_rej_ln()
Number of rejected lines
TemperatureSettingsRecord _temp[20]
Temperature settings.
std::string _appl_type
Application type
int get_prf_changes()
Number of unexpected PRF changes
DopplerCentroidEstimateRecord _dopcen_est[20]
Doppler centroid estimates.
std::string _exp_ing_stop
Expected ingest stop time
int get_n_image_pix()
Number of image pixels
double _prc_satur_pix
Percent saturated pixels
double get_centre_long()
GICS output product scene centre longitude
int _n_dopcen
Number of Doppler centroid estimates
double _state_time_inc
Time increment between state vectors
double _span_y
GICS output product size - map northings (km)
double _rng_amp_coef[4]
Range reference amplitude coefficients
int _rej_mchn_err
Frames rejected due to master channel error
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23
double _fm_crc_err
Percent of frames with CRC errors
RadarSatRecord * Instanciate()
This function is able to create a new instance of the class.
std::string _act_ing_stop
Actual ingest stop time
int _miss_ln
Number of missing lines
BeamPixelCountRecord * get_pix_count()
Beam pixel counts.
int get_date_incons()
Number of date inconsistencies
int get_dop_amb_err()
Doppler ambiguity error
std::string _recd_type
Recording type
std::string get_density_out()
GICS output product density
std::string _gics_reqd
GICS product required