IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 4, 2007, 10:17:11 AM (19 years ago)
Author:
Paul Price
Message:

Mask is optional, created if not provided.

File:
1 edited

Legend:

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

    r13515 r13613  
    8080        psArrayAdd(stack, ARRAY_BUFFER, data);
    8181        psFree(data);                   // Drop reference
     82
     83        // Ensure there is a mask, or pmStackCombine will complain
     84        if (!ro->mask) {
     85            ro->mask = psImageAlloc(ro->image->numCols, ro->image->numRows, PS_TYPE_MASK);
     86            psImageInit(ro->mask, 0);
     87        }
     88
    8289        fileNum++;
    8390    }
Note: See TracChangeset for help on using the changeset viewer.