IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 17430


Ignore:
Timestamp:
Apr 10, 2008, 12:21:39 PM (18 years ago)
Author:
bills
Message:

need to merge chip concepts for masks too

File:
1 edited

Legend:

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

    r17227 r17430  
    370370        }
    371371
     372        psList *inChips = psListAlloc(NULL);
     373        for (int i=0; i < numFiles; i++) {
     374            pmFPAfile *file = pmFPAfileSelectSingle(config->files, "PPMERGE.INPUT", i); // Input file
     375            pmChip *chip = pmFPAviewThisChip(view, file->fpa);
     376            psListAdd(inChips, PS_LIST_TAIL, chip);
     377        }
     378        if (!pmConceptsAverageChips(outChip, inChips, true)) {
     379            psError(PS_ERR_UNKNOWN, false, "Unable to average Chip concepts.");
     380            psFree(inChips);
     381            goto PPMERGE_MASK_ERROR;
     382        }
     383        psFree(inChips);
    372384        if (!pmFPAfileIOChecks(config, view, PM_FPA_AFTER)) {
    373385            goto PPMERGE_MASK_ERROR;
Note: See TracChangeset for help on using the changeset viewer.