Changeset 4098 for trunk/psModules/src/pmImageSubtract.c
- Timestamp:
- Jun 3, 2005, 11:44:01 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/pmImageSubtract.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/pmImageSubtract.c
r4049 r4098 5 5 * @author GLG, MHPCC 6 6 * 7 * @version $Revision: 1. 5$ $Name: not supported by cvs2svn $8 * @date $Date: 2005-0 5-31 21:25:09$7 * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2005-06-03 21:43:42 $ 9 9 * 10 10 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 282 282 283 283 // Compute the value of the kernel at location (u, v): 284 psF32 exponent = (PS_SQR(uScaled) *PS_SQR(vScaled)) /284 psF32 exponent = (PS_SQR(uScaled) + PS_SQR(vScaled)) / 285 285 (2.0 * PS_SQR(sigmas->data.F32[sigPtr])); 286 286 currPreCalc->data.F32[v+size][u+size] = … … 334 334 PS_ASSERT_INT_POSITIVE(yNum, NULL); 335 335 PS_ASSERT_INT_POSITIVE(border, NULL); 336 PS_ASSERT_INT_LARGER_THAN(image->numCols, xNum, NULL); 337 PS_ASSERT_INT_LARGER_THAN(image->numRows, yNum, NULL); 338 PS_ASSERT_INT_LARGER_THAN(image->numCols, (2 * border), NULL); 339 PS_ASSERT_INT_LARGER_THAN(image->numRows, (2 * border), NULL); 336 340 337 341 if (stamps != NULL) { … … 375 379 // 376 380 // The following nested loop iterates over every pixel in the mask 377 // associated with this (i, j). It ignores overpixels within a381 // associated with this (i, j). It ignores pixels within a 378 382 // border of pixels from the image edge. 379 383 //
Note:
See TracChangeset
for help on using the changeset viewer.
