IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 21152


Ignore:
Timestamp:
Jan 22, 2009, 10:23:13 AM (17 years ago)
Author:
eugene
Message:

fix image mask instead of vector mask

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20081230/psModules/src/imcombine/pmSubtractionMatch.c

    r21075 r21152  
    594594    PM_ASSERT_SUBTRACTION_STAMP_LIST_NON_NULL(stamps, PM_SUBTRACTION_MODE_ERR);
    595595
    596     psVector *mask = psVectorAlloc(stamps->num, PS_TYPE_IMAGE_MASK); // Mask for stamps
     596    psVector *mask = psVectorAlloc(stamps->num, PS_TYPE_VECTOR_MASK); // Mask for stamps
    597597    psVector *ratios = psVectorAlloc(stamps->num, PS_TYPE_F32); // Ratios of widths
    598598
     
    622622        pmSubtractionStamp *stamp = stamps->stamps->data[i]; // Stamp of interest
    623623        if (stamp->status != PM_SUBTRACTION_STAMP_CALCULATE && stamp->status != PM_SUBTRACTION_STAMP_USED) {
    624             mask->data.PS_TYPE_IMAGE_MASK_DATA[i] = 0xff;
     624            mask->data.PS_TYPE_VECTOR_MASK_DATA[i] = 0xff;
    625625            continue;
    626626        }
Note: See TracChangeset for help on using the changeset viewer.