IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 26743


Ignore:
Timestamp:
Jan 29, 2010, 7:12:43 PM (16 years ago)
Author:
Paul Price
Message:

Images don't get allocated in pmSubtractionConvolve() any more.

Location:
branches/eam_branches/20091201/psModules/src/imcombine
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20091201/psModules/src/imcombine/pmStackReject.c

    r26739 r26743  
    150150    pmReadout *inRO = pmReadoutAlloc(NULL); // Readout with input image
    151151    inRO->image = image;
     152    convRO->image = psImageAlloc(image->numCols, image->numRows, PS_TYPE_F32);
    152153    for (int i = 0; i < numRegions; i++) {
    153154        psRegion *region = subRegions->data[i]; // Region of interest
  • branches/eam_branches/20091201/psModules/src/imcombine/pmSubtraction.c

    r26739 r26743  
    11611161        PM_ASSERT_READOUT_NON_NULL(ro1, false);
    11621162        PM_ASSERT_READOUT_IMAGE(ro1, false);
     1163        PM_ASSERT_READOUT_IMAGE(out1, false);
    11631164        numCols = ro1->image->numCols;
    11641165        numRows = ro1->image->numRows;
     
    11701171        PM_ASSERT_READOUT_NON_NULL(ro2, false);
    11711172        PM_ASSERT_READOUT_IMAGE(ro2, false);
     1173        PM_ASSERT_READOUT_IMAGE(out2, false);
    11721174        if (numCols == 0 && numRows == 0) {
    11731175            numCols = ro2->image->numCols;
Note: See TracChangeset for help on using the changeset viewer.