Changeset 14762
- Timestamp:
- Sep 5, 2007, 1:52:11 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/imageops/psImageConvolve.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/imageops/psImageConvolve.h
r14736 r14762 5 5 * @author Robert DeSonia, MHPCC 6 6 * 7 * @version $Revision: 1.2 7$ $Name: not supported by cvs2svn $8 * @date $Date: 2007-09-0 4 23:29:43$7 * @version $Revision: 1.28 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2007-09-05 23:52:11 $ 9 9 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii 10 10 */ … … 43 43 } \ 44 44 PS_ASSERT_IMAGE_NON_NULL((KERNEL)->image, RETURNVALUE); 45 46 #define PS_ASSERT_KERNELS_SIZE_EQUAL(KERNEL1, KERNEL2, RETURNVALUE) \ 47 if ((KERNEL1)->xMin != (KERNEL2)->xMin || \ 48 (KERNEL1)->xMax != (KERNEL2)->xMax || \ 49 (KERNEL1)->yMin != (KERNEL2)->yMin || \ 50 (KERNEL1)->yMax != (KERNEL2)->yMax) { \ 51 psError(PS_ERR_BAD_PARAMETER_NULL, true, \ 52 "Unallowable operation: Kernels %s and %s are not the same size.", \ 53 #KERNEL1, #KERNEL2); \ 54 return RETURNVALUE; \ 55 } \ 56 PS_ASSERT_IMAGES_SIZE_EQUAL((KERNEL1)->image, (KERNEL2)->image, RETURNVALUE); 45 57 46 58 /// Allocates a convolution kernel of the given range
Note:
See TracChangeset
for help on using the changeset viewer.
