IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 26718


Ignore:
Timestamp:
Jan 28, 2010, 6:12:23 PM (16 years ago)
Author:
Paul Price
Message:

Was calculating wrong deviations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pap/psModules/src/imcombine/pmSubtractionEquation.c

    r26717 r26718  
    16301630            for (int y = - footprint; y <= footprint; y++) {
    16311631                for (int x = - footprint; x <= footprint; x++) {
    1632                     residual->kernel[y][x] += background + source->kernel[y][x] * norm - target->kernel[y][x];
     1632                    residual->kernel[y][x] += background + kernels->norm->kernel[y][x] * norm - target->kernel[y][x];
    16331633                }
    16341634            }
     
    16671667            for (int y = - footprint; y <= footprint; y++) {
    16681668                for (int x = - footprint; x <= footprint; x++) {
    1669                     residual->kernel[y][x] += background + image1->kernel[y][x] * norm - image2->kernel[y][x];
     1669                    residual->kernel[y][x] += background + kernels->norm->kernel[y][x] * norm - image2->kernel[y][x];
    16701670                }
    16711671            }
Note: See TracChangeset for help on using the changeset viewer.