IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 22, 2008, 12:19:42 PM (18 years ago)
Author:
eugene
Message:

sources at image edge should saturate to edge values

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmPeaks.c

    r19903 r20332  
    66 *  @author EAM, IfA: significant modifications.
    77 *
    8  *  @version $Revision: 1.23 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2008-10-06 12:59:49 $
     8 *  @version $Revision: 1.24 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2008-10-22 22:19:42 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    6363        peak->dx = NAN;
    6464        peak->dy = NAN;
     65       
     66        // xf,yf must land on image with 0 pixel border
     67        peak->xf = PS_MAX (PS_MIN (peak->xf, image->numCols - 1), image->col0);
     68        peak->yf = PS_MAX (PS_MIN (peak->yf, image->numRows - 1), image->row0);
    6569    } else {
    6670        peak->xf = ix;
Note: See TracChangeset for help on using the changeset viewer.