IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 1, 2009, 11:46:16 AM (17 years ago)
Author:
eugene
Message:

fix vector mask type; disable apparent test code (forced return of PM_SUBTRACTION_MODE_2)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/imcombine/pmSubtractionMatch.c

    r21183 r21247  
    565565    if (width1 == 0 || width2 == 0) {
    566566        ratios->data.F32[index] = NAN;
    567         mask->data.PS_TYPE_IMAGE_MASK_DATA[index] = 0xff;
     567        mask->data.PS_TYPE_VECTOR_MASK_DATA[index] = 0xff;
    568568    } else {
    569569        ratios->data.F32[index] = (float)width1 / (float)width2;
    570         mask->data.PS_TYPE_IMAGE_MASK_DATA[index] = 0;
     570        mask->data.PS_TYPE_VECTOR_MASK_DATA[index] = 0;
    571571        psTrace("psModules.imcombine", 3, "Stamp %d (%.1f,%.1f) widths: %d, %d --> %f\n",
    572572                index, stamp->x, stamp->y, width1, width2, ratios->data.F32[index]);
     
    682682    psFree(stats);
    683683
    684 
    685     return PM_SUBTRACTION_MODE_2;
    686 
    687 
    688     exit(1);
     684    // XXX EAM : I think Paul left some test code in here.  I've commented these lines out
     685    // return PM_SUBTRACTION_MODE_2;
     686    // exit(1);
    689687
    690688    return mode;
    691689}
    692 
    693 
    694 
Note: See TracChangeset for help on using the changeset viewer.