IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 23, 2007, 11:52:29 AM (19 years ago)
Author:
Paul Price
Message:

Kernel range is inclusive.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/imageops/psImageConvolve.c

    r14478 r14638  
    77/// @author Eugene Magnier, IfA
    88///
    9 /// @version $Revision: 1.54 $ $Name: not supported by cvs2svn $
    10 /// @date $Date: 2007-08-14 02:06:32 $
     9/// @version $Revision: 1.55 $ $Name: not supported by cvs2svn $
     10/// @date $Date: 2007-08-23 21:52:29 $
    1111///
    1212/// Copyright 2004-2007 Institute for Astronomy, University of Hawaii
     
    108108
    109109    kernel->xMin = - x0;
    110     kernel->xMax = numCols - x0;
     110    kernel->xMax = numCols - 1 - x0;
    111111    kernel->yMin = - y0;
    112     kernel->yMax = numRows - y0;
     112    kernel->yMax = numRows - 1 - y0;
    113113    kernel->image = psMemIncrRefCounter(image);
    114114
Note: See TracChangeset for help on using the changeset viewer.