IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 3, 2010, 2:33:56 PM (16 years ago)
Author:
Paul Price
Message:

Catch images with no sources.

File:
1 edited

Legend:

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

    r27159 r27162  
    132132        psAssert(sources, "Don't have source list %d", i);
    133133        if (sources->n == 0) {
     134            psLogMsg("ppStack", PS_LOG_WARN, "Image %d has no sources for transparency measurement.", i);
    134135            options->inputMask->data.PS_TYPE_VECTOR_MASK_DATA[i] |= PPSTACK_MASK_CAL;
     136            zp->data.F32[i] = NAN;
    135137            continue;
    136138        }
Note: See TracChangeset for help on using the changeset viewer.