Changeset 25372 for trunk/psModules/src/camera/pmFPAMaskWeight.h
- Timestamp:
- Sep 14, 2009, 4:15:24 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPAMaskWeight.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPAMaskWeight.h
r25116 r25372 80 80 /// 81 81 /// The variance map is adjusted so that the mean matches the actual pixel variance in the image 82 bool pmReadoutVarianceRenormPixels( 83 const pmReadout *readout, ///< Readout to normalise 84 psImageMaskType maskVal, ///< Value to mask 85 psStatsOptions meanStat, ///< Statistic to measure the mean (of the variance map) 86 psStatsOptions stdevStat, ///< Statistic to measure the stdev (of the image) 87 psRandom *rng ///< Random number generator 88 ); 89 90 /// Renormalise the variance map to match the actual photometry variance 91 /// 92 /// The variance map is adjusted so that the actual significance of fake sources matches the 93 /// guestimated significance 94 bool pmReadoutVarianceRenormPhot( 82 bool pmReadoutVarianceRenormalise( 95 83 const pmReadout *readout, ///< Readout to normalise 96 84 psImageMaskType maskVal, ///< Value to mask 97 int num, ///< Number of instances to measure over the image 98 float width, ///< Photometry width 99 psStatsOptions meanStat, ///< Statistic to measure the mean 100 psStatsOptions stdevStat, ///< Statistic to measure the stdev 101 psRandom *rng ///< Random number generator 102 ); 103 104 /// Renormalise the variance map to match the actual variance 105 /// 106 /// The variance in the image is measured in patches, and the variance map is adjusted so that the mean for 107 /// that patch corresponds. 108 bool pmReadoutVarianceRenorm(const pmReadout *readout, // Readout to normalise 109 psImageMaskType maskVal, // Value to mask 110 psStatsOptions meanStat, // Statistic to measure the mean (of the variance map) 111 psStatsOptions stdevStat, // Statistic to measure the stdev (of the image) 112 int width, // Width of patch (pixels) 113 psRandom *rng // Random number generator (for sub-sampling images) 85 int sample, ///< Sample size 86 float minValid, ///< Minimum valid renormalisation, or NAN 87 float maxValid ///< Maximum valid renormalisation, or NAN 114 88 ); 115 89
Note:
See TracChangeset
for help on using the changeset viewer.
