Changeset 4098
- Timestamp:
- Jun 3, 2005, 11:44:01 AM (21 years ago)
- Location:
- trunk/psModules
- Files:
-
- 2 edited
-
src/pmImageSubtract.c (modified) (4 diffs)
-
test/Makefile.am (modified) (2 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 // -
trunk/psModules/test/Makefile.am
r3632 r4098 10 10 tst_pmReadoutCombine \ 11 11 tst_pmSubtractSky \ 12 tst_pmImageSubtract \ 12 13 tst_pmObjects01 13 14 … … 28 29 tst_pmReadoutCombine_SOURCES = tst_pmReadoutCombine.c 29 30 tst_pmSubtractSky_SOURCES = tst_pmSubtractSky.c 31 tst_pmImageSubtract_SOURCES = tst_pmImageSubtract.c 30 32 tst_pmObjects01_SOURCES = tst_pmObjects01.c 31 33
Note:
See TracChangeset
for help on using the changeset viewer.
