IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 14735


Ignore:
Timestamp:
Sep 4, 2007, 10:36:02 AM (19 years ago)
Author:
Paul Price
Message:

Wasn't iterating from the correct starting point for the weight.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/imcombine/pmSubtractionParams.c

    r14734 r14735  
    247247
    248248        for (int v = -footprint; v <= footprint; v++) {
    249             psF32 *wt = weight->kernel[v]; // Dereference weight map
     249            psF32 *wt = &weight->kernel[v][-footprint]; // Dereference weight map
    250250            for (int u = -footprint; u <= footprint; u++, wt++) {
    251251                sum1 += 1.0 / *wt;
Note: See TracChangeset for help on using the changeset viewer.