Changeset 21247 for trunk/psModules/src/imcombine/pmSubtractionMatch.c
- Timestamp:
- Feb 1, 2009, 11:46:16 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/imcombine/pmSubtractionMatch.c
r21183 r21247 565 565 if (width1 == 0 || width2 == 0) { 566 566 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; 568 568 } else { 569 569 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; 571 571 psTrace("psModules.imcombine", 3, "Stamp %d (%.1f,%.1f) widths: %d, %d --> %f\n", 572 572 index, stamp->x, stamp->y, width1, width2, ratios->data.F32[index]); … … 682 682 psFree(stats); 683 683 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); 689 687 690 688 return mode; 691 689 } 692 693 694
Note:
See TracChangeset
for help on using the changeset viewer.
