Changeset 41930 for branches/eam_branches/ipp-20211108
- Timestamp:
- Nov 23, 2021, 9:08:51 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20211108/ppStack/src/ppStackSources.c
r41529 r41930 341 341 options->norm = psVectorAlloc(num, PS_TYPE_F32); 342 342 for (int i = 0; i < num; i++) { 343 if (!isfinite(trans->data.F32[i])) { 344 continue; 345 } 343 if (!isfinite(trans->data.F32[i])) { 344 psLogMsg("ppStack", PS_LOG_INFO, "Non-finite transparency, skipping correction for image %d: %f mag (%f) (with inputMask value %d)\n", 345 i, NAN, trans->data.F32[i], inputMask->data.U8[i]); 346 continue; 347 } 346 348 psArray *sources = sourceLists->data[i]; // Sources of interest 347 349 float magCorr = zp->data.F32[i] - trans->data.F32[i] - 2.5*log10(options->sumExposure) - airmassTerm * airmassTarget;
Note:
See TracChangeset
for help on using the changeset viewer.
