Changeset 16820 for trunk/psphot/src/psphotSubtractBackground.c
- Timestamp:
- Mar 4, 2008, 3:10:25 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotSubtractBackground.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotSubtractBackground.c
r15936 r16820 4 4 // generate the median in NxN boxes, clipping heavily 5 5 // linear interpolation to generate full-scale model 6 bool psphotSubtractBackground (pmConfig *config, const pmFPAview *view, const char *filename , psMaskType maskVal)6 bool psphotSubtractBackground (pmConfig *config, const pmFPAview *view, const char *filename) 7 7 { 8 8 bool status = true; … … 25 25 // select the appropriate recipe information 26 26 psMetadata *recipe = psMetadataLookupPtr (&status, config->recipes, PSPHOT_RECIPE); 27 assert (recipe); 28 29 // user-defined masks to test for good/bad pixels (build from recipe list if not yet set) 30 psMaskType maskVal = psMetadataLookupU8(&status, recipe, "MASK.PSPHOT"); // Mask value for bad pixels 31 assert (maskVal); 27 32 28 33 psImageBinning *binning = psMetadataLookupPtr(&status, recipe, "PSPHOT.BACKGROUND.BINNING");
Note:
See TracChangeset
for help on using the changeset viewer.
