Changeset 27400 for trunk/ppStack/src/ppStackCombinePrepare.c
- Timestamp:
- Mar 22, 2010, 8:34:28 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ppStack/src/ppStackCombinePrepare.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStack/src/ppStackCombinePrepare.c
r27319 r27400 10 10 #include "ppStackLoop.h" 11 11 12 bool ppStackCombinePrepare(pmReadout **ro, const char *name, ppStackFileList files, ppStackThreadData *stack, 12 bool ppStackCombinePrepare(const char *outName, const char *expName, 13 ppStackFileList files, ppStackThreadData *stack, 13 14 ppStackOptions *options, pmConfig *config) 14 15 { … … 32 33 } 33 34 34 pmCell *cell = pmFPAfileThisCell(config->files, view, name); // Output cell 35 *ro = pmReadoutAlloc(cell); // Output readout 35 pmCell *cell = pmFPAfileThisCell(config->files, view, outName); // Output cell 36 options->outRO = pmReadoutAlloc(cell); // Output readout 37 38 pmCell *expCell = pmFPAfileThisCell(config->files, view, expName); // Exposure cell 39 options->expRO = pmReadoutAlloc(expCell); // Output readout 36 40 37 41 psFree(view); … … 42 46 psImageMaskType maskBad = pmConfigMaskGet(maskBadStr, config); // Bits to mask for bad pixels 43 47 44 if (!pmReadoutStackDefineOutput(*ro, col0, row0, numCols, numRows, true, true, maskBad)) { 48 if (!pmReadoutStackDefineOutput(options->outRO, col0, row0, numCols, numRows, true, true, maskBad)) { 49 psError(PPSTACK_ERR_ARGUMENTS, false, "Unable to prepare output."); 50 return false; 51 } 52 53 if (!pmReadoutStackDefineOutput(options->expRO, col0, row0, numCols, numRows, true, true, 0)) { 45 54 psError(PPSTACK_ERR_ARGUMENTS, false, "Unable to prepare output."); 46 55 return false;
Note:
See TracChangeset
for help on using the changeset viewer.
