IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 28, 2009, 5:35:05 PM (17 years ago)
Author:
Paul Price
Message:

Reworking stack combination because there are *three* modes for pixels going into the final stack (after rejection), not just two: tested and good, tested and rejected, and not tested. The code did not recognise the third, which is a distinct state because we don't want these pixels grown, as we do for rejected pixels. This cannot be fixed merely by using the 'safe' combination because that would discard the 'tested and good' pixels that have only a single unrejected input but are good because they have survived the testing process. Needed to add a new state into the combination process. Now I add these pixels straight into the 'reject' list. This requires a little bit more fiddling around in ppStack. Not sure it's working yet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pap/ppStack/src/ppStackCombineFinal.c

    r25950 r25964  
    1313
    1414bool ppStackCombineFinal(pmReadout *target, ppStackThreadData *stack, psArray *covariances,
    15                          ppStackOptions *options, pmConfig *config, bool full, bool safe, bool normalise)
     15                         ppStackOptions *options, pmConfig *config, bool safe, bool normalise)
    1616{
    1717    psAssert(stack, "Require stack");
     
    4343        psArrayAdd(job->args, 1, options);
    4444        psArrayAdd(job->args, 1, config);
    45         PS_ARRAY_ADD_SCALAR(job->args, full, PS_TYPE_U8);
    4645        PS_ARRAY_ADD_SCALAR(job->args, safe, PS_TYPE_U8);
    4746        PS_ARRAY_ADD_SCALAR(job->args, normalise, PS_TYPE_U8);
Note: See TracChangeset for help on using the changeset viewer.