Changeset 34085 for trunk/psModules/src/detrend
- Timestamp:
- Jun 26, 2012, 11:31:38 AM (14 years ago)
- Location:
- trunk/psModules
- Files:
-
- 4 edited
-
. (modified) (1 prop)
-
src/detrend/pmFringeStats.c (modified) (1 diff)
-
src/detrend/pmNonLinear.c (modified) (3 diffs)
-
src/detrend/pmShutterCorrection.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20120601/psModules (added) merged: 34002,34044,34049,34051-34053,34073,34076,34078
- Property svn:mergeinfo changed
-
trunk/psModules/src/detrend/pmFringeStats.c
r31069 r34085 662 662 if (item->type == PS_DATA_VECTOR) { \ 663 663 ARRAY->data[i] = psMemIncrRefCounter(item->data.V); \ 664 } else if (item->type == PS_ TYPE_##TYPE) { \664 } else if (item->type == PS_DATA_##TYPE) { \ 665 665 psVector *vector = psVectorAlloc(1, PS_TYPE_##TYPE); \ 666 666 vector->data.TYPE[0] = item->data.TYPE; \ -
trunk/psModules/src/detrend/pmNonLinear.c
r29935 r34085 82 82 } 83 83 PS_ASSERT_PTR_NON_NULL(outFlux,NULL); 84 psS32 tableSize = inFlux->n;84 // XXX unused psS32 tableSize = inFlux->n; 85 85 if (inFlux->n != outFlux->n) { 86 tableSize = PS_MIN(inFlux->n, outFlux->n);86 // XXX unused tableSize = PS_MIN(inFlux->n, outFlux->n); 87 87 psLogMsg(__func__, PS_LOG_WARN, 88 88 "WARNING: pmNonLinear.c: pmNonLinearityLookup(): " … … 329 329 330 330 bin = correction_fluxes->n - 1; 331 psTrace("psModules.nonlin",6,"NLMN: %f %d %f %f\n",flux,bin,correction_fluxes->data.F32[0],correction_fluxes->data.F32[bin]); 332 if (bin < 0) { /* warn? */ } 331 333 if (flux < correction_fluxes->data.F32[0]) { 332 334 return(0.0); … … 357 359 bin = correction_fluxes->n - 1; 358 360 psTrace("psModules.nonlin",6,"NLMN: %f %d %f %f\n",flux,bin,correction_fluxes->data.F32[0],correction_fluxes->data.F32[bin]); 361 if (bin < 0) { /* warn? */ } 359 362 if (flux < correction_fluxes->data.F32[0]) { 360 363 return(0.0); -
trunk/psModules/src/detrend/pmShutterCorrection.c
r33089 r34085 406 406 407 407 // Check input sizes, generate first-pass statistics 408 psRegion refRegion; // Reference region409 408 psVector *refs = psVectorAlloc(num, PS_TYPE_F32); // Reference measurements 410 409 psVectorInit(refs, 0); … … 441 440 numCols = image->numCols; 442 441 // define the reference region : a box of size 'size' at the center 443 refRegion = psRegionForSquare(0.5 * numCols, 0.5 * numRows, size);442 // XXX unused psRegion refRegion = psRegionForSquare(0.5 * numCols, 0.5 * numRows, size); 444 443 // Set up the sample regions : boxes of size 'size' at the 4 image corners 445 444 for (int j = 0; j < MEASURE_SAMPLES; j++) {
Note:
See TracChangeset
for help on using the changeset viewer.
