IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 6, 2009, 11:42:05 AM (17 years ago)
Author:
Paul Price
Message:

Working on getting unconvolved stack out at the same time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pap/ppStack/src/ppStackCamera.c

    r25519 r25787  
    294294        targetPSF->save = true;
    295295    }
     296
     297#if 0
     298    // Unconvolved stack
     299    pmFPAfile *unConv = pmFPAfileDefineOutput(config, fpa, "PPSTACK.OUTPUT.UNCONV");
     300    psFree(fpa);                        // Drop reference
     301    if (!unConv) {
     302        psError(PS_ERR_IO, false, _("Unable to generate output file from PPSTACK.OUTPUT.UNCONV"));
     303        return false;
     304    }
     305    if (unConv->type != PM_FPA_FILE_IMAGE) {
     306        psError(PS_ERR_IO, true, "PPSTACK.OUTPUT.UNCONV is not of type IMAGE");
     307        return false;
     308    }
     309    unConv->save = true;
     310
     311    if (!pmFPAAddSourceFromFormat(fpa, "Stack", unConv->format)) {
     312        psError(PS_ERR_UNKNOWN, false, "Unable to generate output FPA.");
     313        psFree(fpa);
     314        return false;
     315    }
     316#endif
    296317
    297318    // Output JPEGs
Note: See TracChangeset for help on using the changeset viewer.