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