IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 2, 2008, 10:39:04 AM (18 years ago)
Author:
gusciora
Message:

Removed pmSourceTest() and added some PS_ASSERTS.

File:
1 edited

Legend:

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

    r15619 r15980  
    66 *  @author EAM, IfA: significant modifications.
    77 *
    8  *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2007-11-14 22:15:42 $
     8 *  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2008-01-02 20:39:04 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    227227    int y = yc - image->row0;
    228228
    229     // the requested point must be within the contour
    230     if (image->data.F32[y][x] < threshold) {
    231         return NULL;
    232     }
    233 
    234229    // Ensure that the starting column is allowable.
    235230    if (x < 0) {
     
    243238    }
    244239    if (y >= image->numRows) {
     240        return NULL;
     241    }
     242
     243    // the requested point must be within the contour
     244    if (image->data.F32[y][x] < threshold) {
    245245        return NULL;
    246246    }
Note: See TracChangeset for help on using the changeset viewer.