IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 26, 2007, 1:17:06 PM (19 years ago)
Author:
Paul Price
Message:

num and stack->n are not the same. The first is the number of inputs,
and the second is the number of convolved (and validated) inputs.

File:
1 edited

Legend:

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

    r15303 r15397  
    260260#endif
    261261
    262     for (int i = 0; i < num; i++) {
     262    for (int i = 0; i < stack->n; i++) {
    263263        pmStackData *data = stack->data[i]; // Data for this image
    264264        pmReadout *readout = data->readout; // Readout for this image
     
    299299
    300300#ifdef REJECTION_FILES
    301     for (int i = 0; i < num; i++) {
     301    for (int i = 0; i < stack->n; i++) {
    302302        pmStackData *data = stack->data[i]; // Data for this image
     303        if (!data) {
     304            continue;
     305        }
    303306        psImage *rejected = psPixelsToMask(NULL, data->pixels,
    304307                                           psRegionSet(0, data->readout->image->numCols,
Note: See TracChangeset for help on using the changeset viewer.