Changeset 31451 for trunk/psModules/src/camera/pmFPAMaskWeight.c
- Timestamp:
- May 5, 2011, 11:02:53 AM (15 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPAMaskWeight.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPAMaskWeight.c
r29544 r31451 587 587 double imageValue, varianceValue; // Image and variance value from interpolation 588 588 psImageMaskType maskValue = 0; // Mask value from interpolation 589 psImageInterpolateStatus status = psImageInterpolate(&imageValue, &varianceValue, &maskValue, x, y, interp); 589 590 // interpolate to pixel center (index + 0.5) 591 psImageInterpolateStatus status = psImageInterpolate(&imageValue, &varianceValue, &maskValue, x + 0.5, y + 0.5, interp); 590 592 if (status == PS_INTERPOLATE_STATUS_ERROR || status == PS_INTERPOLATE_STATUS_OFF) { 591 593 psError(PS_ERR_UNKNOWN, false, "Unable to interpolate readout at %d,%d", x, y);
Note:
See TracChangeset
for help on using the changeset viewer.
