IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 18, 2011, 11:37:11 PM (15 years ago)
Author:
mhuber
Message:

simple test modifications for poor image rejection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/meh_branches/ppstack_test/ppStack/src/ppStackConvolve.c

    r31158 r32134  
    376376        float median = numGood % 2 ? values->data.F32[numGood / 2] :
    377377            0.5 * (values->data.F32[numGood / 2 - 1] + values->data.F32[numGood / 2]);
    378 
    379         float rms = 0.74 * (values->data.F32[numGood * 3 / 4] -
    380                             values->data.F32[numGood / 4]); // Estimated RMS from interquartile range
     378        // MEH adding abs
     379        float rms = 0.74 * fabsf(values->data.F32[numGood * 3 / 4] -
     380                            values->data.F32[numGood / 4]); // Estimated RMS from interquartile range
     381        //float rms = 0.74 * (values->data.F32[numGood * 3 / 4] -
     382        //                    values->data.F32[numGood / 4]); // Estimated RMS from interquartile range
    381383        psFree(values);
    382384
Note: See TracChangeset for help on using the changeset viewer.