IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 18, 2010, 12:01:15 PM (16 years ago)
Author:
Paul Price
Message:

Reworking ppStack to not grow the rejected pixels for the unconvolved stack. Also working with convolved and unconvolved stacks separately, so they don't have to be in memory at the same time. This should reduce the memory usage of ppStack.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStackReadout.c

    r27105 r27319  
    3939    pmReadout *target = args->data[0];  // Output readout
    4040    ppStackThread *thread = args->data[1]; // Thread
    41     ppStackOptions *options = args->data[2]; // Options
    42     pmConfig *config = args->data[3];   // Configuration
    43     bool safety = PS_SCALAR_VALUE(args->data[4], U8);    // Safety switch on?
    44     bool normalise = PS_SCALAR_VALUE(args->data[5], U8); // Normalise images?
     41    psArray *reject = args->data[2];    // Rejected pixels for each image
     42    ppStackOptions *options = args->data[3]; // Options
     43    pmConfig *config = args->data[4];   // Configuration
     44    bool safety = PS_SCALAR_VALUE(args->data[5], U8);    // Safety switch on?
     45    bool normalise = PS_SCALAR_VALUE(args->data[6], U8); // Normalise images?
    4546
    4647    psVector *mask = options->inputMask; // Mask for inputs
    47     psArray *rejected = options->rejected; // Rejected pixels
    4848    psVector *weightings = options->weightings; // Weightings (1/noise^2) for each image
    4949    psVector *addVariance = options->matchChi2; // Additional variance when rejecting
    5050    psVector *norm = normalise ? options->norm : NULL; // Normalisations to apply to images
    5151
    52     bool status = ppStackReadoutFinal(config, target, thread->readouts, mask, rejected,
     52    bool status = ppStackReadoutFinal(config, target, thread->readouts, mask, reject,
    5353                                      weightings, addVariance, safety, norm); // Status of operation
    5454
Note: See TracChangeset for help on using the changeset viewer.