IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 9, 2009, 2:53:12 PM (17 years ago)
Author:
Paul Price
Message:

Merging branches/pap (unconvolved stacks, reworked combinePixels function into clearer roles, only throw out most variant pixel on each iteration, throw suspect pixels out as first rejection step) stack development. I think I've got everything, but not entirely sure, since I've already merged this branch once before (for dual convolution).

Location:
trunk/ppStack
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack

  • trunk/ppStack/src/ppStackCombinePrepare.c

    r23576 r26076  
    3333    pmCell *outCell = pmFPAfileThisCell(config->files, view, "PPSTACK.OUTPUT"); // Output cell
    3434    options->outRO = pmReadoutAlloc(outCell); // Output readout
     35
     36    pmCell *unconvCell = pmFPAfileThisCell(config->files, view, "PPSTACK.UNCONV"); // Unconvolved cell
     37    options->unconvRO = pmReadoutAlloc(unconvCell); // Unconvolved readout
     38
    3539    psFree(view);
    3640
     
    3943    psString maskBadStr = psMetadataLookupStr(NULL, recipe, "MASK.BAD"); // Name of bits to mask for bad
    4044    psImageMaskType maskBad = pmConfigMaskGet(maskBadStr, config); // Bits to mask for bad pixels
     45
    4146    if (!pmReadoutStackDefineOutput(options->outRO, col0, row0, numCols, numRows, true, true, maskBad)) {
    4247        psError(PS_ERR_UNKNOWN, false, "Unable to prepare output.");
     
    4449    }
    4550
     51    options->unconvRO->image = psImageCopy(NULL, options->outRO->image, PS_TYPE_F32);
     52//    options->unconvRO->mask = psImageCopy(NULL, options->outRO->mask, PS_TYPE_IMAGE_MASK);
     53    options->unconvRO->col0 = options->outRO->col0;
     54    options->unconvRO->row0 = options->outRO->row0;
     55
     56
     57
    4658    return true;
    4759}
Note: See TracChangeset for help on using the changeset viewer.