Changeset 17810
- Timestamp:
- May 24, 2008, 1:01:42 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/imageops/psImageConvolve.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/imageops/psImageConvolve.c
r17809 r17810 7 7 /// @author Eugene Magnier, IfA 8 8 /// 9 /// @version $Revision: 1.7 0$ $Name: not supported by cvs2svn $10 /// @date $Date: 2008-05-24 2 2:47:11$9 /// @version $Revision: 1.71 $ $Name: not supported by cvs2svn $ 10 /// @date $Date: 2008-05-24 23:01:42 $ 11 11 /// 12 12 /// Copyright 2004-2007 Institute for Astronomy, University of Hawaii … … 833 833 if (masking) { 834 834 // Mask from the minimum to the end of the row 835 min = PS_MAX(0, min); 835 836 memset(&convData[y][min], 0xff, (numCols - min) * PSELEMTYPE_SIZEOF(PS_TYPE_MASK)); 836 837 } … … 860 861 if (masking) { 861 862 // Mask from the minimum to the end of the column 862 for (int i = min; i < numRows; i++) {863 for (int i = PS_MAX(0, min); i < numRows; i++) { 863 864 outData[i][x] |= setVal; 864 865 }
Note:
See TracChangeset
for help on using the changeset viewer.
