IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 4, 2006, 3:49:41 PM (20 years ago)
Author:
drobbin
Message:

Edited functions wrt subimage v parent image issue.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/imageops/tst_psImagePixelExtract.c

    r6770 r6778  
    66*  @author Robert DeSonia, MHPCC
    77*
    8 *  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
    9 *  @date $Date: 2006-04-04 22:04:46 $
     8*  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
     9*  @date $Date: 2006-04-05 01:49:41 $
    1010*
    1111*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    100100        } \
    101101    } \
    102     out = psImageSlice(out,positions,image,mask,1,psRegionSet(c/10,c/10+M,r/10,r/10+N),DIRECTION,stat); \
     102    image->col0 = 1; \
     103    image->row0 = 1; \
     104    out = psImageSlice(out,positions,image,mask,1, \
     105                       psRegionSet(1+c/10,1+c/10+M,1+r/10,1+r/10+N),DIRECTION,stat); \
    103106    \
    104107    if (out->n != TRUTH_SIZE) { \
Note: See TracChangeset for help on using the changeset viewer.