IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 11, 2008, 8:35:04 AM (18 years ago)
Author:
eugene
Message:

total overhaul of mask handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20080706/ppImage/src/ppImageMetadataStats.c

    r18430 r18472  
    1313        return true;
    1414    }
    15 
    16     // XXX should this be just options->maskValue?? I think so...
    17     psMaskType maskVal = options->satMask | options->badMask | options->maskValue;
    1815
    1916    // Extract statistics from the last output fpa
     
    5148    pmFPAview *view = pmFPAviewAlloc(0);
    5249
    53     if (!ppStatsMetadata(stats, output->fpa, view, maskVal, config)) {
     50    if (!ppStatsMetadata(stats, output->fpa, view, options->maskValue, config)) {
    5451        psError(PS_ERR_UNEXPECTED_NULL, false, "Unable to generate stats for image.");
    5552        psFree(view);
Note: See TracChangeset for help on using the changeset viewer.