Changeset 9730 for trunk/psLib/src/imageops/psImageStats.c
- Timestamp:
- Oct 24, 2006, 12:55:05 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/imageops/psImageStats.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/imageops/psImageStats.c
r8627 r9730 9 9 * @author GLG, MHPCC 10 10 * 11 * @version $Revision: 1.10 0$ $Name: not supported by cvs2svn $12 * @date $Date: 2006- 08-26 04:34:28$11 * @version $Revision: 1.101 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2006-10-24 22:52:55 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 76 76 77 77 junkData = psVectorAlloc(numRows*numCols, in->type.type); 78 junkData->n = junkData->nalloc;79 78 80 79 psU8* data = junkData->data.U8; … … 100 99 101 100 junkMask = psVectorAlloc(numRows*numCols, mask->type.type); 102 junkMask->n = junkMask->nalloc;103 101 104 102 psU8* data = junkMask->data.U8; … … 149 147 150 148 junkData = psVectorAlloc(numRows*numCols, in->type.type); 151 junkData->n = junkData->nalloc;152 149 153 150 psU8* data = junkData->data.U8; … … 173 170 174 171 junkMask = psVectorAlloc(numRows*numCols, mask->type.type); 175 junkMask->n = junkMask->nalloc;176 172 177 173 psU8* data = junkMask->data.U8; … … 592 588 return -1; 593 589 }/* else if (col0 == col1 && row0 == row1) { 594 psError(PS_ERR_BAD_PARAMETER_VALUE, true,595 "Invalid psRegion specified. Region contains only 1 pixel.\n");596 return -1;597 }598 */590 psError(PS_ERR_BAD_PARAMETER_VALUE, true, 591 "Invalid psRegion specified. Region contains only 1 pixel.\n"); 592 return -1; 593 } 594 */ 599 595 x0 = col0; 600 596 x1 = col1;
Note:
See TracChangeset
for help on using the changeset viewer.
