IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 15, 2010, 4:26:53 PM (16 years ago)
Author:
Paul Price
Message:

Allow application of a constant instead of an image.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppArith/src/ppArithLoop.c

    r26903 r28346  
    6262    }
    6363    psFree(iter);
     64
     65    float const2 = psMetadataLookupF32(&mdok, config->arguments, "PPARITH.CONST");
    6466
    6567    pmFPAview *view = pmFPAviewAlloc(0); // Pointer into FPA hierarchy
     
    138140
    139141                // Perform the analysis
    140                 if (!ppArithReadout(outRO, inRO1, inRO2, config, view)) {
     142                if (!ppArithReadout(outRO, inRO1, inRO2, const2, config, view)) {
    141143                    psError(PS_ERR_UNKNOWN, false, "Unable to perform arithmetic.\n");
    142144                    return false;
Note: See TracChangeset for help on using the changeset viewer.