Changeset 6771 for trunk/stac/src/shift.c
- Timestamp:
- Apr 4, 2006, 12:06:11 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/stac/src/shift.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/stac/src/shift.c
r5743 r6771 90 90 psRegion imageRegion = {0, 0, 0, 0}; // Region of image to read 91 91 psMetadata *header = psFitsReadHeader(NULL, imageFile); // FITS header 92 psImage *image = psFitsReadImage( NULL,imageFile, imageRegion, 0);92 psImage *image = psFitsReadImage(imageFile, imageRegion, 0); 93 93 if (image == NULL) { 94 94 psErrorStackPrint(stderr, "Fatal error: Unable to read %s\n", inName); … … 155 155 psTrace("stac", 3, "Clipping %d NaN pixels to zero.\n", numPix); 156 156 } 157 if (!psFitsWriteImage(outFile, header, transformed->data[0], 0 )) {157 if (!psFitsWriteImage(outFile, header, transformed->data[0], 0, NULL)) { 158 158 psErrorStackPrint(stderr, "Unable to write image: %s\n", outName); 159 159 }
Note:
See TracChangeset
for help on using the changeset viewer.
