Changeset 42688
- Timestamp:
- Jun 7, 2024, 5:15:58 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20230313/psModules/src/camera/pmFPAMaskWeight.c
r35561 r42688 364 364 365 365 366 // NOTE: this function attempts to modify the variance to ensure the sky pixels 367 // have a signal-to-noise distribution consistent with 1.0 366 368 bool pmReadoutVarianceRenormalise(const pmReadout *readout, psImageMaskType maskVal, 367 369 int sample, float minValid, float maxValid) … … 415 417 416 418 signoise->data.F32[index] = image->data.F32[y][x] / sqrtf(variance->data.F32[y][x]); 419 420 // a high S/N pixel is not likely to be part of the sky 421 // consider skipping them 422 // if (signoise->data.F32[index] > 10) continue; 423 417 424 index++; 418 425 } … … 434 441 435 442 signoise->data.F32[index] = image->data.F32[y][x] / sqrtf(variance->data.F32[y][x]); 443 444 // a high S/N pixel is not likely to be part of the sky 445 // consider skipping them 446 // if (signoise->data.F32[index] > 10) continue; 436 447 index++; 437 448 }
Note:
See TracChangeset
for help on using the changeset viewer.
