Changeset 25787 for branches/pap/ppStack/src/ppStackCombinePrepare.c
- Timestamp:
- Oct 6, 2009, 11:42:05 AM (17 years ago)
- File:
-
- 1 edited
-
branches/pap/ppStack/src/ppStackCombinePrepare.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/pap/ppStack/src/ppStackCombinePrepare.c
r23576 r25787 33 33 pmCell *outCell = pmFPAfileThisCell(config->files, view, "PPSTACK.OUTPUT"); // Output cell 34 34 options->outRO = pmReadoutAlloc(outCell); // Output readout 35 options->unconvRO = pmReadoutAlloc(outCell); // Unconvolved readout 35 36 psFree(view); 36 37 … … 39 40 psString maskBadStr = psMetadataLookupStr(NULL, recipe, "MASK.BAD"); // Name of bits to mask for bad 40 41 psImageMaskType maskBad = pmConfigMaskGet(maskBadStr, config); // Bits to mask for bad pixels 42 41 43 if (!pmReadoutStackDefineOutput(options->outRO, col0, row0, numCols, numRows, true, true, maskBad)) { 42 44 psError(PS_ERR_UNKNOWN, false, "Unable to prepare output."); … … 44 46 } 45 47 48 options->unconvRO->image = psImageCopy(NULL, options->outRO->image, PS_TYPE_F32); 49 // options->unconvRO->mask = psImageCopy(NULL, options->outRO->mask, PS_TYPE_IMAGE_MASK); 50 options->unconvRO->col0 = options->outRO->col0; 51 options->unconvRO->row0 = options->outRO->row0; 52 53 54 46 55 return true; 47 56 }
Note:
See TracChangeset
for help on using the changeset viewer.
