IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 4, 2007, 2:15:28 PM (19 years ago)
Author:
Paul Price
Message:

Give pmSubtractionBorder a size, rather than the NULL kernel (since kernel is now dependent on the region, not the whole image, though the size is generally constant).

File:
1 edited

Legend:

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

    r14738 r14739  
    44 *  @author GLG, MHPCC
    55 *
    6  *  @version $Revision: 1.55 $ $Name: not supported by cvs2svn $
    7  *  @date $Date: 2007-09-04 23:56:07 $
     6 *  @version $Revision: 1.56 $ $Name: not supported by cvs2svn $
     7 *  @date $Date: 2007-09-05 00:15:28 $
    88 *
    99 *  Copyright 2004-2007 Institute for Astronomy, University of Hawaii
     
    11391139
    11401140bool pmSubtractionBorder(psImage *image, psImage *weight, psImage *mask,
    1141                          const pmSubtractionKernels *kernels, psMaskType blank)
     1141                         int size, psMaskType blank)
    11421142{
    11431143    PS_ASSERT_IMAGE_NON_NULL(image, false);
     
    11561156    int numCols = image->numCols, numRows = image->numRows; // Image dimensions
    11571157
    1158     int size = kernels->size;           // Half-size of kernel
    11591158    for (int y = size; y < numRows - size; y++) {
    11601159        for (int x = 0; x < size; x++) {
Note: See TracChangeset for help on using the changeset viewer.