Changeset 18201
- Timestamp:
- Jun 19, 2008, 11:22:48 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/imcombine/pmSubtractionMatch.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/imcombine/pmSubtractionMatch.c
r18181 r18201 528 528 529 529 // Set the variance factors 530 float xMid = 0.5 * (region ->x0 + region->x1); // Average x position531 float yMid = 0.5 * (region ->y0 + region->y1); // Average y position530 float xMid = 0.5 * (region ? (region->x0 + region->x1) : numCols); // Average x position 531 float yMid = 0.5 * (region ? (region->y0 + region->y1) : numRows); // Average y position 532 532 switch (mode) { 533 533 case PM_SUBTRACTION_MODE_1: {
Note:
See TracChangeset
for help on using the changeset viewer.
