10 /// \brief CalibrationRegion stores calibration results of a single region based on a single ODM file.
11 ///
12 /// The id of the object corresponds to the polygon id within the calRegionFile (see ModuleRadioCal). The filename of the ODM from which the points were selected for calibration
13 /// is stored in the Filename member. Area contains the 2d area of the corresponding region. Details on the point counter can be found in the corresponding member description.
68 int64_t _ptsInRegion; ///< total number of points in the region
69 int64_t _ptsFiltered; ///< number of points that were filtered and therefore ignored for calibration constant estimation
70 int64_t _ptsNoNormal; ///< number of points that didn't have a normal vector information (ignored for calibration constant estimation)
71 int64_t _ptsExceededMaxSigma; ///< number of points that exceeded the max sigma threshold of its normal vector (ignored for calibration constant estimation)
72 int64_t _ptsMultiEchos; ///< number of multi echo points (ignored for calibration constant estimation)
73 int64_t _ptsCalibrated; ///< number of points that were used for calibration constant estimation
74
75double _mean;
76double _stdDev;
77double _median;
78 };
79
80 /// \brief A CalibrationEntry object stores statistics and results of one calibration constant estimation.
81 ///
82 /// ModuleRadioCal estimates the calibration constant based on (multiple) defined regions with known reflectivity. For each region
83 /// a CalibrationRegion object is added to the region vector. The accumulated results of the regions are then stored within the object
84 /// itself. In case the splitByAttribute parameter was set for ModuleRadioCal run, the corresponding attribute value is also stored. If
85 /// the attribute is empty (isSetAttribute() == false) the object is considered as the default entry object.
124 /// A CalibrationStats object stores full calibration results and statistics.
125 /** The object basically stores a vector of calibrations entries. Each entry corresponds to calibration constant estimation. In case only one calibration constant was estimated (standard), the vector has only one element. */
126 /** If ModuleRadioCal was run with splitByAttribute parameter,
127 an element for each unique attribute value is added to the entry vector. It is possible to store one default entry
128 (CalibrationEntry::isSetAttribute() == false) which is used for calibrating points that do not have an attribute matching element in the
129 entry vector
130
131 The class provides three different string to object parser:
132 - a simple single real value parser -> creates default entry with the given calibration constant
155int getDefaultCalibrationConstIndex() const; ///< get index of default calibration constant (-1 if no default calibration constant is set)
156double computeDefaultCalibrationConst() const; ///< compute a default calibration constant (point count weighted average of all calibration constants)
157
158String logCalibrationStats() const; ///< for xml output