IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 6, 2006, 12:55:18 PM (20 years ago)
Author:
drobbin
Message:

Made changes concerning subimage issue and testing of changes.

File:
1 edited

Legend:

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

    r6778 r6806  
    1010 *  @author Ross Harman, MHPCC
    1111 *
    12  *  @version $Revision: 1.22 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2006-04-05 01:49:40 $
     12 *  @version $Revision: 1.23 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2006-04-06 22:55:18 $
    1414 *
    1515 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    753753            row0 = input->row0;
    754754            col0 = input->col0;
    755             row1 = input->row0 + input->numRows;
    756             col1 = input->col0 + input->numCols;
     755            row1 = input->row0 + input->numRows - 1;
     756            col1 = input->col0 + input->numCols - 1;
    757757        }
    758758        if (col1 < 1) {
     
    782782        row0 = output->row0;
    783783        col0 = output->col0;
    784         row1 = row0+numRows;
    785         col1 = col0+numCols;
     784        row1 = row0+numRows -1;
     785        col1 = col0+numCols -1;
    786786    }
    787787
Note: See TracChangeset for help on using the changeset viewer.