IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 22, 2009, 10:01:06 AM (16 years ago)
Author:
eugene
Message:

fixing bugs related to stacking PR images

Location:
branches/eam_branches/20091201/ppStack
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20091201/ppStack

  • branches/eam_branches/20091201/ppStack/src/ppStackSources.c

    r26076 r26475  
    6161    PS_ASSERT_PTR_NON_NULL(config, false);
    6262
     63    if (!options->matchZPs) {
     64        int num = psMetadataLookupS32(NULL, config->arguments, "INPUTS.NUM"); // Number of inputs
     65        options->norm = psVectorAlloc(num, PS_TYPE_F32);
     66        psVectorInit (options->norm, 0.0);
     67
     68        // XXX do I need to set this?
     69        // options->sumExposure = sumExpTime;
     70
     71        return true;
     72    }
     73
    6374    psArray *sourceLists = options->sourceLists; // Source lists for each input
    6475    psVector *inputMask = options->inputMask; // Mask for inputs
Note: See TracChangeset for help on using the changeset viewer.