IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 14, 2009, 3:58:07 PM (17 years ago)
Author:
Paul Price
Message:

Fix streaksremove so that output CMF files have PHU called ext.hdr and table called ext.psf. Turned on -Wall -Werror and fixed a host of little problems.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/magic/remove/src/streaksreplace.c

    r24556 r25082  
    88int main(int argc, char *argv[])
    99{
    10     long i;
    1110    bool status;
    12     StreakPixels *pixels;
    13     PixelPos *pixelPos;
    1411
    1512    psLibInit(NULL);
     
    9289
    9390    if (!replicateOutputs(sfiles)) {
    94         psError(PS_ERR_UNKNOWN, false, "failed to replicate output files");
    95         psErrorStackPrint(stderr, "");
     91        psErrorStackPrint(stderr, "failed to replicate output files");
    9692        exit(PS_EXIT_UNKNOWN_ERROR);
    9793    }
     
    172168            true);
    173169    }
    174    
     170
    175171    bool gotMask = false;
    176172    if ((argnum = psArgumentGet(argc, argv, "-mask"))) {
     
    353349        // we have an image cube
    354350        double initValue;
    355         // otherwise write it to the output 
     351        // otherwise write it to the output
    356352        writeImageCube(sf->outImage, sf->recImage->imagecube, extname, sf->extnum);
    357353
Note: See TracChangeset for help on using the changeset viewer.