- Timestamp:
- Feb 5, 2010, 3:14:03 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20091201/psModules/src/imcombine/pmSubtraction.c
r26769 r26794 1325 1325 1326 1326 // Calculate covariances 1327 // This can take a while, so we only do it for a single instance 1328 // XXX psImageCovarianceCalculate could be multithreaded 1327 // This can be fairly involved, so we only do it for a single instance 1328 // Enable threads for covariance calculation, since we're not threading on top of it. 1329 oldThreads = psImageCovarianceSetThreads(true); 1329 1330 if (kernels->mode == PM_SUBTRACTION_MODE_1 || kernels->mode == PM_SUBTRACTION_MODE_DUAL) { 1330 1331 psKernel *kernel = pmSubtractionKernel(kernels, 0.0, 0.0, false); // Convolution kernel … … 1340 1341 psFree(kernel); 1341 1342 } 1343 psImageCovarianceSetThreads(oldThreads); 1342 1344 1343 1345 // Copy anything that wasn't convolved
Note:
See TracChangeset
for help on using the changeset viewer.
