IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 6372


Ignore:
Timestamp:
Feb 7, 2006, 7:41:43 PM (20 years ago)
Author:
magnier
Message:

changed psImageCountPixelMask to use parent coords

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_rel9_b1/psLib/src/imageops/psImageStats.c

    r5752 r6372  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.84.4.1 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2005-12-07 20:45:27 $
     11 *  @version $Revision: 1.84.4.1.2.1 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2006-02-08 05:41:43 $
    1313 *
    1414 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    679679    }
    680680
    681     x0 = (int)(roundf(region.x0));
    682     x1 = (int)(roundf(region.x1));
    683     y0 = (int)(roundf(region.y0));
    684     y1 = (int)(roundf(region.y1));
     681    x0 = (int)(roundf(region.x0)) - mask->col0;
     682    x1 = (int)(roundf(region.x1)) - mask->col0;
     683    y0 = (int)(roundf(region.y0)) - mask->row0;
     684    y1 = (int)(roundf(region.y1)) - mask->row0;
    685685
    686686    type = mask->type.type;
Note: See TracChangeset for help on using the changeset viewer.