IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 26761


Ignore:
Timestamp:
Feb 1, 2010, 11:04:52 PM (16 years ago)
Author:
Paul Price
Message:

Fix coordinates.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20091201/psModules/src/imcombine/pmStackReject.c

    r26760 r26761  
    168168
    169169        // Image of the kernel at the centre of the region
    170         float xNorm, yNorm;             // Normalised coordinates
    171         p_pmSubtractionPolynomialNormCoords(&xNorm, &yNorm, 0.5 * (region->x1 - region->x0),
    172                                             0.5 * (region->y1 - region->y0),
    173                                             kernels->xMin, kernels->xMax, kernels->yMin, kernels->yMax);
    174         psImage *kernel = pmSubtractionKernelImage(kernels, xNorm, yNorm, false);
     170        psImage *kernel = pmSubtractionKernelImage(kernels, 0.5, 0.5, false);
    175171        if (!kernel) {
    176172            psError(PS_ERR_UNKNOWN, false, "Unable to generate kernel image.");
Note: See TracChangeset for help on using the changeset viewer.