Changeset 6311 for trunk/psphot/src/pmCellSetMask.c
- Timestamp:
- Feb 2, 2006, 1:30:35 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/pmCellSetMask.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/pmCellSetMask.c
r6117 r6311 6 6 7 7 // mask the excluded outer pixels 8 // these coordinates refer to the parent image 9 // these bounds will saturate on the subimage 10 // negative upper bounds will subtract from the *subimage* 8 11 float XMIN = psMetadataLookupF32 (&status, recipe, "XMIN"); 9 12 float XMAX = psMetadataLookupF32 (&status, recipe, "XMAX"); … … 17 20 pmReadout *readout = readouts->data[i]; // The readout of interest 18 21 22 // psRegionForImage creates a region for the subimage, not the parent 23 // XXX I propose that psRegionForImage treat the region as referring to the parent... 19 24 psRegion keep = psRegionForImage (readout->image, valid); 25 26 // psImageKeepRegion assumes the region refers to the parent coordinates 20 27 psImageKeepRegion (readout->mask, keep, "OR", PSPHOT_MASK_INVALID); 21 28 }
Note:
See TracChangeset
for help on using the changeset viewer.
