IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 15, 2006, 9:50:16 PM (20 years ago)
Author:
magnier
Message:

fixed image / subimage / region accounting by parent

File:
1 edited

Legend:

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

    r6346 r6430  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.90 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2006-02-07 23:14:21 $
     11 *  @version $Revision: 1.90.4.1 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2006-02-16 07:50:03 $
    1313 *
    1414 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    649649    }
    650650
    651     x0 = (int)(roundf(region.x0));
    652     x1 = (int)(roundf(region.x1));
    653     y0 = (int)(roundf(region.y0));
    654     y1 = (int)(roundf(region.y1));
     651    x0 = (int)(roundf(region.x0)) - mask->col0;
     652    x1 = (int)(roundf(region.x1)) - mask->col0;
     653    y0 = (int)(roundf(region.y0)) - mask->row0;
     654    y1 = (int)(roundf(region.y1)) - mask->row0;
    655655
    656656    type = mask->type.type;
Note: See TracChangeset for help on using the changeset viewer.