Changeset 5057 for trunk/psLib/test/imageops
- Timestamp:
- Sep 15, 2005, 11:22:22 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/imageops/tst_psImageGeomManip.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/imageops/tst_psImageGeomManip.c
r4558 r5057 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1. 2$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-0 7-15 02:40:20$8 * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-09-15 21:22:22 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 1055 1055 psErrorClear(); 1056 1056 psImage* invImage = psImageAlloc(cols,rows,PS_TYPE_BOOL); 1057 memset(invImage-> rawDataBuffer,0,cols*rows*PSELEMTYPE_SIZEOF(PS_TYPE_BOOL)); // make sure the image is of all NULLs1057 memset(invImage->p_rawDataBuffer,0,cols*rows*PSELEMTYPE_SIZEOF(PS_TYPE_BOOL)); // make sure the image is of all NULLs 1058 1058 result = psImageResample(result,invImage,2,PS_INTERPOLATE_FLAT); 1059 1059 if (result != NULL) {
Note:
See TracChangeset
for help on using the changeset viewer.
