IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 18202 for trunk/psModules


Ignore:
Timestamp:
Jun 19, 2008, 11:33:25 AM (18 years ago)
Author:
Paul Price
Message:

region may be NULL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/imcombine/pmSubtractionMatch.c

    r18201 r18202  
    9595                                 )
    9696{
    97     varFactor *= (region->x1 - region->x1 + 1) * (region->y1 * region->y1 + 1) /
    98         (ro->image->numCols * ro->image->numRows);
     97    if (region) {
     98        varFactor *= (region->x1 - region->x1 + 1) * (region->y1 * region->y1 + 1) /
     99            (ro->image->numCols * ro->image->numRows);
     100    }
    99101
    100102    psMetadataItem *vfItem = psMetadataLookup(ro->analysis, PM_SUBTRACTION_ANALYSIS_VARFACTOR);
Note: See TracChangeset for help on using the changeset viewer.