IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 17, 2014, 5:58:38 AM (12 years ago)
Author:
eugene
Message:

merge in changes from trunk (up through pv3 tag)

Location:
branches/eam_branches/ipp-20140610
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20140610

  • branches/eam_branches/ipp-20140610/ppStack/src/ppStackLoop.c

    r36365 r36884  
    120120    psTrace("ppStack", 2, "Final stack of convolved images....\n");
    121121    if (options->convolve) {
    122       if (!ppStackCombineFinal(stack, options->convCovars, options, config, false, false, true)) {
     122      if (!ppStackCombineFinal(stack, options->convCovars, options, config, false, false, true, false)) {
    123123        psError(psErrorCodeLast(), false, "Unable to perform final combination.");
    124124        psFree(stack);
     
    128128    else {
    129129      // Since we haven't convolved, I believe we do need to normalize here.
    130       if (!ppStackCombineFinal(stack, options->convCovars, options, config, false, true, true)) {
     130      //MEH -- see below for comment on ppStackCombineFinal and bscaleOffset
     131      if (!ppStackCombineFinal(stack, options->convCovars, options, config, false, true, true, true)) {
    131132        psError(psErrorCodeLast(), false, "Unable to perform final combination.");
    132133        psFree(stack);
     
    207208        // generate the unconvolved stack. NOTE: this one must be normalized since the inputs have not been
    208209        psTrace("ppStack", 2, "Stack of unconvolved images....\n");
    209         if (!ppStackCombineFinal(stack, options->origCovars, options, config, false, true, false)) {
     210        //MEH -- terrible hack for bscale offset to input warps -- treat like normalization
     211        // -- if BSCALEOFFSET TRUE, 0.5*bscale for offset values, otherwise value 0.0
     212        // -- bscaleOffset set when files read in and applied in CombineFinal (if arg true, only valid for unconv case)
     213        if (!ppStackCombineFinal(stack, options->origCovars, options, config, false, true, false, true)) {
    210214            psError(psErrorCodeLast(), false, "Unable to perform unconvolved combination.");
    211215            psFree(stack);
Note: See TracChangeset for help on using the changeset viewer.