Changeset 4206 for trunk/psLib/src/image/psImagePixelExtract.c
- Timestamp:
- Jun 9, 2005, 4:30:47 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/image/psImagePixelExtract.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/image/psImagePixelExtract.c
r3968 r4206 8 8 * @author Robert DeSonia, MHPCC 9 9 * 10 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $11 * @date $Date: 2005-0 5-19 02:08:21$10 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2005-06-10 02:30:47 $ 12 12 * 13 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 28 28 const psImage* restrict mask, 29 29 psU32 maskVal, 30 psS32 col0, 31 psS32 row0, 32 psS32 col1, 33 psS32 row1, 30 psRegion region, 34 31 psImageCutDirection direction, 35 32 const psStats* stats) … … 42 39 psS32 delta = 1; 43 40 psF64* outData; 41 psS32 row0 = region.y0; 42 psS32 row1 = region.y1; 43 psS32 col0 = region.x0; 44 psS32 col1 = region.x1; 44 45 45 46 if (in == NULL || in->data.V == NULL) { … … 271 272 psVector* cutRows, 272 273 const psImage* in, 273 const psImage* restrictmask,274 const psImage* mask, 274 275 psU32 maskVal, 275 float startCol, 276 float startRow, 277 float endCol, 278 float endRow, 276 psRegion region, 279 277 psU32 nSamples, 280 278 psImageInterpolateMode mode) 281 279 { 280 282 281 if (in == NULL || in->data.V == NULL) { 283 282 psError(PS_ERR_BAD_PARAMETER_NULL, true, … … 297 296 } 298 297 298 float startCol = region.x0; 299 float startRow = region.y0; 300 float endCol = region.x1; 301 float endRow = region.y1; 299 302 if (startCol < 0 || startCol >= numCols || 300 303 startRow < 0 || startRow >= numRows ||
Note:
See TracChangeset
for help on using the changeset viewer.
