IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 3, 2021, 11:41:29 AM (5 years ago)
Author:
eugene
Message:

add alternative configuration for images after the first so we can stack images from different cameras (recipes from first image camera are used)

File:
1 edited

Legend:

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

    r36855 r41529  
    33// static functions are defined below
    44static int stackSummary(const ppStackOptions *options, const char *place);
     5bool pmConfigDumpRecipe (pmConfig *config, char *filename);
    56
    67bool ppStackLoop(pmConfig *config, ppStackOptions *options)
     
    282283    return numGood;
    283284}
     285
     286// Test function if needed:
     287bool pmConfigDumpRecipe (pmConfig *config, char *filename) {
     288
     289    psMetadata *recipe = psMetadataLookupMetadata(NULL, config->recipes, PPSTACK_RECIPE); // Recipe for ppSim
     290    psAssert (recipe, "oops");
     291
     292    psMetadataConfigWrite (recipe, filename, NULL);
     293
     294    return true;
     295}
     296
Note: See TracChangeset for help on using the changeset viewer.