IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 21, 2006, 2:56:17 PM (20 years ago)
Author:
Paul Price
Message:

Cleaning up confusion in counters.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPAMosaic.c

    r7625 r7627  
    486486                    for (int j = 0; j < yBinSource->data.S32[i]; j++) {                                      \
    487487                        int yTarget = (int)(yTargetBase + yParity * (float)j / (float)yBinTarget);           \
    488                         for (int i = 0; i < xBinSource->data.S32[i]; i++) {                                  \
    489                             int xTarget = (int)(xTargetBase + xParity * (float)i / (float)xBinTarget);       \
     488                        for (int k = 0; k < xBinSource->data.S32[k]; k++) {                                  \
     489                            int xTarget = (int)(xTargetBase + xParity * (float)k / (float)xBinTarget);       \
    490490                            mosaic->data.TYPE[yTarget][xTarget] += image->data.TYPE[y][x];                   \
    491491                        }                                                                                    \
Note: See TracChangeset for help on using the changeset viewer.