Changeset 38233
- Timestamp:
- May 6, 2015, 6:14:49 AM (11 years ago)
- Location:
- trunk/ppImage/src
- Files:
-
- 1 added
- 4 edited
-
Makefile.am (modified) (1 diff)
-
ppImage.h (modified) (5 diffs)
-
ppImageLoop.c (modified) (1 diff)
-
ppImageOptions.c (modified) (2 diffs)
-
ppImageSquashNANs.c (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppImage/src/Makefile.am
r38034 r38233 50 50 ppImageMemory.c \ 51 51 ppImageAddNoise.c \ 52 ppImageSquashNANs.c \ 52 53 ppImageRandomGaussian.c \ 53 54 ppImageAuxiliaryMask.c \ -
trunk/ppImage/src/ppImage.h
r35685 r38233 52 52 bool checkCTE; // measure pixel-based variance 53 53 bool checkNoise; // measure cell-level variance 54 bool squashNANs; // measure cell-level variance 54 55 bool applyParity; // Apply Cell parities 55 56 bool doMaskStats; // Calculate mask statistics … … 59 60 bool addNoise; // Add noise to degrade MD image to 3pi 60 61 61 bool hasVideo; // Determine if this OTA has a video cell62 bool useVideoDark; // Should we use a video dark if we can?63 bool useVideoMask; // Should we use a video mask if we can?62 bool hasVideo; // Determine if this OTA has a video cell 63 bool useVideoDark; // Should we use a video dark if we can? 64 bool useVideoMask; // Should we use a video mask if we can? 64 65 65 66 // output files requested … … 117 118 psStatsOptions patternCellMean; // Statistic for mean 118 119 119 int patternContinuityEdgeWidth; // Size of box to use for edge matching.120 int patternContinuityEdgeWidth; // Size of box to use for edge matching. 120 121 121 122 int remnanceSize; // Size for remnance detection … … 124 125 char *normClass; // class to use for per-class normalization 125 126 126 psU16 maskstat_static;127 psU16 maskstat_dynamic;128 psU16 maskstat_magic;129 psU16 maskstat_advisory;130 131 psString auxVideoMask; // auxillary video mask file127 psU16 maskstat_static; 128 psU16 maskstat_dynamic; 129 psU16 maskstat_magic; 130 psU16 maskstat_advisory; 131 132 psString auxVideoMask; // auxillary video mask file 132 133 133 134 } ppImageOptions; … … 183 184 bool ppImageCheckNoise(pmConfig *config, ppImageOptions *options, pmFPAview *view); 184 185 186 bool ppImageSquashNANs(pmConfig *config, ppImageOptions *options, pmFPAview *view); 187 185 188 bool ppImageBurntoolMask(pmConfig *config, ppImageOptions *options, pmFPAview *view, pmReadout *readout); 186 189 bool ppImageBurntoolMaskFromTable(pmConfig *config, ppImageOptions *options, pmFPAview *view, pmReadout *readout); -
trunk/ppImage/src/ppImageLoop.c
r35850 r38233 133 133 if (!ppImageAddNoise(config, options, view, input->fpa)){ 134 134 ESCAPE("Unable to degrade MD image to 3pi"); 135 } 136 137 138 if (!ppImageSquashNANs(config, options, view)) { 139 ESCAPE("Unable to squash NAN pixels"); 135 140 } 136 141 -
trunk/ppImage/src/ppImageOptions.c
r35685 r38233 46 46 options->checkCTE = false; // Measure pixel-based variance 47 47 options->checkNoise = false; // Measure cell-level variances. 48 options->squashNANs = false; // Measure cell-level variances. 48 49 options->applyParity = false; // Apply Cell parities 49 50 options->doMaskStats = false; // Calculate mask fractions … … 340 341 options->checkCTE = psMetadataLookupBool(NULL, recipe, "CHECK.CTE"); 341 342 options->checkNoise = psMetadataLookupBool(NULL, recipe, "CHECK.NOISE"); 343 options->squashNANs = psMetadataLookupBool(NULL, recipe, "SQUASH.NANS"); 342 344 343 345 /* doMaskBuild : there are some cases where we require a mask, so we force doMaskBuild to be set even if the user specified 'FALSE'
Note:
See TracChangeset
for help on using the changeset viewer.
