Changeset 9730 for trunk/psLib/src/imageops/psImageGeomManip.c
- Timestamp:
- Oct 24, 2006, 12:55:05 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/imageops/psImageGeomManip.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/imageops/psImageGeomManip.c
r8232 r9730 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1.2 8$ $Name: not supported by cvs2svn $13 * @date $Date: 2006- 08-08 23:32:23$12 * @version $Revision: 1.29 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2006-10-24 22:52:55 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 80 80 } 81 81 82 vec = psVectorAlloc (scale * scale, in->type.type);82 vec = psVectorAllocEmpty(scale * scale, in->type.type); 83 83 84 84 if (mask != NULL) { … … 93 93 return NULL; 94 94 } 95 maskVec = psVectorAlloc(scale * scale, PS_TYPE_MASK); 96 maskVec->n = maskVec->nalloc; 95 maskVec = psVectorAllocEmpty(scale * scale, PS_TYPE_MASK); 97 96 maskData = maskVec->data.PS_TYPE_MASK_DATA; 98 97 } … … 134 133 } \ 135 134 vec->n = n; \ 135 maskVec->n = n; \ 136 136 myStats = psVectorStats(myStats, vec, NULL, maskVec, maskVal); \ 137 137 outRowData[col] = (ps##TYPE)psStatsGetValue(myStats, statistic); \
Note:
See TracChangeset
for help on using the changeset viewer.
