IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 16, 2006, 4:18:39 PM (20 years ago)
Author:
Paul Price
Message:

Change to output statistics of combined image.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppMerge/src/ppMerge.c

    r7751 r8405  
    22#include <pslib.h>
    33#include <psmodules.h>
     4#include <ppStats.h>
    45
    56#include "ppMerge.h"
     
    4950    ppMergeCombine(scale, zero, data, options, config);
    5051
     52    if (data->statsFile) {
     53        psMetadata *stats = ppStats(NULL, data->out, NULL, config); // Statistics for output FPA
     54        psString statsOut = psMetadataConfigFormat(stats); // String to write out
     55        fprintf(data->statsFile, "%s", statsOut);
     56        psFree(statsOut);
     57        psFree(stats);
     58    }
     59
    5160    pmFPAPrint(stdout, data->out, true, true);
    5261
Note: See TracChangeset for help on using the changeset viewer.