- Timestamp:
- May 28, 2010, 3:09:59 PM (16 years ago)
- Location:
- branches/czw_branch/20100519
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ppStack/src/ppStackSources.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20100519
- Property svn:mergeinfo changed
/trunk (added) merged: 28046-28057,28062-28069,28072-28076,28079-28100
- Property svn:mergeinfo changed
-
branches/czw_branch/20100519/ppStack/src/ppStackSources.c
r27725 r28164 77 77 PS_ASSERT_VECTOR_SIZE(inputMask, sourceLists->n, false); 78 78 79 #if defined(TESTING) && 079 #if defined(TESTING) && 1 80 80 { 81 81 // Deliberately induce a major transparency difference 82 psArray *sources = sourceLists->data[ 1]; // Sources to correct82 psArray *sources = sourceLists->data[0]; // Sources to correct 83 83 for (int i = 0; i < sources->n; i++) { 84 84 pmSource *source = sources->data[i]; // Source of interest … … 283 283 } 284 284 psArray *sources = sourceLists->data[i]; // Sources of interest 285 float magCorr = zp->data.F32[i] +trans->data.F32[i] - 2.5*log10(options->sumExposure);285 float magCorr = zp->data.F32[i] - trans->data.F32[i] - 2.5*log10(options->sumExposure); 286 286 if (zpExpNum == numGoodImages) { 287 287 // Using measured zero points, so attempt to set target zero point 288 288 magCorr -= zpTarget; 289 289 } 290 options->norm->data.F32[i] = -magCorr;290 options->norm->data.F32[i] = magCorr; 291 291 psLogMsg("ppStack", PS_LOG_INFO, 292 292 "Applying scale correction to image %d: %f mag (%f)\n",
Note:
See TracChangeset
for help on using the changeset viewer.
