Changeset 4069 for trunk/psLib/test/image/tst_psImageGeomManip.c
- Timestamp:
- Jun 1, 2005, 10:37:39 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/image/tst_psImageGeomManip.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/image/tst_psImageGeomManip.c
r3973 r4069 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-0 5-19 02:49:40$8 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-06-01 20:37:39 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 1029 1029 psErrorClear(); 1030 1030 psImage* invImage = psImageAlloc(cols,rows,PS_TYPE_BOOL); 1031 memset(invImage->rawDataBuffer,0,cols*rows* sizeof(psBool)); // make sure the image is of all NULLs1031 memset(invImage->rawDataBuffer,0,cols*rows*PSELEMTYPE_SIZEOF(PS_TYPE_BOOL)); // make sure the image is of all NULLs 1032 1032 result = psImageResample(result,invImage,2,PS_INTERPOLATE_FLAT); 1033 1033 if (result != NULL) {
Note:
See TracChangeset
for help on using the changeset viewer.
