- Timestamp:
- Apr 27, 2010, 11:50:36 AM (16 years ago)
- Location:
- branches/czw_branch/20100427
- Files:
-
- 1 edited
- 1 copied
-
. (copied) (copied from trunk )
-
psLib/src/imageops/psImageStats.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20100427/psLib/src/imageops/psImageStats.c
r23989 r27784 97 97 98 98 psVectorMaskType *data = junkMask->data.PS_TYPE_VECTOR_MASK_DATA; 99 psU8* imdata = junkData->data.U8; 99 100 for (int row = 0, nVect = 0; row < numRows; row++) { 100 101 for (int col = 0; col < numCols; col++, nVect++) { 101 102 data[nVect] = (mask->data.PS_TYPE_IMAGE_MASK_DATA[row][col] & maskVal); 103 104 if ((imdata[nVect] > 100000)|| 105 (imdata[nVect] != imdata[nVect])|| 106 (imdata[nVect] < -100000)) { 107 data[nVect] &= maskVal; 108 } 102 109 } 103 110 }
Note:
See TracChangeset
for help on using the changeset viewer.
