Changeset 20778 for trunk/magic/remove/src/warpedpixels.c
- Timestamp:
- Nov 17, 2008, 2:40:35 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/magic/remove/src/warpedpixels.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/magic/remove/src/warpedpixels.c
r20729 r20778 9 9 static int xRight(psPlane *pt, int y); 10 10 11 void 11 bool 12 12 computeWarpedPixels(streakFiles *sf) 13 13 { 14 bool status; 14 15 pmConfig *config = sf->config; 16 17 psArray *skycells = psMetadataLookupPtr(&status, config->arguments, "SKYCELLS"); 18 if (skycells == NULL) { 19 return false; 20 } 21 22 int n = psArrayLength(skycells); 23 15 24 psRegion bounds = *pmChipPixels(sf->chip); 16 25 … … 20 29 sf->warpedPixels = psImageAlloc(width, height, PS_TYPE_U8); 21 30 psImageInit(sf->warpedPixels, 0); 22 23 bool status;24 psArray *skycells = psMetadataLookupPtr(&status, config->arguments, "SKYCELLS");25 26 int n = psArrayLength(skycells);27 31 28 32 for (int i=0; i<n; i++) { … … 43 47 psFitsClose(fits); 44 48 } 49 return true; 45 50 } 46 51
Note:
See TracChangeset
for help on using the changeset viewer.
