IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 18, 2009, 10:38:28 AM (17 years ago)
Author:
Paul Price
Message:

Wrong application of offset.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/detrend/pmFlatField.c

    r21456 r21533  
    4343
    4444    // Using i,j for image; x,y for flat.
    45     for (int j = rowStart, y = yOffset; j < rowStop; j++, y++) {
     45    for (int j = rowStart, y = rowStart + yOffset; j < rowStop; j++, y++) {
    4646        for (int i = 0, x = xOffset; i < numCols; i++, x++) {
    4747            float flatValue = 1.0 / flatImage->data.F32[y][x];
Note: See TracChangeset for help on using the changeset viewer.